/* Layout: one cinematic scroll. Deep navy and crisp white chapters, gold used as a thin line only, drawings from the brand film (arched door, key). Single look, colours from the logo. */
:root {
  --navy: #0E1A33;
  --navy-2: #172649;
  --ink: #080E1D;
  --ivory: #FFFFFF;
  --paper: #F2F4F8;
  --blue-pale: #E6ECF6;
  --gold: #C9A96E;
  --gold-text: #8A6B38;
  --gold-soft: #E6D3A8;
  --text: #0E1A33;
  --muted: #5B6478;
  --muted-on-navy: #B9C2D3;
  --line: #E2E6EE;
  --line-navy: #2A3A5C;
  --f-display: 'Cormorant Garamond', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --f-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --f-label: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--ivory); color: var(--text);
  font-family: var(--f-body); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
.label { font-family: var(--f-label); font-weight: 600; font-size: 11.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-text); }
.navy .label { color: var(--gold); }
.gold { color: var(--gold-text); }
.navy .gold { color: var(--gold); }
.navy { background: var(--navy); color: var(--ivory); }
.h2 { font-size: clamp(40px, 5vw, 72px); line-height: 1.02; letter-spacing: -0.01em; }
.muted { color: var(--muted); font-weight: 300; }
.navy .muted { color: var(--muted-on-navy); }
.rule { width: 48px; height: 1px; background: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; left: 0; right: 0; top: 0; z-index: 40; padding-top: env(safe-area-inset-top, 0px);
  color: var(--ivory); border-bottom: 1px solid transparent;
  transition: background-color 400ms ease, border-color 400ms ease, color 400ms ease;
}
.site-header.solid { background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); color: var(--navy); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 13px; flex: 0 1 auto; min-width: 0; color: inherit; text-decoration: none; }
.brand-mark { width: 46px; height: 46px; flex: 0 0 auto; display: block; }
.brand-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.brand-name { font-family: var(--f-label); font-weight: 600; font-size: 13px; line-height: 1.25; letter-spacing: 0.24em; text-transform: uppercase; white-space: nowrap; }
.brand-tag { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 15px; line-height: 1.2; letter-spacing: 0.01em; color: var(--gold); white-space: nowrap; transition: color 400ms ease; }
.solid .brand-tag { color: var(--gold-text); }
.brand-lg { flex-direction: column; gap: 16px; text-align: center; }
.brand-lg .brand-mark { width: 72px; height: 72px; }
.brand-lg .brand-txt { align-items: center; gap: 6px; }
.brand-lg .brand-name { font-size: 15px; }
.brand-lg .brand-tag { font-size: 18px; }
.nav { display: flex; align-items: center; gap: 30px; font-family: var(--f-label); font-weight: 500; font-size: 11.5px; letter-spacing: 0.2em; }
.nav a { text-decoration: none; padding-block: 6px; }
.langs { display: flex; gap: 10px; }
.langs button { background: none; border: 0; padding: 6px 0; cursor: pointer; font: inherit; letter-spacing: inherit; color: inherit; opacity: 0.55; }
.langs button[aria-pressed="true"] { opacity: 1; border-bottom: 1px solid var(--gold); }
@media (max-width: 860px) { .nav .hide-sm { display: none; } }
@media (max-width: 520px) { .nav { gap: 16px; } }

/* ---------- Links & buttons ---------- */
.ul { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .ul:hover { background-size: 100% 1px; transition-duration: 300ms; } }
.btn {
  position: relative; z-index: 0; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px;
  font-family: var(--f-label); font-weight: 600; font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none;
  padding: 18px 32px; cursor: pointer; border: 1px solid var(--navy); background: var(--navy); color: var(--ivory);
  transition: color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { color: var(--ink); border-color: var(--gold); transition-duration: 300ms, 300ms, 160ms; }
  .btn:hover::before { transform: scaleX(1); transition-duration: 350ms; }
}
.btn.gold-fill { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn.gold-fill::before { background: var(--ivory); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.small { padding: 12px 20px; min-height: 44px; font-size: 11px; }
.btn.quiet { background: transparent; border-color: transparent; color: var(--muted); padding-inline: 0; }
.btn.quiet::before { display: none; }
@media (hover: hover) and (pointer: fine) { .btn.quiet:hover { color: var(--navy); border-color: transparent; } }
.btn[disabled] { opacity: 0.4; pointer-events: none; }

/* ---------- Chapter I: the door (draws on load, opens and lets you walk through on scroll) ---------- */
.doors-scene { position: relative; height: 230vh; background: var(--navy); }
.doors-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; color: var(--ivory);
  background: radial-gradient(ellipse 70% 60% at 50% 62%, #1A2C55 0%, #0E1A33 55%, #080E1D 100%);
}
.door-frame {
  position: relative; width: min(44vh, 34vw); aspect-ratio: 1 / 1.62; max-width: 100%;
  transform: translate3d(22vw, 4vh, 0); transform-origin: 50% 60%; will-change: transform, opacity;
  animation: doorIn 1100ms var(--ease) 0ms both;
}
@keyframes doorIn { 0% { opacity: 0; translate: 0 28px; } 55% { opacity: 1; translate: 0 -5px; } 78% { translate: 0 2px; } 100% { opacity: 1; translate: 0 0; } }
.light { position: absolute; inset: 2px; border-radius: 999px 999px 0 0; overflow: hidden; background: radial-gradient(90% 70% at 50% 62%, #FFFFFF 0%, #F4F6FA 55%, #DCE3EE 100%); opacity: 0; }
.seam { position: absolute; left: 50%; top: 4%; bottom: 0; width: 2px; margin-left: -1px; background: linear-gradient(#FFFFFF00, #FFFFFF, #FFFFFF00); opacity: 0.85; clip-path: inset(50% 0 50% 0); z-index: 2; animation: seamIn 800ms var(--ease) 1250ms forwards; }
@keyframes seamIn { to { clip-path: inset(0 0 0 0); } }
.leaves { position: absolute; inset: 0; border-radius: 999px 999px 0 0; overflow: hidden; perspective: 900px; perspective-origin: 50% 55%; }
.leaves-in { position: absolute; inset: 0; opacity: 0; animation: leavesIn 600ms ease 650ms forwards; }
@keyframes leavesIn { to { opacity: 1; } }
.leaf {
  position: absolute; top: 0; bottom: 0; width: 50%; background: linear-gradient(180deg, #13234A, #0E1A33); border: 1px solid rgba(201, 169, 110, 0.35); backface-visibility: hidden;
  display: flex; flex-direction: column; gap: 5%; padding: 34% 13% 12%; will-change: transform;
}
.leaf i { display: block; flex: 1; border: 1px solid rgba(201, 169, 110, 0.45); }
.leaf i:first-child { flex: 1.4; }
.leaf.l { left: 0; transform-origin: 0 50%; }
.leaf.r { right: 0; transform-origin: 100% 50%; }
.leaf::after { content: ""; position: absolute; inset: 0; background: #050A16; opacity: var(--shade, 0); pointer-events: none; }
.keyhole { position: absolute; left: 10%; top: 72.5%; width: 9px; height: 15px; transform: translate(-50%, -50%); }
.keyhole::before { content: ""; position: absolute; left: 50%; top: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); transform: translateX(-50%); }
.keyhole::after { content: ""; position: absolute; left: 50%; top: 5px; width: 4px; height: 9px; background: var(--gold); transform: translateX(-50%); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }
.arch-line { position: absolute; left: -7%; right: -7%; top: -4.5%; bottom: 0; width: 114%; height: 104.5%; overflow: visible; }
.arch-line path { fill: none; stroke: var(--gold); stroke-width: 0.5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawLine 1300ms cubic-bezier(0.65, 0, 0.35, 1) 100ms forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.ground { position: absolute; left: 50%; bottom: 0; width: 170%; height: 1px; transform: translateX(-50%) scaleX(0); background: linear-gradient(90deg, transparent, var(--gold), transparent); animation: groundIn 1000ms var(--ease) 250ms forwards; }
@keyframes groundIn { to { transform: translateX(-50%) scaleX(1); } }
.ground-wrap { position: absolute; inset: 0; pointer-events: none; }
.key-wrap { position: absolute; left: 25.5%; top: 72.5%; width: 30%; transform: translate(-40%, -50%); transform-origin: 100% 50%; opacity: 0; will-change: transform, opacity; z-index: 3; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35)); }
.door-edge { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.door-edge svg { display: block; width: 100%; height: 100%; overflow: visible; }
.door-edge path { fill: none; stroke: rgba(201, 169, 110, 0.75); stroke-width: 1; }
.key { display: block; width: 100%; height: auto; }
/* Light that spreads from the open door to fill the screen (scaled, never re-painted) */
.glow { position: absolute; left: 0; top: 0; width: 100px; height: 162px; border-radius: 999px 999px 0 0; pointer-events: none; transform-origin: 50% 60%;
  background: radial-gradient(90% 70% at 50% 62%, #FFFFFF 0%, #F7F9FC 60%, #EEF2F8 100%); opacity: 0; will-change: transform, opacity; }

.hero-text { position: absolute; inset: 0; pointer-events: none; }
.hero-text > * { pointer-events: auto; }
.hero-copy {
  position: absolute; left: max(clamp(16px, 4vw, 40px), calc((100vw - 1240px) / 2 + 40px)); top: 50%; width: min(46vw, 620px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 26px;
  transform: translate(var(--txt-x, 0px), -50%);
}
.hero-label { display: flex; align-items: center; gap: 16px; }
.hero-label::before { content: ""; width: 40px; height: 1px; background: var(--gold); transform-origin: left; animation: ruleIn 700ms var(--ease) 0ms both; }
.hero-label { animation: fadeIn 650ms var(--ease-out) 40ms both; }
@keyframes ruleIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-title { font-size: clamp(44px, min(5.6vw, 9vh), 92px); line-height: 1.02; letter-spacing: -0.02em; font-weight: 500; }
.hl { display: block; }
.wd { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.1em 0 0.14em; margin: -0.1em 0 -0.14em; }
.wd > span { display: inline-block; transform: translateY(112%); opacity: 0; animation: wordUp 900ms var(--d, 0ms) both; }
@keyframes wordUp {
  0% { transform: translateY(112%); opacity: 0; animation-timing-function: cubic-bezier(0.2, 0.7, 0.3, 1); }
  55% { transform: translateY(-8%); opacity: 1; animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1); }
  78% { transform: translateY(2.5%); animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1); }
  100% { transform: none; opacity: 1; }
}
.hero-cta { animation: popIn 750ms var(--cta-d, 750ms) both; }
@keyframes popIn {
  0% { opacity: 0; transform: translateY(16px) scale(0.96); animation-timing-function: cubic-bezier(0.2, 0.7, 0.3, 1); }
  60% { opacity: 1; transform: translateY(-3px) scale(1.015); animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1); }
  100% { opacity: 1; transform: none; }
}
.scroll-cue > * { animation: fadeIn 700ms var(--ease-out) 1300ms both; }
.scroll-cue { position: absolute; left: max(clamp(16px, 4vw, 40px), calc((100vw - 1240px) / 2 + 40px)); bottom: 32px; transform: none; align-items: flex-start; }
@media (max-width: 860px) { .scroll-cue { display: none !important; } }
@media (max-width: 860px) {
  .hero-copy { left: 16px; right: 16px; top: clamp(92px, 13vh, 130px); width: auto; align-items: center; text-align: center; transform: translate(0, var(--txt-y, 0px)); }
  .hero-label::before { display: none; }
  .hero-title { font-size: clamp(36px, 10vw, 56px); }
  .hero-cta { display: none; }
}
.scroll-cue { display: flex; flex-direction: column; gap: 12px; font-family: var(--f-label); font-size: 10.5px; letter-spacing: 0.32em; color: var(--muted-on-navy); }
.scroll-cue span { width: 1px; height: 46px; background: rgba(201, 169, 110, 0.3); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--gold); animation: cue 2.4s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }
.welcome { position: absolute; left: 50%; top: 50%; transform: translate(-50%, calc(-50% + var(--wel-y, 0px))); text-align: center; color: var(--navy); opacity: 0; pointer-events: none; will-change: transform, opacity; display: flex; flex-direction: column; align-items: center; gap: 14px; width: min(90vw, 820px); }
.welcome h2 { font-size: clamp(40px, 5.4vw, 76px); line-height: 1.02; font-weight: 500; letter-spacing: -0.01em; }
.welcome p { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); font-weight: 300; }

.line-up { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.line-up > span { display: block; animation: lineUp 1300ms var(--ease) 500ms both; }
.line-up + .line-up > span { animation-delay: 680ms; }
@keyframes lineUp { from { transform: translateY(108%); } to { transform: none; } }
.fade-in { animation: fadeIn 1000ms var(--ease-out) 300ms both; }
.fade-in.late { animation-delay: 2600ms; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Shared section head ---------- */
.sec-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; margin-bottom: clamp(48px, 7vh, 80px); }
.sec-head .muted { max-width: 44ch; }

/* ---------- Chapter II: what we take care of (editorial list, nothing clickable) ---------- */
.care { padding-block: 16vh 14vh; }
.care-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.care-head { position: sticky; top: 22vh; display: flex; flex-direction: column; gap: 22px; }
.care-road { position: relative; --rail: 112px; }
.care-list { list-style: none; margin: 0; padding: 0; position: relative; }
.care-list li { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); gap: 22px; align-items: center; padding-block: 30px; cursor: default; }
.care-path { position: absolute; left: 0; top: 0; width: var(--rail); height: 100%; overflow: visible; pointer-events: none; }
.care-path path { fill: none; stroke-linecap: round; }
.care-path .track { stroke: rgba(201, 169, 110, 0.28); stroke-width: 1; stroke-dasharray: 1.5 7; }
.care-path .ink { stroke: var(--gold); stroke-width: 1.5; }
.care-path .tip { fill: var(--gold-soft); filter: drop-shadow(0 0 6px rgba(230, 211, 168, 0.9)); transition: opacity 300ms ease; }
.stop { position: relative; z-index: 1; justify-self: center; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); border: 1px solid rgba(201, 169, 110, 0.3); transition: border-color 400ms ease, background-color 400ms ease, box-shadow 700ms ease; }
.care-list .num { font-family: var(--f-label); font-weight: 600; font-size: 11px; letter-spacing: 0.24em; color: var(--gold); }
.ico { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.ico path { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1000ms cubic-bezier(0.65, 0, 0.35, 1) 120ms; }
.care-txt { display: flex; flex-direction: column; gap: 6px; transition: opacity 500ms ease, transform 800ms cubic-bezier(0.34, 1.45, 0.64, 1); }
.care-txt h3 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.1; color: var(--ivory); }
.care-txt p { color: var(--muted-on-navy); font-weight: 300; }
html.js .road-on li:not(.on) .ico path { stroke-dashoffset: 1; }
html.js .road-on li:not(.on) .care-txt { opacity: 0.35; transform: translateX(18px); }
.care-list li.on .stop { border-color: var(--gold); background-color: #15264A; box-shadow: 0 0 0 6px rgba(201, 169, 110, 0.07), 0 0 30px rgba(201, 169, 110, 0.22); animation: stopPop 700ms both; }
@keyframes stopPop {
  0% { transform: scale(0.72); animation-timing-function: cubic-bezier(0.2, 0.7, 0.3, 1); }
  55% { transform: scale(1.12); animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1); }
  78% { transform: scale(0.97); animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1); }
  100% { transform: scale(1); }
}
@media (max-width: 1100px) and (min-width: 521px) { .brand-tag { display: none; } }
@media (max-width: 900px) { .care-grid { grid-template-columns: 1fr; } .care-head { position: static; } }
@media (max-width: 520px) { .care-road { --rail: 64px; } .care-list li { gap: 14px; padding-block: 24px; } .stop { width: 50px; height: 50px; } .ico { width: 24px; height: 24px; } }

/* ---------- Interlude: one sentence per line ---------- */
.interlude { padding-block: 16vh; text-align: center; background: var(--ivory); }
.inter-lines { margin: 0 auto; display: flex; flex-direction: column; gap: 0.15em; font-family: var(--f-display); font-size: clamp(34px, 4.6vw, 64px); line-height: 1.15; color: var(--navy); }
.inter-lines .il { display: block; opacity: 0.14; transform: translateY(10px); transition: opacity 700ms ease, transform 900ms var(--ease); }
.inter-lines .il.on { opacity: 1; transform: none; }
.inter-lines .il.gold { color: var(--gold-text); font-style: italic; }

/* ---------- Chapter III: formulas (stacking cards) ---------- */
.formulas { padding-block: 14vh 12vh; background: var(--blue-pale); }
.formulas.wrap { max-width: none; }
.formulas > * { max-width: 1160px; margin-inline: auto; }
.stack-cards { position: relative; }
.f-card {
  position: sticky; top: calc(100px + var(--i) * 22px); margin-bottom: 7vh;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center;
  padding: clamp(32px, 4.5vw, 64px); border: 1px solid var(--line); background: var(--ivory);
  transform: scale(var(--s, 1)); transform-origin: 50% 0; box-shadow: 0 30px 60px -40px rgba(21, 33, 60, 0.35);
}
.f-card:last-child { margin-bottom: 0; }
.f-card.mid { background: var(--navy-2); color: var(--ivory); border-color: var(--navy-2); }
.f-card.mid .f-ico { stroke: var(--gold); } .f-card.mid .label { color: var(--gold); } .f-card.mid li { border-top-color: var(--line-navy); color: var(--muted-on-navy); } .f-card.mid .meter span { background: var(--line-navy); } .f-card.mid .meter span.on { background: var(--gold); } .f-card.mid .meter small { color: var(--muted-on-navy); }
.f-card.dark { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.f-card::after { content: ""; position: absolute; inset: 0; background: var(--ink); opacity: var(--dim, 0); pointer-events: none; }
.f-main { display: flex; flex-direction: column; gap: 14px; }
.f-ico { width: 46px; height: 46px; fill: none; stroke: var(--gold-text); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.f-card.dark .f-ico { stroke: var(--gold); }
.f-card.dark .label { color: var(--gold); }
.f-card h3 { font-size: clamp(40px, 4.4vw, 64px); line-height: 1; }
.meter { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.meter span { width: 42px; height: 4px; background: var(--line); }
.meter span.on { background: var(--gold); }
.f-card.dark .meter span { background: var(--line-navy); }
.f-card.dark .meter span.on { background: var(--gold); }
.meter small { margin-left: 12px; font-family: var(--f-label); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.f-card.dark .meter small { color: var(--muted-on-navy); }
.f-card ul { list-style: none; margin: 0; padding: 0; }
.f-card li { padding-block: 14px; border-top: 1px solid var(--line); font-size: 17px; display: flex; gap: 14px; align-items: baseline; }
.f-card.dark li { border-top-color: var(--line-navy); color: var(--muted-on-navy); }
.f-card li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg) translateY(-2px); }
@media (max-width: 860px) { .f-card { grid-template-columns: 1fr; top: calc(80px + var(--i) * 12px); } }

/* ---------- Chapter IV: how it works (four steps across) ---------- */
.how { padding-block: 14vh; }
.steps-row { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps-row .track { position: absolute; left: 32px; right: 12%; top: 32px; height: 1px; background: var(--line-navy); }
.steps-row .track span { position: absolute; inset: 0; background: var(--gold); transform: scaleX(var(--p, 0)); transform-origin: left; }
.st { position: relative; display: flex; flex-direction: column; gap: 10px; opacity: 0.35; transform: translateY(14px); transition: opacity 700ms ease, transform 900ms var(--ease); }
.st.on { opacity: 1; transform: none; }
.st-ico { width: 64px; height: 64px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; background: var(--navy); margin-bottom: 14px; transition: background-color 500ms ease; }
.st.on .st-ico { background: var(--navy-2); }
.st-ico svg { width: 28px; height: 28px; fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.st .when { font-family: var(--f-label); font-weight: 600; font-size: 10.5px; letter-spacing: 0.26em; color: var(--gold); text-transform: uppercase; }
.st h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; }
.st p { color: var(--muted-on-navy); font-weight: 300; font-size: 16px; }
@media (max-width: 900px) {
  .steps-row { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps-row .track { display: none; }
}
@media (max-width: 520px) { .steps-row { grid-template-columns: 1fr; } }
.space { margin-top: clamp(56px, 9vh, 96px); padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line-navy); border-top-color: var(--gold); display: flex; flex-direction: column; gap: 28px; background: linear-gradient(180deg, rgba(201, 169, 110, 0.05), rgba(201, 169, 110, 0)); }
.space-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); }
.space-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; align-items: start; }
.space-ico { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; }
.space-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.space h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; color: var(--ivory); margin-bottom: 6px; }
.space p { color: var(--muted-on-navy); font-weight: 300; }
@media (max-width: 760px) { .space-grid { grid-template-columns: 1fr; } }

/* ---------- Chapter V: regions (map draws on scroll) ---------- */
.regions { padding-block: 13vh 12vh; }
.regions-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.regions-copy { display: flex; flex-direction: column; gap: 22px; }
.zone { padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.zone .cities { font-family: var(--f-display); font-size: 21px; line-height: 1.5; color: var(--muted); }
.zone .note { font-size: 14px; color: #5F6779; font-weight: 400; }
.map-box { width: 100%; max-width: 640px; margin-inline: auto; }
.map-box svg { width: 100%; height: auto; display: block; overflow: visible; }
.fr-shape { fill: rgba(14, 26, 51, 0.035); stroke: var(--gold-text); stroke-width: 1.1; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: var(--draw, 0); }
.city { opacity: var(--c-o, 1); transition: opacity 500ms ease; }
.city .dot { fill: var(--navy); }
.city .ring { fill: none; stroke: var(--gold-text); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
.city:not(.hidden) .ring { animation: pulse 2.2s var(--ease-out) 2; animation-delay: calc(var(--i) * 90ms); }
.city text { font-family: var(--f-label); font-weight: 500; font-size: 12.5px; letter-spacing: 0.06em; fill: var(--navy); paint-order: stroke; stroke: var(--ivory); stroke-width: 5px; }
.city.minor .dot { fill: #7D8496; }
.city.minor text { font-family: var(--f-body); font-style: normal; font-size: 12px; fill: #5F6779; }
@keyframes pulse { 0% { opacity: 0.8; transform: scale(1); } 60%, 100% { opacity: 0; transform: scale(4); } }
.city.hidden { opacity: 0; }
@media (max-width: 860px) { .regions-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .city text { font-size: 18px; } .city.minor text { font-size: 15px; } }

/* ---------- Chapter VI: contact (vertical, one question at a time) ---------- */
.contact { padding-block: 13vh; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact-head { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 24vh; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-head { position: static; } }

.wizard { max-width: 560px; }
.progress { display: flex; align-items: center; gap: 16px; margin-bottom: 40px; font-family: var(--f-label); font-size: 11px; letter-spacing: 0.24em; color: var(--muted-on-navy); }
.progress .bar { flex: 1; height: 1px; background: var(--line-navy); position: relative; overflow: hidden; }
.progress .bar span { position: absolute; inset: 0; background: var(--gold); transform: scaleX(var(--p, 0.2)); transform-origin: left; transition: transform 500ms var(--ease); }
.step { display: none; flex-direction: column; gap: 26px; }
.step.on { display: flex; animation: stepIn 500ms var(--ease) both; }
.step.back.on { animation-name: stepInBack; }
@keyframes stepIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes stepInBack { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
.step h3 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.05; }
.q { display: flex; flex-direction: column; gap: 8px; position: relative; }
.q label, .q .lbl { font-family: var(--f-label); font-weight: 600; font-size: 11px; letter-spacing: 0.22em; color: var(--muted-on-navy); text-transform: uppercase; }
.q input, .q textarea, .q select {
  font: inherit; font-size: 20px; color: var(--ivory); background: transparent; border: 0; border-bottom: 1px solid var(--line-navy); border-radius: 0;
  padding: 12px 0; width: 100%; resize: vertical; transition: border-color 300ms ease;
}
.q select { font-size: 18px; }
.q select option { color: var(--ink); }
.q input:focus, .q textarea:focus, .q select:focus { outline: none; border-bottom-color: var(--gold); }
.q.invalid input, .q.invalid textarea { border-bottom-color: #E0A07A; }
.count { align-self: flex-end; font-family: var(--f-label); font-size: 11px; color: var(--muted-on-navy); }
.choices { display: flex; flex-direction: column; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 16px 22px; cursor: pointer;
  border: 1px solid var(--line-navy); transition: border-color 250ms ease, background-color 250ms ease, transform 160ms var(--ease-out);
}
.choice label strong { font-family: var(--f-display); font-weight: 400; font-size: 25px; }
.choice label small { font-size: 14px; color: var(--muted-on-navy); font-weight: 300; text-align: right; }
@media (hover: hover) and (pointer: fine) { .choice label:hover { border-color: var(--gold); } }
.choice label:active { transform: scale(0.99); }
.choice input:checked + label { border-color: var(--gold); background: rgba(201, 169, 110, 0.12); }
.choice input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 3px; }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; font-weight: 300; color: var(--muted-on-navy); }
.consent input { width: 18px; height: 18px; margin: 3px 0 0; flex: 0 0 auto; accent-color: var(--gold); }
.wizard-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; }
.wizard-msg { min-height: 1.6em; font-family: var(--f-body); font-size: 15px; color: var(--gold-soft); }
.thanks { display: none; flex-direction: column; gap: 18px; }
.thanks.on { display: flex; animation: stepIn 600ms var(--ease) both; }
.thanks h3 { font-size: clamp(36px, 4vw, 54px); line-height: 1.05; }
.navy .btn { border-color: var(--gold); }
.navy .btn:not(.gold-fill):not(.quiet) { background: transparent; color: var(--ivory); }
.navy .btn.quiet { color: var(--muted-on-navy); border-color: transparent; }
@media (hover: hover) and (pointer: fine) { .navy .btn.quiet:hover { color: var(--ivory); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-on-navy); }
.footer-inner { padding-block: 72px 36px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.footer-inner img { width: 230px; height: auto; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; font-family: var(--f-label); font-weight: 500; font-size: 11px; letter-spacing: 0.2em; }
.footer-links a { padding-block: 6px; }
.copyright { width: 100%; border-top: 1px solid #222E48; padding-top: 24px; margin-top: 12px; font-size: 13px; font-weight: 300; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 50; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--navy); color: var(--ivory); padding: 14px 24px; font-family: var(--f-body); font-size: 15px; transition: opacity 250ms ease, transform 300ms var(--ease-out); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { transition: opacity 700ms var(--ease-out), transform 900ms cubic-bezier(0.34, 1.32, 0.64, 1); }
[data-reveal].pre { opacity: 0; transform: translateY(26px); }
.paused, .paused * { animation-play-state: paused !important; }

/* ---------- Reduced motion: static chapters, fades only ---------- */
@media (prefers-reduced-motion: reduce) {
  .inter-lines .il { opacity: 1; transform: none; }
  .doors-scene { height: auto; }
  .doors-stage { position: relative; height: 100svh; min-height: 560px; }
  .welcome { display: none; }
  .wd > span, .hero-label::before, .hero-label, .hero-cta, .scroll-cue > * { animation: none; transform: none; filter: none; opacity: 1; }
  .door-frame { animation: none; }
  .fade-in { animation-name: none; }
  .arch-line path, .leaves-in, .ground, .seam, .light { animation: none; stroke-dashoffset: 0; opacity: 1; transform: none; }
  .seam { clip-path: none; opacity: 0.9; }
  .ground { transform: translateX(-50%); }
  .stars i, .scroll-cue span::after, .city .ring { animation: none; }
  .st { opacity: 1; transform: none; transition: none; }
  .ico path { transition: none; } .pre .ico path { stroke-dashoffset: 0; }
  html.js .road-on li:not(.on) .ico path { stroke-dashoffset: 0; }
  html.js .road-on li:not(.on) .care-txt { opacity: 1; transform: none; }
  .care-list li.on .stop { animation: none; }
  .interlude .w { opacity: 1; }
  .f-card { position: relative; top: 0; transform: none; margin-bottom: 32px; }
  .f-card::after { display: none; }
  [data-reveal].pre { transform: none; }
  .step.on, .thanks.on { animation-name: fadeOnly; }
  .btn:active, .choice label:active { transform: none; }
}
@keyframes fadeOnly { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 860px) { .door-frame { width: min(26svh, 52vw); transform: translate3d(0, 17svh, 0); } }

/* ---------- Formulas: "Learn more" ---------- */
.f-more { grid-column: 1 / -1; display: flex; justify-content: flex-end; margin-top: calc(-1 * clamp(8px, 2vw, 40px)); }
.more-btn {
  display: inline-flex; align-items: center; gap: 14px; min-height: 44px; padding: 10px 0; background: none; border: 0; cursor: pointer;
  font-family: var(--f-label); font-weight: 600; font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-text);
}
.more-btn b { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid currentColor; border-radius: 50%; font-family: var(--f-body); font-weight: 300; font-size: 18px; letter-spacing: 0; transition: transform 300ms var(--ease-out), background-color 300ms ease, color 300ms ease; }
.f-card.mid .more-btn, .f-card.dark .more-btn { color: var(--gold); }
@media (hover: hover) and (pointer: fine) { .more-btn:hover b { transform: rotate(90deg); background: var(--gold); border-color: var(--gold); color: var(--ink); } }
.more-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
@media (max-width: 860px) { .f-more { margin-top: 0; justify-content: flex-start; } }

/* ---------- Pack detail panel ---------- */
html.dlg-open { overflow: hidden; }
.pack-dlg {
  position: fixed; inset: 0 0 0 auto; margin: 0; width: min(560px, 100vw); max-width: 100vw; height: 100%; max-height: 100%; padding: 0; border: 0;
  background: var(--ivory); color: var(--text); overflow-y: auto; overscroll-behavior: contain; box-shadow: -40px 0 80px -40px rgba(8, 14, 29, 0.45);
}
.pack-dlg::backdrop { background: rgba(8, 14, 29, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.pack-dlg[open] { animation: dlgIn 520ms var(--ease) both; }
.pack-dlg[open]::backdrop { animation: fadeOnly 400ms ease both; }
@keyframes dlgIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.dlg-in { position: relative; display: flex; flex-direction: column; gap: 26px; padding: clamp(56px, 8vh, 88px) clamp(24px, 5vw, 56px) 48px; }
.dlg-x { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; color: var(--navy); transition: border-color 200ms ease; }
.dlg-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
@media (hover: hover) and (pointer: fine) { .dlg-x:hover { border-color: var(--gold); } }
.pack-dlg h3 { font-size: clamp(38px, 5vw, 54px); line-height: 1.02; margin-top: -10px; }
.dlg-lead { font-family: var(--f-display); font-size: 23px; line-height: 1.4; color: var(--muted); }
.dlg-block { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.dlg-block p { font-weight: 300; }
.dlg-block ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dlg-block li { display: flex; gap: 14px; align-items: baseline; font-weight: 300; }
.dlg-block li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg) translateY(-2px); }
.dlg-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 26px; margin-top: 6px; background: var(--paper); }
.dlg-foot p { font-size: 15.5px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .pack-dlg[open], .map-tip { animation-name: fadeOnly; } }

/* ---------- Cookie notice ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; max-width: 560px; margin-left: auto;
  display: flex; flex-direction: column; gap: 14px; padding: 20px 22px; background: var(--navy); color: var(--muted-on-navy);
  border: 1px solid var(--line-navy); box-shadow: 0 24px 50px -24px rgba(8, 14, 29, 0.6); font-size: 14.5px; line-height: 1.6;
  opacity: 0; transform: translateY(16px); transition: opacity 400ms ease, transform 500ms var(--ease);
}
.cookie.show { opacity: 1; transform: none; }
.cookie-act { display: flex; align-items: center; justify-content: flex-end; gap: 22px; font-family: var(--f-label); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory); }
.cookie-act a { padding-block: 6px; }
.cookie .btn { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.cookie .btn::before { background: var(--ivory); }

/* ---------- Map: city information ---------- */
.map-box { position: relative; }
.city { cursor: pointer; outline: none; }
.city .hit { fill: transparent; }
.city .dot { transition: transform 250ms var(--ease-out); transform-box: fill-box; transform-origin: center; }
.city.active .dot, .city:focus-visible .dot { transform: scale(1.6); fill: var(--gold-text); }
.city:focus-visible text { text-decoration: underline; }
.map-tip {
  position: absolute; z-index: 3; transform: translate(-50%, calc(-100% - 14px)); width: max-content; max-width: 290px; pointer-events: none;
  display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; background: var(--navy); color: var(--muted-on-navy); font-size: 14px; line-height: 1.5;
  box-shadow: 0 20px 40px -20px rgba(8, 14, 29, 0.55); animation: tipPop 420ms both; transform-origin: 50% 100%;
}
.map-tip.below { transform: translate(-50%, 22px); transform-origin: 50% 0; }
@keyframes tipPop { 0% { opacity: 0; scale: 0.9; animation-timing-function: cubic-bezier(0.2, 0.7, 0.3, 1); } 60% { opacity: 1; scale: 1.03; animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1); } 100% { opacity: 1; scale: 1; } }
.map-tip .tip-note { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--ivory); font-weight: 400; }
.map-tip strong { font-family: var(--f-display); font-weight: 500; font-size: 22px; color: var(--ivory); line-height: 1.1; }
.map-tip .tip-zone { font-family: var(--f-label); font-weight: 600; font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.map-hint { margin-top: 10px; text-align: center; font-size: 14px; color: var(--muted); }
.zone { transition: border-color 300ms ease; }
.zone.lit { border-top-color: var(--gold-text); }
.zone.lit .cities { color: var(--navy); }

/* ---------- Anti-spam field (hidden from people) ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Utilities & small-screen fixes ---------- */
[hidden] { display: none !important; }
.nav .btn { white-space: nowrap; }
@media (max-width: 520px) {
  .nav .btn.small { padding: 10px 14px; letter-spacing: 0.14em; }
  .inter-lines { font-size: clamp(28px, 7.4vw, 34px); }
}
.formulas .sec-head .label { color: #735729; }
.inter-lines .il { text-wrap: balance; }
@media (max-width: 520px) {
  .brand { gap: 9px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 10.5px; letter-spacing: 0.14em; white-space: normal; max-width: 9em; }
  .brand-tag { display: none; }
  .nav { gap: 12px; }
  .langs { gap: 8px; }
  .nav .btn.small { padding: 9px 11px; font-size: 10px; letter-spacing: 0.1em; min-height: 40px; }
}
@media (max-width: 380px) { .brand-mark { width: 32px; height: 32px; } .nav { gap: 10px; } }

/* ---------- Intro: wait for fonts + language, then play everything together ---------- */
.site-header .nav, .hero-text { transition: opacity 450ms ease; }
html.wait .site-header .nav, html.wait .hero-text, html.wait .welcome { opacity: 0 !important; transition: none; }
html.wait .doors-stage, html.wait .doors-stage *, html.wait .doors-stage *::before, html.wait .doors-stage *::after { animation-play-state: paused !important; }

/* ---------- Approach ---------- */
.approach { padding-block: 14vh 13vh; }
.ap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.ap-item { display: flex; flex-direction: column; gap: 12px; padding-top: 26px; border-top: 1px solid var(--line-navy); }
.ap-num { font-family: var(--f-display); font-size: 44px; line-height: 1; color: var(--gold); height: 40px; }
.ap-ico { width: 40px; height: 40px; fill: none; stroke: var(--gold); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.ap-item h3 { font-size: clamp(26px, 2.3vw, 32px); line-height: 1.12; color: var(--ivory); }
.ap-item p { color: var(--muted-on-navy); font-weight: 300; }
.ap-net { margin-top: clamp(48px, 8vh, 80px); display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.ap-net ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 0; font-family: var(--f-display); font-size: clamp(20px, 1.9vw, 25px); color: var(--ivory); }
.ap-net li + li::before { content: "·"; color: var(--gold); margin: 0 18px; }
@media (max-width: 860px) { .ap-grid { grid-template-columns: 1fr; } .ap-net ul { flex-direction: column; } .ap-net li + li::before { display: none; } }

/* ---------- Quote logic (under the formulas) ---------- */
.quote { margin-top: clamp(56px, 9vh, 96px); padding: clamp(28px, 4vw, 52px); background: var(--ivory); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px clamp(28px, 5vw, 72px); }
.quote-head { display: flex; flex-direction: column; gap: 12px; grid-row: span 2; }
.quote-head h3 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.05; }
.quote-crit { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; counter-reset: q; }
.quote-crit li { display: flex; flex-direction: column; gap: 4px; padding-left: 34px; position: relative; counter-increment: q; }
.quote-crit li::before { content: "0" counter(q); position: absolute; left: 0; top: 3px; font-family: var(--f-label); font-weight: 600; font-size: 11px; letter-spacing: 0.18em; color: var(--gold-text); }
.quote-crit strong { font-family: var(--f-display); font-weight: 500; font-size: 22px; line-height: 1.2; }
.quote-crit span { color: var(--muted); font-weight: 300; font-size: 15.5px; }
.quote-comm { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.quote-comm li { display: flex; gap: 12px; align-items: baseline; }
.quote-comm li::before { content: ""; flex: 0 0 auto; width: 12px; height: 7px; border-left: 1.5px solid var(--gold-text); border-bottom: 1.5px solid var(--gold-text); transform: rotate(-45deg) translateY(-3px); }
.quote-emp { grid-column: 1 / -1; padding: 18px 22px; background: var(--paper); border-left: 2px solid var(--gold); font-weight: 300; }
.quote-emp strong { font-weight: 700; color: var(--navy); }
@media (max-width: 860px) { .quote { grid-template-columns: 1fr; } .quote-head { grid-row: auto; } }
@media (max-width: 520px) { .quote-crit { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { padding-block: 13vh; background: var(--paper); }
.faq-wrap { max-width: 900px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font-family: var(--f-display); font-weight: 500; font-size: clamp(21px, 2vw, 26px); line-height: 1.25; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary b { position: relative; flex: 0 0 auto; width: 30px; height: 30px; border: 1px solid var(--gold); border-radius: 50%; transition: transform 400ms cubic-bezier(0.34, 1.45, 0.64, 1), background-color 300ms ease; }
.faq-item summary b::before, .faq-item summary b::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--gold-text); transform: translate(-50%, -50%); }
.faq-item summary b::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary b { transform: rotate(45deg); background: var(--ivory); }
.faq-item p { padding: 0 52px 24px 0; color: var(--muted); font-weight: 300; animation: fadeIn 450ms var(--ease-out) both; }
@media (hover: hover) and (pointer: fine) { .faq-item summary:hover b { background: var(--ivory); } }

/* ---------- Pack details: example and exclusions ---------- */
.dlg-ex { padding: 22px 24px; background: var(--paper); border-left: 2px solid var(--gold); display: flex; flex-direction: column; gap: 14px; }
.dlg-ex-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.dlg-ex-top small { font-style: italic; font-family: var(--f-display); font-size: 15px; color: var(--muted); }
.dlg-ex dl { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.dlg-ex dt { font-family: var(--f-label); font-weight: 600; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
.dlg-ex dd { margin: 0 0 12px; font-weight: 300; }
.dlg-ex dd:last-child { margin-bottom: 0; }
.dlg-not p { font-size: 15.5px; color: var(--muted); }

/* ---------- Footer lockup (replaces the raster logo) ---------- */
.brand-foot { color: var(--ivory); flex-direction: column; gap: 14px; text-align: center; }
.brand-foot .brand-mark { width: 60px; height: 60px; }
.brand-foot .brand-txt { align-items: center; }
.brand-foot .brand-tag { display: block !important; }

/* ---------- Guides ---------- */
.guide-page .site-header { position: sticky; }
.g-langs a { text-decoration: none; opacity: 0.55; padding: 6px 0; }
.g-langs a[aria-current="true"] { opacity: 1; border-bottom: 1px solid var(--gold); }
.guide { background: var(--ivory); }
.g-wrap { max-width: 820px; padding-block: 56px 110px; }
.g-index { max-width: 1100px; }
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; font-family: var(--f-label); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--gold-text); }
.guide h1 { font-size: clamp(42px, 5.6vw, 72px); line-height: 1.03; letter-spacing: -0.01em; color: var(--navy); margin: 14px 0 22px; }
.g-lead { font-family: var(--f-display); font-size: clamp(21px, 2.1vw, 26px); line-height: 1.45; color: var(--muted); max-width: 40em; }
.g-body { margin-top: 44px; }
.g-body h2 { font-size: clamp(28px, 2.8vw, 36px); line-height: 1.12; color: var(--navy); margin: 46px 0 14px; padding-top: 28px; border-top: 1px solid var(--line); }
.g-body p { font-weight: 300; margin: 0 0 14px; }
.g-body ul { list-style: none; margin: 8px 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.g-body li { position: relative; padding-left: 22px; font-weight: 300; }
.g-body li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.g-body strong { font-weight: 700; color: var(--navy); }
.g-body em { display: block; margin-top: 36px; padding: 16px 20px; background: var(--paper); border-left: 2px solid var(--gold); font-style: normal; font-size: 15px; color: var(--muted); }
.g-body a { color: var(--gold-text); text-underline-offset: 3px; }
.g-help { margin-top: 64px; padding: clamp(28px, 4vw, 48px); background: var(--navy); color: var(--muted-on-navy); display: flex; flex-direction: column; gap: 14px; }
.g-help .label { color: var(--gold); }
.g-help h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.08; color: var(--ivory); }
.g-help .gold { color: var(--gold); }
.g-help p { font-weight: 300; max-width: 40em; }
.g-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 8px; }
.g-link { font-family: var(--f-label); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory); }
.g-related, .g-sec { margin-top: 64px; display: flex; flex-direction: column; gap: 18px; }
.g-sec:first-of-type { margin-top: 48px; }
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.g-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; min-height: 170px; background: var(--paper); text-decoration: none; color: var(--navy); border-top: 2px solid transparent; transition: border-color 300ms ease, transform 500ms cubic-bezier(0.34, 1.45, 0.64, 1); }
.g-card strong { font-family: var(--f-display); font-weight: 500; font-size: 24px; line-height: 1.15; flex: 1; }
.g-card .g-more { font-family: var(--f-label); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-text); }
@media (hover: hover) and (pointer: fine) { .g-card:hover { border-top-color: var(--gold); transform: translateY(-4px); } }
.guide .g-index h1 .gold { color: var(--gold-text); }

/* ---------- Home: guides strip ---------- */
.home-guides { padding-block: 12vh; background: var(--ivory); }
.home-guides .g-grid { max-width: 1160px; margin-inline: auto; }
.home-guides .hg-all { display: flex; justify-content: center; margin-top: 36px; }

/* Hero doors: smoother rendering (Nov 2026) */
.leaf::after { will-change: opacity; }
.light { will-change: opacity; }
@media (max-width: 860px) {
  .leaves { perspective: none; }
  .key-wrap { filter: none; }
  .doors-stage { contain: paint; }
}
