:root {
  --ink: #07090f;
  --ink-2: #0d111b;
  --ivory: #f4ecdc;
  --ivory-dim: rgba(244, 236, 220, .72);
  --ivory-faint: rgba(244, 236, 220, .14);
  --gold: #d9b26f;
  --gold-2: #f0cf8e;
  --panel: rgba(9, 11, 19, .52);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gutter: clamp(16px, 4vw, 64px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--ink); color: var(--ivory);
  font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.65;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

/* ---------- Réteg: canvas, fátyol, szemcse ---------- */
#scene { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; display: block; }
.veil {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 45%, rgba(4, 5, 10, .55) 100%),
    linear-gradient(180deg, rgba(4, 5, 10, .35) 0%, transparent 18%, transparent 75%, rgba(4, 5, 10, .5) 100%);
}
.grain {
  position: fixed; inset: -50%; z-index: 2; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0) } 33% { transform: translate(-3%, 2%) } 66% { transform: translate(2%, -3%) } 100% { transform: translate(0, 0) } }

main { position: relative; z-index: 3; }

/* ---------- Betöltő ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--ink);
  display: grid; place-content: center; justify-items: center; gap: 18px; color: var(--gold);
  transition: opacity 1.1s var(--ease), visibility 1.1s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__crest svg { animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .4; transform: translateY(-3px); } }
.loader__word { font-family: var(--serif); font-size: clamp(2rem, 6vw, 3.4rem); letter-spacing: .5em; padding-left: .5em; color: var(--ivory); }
.loader__bar { width: min(260px, 60vw); height: 1px; background: var(--ivory-faint); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width .3s ease; }
.loader__count { font-size: .75rem; letter-spacing: .3em; color: var(--ivory-dim); font-variant-numeric: tabular-nums; }

/* ---------- Kurzor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none; mix-blend-mode: difference; display: none; }
.cursor span { display: block; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--gold-2); transition: transform .35s var(--ease), background .3s; }
.cursor.is-hover span { transform: scale(4.2); background: #fff; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

/* ---------- Haladásjelző ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--gold-2)); }

/* ---------- Navigáció ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: background .5s, backdrop-filter .5s, padding .4s, transform .6s var(--ease);
}
.nav.is-solid { background: rgba(7, 9, 15, .55); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--ivory-faint); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gold); }
.nav__brand span { font-family: var(--serif); font-size: 1.5rem; color: var(--ivory); letter-spacing: .02em; line-height: 1; }
.nav__brand em { font-style: italic; color: var(--gold); margin-left: 4px; }
.nav__links { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.nav__links a { text-decoration: none; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-dim); position: relative; padding: 6px 0; transition: color .3s; }
.nav__links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ivory); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; border: 1px solid var(--ivory-faint); border-radius: 99px; padding: 3px; }
.lang button { background: none; border: 0; color: var(--ivory-dim); font: 600 .68rem var(--sans); letter-spacing: .12em; padding: 6px 9px; border-radius: 99px; cursor: pointer; transition: .3s; }
.lang button.is-active { background: var(--ivory); color: var(--ink); }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--ivory-faint); border-radius: 50%; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ivory); transition: transform .4s var(--ease), top .4s; }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Gombok ---------- */
.btn {
  --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 28px; border-radius: 99px; text-decoration: none; white-space: nowrap;
  font: 600 .74rem var(--sans); letter-spacing: .2em; text-transform: uppercase; position: relative; overflow: hidden;
  transition: transform .5s var(--ease), color .4s, border-color .4s;
}
.btn--sm { --h: 40px; padding: 0 18px; font-size: .66rem; }
.btn--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink); box-shadow: 0 10px 40px -12px rgba(217, 178, 111, .7); }
.btn--ghost { border: 1px solid rgba(244, 236, 220, .35); color: var(--ivory); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); background: rgba(7, 9, 15, .2); }
.btn::before { content: ''; position: absolute; inset: 0; background: var(--ivory); transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; }
.btn { isolation: isolate; }
.btn:hover::before { transform: translateY(0); }
.btn--ghost:hover { color: var(--ink); border-color: var(--ivory); }
.btn:hover { transform: translateY(-2px); }

/* ---------- Szekciók ---------- */
.sec { position: relative; min-height: 100vh; min-height: 100svh; padding: 18vh var(--gutter); display: flex; align-items: center; }
.eyebrow { font-size: .72rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 5.6vw, 5rem); line-height: 1; letter-spacing: -.01em; margin: 0 0 26px; text-wrap: balance; }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: var(--ivory); max-width: 34em; }
p { color: var(--ivory-dim); }
.panel {
  position: relative; max-width: 560px; padding: clamp(26px, 3.4vw, 48px);
  background: var(--panel); border: 1px solid var(--ivory-faint); border-radius: 22px;
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .7);
}
.panel::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(217, 178, 111, .16); border-radius: 14px; pointer-events: none; }
.panel--right { margin-left: auto; }
.panel--left { margin-right: auto; }
.panel--wide { max-width: 760px; }
.panel--flush { max-width: none; }

/* ---------- Hero ---------- */
.hero { justify-content: center; text-align: center; padding-top: 12vh; }
.hero__inner { max-width: 1100px; }
.hero .eyebrow { justify-content: center; }
.hero .eyebrow::after { content: ''; width: 34px; height: 1px; background: currentColor; }
.hero__title { font-family: var(--serif); font-weight: 500; margin: 0; line-height: .86; letter-spacing: -.02em; text-shadow: 0 10px 60px rgba(0, 0, 0, .45); }
.hero__title .split { display: block; font-size: clamp(4rem, 15vw, 13rem); }
.hero__title .split--italic { font-style: italic; color: var(--gold-2); font-size: clamp(2.6rem, 9vw, 7.6rem); margin-top: -.08em; }
.split .ch { display: inline-block; will-change: transform; }
.split .mask { display: inline-block; overflow: hidden; padding: 0 .02em .12em; margin-bottom: -.12em; vertical-align: top; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 34em; margin: 28px auto 36px; color: var(--ivory); text-shadow: 0 2px 20px rgba(0, 0, 0, .6); }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.scrollcue { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: grid; justify-items: center; gap: 12px; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ivory-dim); }
.scrollcue i { width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scrollcue i::after { content: ''; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--ivory); animation: drip 2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

/* ---------- Bevezető ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--ivory-faint); border: 1px solid var(--ivory-faint); border-radius: 14px; overflow: hidden; margin-top: 30px; }
.stat { background: rgba(7, 9, 15, .55); padding: 20px 22px; }
.stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.stat span { font-size: .78rem; letter-spacing: .08em; color: var(--ivory-dim); }

/* ---------- Idővonal ---------- */
.history { padding: 0; display: block; }
.history__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 5vh; overflow: hidden; }
.history__head { padding: 0 var(--gutter); }
.history__head .h2 { margin: 0; }
.track { display: flex; gap: 24px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.card {
  width: clamp(270px, 28vw, 380px); flex: none; padding: 32px 30px 34px; border-radius: 20px;
  background: linear-gradient(160deg, rgba(20, 22, 34, .88), rgba(9, 11, 19, .8));
  border: 1px solid var(--ivory-faint); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  position: relative; overflow: hidden; transition: border-color .5s, transform .6s var(--ease);
}
.card::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 178, 111, .25), transparent 70%); }
.card:hover { border-color: rgba(217, 178, 111, .5); transform: translateY(-6px); }
.card__year { display: block; font-family: var(--serif); font-size: clamp(3.4rem, 5vw, 4.6rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); margin-bottom: 20px; }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; margin: 0 0 10px; line-height: 1.1; }
.card p { margin: 0; font-size: .95rem; }
.card--feature { background: linear-gradient(160deg, rgba(217, 178, 111, .22), rgba(9, 11, 19, .6)); border-color: rgba(217, 178, 111, .45); }
.card--feature .card__year { color: var(--gold-2); -webkit-text-stroke: 0; }
.history__rail { margin: 0 var(--gutter); height: 1px; background: var(--ivory-faint); }
.history__rail span { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Építészet ---------- */
.features { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 2px; }
.features li { display: flex; gap: 18px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--ivory-faint); }
.features li > span { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; }
.features b { display: block; font-weight: 600; letter-spacing: .02em; }
.features em { font-style: normal; font-size: .9rem; color: var(--ivory-dim); }
.float-photo { position: absolute; margin: 0; width: clamp(220px, 24vw, 360px); border-radius: 18px; overflow: hidden; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8); border: 1px solid var(--ivory-faint); }
.float-photo--r { right: var(--gutter); bottom: 14vh; }
.float-photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.float-photo figcaption, .mini-photo figcaption { font-size: .72rem; letter-spacing: .06em; padding: 10px 14px; background: rgba(7, 9, 15, .8); color: var(--ivory-dim); }

/* ---------- Díszcsarnok ---------- */
.atrium__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); width: 100%; max-width: 1400px; margin: 0 auto; }
.atrium__grid > .panel { grid-column: 2; }
.atrium__photo { margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: 0 60px 140px -40px rgba(0, 0, 0, .9); border: 1px solid var(--ivory-faint); }
.atrium__photo img { width: 100%; height: 118%; object-fit: cover; }
.mini-photo { margin: 22px 0 0; border-radius: 14px; overflow: hidden; max-width: 320px; border: 1px solid var(--ivory-faint); }
.mini-photo img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; filter: sepia(.25) contrast(1.05); }

/* ---------- Múzeum ---------- */
.floors { display: grid; gap: 14px; margin-top: 10px; }
.floor { display: grid; grid-template-columns: 110px 1fr; gap: 6px 22px; padding: 20px 0; border-top: 1px solid var(--ivory-faint); }
.floor__n { grid-row: span 2; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); padding-top: 8px; }
.floor h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.7rem; line-height: 1.1; }
.floor p { margin: 0; font-size: .95rem; }

/* ---------- Galéria ---------- */
.gallery { flex-direction: column; align-items: stretch; padding-left: 0; padding-right: 0; }
.gallery__head { padding: 0 var(--gutter); margin-bottom: 40px; max-width: 900px; }
.strip { display: flex; gap: 22px; overflow-x: auto; padding: 20px var(--gutter) 30px; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; perspective: 1400px; }
.strip::-webkit-scrollbar { display: none; }
.strip.is-drag { cursor: grabbing; scroll-snap-type: none; }
.shot { flex: none; margin: 0; width: clamp(260px, 34vw, 520px); scroll-snap-align: center; position: relative; border-radius: 18px; overflow: hidden; transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .6s; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); border: 1px solid var(--ivory-faint); }
.shot--tall { width: clamp(200px, 22vw, 340px); }
.shot img { width: 100%; height: clamp(320px, 52vh, 560px); object-fit: cover; transition: transform 1.2s var(--ease); pointer-events: none; user-select: none; }
.shot:hover img { transform: scale(1.06); }
.shot figcaption { position: absolute; left: 16px; bottom: 14px; font-family: var(--serif); font-style: italic; font-size: 1.35rem; text-shadow: 0 2px 16px rgba(0, 0, 0, .8); }
.shot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0, 0, 0, .6)); pointer-events: none; }
.shot figcaption { z-index: 1; }
.gallery__hint { text-align: center; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; margin: 6px 0 0; }

/* ---------- Park ---------- */
.park__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.park__facts b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 2.6vw, 2.3rem); color: var(--gold-2); line-height: 1.1; }
.park__facts span { font-size: .78rem; color: var(--ivory-dim); }

/* ---------- Látogatás ---------- */
.visit { flex-direction: column; align-items: stretch; padding-bottom: 0; }
.visit__wrap { max-width: 1240px; width: 100%; margin: 0 auto; }
.visit__head { text-align: center; margin-bottom: 44px; }
.visit__head .eyebrow { justify-content: center; }
.visit__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vcard { padding: 32px; border-radius: 22px; background: rgba(9, 11, 19, .62); border: 1px solid var(--ivory-faint); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.vcard h3 { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; margin: 0 0 18px; color: var(--gold-2); }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--ivory-faint); font-size: .95rem; }
.hours li span { color: var(--ivory-dim); }
.hours li b { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.open-now { margin: 18px 0 0; display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; letter-spacing: .06em; color: var(--ivory); }
.open-now::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, #7bd88f); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dot, #7bd88f) 25%, transparent); }
.note { font-size: .85rem; margin: 16px 0 0; }
address { font-style: normal; color: var(--ivory); margin-bottom: 14px; line-height: 1.6; }
.vcard a:not(.btn) { color: var(--ivory); text-decoration: none; border-bottom: 1px solid rgba(217, 178, 111, .4); }
.vcard__btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.visit__tips { text-shadow: 0 2px 12px #000, 0 0 30px #000; text-align: center; font-size: .82rem; letter-spacing: .04em; margin: 30px 0 0; }

/* ---------- Lábléc ---------- */
.foot { margin-top: 14vh; padding: 0 var(--gutter) 30px; }
.foot__big { font-family: var(--serif); font-style: italic; font-size: clamp(5rem, 22vw, 20rem); line-height: .8; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(217, 178, 111, .45); user-select: none; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; border-top: 1px solid var(--ivory-faint); padding-top: 22px; margin-top: 10px; font-size: .74rem; }
.foot__row p { margin: 0; }
.foot .credits { flex: 1 1 420px; opacity: .7; }
.foot a { color: var(--gold); text-decoration: none; }

/* ---------- Oldalsó fejezetjelző ---------- */
.chapters { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 40; }
.chapters ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.chapters li { font-family: var(--serif); font-size: .82rem; color: rgba(244, 236, 220, .3); text-align: right; transition: color .4s, transform .4s var(--ease); cursor: pointer; pointer-events: auto; }
.chapters li.is-active { color: var(--gold-2); transform: translateX(-6px); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(4, 5, 10, .92); display: grid; place-content: center; justify-items: center; gap: 14px; padding: 5vh 4vw; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; backdrop-filter: blur(10px); }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 80vh; max-width: 92vw; border-radius: 12px; box-shadow: 0 40px 120px rgba(0, 0, 0, .8); }
.lightbox p { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--ivory); margin: 0; }
.lightbox__close { position: absolute; top: 20px; right: 24px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ivory-faint); background: none; color: var(--ivory); font-size: 1.8rem; cursor: pointer; }

/* ---------- Animációs alapállapot ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); }
.js .reveal-photo { clip-path: inset(100% 0 0 0 round 18px); }
.js .split-lines { clip-path: inset(0 0 100% 0); transform: translateY(30px); }

/* ---------- Reszponzív ---------- */
@media (max-width: 1100px) {
  .float-photo { display: none; }
  .chapters { display: none; }
}
@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 26px;
    background: rgba(7, 9, 15, .96); backdrop-filter: blur(14px); opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s;
  }
  .nav__links a { font-family: var(--serif); font-size: 2.2rem; letter-spacing: .02em; text-transform: none; color: var(--ivory); }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .burger { display: block; }
  .nav__right .btn { display: none; }
  .atrium__grid { grid-template-columns: 1fr; }
  .atrium__grid > .panel { grid-column: 1; }
  .visit__grid { grid-template-columns: 1fr; }
  .panel, .panel--right, .panel--left { margin: 0 auto; }
}
@media (max-width: 600px) {
  .nav { padding: 14px 16px; }
  .nav__brand span { font-size: 1.25rem; }
  .sec { padding: 14vh 16px; }
  .gallery, .history { padding-left: 0; padding-right: 0; }
  .panel { padding: 24px 20px; border-radius: 18px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 16px; }
  .park__facts { grid-template-columns: 1fr 1fr; }
  .floor { grid-template-columns: 1fr; }
  .floor__n { grid-row: auto; padding: 0; }
  .card { padding: 26px 22px; }
  .hero__cta .btn { width: 100%; }
  .vcard { padding: 24px 20px; }
  .foot__row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .scrollcue i::after, .loader__crest svg { animation: none; }
}

/* hero olvashatóság a 3D jelenet felett */
.hero__inner { position: relative; }
.hero__inner::before { content: ''; position: absolute; inset: -30% -30%; z-index: -1; background: radial-gradient(closest-side, rgba(7, 9, 15, .72), rgba(7, 9, 15, .35) 60%, transparent); pointer-events: none; }
