/* =====================================================================
   DENDERA · base styles shared by every page
   Palette, typography, layout primitives, nav, footer, forms, cursor.
   ===================================================================== */

/* ---------- fonts (self-hosted, no third-party requests) ---------- */
@font-face { font-family: 'Cinzel'; font-weight: 400; font-display: swap; src: url('../assets/fonts/cinzel-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cinzel'; font-weight: 600; font-display: swap; src: url('../assets/fonts/cinzel-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cinzel'; font-weight: 700; font-display: swap; src: url('../assets/fonts/cinzel-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 300; font-display: swap; src: url('../assets/fonts/cormorant-garamond-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 400; font-display: swap; src: url('../assets/fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-display: swap; src: url('../assets/fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 300; font-style: italic; font-display: swap; src: url('../assets/fonts/cormorant-garamond-latin-300-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 400; font-style: italic; font-display: swap; src: url('../assets/fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-weight: 300; font-display: swap; src: url('../assets/fonts/jost-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-weight: 400; font-display: swap; src: url('../assets/fonts/jost-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-weight: 500; font-display: swap; src: url('../assets/fonts/jost-latin-500-normal.woff2') format('woff2'); }

/* ---------- design tokens ---------- */
:root {
  --gold: #C9A84C;
  --gold-2: #E8D18F;
  --gold-3: #8E7430;
  --gold-rgb: 201, 168, 76;
  --ink: #EDE9E0;
  --ink-dim: rgba(237, 233, 224, 0.62);
  --ink-faint: rgba(237, 233, 224, 0.32);

  /* Observatory */
  --obs-bg: #05070F;
  --obs-1: #0A1128;
  --obs-2: #111D45;
  --obs-3: #1B2A5E;

  /* Oasis */
  --oasis-bg: #0A120D;
  --oasis-1: #12251A;
  --oasis-2: #1B3826;
  --walnut: #4E3120;
  --walnut-2: #6B4630;
  --walnut-3: #2E1C12;

  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.83, 0, 0.17, 1);
  --nav-h: 84px;
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1440px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--obs-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(var(--gold-rgb), 0.35); color: #fff; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* ---------- typography ---------- */
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.08em; line-height: 1.05; text-transform: uppercase; }
.serif { font-family: var(--font-serif); font-weight: 300; line-height: 1.2; }
.eyebrow {
  font-family: var(--font-sans); font-weight: 400; font-size: 11px; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--gold); display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); opacity: 0.8; }
.eyebrow.center::after { content: ''; width: 28px; height: 1px; background: var(--gold); opacity: 0.8; }
.lede { font-family: var(--font-serif); font-size: clamp(20px, 2.2vw, 28px); font-weight: 300; line-height: 1.4; color: var(--ink); }
.muted { color: var(--ink-dim); }
.gold { color: var(--gold); }
.h-xl { font-size: clamp(44px, 9vw, 132px); }
.h-lg { font-size: clamp(34px, 5.2vw, 72px); }
.h-md { font-size: clamp(26px, 3.2vw, 44px); }
.h-sm { font-size: clamp(18px, 1.6vw, 22px); }
.body-lg { font-size: clamp(16px, 1.15vw, 18px); line-height: 1.75; color: var(--ink-dim); max-width: 56ch; }
.italic { font-style: italic; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(96px, 12vw, 180px); }
.section.tight { padding-block: clamp(64px, 8vw, 120px); }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.5vw, 40px); }
.col-2 { grid-column: span 2; } .col-3 { grid-column: span 3; } .col-4 { grid-column: span 4; } .col-5 { grid-column: span 5; } .col-6 { grid-column: span 6; } .col-7 { grid-column: span 7; } .col-8 { grid-column: span 8; } .col-12 { grid-column: 1 / -1; }
.stack > * + * { margin-top: var(--stack, 24px); }
.center { text-align: center; }
.rule { height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), 0.55), transparent); }
.hr-gold { width: 64px; height: 1px; background: var(--gold); margin-inline: auto; }
@media (max-width: 900px) {
  .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: 1 / -1; }
}

/* ---------- media primitives ---------- */
.media { position: relative; overflow: hidden; background: #000; }
.media > img, .media > video { width: 100%; height: 100%; object-fit: cover; }
.media.ratio-21-9 { aspect-ratio: 21 / 9; }
.media.ratio-16-9 { aspect-ratio: 16 / 9; }
.media.ratio-3-2 { aspect-ratio: 3 / 2; }
.media.ratio-4-5 { aspect-ratio: 4 / 5; }
.media.ratio-1-1 { aspect-ratio: 1 / 1; }
.media .parallax { position: absolute; inset: -12% 0; height: 124%; width: 100%; object-fit: cover; will-change: transform; }
.media .frame { position: absolute; inset: 14px; border: 1px solid rgba(var(--gold-rgb), 0.35); pointer-events: none; }
.media .frame::before, .media .frame::after { content: ''; position: absolute; width: 18px; height: 18px; border-color: var(--gold); border-style: solid; }
.media .frame::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.media .frame::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.full-bleed { position: relative; width: 100%; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.full-bleed > video, .full-bleed > img, .full-bleed > canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.veil { position: absolute; inset: 0; pointer-events: none; }
.veil.bottom { background: linear-gradient(180deg, transparent 40%, var(--veil-color, #05070F) 100%); }
.veil.top { background: linear-gradient(0deg, transparent 60%, rgba(0,0,0,0.6) 100%); }
.veil.radial { background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.55) 100%); }
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- buttons ---------- */
.btn {
  --btn-c: var(--gold);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 18px 34px; font-family: var(--font-sans); font-weight: 400; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--btn-c); border: 1px solid rgba(var(--gold-rgb), 0.55); overflow: hidden; isolation: isolate;
  transition: color 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}
.btn::before { content: ''; position: absolute; inset: 0; background: var(--btn-c); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-in-out); z-index: -1; }
.btn:hover { color: #0B0E17; border-color: var(--btn-c); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn.solid { background: var(--gold); color: #0B0E17; border-color: var(--gold); }
.btn.solid::before { background: var(--gold-2); }
.btn.ghost { border-color: rgba(255,255,255,0.18); color: var(--ink); }
.btn .arrow { width: 22px; height: 1px; background: currentColor; position: relative; transition: width 0.4s var(--ease-out); }
.btn .arrow::after { content: ''; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arrow { width: 34px; }
.link-line { position: relative; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); padding-bottom: 6px; }
.link-line::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0.35); transform-origin: left; transition: transform 0.5s var(--ease-out); }
.link-line:hover::after { transform: scaleX(1); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 50;
  display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gutter);
  transition: background 0.6s var(--ease-out), backdrop-filter 0.6s, border-color 0.6s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(5, 7, 15, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: rgba(var(--gold-rgb), 0.16); }
body.theme-oasis .nav.scrolled { background: rgba(10, 18, 13, 0.74); }
.nav .brand { display: flex; align-items: center; gap: 16px; }
.nav .brand svg, .nav .brand img { height: 40px; width: auto; }
.nav .brand .brand-word { font-family: var(--font-display); font-size: 15px; letter-spacing: 0.4em; color: var(--gold); text-transform: uppercase; }
.nav .brand .brand-sub { font-size: 9px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ink-dim); margin-top: 3px; }
.nav ul { display: flex; gap: clamp(18px, 2.6vw, 40px); align-items: center; }
.nav ul a { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-dim); position: relative; padding-block: 6px; transition: color 0.4s; }
.nav ul a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease-out); }
.nav ul a:hover, .nav ul a.active { color: var(--ink); }
.nav ul a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav .cta { border: 1px solid rgba(var(--gold-rgb), 0.55); padding: 12px 22px; color: var(--gold) !important; }
.nav .cta::after { display: none; }
.nav .cta:hover { background: var(--gold); color: #0B0E17 !important; }
.nav .cross { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-faint) !important; }
.nav .cross .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cross-color, var(--gold)); box-shadow: 0 0 12px var(--cross-color, var(--gold)); }
.nav .burger { display: none; width: 44px; height: 44px; position: relative; }
.nav .burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--gold); transition: transform 0.5s var(--ease-out), opacity 0.3s; }
.nav .burger span:nth-child(1) { top: 16px; } .nav .burger span:nth-child(2) { top: 22px; } .nav .burger span:nth-child(3) { top: 28px; }
body.menu-open .nav .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav .burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: rgba(5, 7, 15, 0.96); display: flex; flex-direction: column; justify-content: center; padding: var(--gutter); gap: 22px; clip-path: circle(0 at calc(100% - 44px) 42px); transition: clip-path 0.9s var(--ease-in-out); }
body.theme-oasis .mobile-menu { background: rgba(10, 18, 13, 0.97); }
body.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 42px); }
.mobile-menu a { font-family: var(--font-display); font-size: clamp(26px, 7vw, 40px); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.mobile-menu a.small { font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.3em; color: var(--gold); margin-top: 14px; }
@media (max-width: 1024px) {
  .nav ul { display: none; }
  .nav .burger { display: block; }
}

/* ---------- footer ---------- */
.footer { position: relative; padding: clamp(72px, 9vw, 140px) 0 40px; border-top: 1px solid rgba(var(--gold-rgb), 0.16); overflow: hidden; }
.footer .grid { align-items: start; }
.footer .f-brand svg { width: 220px; height: auto; }
.footer h4 { font-family: var(--font-sans); font-weight: 400; font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer li { color: var(--ink-dim); font-size: 15px; line-height: 2; }
.footer li a:hover { color: var(--ink); }
.footer .bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.footer .f-cross { display: flex; align-items: center; gap: 18px; padding: 22px 26px; border: 1px solid rgba(var(--gold-rgb), 0.28); margin-top: 8px; transition: border-color 0.5s, background 0.5s; }
.footer .f-cross:hover { border-color: var(--gold); background: rgba(var(--gold-rgb), 0.06); }
.footer .f-cross .sw { width: 42px; height: 42px; border-radius: 50%; flex: none; background: var(--sw, var(--gold)); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15), 0 0 30px rgba(0,0,0,0.5); }
.footer .f-cross .t { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase; }
.footer .f-cross .s { font-size: 12px; color: var(--ink-dim); }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 32px; }
.form .full { grid-column: 1 / -1; }
.field { position: relative; display: flex; flex-direction: column; gap: 10px; }
.field label { font-size: 10px; letter-spacing: 0.36em; text-transform: uppercase; color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,0.18); color: var(--ink);
  font-family: var(--font-serif); font-size: 20px; padding: 8px 0 12px; border-radius: 0; appearance: none; -webkit-appearance: none;
  transition: border-color 0.4s;
}
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C9A84C'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px; }
.field select option { background: #0B0E17; color: var(--ink); font-family: var(--font-sans); font-size: 15px; }
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); font-style: italic; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field .line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out); }
.field:focus-within .line { transform: scaleX(1); }
.form .actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.form .note { font-size: 13px; color: var(--ink-faint); max-width: 44ch; }
.form-success { display: none; padding: 40px; border: 1px solid rgba(var(--gold-rgb), 0.4); text-align: center; }
.form-success .serif { font-size: 28px; }
.form.sent { display: none; }
.form.sent + .form-success { display: block; }
input[type="date"]::-webkit-calendar-picker-indicator, input[type="time"]::-webkit-calendar-picker-indicator { filter: invert(0.8) sepia(1) saturate(3) hue-rotate(5deg); cursor: pointer; }
@media (max-width: 720px) { .form { grid-template-columns: 1fr; } }

/* ---------- menus ---------- */
.menu-tabs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: clamp(40px, 5vw, 72px); }
.menu-tabs button { position: relative; padding: 14px 22px; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-dim); transition: color 0.4s; }
.menu-tabs button::after { content: ''; position: absolute; left: 22px; right: 22px; bottom: 6px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 0.5s var(--ease-out); }
.menu-tabs button.active { color: var(--gold); }
.menu-tabs button.active::after { transform: scaleX(1); }
.menu-panel { display: none; }
.menu-panel.active { display: block; animation: fadeUp 0.8s var(--ease-out); }
.menu-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 64px; }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.menu-item .name { font-family: var(--font-serif); font-size: 24px; color: var(--ink); }
.menu-item .price { font-family: var(--font-serif); font-size: 20px; color: var(--gold); }
.menu-item .desc { grid-column: 1 / -1; font-size: 14px; color: var(--ink-dim); max-width: 48ch; }
.menu-item .tags { grid-column: 1 / -1; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-3); }
.menu-group-title { grid-column: 1 / -1; font-family: var(--font-display); font-size: 14px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold); margin-top: 24px; }
.menu-empty { position: relative; text-align: center; padding: clamp(56px, 8vw, 110px) 24px; border: 1px solid rgba(var(--gold-rgb), 0.22); overflow: hidden; }
.menu-empty .serif { font-size: clamp(28px, 3.6vw, 46px); }
.menu-empty p { color: var(--ink-dim); max-width: 46ch; margin: 18px auto 0; }
.menu-empty svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.25; pointer-events: none; }
@media (max-width: 800px) { .menu-list { grid-template-columns: 1fr; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- reveal helpers (JS adds .in) ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(0.96); }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.split-words .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 0.045s); }
.split-words.in .w > span { transform: none; }
.split-chars .c { display: inline-block; opacity: 0; transform: translateY(0.35em) rotate(3deg); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: calc(var(--i) * 0.035s); }
.split-chars.in .c { opacity: 1; transform: none; }
.line-draw { transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-in-out); }
.line-draw.in { transform: scaleX(1); }

/* ---------- custom cursor (pointer devices only) ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 100; pointer-events: none; mix-blend-mode: difference; display: none; }
.cursor .dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); transform: translate(-50%, -50%); }
.cursor .ring { position: absolute; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(var(--gold-rgb), 0.8); transform: translate(-50%, -50%); transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), border-color 0.4s, background 0.4s; }
.cursor .label { position: absolute; transform: translate(-50%, -50%); font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-2); opacity: 0; transition: opacity 0.3s; white-space: nowrap; }
body.cursor-hover .cursor .ring { width: 64px; height: 64px; border-color: rgba(var(--gold-rgb), 1); background: rgba(var(--gold-rgb), 0.08); }
body.cursor-label .cursor .ring { width: 92px; height: 92px; border-color: rgba(var(--gold-rgb), 0.9); background: rgba(5, 7, 15, 0.35); mix-blend-mode: normal; }
body.cursor-label .cursor .dot { opacity: 0; }
body.cursor-label .cursor .label { opacity: 1; }
body.cursor-label .cursor { mix-blend-mode: normal; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
}

/* ---------- page transition veil ---------- */
.transition { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.transition .panel { position: absolute; inset: 0; background: var(--t-color, #05070F); transform: scaleY(0); transform-origin: bottom; }
.transition .panel.top { transform-origin: top; }
.transition .emblem { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; transform: translate(-50%, -50%); opacity: 0; }
.transition .emblem svg { width: 100%; height: 100%; }
body.is-entering .transition .panel { transform: scaleY(1); }

/* ---------- scroll cue ---------- */
.scroll-cue { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 9px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ink-dim); z-index: 3; }
.scroll-cue .stem { width: 1px; height: 56px; background: rgba(var(--gold-rgb), 0.4); overflow: hidden; position: relative; }
.scroll-cue .stem::after { content: ''; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--gold); animation: cueDrop 2.4s var(--ease-in-out) infinite; }
@keyframes cueDrop { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }

/* ---------- misc ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.noscript-note { padding: 12px; text-align: center; font-size: 12px; background: #000; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  [data-reveal], .split-words .w > span, .split-chars .c { opacity: 1 !important; transform: none !important; }
}
