/* ===========================================================
   Taption Media presents Miss & Mrs Wave Queen 2026
   Black stage, gold accent (Wave Queen), Taption blue/green/red
   (backer signature). Fonts are self-hosted.
   Shape rule: pills for buttons/chips, 20px for panels, 12px for inputs.
   =========================================================== */

@font-face{
  font-family:'Bricolage Grotesque'; font-style:normal; font-weight:500 800; font-stretch:75% 100%; font-display:swap;
  src:url('/fonts/bricolage-latin.woff2') format('woff2');
}
@font-face{
  font-family:'Manrope'; font-style:normal; font-weight:400 800; font-display:swap;
  src:url('/fonts/manrope-latin.woff2') format('woff2');
}

:root{
  color-scheme:dark;
  --bg:#07080b;
  --bg-2:#0d0f15;
  --surface:#13161e;
  --surface-2:#1b1f2a;
  --line:rgba(255,255,255,.09);
  --line-2:rgba(255,255,255,.16);
  --text:#f4f0e6;
  --muted:#b8b5bd;
  --dim:#8f8d96;

  /* Wave Queen gold */
  --accent:#e6bd62;
  --accent-2:#f2dfa8;
  --accent-ink:#1b1407;
  --accent-soft:rgba(230,189,98,.14);

  /* Taption Media brand colours (from the logo) */
  --tm-blue:#0098fd;
  --tm-green:#8fb127;
  --tm-red:#980000;

  /* semantic status only, never decoration */
  --ok:#5ccfae;
  --warn:#ee6a7e;

  --r-panel:20px;
  --r-input:12px;

  --ff-display:'Bricolage Grotesque','Segoe UI',system-ui,sans-serif;
  --ff-body:'Manrope','Segoe UI',system-ui,sans-serif;
  --ff-serif:Georgia,'Times New Roman','Noto Serif',serif;

  --container:1240px;
  --nav-h:84px;
  --ease:cubic-bezier(.16,1,.3,1);

  /* legacy aliases used by inline styles on legal pages */
  --gold:var(--accent); --gold-light:var(--accent-2);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:calc(var(--nav-h) + 20px); -webkit-text-size-adjust:100%; }
body{
  margin:0; background:var(--bg); color:var(--text); font-family:var(--ff-body);
  font-size:16px; line-height:1.65; -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
img,svg{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul,ol{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; color:inherit; }
input,select,textarea{ font-family:inherit; font-size:1rem; color:var(--text); }
h1,h2,h3,h4{ font-family:var(--ff-display); font-weight:700; margin:0; letter-spacing:-.02em; line-height:1.08; font-optical-sizing:auto; }
p{ margin:0; }
::selection{ background:var(--accent); color:var(--accent-ink); }
:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; border-radius:4px; }

/* film grain: ONE fixed layer, never on scrolling content */
body::after{
  content:''; position:fixed; inset:0; z-index:200; pointer-events:none; opacity:.028;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip-link{ position:absolute; left:12px; top:-60px; z-index:300; background:var(--accent); color:var(--accent-ink); padding:10px 16px; border-radius:100px; font-weight:700; }
.skip-link:focus{ top:12px; }

.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 28px; }
.ic{ width:1.15em; height:1.15em; flex:none; }

/* ---------- event state switching (set on <html data-state>) ---------- */
html[data-state=open]    [data-only]:not([data-only~=open]),
html[data-state=closing] [data-only]:not([data-only~=closing]),
html[data-state=closed]  [data-only]:not([data-only~=closed]),
html[data-state=live]    [data-only]:not([data-only~=live]),
html[data-state=ended]   [data-only]:not([data-only~=ended]){ display:none !important; }

/* ---------- type & utilities ---------- */
.serif{ font-family:var(--ff-serif); font-style:italic; font-weight:400; letter-spacing:-.01em; }
.eyebrow{ display:inline-flex; align-items:center; gap:10px; font-size:.78rem; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--accent-2); margin-bottom:16px; }
.eyebrow::before{ content:''; width:28px; height:1px; background:var(--accent); }
.section{ padding:120px 0; position:relative; }
.section.tone-2{ background:var(--bg-2); border-block:1px solid var(--line); }
.section-head{ max-width:760px; margin-bottom:56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head.center .eyebrow{ justify-content:center; }
.section-title{ font-size:clamp(2.1rem,4.4vw,3.5rem); }
.section-title .serif{ font-size:1.04em; }
.section-sub{ color:var(--muted); margin-top:18px; font-size:1.08rem; max-width:62ch; }
.section-head.center .section-sub{ margin-left:auto; margin-right:auto; }
.accent{ color:var(--accent); }
.link{ color:var(--accent-2); text-decoration:underline; text-decoration-color:rgba(242,223,168,.35); text-underline-offset:4px; transition:text-decoration-color .2s; }
.link:hover{ text-decoration-color:var(--accent-2); }
.content-main a:not(.btn){ color:var(--accent-2); text-decoration:underline; text-decoration-color:rgba(242,223,168,.35); text-underline-offset:4px; }
.note{ font-size:.82rem; color:var(--dim); margin-top:16px; }
.split{ display:grid; grid-template-columns:1.1fr .9fr; gap:72px; align-items:center; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:15px 28px; border-radius:100px;
  font-weight:700; font-size:.94rem; letter-spacing:.01em; border:1px solid transparent; white-space:nowrap;
  transition:transform .25s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .25s;
}
.btn .ic{ transition:transform .25s var(--ease); }
.btn:hover .ic:last-child{ transform:translateX(3px); }
.btn:active{ transform:scale(.98); }
.btn-primary{ background:linear-gradient(135deg,var(--accent-2),var(--accent)); color:var(--accent-ink); box-shadow:0 14px 34px -14px rgba(230,189,98,.75); }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 18px 40px -12px rgba(230,189,98,.85); }
.btn-ghost{ background:rgba(255,255,255,.04); border-color:var(--line-2); color:var(--text); }
.btn-ghost:hover{ border-color:var(--accent); color:var(--accent-2); }
.btn-sm{ padding:10px 20px; font-size:.86rem; }
.btn-lg{ padding:18px 34px; font-size:1rem; }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:.55; pointer-events:none; }

/* ---------- reveal ---------- */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
.d1{ transition-delay:.08s; } .d2{ transition-delay:.16s; } .d3{ transition-delay:.24s; }
.no-js .reveal{ opacity:1; transform:none; }

/* ---------- announcement bar ---------- */
.announce{ background:linear-gradient(90deg,var(--accent),var(--accent-2),var(--accent)); color:var(--accent-ink); font-size:.84rem; font-weight:600; position:relative; z-index:101; }
html[data-state=closing] .announce{ background:var(--warn); color:#1d0509; }
html[data-state=closed] .announce, html[data-state=live] .announce{ background:var(--surface-2); color:var(--text); border-bottom:1px solid var(--line); }
.announce-inner{ display:flex; align-items:center; justify-content:center; gap:20px; padding-top:9px; padding-bottom:9px; }
.announce-text{ line-height:1.35; }
.announce-live{ font-weight:800; margin-right:6px; }
.announce-cd{ font-variant-numeric:tabular-nums; font-weight:800; padding:3px 12px; border-radius:100px; background:rgba(0,0,0,.14); white-space:nowrap; }
.announce-text .short{ display:none; }
.announce-link{ display:inline-flex; align-items:center; gap:6px; font-weight:800; text-decoration:underline; text-underline-offset:3px; white-space:nowrap; }

/* ---------- nav: both logos always visible ---------- */
.nav{ position:sticky; top:0; z-index:100; height:var(--nav-h); background:rgba(7,8,11,.86); backdrop-filter:blur(16px) saturate(1.3); -webkit-backdrop-filter:blur(16px) saturate(1.3); border-bottom:1px solid var(--line); }
.nav .container{ height:100%; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand-pair{ display:flex; align-items:center; gap:18px; min-width:0; }
.brand{ display:inline-flex; align-items:center; color:var(--text); flex:none; }
.brand-logo{ height:64px; width:auto; }
.brand-logo-lg{ height:104px; }
.brand-x{ width:1px; height:44px; background:linear-gradient(transparent,var(--line-2),transparent); flex:none; }
.brand-wq{ display:inline-flex; align-items:center; gap:12px; min-width:0; }
.brand-wq-mark{ height:58px; width:auto; flex:none; filter:drop-shadow(0 0 14px rgba(230,189,98,.28)); }
.brand-wq-text{ display:flex; flex-direction:column; line-height:1.15; }
.brand-wq-text b{ font-family:var(--ff-serif); font-style:italic; font-weight:400; font-size:1.18rem; color:var(--accent-2); letter-spacing:.01em; white-space:nowrap; }
.brand-wq-text small{ font-size:.66rem; letter-spacing:.2em; text-transform:uppercase; color:var(--dim); font-weight:700; }
.nav-links{ display:flex; align-items:center; gap:2px; }
.nav-links > a{
  font-size:.9rem; font-weight:600; color:var(--muted); padding:9px 14px; border-radius:100px;
  transition:color .2s, background .2s; white-space:nowrap;
}
.nav-links > a:hover, .nav-links a[aria-current=page]{ color:var(--text); background:rgba(255,255,255,.06); }
.nav-cta{ display:flex; align-items:center; gap:12px; }
.nav-toggle{ display:none; width:42px; height:42px; border-radius:50%; border:1px solid var(--line-2); background:rgba(255,255,255,.04); align-items:center; justify-content:center; }
.nav-toggle span{ position:relative; width:16px; height:1.5px; background:var(--text); display:block; transition:background .2s; }
.nav-toggle span::before,.nav-toggle span::after{ content:''; position:absolute; left:0; width:16px; height:1.5px; background:var(--text); transition:transform .3s var(--ease); }
.nav-toggle span::before{ top:-5px; } .nav-toggle span::after{ top:5px; }
.nav-toggle[aria-expanded=true] span{ background:transparent; }
.nav-toggle[aria-expanded=true] span::before{ transform:translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded=true] span::after{ transform:translateY(-5px) rotate(-45deg); }

/* mobile drawer */
.drawer{ position:fixed; left:0; right:0; bottom:0; top:var(--drawer-top,100px); z-index:99; background:rgba(7,8,11,.98); backdrop-filter:blur(14px); opacity:0; visibility:hidden; transform:translateY(-8px); transition:opacity .3s, transform .4s var(--ease), visibility .3s; }
.drawer.open{ opacity:1; visibility:visible; transform:none; }
.drawer-scroll{ height:100%; overflow-y:auto; padding:24px 28px 120px; display:flex; flex-direction:column; gap:2px; }
.drawer a{ font-family:var(--ff-display); font-size:1.5rem; font-weight:600; padding:10px 0; border-bottom:1px solid var(--line); }
.drawer-feature{ display:flex !important; flex-direction:column; align-items:flex-start; gap:4px; background:var(--surface); border:1px solid rgba(230,189,98,.4) !important; border-radius:var(--r-panel); padding:20px 56px 20px 22px !important; position:relative; margin-bottom:12px; }
.drawer-feature small{ font-family:var(--ff-body); font-size:.78rem; color:var(--accent-2); font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.drawer-feature b{ font-size:1.35rem; }
.drawer-feature .ic{ position:absolute; right:20px; top:50%; transform:translateY(-50%); color:var(--accent); }
body.menu-open{ overflow:hidden; }

/* ---------- countdown ---------- */
.cd{ display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:14px; }
.cd-unit{ background:rgba(255,255,255,.05); border:1px solid var(--line); border-radius:16px; padding:16px 6px 12px; text-align:center; }
.cd-unit b{ display:block; font-family:var(--ff-display); font-weight:700; font-size:clamp(1.9rem,4vw,2.6rem); line-height:1; font-variant-numeric:tabular-nums; color:var(--text); letter-spacing:-.02em; }
.cd-unit span{ display:block; margin-top:8px; font-size:.68rem; letter-spacing:.16em; text-transform:uppercase; color:var(--dim); font-weight:700; }
.cd-note{ margin:12px 0 4px; font-size:.82rem; color:var(--muted); }
html[data-state=closing] .cd-unit b{ color:var(--warn); }

/* ---------- status badge ---------- */
.badge{ display:inline-flex; align-items:center; gap:10px; padding:8px 16px 8px 12px; border-radius:100px; border:1px solid var(--line-2); background:rgba(255,255,255,.05); font-size:.82rem; font-weight:700; color:var(--text); }
.badge i{ width:8px; height:8px; border-radius:50%; background:var(--ok); box-shadow:0 0 0 4px rgba(92,207,174,.2); }
html[data-state=closing] .badge i, html[data-state=live] .badge i{ background:var(--warn); box-shadow:0 0 0 4px rgba(238,106,126,.22); }
html[data-state=closed] .badge i, html[data-state=ended] .badge i{ background:var(--dim); box-shadow:none; }
@media (prefers-reduced-motion:no-preference){
  html[data-state=open] .badge i, html[data-state=closing] .badge i, html[data-state=live] .badge i{ animation:pulse 2s infinite; }
}
@keyframes pulse{ 50%{ opacity:.45; } }

/* ---------- hero ---------- */
.hero{ position:relative; padding:64px 0 88px; overflow:hidden; }
.hero-glow{ position:absolute; inset:0; pointer-events:none; background:
  radial-gradient(48% 60% at 78% 38%,rgba(230,189,98,.17),transparent 66%),
  radial-gradient(40% 50% at 8% 90%,rgba(0,152,253,.08),transparent 66%),
  radial-gradient(30% 40% at 96% 100%,rgba(143,177,39,.07),transparent 70%); }
.hero .container{ position:relative; z-index:2; }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.presents{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-bottom:26px; }
.presents-label{ font-size:.74rem; letter-spacing:.22em; text-transform:uppercase; color:var(--tm-blue); font-weight:800; }
.hero h1{ font-size:clamp(2.8rem,6.4vw,5.6rem); letter-spacing:-.04em; line-height:1; }
.hero h1 .serif{ display:inline-block; font-size:1.05em; background:linear-gradient(135deg,var(--accent-2),var(--accent)); -webkit-background-clip:text; background-clip:text; color:transparent; padding-right:.06em; }
.hero-tag{ margin-top:18px; font-family:var(--ff-serif); font-style:italic; font-size:clamp(1.3rem,2.4vw,1.8rem); color:var(--accent-2); }
.lead{ margin-top:22px; font-size:1.14rem; color:var(--muted); max-width:54ch; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:12px; margin-top:34px; }
.hero-facts{ display:flex; flex-wrap:wrap; gap:14px 36px; margin-top:44px; padding-top:28px; border-top:1px solid var(--line); }
.hero-facts li{ display:flex; align-items:center; gap:14px; }
.hero-facts .ic{ width:34px; height:34px; padding:8px; border-radius:50%; background:var(--accent-soft); color:var(--accent-2); }
.hero-facts small{ display:block; font-size:.66rem; letter-spacing:.18em; text-transform:uppercase; color:var(--dim); font-weight:700; }
.hero-facts b{ font-family:var(--ff-display); font-size:1.02rem; line-height:1.2; }

.hero-stage{ display:flex; flex-direction:column; align-items:center; gap:22px; position:relative; }
.emblem-wrap{ position:relative; width:min(100%,430px); aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; }
.emblem-wrap::before{ content:''; position:absolute; inset:6%; border-radius:50%; background:radial-gradient(closest-side,rgba(230,189,98,.2),transparent 72%); }
.emblem-wrap::after{ content:''; position:absolute; inset:2%; border-radius:50%; border:1px solid rgba(230,189,98,.18); }
.hero-emblem{ position:relative; z-index:2; width:78%; height:auto; filter:drop-shadow(0 20px 50px rgba(230,189,98,.28)); }
@media (prefers-reduced-motion:no-preference){ .hero-emblem{ animation:float 7s ease-in-out infinite; } }
@keyframes float{ 50%{ transform:translateY(-10px); } }
.wq-hero-card{ width:100%; max-width:480px; background:rgba(19,22,30,.78); border:1px solid rgba(230,189,98,.28); border-radius:var(--r-panel); padding:26px 28px 28px; backdrop-filter:blur(14px); box-shadow:0 30px 70px -30px rgba(0,0,0,.85); }
.wq-hero-card .field-label{ font-size:.74rem; letter-spacing:.2em; text-transform:uppercase; font-weight:800; color:var(--accent-2); }
.wq-hero-card h2{ font-size:1.5rem; margin-bottom:6px; }
.wq-hero-card .sub{ color:var(--muted); font-size:.92rem; margin-bottom:18px; }
.wq-hero-card .btn{ margin-top:12px; }

/* ---------- backer strip + card (Taption Media) ---------- */
.backer-strip{ border-block:1px solid var(--line); background:linear-gradient(180deg,var(--bg-2),var(--bg)); position:relative; }
.backer-strip::before{ content:''; position:absolute; left:0; right:0; top:-1px; height:2px; background:linear-gradient(90deg,var(--tm-blue),var(--tm-green),var(--tm-red)); opacity:.85; }
.backer-strip-inner{ display:flex; align-items:center; gap:28px; padding-top:26px; padding-bottom:26px; }
.backer-label{ font-size:.72rem; letter-spacing:.22em; text-transform:uppercase; color:var(--dim); font-weight:800; white-space:nowrap; }
.backer-logo{ height:84px; width:auto; flex:none; }
.backer-line{ color:var(--muted); font-size:.95rem; max-width:60ch; }
.backer-card{ display:grid; grid-template-columns:auto 1fr; gap:64px; align-items:center; padding:56px 60px; border-radius:28px; border:1px solid var(--line-2); background:linear-gradient(160deg,#171a24,#0b0d12); position:relative; overflow:hidden; }
.backer-card::before{ content:''; position:absolute; left:0; right:0; top:0; height:3px; background:linear-gradient(90deg,var(--tm-blue),var(--tm-green),var(--tm-red)); }
.backer-logo-xl{ width:min(300px,100%); height:auto; }
.backer-copy .hero-actions{ margin-top:28px; }

/* ---------- about / perks ---------- */
.check-list{ margin-top:22px; display:flex; flex-direction:column; gap:14px; }
.check-list li{ display:flex; gap:12px; align-items:flex-start; color:var(--muted); line-height:1.65; }
.check-list .ic{ color:var(--accent); margin-top:4px; width:18px; height:18px; }
.check-list strong{ color:var(--text); }
#pageant .check-list{ margin-top:0; padding:34px 36px; border-radius:var(--r-panel); background:var(--surface); border:1px solid var(--line); }

/* ---------- categories ---------- */
.cats{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.cat{ position:relative; padding:28px 26px 24px; border-radius:var(--r-panel); background:var(--surface); border:1px solid var(--line); overflow:hidden; min-height:200px; transition:border-color .3s, transform .5s var(--ease); }
.cat:hover{ border-color:rgba(230,189,98,.5); transform:translateY(-4px); }
.cat .ic{ width:26px; height:26px; color:var(--accent-2); }
.cat h3{ font-size:1.9rem; margin:18px 0 8px; letter-spacing:-.03em; }
.cat p{ color:var(--muted); font-size:.92rem; }

/* ---------- programme ---------- */
.days{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.day{ position:relative; padding:36px 32px; border-radius:var(--r-panel); border:1px solid var(--line); background:linear-gradient(170deg,var(--surface),var(--bg-2)); min-height:290px; display:flex; flex-direction:column; justify-content:flex-end; overflow:hidden; }
.day::before{ content:''; position:absolute; right:-40px; top:-40px; width:180px; height:180px; border-radius:50%; background:radial-gradient(closest-side,rgba(230,189,98,.12),transparent); }
.day-finale{ border-color:rgba(230,189,98,.5); background:linear-gradient(170deg,#241d0c,#0e0f14 70%); }
.day-num{ font-family:var(--ff-display); font-weight:700; font-size:clamp(3.4rem,7vw,5.4rem); line-height:.9; letter-spacing:-.045em; }
.day-num small{ display:block; font-size:.26em; color:var(--accent-2); letter-spacing:.02em; margin-top:10px; font-weight:600; }
.day h3{ font-size:1.3rem; margin-top:20px; }
.day p{ margin-top:8px; color:var(--muted); max-width:36ch; font-size:.95rem; }

/* ---------- how to apply ---------- */
.steps4{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.step4{ padding-top:22px; border-top:1px solid var(--line-2); }
.step4 b{ font-family:var(--ff-display); font-size:2.4rem; font-weight:700; color:var(--accent); letter-spacing:-.04em; line-height:1; display:block; margin-bottom:14px; }
.step4 h3{ font-size:1.1rem; margin-bottom:6px; }
.step4 p{ font-size:.9rem; color:var(--muted); }
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:56px; }
.info-card{ padding:32px; border-radius:var(--r-panel); background:var(--surface); border:1px solid var(--line); }
.info-card > .ic{ width:26px; height:26px; color:var(--accent-2); margin-bottom:16px; }
.info-card h3{ font-size:1.3rem; margin-bottom:10px; }
.info-card p, .info-card li{ color:var(--muted); font-size:.94rem; }
.info-card ul{ margin-top:10px; display:flex; flex-direction:column; gap:9px; }
.info-card li{ display:flex; gap:10px; align-items:flex-start; }
.info-card li .ic{ width:16px; height:16px; margin:4px 0 0; color:var(--accent); }

/* ---------- registration form ---------- */
.form-section{ background:radial-gradient(70% 60% at 50% 0%,rgba(230,189,98,.09),transparent 70%), var(--bg-2); border-block:1px solid var(--line); }
.form-emblem{ height:96px; width:auto; margin:0 auto 22px; filter:drop-shadow(0 8px 24px rgba(230,189,98,.3)); }
.deadline-note{ display:inline-flex; align-items:center; gap:10px; margin-top:22px; padding:10px 18px; border-radius:100px; border:1px solid rgba(230,189,98,.4); background:var(--accent-soft); color:var(--accent-2); font-size:.9rem; }
.deadline-note .ic{ width:1.1em; height:1.1em; }
.form-wrap{ background:var(--surface); border:1px solid var(--line); border-radius:28px; padding:48px 52px 52px; box-shadow:0 40px 90px -30px rgba(0,0,0,.7); max-width:900px; margin:0 auto; }
.wiz-progress{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:38px; }
.wiz-dot{ display:flex; align-items:center; gap:12px; padding-top:14px; border-top:3px solid var(--line-2); color:var(--dim); font-weight:700; font-size:.88rem; transition:color .3s, border-color .3s; }
.wiz-dot b{ width:28px; height:28px; border-radius:50%; border:1.5px solid currentColor; display:flex; align-items:center; justify-content:center; font-size:.8rem; flex:none; }
.wiz-dot.active{ color:var(--text); border-color:var(--accent); } .wiz-dot.active b{ background:var(--accent); border-color:var(--accent); color:var(--accent-ink); }
.wiz-dot.done{ color:var(--accent-2); border-color:var(--accent); } .wiz-dot.done b{ background:var(--accent-soft); }
.wiz-pane[hidden]{ display:none; }
.wiz-pane > h3{ font-size:1.5rem; margin-bottom:6px; }
.wiz-pane > .pane-sub{ color:var(--muted); margin-bottom:26px; font-size:.95rem; }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field.full{ grid-column:1 / -1; }
.field > label, .field-label{ font-size:.86rem; font-weight:700; color:var(--text); }
.field .req{ color:var(--warn); }
.field .opt{ color:var(--dim); font-weight:500; }
.field input[type=text],.field input[type=email],.field input[type=tel],.field input[type=date],.field input[type=number],.field select,.field textarea{
  background:var(--bg-2); border:1px solid var(--line-2); border-radius:var(--r-input); padding:14px 16px; color:var(--text); width:100%;
  transition:border-color .2s, background .2s, box-shadow .2s;
}
.field textarea{ resize:vertical; min-height:110px; }
.field input::placeholder,.field textarea::placeholder{ color:#7c7a84; }
.field input:focus,.field select:focus,.field textarea:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 3px rgba(230,189,98,.18); background:#12151d; }
.field select{ appearance:none; 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' stroke='%23b3b0b8' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 16px center; padding-right:38px; }
.field.invalid input,.field.invalid select,.field.invalid textarea,.field.invalid .upload{ border-color:var(--warn); }
.field-err{ display:none; color:#f5a4b1; font-size:.82rem; font-weight:600; }
.field.invalid .field-err{ display:block; }
.field-hint{ font-size:.8rem; color:var(--dim); }
.counter{ align-self:flex-end; font-size:.76rem; color:var(--dim); font-variant-numeric:tabular-nums; }

.upload{ border:1.5px dashed var(--line-2); border-radius:var(--r-panel); padding:22px; background:var(--bg-2); cursor:pointer; position:relative; display:flex; align-items:center; gap:18px; transition:border-color .2s, background .2s; }
.upload:hover, .upload.drag{ border-color:var(--accent); background:#12151d; }
.upload input{ position:absolute; inset:0; opacity:0; cursor:pointer; width:100%; height:100%; }
.upload .u-thumb{ width:76px; height:76px; border-radius:14px; background:var(--surface-2); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; color:var(--accent-2); flex:none; overflow:hidden; }
.upload .u-thumb img{ width:100%; height:100%; object-fit:cover; }
.upload .u-thumb .ic{ width:28px; height:28px; }
.upload .u-txt b{ display:block; font-size:.95rem; }
.upload .u-txt span{ display:block; font-size:.82rem; color:var(--muted); margin-top:2px; }
.upload .fname{ font-size:.82rem; color:var(--ok); font-weight:700; word-break:break-all; margin-top:4px; }

.checkline{ display:flex; align-items:flex-start; gap:12px; margin-top:26px; }
.checkline input{ margin-top:4px; accent-color:var(--accent); width:18px; height:18px; flex:none; }
.checkline label{ font-size:.9rem; color:var(--muted); }
.checkline.invalid label{ color:#f5a4b1; }

.wiz-nav{ display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:38px; flex-wrap:wrap; }
.form-footer{ margin-top:34px; display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.form-note{ font-size:.84rem; color:var(--dim); max-width:46ch; }
.form-status{ margin-top:24px; padding:18px 20px; border-radius:var(--r-input); font-size:.95rem; display:none; gap:12px; align-items:flex-start; }
.form-status.show{ display:flex; }
.form-status.ok{ background:rgba(92,207,174,.1); border:1px solid rgba(92,207,174,.4); color:#a8ecd9; }
.form-status.err{ background:rgba(238,106,126,.1); border:1px solid rgba(238,106,126,.4); color:#f7b3bd; }
.spinner{ width:16px; height:16px; border-radius:50%; border:2px solid rgba(0,0,0,.25); border-top-color:var(--accent-ink); animation:spin .7s linear infinite; display:none; }
.btn.loading .spinner{ display:inline-block; }
@keyframes spin{ to{ transform:rotate(360deg); } }
.hp-field{ position:absolute; left:-9999px; opacity:0; height:0; overflow:hidden; }
.success-card{ text-align:center; padding:28px 12px; }
.success-card .tick{ width:72px; height:72px; border-radius:50%; background:rgba(92,207,174,.14); border:1px solid rgba(92,207,174,.5); color:var(--ok); display:flex; align-items:center; justify-content:center; margin:0 auto 22px; }
.success-card .tick .ic{ width:34px; height:34px; stroke-width:2; }
.success-card h3{ font-size:1.9rem; }
.success-card p{ color:var(--muted); max-width:46ch; margin:12px auto 0; }

.closed-panel{ text-align:center; padding:64px 32px; border-radius:28px; border:1px solid var(--line-2); background:linear-gradient(160deg,#171a24,#0e1017); }
.closed-panel h2{ font-size:clamp(1.9rem,4vw,2.8rem); max-width:20ch; margin:0 auto; }
.closed-panel p{ color:var(--muted); max-width:54ch; margin:16px auto 0; }

/* ---------- FAQ ---------- */
.faq-list{ display:flex; flex-direction:column; gap:12px; max-width:860px; }
.faq-item{ border:1px solid var(--line); border-radius:16px; background:var(--surface); overflow:hidden; transition:border-color .3s; }
.faq-item.open{ border-color:rgba(230,189,98,.4); }
.faq-q{ width:100%; text-align:left; padding:22px 26px; background:none; border:0; font-weight:700; font-size:1.02rem; display:flex; justify-content:space-between; align-items:center; gap:18px; }
.faq-q .ic{ color:var(--accent-2); transition:transform .35s var(--ease); }
.faq-item.open .faq-q .ic{ transform:rotate(45deg); }
.faq-a{ display:grid; grid-template-rows:0fr; transition:grid-template-rows .4s var(--ease); }
.faq-item.open .faq-a{ grid-template-rows:1fr; }
.faq-a > div{ overflow:hidden; }
.faq-a-inner{ padding:0 26px 24px; color:var(--muted); line-height:1.75; }

/* ---------- footer ---------- */
.footer{ border-top:1px solid var(--line); padding:80px 0 32px; background:var(--bg); position:relative; }
.footer::before{ content:''; position:absolute; left:0; right:0; top:-1px; height:2px; background:linear-gradient(90deg,var(--tm-blue),var(--tm-green),var(--tm-red)); opacity:.85; }
.footer-cta{ display:flex; align-items:center; gap:36px; flex-wrap:wrap; padding-bottom:56px; margin-bottom:56px; border-bottom:1px solid var(--line); }
.footer-emblem{ height:150px; width:auto; flex:none; filter:drop-shadow(0 10px 30px rgba(230,189,98,.28)); }
.footer-cta > div:nth-child(2){ flex:1 1 320px; }
.footer-cta h2{ font-size:clamp(1.9rem,4vw,3rem); max-width:18ch; }
.footer-cta p{ color:var(--muted); margin-top:12px; }
.footer-cta-actions{ display:flex; gap:12px; flex-wrap:wrap; }
.footer-top{ display:flex; justify-content:space-between; gap:56px; flex-wrap:wrap; margin-bottom:56px; }
.footer-about{ max-width:380px; }
.footer-about p{ color:var(--muted); font-size:.92rem; margin-top:18px; }
.social-row{ display:flex; gap:10px; margin-top:22px; }
.social-row a{ width:42px; height:42px; border-radius:50%; border:1px solid var(--line-2); display:flex; align-items:center; justify-content:center; transition:border-color .2s,color .2s,transform .3s var(--ease); }
.social-row a:hover{ border-color:var(--accent); color:var(--accent-2); transform:translateY(-2px); }
.social-row .ic{ width:18px; height:18px; }
.footer-cols{ display:flex; gap:72px; flex-wrap:wrap; }
.footer-col h3{ font-family:var(--ff-body); font-size:.76rem; letter-spacing:.18em; text-transform:uppercase; color:var(--dim); margin-bottom:20px; font-weight:700; }
.footer-col li{ margin-bottom:11px; }
.footer-col a, .footer-col span{ color:var(--muted); font-size:.92rem; }
.footer-col a:hover{ color:var(--accent-2); }
.footer-bottom{ border-top:1px solid var(--line); padding-top:26px; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:.82rem; color:var(--dim); }

/* ---------- interior pages (contact, legal, 404) ---------- */
.page-hero{ position:relative; padding:80px 0 64px; overflow:hidden; background:
  radial-gradient(60% 70% at 90% 0%,rgba(230,189,98,.13),transparent 60%),
  radial-gradient(50% 60% at 0% 100%,rgba(0,152,253,.07),transparent 60%), var(--bg); border-bottom:1px solid var(--line); }
.page-hero .container{ position:relative; z-index:2; }
.page-hero h1{ font-size:clamp(2.4rem,5.4vw,4.2rem); letter-spacing:-.035em; max-width:16ch; margin-top:18px; }
.page-hero .lead{ margin-top:22px; }
.page-hero .hero-actions{ margin-top:30px; }
.breadcrumb{ display:flex; align-items:center; gap:8px; font-size:.82rem; color:var(--dim); flex-wrap:wrap; margin-bottom:6px; }
.breadcrumb a:hover{ color:var(--accent-2); }
.breadcrumb .ic, .breadcrumb svg{ width:12px; height:12px; opacity:.6; }
.page-section{ padding:80px 0; }
.content-layout{ display:grid; grid-template-columns:1fr 340px; gap:72px; align-items:start; }
.content-main{ max-width:760px; }
.content-main h2{ font-size:clamp(1.6rem,3vw,2.2rem); margin:60px 0 18px; }
.content-main h2:first-child{ margin-top:0; }
.content-main h3{ font-size:1.2rem; margin:28px 0 10px; }
.content-main p{ color:var(--muted); line-height:1.8; }
.content-main p + p{ margin-top:16px; }
.content-main li svg{ width:18px; height:18px; flex:none; color:var(--accent); margin-top:4px; }
.sidebar-card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-panel); padding:28px; position:sticky; top:calc(var(--nav-h) + 24px); }
.sidebar-card h4{ font-size:1.2rem; margin-bottom:10px; }
.sidebar-list a{ display:flex; justify-content:space-between; align-items:center; padding:12px 2px; border-bottom:1px solid var(--line); font-size:.92rem; font-weight:600; color:var(--muted); transition:color .2s, padding .3s var(--ease); }
.sidebar-list a:last-child{ border-bottom:0; }
.sidebar-list a:hover{ color:var(--accent-2); padding-left:6px; }
.contact-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.contact-card{ padding:30px; border-radius:var(--r-panel); background:var(--surface); border:1px solid var(--line); transition:border-color .3s; }
.contact-card:hover{ border-color:rgba(230,189,98,.4); }
.contact-card .ic{ width:26px; height:26px; color:var(--accent-2); margin-bottom:18px; }
.contact-card h4{ font-family:var(--ff-body); font-size:1rem; font-weight:700; letter-spacing:0; margin-bottom:8px; }
.contact-card p, .contact-card a{ color:var(--muted); font-size:.94rem; display:block; }
.contact-card a:hover{ color:var(--accent-2); }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta{ position:fixed; z-index:90; left:16px; right:16px; bottom:16px; display:none; transition:transform .4s var(--ease), opacity .3s; }
.sticky-cta .btn{ width:100%; box-shadow:0 18px 40px -10px rgba(0,0,0,.8), 0 14px 34px -14px rgba(230,189,98,.7); }
.sticky-cta.hide{ transform:translateY(140%); opacity:0; pointer-events:none; }

/* ---------- responsive ---------- */
@media (max-width:1180px){
  .brand-wq-text small{ display:none; }
  .nav-links > a{ padding:9px 10px; }
}
@media (max-width:1080px){
  .nav-links{ display:none; }
  .nav-toggle{ display:flex; }
  .hero-grid,.split,.content-layout{ grid-template-columns:1fr; }
  .hero-grid{ gap:48px; }
  .hero-stage{ order:-1; }
  .emblem-wrap{ width:min(100%,340px); }
  .cats{ grid-template-columns:repeat(2,1fr); }
  .days{ grid-template-columns:1fr; }
  .day{ min-height:0; }
  .steps4{ grid-template-columns:repeat(2,1fr); row-gap:32px; }
  .backer-strip-inner{ flex-wrap:wrap; gap:18px 28px; }
  .backer-card{ grid-template-columns:1fr; gap:32px; padding:40px 32px; }
  .backer-logo-xl{ width:220px; }
  .sidebar-card{ position:static; }
}
@media (max-width:760px){
  :root{ --nav-h:72px; }
  .container{ padding:0 18px; }
  .section{ padding:76px 0; } .page-section{ padding:56px 0; }
  .announce-inner{ gap:12px; justify-content:space-between; }
  .announce-cd{ display:none; }
  .announce-text{ font-size:.8rem; }
  .announce-text .long{ display:none; } .announce-text .short{ display:inline; }
  .announce-live{ display:none; }
  .brand-logo{ height:52px; }
  .brand-logo-lg{ height:88px; }
  .brand-pair{ gap:12px; }
  .brand-x{ height:34px; }
  .brand-wq-mark{ height:46px; }
  .brand-wq-text b{ font-size:1rem; }
  .nav-cta .btn{ display:none; }
  .hero{ padding:36px 0 64px; }
  .emblem-wrap{ width:min(100%,270px); }
  .hero-facts{ gap:18px; }
  .btn-lg{ padding:16px 26px; }
  .cats,.two-col,.contact-grid,.form-grid,.steps4{ grid-template-columns:1fr; }
  .backer-logo{ height:70px; }
  .footer-cols{ gap:36px; } .footer-top{ flex-direction:column; gap:40px; }
  .footer-cta{ gap:22px; }
  .footer-emblem{ height:110px; }
  .form-wrap{ padding:28px 20px 32px; border-radius:22px; }
  .wiz-dot span{ display:none; }
  .upload{ flex-direction:column; text-align:center; }
  .sticky-cta{ display:block; }
  .footer{ padding-bottom:96px; }
}
@media (max-width:420px){
  .brand-wq-text{ display:none; }
}

/* ---------- reduced motion: final states, no loops ---------- */
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; transition:none; }
  *{ animation-duration:.01ms !important; animation-iteration-count:1 !important; }
}

/* ---------- one-page hero: logo + countdown left, form right ---------- */
.hero{ padding:48px 0 80px; }
.hero-grid{ grid-template-columns:minmax(0,1fr) minmax(0,560px); align-items:start; gap:56px; }
.hero-brandrow{ display:flex; align-items:center; gap:22px; margin-bottom:18px; }
.hero-brandrow .emblem-wrap{ width:170px; flex:none; }
.hero-brandrow .presents{ flex-direction:column; align-items:flex-start; gap:12px; margin:0; }
.hero-head h1{ font-size:clamp(2.4rem,4.4vw,4.1rem); }
.hero-status{ margin-top:34px; padding:26px 28px 24px; border-radius:var(--r-panel); background:rgba(19,22,30,.78); border:1px solid rgba(230,189,98,.3); backdrop-filter:blur(14px); box-shadow:0 30px 70px -34px rgba(0,0,0,.85); }
.hero-status .field-label{ font-size:.74rem; letter-spacing:.2em; text-transform:uppercase; font-weight:800; color:var(--accent-2); }
.hero-status h2{ font-size:1.5rem; margin-bottom:6px; }
.hero-status .sub{ color:var(--muted); font-size:.92rem; margin-bottom:16px; }
.cd-xl .cd-unit{ padding:20px 6px 14px; }
.cd-xl .cd-unit b{ font-size:clamp(2.2rem,5vw,3.6rem); }
.hero-copy .lead{ margin-top:26px; }
.hero-copy .hero-facts{ margin-top:30px; }
.hero-form{ position:sticky; top:calc(var(--nav-h) + 18px); }
.form-head{ margin-bottom:18px; }
.form-head h2{ font-size:clamp(1.8rem,3vw,2.4rem); }
.form-head p{ color:var(--muted); font-size:.94rem; margin-top:8px; max-width:52ch; }
.form-wrap.in-hero{ max-width:none; padding:30px 30px 34px; border-radius:24px; border-color:rgba(230,189,98,.28); box-shadow:0 40px 90px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(230,189,98,.06); }
.in-hero .wiz-progress{ margin-bottom:26px; }
.in-hero .form-grid{ gap:16px; }
.in-hero .wiz-pane > h3{ font-size:1.3rem; }
.in-hero .wiz-pane > .pane-sub{ margin-bottom:20px; }
.in-hero .wiz-nav{ margin-top:28px; }
.in-hero .upload{ padding:16px; }
.in-hero .upload .u-thumb{ width:60px; height:60px; }
.hero-form .closed-panel{ padding:44px 26px; }

@media (max-width:1080px){
  .hero-grid{ grid-template-columns:1fr; gap:36px; }
  .hero-stage{ order:0; }
  .hero-form{ position:static; }
  .hero-brandrow .emblem-wrap{ width:150px; }
}
@media (max-width:760px){
  .hero{ padding:28px 0 56px; }
  .hero-brandrow{ gap:16px; }
  .hero-brandrow .emblem-wrap{ width:112px; }
  .hero-status{ padding:20px 16px 18px; }
  .cd-xl .cd-unit b{ font-size:2rem; }
  .form-wrap.in-hero{ padding:24px 16px 28px; }
}
#contact .contact-grid{ margin-top:18px; }

/* small screens: countdown, then the form, then the intro copy */
@media (max-width:1080px){
  .hero-copy{ display:contents; }
  .hero-head{ order:1; }
  .hero-status{ order:2; margin-top:0; }
  .hero-form{ order:3; }
  .hero-copy .lead{ order:4; margin-top:0; }
  .hero-copy .hero-facts{ order:5; margin-top:0; }
}

/* ---------- title line, certificate, founder ---------- */
.hero-cats{ margin-top:10px; font-size:.86rem; letter-spacing:.24em; text-transform:uppercase; color:var(--muted); font-weight:700; }
.cert-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:64px; align-items:center; }
.cert-frame{ margin:0; position:relative; }
.cert-frame img{ width:100%; height:auto; border-radius:14px; border:1px solid rgba(230,189,98,.45); box-shadow:0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 6px rgba(230,189,98,.07); }
.cert-frame figcaption{ margin-top:14px; font-size:.8rem; color:var(--dim); text-align:center; letter-spacing:.04em; }
.founder{ margin-top:22px; padding-left:16px; border-left:2px solid var(--accent); display:flex; flex-direction:column; gap:2px; }
.founder b{ font-family:var(--ff-serif); font-style:italic; font-weight:400; font-size:1.35rem; color:var(--accent-2); }
.founder span{ font-size:.86rem; color:var(--muted); }
@media (max-width:1080px){ .cert-grid{ grid-template-columns:1fr; gap:36px; } }
