/* ==========================================================
   Mézi Beauty Feet · VII. „Rituálé”
   Noir & Gold × Warm Atelier – scrollytelling
   ========================================================== */
:root {
  --noir: #0e0b08;
  --noir-2: #17110c;
  --noir-3: #221a13;
  --cream: #f6eee3;
  --cream-2: #efe4d4;
  --rose: #c99a8f;
  --rose-soft: #ecd6cd;
  --walnut: #3b2519;
  --cocoa: #7a5340;
  --gold-1: #f6e3b4;
  --gold-2: #d6b06a;
  --gold-3: #a77c3c;
  --gold: linear-gradient(100deg, #8c6430 0%, #e9cd8e 30%, #fff2cf 48%, #d2a95e 66%, #94692f 100%);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, sans-serif;
  --script: "Pinyon Script", cursive;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
  --pad: clamp(1.25rem, 6vw, 7rem);
  --edge: 14vh;
  interpolate-size: allow-keywords;
}

[data-theme="dark"]  { --bg: var(--noir);  --fg: var(--cream);  --muted: #b3a690; --accent: var(--gold-2); --hair: rgba(214, 176, 106, .22); }
[data-theme="cream"] { --bg: var(--cream); --fg: var(--walnut); --muted: #7d685a; --accent: var(--gold-3); --hair: rgba(167, 124, 60, .28); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--noir);
  color: var(--cream);
  font: 300 1.0625rem/1.75 var(--sans);
  letter-spacing: .01em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold-2); color: var(--noir); }
:focus-visible { outline: 1px solid var(--gold-2); outline-offset: 4px; }

.skip { position: fixed; top: -100px; left: 1rem; z-index: 300; padding: .75rem 1.25rem; background: var(--gold-2); color: var(--noir); text-decoration: none; }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--pad); }

section[data-theme] { background: var(--bg); color: var(--fg); position: relative; }

/* placeholder ⟦…⟧ */
.ph { border-bottom: 1px dashed currentColor; text-decoration: none; opacity: .9; }

/* --- Typography ------------------------------------------------ */
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.02; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2.6rem, 6vw, 5.6rem); }
h2 em, h3 em { font-style: italic; color: var(--accent); }
[data-theme="dark"] h2 em { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
h3 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
p { margin: 0 0 1.1em; }
.eyebrow { font: 500 .72rem/1 var(--sans); letter-spacing: .42em; text-transform: uppercase; color: var(--accent); margin: 0 0 1.8rem; display: flex; align-items: center; gap: 1rem; }
.eyebrow::before { content: ""; width: 3rem; height: 1px; background: currentColor; opacity: .7; }
.lead { font: italic 300 clamp(1.4rem, 2.2vw, 1.9rem)/1.35 var(--serif); }
.link { text-decoration: none; border-bottom: 1px solid var(--hair); transition: border-color .3s, color .3s; }
.link:hover { color: var(--accent); border-color: var(--accent); }

/* --- Buttons --------------------------------------------------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: .8rem; padding: 1.15rem 2.1rem; font: 500 .72rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; text-decoration: none; overflow: hidden; isolation: isolate; transition: color .5s var(--ease); }
.btn--gold { color: var(--noir); background: var(--gold); background-size: 220% 100%; animation: sheen 6s ease-in-out infinite; }
.btn--gold::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--noir); border-radius: 999px 999px 0 0; transform: translateY(101%) scaleX(.6); transition: transform .7s var(--ease), border-radius .7s var(--ease); }
.btn--gold:hover { color: var(--gold-1); }
.btn--gold:hover::before { transform: none; border-radius: 0; }
.btn--gold::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--gold-2); pointer-events: none; }
@keyframes sheen { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.magnetic { will-change: transform; transition: transform .5s var(--ease); }

/* --- Atmosphere ----------------------------------------------- */
.grain {
  position: fixed; inset: -50%; z-index: 150; pointer-events: none; opacity: .06;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%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); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

.lamellas { position: absolute; top: 0; bottom: 0; display: flex; gap: clamp(9px, 1.3vw, 20px); pointer-events: none; }
.lamellas i { position: relative; width: 2px; height: 100%; background: linear-gradient(180deg, transparent 0%, rgba(255, 234, 190, .55) 45%, rgba(255, 234, 190, .2) 80%, transparent 100%); box-shadow: 0 0 12px rgba(255, 214, 140, .35), 0 0 32px rgba(255, 196, 110, .18); opacity: .5; animation: breathe 6s ease-in-out infinite; }
.lamellas i:nth-child(2n) { height: 82%; margin-top: 6vh; animation-delay: -1.3s; }
.lamellas i:nth-child(3n) { height: 68%; margin-top: 14vh; animation-delay: -2.6s; opacity: .35; }
.lamellas i::after { content: ""; position: absolute; left: -1px; width: 4px; height: 90px; top: -90px; background: linear-gradient(180deg, transparent, #fff6dc, transparent); filter: blur(1px); animation: run 7s linear infinite; }
.lamellas i:nth-child(2)::after { animation-delay: -2s; animation-duration: 9s; }
.lamellas i:nth-child(3)::after { animation-delay: -5s; animation-duration: 8s; }
.lamellas i:nth-child(4)::after { animation-delay: -3.5s; animation-duration: 11s; }
.lamellas i:nth-child(5)::after { animation-delay: -6s; }
.lamellas i:nth-child(6)::after { animation-delay: -1s; animation-duration: 10s; }
@keyframes breathe { 0%, 100% { opacity: .35; } 50% { opacity: .85; } }
@keyframes run { 0% { top: -90px; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* arch frames */
.arch { margin: 0; overflow: hidden; border-radius: 999px 999px 4px 4px; position: relative; }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* --- Intro ----------------------------------------------------- */
.intro { display: none; }
.js:not(.intro-skip) .intro {
  position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: var(--noir); color: var(--gold-2);
  clip-path: ellipse(150% 150% at 50% 0%);
  animation: introOut 1.2s var(--ease-io) 2.6s forwards;
}
/* Real logo: emblem rises into view bottom→top, wordmark is "written" left→right,
   then a gold light sweep runs across the whole mark (masked to the logo shape). */
.intro__logo { position: relative; width: min(64vmin, 400px); display: flex; flex-direction: column; align-items: center; }
.intro__logo img { display: block; height: auto; }
.intro__emblem { width: 96.7%; clip-path: inset(100% 0 0 0); filter: blur(6px); animation: emblemIn 1.5s var(--ease-io) .15s forwards; }
.intro__wordmark { width: 100%; margin-top: -7.7%; clip-path: inset(0 100% 0 0); animation: writeIn 1.2s var(--ease-io) .85s forwards; }
.intro__sheen { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 246, 220, .95) 50%, transparent 65%) no-repeat;
  background-size: 250% 100%; background-position: 130% 0;
  -webkit-mask: url(assets/logo/logo.webp?v=b4901025) center / 100% 100% no-repeat; mask: url(assets/logo/logo.webp?v=b4901025) center / 100% 100% no-repeat;
  mix-blend-mode: screen; animation: sheen 1.1s var(--ease-io) 1.75s forwards; }
.intro__logo::after { content: ""; position: absolute; left: 50%; top: 42%; width: 140%; aspect-ratio: 1; translate: -50% -50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(214, 170, 92, .22), transparent 70%); opacity: 0; animation: glow 2s ease 1.2s forwards; }
@keyframes emblemIn { 60% { filter: blur(1px); } to { clip-path: inset(0 0 0 0); filter: none; } }
@keyframes writeIn { to { clip-path: inset(0 0 0 0); } }
@keyframes sheen { to { background-position: -30% 0; } }
@keyframes glow { 50% { opacity: 1; } to { opacity: .6; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes unblur { to { opacity: 1; filter: none; } }
@keyframes introOut { to { clip-path: ellipse(150% 0% at 50% 0%); visibility: hidden; } }

/* --- Custom cursor (desktop) --------------------------------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 250; width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid var(--gold-2); border-radius: 50%; pointer-events: none; opacity: 0; display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .45s, opacity .3s; }
.cursor__label { font: 500 .58rem/1 var(--sans); letter-spacing: .25em; text-transform: uppercase; color: var(--noir); opacity: 0; transition: opacity .3s; }
.cursor.is-on { opacity: 1; }
.cursor.is-big { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: rgba(233, 205, 142, .88); border-color: transparent; backdrop-filter: blur(4px); }
.cursor.is-big .cursor__label { opacity: 1; }
@media (pointer: fine) { .has-cursor, .has-cursor a, .has-cursor button { cursor: none; } }

/* top progress (mobile) */
.topbar { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.topbar i { display: block; height: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }

/* --- LED rail ---------------------------------------------------- */
.rail { position: fixed; left: clamp(14px, 2vw, 34px); top: 50%; transform: translateY(-50%); z-index: 90; height: 52vh; color: var(--gold-2); display: none; }
.rail__line { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: currentColor; opacity: .25; }
.rail__line i { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: linear-gradient(180deg, var(--gold-1), var(--gold-2)); box-shadow: 0 0 10px rgba(255, 214, 140, .8), 0 0 24px rgba(255, 196, 110, .45); transform-origin: 50% 0; transform: scaleY(var(--sp, 0)); }
.rail ol { list-style: none; margin: 0; padding: 0; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.rail a { position: relative; display: flex; align-items: center; gap: .8rem; padding-left: 14px; text-decoration: none; font: 500 .58rem/1 var(--sans); letter-spacing: .25em; color: inherit; }
.rail a::before { content: ""; position: absolute; left: -2px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .4; transition: opacity .3s, box-shadow .3s; }
.rail a span { opacity: .55; transition: opacity .3s; }
.rail a em { font: italic 400 .95rem/1 var(--serif); letter-spacing: .02em; opacity: 0; transform: translateX(-6px); transition: opacity .4s var(--ease), transform .4s var(--ease); white-space: nowrap; }
.rail a:hover em, .rail a:focus-visible em { opacity: 1; transform: none; }
.rail a.is-active span { opacity: 1; }
.rail a.is-active::before { opacity: 1; box-shadow: 0 0 10px var(--gold-1); }
html[data-ui="cream"] .rail { color: var(--gold-3); }
.rail.is-hidden { opacity: 0; pointer-events: none; }
.rail { transition: opacity .5s; }
@media (min-width: 1180px) { .rail { display: block; } .topbar { display: none; } }

/* --- Header -------------------------------------------------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.1rem var(--pad); color: var(--cream); transition: color .5s, background .5s, padding .5s var(--ease), transform .6s var(--ease); }
html[data-ui="cream"] .nav { color: var(--walnut); }
.nav.is-scrolled { padding-top: .7rem; padding-bottom: .7rem; background: rgba(14, 11, 8, .55); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
html[data-ui="cream"] .nav.is-scrolled { background: rgba(246, 238, 227, .72); }
.nav.is-away { transform: translateY(-110%); }
.brand { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; text-decoration: none; }
.brand img { display: block; height: 96px; width: auto; transition: height .4s var(--ease); }
.nav.is-scrolled .brand img { height: 64px; }
html[data-ui="cream"] .brand img { filter: brightness(.82) saturate(1.15); } /* a touch deeper gold on cream */
@media (max-width: 900px) { .brand img { height: 64px; } .nav.is-scrolled .brand img { height: 52px; } }
.nav__menu { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.4rem); }
.nav__menu a { position: relative; font: 400 .7rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; text-decoration: none; padding: .4rem 0; }
.nav__menu a:not(.nav__call)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-2); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__menu a:not(.nav__call):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__call { display: inline-flex; align-items: center; gap: .6rem; padding: .8rem 1.1rem !important; border: 1px solid var(--hair, rgba(214, 176, 106, .35)); border-color: rgba(214, 176, 106, .4); letter-spacing: .12em !important; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 0 rgba(214, 176, 106, .6); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(214, 176, 106, .6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(214, 176, 106, 0); } }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; cursor: pointer; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.nav__toggle span:first-child { top: 18px; } .nav__toggle span:last-child { top: 26px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav__toggle { display: block; z-index: 2; }
  .nav__menu { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 1.6rem; background: var(--noir); color: var(--cream); clip-path: ellipse(150% 0% at 50% 0%); transition: clip-path .9s var(--ease-io); visibility: hidden; }
  .nav__menu.is-open { clip-path: ellipse(150% 150% at 50% 0%); visibility: visible; }
  .nav__menu a { font: italic 300 2rem/1.1 var(--serif); letter-spacing: 0; text-transform: none; }
  .nav__call { font: 400 .9rem/1 var(--sans) !important; margin-top: 1rem; }
  .menu-open .nav { color: var(--cream); }
}

/* =========================================================
   HERO
   ========================================================= */
.hero { height: 240vh; background: var(--noir); }
.hero__stage {
  --p: 0; --ix: 31vw; --it: 14vh; --ib: 10vh;
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
}
.hero__frame {
  position: absolute; inset: 0; z-index: 1;
  clip-path: inset(calc(var(--p) * var(--it)) calc(var(--p) * var(--ix)) calc(var(--p) * var(--ib)) round calc(var(--p) * (50vw - var(--ix))) calc(var(--p) * (50vw - var(--ix))) 0 0);
  will-change: clip-path;
}
.hero__frame picture, .hero__frame img { width: 100%; height: 100%; }
.hero__frame img { object-fit: cover; transform: scale(calc(1.2 - var(--p) * .2)); transform-origin: 50% 60%; }
.js .hero__frame img { animation: kb 2.6s var(--ease) both; animation-delay: var(--d0, .1s); }
@keyframes kb { from { filter: brightness(.2) blur(6px); } to { filter: none; } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 11, 8, .7) 0%, rgba(14, 11, 8, .35) 38%, rgba(14, 11, 8, .5) 68%, rgba(14, 11, 8, .9) 100%); opacity: calc(1 - var(--p) * .7); }
.hero__outline { position: absolute; z-index: 2; top: calc(var(--it) - 14px); bottom: calc(var(--ib) - 14px); left: calc(var(--ix) - 14px); right: calc(var(--ix) - 14px); border: 1px solid rgba(214, 176, 106, .75); border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none; clip-path: inset(calc(100% - clamp(0, (var(--p) - .55) * 2.3, 1) * 100%) 0 0 0); }
.hero__lamellas { z-index: 1; left: calc(100vw - var(--ix) + 3vw); opacity: calc(var(--p) * .9); }
.hero__lamellas--l { left: auto; right: calc(100vw - var(--ix) + 3vw); }

.hero__eyebrow { position: absolute; z-index: 3; top: 19vh; left: 0; right: 0; display: flex; justify-content: center; gap: 1.4rem; margin: 0; font: 500 .7rem/1 var(--sans); letter-spacing: .42em; text-transform: uppercase; color: var(--gold-1); opacity: calc(1 - var(--p) * 2.2); }
.hero__eyebrow span + span::before { content: "·"; margin-right: 1.4rem; color: var(--gold-2); }

.hero__title { position: absolute; inset: 0; z-index: 3; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font: 300 clamp(3.4rem, 10.5vw, 11rem)/.9 var(--serif); letter-spacing: -.02em; color: var(--cream); pointer-events: none; text-shadow: 0 10px 60px rgba(0, 0, 0, .35); }
.ht { display: block; overflow: hidden; padding: 0 .06em .14em; --x: 0px; --y: 0px; --s: 0; transform: translate(calc(var(--p) * var(--x)), calc(var(--p) * var(--y))) scale(calc(1 - var(--p) * var(--s))); will-change: transform; }
.ht > * { display: block; }
.ht--2 em { font-style: italic; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; text-shadow: none; }
.ht--1 { --x: -31vw; --y: 7vh;  --s: .5; }
.ht--2 { --x: -29.5vw; --y: 1vh;  --s: .6; }
.ht--3 { --x: 31vw;  --y: -3vh; --s: .5; }
.js .ht > * { animation: rise 1.5s var(--ease) both; animation-delay: calc(var(--d0, .1s) + var(--di, 0s)); }
.ht--2 { --di: .12s; } .ht--3 { --di: .24s; }
@keyframes rise { from { transform: translateY(105%) rotate(3deg); opacity: 0; filter: blur(6px); } to { transform: none; opacity: 1; filter: none; } }
.js:not(.intro-skip) { --d0: 2.9s; }

.hero__aside { position: absolute; z-index: 3; right: var(--pad); bottom: 9vh; width: min(24vw, 22rem); color: var(--muted, #b3a690); font-size: .98rem; }
.hero__aside em { font-family: var(--serif); font-size: 1.2rem; color: var(--gold-1); }
.js .hero__aside { opacity: clamp(0, calc((var(--p) - .62) * 3.2), 1); transform: translateY(calc((1 - var(--p)) * 30px)); }
.hero__cta { position: absolute; z-index: 3; left: var(--pad); bottom: 9vh; display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.hero__phone { font: 400 1.35rem/1 var(--serif); color: var(--gold-1); text-decoration: none; letter-spacing: .04em; }
.js .hero__cta { animation: fadeUp 1.2s var(--ease) both; animation-delay: calc(var(--d0, .1s) + .6s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero__scroll { position: absolute; z-index: 3; right: var(--pad); bottom: 9vh; display: flex; align-items: center; gap: 1rem; font: 500 .6rem/1 var(--sans); letter-spacing: .35em; text-transform: uppercase; color: var(--gold-1); opacity: calc(.85 - var(--p) * 4); }
.hero__scroll i { width: 1px; height: 54px; background: linear-gradient(var(--gold-2), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -20px; width: 1px; height: 20px; background: #fff6dc; animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

@media (max-width: 900px) {
  .hero__stage { --ix: 11vw; --it: 31vh; --ib: 17vh; }
  .hero__title { font-size: clamp(3.3rem, 15vw, 6rem); }
  .ht--1 { --x: 0px; --y: -24vh; --s: .46; }
  .ht--2 { --x: 0px; --y: calc(-24vh - .52em); --s: .46; }
  .ht--3 { --x: 0px; --y: calc(-24vh - 1.05em); --s: .46; }
  .hero__eyebrow { top: 13vh; flex-direction: column; align-items: center; gap: .7rem; font-size: .6rem; }
  .hero__eyebrow span + span::before { display: none; }
  .hero__aside { left: var(--pad); right: var(--pad); width: auto; bottom: 22vh; text-align: center; font-size: .92rem; }
  .js .hero__aside { opacity: calc(1 - var(--p) * 3.5); transform: none; }
  .hero__cta { left: 0; right: 0; bottom: 5vh; justify-content: center; gap: .9rem; flex-direction: column; }
  .hero__phone { font-size: 1.15rem; }
  .hero__scroll { display: none; }
  .hero__lamellas { display: none; }
}

/* =========================================================
   ARCH WIPE TRANSITIONS
   ========================================================= */
.wipe { --p: 0; height: 160vh; position: relative; z-index: 6; margin-top: -100vh; pointer-events: none; }
.wipe[data-from="dark"] { background: linear-gradient(transparent calc(100vh - 3px), var(--noir) calc(100vh - 3px)); }
.wipe[data-from="cream"] { background: linear-gradient(transparent calc(100vh - 3px), var(--cream) calc(100vh - 3px)); }
.wipe__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.wipe__arch { position: absolute; left: 50%; bottom: 0; width: 40vmin; height: 60vmin; border-radius: 999px 999px 0 0; transform-origin: 50% 100%; transform: translateX(-50%) scale(calc(.04 + var(--p) * var(--p) * 5.4)); will-change: transform; }
.wipe[data-to="cream"] .wipe__arch { background: var(--cream); border: 1px solid rgba(214, 176, 106, .7); border-bottom: 0; }
.wipe[data-to="dark"] .wipe__arch { background: var(--noir); border: 1px solid rgba(167, 124, 60, .7); border-bottom: 0; }
.wipe__label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; font-family: var(--serif); opacity: clamp(0, calc((var(--p) - .5) * 4), 1); transform: translateY(calc((1 - var(--p)) * 50px)); }
.wipe[data-to="cream"] .wipe__label { color: var(--walnut); }
.wipe[data-to="dark"] .wipe__label { color: var(--cream); }
.wipe__num { font: italic 300 clamp(1.4rem, 2.2vw, 2rem)/1 var(--serif); color: var(--gold-3); }
.wipe[data-to="dark"] .wipe__num { color: var(--gold-2); }
.wipe__name { font-size: clamp(3rem, 9vw, 8.5rem); font-weight: 300; line-height: 1; letter-spacing: calc((1 - var(--p)) * .4em - .01em); }

/* =========================================================
   ARCHED SECTION EDGE
   ========================================================= */
.edge { margin-top: calc(var(--edge) * -1); padding-top: var(--edge); border-radius: 50% 50% 0 0 / var(--edge) var(--edge) 0 0; z-index: 2; }

/* =========================================================
   I. FILOZÓFIA
   ========================================================= */
.philo { padding: 14vh 0 18vh; overflow: clip; }
.philo__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .5fr) minmax(0, .85fr); grid-template-rows: auto auto; gap: 0 3vw; align-items: start; }
.philo__text { grid-column: 1; grid-row: 1 / 3; padding-top: 4vh; }
.philo__text p:not(.eyebrow):not(.lead) { max-width: 34rem; color: var(--muted); }
.statement { font-size: clamp(3rem, 7vw, 6.6rem); }
.philo__img-a { grid-column: 3; grid-row: 1 / 3; aspect-ratio: 3 / 4.6; }
.philo__img-b { grid-column: 2; grid-row: 2; aspect-ratio: 3 / 4.4; margin-top: -10vh; transform: translateX(28%); z-index: 1; box-shadow: 0 40px 70px -35px rgba(59, 37, 25, .55); border: 6px solid var(--cream); }
.philo__img-a img, .philo__img-b img { transform: scale(1.12); }

.pillars { list-style: none; margin-top: 14vh; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.pillars li { position: relative; padding: 2.4rem 2rem 0; border-top: 1px solid var(--hair); display: flex; flex-direction: column; gap: .4rem; }
.pillars li + li { border-left: 1px solid var(--hair); }
.pillars__n { font: italic 300 4.4rem/1 var(--serif); color: var(--accent); }
.pillars strong { font: 400 1.7rem/1.1 var(--serif); }
.pillars span:last-child { color: var(--muted); font-size: .95rem; }

@media (max-width: 900px) {
  .philo__grid { grid-template-columns: 1fr 1fr; }
  .philo__text { grid-column: 1 / -1; grid-row: 1; padding-bottom: 3rem; }
  .philo__img-a { grid-column: 1 / 3; grid-row: 2; width: 72%; justify-self: end; }
  .philo__img-b { grid-column: 1; grid-row: 2; width: 70%; align-self: end; margin-top: 0; transform: translateY(18%); }
  .pillars { grid-template-columns: 1fr; margin-top: 12vh; }
  .pillars li + li { border-left: 0; }
  .pillars li { padding: 1.8rem 0 1.4rem; display: grid; grid-template-columns: 4rem 1fr; column-gap: 1rem; }
  .pillars__n { grid-row: 1 / 3; font-size: 3.4rem; }
}

/* =========================================================
   II. A SZAKEMBER
   ========================================================= */
.expert { padding: 16vh 0 30vh; overflow: clip; }
.expert__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: 7vw; align-items: center; }
.expert__visual { position: relative; padding: 2rem 0 4rem 3rem; }
.expert__portrait { aspect-ratio: 3 / 4.3; width: 86%; position: relative; z-index: 1; }
.expert__arc { position: absolute; z-index: 2; top: calc(2rem - 16px); left: calc(3rem - 16px); width: calc((100% - 3rem) * .86 + 32px); aspect-ratio: 3 / 4.3; height: auto; border: 1px solid var(--gold-2); border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none; }
.js .draw { clip-path: inset(100% 0 0 0); transition: clip-path 2.6s var(--ease-io) .3s; }
.js .is-in > .draw { clip-path: inset(0 0 0 0); }
.expert__inset { position: absolute; z-index: 3; right: 0; bottom: 0; width: 42%; aspect-ratio: 1; margin: 0; border-radius: 50%; overflow: hidden; border: 8px solid var(--noir); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.expert__inset img { width: 100%; height: 100%; object-fit: cover; }
.expert__lamellas { left: 0; top: -6vh; bottom: -6vh; z-index: 0; }
.expert__text h2 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); }
.expert__text h2 em { display: block; font-size: .62em; margin-top: .2em; }
.expert__text > p { color: var(--muted); max-width: 36rem; }
.quote { margin: 2.6rem 0; padding: 0 0 0 2rem; border-left: 1px solid var(--gold-2); }
.quote p { font: italic 300 clamp(1.5rem, 2.3vw, 2rem)/1.35 var(--serif); margin: 0 0 .6rem; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sig { font: 400 2.3rem/1 var(--script); color: var(--gold-2); font-style: normal; }
@media (max-width: 900px) {
  .expert__grid { grid-template-columns: 1fr; gap: 3rem; }
  .expert__visual { padding-left: 1.6rem; }
  .expert__arc { left: calc(1.6rem - 16px); width: calc((100% - 1.6rem) * .86 + 32px); }
}

/* =========================================================
   III. RITUÁLÉ – horizontal pinned journey
   ========================================================= */
.ritual { padding-bottom: 0; }
.ritual__intro { padding-top: 10vh; padding-bottom: 6vh; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 4rem; }
.ritual__intro .eyebrow { grid-column: 1 / -1; }
.ritual__intro h2 { margin: 0; }
.ritual__hint { margin: 0 0 1rem; font: italic 300 1.35rem/1.4 var(--serif); color: var(--muted); max-width: 18rem; }
.ritual__scroller { position: relative; }
.ritual__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.ritual__track { display: flex; height: 100%; width: max-content; will-change: transform; }
.rp { --lp: 0; position: relative; flex: none; width: 88vw; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: 5vw; padding: 12vh 7vw 12vh 9vw; overflow: hidden; }
.rp + .rp { border-radius: 46vh 0 0 46vh / 50% 0 0 50%; margin-left: -6vw; box-shadow: -40px 0 80px -40px rgba(14, 11, 8, .35); }
.rp:last-child { width: 106vw; padding-right: 13vw; }
.rp--cream { background: var(--cream); color: var(--walnut); --accent: var(--gold-3); --muted: #7d685a; }
.rp--rose { background: var(--rose-soft); color: var(--walnut); --accent: var(--cocoa); --muted: #6e5548; }
.rp--dark { background: var(--noir); color: var(--cream); --accent: var(--gold-2); --muted: #b3a690; }
.rp__num { position: absolute; left: 4vw; bottom: -2vh; font: 300 44vh/.8 var(--serif); color: transparent; -webkit-text-stroke: 1px var(--accent); opacity: .4; transform: translateX(calc(var(--lp) * -14vw)); pointer-events: none; letter-spacing: -.04em; }
.rp__text { position: relative; z-index: 1; max-width: 30rem; transform: translateX(calc(var(--lp) * -5vw)); }
.rp__kicker { font: 500 .66rem/1 var(--sans); letter-spacing: .4em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.4rem; }
.rp h3 { font-size: clamp(3rem, 6vw, 6rem); margin-bottom: .35em; }
.rp--dark h3 { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rp__text p:last-child { color: var(--muted); font-size: 1.05rem; }
.rp__media { position: relative; z-index: 1; height: 72vh; aspect-ratio: 3 / 4.2; max-width: 100%; justify-self: center; box-shadow: 0 50px 90px -50px rgba(14, 11, 8, .6); }
.rp__media img { position: absolute; inset: 0; transition: none; }
.rp__a { transform: scale(calc(1.12 + var(--lp) * .06)); }
/* second photo: a discrete crossfade (JS toggles .show-b) so the panel never rests on a double exposure */
.rp__media .rp__b { opacity: 0; transition: opacity .9s var(--ease); transform: scale(calc(1.12 - var(--lp) * .06)); }
.rp.show-b .rp__media .rp__b { opacity: 1; }
.ritual__progress { position: absolute; left: 9vw; right: 9vw; bottom: 5vh; height: 1px; background: rgba(167, 124, 60, .25); }
.ritual__progress i { position: absolute; inset: 0; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--rp, 0)); box-shadow: 0 0 10px rgba(255, 214, 140, .7); }

@media (prefers-reduced-motion: reduce) {
  .ritual__intro { grid-template-columns: 1fr; }
  .ritual__scroller { height: auto !important; }
  .ritual__pin { position: static; height: auto; overflow: visible; }
  .ritual__track { flex-direction: column; width: auto; transform: none !important; }
  .rp { width: auto; height: auto; grid-template-columns: 1fr; padding: 12vh var(--pad) 14vh; gap: 2.4rem; margin: 0 !important; }
  .rp + .rp { border-radius: 50% 50% 0 0 / 8vh 8vh 0 0; margin-top: -8vh !important; box-shadow: none; }
  .rp__num { font-size: 13rem; bottom: auto; top: 4vh; left: auto; right: var(--pad); transform: none; }
  .rp__text { transform: none; }
  .rp__media { height: auto; width: 100%; aspect-ratio: 3 / 3.8; }
  .rp__b { opacity: 0; transition: opacity 1.4s var(--ease); }
  .rp.is-in .rp__b { opacity: 1; }
  .rp__a, .rp__b { transform: none; }
  .ritual__progress { display: none; }
}
@media (max-width: 900px) { .ritual__intro { grid-template-columns: 1fr; } }

/* Mobile: same pinned horizontal journey as desktop, panels stacked text-over-arch */
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .ritual__intro { padding-bottom: 4vh; }
  .ritual__pin { height: 100vh; height: 100svh; }
  .rp { width: 90vw; grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); align-items: start; align-content: center; gap: 3.2svh; padding: 11svh 9vw 12svh 11vw; }
  .rp + .rp { border-radius: 22vw 0 0 22vw / 50% 0 0 50%; margin-left: -4vw; box-shadow: -24px 0 50px -24px rgba(14, 11, 8, .4); }
  .rp:last-child { width: 100vw; padding-right: 11vw; }
  .rp__num { font-size: 34svh; left: 3vw; bottom: -1svh; transform: translateX(calc(var(--lp) * -18vw)); }
  .rp__kicker { margin-bottom: .9rem; }
  .rp h3 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .rp__text p:last-child { font-size: .95rem; line-height: 1.6; }
  .rp__media { height: 100%; max-height: 48svh; width: auto; aspect-ratio: 3 / 4; justify-self: center; }
  .ritual__progress { left: 11vw; right: 11vw; bottom: 5svh; }
}

/* =========================================================
   IV. KEZELÉSEK – index
   ========================================================= */
.index { padding-bottom: 26vh; overflow: clip; }
.index__lamellas { right: 3vw; top: var(--edge); opacity: .55; }
.index__head { padding-top: 10vh; margin-bottom: 8vh; max-width: 48rem; }
.index__sub { color: var(--muted); font-size: 1.05rem; }
.index__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 6vw; align-items: start; }
.tx-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.tx { border-bottom: 1px solid var(--hair); position: relative; }
.tx::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.tx.is-active::after { transform: scaleX(1); }
.tx__btn { width: 100%; display: grid; grid-template-columns: 3.4rem 1fr auto; align-items: baseline; gap: 1rem; padding: 1.55rem 0; background: none; border: 0; text-align: left; cursor: pointer; }
.tx__n { font: 500 .7rem/1 var(--sans); letter-spacing: .2em; color: var(--muted); transition: color .4s; }
.tx__name { font: 300 clamp(1.5rem, 2.5vw, 2.3rem)/1.1 var(--serif); transition: transform .6s var(--ease), color .4s; }
.tx__dur { font: italic 300 1.05rem/1 var(--serif); color: var(--muted); }
.tx__btn:hover .tx__name, .tx.is-active .tx__name { transform: translateX(.8rem); color: var(--gold-1); }
.tx.is-active .tx__name { font-style: italic; }
.tx__btn:hover .tx__n, .tx.is-active .tx__n { color: var(--gold-2); }
.tx__detail img { display: none; }
.tx__detail dl, .preview__body dl { margin: 0; }
.tx__detail dl > div, .preview__body dl > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--hair); }
.tx__detail dt, .preview__body dt { font: 500 .6rem/1.9 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); }
.tx__detail dd, .preview__body dd { margin: 0; color: var(--fg); font-size: .98rem; }
.preview { position: sticky; top: 14vh; }
.preview__media { position: relative; height: 50vh; aspect-ratio: 3 / 3.6; max-width: 100%; margin-bottom: 1.6rem; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.preview__img { position: absolute; inset: 0; opacity: 0; transform: scale(1.12); filter: blur(10px); transition: opacity 1s var(--ease), transform 1.6s var(--ease), filter 1s var(--ease); }
.preview__img.is-on { opacity: 1; transform: scale(1); filter: none; }
.preview__body { min-height: 13rem; }
.preview__body .pv-title { font: italic 300 1.9rem/1.1 var(--serif); margin: 0 0 .8rem; color: var(--gold-1); }
.preview__body.is-swap > * { animation: fadeUp .8s var(--ease) both; }

@media (min-width: 901px) {
  .tx__detail { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 900px) {
  .index__grid { grid-template-columns: 1fr; }
  .index__lamellas { display: none; }
  .preview { display: none; }
  .tx__detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
  .tx__inner { min-height: 0; overflow: hidden; }
  .tx.is-open .tx__detail { grid-template-rows: 1fr; }
  .tx__detail img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 999px 999px 4px 4px / 60% 60% 4px 4px; margin-bottom: 1rem; }
  .tx__detail dl { padding-bottom: 1.4rem; }
  .tx__btn { grid-template-columns: 2.4rem 1fr auto; }
  .tx__btn:hover .tx__name, .tx.is-active .tx__name { transform: none; }
  .tx.is-active:not(.is-open)::after { transform: scaleX(0); }
  .tx.is-open::after { transform: scaleX(1); }
  .tx.is-active:not(.is-open) .tx__name { font-style: normal; color: inherit; }
}

/* =========================================================
   V. HIGIÉNIA – behind the glass
   ========================================================= */
.hyg { padding-bottom: 28vh; overflow: clip; }
.hyg__grid { padding-top: 10vh; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 6vw; align-items: center; }
.hyg__text > p { color: var(--muted); max-width: 32rem; }
.protocol { list-style: none; margin: 2.4rem 0 0; padding: 0; }
.protocol li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; padding: 1.15rem 0; border-top: 1px solid var(--hair); }
.protocol li > span { font: italic 400 1.3rem/1.2 var(--serif); color: var(--accent); }
.protocol strong { display: block; font: 400 1.35rem/1.2 var(--serif); margin-bottom: .25rem; }
.protocol div { color: var(--muted); font-size: .97rem; }

.cabinet { position: relative; padding: 4.6rem 2.6rem 1.4rem; border-radius: 999px 999px 8px 8px / 260px 260px 8px 8px; background: linear-gradient(180deg, #fbf6ee 0%, #efe4d3 100%); border: 1px solid rgba(167, 124, 60, .35); box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .45), inset 0 0 0 11px rgba(167, 124, 60, .22), 0 60px 100px -60px rgba(59, 37, 25, .55); overflow: hidden; isolation: isolate; }
.cabinet::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(120deg, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .18) 100%); }
.cabinet__led { position: absolute; top: 2.2rem; left: 22%; right: 22%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, #fff3d6, transparent); box-shadow: 0 0 18px 6px rgba(255, 220, 150, .55), 0 30px 80px 30px rgba(255, 226, 170, .25); }
.shelf { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; align-items: end; padding: 0 .4rem 3.4rem; }
.shelf + .shelf { margin-top: .6rem; }
.shelf::after { content: ""; position: absolute; left: -2.6rem; right: -2.6rem; bottom: 1.5rem; height: 9px; background: linear-gradient(180deg, rgba(255, 255, 255, .95) 0%, rgba(206, 226, 220, .55) 40%, rgba(180, 205, 198, .35) 100%); border-top: 1px solid #fff; box-shadow: 0 18px 22px -12px rgba(59, 37, 25, .35); }
.item { position: relative; margin: 0; transition: transform .8s var(--ease); -webkit-box-reflect: below 3px linear-gradient(transparent 82%, rgba(255, 255, 255, .32)); }
.item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 6px 6px; box-shadow: 0 20px 30px -18px rgba(59, 37, 25, .5); }
.item--b img { aspect-ratio: 4 / 4.4; }
.item figcaption { position: absolute; left: 50%; bottom: .9rem; transform: translateX(-50%); white-space: nowrap; padding: .45rem .9rem; background: rgba(251, 246, 238, .88); backdrop-filter: blur(6px); font: 500 .56rem/1 var(--sans); letter-spacing: .25em; text-transform: uppercase; color: var(--walnut); border-radius: 99px; }
.item:hover { transform: translateY(-8px); }
.cabinet__sheen { position: absolute; z-index: 4; inset: -10% -40%; pointer-events: none; background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .7) 50%, transparent 58%); transform: translateX(-80%); }
.cabinet.is-in .cabinet__sheen { animation: glassSheen 2.6s var(--ease-io) .5s both; }
.cabinet:hover .cabinet__sheen { animation: glassSheen 1.8s var(--ease-io) both; }
@keyframes glassSheen { from { transform: translateX(-80%); } to { transform: translateX(80%); } }
@media (max-width: 900px) {
  .hyg__grid { grid-template-columns: 1fr; gap: 4rem; }
  .cabinet { padding: 3.6rem 1.4rem 1rem; border-radius: 999px 999px 8px 8px / 160px 160px 8px 8px; }
  .shelf { gap: 1rem; }
  .shelf::after { left: -1.4rem; right: -1.4rem; }
  .item figcaption { font-size: .5rem; letter-spacing: .15em; padding: .4rem .6rem; }
}

/* =========================================================
   VI. GALÉRIA + VÉLEMÉNYEK
   ========================================================= */
.gal { padding-bottom: 20vh; overflow: clip; }
.gal__head { padding-top: 10vh; margin-bottom: 8vh; }
.gal__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: start; max-width: 1120px; margin: 0 auto; }
.gal__col { display: flex; flex-direction: column; gap: 1.6rem; will-change: transform; }
.gal__col--mid { margin-top: 16vh; }
.gal__item { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; position: relative; }
.gal__item:not(.arch) { border-radius: 4px; }
.gal__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.6s var(--ease), filter 1s; filter: brightness(.86) saturate(.95); }
.gal__item.arch img { aspect-ratio: 3 / 4.2; }
.gal__item:hover img { transform: scale(1.06); filter: none; }
.gal__item::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(233, 205, 142, 0); transition: border-color .6s, inset .6s var(--ease); pointer-events: none; border-radius: inherit; }
.gal__item:hover::after { border-color: rgba(233, 205, 142, .7); inset: 16px; }

.reviews { margin-top: 26vh; text-align: center; }
.reviews .eyebrow { justify-content: center; }
.reviews .eyebrow::before { display: none; }
.reviews__stage { display: grid; max-width: 64rem; margin: 0 auto; }
.review { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(20px); filter: blur(8px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease); pointer-events: none; }
.review.is-on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.review blockquote { margin: 0 0 1.8rem; font: italic 300 clamp(1.8rem, 3.6vw, 3.3rem)/1.25 var(--serif); }
.review blockquote::before { content: ""; display: block; width: 1px; height: 64px; margin: 0 auto 2rem; background: linear-gradient(transparent, var(--gold-1), transparent); box-shadow: 0 0 12px rgba(255, 214, 140, .7); }
.review figcaption { font: 500 .66rem/1 var(--sans); letter-spacing: .35em; text-transform: uppercase; color: var(--gold-2); }
.reviews__nav { display: flex; justify-content: center; gap: .8rem; margin-top: 2.6rem; }
.reviews__dot { width: 34px; height: 24px; border: 0; background: none; cursor: pointer; position: relative; }
.reviews__dot::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(214, 176, 106, .35); }
.reviews__dot::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--gold-1); transform: scaleX(0); transform-origin: left; }
.reviews__dot.is-on::after { animation: dotFill 7s linear forwards; }
@keyframes dotFill { to { transform: scaleX(1); } }
@media (max-width: 900px) {
  .gal__grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .gal__col { gap: 1rem; }
  .gal__col:nth-child(3) { grid-column: 1 / -1; flex-direction: row; }
  .gal__col:nth-child(3) .gal__item { flex: 1; }
  .gal__col--mid { margin-top: 8vh; }
}

/* =========================================================
   VII. GYIK
   ========================================================= */
.faq { padding-bottom: 14vh; }
.faq__grid { padding-top: 10vh; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 6vw; align-items: start; }
.faq__grid > div:first-child { position: sticky; top: 16vh; }
.faq__grid > div:first-child p:not(.eyebrow) { color: var(--muted); max-width: 26rem; }
.faq__list { border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.6rem 0; font: 400 clamp(1.3rem, 2vw, 1.7rem)/1.25 var(--serif); transition: color .4s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border: 1px solid var(--hair); border-radius: 999px 999px 4px 4px; background: linear-gradient(var(--accent), var(--accent)) center / 11px 1px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 1px 11px no-repeat; transition: transform .6s var(--ease), background-size .4s; }
.faq details[open] summary::after { transform: rotate(180deg); background-size: 11px 1px, 1px 0; }
.faq summary:hover { color: var(--accent); }
.faq details p { color: var(--muted); padding: 0 3.6rem 1.6rem 0; margin: 0; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .6s var(--ease), content-visibility .6s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@media (max-width: 900px) {
  .faq__grid { grid-template-columns: 1fr; gap: 2rem; }
  .faq__grid > div:first-child { position: static; }
  .faq details p { padding-right: 0; }
}

/* =========================================================
   VIII. FOGLALÁS
   ========================================================= */
.book { padding: 18vh 0 16vh; overflow: clip; }
.book__lamellas { left: 4vw; opacity: .7; }
.book__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 6vw; align-items: center; position: relative; z-index: 1; }
.book__text h2 { font-size: clamp(2.8rem, 6vw, 5.8rem); }
.book__text > p { color: var(--muted); max-width: 34rem; }
.book__phone { display: inline-block; margin: 1.6rem 0 3rem; font: 300 clamp(2.4rem, 5.4vw, 5rem)/1 var(--serif); text-decoration: none; background: var(--gold); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 6s ease-in-out infinite; }
.book__phone .ph { border-bottom-color: rgba(214, 176, 106, .5); }
.book__info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 0; border-top: 1px solid var(--hair); padding-top: 1.8rem; }
.book__info dt { font: 500 .62rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); margin-bottom: .8rem; }
.book__info dd { margin: 0; font-size: .95rem; color: var(--muted); }
.book__img { aspect-ratio: 3 / 4.3; }
@media (max-width: 900px) {
  .book__grid { grid-template-columns: 1fr; }
  .book__info { grid-template-columns: 1fr; gap: 1.4rem; }
  .book__img { width: 80%; justify-self: center; }
  .book__lamellas { display: none; }
}

/* --- Footer --------------------------------------------------- */
.foot { background: var(--noir); color: #b3a690; text-align: center; padding: 6rem var(--pad) 7rem; border-top: 1px solid rgba(214, 176, 106, .15); }
.brand--foot { margin-bottom: 1.4rem; }
.brand--foot img { width: clamp(150px, 18vw, 210px); height: auto; margin-inline: auto; }
.foot p { margin: .3rem 0; }
.foot__small { font-size: .8rem; opacity: .7; }

/* --- Floating call button (mobile) --------------------------- */
.fab { position: fixed; z-index: 110; right: 1rem; bottom: 1rem; display: none; align-items: center; gap: .6rem; padding: .95rem 1.3rem; border-radius: 99px; background: var(--gold); color: var(--noir); text-decoration: none; font: 500 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); transform: translateY(160%); transition: transform .7s var(--ease); }
.fab svg { width: 16px; height: 16px; fill: currentColor; }
.fab.is-show { transform: none; }
@media (max-width: 900px) { .fab { display: inline-flex; } }

/* --- Lightbox -------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 350; display: grid; place-items: center; padding: 4vh 4vw; background: rgba(10, 8, 6, .94); opacity: 0; transition: opacity .5s; }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; width: auto; max-width: 100%; object-fit: contain; clip-path: inset(0 0 100% 0 round 999px 999px 0 0); transition: clip-path 1s var(--ease-io); }
.lightbox.is-open img { clip-path: inset(0 0 0 0 round 0); }
.lightbox__close { position: absolute; top: 1.2rem; right: 1.4rem; width: 48px; height: 48px; border: 1px solid rgba(214, 176, 106, .5); border-radius: 50%; background: none; color: var(--gold-1); font-size: 1.6rem; cursor: pointer; }

/* =========================================================
   REVEALS
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(34px); filter: blur(10px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease); transition-delay: var(--rd, 0s); }
  .js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
  .js figure.arch[data-reveal] { opacity: 1; filter: none; transform: none; transition: none; }
  .js figure.arch[data-reveal] img { clip-path: inset(100% 0 0 0); transition: clip-path 1.7s var(--ease-io), transform 2.2s var(--ease); }
  .js figure.arch[data-reveal].is-in img { clip-path: inset(0 0 0 0); }
  .js .w { display: inline-block; opacity: 0; filter: blur(14px); transform: translateY(.45em) rotate(1.5deg); transition: opacity 1.1s var(--ease), filter 1.3s var(--ease), transform 1.3s var(--ease); transition-delay: calc(var(--i) * 70ms); }
  .js .is-in .w { opacity: 1; filter: none; transform: none; }
  .js .cabinet[data-reveal] { transform: perspective(1200px) rotateX(6deg) translateY(40px); }
  .js .cabinet[data-reveal].is-in { transform: none; }
}
.w { white-space: nowrap; }

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .grain, .cursor { display: none !important; }
  .hero { height: auto; }
  .hero__stage { --p: 0 !important; position: relative; }
  .wipe { display: none; }
  .edge { margin-top: 0; }
  /* .rp__b crossfade stays active on mobile; reduced-motion handled below */
  .js .draw { clip-path: none; }
  .js .hero__aside { opacity: 1 !important; transform: none !important; }
  .hero__scroll { display: none; }
  .book__phone, .btn--gold { animation: none; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 901px) {
  .rp { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); padding: 12vh 8vw; }
  .rp__media { width: auto; height: 70vh; aspect-ratio: 3 / 4.2; }
}
@media (prefers-reduced-motion: reduce) { .rp__b { opacity: 0 !important; } }
@media (prefers-reduced-motion: reduce) { .intro { display: none !important; } }
