/* Világvarázs Galéria
   Elrendezés: éjszakai kiállítóterem – sötét tér, a fotók fényforrásként lebegnek,
   egy "lámpás" (a kurzor / ujj) tárja fel őket. Egyetlen, tudatosan sötét világ. */
:root {
  --ink: #07080b;          /* háttér: kékes éjfekete */
  --ink-2: color-mix(in srgb, var(--ink) 93%, var(--moon));        /* emelt felület */
  --line: color-mix(in srgb, var(--moon) 12%, transparent);
  --moon: #ece6da;         /* fő szöveg: holdfény-pergamen */
  --mist: #afaab6;         /* halk szöveg */
  --ember: #e2aa62;        /* gyertyaláng arany – az egyetlen kiemelő szín */
  --ember-soft: color-mix(in srgb, var(--ember) 18%, transparent);
  --aura: #93a9d8;         /* hideg holdfény, csak a fényporban és a ragyogásban */
  --f-display: "DanielFonts", "DanielFonts Serif", "Bodoni 72", Didot, serif;
  --f-serif: "DanielFonts Serif", "Bodoni 72", Didot, "Times New Roman", serif;
  --f-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px), 4vw);
  --gutter-r: max(16px, env(safe-area-inset-right, 0px), 4vw);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--ink); scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--ink); color: var(--moon);
  font-family: var(--f-body); font-size: 17px; line-height: 1.65; font-weight: 460;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; }
em { font-style: italic; }
::selection { background: var(--ember); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 2px; }
.wrap { padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ember); color: var(--ink); padding: 8px 14px; }
.skip:focus { left: 16px; }

.label {
  font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--ember);
  margin: 0 0 18px; display: flex; align-items: center; gap: 14px;
}
.label::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.h2 {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(44px, 7.4vw, 118px);
  line-height: .95; letter-spacing: -.02em; margin: 0 0 22px; text-wrap: balance;
}
.h2 em, .contact-title em, .hero-title em { color: var(--ember); font-weight: 400; }
.muted { color: var(--mist); max-width: 56ch; margin: 0; }

/* ---------- Nyitó animáció ---------- */
.intro {
  position: fixed; inset: 0; z-index: 200; background: var(--ink); display: grid; place-items: center;
  animation: introOut 1s var(--ease) 1.5s forwards; pointer-events: none;
}
.intro-word {
  font-family: var(--f-display); font-size: clamp(42px, 9vw, 120px); color: var(--moon);
  letter-spacing: .02em; animation: introWord 1.6s var(--ease) both;
  text-shadow: 0 0 40px color-mix(in srgb, var(--ember) 45%, transparent);
}
@keyframes introWord { from { opacity: 0; filter: blur(18px); letter-spacing: .4em; } 60% { opacity: 1; filter: blur(0); } to { letter-spacing: .02em; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; clip-path: inset(0 0 100% 0); } }

/* ---------- Navigáció ---------- */
.nav {
  position: fixed; z-index: 50; top: env(safe-area-inset-top, 0px); left: 0; right: 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  padding: 18px var(--gutter-r) 18px var(--gutter-l);
  transition: background .5s, backdrop-filter .5s, padding .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: color-mix(in srgb, var(--ink) 62%, transparent); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); padding-block: 12px; border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; justify-self: center; }
.brand-star { color: var(--ember); font-size: 14px; animation: twinkle 4s ease-in-out infinite; }
.brand-word { font-family: var(--f-display); font-size: 26px; letter-spacing: .01em; }
@keyframes twinkle { 50% { opacity: .35; transform: rotate(45deg) scale(.8); } }
.nav-side { display: flex; gap: 32px; align-items: center; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.nav-right { justify-content: flex-end; gap: 26px; }
.nav-side a { text-decoration: none; color: var(--mist); position: relative; transition: color .3s; }
.nav-side a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--ember); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-side a:hover, .nav-side a.active { color: var(--moon); }
.nav-side a:hover::after, .nav-side a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-side .nav-cta { color: var(--moon); border: 1px solid var(--line); padding: 9px 18px; border-radius: 999px; }
.nav-side .nav-cta::after { display: none; }
.nav-side .nav-cta:hover { border-color: var(--ember); color: var(--ember); }
.lang { display: flex; align-items: center; gap: 2px; font-size: 12px; letter-spacing: .14em; color: var(--mist); }
.lang button { background: none; border: 0; color: var(--mist); font: inherit; letter-spacing: inherit; padding: 8px 6px; cursor: pointer; transition: color .3s; }
.lang button[aria-pressed="true"] { color: var(--ember); }
.lang button:hover { color: var(--moon); }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; cursor: pointer; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--moon); transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 26px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 45; background: color-mix(in srgb, var(--ink) 96%, transparent); backdrop-filter: blur(10px);
  display: flex; align-items: center; padding: 100px var(--gutter-r) 40px var(--gutter-l);
}
.menu nav { display: grid; gap: 6px; }
.menu a { font-family: var(--f-display); font-size: clamp(44px, 13vw, 76px); line-height: 1.1; text-decoration: none; display: flex; align-items: baseline; gap: 16px; opacity: 0; transform: translateY(30px); animation: menuIn .7s var(--ease) forwards; }
.menu a:nth-child(2) { animation-delay: .07s; } .menu a:nth-child(3) { animation-delay: .14s; } .menu a:nth-child(4) { animation-delay: .21s; }
.menu a small { font-family: var(--f-body); font-size: 12px; letter-spacing: .2em; color: var(--ember); width: 28px; }
@keyframes menuIn { to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.sec-hero { position: relative; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.hero-stage, .motes, .hero-vignette { position: absolute; inset: 0; }
.hero-stage { z-index: -3; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 2.2s ease; }
.slide.on { opacity: 1; }
.slide img { position: absolute; inset: -4%; width: 108%; height: 108%; max-width: none; object-fit: cover; transform: scale(1.08); }
.slide.on img { animation: kenburns calc(var(--slide, 7s) * 2) linear forwards; }
@keyframes kenburns { to { transform: scale(1) translate3d(-1%, -1%, 0); } }
.slide .dim { filter: grayscale(.8) brightness(.3) contrast(1.15); }
.slide .lit {
  filter: saturate(1.2) brightness(1.04) contrast(1.05);
  -webkit-mask-image: radial-gradient(circle var(--r, 34vmax) at var(--x, 60%) var(--y, 45%), #000 0%, rgba(0,0,0,.75) 32%, rgba(0,0,0,.25) 62%, transparent 100%);
  mask-image: radial-gradient(circle var(--r, 34vmax) at var(--x, 60%) var(--y, 45%), #000 0%, rgba(0,0,0,.75) 32%, rgba(0,0,0,.25) 62%, transparent 100%);
}
.motes { z-index: -2; width: 100%; height: 100%; mix-blend-mode: screen; }
.hero-vignette { z-index: -1; background:
  radial-gradient(120% 80% at 50% 40%, transparent 40%, color-mix(in srgb, var(--ink) 75%, transparent) 100%),
  linear-gradient(to top, var(--ink) 0%, color-mix(in srgb, var(--ink) 55%, transparent) 30%, transparent 60%); pointer-events: none; }
.hero-copy { padding-top: 120px; padding-bottom: 28px; max-width: 1400px; text-shadow: 0 2px 30px color-mix(in srgb, var(--ink) 65%, transparent); }
.eyebrow { font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--moon); opacity: .8; margin: 0 0 22px; }
.eyebrow span { color: var(--ember); margin: 0 .5em; }
.hero-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(50px, 9.6vw, 168px); line-height: .92; letter-spacing: -.025em; margin: 0 0 28px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title em { text-shadow: 0 0 60px color-mix(in srgb, var(--ember) 50%, transparent); }
@keyframes rise { from { transform: translateY(105%) skewY(4deg); } }
.hero-lead { max-width: 46ch; color: var(--moon); opacity: .82; font-size: clamp(16px, 1.4vw, 19px); margin: 0 0 34px;  }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px;  }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } }
.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; border-radius: 999px;
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; position: relative; overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s, color .4s;
}
.btn span { position: relative; }
.btn-glow { background: var(--ember); color: var(--ink); font-weight: 600; box-shadow: 0 0 0 0 var(--ember-soft), 0 10px 40px color-mix(in srgb, var(--ember) 35%, transparent); }
.btn-glow::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-100%); transition: transform .9s var(--ease); }
.btn-glow:hover::before { transform: translateX(100%); }
.btn-ghost { border: 1px solid color-mix(in srgb, var(--moon) 35%, transparent); color: var(--moon); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--ember); color: var(--ember); }
.btn:hover { transform: translateY(-2px); }
.hero-meta { display: flex; justify-content: flex-end; align-items: center; gap: 26px; padding-bottom: 34px;  }
.hero-rail { position: absolute; right: calc(var(--gutter-r) * .45); top: 50%; margin: 0; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl;
  font-size: 11px; letter-spacing: .38em; text-transform: uppercase; color: var(--mist); opacity: .7; animation: fadeUp 1.2s var(--ease) 2.5s both; }
.hero-rail::before { content: "✦"; color: var(--ember); margin-bottom: 14px; display: inline-block; }
.hero-caption { font-family: var(--f-serif); font-style: italic; font-size: 18px; color: var(--moon); opacity: .85; min-height: 1.5em; }
.hero-caption small { font-family: var(--f-body); font-style: normal; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--mist); margin-left: 12px; }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 44px; height: 24px; background: none; border: 0; padding: 0; cursor: pointer; position: relative; }
.hero-dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: color-mix(in srgb, var(--moon) 22%, transparent); }
.hero-dots button::after { content: ""; position: absolute; left: 0; top: 11px; height: 2px; width: 0; background: var(--ember); }
.hero-dots button.on::after { animation: dotFill var(--slide, 7s) linear forwards; }
@keyframes dotFill { to { width: 100%; } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--mist); display: grid; justify-items: center; gap: 10px; }
.scroll-cue span { width: 1px; height: 46px; background: linear-gradient(var(--ember), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Manifesztum ---------- */
.manifest-in { padding-block: clamp(110px, 18vw, 240px) clamp(80px, 12vw, 160px); max-width: 1500px; }
.manifest-text { font-family: var(--f-display); font-size: clamp(30px, 4.6vw, 72px); line-height: 1.12; letter-spacing: -.012em; margin: 0; text-wrap: balance; }
.manifest-text .w { transition: opacity .25s linear, color .25s, text-shadow .25s; }
.js .manifest-text .w { opacity: .14; }
.js .manifest-text .w.lit { opacity: 1; }
.manifest-text .w.glow { color: var(--ember); font-family: var(--f-serif); font-style: italic; text-shadow: 0 0 40px color-mix(in srgb, var(--ember) 45%, transparent); }
.manifest-sign { margin: 34px 0 0; font-family: var(--f-serif); font-style: italic; font-size: 22px; color: var(--mist); }

.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 26px 0; }
.marquee-track { display: flex; gap: 46px; align-items: center; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--f-display); font-size: clamp(38px, 6vw, 84px); line-height: 1; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--moon) 50%, transparent); }
.marquee span:nth-of-type(3n+2) { color: var(--moon); -webkit-text-stroke: 0; }
.marquee i { font-style: normal; color: var(--ember); font-size: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sorozatok ---------- */
.sec-albums { position: relative; margin-top: clamp(90px, 12vw, 160px); }
.series-pin { position: relative; }
.series-head { max-width: 1100px; margin-bottom: 44px; }
.series-track { display: flex; gap: clamp(18px, 2.4vw, 36px); padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.card {
  flex: 0 0 auto; width: min(78vw, 620px); position: relative; text-decoration: none; color: inherit; display: block; cursor: pointer;
  border: 0; background: none; padding: 0; text-align: left; font: inherit;
}
.card-img { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 4px; background: var(--ink-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease), filter 1s; filter: brightness(.72) saturate(.9); }
.card:hover .card-img img, .card:focus-visible .card-img img { transform: scale(1.02); filter: brightness(.95) saturate(1.1); }
.card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--ink) 92%, transparent) 0%, transparent 55%); }
.card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 3vw, 34px); z-index: 2; }
.card-kicker { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--ember); }
.card-title { display: block; font-family: var(--f-display); font-size: clamp(34px, 4.4vw, 64px); line-height: 1; margin: 10px 0 14px; letter-spacing: -.015em; }
.card-meta { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mist); }
.card-open { position: absolute; top: 22px; right: 22px; z-index: 2; width: 66px; height: 66px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--moon) 40%, transparent); display: grid; place-items: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; transform: scale(.6); opacity: 0; transition: transform .6s var(--ease), opacity .4s; backdrop-filter: blur(8px); }
.card:hover .card-open { transform: scale(1); opacity: 1; }
.series-progress { margin: 40px var(--gutter-r) 0 var(--gutter-l); height: 1px; background: var(--line); position: relative; }
.series-progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--ember); box-shadow: 0 0 12px var(--ember); }

/* asztali nézet: függőleges görgetés -> vízszintes vándorlás */
@media (min-width: 900px) and (hover: hover) {
  .sec-albums.pinned .series-pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-block: 84px 24px; }
  .sec-albums.pinned .series-head { margin-bottom: 24px; }
  .sec-albums.pinned .series-head .h2 { font-size: clamp(40px, min(6vw, 9vh), 92px); margin-bottom: 10px; }
  .sec-albums.pinned .series-track { will-change: transform; }
  .sec-albums.pinned .card { width: auto; height: clamp(240px, calc(100vh - 340px), 640px); aspect-ratio: 4 / 5; }
  .sec-albums.pinned .series-progress { margin-top: 24px; }
  .sec-albums.pinned .card-img { height: 100%; aspect-ratio: auto; }
}
/* érintős / keskeny nézet: ujjal húzható sáv */
@media (max-width: 899px), (hover: none) {
  .series-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; scroll-padding-left: var(--gutter-l); }
  .series-track::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: start; }
  .series-progress { display: none; }
}

/* ---------- Galéria ---------- */
.sec-gallery { padding-block: clamp(120px, 16vw, 220px) 40px; }
.section-head { max-width: 1100px; margin-bottom: clamp(40px, 6vw, 80px); }
.masonry { columns: var(--cols, 3) 300px; column-gap: clamp(14px, 1.8vw, 28px); transition: opacity .28s, transform .28s var(--ease); }
.masonry.fading { opacity: 0; transform: translateY(14px); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: -20px 0 clamp(30px, 4vw, 50px); }
.filters button { background: none; border: 1px solid var(--line); color: var(--mist); border-radius: 999px; padding: 10px 18px; font: inherit; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase; cursor: pointer; display: inline-flex; gap: 8px; align-items: baseline; transition: color .3s, border-color .3s, background .3s; }
.filters button sup { font-size: 10px; letter-spacing: .05em; color: var(--ember); top: 0; }
.filters button:hover { color: var(--moon); border-color: color-mix(in srgb, var(--moon) 35%, transparent); }
.filters button[aria-pressed="true"] { color: var(--ink); background: var(--moon); border-color: var(--moon); }
.filters button[aria-pressed="true"] sup { color: var(--ink); }
.tile {
  break-inside: avoid; margin: 0 0 clamp(14px, 1.8vw, 28px); position: relative; cursor: zoom-in; display: block; width: 100%;
  border: 0; padding: 0; background: var(--ink-2); border-radius: 3px; overflow: hidden; color: inherit; font: inherit; text-align: left;
  transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .6s;
}
.tile img { width: 100%; height: auto; transition: transform 1.2s var(--ease), filter .8s; filter: brightness(.8) saturate(.9); }
.tile:hover img, .tile:focus-visible img { filter: none; }
@media (hover: none) { .tile img { filter: brightness(.9); } }
.tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 235, 200, .22), transparent 45%); opacity: 0; transition: opacity .4s; }
.tile:hover::after { opacity: 1; }
.tile:hover { box-shadow: 0 30px 80px -20px color-mix(in srgb, var(--ember) 28%, transparent); z-index: 2; }
.tile:hover img { transform: scale(1.04); }
.tile-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(to top, color-mix(in srgb, var(--ink) 85%, transparent), transparent); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .6s var(--ease); }
.tile:hover .tile-cap, .tile:focus-visible .tile-cap { opacity: 1; transform: none; }
.tile-cap em { font-family: var(--f-serif); font-size: 21px; line-height: 1.15; }
.tile-cap small { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ember); white-space: nowrap; }
.js .reveal { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease); }
.js .reveal img { transform: scale(1.25); filter: blur(10px) brightness(.6); }
.js .reveal.in { clip-path: inset(0 0 0 0); }
.js .reveal.in img { filter: brightness(.8) saturate(.9); }
.js .reveal.in:hover img, .js .reveal.in:focus-visible img { filter: none; }
@media (hover: none) { .js .reveal.in img { filter: brightness(.9); } }
.js .reveal.in img { transform: scale(1); transition: transform 1.6s var(--ease), filter 1.2s; }
@media (hover: none) { .tile-cap { opacity: 1; transform: none; padding: 28px 12px 10px; } .tile-cap em { font-size: 16px; } }
@media (max-width: 640px) { .masonry { columns: 2; } .tile-cap small { display: none; } }

/* ---------- Küldetés ---------- */
.mission { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 110px); align-items: center; padding-block: clamp(120px, 16vw, 220px); max-width: 1500px; }
.portal { margin: 0; position: relative; aspect-ratio: 3 / 4; border-radius: 999px 999px 6px 6px; overflow: hidden; background: var(--ink-2);
  box-shadow: 0 0 0 1px var(--line), 0 0 120px -20px color-mix(in srgb, var(--aura) 35%, transparent); }
.portal img { width: 100%; height: 118%; object-fit: cover; object-position: 28% 40%; transform: translateY(var(--py, 0)); filter: saturate(.85) contrast(1.05); }
.portal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--ink) 85%, transparent), transparent 45%); }
.portal figcaption { position: absolute; left: 26px; bottom: 22px; z-index: 2; font-family: var(--f-serif); font-style: italic; font-size: 26px; line-height: 1.1; }
.portal figcaption span { font-family: var(--f-body); font-style: normal; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ember); }
.mission-text { min-width: 0; }
.mission blockquote { margin: 0; color: var(--mist); max-width: 62ch; }
.mission blockquote p { margin: 0 0 18px; }
.mission-quote { font-family: var(--f-serif); font-size: clamp(26px, 2.8vw, 42px); line-height: 1.2; color: var(--moon); position: relative; margin-bottom: 30px !important; }
.mission-quote::before { content: "„"; position: absolute; left: -.05em; top: -.62em; font-size: 2.6em; color: var(--ember); opacity: .5; line-height: 1; }
.mission-quote em { color: var(--ember); }
@media (max-width: 820px) { .mission { grid-template-columns: 1fr; } .portal { max-width: 420px; width: 100%; } }

/* ---------- Kapcsolat ---------- */
.sec-contact { position: relative; overflow: hidden; padding-block: clamp(110px, 14vw, 200px); border-top: 1px solid var(--line); isolation: isolate; }
.contact-glow { position: absolute; z-index: -1; width: 70vmax; height: 70vmax; left: 50%; top: 40%; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--ember) 22%, transparent), color-mix(in srgb, var(--aura) 8%, transparent) 40%, transparent 68%); filter: blur(20px); animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.15); opacity: .7; } }
.contact-inner { max-width: 1200px; margin: 0 auto; }
.contact-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(64px, 14vw, 220px); line-height: .9; letter-spacing: -.03em; margin: 0 0 40px; }
.asks { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 4px; }
.asks li { font-family: var(--f-serif); font-style: italic; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.3; }
.asks li::before { content: "✦"; font-style: normal; font-size: .45em; color: var(--ember); margin-right: 16px; vertical-align: middle; }
.channels { margin-top: 60px; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); border-top: 1px solid var(--line); }
.channel { display: grid; gap: 8px; align-content: start; padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.channel + .channel { padding-left: 24px; border-left: 1px solid var(--line); }
.channel-kind { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--ember); }
.channel-value { font-family: var(--f-display); font-size: clamp(20px, 2vw, 28px); text-decoration: none; overflow-wrap: anywhere; transition: color .3s; }
.channel-value:hover { color: var(--ember); }
.channel-note { font-size: 13px; color: var(--mist); }
.copy { justify-self: start; background: none; border: 1px solid var(--line); color: var(--mist); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: color .3s, border-color .3s; }
.copy:hover { color: var(--moon); border-color: var(--ember); }
.copy.done { color: var(--ember); border-color: var(--ember); }
@media (max-width: 820px) { .channels { grid-template-columns: 1fr; } .channel + .channel { padding-left: 0; border-left: 0; } }

.footer { display: flex; flex-wrap: wrap; gap: 14px 36px; justify-content: space-between; align-items: baseline; padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); font-size: 13px; color: var(--mist); }
.footer .brand-word { color: var(--moon); }

/* ---------- Album: lapozható fotókönyv ---------- */
.book { position: fixed; inset: 0; z-index: 70; background: var(--ink); display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  clip-path: circle(0 at var(--ox, 50%) var(--oy, 50%)); transition: clip-path 1.1s var(--ease); }
.book.open { clip-path: circle(150% at var(--ox, 50%) var(--oy, 50%)); }
.book-bar { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 20px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter-r) 10px var(--gutter-l); border-bottom: 1px solid var(--line); }
.book-id { display: flex; gap: 16px; align-items: baseline; min-width: 0; }
.book-id strong { font-family: var(--f-display); font-weight: 400; font-size: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.book-kicker { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ember); white-space: nowrap; }
.book-count { font-family: var(--f-display); font-size: 18px; letter-spacing: .08em; color: var(--mist); font-variant-numeric: tabular-nums; }
.book-stage { position: relative; overflow: hidden; touch-action: pan-y; }
.book-foot { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 10px var(--gutter-r) calc(14px + env(safe-area-inset-bottom, 0px)) var(--gutter-l); border-top: 1px solid var(--line); }
.book-foot .icon-btn:disabled { opacity: .25; pointer-events: none; }
.book-dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.book-dots button { width: 26px; height: 22px; background: none; border: 0; padding: 0; cursor: pointer; position: relative; }
.book-dots button::before { content: ""; position: absolute; left: 2px; right: 2px; top: 10px; height: 2px; background: color-mix(in srgb, var(--moon) 22%, transparent); transition: background .3s; }
.book-dots button.on::before { background: var(--ember); box-shadow: 0 0 10px var(--ember); }

.page { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; visibility: hidden; padding: clamp(18px, 3vw, 40px) var(--gutter-r) clamp(18px, 3vw, 40px) var(--gutter-l); }
.page.cur, .page.out-l, .page.out-r { visibility: visible; }
.page.cur { z-index: 2; }
.page.in-r { animation: pageInR .95s var(--ease) both; }
.page.in-l { animation: pageInL .95s var(--ease) both; }
.page.out-l { animation: pageOutL .95s var(--ease) both; z-index: 1; }
.page.out-r { animation: pageOutR .95s var(--ease) both; z-index: 1; }
.page.in-r img, .page.in-l img { animation: pageImg 1.3s var(--ease) both; }
@keyframes pageInR { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes pageInL { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pageOutL { to { transform: translateX(-10%); opacity: 0; filter: blur(6px); } }
@keyframes pageOutR { to { transform: translateX(10%); opacity: 0; filter: blur(6px); } }
@keyframes pageImg { from { transform: scale(1.08); filter: brightness(.6); } }

.pf { margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 10px; min-height: 0; min-width: 0; }
.pf-btn { border: 0; padding: 0; background: none; cursor: zoom-in; min-height: 0; display: grid; place-items: center; overflow: hidden; }
.pf-btn img { width: 100%; height: 100%; object-fit: contain; transition: transform 1s var(--ease), filter .6s; filter: brightness(.92); }
.pf-btn:hover img { transform: scale(1.02); filter: none; }
.pf figcaption { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.pf figcaption em { font-family: var(--f-serif); font-size: 18px; }
.pf figcaption small { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ember); white-space: nowrap; }

.pg-cover { padding: 0; display: flex; align-items: flex-end; }
.pg-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.5); }
.pg-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink) 0%, color-mix(in srgb, var(--ink) 35%, transparent) 45%, transparent 75%); }
.pg-cover-copy { position: relative; z-index: 2; padding: 0 var(--gutter-r) clamp(30px, 5vh, 60px) var(--gutter-l); }
.pg-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(46px, 9vw, 150px); line-height: .95; letter-spacing: -.02em; margin: 10px 0 18px; text-wrap: balance; }
.pg-title em { font-family: var(--f-serif); font-style: italic; color: var(--ember); }
.pg-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--mist); }
.pg-hint { margin-top: 28px; background: none; border: 1px solid color-mix(in srgb, var(--moon) 35%, transparent); color: var(--moon); border-radius: 999px; padding: 12px 22px; font: inherit; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
.pg-hint i { font-style: normal; display: inline-block; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

.pg-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 70px); align-items: stretch; }
.pg-split--rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.pg-split--solo { grid-template-columns: minmax(0, 760px); justify-content: center; }
.pg-text { align-self: center; max-width: 62ch; min-width: 0; }
.pg-lead { font-family: var(--f-serif); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.28; margin: 0 0 26px; }
.pg-text h3 { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 28px; color: var(--ember); margin: 0 0 16px; }
.pg-text p { color: var(--mist); margin: 0 0 14px; }
.pg-solo { display: grid; padding-inline: max(var(--gutter-l), 8vw); }
.pg-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 48px); }
.pg-duo .pf:nth-child(2) { padding-top: clamp(0px, 6vh, 70px); }
.pg-duo .pf:nth-child(1) { padding-bottom: clamp(0px, 6vh, 70px); }
.pg-trio { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(14px, 2vw, 28px); }
.pg-trio .pf-big { grid-row: span 2; }

.pg-end { display: grid; align-content: center; gap: 26px; max-width: 1200px; margin: 0 auto; position: absolute; }
.sheet { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; }
.sheet button { position: relative; border: 0; padding: 0; background: var(--ink-2); aspect-ratio: 1; overflow: hidden; cursor: pointer; border-radius: 2px; }
.sheet img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7) grayscale(.3); transition: filter .4s, transform .6s var(--ease); }
.sheet button:hover img { filter: none; transform: scale(1.06); }
.sheet span { position: absolute; left: 6px; bottom: 4px; font-size: 10px; letter-spacing: .14em; color: var(--moon); }
.pg-end-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pg-end-actions .btn { border: 0; font: inherit; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
.pg-end-actions .btn-ghost { border: 1px solid color-mix(in srgb, var(--moon) 35%, transparent); background: none; }

@media (max-width: 820px) {
  .pg-split, .pg-split--rev { grid-template-columns: 1fr; align-content: start; }
  .pg-split--rev .pf { order: 2; }
  .pg-split .pf, .pg-solo .pf, .pg-duo .pf, .pg-trio .pf { grid-template-rows: auto auto; }
  .pg-split .pf-btn img, .pg-solo .pf-btn img, .pg-duo .pf-btn img, .pg-trio .pf-btn img { height: auto; max-height: 62svh; }
  .pg-duo, .pg-trio { grid-template-columns: 1fr; grid-template-rows: none; align-content: start; }
  .pg-trio .pf-big { grid-row: auto; }
  .pg-duo .pf:nth-child(n) { padding: 0; }
  .pg-solo { padding-inline: var(--gutter-l); align-content: center; }
  .book-kicker { display: none; }
  .book-id strong { font-size: 19px; }
  .book-foot { gap: 12px; }
  .book-dots button { width: 18px; }
}

.icon-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--moon) 30%, transparent); background: color-mix(in srgb, var(--ink) 50%, transparent); color: var(--moon); font-size: 18px; cursor: pointer; backdrop-filter: blur(10px); transition: border-color .3s, color .3s, transform .4s var(--ease); display: grid; place-items: center; }
.icon-btn:hover { border-color: var(--ember); color: var(--ember); transform: rotate(90deg); }
.lb-nav .icon-btn:hover, .book-foot .icon-btn:hover { transform: scale(1.08); }
.facts { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.facts dt { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--moon); padding-top: 16px; border-top: 1px solid var(--line); }
.facts dd { margin: 6px 0 16px; color: var(--mist); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 1px solid var(--line); display: grid; gap: 18px; }
.timeline li { position: relative; display: grid; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: -27px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 14px var(--ember); }
.timeline b { font-family: var(--f-serif); font-weight: 500; font-size: 20px; }
.timeline span { color: var(--mist); }
.coda { font-family: var(--f-serif); font-style: italic; font-size: 22px; color: var(--moon) !important; margin-top: 30px !important; }

/* ---------- Képnézegető ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: var(--ink); display: grid; grid-template-rows: minmax(0, 1fr) auto; opacity: 0; transition: opacity .5s; }
.lightbox.open { opacity: 1; }
.lb-ambient { position: absolute; inset: -10%; background-size: cover; background-position: center; filter: blur(60px) saturate(1.4) brightness(.55); transform: scale(1.1); transition: background-image .6s; opacity: .8; }
.lb-figure { position: relative; margin: 0; display: grid; place-items: center; padding: calc(70px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px), 5vw) 10px max(16px, env(safe-area-inset-left, 0px), 5vw); min-height: 0; touch-action: pan-y; }
.lb-figure img { max-height: min(100%, calc(100svh - 190px)); max-width: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9); transition: opacity .45s, transform .6s var(--ease); }
.lb-figure img.swap { opacity: 0; transform: scale(.96); }
.lb-bar { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px max(16px, env(safe-area-inset-right, 0px), 5vw) calc(18px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px), 5vw); }
.lb-caption { display: grid; gap: 2px; min-width: 0; }
.lb-caption em { font-family: var(--f-serif); font-size: clamp(20px, 2.4vw, 30px); }
.lb-caption span { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--mist); font-variant-numeric: tabular-nums; }
.lb-nav { display: flex; gap: 10px; }
.lb-close { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: calc(16px + env(safe-area-inset-right, 0px)); }

/* ---------- Kurzor + szemcse ---------- */
/* saját kurzor: a rendszer-egérmutató el van rejtve, helyette gyűrű + pont + kattintási csillagszóró */
html.has-cursor, html.has-cursor * { cursor: none !important; }
.cursor, .cursor-dot { position: fixed; left: 0; top: 0; pointer-events: none; display: none; }
html.has-cursor.cursor-on .cursor, html.has-cursor.cursor-on .cursor-dot { display: grid; }
.cursor { z-index: 121; width: 0; height: 0; place-items: center; }
.cursor::before { content: ""; position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; left: 0; top: 0; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--moon) 75%, transparent); box-shadow: 0 0 18px color-mix(in srgb, var(--ember) 25%, transparent);
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .35s, border-color .35s, transform .2s var(--ease); }
.cursor span { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); white-space: nowrap; opacity: 0; transition: opacity .3s; font-weight: 600; }
.cursor.link::before { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-color: var(--ember); background: color-mix(in srgb, var(--ember) 10%, transparent); }
.cursor.big::before { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--moon); border-color: var(--moon); box-shadow: 0 0 40px color-mix(in srgb, var(--ember) 45%, transparent); }
.cursor.big span { opacity: 1; }
html.cursor-down .cursor::before { transform: scale(.72); border-color: var(--ember); }
.cursor-dot { z-index: 122; width: 0; height: 0; }
.cursor-dot::before { content: "✦"; position: absolute; left: 0; top: 0; transform: translate(-50%, -54%); font-size: 13px; line-height: 1; color: var(--ember);
  text-shadow: 0 0 10px color-mix(in srgb, var(--ember) 90%, transparent); transition: transform .2s var(--ease); }
html.cursor-down .cursor-dot::before { transform: translate(-50%, -54%) scale(1.7) rotate(45deg); }
.fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 120; pointer-events: none; }
.grain { position: fixed; inset: -50%; z-index: 110; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-5%,3%); } 40% { transform: translate(4%,-6%); } 60% { transform: translate(-3%,5%); } 80% { transform: translate(6%,2%); } }

/* ---------- Mobil ---------- */
@media (max-width: 960px) {
  .nav { grid-template-columns: auto 1fr; }
  .nav-left, .nav-right .nav-link { display: none; }
  .brand { justify-self: start; grid-row: 1; grid-column: 1; }
  .nav-right { grid-column: 2; gap: 10px; }
  .menu-btn { display: block; }
}
@media (max-width: 860px) {
  .hero-meta { flex-direction: column; align-items: flex-start; }
  .hero-rail { display: none; }
  .scroll-cue { display: none; }
  body { font-size: 16px; }
  .filters { margin-top: -10px; }
  .filters button { padding: 9px 14px; letter-spacing: .12em; }
}
.scroll-cue b { font-weight: 400; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .intro { display: none; }
  .js .reveal, .js .reveal img { clip-path: none; transform: none; filter: none; }
  .grain { display: none; }
}

/* ---------- Betűpárosítás: DanielFonts címek + DanielFonts Serif dőlt kiemelések ---------- */
body { font-synthesis: none; }
.h2 em, .hero-title em, .contact-title em, .mission-quote em { font-family: var(--f-serif); font-style: italic; }

/* =====================================================================
   ADATVEZÉRELT SZAKASZOK + ANIMÁCIÓK + SZERKESZTŐ MÓD
   ===================================================================== */
.sec { position: relative; }
html.no-grain .grain, html.no-intro .intro { display: none; }
.h2, .hero-title, .contact-title, .pg-title, .card-title, .manifest-text, .quote-in .q { font-weight: var(--hw, 400); }
.nav-right-links { display: flex; gap: 26px; align-items: center; }
@media (max-width: 960px) { .nav-right-links { display: none; } }

/* választható belépő animációk (szakaszonként) */
.sec .a { transition: opacity calc(.9s / var(--spd, 1)) var(--ease), transform calc(1.1s / var(--spd, 1)) var(--ease),
  filter calc(1s / var(--spd, 1)) var(--ease), clip-path calc(1.2s / var(--spd, 1)) var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms / var(--spd, 1) + var(--d0, 0s)); }
.sec-hero { --d0: 1.5s; }
html.no-intro .sec-hero { --d0: .15s; }
html.js .sec:not(.shown) .a { opacity: 0; }
html.edit-mode .sec.replaying:not(.shown) .a { transition: none; }
.sec[data-anim="rise"]:not(.shown) .a { transform: translateY(42px); }
.sec[data-anim="blur"]:not(.shown) .a { filter: blur(16px); transform: scale(1.04); }
.sec[data-anim="zoom"]:not(.shown) .a { transform: scale(.88); }
.sec[data-anim="slide-left"]:not(.shown) .a { transform: translateX(-80px); }
.sec[data-anim="slide-right"]:not(.shown) .a { transform: translateX(80px); }
.sec[data-anim="clip"] .a { clip-path: inset(0 0 0 0); }
html.js .sec[data-anim="clip"]:not(.shown) .a { opacity: 1; clip-path: inset(0 0 100% 0); }
.sec[data-anim="swing"]:not(.shown) .a { transform: perspective(800px) rotateX(35deg) translateY(30px); transform-origin: 50% 0; }
.sec[data-anim="none"] .a, html.edit-mode .sec:not(.replaying) .a { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; transition: none !important; }

/* szöveg szakasz */
.txt-in { padding-block: clamp(80px, 10vw, 150px); }
.txt-in.width-narrow { max-width: 860px; margin-inline: auto; }
.txt-in.width-normal { max-width: 1240px; }
.txt-in.align-center { text-align: center; margin-inline: auto; }
.txt-in.align-center .label { justify-content: center; }
.txt-in.align-center .rich { margin-inline: auto; }
.rich { max-width: 68ch; color: var(--mist); }
.rich h3 { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--ember); font-size: 28px; margin: 30px 0 12px; }
.rich p { margin: 0 0 14px; } .rich a { color: var(--ember); } .rich b, .rich strong { color: var(--moon); }

/* kép szakasz */
.img-sec { margin: 0; padding-block: clamp(40px, 6vw, 90px); }
.img-sec .pf-btn { display: block; width: 100%; cursor: zoom-in; overflow: hidden; }
.img-sec.style-full img { width: 100%; max-height: 92vh; object-fit: cover; }
.img-sec.style-framed { padding-inline: max(var(--gutter-l), 10vw); }
.img-sec.style-framed img { max-height: 85vh; width: auto; margin: 0 auto; box-shadow: 0 40px 100px -30px #000; }
.img-sec.style-parallax .pf-btn { height: 80vh; }
.img-sec.style-parallax img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); will-change: transform; }
.img-sec figcaption { text-align: center; margin-top: 16px; font-family: var(--f-serif); font-size: 20px; color: var(--mist); }

/* idézet szakasz */
.quote-in { padding-block: clamp(90px, 12vw, 170px); text-align: center; }
.quote-in blockquote { margin: 0 auto; max-width: 1100px; }
.quote-in .q { font-family: var(--f-display); font-size: clamp(32px, 5vw, 80px); line-height: 1.1; margin: 0 0 24px; text-wrap: balance; }
.quote-in.size-medium .q { font-size: clamp(26px, 3.4vw, 52px); }
.quote-in .q::before { content: "✦"; display: block; color: var(--ember); font-size: 22px; margin-bottom: 26px; }
.quote-in .q em { font-family: var(--f-serif); color: var(--ember); }
.q-author { font-family: var(--f-serif); font-style: italic; color: var(--mist); font-size: 20px; }

/* térköz */
.spacer { display: grid; place-items: center; }
.spacer.size-small { height: 60px; } .spacer.size-medium { height: 130px; } .spacer.size-large { height: 230px; }
.spacer-line { color: var(--ember); display: flex; align-items: center; gap: 20px; width: min(600px, 80%); }
.spacer-line::before, .spacer-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* változatok */
.portal.shape-circle { border-radius: 50%; aspect-ratio: 1; }
.portal.shape-square { border-radius: 6px; }
.series-track.as-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(16px, 2vw, 28px); overflow: visible; }
.series-track.as-grid .card { width: auto; }
.caps-on .tile-cap { opacity: 1; transform: none; }
.sec.bg-subtle { background: var(--ink-2); }
.sec.bg-glow { background: radial-gradient(60% 55% at 50% 50%, color-mix(in srgb, var(--ember) 11%, transparent), transparent 70%); }
.marquee.solid span { color: var(--moon); -webkit-text-stroke: 0; }

/* ---------- szerkesztő mód (admin előnézet) ---------- */
html.edit-mode .sec { outline: 1px dashed transparent; outline-offset: -6px; transition: outline-color .2s, opacity .2s; }
html.edit-mode .sec:hover { outline-color: color-mix(in srgb, var(--ember) 55%, transparent); }
html.edit-mode .sec.is-selected { outline: 2px solid var(--ember); }
html.edit-mode .sec.is-hidden { opacity: .4; }
html.edit-mode .sec.is-hidden::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(-45deg, transparent 0 14px, color-mix(in srgb, var(--moon) 6%, transparent) 14px 28px); }
.edit-bar { position: absolute; top: 14px; right: 14px; z-index: 45; display: flex; gap: 2px; align-items: center; background: #15171f; color: #ece6da;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; padding: 4px 6px; font: 600 12px/1 system-ui, sans-serif; letter-spacing: 0;
  text-transform: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s; }
.sec-hero .edit-bar { top: 90px; }
html.edit-mode .sec:hover > .edit-bar, html.edit-mode .sec.is-selected > .edit-bar { opacity: 1; transform: none; }
.edit-bar b { padding: 0 8px 0 2px; font-weight: 600; }
.edit-bar button { background: none; border: 0; color: inherit; width: 28px; height: 28px; border-radius: 6px; cursor: pointer; font-size: 14px; }
.edit-bar button:hover { background: rgba(255, 255, 255, .12); }
.eb-drag { cursor: grab; padding: 0 6px; font-size: 18px; user-select: none; }
.eb-hidden { color: #e2aa62; font-style: normal; margin: 0 4px; }
html.edit-mode [data-edit] { outline: 1px dashed transparent; outline-offset: 3px; border-radius: 3px; cursor: text; }
html.edit-mode [data-edit]:hover { outline-color: color-mix(in srgb, var(--ember) 70%, transparent); }
html.edit-mode [data-edit]:focus { outline: 2px solid var(--ember); background: color-mix(in srgb, var(--ember) 8%, transparent); }
html.edit-mode [data-edit]:empty::before { content: "✎ kattints és írj ide…"; opacity: .45; font-size: 16px; font-family: var(--f-body); }
html.edit-mode .hero-copy { position: relative; z-index: 5; }
html.dragging-sec .sec { outline-color: color-mix(in srgb, var(--moon) 20%, transparent); }
.sec.drop-before { box-shadow: inset 0 5px 0 var(--ember); }
.sec.drop-after { box-shadow: inset 0 -5px 0 var(--ember); }
.sec.drag-src { opacity: .35; }
html.preview .intro { display: none; }

/* nyelvváltó linkek + keresőknek előre generált tartalom (JavaScript nélkül is olvasható) */
.lang a { color: var(--mist); text-decoration: none; padding: 8px 6px; transition: color .3s; }
.lang a.on { color: var(--ember); } .lang a:hover { color: var(--moon); }
.seo-album { padding-block: 120px 60px; }
.seo-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 30px; }
.seo-photos figure { margin: 0; } .seo-photos img { width: 100%; height: auto; }
.seo-photos figcaption { font-size: 13px; color: var(--mist); margin-top: 6px; }
.seo-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.seo-list a { color: inherit; text-decoration: none; display: grid; gap: 6px; } .seo-list img { width: 100%; height: auto; }

/* =====================================================================
   TÖBB OLDAL: Daniel F – alkotások, versek, zene, megrendelés, 18+
   ===================================================================== */
.nav-side a.on { color: var(--moon); }
.nav-side a.on::after { transform: scaleX(1); }
.menu a.on span { color: var(--ember); }
@media (max-width: 1180px) {
  .nav { grid-template-columns: auto 1fr; }
  .nav-left, .nav-right .nav-link, .nav-right-links { display: none; }
  .brand { justify-self: start; grid-row: 1; grid-column: 1; }
  .nav-right { grid-column: 2; gap: 10px; }
  .menu-btn { display: block; }
}
/* hős nélküli oldalakon az első szakasz ne bújjon a menü alá */
#top > .sec:first-child:not(.sec-hero):not(.sec-poem) { padding-top: clamp(130px, 15vw, 210px); }
.more-link { text-align: center; margin: clamp(40px, 6vw, 70px) 0 0; }

/* ---------- Alkotások: kiállítás ---------- */
.sec-artworks { padding-block: clamp(110px, 13vw, 190px) clamp(60px, 8vw, 120px); }
.exhibit { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 3vw, 48px); row-gap: clamp(60px, 9vw, 150px); align-items: start; max-width: 1500px; margin: 0 auto; }
.piece { margin: 0; min-width: 0; }
.piece:nth-child(6n+1) { grid-column: 1 / span 7; }
.piece:nth-child(6n+2) { grid-column: 9 / span 4; margin-top: clamp(60px, 16vw, 260px); }
.piece:nth-child(6n+3) { grid-column: 2 / span 4; }
.piece:nth-child(6n+4) { grid-column: 6 / span 7; margin-top: clamp(40px, 8vw, 140px); }
.piece:nth-child(6n+5) { grid-column: 1 / span 5; margin-top: clamp(20px, 4vw, 60px); }
.piece:nth-child(6n+6) { grid-column: 7 / span 5; margin-top: clamp(60px, 18vw, 280px); }
.piece-frame { display: block; width: 100%; padding: 0; border: 0; cursor: pointer; position: relative; overflow: hidden; border-radius: 4px;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px color-mix(in srgb, var(--moon) 8%, transparent); transition: transform .6s var(--ease), box-shadow .8s; }
.piece-frame img { width: 100%; height: auto; transition: transform 1.6s var(--ease), filter 1.2s; filter: brightness(.86) saturate(.92); }
.piece-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 235, 200, .2), transparent 45%); }
.piece-frame:hover::after { opacity: 1; }
.piece-frame:hover { box-shadow: 0 50px 110px -40px color-mix(in srgb, var(--ember) 40%, transparent), 0 0 0 1px color-mix(in srgb, var(--ember) 35%, transparent); }
.piece-frame:hover img { filter: none; transform: scale(1.03); }
.plaque { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: baseline; padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--line); }
.plaque small { font-size: 11px; letter-spacing: .24em; color: var(--ember); font-variant-numeric: tabular-nums; }
.plaque em { font-family: var(--f-serif); font-size: clamp(19px, 1.7vw, 25px); line-height: 1.2; overflow-wrap: anywhere; }
.plaque span { grid-column: 2; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mist); }
.js .piece.reveal { clip-path: none; }
.js .piece.reveal:not(.in) { opacity: 0; transform: translateY(70px); }
.js .piece.reveal:not(.in) img { transform: scale(1.18); filter: blur(12px) brightness(.5); }
.js .piece.reveal { transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.layout-salon { column-gap: clamp(12px, 1.6vw, 24px); row-gap: clamp(30px, 4vw, 60px); }
.layout-salon .piece { grid-column: span 4 !important; margin-top: 0 !important; }
.layout-salon .piece.wide { grid-column: span 8 !important; }
@media (max-width: 760px) {
  .exhibit { grid-template-columns: 1fr; row-gap: 56px; }
  .piece, .layout-salon .piece, .layout-salon .piece.wide { grid-column: 1 / -1 !important; margin-top: 0 !important; }
  .piece:nth-child(even) { padding-left: 12%; }
  .piece:nth-child(odd):not(.wide) { padding-right: 8%; }
}

/* ---------- Versek: tartalomjegyzék ---------- */
.sec-poems { padding-block: clamp(110px, 13vw, 190px) clamp(60px, 8vw, 120px); }
.poem-index { list-style: none; margin: 0 auto; padding: 0; border-top: 1px solid var(--line); max-width: 1300px; }
.pidx a { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto 28px; gap: clamp(14px, 2.4vw, 32px); align-items: baseline;
  padding: clamp(20px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative; }
.pidx a::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ember); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.pidx a:hover::before, .pidx a:focus-visible::before { transform: scaleX(1); }
.pidx-no { font-size: 12px; letter-spacing: .22em; color: var(--ember); font-variant-numeric: tabular-nums; }
.pidx-main { display: grid; gap: 6px; min-width: 0; transition: transform .7s var(--ease); }
.pidx-title { font-family: var(--f-display); font-weight: var(--hw, 400); font-size: clamp(28px, 3.8vw, 58px); line-height: 1.04; overflow-wrap: anywhere; transition: color .4s; }
.pidx-first { font-family: var(--f-serif); font-style: italic; color: var(--mist); font-size: clamp(15px, 1.3vw, 18px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pidx-date { font-size: 12px; letter-spacing: .2em; color: var(--mist); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pidx-arrow { color: var(--ember); font-style: normal; font-size: 22px; opacity: 0; transform: translateX(-14px); transition: opacity .4s, transform .6s var(--ease); }
.pidx a:hover .pidx-main { transform: translateX(14px); }
.pidx a:hover .pidx-title { color: var(--ember); }
.pidx a:hover .pidx-arrow { opacity: 1; transform: none; }
.js .pidx:not(.in) { opacity: 0; transform: translateY(34px); }
.js .pidx { transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.pidx-float { position: fixed; left: 0; top: 0; z-index: 30; width: clamp(180px, 17vw, 260px); aspect-ratio: 4 / 5; pointer-events: none; opacity: 0;
  border-radius: 999px 999px 6px 6px; overflow: hidden; box-shadow: 0 30px 80px -20px color-mix(in srgb, var(--ember) 45%, transparent);
  transition: opacity .4s, scale .5s var(--ease); scale: .85; }
.pidx-float.on { opacity: 1; scale: 1; }
.pidx-float img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); }
@media (hover: none) { .pidx-float { display: none; } }
@media (max-width: 700px) {
  .pidx a { grid-template-columns: 34px minmax(0, 1fr); row-gap: 4px; }
  .pidx-date { grid-column: 2; }
  .pidx-arrow { display: none; }
  .pidx-first { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* ---------- Egy vers oldala ---------- */
.sec-poem { padding: 0; }
.poem-head { position: relative; min-height: min(78svh, 820px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding: 150px 0 clamp(40px, 6vw, 80px); }
.poem-bg { position: absolute; inset: 0; z-index: -1; }
.poem-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.36) saturate(.8) blur(1px); transform: scale(1.08); animation: poemDrift 32s ease-in-out infinite alternate; }
.poem-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink) 4%, color-mix(in srgb, var(--ink) 50%, transparent) 45%, transparent 80%), radial-gradient(70% 60% at 30% 80%, color-mix(in srgb, var(--ember) 14%, transparent), transparent 70%); }
@keyframes poemDrift { to { transform: scale(1.18) translate(-2%, -2%); } }
.poem-head-in { width: 100%; max-width: 1300px; margin: 0 auto; }
.poem-back { display: inline-block; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--mist); text-decoration: none; margin-bottom: clamp(30px, 5vw, 60px); transition: color .3s; }
.poem-back:hover { color: var(--ember); }
.poem-title { font-family: var(--f-display); font-weight: var(--hw, 400); font-size: clamp(46px, 8.5vw, 136px); line-height: .98; margin: .15em 0 .35em; text-wrap: balance; overflow-wrap: anywhere; }
.poem-body { max-width: 820px; margin: 0 auto; padding-block: clamp(50px, 7vw, 110px); font-family: var(--f-serif); font-size: clamp(20px, 1.9vw, 27px); line-height: 1.62; transition: opacity .32s, filter .32s; }
.poem-body.swap { opacity: 0; filter: blur(8px); }
.stanza { margin: 0 0 1.5em; }
.stanza em { color: var(--ember); }
.js .sec-poem:not(.shown) .stanza { opacity: 0; transform: translateY(26px); }
.js .sec-poem .stanza { transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(.35s + var(--i, 0) * 140ms); }
.poem-figure { max-width: 980px; margin: 0 auto clamp(40px, 6vw, 80px); }
.poem-figure .pf-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 4px; overflow: hidden; }
.poem-figure img { width: 100%; height: auto; filter: brightness(.9); transition: filter .6s, transform 1.4s var(--ease); }
.poem-figure .pf-btn:hover img { filter: none; transform: scale(1.02); }
.poem-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1300px; margin: 0 auto; padding-block: clamp(40px, 6vw, 80px) clamp(60px, 8vw, 110px); border-top: 1px solid var(--line); }
.poem-pager a { display: grid; gap: 8px; text-decoration: none; max-width: 520px; }
.poem-pager a.nx { justify-self: end; text-align: right; }
.poem-pager small { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ember); }
.poem-pager b { font-family: var(--f-display); font-weight: var(--hw, 400); font-size: clamp(22px, 2.6vw, 38px); line-height: 1.1; transition: color .3s; }
.poem-pager a:hover b { color: var(--ember); }
.seo-poem .poem-cover { display: none; }
@media (max-width: 640px) { .poem-pager { grid-template-columns: 1fr; } .poem-pager a.nx { justify-self: start; text-align: left; } }

/* ---------- Linkek (zene) ---------- */
.sec-links { padding-block: clamp(120px, 14vw, 200px) clamp(70px, 9vw, 130px); }
.links-wrap { max-width: 1400px; margin: 0 auto; }
.links-wrap.has-photo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.links-photo { margin: 0; aspect-ratio: 4 / 5; border-radius: 999px 999px 6px 6px; overflow: hidden; box-shadow: 0 50px 120px -50px color-mix(in srgb, var(--ember) 45%, transparent); }
.links-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); }
.link-cards { display: grid; gap: 14px; margin-top: clamp(30px, 4vw, 50px); }
.link-card { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 20px 24px; text-decoration: none;
  border: 1px solid var(--line); border-radius: 18px; background: color-mix(in srgb, var(--ink-2) 70%, transparent); position: relative; overflow: hidden;
  transition: border-color .4s, transform .5s var(--ease), box-shadow .6s; }
.link-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, color-mix(in srgb, var(--ember) 12%, transparent) 50%, transparent 80%); transform: translateX(-100%); transition: transform 1.1s var(--ease); }
.link-card:hover::before { transform: translateX(100%); }
.link-card:hover { border-color: var(--ember); transform: translateY(-3px); box-shadow: 0 24px 60px -30px color-mix(in srgb, var(--ember) 50%, transparent); }
.lc-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--ember) 60%, transparent); color: var(--ember); font-size: 22px; transition: transform 1s var(--ease), box-shadow .6s; }
.link-card:hover .lc-icon { transform: rotate(360deg); box-shadow: 0 0 30px color-mix(in srgb, var(--ember) 45%, transparent); }
.lc-text { display: grid; min-width: 0; }
.lc-text b { font-family: var(--f-display); font-weight: var(--hw, 400); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; overflow-wrap: anywhere; }
.lc-text small { color: var(--mist); font-size: 14px; }
.lc-go { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ember); white-space: nowrap; }
@media (max-width: 820px) {
  .links-wrap.has-photo { grid-template-columns: 1fr; }
  .links-photo { max-width: 380px; width: 100%; }
  .link-card { grid-template-columns: 46px minmax(0, 1fr); }
  .lc-icon { width: 44px; height: 44px; }
  .lc-go { grid-column: 2; }
}

/* ---------- Oldal-kártyák ---------- */
.sec-portals { padding-block: clamp(100px, 12vw, 170px) clamp(40px, 6vw, 80px); }
.portals { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(12px, 1.6vw, 22px); max-width: 1500px; margin: 0 auto; }
.portals.n5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.portals.n5 .portal-card:nth-child(-n+2) { grid-column: span 3; min-height: clamp(340px, 38vw, 560px); }
.portals.n5 .portal-card:nth-child(n+3) { grid-column: span 2; }
.portals.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portal-card { position: relative; display: block; min-height: clamp(300px, 28vw, 420px); border-radius: 22px; overflow: hidden; text-decoration: none; isolation: isolate; background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .6s, transform .6s var(--ease); }
.portal-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: brightness(.55) saturate(.85); transition: transform 1.6s var(--ease), filter 1s; }
.pc-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, color-mix(in srgb, var(--ink) 92%, transparent), transparent 62%); }
.portal-card:hover img { transform: scale(1.07); filter: brightness(.8) saturate(1); }
.portal-card:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ember) 60%, transparent), 0 40px 90px -40px color-mix(in srgb, var(--ember) 45%, transparent); transform: translateY(-4px); }
.pc-no { position: absolute; top: 22px; left: 24px; font-size: 12px; letter-spacing: .24em; color: var(--ember); }
.pc-body { position: absolute; left: 24px; right: 84px; bottom: 22px; display: grid; gap: 4px; }
.pc-body b { font-family: var(--f-display); font-weight: var(--hw, 400); font-size: clamp(30px, 3vw, 48px); line-height: 1.02; }
.pc-body small { color: var(--mist); font-size: 14px; line-height: 1.4; }
.pc-go { position: absolute; right: 22px; bottom: 22px; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--moon) 35%, transparent); transition: background .4s, color .4s, transform .6s var(--ease); }
.portal-card:hover .pc-go { background: var(--ember); color: var(--ink); border-color: var(--ember); transform: rotate(-45deg); }
@media (max-width: 900px) {
  .portals.n5, .portals.n4 { grid-template-columns: 1fr 1fr; }
  .portals.n5 .portal-card:nth-child(-n+2), .portals.n5 .portal-card:nth-child(n+3) { grid-column: span 1; min-height: 300px; }
  .portals.n5 .portal-card:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .portals, .portals.n5, .portals.n4 { grid-template-columns: 1fr; } .portals.n5 .portal-card { grid-column: 1 / -1 !important; min-height: 260px !important; } }

/* ---------- Megrendelés ---------- */
.sec-order { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(120px, 14vw, 200px) clamp(80px, 10vw, 140px); }
.order-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 540px); gap: clamp(40px, 6vw, 100px); align-items: start; max-width: 1400px; margin: 0 auto; }
.order-text { min-width: 0; }
.order-photo { margin: 30px 0 0; width: min(300px, 70%); aspect-ratio: 4 / 5; border-radius: 999px 999px 6px 6px; overflow: hidden; }
.order-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.order-form { display: grid; gap: 22px; padding: clamp(22px, 3vw, 40px); border-radius: 24px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--ink-2) 78%, transparent); backdrop-filter: blur(12px); box-shadow: 0 50px 120px -60px color-mix(in srgb, var(--ember) 40%, transparent); }
.of { display: grid; gap: 8px; margin: 0; min-width: 0; }
.of > span, .of legend { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ember); }
.of input, .of textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--moon) 22%, transparent); color: var(--moon);
  font: inherit; font-size: 17px; padding: 10px 2px; border-radius: 0; transition: border-color .3s, background .3s; resize: vertical; }
.of input:focus, .of textarea:focus { outline: none; border-color: var(--ember); background: color-mix(in srgb, var(--ember) 5%, transparent); }
.themes { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.themes legend { margin-bottom: 10px; padding: 0; }
.theme-chip { position: relative; cursor: pointer; }
.theme-chip input { position: absolute; opacity: 0; pointer-events: none; }
.theme-chip span { display: inline-block; padding: 8px 15px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--moon) 25%, transparent); font-size: 14px; transition: background .3s, color .3s, border-color .3s; }
.theme-chip input:checked + span { background: var(--ember); color: var(--ink); border-color: var(--ember); }
.theme-chip input:focus-visible + span { outline: 2px solid var(--ember); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.of-status { margin: 0; min-height: 1.4em; font-size: 15px; }
.of-status.ok { color: var(--ember); }
.of-status.bad { color: #ff9f8e; }
.order-form .btn { justify-self: start; }
.order-form .btn:disabled { opacity: .6; pointer-events: none; }
@media (max-width: 900px) { .order-wrap { grid-template-columns: 1fr; } .order-photo { display: none; } }

/* ---------- 18+ figyelmeztetés ---------- */
.agegate { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .7s var(--ease);
  background: radial-gradient(55% 45% at 50% 42%, color-mix(in srgb, var(--ember) 15%, transparent), transparent 70%), color-mix(in srgb, var(--ink) 90%, transparent);
  backdrop-filter: blur(22px) saturate(.6); -webkit-backdrop-filter: blur(22px) saturate(.6); }
.agegate.open { opacity: 1; }
.ag-card { max-width: 540px; text-align: center; transform: translateY(24px) scale(.97); transition: transform 1s var(--ease); }
.agegate.open .ag-card { transform: none; }
.ag-card .label { justify-content: center; }
.ag-seal { display: inline-grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; border: 1px solid var(--ember); color: var(--ember);
  font-family: var(--f-display); font-size: 30px; margin-bottom: 26px; animation: agSeal 3.2s ease-in-out infinite; }
@keyframes agSeal { 50% { box-shadow: 0 0 70px color-mix(in srgb, var(--ember) 45%, transparent), inset 0 0 30px color-mix(in srgb, var(--ember) 20%, transparent); } }
.ag-title { font-family: var(--f-display); font-weight: var(--hw, 400); font-size: clamp(36px, 6vw, 60px); line-height: 1.05; margin: 10px 0 18px; }
.ag-text { color: var(--mist); margin: 0 auto 32px; max-width: 44ch; }
.ag-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
html.on-poem .grain { opacity: .05; }
.order-text .contact-title { font-size: clamp(40px, 5.2vw, 88px); }
.order-text .asks li { font-size: clamp(19px, 2vw, 28px); }
.brand-word { white-space: nowrap; }
@media (max-width: 420px) { .nav .brand-word { font-size: 21px; } .nav .lang { font-size: 12px; } }
