/* Editor Awards. Mobile-first. Motion is progressive: everything is readable without JS. */

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Montserrat Fallback";
  src: local("Arial"), local("Helvetica"), local("Roboto");
  size-adjust: 113%; ascent-override: 85%; descent-override: 22%;
}
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial"), local("Helvetica"), local("Roboto");
  size-adjust: 103%; ascent-override: 102%; descent-override: 28%;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --black: #000;
  --ink: #060504;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --line-gold: rgba(212, 166, 74, 0.32);
  --gold: #d4a64a;
  --gold-light: #f3dc9a;
  --gold-deep: #8d621f;
  --metal: linear-gradient(100deg, #a3732a 0%, #d9ae55 22%, #f6e2a2 44%, #d6a94e 62%, #ad7f2e 82%, #e8c877 100%);
  --white: #fff;
  --text: #f4f1ea;
  --text-2: #b9b3a7;
  --muted: #827c71;
  --danger: #f0a08a;
  --ok: #9fd39a;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(18, 15, 11, 0.62);
  --glass-border: rgba(255, 255, 255, 0.1);
  --display: "Montserrat", "Montserrat Fallback", system-ui, sans-serif;
  --body: "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 20px;
  --max: 1200px;
  --header-h: 64px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
  background: var(--black);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: #000; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg use { fill: currentColor; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 999px; background: var(--gold); color: #000;
  font: 600 14px/1.2 var(--body); text-decoration: none; transition: top 0.2s;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}

.gold-text {
  color: var(--gold);
  background: var(--metal);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -250% 0; } }

/* Glass surface */
.glass, .glass-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 50px -30px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
}

/* ================= Intro curtain ================= */

.intro { display: none; }
.js .intro {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: var(--black);
  transition: opacity 0.6s var(--ease), visibility 0s 0.6s;
}
.intro-inner { display: grid; justify-items: center; gap: 18px; }
.intro img { width: 44px; height: auto; animation: intro-pulse 1.4s var(--ease-in-out) infinite; }
.intro-bar { width: 120px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.intro-bar span { display: block; height: 100%; width: 100%; background: var(--metal); transform: scaleX(0); transform-origin: left; animation: intro-load 1.1s var(--ease) forwards; }
@keyframes intro-pulse { 50% { transform: translateY(-3px); filter: brightness(1.3) drop-shadow(0 0 14px rgba(246, 226, 162, 0.45)); } }
@keyframes intro-load { to { transform: scaleX(1); } }
.js .intro.is-done { opacity: 0; visibility: hidden; }
/* Failsafe: the intro always clears, and hidden hero content always shows, even if a script fails. */
.js .intro { animation: intro-failsafe 0.6s var(--ease) 2.6s forwards; }
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; } }
html.js:not(.is-ready) [data-hero-in], html.js:not(.is-ready) .trophy3d { animation: reveal-failsafe 0.8s var(--ease) 3s forwards; }
@keyframes reveal-failsafe { to { opacity: 1; transform: none; filter: none; } }
.js.intro-skip .intro { display: none; }

/* ================= Scroll progress ================= */

.progress { position: fixed; inset: 0 0 auto 0; z-index: 60; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--metal); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 10px rgba(246, 226, 162, 0.6); }

/* ================= Buttons ================= */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s var(--ease), background-position 0.7s var(--ease), border-color 0.3s, color 0.3s, box-shadow 0.4s var(--ease), background-color 0.3s;
  will-change: transform;
}
.btn-sm { min-height: 38px; padding: 0 18px; font-size: 11px; }
.btn-block { width: 100%; }
.btn-icon { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.btn-gold {
  color: #1b1306;
  background: var(--metal);
  background-size: 220% 100%;
  box-shadow: inset 0 1px 0 rgba(255, 248, 225, 0.6), 0 10px 30px -12px rgba(212, 166, 74, 0.55);
}
.btn-gold::before {
  /* periodic light sweep */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  transform: translateX(-130%);
  animation: btn-sweep 5s var(--ease-in-out) 2s infinite;
}
@keyframes btn-sweep { 0% { transform: translateX(-130%); } 22%, 100% { transform: translateX(130%); } }
.btn-glass {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
@media (hover: hover) {
  .btn-gold:hover { background-position: 100% 0; box-shadow: inset 0 1px 0 rgba(255, 248, 225, 0.6), 0 14px 40px -10px rgba(212, 166, 74, 0.75); }
  .btn-gold:hover .btn-icon { transform: translateX(4px); }
  .btn-glass:hover { border-color: rgba(243, 220, 154, 0.55); background: rgba(212, 166, 74, 0.1); color: var(--gold-light); }
}
.btn-press:active:not(:disabled) { transform: scale(0.95); transition-duration: 0.12s; }
.btn-press .ripple {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  background: currentColor;
  opacity: 0.22;
  transform: scale(0);
  animation: ripple 0.65s var(--ease) forwards;
}
.btn-gold .ripple { background: #fff8e1; opacity: 0.65; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
.btn:disabled { cursor: default; }
.btn.is-loading { pointer-events: none; }
.btn .btn-label { transition: opacity 0.2s, transform 0.3s var(--ease); }
.btn.is-loading .btn-label, .btn.is-loading .btn-icon { opacity: 0; transform: translateY(-6px); }
.btn.with-label.is-loading .btn-label { opacity: 1; transform: none; }
.btn.with-label .spinner { position: static; margin: 0; width: 0; border-width: 0; transition: width 0.3s var(--ease), opacity 0.2s, transform 0.3s var(--spring); }
.btn.with-label.is-loading .spinner { width: 16px; height: 16px; border-width: 2px; }

.spinner {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s, transform 0.3s var(--spring);
}
.spinner-sm { width: 14px; height: 14px; border-width: 1.5px; }
.is-loading .spinner { opacity: 1; transform: scale(1); animation: spin 0.7s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }

.link-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  background: none;
  border: 0;
  border-radius: 8px;
  color: var(--gold-light);
  font: 600 13.5px/1 var(--body);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s var(--ease), color 0.2s;
}
.link-btn .btn-label { position: relative; padding-bottom: 3px; transition: opacity 0.2s; }
.link-btn .btn-label::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  transform-origin: right;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
@media (hover: hover) {
  .link-btn:not(:disabled):hover { color: var(--white); }
  .link-btn:not(:disabled):hover .btn-label::after { opacity: 1; animation: underline 0.6s var(--ease); }
}
@keyframes underline { 0% { transform: scaleX(1); transform-origin: right; } 49% { transform: scaleX(0); transform-origin: right; } 50% { transform: scaleX(0); transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }
.link-btn:disabled { color: var(--muted); cursor: default; }
.link-btn:disabled .btn-label::after { transform: scaleX(0); }
.link-btn.is-loading .btn-label { opacity: 0; }
.link-btn .spinner { color: var(--gold); }

/* ================= Header ================= */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  transition: transform 0.5s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(8, 7, 5, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.site-header.is-scrolled::before, .site-header.is-open::before { opacity: 1; }
.site-header.is-hidden:not(.is-open) { transform: translateY(-100%); }
.header-row { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.brand-mark { width: 20px; height: auto; transition: transform 0.6s var(--spring); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.08); }
.brand-name { font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--white); white-space: nowrap; }
.brand-name span { color: var(--gold); }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-right: -8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s var(--ease), background-color 0.3s;
}
.nav-toggle-icon { position: relative; width: 16px; height: 11px; }
.nav-toggle-icon span { position: absolute; right: 0; height: 1.5px; border-radius: 2px; background: var(--white); transition: transform 0.45s var(--ease), opacity 0.25s, width 0.45s var(--ease), top 0.45s var(--ease); }
.nav-toggle-icon span:nth-child(1) { top: 0; width: 16px; }
.nav-toggle-icon span:nth-child(2) { top: 4.75px; width: 10px; background: var(--gold); }
.nav-toggle-icon span:nth-child(3) { top: 9.5px; width: 16px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 4.75px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 4.75px; transform: rotate(-45deg); }

.nav-menu {
  position: absolute;
  top: calc(var(--header-h) + env(safe-area-inset-top));
  left: 12px;
  right: 12px;
  padding: 10px 18px 18px;
  border-radius: var(--r-md);
  background: rgba(14, 12, 9, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.3s var(--ease), transform 0.45s var(--ease), visibility 0s 0.45s;
}
.is-open .nav-menu { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s var(--ease), transform 0.45s var(--ease); }
.nav-links a {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  transition: color 0.2s, transform 0.3s var(--ease);
}
.nav-links a:active { color: var(--gold-light); transform: translateX(6px); }
.nav-links li { opacity: 0; transform: translateY(8px); transition: opacity 0.35s var(--ease), transform 0.45s var(--ease); }
.is-open .nav-links li { opacity: 1; transform: none; }
.is-open .nav-links li:nth-child(2) { transition-delay: 0.04s; }
.is-open .nav-links li:nth-child(3) { transition-delay: 0.08s; }
.is-open .nav-links li:nth-child(4) { transition-delay: 0.12s; }
.nav-cta { width: 100%; margin-top: 16px; min-height: 46px; }
.no-js .nav-toggle { display: none; }

/* ================= Ambient light ================= */

.aurora { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; will-change: transform; }
.aurora span:nth-child(1) { width: 60vw; height: 60vw; max-width: 620px; max-height: 620px; left: -20%; top: 10%; background: radial-gradient(circle, rgba(212, 166, 74, 0.22), transparent 65%); animation: drift-a 18s var(--ease-in-out) infinite alternate; }
.aurora span:nth-child(2) { width: 50vw; height: 50vw; max-width: 520px; max-height: 520px; right: -15%; top: 35%; background: radial-gradient(circle, rgba(163, 115, 42, 0.22), transparent 65%); animation: drift-b 22s var(--ease-in-out) infinite alternate; }
.aurora span:nth-child(3) { width: 40vw; height: 40vw; max-width: 420px; max-height: 420px; left: 30%; bottom: -10%; background: radial-gradient(circle, rgba(246, 226, 162, 0.12), transparent 65%); animation: drift-a 26s var(--ease-in-out) infinite alternate-reverse; }
.aurora-low span { opacity: 0.4; }
@keyframes drift-a { to { transform: translate(14%, 10%) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-12%, -8%) scale(1.1); } }

.streak { position: absolute; pointer-events: none; width: 300px; height: 300px; opacity: 0.9; z-index: -1; }
.streak::before, .streak::after { content: ""; position: absolute; left: -40%; width: 180%; transform: rotate(-38deg); }
.streak::before { top: 30%; height: 54px; background: linear-gradient(90deg, transparent 5%, rgba(163, 115, 42, 0.55) 28%, rgba(246, 226, 162, 0.75) 50%, rgba(212, 166, 74, 0.45) 72%, transparent 95%); filter: blur(1px); }
.streak::after { top: 52%; height: 2px; background: linear-gradient(90deg, transparent, rgba(246, 226, 162, 0.95) 45%, transparent 85%); box-shadow: 0 0 12px rgba(246, 226, 162, 0.6); animation: streak-glow 4s var(--ease-in-out) infinite alternate; }
@keyframes streak-glow { from { opacity: 0.5; } to { opacity: 1; } }
.streak-tl { top: -110px; left: -130px; }
.streak-br { bottom: -110px; right: -130px; transform: rotate(180deg); }
.js .streak { opacity: 0; transition: opacity 1.6s var(--ease) 0.4s; }
.js.is-ready .streak { opacity: 0.9; }

.spotlight {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: min(900px, 160vw);
  height: 80%;
  margin-left: calc(min(900px, 160vw) / -2);
  pointer-events: none;
  background: radial-gradient(42% 30% at 50% 0%, rgba(246, 226, 162, 0.24), transparent 72%), linear-gradient(180deg, rgba(246, 226, 162, 0.11), rgba(212, 166, 74, 0.03) 70%, transparent);
  clip-path: polygon(41% 0, 59% 0, 82% 100%, 18% 100%);
  filter: blur(18px);
}
.js .spotlight { opacity: 0; transition: opacity 1.4s var(--ease) 0.2s; }
.js.is-ready .spotlight { opacity: 1; }

.dust { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.dust i {
  position: absolute;
  bottom: -10px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 6px rgba(246, 226, 162, 0.9);
  opacity: 0;
  animation: float-up linear infinite;
}
@keyframes float-up { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 10% { opacity: 0.9; } 90% { opacity: 0.6; } 100% { transform: translate3d(var(--dx, 20px), -80vh, 0); opacity: 0; } }

/* ================= Hero ================= */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + env(safe-area-inset-top) + 20px) 0 64px;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
.hero-inner { position: relative; z-index: 1; }

/* ---- 3D trophy: real logo on the front face, extruded gold silhouette behind ---- */
.trophy-stage { will-change: transform, opacity; }
.trophy3d {
  position: relative;
  width: 108px;
  margin: 0 auto 30px;
  aspect-ratio: 320 / 350;
  perspective: 900px;
}
.t-tilt, .t-spin { position: absolute; inset: 0; transform-style: preserve-3d; }
.t-tilt { transition: transform 0.2s linear; }
.t-face, .t-layer, .t-sheen { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; }
.t-face { z-index: 2; filter: drop-shadow(0 0 18px rgba(246, 226, 162, 0.22)); }
.t-layer {
  -webkit-mask: url("/assets/img/mark-320.webp") center / 100% 100% no-repeat;
  mask: url("/assets/img/mark-320.webp") center / 100% 100% no-repeat;
  background: linear-gradient(115deg, #5a3c10, #a67a2f 45%, #6e4c17 70%, #b88c3c);
}
.t-sheen {
  z-index: 3;
  -webkit-mask: url("/assets/img/mark-320.webp") center / 100% 100% no-repeat;
  mask: url("/assets/img/mark-320.webp") center / 100% 100% no-repeat;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.9) 50%, transparent 60%) no-repeat;
  background-size: 300% 100%;
  background-position: 130% 0;
  mix-blend-mode: overlay;
  animation: sheen 6s var(--ease-in-out) 2.2s infinite;
}
@keyframes sheen { 0% { background-position: 130% 0; } 28%, 100% { background-position: -30% 0; } }
.js .t-spin { animation: trophy-turn 9s var(--ease-in-out) infinite; }
@keyframes trophy-turn {
  0%, 100% { transform: rotateY(-24deg) translateY(0); }
  50% { transform: rotateY(24deg) translateY(-7px); }
}
.t-twinkle {
  position: absolute;
  left: 76%;
  top: 9.5%;
  z-index: 4;
  width: 22%;
  aspect-ratio: 1;
  translate: -50% -50%;
  color: #fff6d6;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(255, 240, 190, 0.95));
  opacity: 0;
  animation: twinkle 3.2s var(--ease-in-out) 1.6s infinite;
}
.t-twinkle svg { width: 100%; height: 100%; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); } 12% { opacity: 1; transform: scale(1) rotate(45deg); } 26% { opacity: 0; transform: scale(0.4) rotate(90deg); } }
.t-floor {
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 280%;
  height: 26px;
  translate: -50% 0;
  background: radial-gradient(50% 50% at 50% 50%, rgba(246, 226, 162, 0.4), transparent 70%);
  animation: floor-breathe 9s var(--ease-in-out) infinite;
}
@keyframes floor-breathe { 50% { transform: scaleX(0.82); opacity: 0.7; } }
.js .trophy3d { opacity: 0; transform: translateY(30px) scale(0.85); filter: blur(8px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease), filter 1.2s var(--ease); }
.js.is-ready .trophy3d { opacity: 1; transform: none; filter: none; }

.hero-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.4rem, 0.85rem + 3.3vw, 3rem);
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  text-wrap: balance;
  will-change: transform;
}
.hero-title .line { display: block; }
.hero-title .line + .line { margin-top: 0.3em; }
.line-gold .char { color: var(--gold); background: var(--metal); background-size: 900% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 6s linear infinite; }
.no-js .line-gold, .line-gold:not([data-split-done]) { color: var(--gold); }
.hero-lede { max-width: 35rem; margin: 22px auto 0; color: var(--text-2); font-size: 1rem; }
.hero-actions { margin-top: 30px; display: flex; flex-direction: column; align-items: stretch; gap: 12px; max-width: 360px; margin-inline: auto; }
.js [data-hero-in] { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); }
.js.is-ready [data-hero-in] { opacity: 1; transform: none; filter: none; }
.js.is-ready .hero-lede { transition-delay: 0.9s; }
.js.is-ready .hero-actions { transition-delay: 1.05s; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 22px;
  height: 34px;
  translate: -50% 0;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
}
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; translate: -50% 0; border-radius: 2px; background: var(--gold); animation: cue 1.8s var(--ease-in-out) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-3px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }
.js .scroll-cue { opacity: 0; transition: opacity 1s var(--ease) 1.6s; }
.js.is-ready .scroll-cue { opacity: 1; }

/* ================= Split text ================= */

.word { display: inline-block; white-space: nowrap; }
.char { display: inline-block; }
[data-split] .mask { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.08em 0.02em 0.12em; margin: -0.08em -0.02em -0.12em; }
.js [data-split-done] .char,
.js [data-split-done] .wi {
  display: inline-block;
  transform: translateY(105%) rotate(4deg);
  opacity: 0;
  filter: blur(4px);
  transition: transform 0.9s var(--ease), opacity 0.6s var(--ease), filter 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 22ms + var(--base, 0ms));
}
.js [data-split="words"][data-split-done] .wi { transition-delay: calc(var(--i, 0) * 70ms + var(--base, 0ms)); transform: translateY(110%); }
.js [data-split-done].is-in .char,
.js [data-split-done].is-in .wi { transform: none; opacity: 1; filter: none; }

/* Scroll-scrubbed text fill */
.scrub .sw { color: rgba(255, 255, 255, 0.16); transition: color 0.35s var(--ease); }
.scrub .sw.on { color: var(--white); }
.scrub .sw.gold.on { color: var(--gold-light); }
.no-js .scrub { color: var(--white); }

/* ================= Scroll reveals ================= */

.js [data-reveal] { opacity: 0; transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease), clip-path 1.2s var(--ease); transition-delay: var(--d, 0ms); will-change: transform, opacity; }
.js [data-reveal="up"] { transform: translateY(40px); }
.js [data-reveal="rise"] { transform: translateY(60px) scale(0.96); }
.js [data-reveal="blur"] { filter: blur(12px); transform: translateY(12px); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="scale"] { transform: scale(0.85); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

.js [data-stagger] > * { opacity: 0; transform: translateY(34px) scale(0.94) rotateX(18deg); transform-origin: 50% 100%; transition: opacity 0.8s var(--ease), transform 1s var(--ease), border-color 0.4s, background-color 0.4s; transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }
.js [data-stagger].is-settled > * { transition-delay: 0s; transition-duration: 0.45s; }

/* ================= Marquee ================= */

.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line-gold);
  background: linear-gradient(90deg, #070604, #0e0c08 50%, #070604);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: 26px; width: max-content; padding: 16px 13px; will-change: transform; }
.no-js .marquee-track { animation: marquee 48s linear infinite; }
.marquee-track span { font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }
.marquee-track svg { width: 10px; height: 10px; color: var(--gold); flex: none; animation: spark-spin 6s linear infinite; }
@keyframes spark-spin { to { rotate: 360deg; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ================= Sections ================= */

.section { position: relative; padding-block: 88px; overflow: hidden; isolation: isolate; }
.display { font-family: var(--display); font-weight: 600; font-size: clamp(1.85rem, 1.1rem + 3.4vw, 3.5rem); line-height: 1.12; letter-spacing: -0.015em; color: var(--white); text-wrap: balance; }
.display .block { display: block; }
.display-center { text-align: center; }
.heading { font-family: var(--display); font-weight: 600; font-size: clamp(1.45rem, 1rem + 2vw, 2.3rem); line-height: 1.15; letter-spacing: 0.03em; text-transform: uppercase; color: var(--white); }
.section-sub { margin-top: 8px; color: var(--text-2); font-size: 1.02rem; }
.section-top { margin-bottom: 30px; }

/* About */
.about-grid { display: grid; gap: 30px; }
.about-copy p { color: var(--text-2); }
.about-copy p + p { margin-top: 1em; }
.about-copy .about-lead { color: var(--text); font-size: 1.12rem; line-height: 1.55; font-weight: 500; padding: 4px 0 4px 18px; border-left: 2px solid var(--gold); }

/* Disciplines */
.frames { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; perspective: 1200px; }
.glass-card { position: relative; border-radius: var(--r-md); overflow: hidden; }
.glass-card::before {
  /* pointer-following glow */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, -40%), rgba(246, 226, 162, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.glass-card:hover::before { opacity: 1; }
.glass-card > * { position: relative; z-index: 1; }
.frames li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 116px;
  padding: 15px 15px 16px;
}
.frames li::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(246, 226, 162, 0.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
  pointer-events: none;
}
.frame-no { font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--gold); font-variant-numeric: tabular-nums; }
.frame-name { font-family: var(--display); font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--white); }
.frames .frame-more { grid-column: span 2; min-height: 88px; background: linear-gradient(135deg, rgba(212, 166, 74, 0.16), rgba(212, 166, 74, 0.03)); }
.frames .frame-more .frame-name { color: var(--gold-light); }
@media (hover: hover) {
  .frames li { transition: transform 0.5s var(--ease), border-color 0.4s, opacity 0.8s var(--ease); }
  .js [data-stagger].is-in > li:hover { transform: translateY(-4px); border-color: rgba(212, 166, 74, 0.45); }
}

/* Global */
.global { text-align: center; }
.globe {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(640px, 135vw);
  aspect-ratio: 1;
  margin: calc(min(640px, 135vw) / -2) 0 0 calc(min(640px, 135vw) / -2);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 166, 74, 0.55) 1px, transparent 1.7px) 0 0 / 13px 13px;
  -webkit-mask: radial-gradient(circle at 42% 38%, #000 0%, rgba(0, 0, 0, 0.5) 40%, transparent 70%);
  mask: radial-gradient(circle at 42% 38%, #000 0%, rgba(0, 0, 0, 0.5) 40%, transparent 70%);
  opacity: 0.5;
  animation: spin-globe 40s linear infinite;
}
.globe-ring { position: absolute; inset: 8%; border-radius: 50%; border: 1px solid rgba(212, 166, 74, 0.22); animation: ring 14s linear infinite; }
.globe-ring + .globe-ring { inset: 20%; animation-duration: 20s; animation-direction: reverse; border-style: dashed; }
@keyframes ring { to { rotate: 360deg; } }
@keyframes spin-globe { to { background-position: 260px 0; } }
.global-inner { position: relative; }
.global-copy { max-width: 40rem; margin: 22px auto 0; color: var(--text-2); }
.pillars { margin: 38px auto 0; max-width: 900px; display: grid; gap: 10px; perspective: 1200px; }
.pillars li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
  text-align: start;
  color: var(--text);
}
.pillars svg { width: 12px; height: 12px; color: var(--gold); flex: none; animation: spark-spin 8s linear infinite; }

/* Vision */
.vision-grid { display: grid; gap: 36px; }
.notice { margin-top: 20px; display: inline-flex; align-items: flex-start; gap: 10px; padding: 11px 16px; border-radius: var(--r-sm); font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.notice-dot { width: 7px; height: 7px; margin-top: 6px; flex: none; border-radius: 50%; background: var(--gold); animation: beacon 2.4s ease-out infinite; }
@keyframes beacon { 0% { box-shadow: 0 0 0 0 rgba(212, 166, 74, 0.6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(212, 166, 74, 0); } }
.roadmap-wrap { position: relative; }
.roadmap-line { position: absolute; left: 15px; top: 16px; bottom: 16px; width: 1px; background: rgba(212, 166, 74, 0.15); }
.roadmap-line span { position: absolute; inset: 0; background: linear-gradient(180deg, var(--gold-light), var(--gold)); transform: scaleY(0); transform-origin: top; box-shadow: 0 0 10px rgba(246, 226, 162, 0.6); }
.no-js .roadmap-line span { transform: none; }
.roadmap li { position: relative; padding: 0 0 30px 52px; }
.roadmap li:last-child { padding-bottom: 0; }
.node {
  position: absolute;
  left: 0;
  top: 0;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0a0907;
  border: 1px solid var(--line-gold);
  color: var(--gold-deep);
  transition: color 0.5s var(--ease), border-color 0.5s, box-shadow 0.6s var(--ease), transform 0.6s var(--spring);
}
.node svg { width: 12px; height: 12px; }
.roadmap li.is-lit .node { color: var(--gold-light); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 166, 74, 0.12), 0 0 22px rgba(246, 226, 162, 0.35); transform: scale(1.08); }
.no-js .node { color: var(--gold); }
.roadmap h3 { padding-top: 3px; font-family: var(--display); font-size: 1.02rem; font-weight: 600; line-height: 1.35; color: var(--white); }
.roadmap p { margin-top: 4px; color: var(--text-2); font-size: 0.95rem; }

/* ================= Waitlist ================= */

.waitlist { padding-bottom: 100px; }
.waitlist-head { max-width: 40rem; margin: 0 auto 34px; text-align: center; }
.waitlist-sub { margin-top: 14px; color: var(--text-2); }

.panel {
  position: relative;
  max-width: 480px;
  margin-inline: auto;
  border-radius: var(--r-lg);
  padding: 1px;
  background: conic-gradient(from var(--angle), rgba(246, 226, 162, 0.08), rgba(246, 226, 162, 0.75) 12%, rgba(212, 166, 74, 0.08) 25%, rgba(246, 226, 162, 0.06) 60%, rgba(246, 226, 162, 0.5) 78%, rgba(246, 226, 162, 0.08));
  animation: border-spin 8s linear infinite;
  box-shadow: 0 40px 100px -40px rgba(212, 166, 74, 0.5);
}
@keyframes border-spin { to { --angle: 360deg; } }
.panel-inner {
  position: relative;
  border-radius: calc(var(--r-lg) - 1px);
  padding: 28px 20px 24px;
  background: linear-gradient(160deg, rgba(30, 25, 18, 0.88), rgba(8, 7, 5, 0.92));
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
  overflow: hidden;
  transition: height 0.5s var(--ease);
}

.field { position: relative; margin-bottom: 18px; }
.field input {
  width: 100%;
  height: 56px;
  padding: 20px 16px 6px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  transition: border-color 0.25s, box-shadow 0.35s var(--ease), background-color 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.field input:hover { border-color: rgba(255, 255, 255, 0.24); }
.field input:focus { outline: none; border-color: var(--gold); background: rgba(0, 0, 0, 0.6); box-shadow: 0 0 0 4px rgba(212, 166, 74, 0.15), 0 8px 24px -12px rgba(212, 166, 74, 0.5); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field.float label {
  position: absolute;
  left: 17px;
  top: 18px;
  font-size: 15px;
  color: var(--muted);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.35s var(--ease), color 0.25s;
}
.field.float input:focus + label,
.field.float input:not(:placeholder-shown) + label { transform: translateY(-10px) scale(0.74); color: var(--gold-light); letter-spacing: 0.06em; }
.field select {
  width: 100%;
  height: 56px;
  padding: 20px 44px 6px 16px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.25s, box-shadow 0.35s var(--ease), background-color 0.25s;
}
.field select:hover { border-color: rgba(255, 255, 255, 0.24); }
.field select:focus { outline: none; border-color: var(--gold); background: rgba(0, 0, 0, 0.6); box-shadow: 0 0 0 4px rgba(212, 166, 74, 0.15), 0 8px 24px -12px rgba(212, 166, 74, 0.5); }
.field select:invalid { color: var(--muted); }
.field select[aria-invalid="true"] { border-color: var(--danger); }
.field select option { background: #12100c; color: var(--white); }
.field.float-select label { transform: translateY(-10px) scale(0.74); color: var(--gold-light); letter-spacing: 0.06em; }
.select-chevron { position: absolute; right: 16px; top: 19px; width: 18px; height: 18px; color: var(--gold); pointer-events: none; transition: transform 0.35s var(--ease); }
.field select:focus ~ .select-chevron { transform: rotate(180deg); }
.field.is-guessed select { animation: guess-glow 1.6s var(--ease); }
@keyframes guess-glow { 0% { box-shadow: 0 0 0 0 rgba(246, 226, 162, 0); } 30% { box-shadow: 0 0 0 4px rgba(246, 226, 162, 0.28); } 100% { box-shadow: 0 0 0 0 rgba(246, 226, 162, 0); } }
.label-static { display: block; margin-bottom: 10px; font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2); }
.field-error { margin-top: 7px; color: var(--danger); font-size: 13px; line-height: 1.45; animation: err-in 0.35s var(--ease); }
.field-error:empty { display: none; }
@keyframes err-in { from { opacity: 0; transform: translateY(-4px); } }
.field-hint { margin-top: 8px; font-size: 13px; color: var(--muted); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { margin-bottom: 18px; padding: 12px 14px; border: 1px solid rgba(240, 160, 138, 0.4); background: rgba(240, 160, 138, 0.08); color: #f6c7b9; font-size: 14px; line-height: 1.5; border-radius: var(--r-sm); animation: err-in 0.35s var(--ease); }
.consent { margin-top: 16px; font-size: 12.5px; line-height: 1.6; color: var(--muted); text-align: center; }
.consent a { color: var(--text-2); text-underline-offset: 2px; transition: color 0.2s; }
.consent a:hover { color: var(--gold-light); }

.step-title { font-family: var(--display); font-weight: 600; font-size: 1.3rem; line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); outline: none; }
.step-copy { margin-top: 10px; color: var(--text-2); font-size: 0.96rem; }
.step-copy ~ .field, .step-copy + .form-alert { margin-top: 22px; }
.sent-to { color: var(--white); font-weight: 600; word-break: break-all; }
.step-links { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }

/* Step transitions */
.step.is-entering > * { animation: step-in 0.7s var(--ease) both; }
.step.is-entering > *:nth-child(2) { animation-delay: 0.05s; }
.step.is-entering > *:nth-child(3) { animation-delay: 0.1s; }
.step.is-entering > *:nth-child(4) { animation-delay: 0.15s; }
.step.is-entering > *:nth-child(5) { animation-delay: 0.2s; }
.step.is-entering > *:nth-child(6) { animation-delay: 0.25s; }
.step.is-entering > *:nth-child(7) { animation-delay: 0.3s; }
@keyframes step-in { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } }
.step.is-leaving { animation: step-out 0.28s var(--ease) both; }
@keyframes step-out { to { opacity: 0; transform: translateY(-10px); filter: blur(6px); } }

/* Envelope animation on the verify step */
.mail-anim { position: relative; width: 46px; height: 34px; margin-bottom: 18px; }
.mail-env { position: absolute; inset: 0; border-radius: 7px; border: 1.5px solid var(--gold); background: rgba(212, 166, 74, 0.08); }
.mail-flap { position: absolute; left: 4px; right: 4px; top: 3px; height: 18px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg) skew(10deg, 10deg) scale(0.68); transform-origin: center; top: -4px; }
.mail-dot { position: absolute; right: -5px; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 10px rgba(246, 226, 162, 0.8); }
.step.is-entering .mail-anim { animation: mail-in 0.9s var(--spring) both; }
.step.is-entering .mail-dot { animation: dot-pop 0.6s var(--spring) 0.6s both; }
@keyframes mail-in { from { opacity: 0; transform: translate(-30px, 10px) rotate(-12deg); } }
@keyframes dot-pop { from { transform: scale(0); } }

/* One-time code */
.otp { position: relative; }
.otp input { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; padding: 0; opacity: 0.001; color: transparent; caret-color: transparent; border: 0; background: transparent; box-shadow: none !important; }
.otp-slots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; }
.otp-slots span {
  position: relative;
  height: 56px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  font: 600 1.4rem/1 var(--display);
  color: var(--gold-light);
  transition: border-color 0.3s, box-shadow 0.35s var(--ease), background-color 0.4s, color 0.4s, transform 0.4s var(--ease);
}
.otp.is-focused .otp-slots span.is-active { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 166, 74, 0.15); transform: translateY(-2px); }
.otp.is-focused .otp-slots span.is-active:empty::after { content: ""; width: 1.5px; height: 22px; background: var(--gold-light); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.otp-slots span.is-filled { animation: pop 0.35s var(--spring); }
@keyframes pop { from { transform: scale(0.7); } }
.otp.is-invalid .otp-slots span { border-color: var(--danger); color: var(--danger); }
.otp.is-shake .otp-slots { animation: shake 0.42s; }
@keyframes shake { 15%, 55% { transform: translateX(-7px); } 35%, 75% { transform: translateX(7px); } 90% { transform: translateX(-2px); } }

/* Verifying: slots ripple in a wave while a light beam scans across */
.otp-scan { position: absolute; inset: -4px; z-index: 2; border-radius: var(--r-sm); pointer-events: none; overflow: hidden; opacity: 0; }
.otp-scan::before { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -40%; background: linear-gradient(90deg, transparent, rgba(246, 226, 162, 0.55), transparent); filter: blur(2px); }
.otp.is-verifying .otp-scan { opacity: 1; }
.otp.is-verifying .otp-scan::before { animation: scan 1s var(--ease-in-out) infinite; }
@keyframes scan { to { left: 100%; } }
.otp.is-verifying .otp-slots span { animation: wave 1s var(--ease-in-out) infinite; border-color: rgba(212, 166, 74, 0.55); }
.otp.is-verifying .otp-slots span:nth-child(2) { animation-delay: 0.08s; }
.otp.is-verifying .otp-slots span:nth-child(3) { animation-delay: 0.16s; }
.otp.is-verifying .otp-slots span:nth-child(4) { animation-delay: 0.24s; }
.otp.is-verifying .otp-slots span:nth-child(5) { animation-delay: 0.32s; }
.otp.is-verifying .otp-slots span:nth-child(6) { animation-delay: 0.4s; }
@keyframes wave { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-6px); box-shadow: 0 8px 18px -8px rgba(246, 226, 162, 0.6); } }
.otp.is-verified .otp-slots span { background: linear-gradient(160deg, #f6e2a2, #c9973f); border-color: transparent; color: #1b1306; transform: scale(0.94); box-shadow: 0 8px 22px -10px rgba(246, 226, 162, 0.7); transition-delay: calc(var(--i, 0) * 60ms); }
.otp-check { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; pointer-events: none; }
.otp-check svg { width: 46px; height: 46px; padding: 9px; border-radius: 50%; background: #0b0906; border: 1.5px solid var(--gold-light); color: var(--gold-light); opacity: 0; transform: scale(0.4); box-shadow: 0 0 0 6px rgba(11, 9, 6, 0.55), 0 0 24px rgba(246, 226, 162, 0.55); }
.otp.is-verified .otp-check svg { animation: check-in 0.6s var(--spring) 0.35s forwards; }
.otp-check path { stroke-dasharray: 24; stroke-dashoffset: 24; }
.otp.is-verified .otp-check path { animation: draw 0.5s var(--ease) 0.45s forwards; }
@keyframes check-in { to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

.btn.is-ready-pulse { animation: ready-pulse 1.6s var(--ease) 3; }
@keyframes ready-pulse { 0%, 100% { box-shadow: inset 0 1px 0 rgba(255, 248, 225, 0.6), 0 0 0 0 rgba(246, 226, 162, 0.55); } 50% { box-shadow: inset 0 1px 0 rgba(255, 248, 225, 0.6), 0 0 0 10px rgba(246, 226, 162, 0); } }

/* Success */
.step-success { text-align: center; }
.success-mark { position: relative; width: 56px; height: 61px; margin: 6px auto 22px; }
.success-mark img { position: relative; z-index: 1; width: 56px; height: auto; }
.success-ring { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 1px solid rgba(246, 226, 162, 0.5); opacity: 0; }
.step-success.is-entering .success-ring { animation: ring-out 1.2s var(--ease) 0.15s; }
@keyframes ring-out { 0% { opacity: 1; transform: scale(0.3); } 100% { opacity: 0; transform: scale(1.5); } }
.step-success.is-entering .success-mark img { animation: award 1.1s var(--spring) both; }
@keyframes award { 0% { opacity: 0; transform: translateY(26px) scale(0.6) rotateY(-180deg); } 100% { opacity: 1; transform: none; } }
.particles { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.particles i { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 8px rgba(246, 226, 162, 0.9); animation: particle 1.1s var(--ease) forwards; }
.particles i.sq { border-radius: 1px; width: 5px; height: 9px; background: var(--gold); }
@keyframes particle { 0% { transform: translate(0, 0) scale(1); opacity: 1; } 100% { transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(0.4); opacity: 0; } }
.success-title { font-size: 1.45rem; background: var(--metal); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 4s linear infinite; }
.success-lead { margin-top: 10px; font-family: var(--display); font-weight: 500; font-size: 1rem; color: var(--white); }
.step-success .btn { margin-top: 24px; }

/* ================= Footer ================= */

.site-footer { padding: 56px 0 calc(30px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--black); text-align: center; }
.footer-logo { display: inline-block; transition: transform 0.5s var(--ease), filter 0.5s; }
.footer-logo:hover { transform: translateY(-2px); filter: drop-shadow(0 0 14px rgba(246, 226, 162, 0.35)); }
.footer-logo img { width: 190px; height: auto; margin-inline: auto; }
.footer-about { max-width: 30rem; margin: 18px auto 0; font-size: 14px; color: var(--muted); }
.footer-links { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 22px; }
.footer-links a { position: relative; display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; color: var(--text-2); text-decoration: none; transition: color 0.25s; }
.footer-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease); }
.footer-links a:hover { color: var(--gold-light); }
.footer-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer-social { margin-top: 18px; display: flex; justify-content: center; gap: 10px; }
.social-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease), color 0.25s, border-color 0.25s, background-color 0.25s, box-shadow 0.35s var(--ease);
}
.social-btn svg { width: 15px; height: 15px; fill: currentColor; }
@media (hover: hover) {
  .social-btn:hover { color: #1b1306; background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(246, 226, 162, 0.7); }
}
.social-btn:active { transform: scale(0.92); }
.footer-copy { margin-top: 18px; font-size: 12.5px; color: var(--muted); }

/* ================= Legal and utility pages ================= */

.page { padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 44px); padding-bottom: 80px; min-height: 70vh; }
.page-head { margin-bottom: 34px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.page-title { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 1.3rem + 2vw, 2.5rem); line-height: 1.15; color: var(--white); outline: none; }
.page-meta { margin-top: 10px; color: var(--muted); font-size: 14px; }
.legal { max-width: 46rem; }
.legal h2 { margin: 36px 0 10px; font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--white); }
.legal p, .legal li { color: var(--text-2); }
.legal p + p { margin-top: 0.9em; }
.legal ul { margin-top: 10px; display: grid; gap: 8px; }
.legal li { position: relative; padding-left: 20px; }
.legal li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.legal a { color: var(--gold-light); text-underline-offset: 2px; }
.center-card { max-width: 30rem; margin-inline: auto; text-align: center; }
.center-card .trophy-sm { width: 52px; margin: 0 auto 22px; animation: float 4s var(--ease-in-out) infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }
.center-card .btn { margin-top: 22px; }
.center-card .form-alert { margin: 20px 0 0; text-align: left; }
.lead-muted { margin-top: 12px; color: var(--text-2); }
.site-header.is-solid::before { opacity: 1; }

/* ================= Tablet ================= */

@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .trophy3d { width: 124px; }
  .hero-actions { flex-direction: row; justify-content: center; max-width: none; }
  .frames { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .frames li { min-height: 128px; }
  .frames .frame-more { grid-column: span 2; }
  .frame-name { font-size: 15px; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .pillars li { justify-content: center; }
  .panel-inner { padding: 36px 34px 30px; }
  .otp-slots { gap: 10px; }
  .otp-slots span { height: 62px; }
  .section { padding-block: 110px; }
}

/* ================= Desktop ================= */

@media (min-width: 960px) {
  :root { --header-h: 74px; }
  .brand-mark { width: 22px; }
  .brand-name { font-size: 12.5px; }
  .nav-toggle { display: none; }
  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 5px 5px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    backdrop-filter: blur(16px) saturate(1.3);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav-links { display: flex; align-items: center; gap: 2px; }
  .nav-links li { opacity: 1; transform: none; }
  .nav-links a {
    position: relative;
    min-height: 36px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--text-2);
    transition: color 0.25s, background-color 0.3s;
  }
  .nav-links a:hover, .nav-links a.is-current { color: var(--white); background: rgba(255, 255, 255, 0.07); }
  .nav-links a.is-current { color: var(--gold-light); }
  .nav-links a:active { transform: scale(0.95); }
  .nav-cta { width: auto; margin: 0 0 0 6px; min-height: 36px; }

  .streak { width: 520px; height: 520px; }
  .streak-tl { top: -200px; left: -210px; }
  .streak-br { bottom: -200px; right: -210px; }
  .hero { min-height: min(100vh, 980px); }
  .trophy3d { width: 148px; margin-bottom: 36px; }
  .hero-lede { font-size: 1.07rem; }
  .hero-actions { margin-top: 36px; gap: 14px; }

  .about-grid { grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: end; }
  .section-top { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
  .frames { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .frames li { min-height: 146px; padding: 18px; }
  .frame-name { font-size: 16px; }
  .frames .frame-more { grid-column: span 2; min-height: 146px; }

  .vision-grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .vision-head { position: sticky; top: calc(var(--header-h) + 40px); }
  .roadmap li { padding-bottom: 40px; padding-left: 64px; }
  .roadmap-line { left: 17px; }
  .node { width: 35px; height: 35px; }
  .roadmap h3 { font-size: 1.18rem; padding-top: 5px; }

  .panel-inner { padding: 42px 42px 34px; }
  .step-title { font-size: 1.45rem; }
  .section { padding-block: 132px; }
}

/* ================= Reduced motion ================= */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal], .js [data-stagger] > *, .js [data-split-done] .char, .js [data-split-done] .wi, .js [data-hero-in], .js .trophy3d { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .t-spin { animation: none; transform: none; }
  .dust, .aurora, .t-twinkle { display: none; }
  .scrub .sw { color: var(--white); }
  .is-loading .spinner { animation: spin 1.4s linear infinite !important; }
  .otp.is-verifying .otp-slots span { animation: none !important; }
}

@media (max-width: 479px) { .header-cta { display: none; } }

/* ================= Language switcher ================= */

.header-row { gap: 10px; }
.brand { margin-inline-end: auto; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  list-style: none;
  cursor: pointer;
  color: var(--text);
  font: 600 11px/1 var(--display);
  letter-spacing: 0.12em;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: transform 0.25s var(--ease), border-color 0.3s, color 0.3s, background-color 0.3s;
}
.lang-btn::-webkit-details-marker { display: none; }
.lang-btn::marker { content: ""; }
.lang-globe { width: 15px; height: 15px; color: var(--gold); transition: transform 0.6s var(--ease); }
.lang-switch[open] .lang-globe { transform: rotate(180deg); }
@media (hover: hover) { .lang-btn:hover { border-color: rgba(243, 220, 154, 0.5); color: var(--gold-light); } }
.lang-btn:active { transform: scale(0.94); }
.lang-switch[open] .lang-btn { border-color: var(--gold); color: var(--gold-light); }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 70;
  width: 224px;
  max-height: min(70vh, 430px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px;
  border-radius: var(--r-md);
  background: rgba(14, 12, 9, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.85);
  transform-origin: top right;
  animation: menu-in 0.35s var(--ease);
}
[dir="rtl"] .lang-menu { transform-origin: top left; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px) scale(0.96); } }
.lang-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.lang-menu a:hover { background: rgba(255, 255, 255, 0.07); }
.lang-menu a:active { transform: scale(0.97); }
.lang-menu a[aria-current="true"] { color: var(--gold-light); background: rgba(212, 166, 74, 0.1); }
.lang-code { font: 600 10px/1 var(--display); letter-spacing: 0.12em; color: var(--muted); }
.lang-menu a[aria-current="true"] .lang-code { color: var(--gold); }
@media (max-width: 380px) { .lang-btn span { display: none; } .lang-btn { width: 38px; padding: 0; justify-content: center; } }

/* ================= Right-to-left (Arabic) ================= */

[dir="rtl"] .about-copy .about-lead { border-left: 0; border-right: 2px solid var(--gold); padding: 4px 18px 4px 0; }
[dir="rtl"] .roadmap-line { left: auto; right: 15px; }
[dir="rtl"] .roadmap li { padding: 0 52px 30px 0; }
[dir="rtl"] .roadmap li:last-child { padding-bottom: 0; }
[dir="rtl"] .node { left: auto; right: 0; }
[dir="rtl"] .field.float label { left: auto; right: 17px; transform-origin: right top; }
[dir="rtl"] .field select { padding: 20px 16px 6px 44px; }
[dir="rtl"] .select-chevron { right: auto; left: 16px; }
[dir="rtl"] .btn-icon { transform: scaleX(-1); }
@media (hover: hover) { [dir="rtl"] .btn-gold:hover .btn-icon { transform: scaleX(-1) translateX(4px); } }
[dir="rtl"] .nav-menu { transform-origin: top left; }
[dir="rtl"] .legal li { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .legal li::before { left: auto; right: 2px; }
[dir="rtl"] .pillars li, [dir="rtl"] .center-card .form-alert { text-align: right; }
/* Codes and email addresses always read left to right. */
.otp, .field input[type="email"], .sent-to { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .field input[type="email"] { text-align: right; }
@media (min-width: 960px) {
  [dir="rtl"] .roadmap-line { right: 17px; }
  [dir="rtl"] .roadmap li { padding-left: 0; padding-right: 64px; }
}

/* ================= Script-specific typography ================= */

/* Letter spacing breaks joined scripts (Arabic) and Devanagari clusters. */
html[lang="ar"] *, html[lang="hi"] * { letter-spacing: 0 !important; }
html[lang="ar"] body { --body: "Manrope", "Noto Sans Arabic", "Segoe UI", Tahoma, "Geeza Pro", sans-serif; --display: "Montserrat", "Noto Kufi Arabic", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif; }
html[lang="hi"] body { --body: "Manrope", "Noto Sans Devanagari", "Nirmala UI", "Kohinoor Devanagari", sans-serif; --display: "Montserrat", "Noto Sans Devanagari", "Nirmala UI", sans-serif; }
html[lang="ar"] .hero-title, html[lang="ar"] .display, html[lang="ar"] .heading,
html[lang="hi"] .hero-title, html[lang="hi"] .display, html[lang="hi"] .heading { line-height: 1.45; }
html[lang="ja"] body, html[lang="zh-Hans"] body { line-break: strict; }
html[lang="ko"] body { word-break: keep-all; }
html[lang="ja"] :is(.hero-title, .heading, .step-title, .btn, .nav-links a, .marquee-track span, .pillars li, .label-static, .field label, .brand-name),
html[lang="ko"] :is(.hero-title, .heading, .step-title, .btn, .nav-links a, .marquee-track span, .pillars li, .label-static, .field label, .brand-name),
html[lang="zh-Hans"] :is(.hero-title, .heading, .step-title, .btn, .nav-links a, .marquee-track span, .pillars li, .label-static, .field label, .brand-name) { letter-spacing: 0.04em; }
html[lang="ja"] .hero-title, html[lang="ko"] .hero-title, html[lang="zh-Hans"] .hero-title { line-height: 1.35; }
