/*
  VOICE   Quiet confidence. Royal, never loud: plain words, lots of air, gold used sparingly.
  IDEA    The Midas touch: an ordinary film strip where only the moments MidasClip touches turn to gold.
  PICTURE A gold light glides along a talk, gilds three frames, and three captioned vertical clips rise from them.
  COLOUR  Deep royal green, almost black; antique champagne gold as foil; ivory text. No bright yellow.
  TYPE    Gloock for headlines (engraved, high contrast); Figtree for reading. Both stored on our own site.
  LAYOUT  Centred hero over the picture; other sections left-aligned in one 1160px column; phones stack.
*/

@font-face { font-family: "Gloock"; src: url("fonts/gloock.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0e1a16;
  --bg2: #12211c;
  --panel: #162822;
  --line: #24382f;
  --ink: #efe9dc;
  --soft: #d2cbbb;
  --muted: #9aa69e;
  --gold: #cdb07a;
  --gold-l: #efe0b8;
  --gold-d: #7f663a;
  --on-gold: #13201b;
  --foil: linear-gradient(100deg, #8a7046 0%, #c4a670 18%, #f1e3bd 33%, #caad76 47%, #85693c 64%, #d1b682 82%, #9a7d4c 100%);
  --serif: "Gloock", Georgia, "Times New Roman", serif;
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; min-width: 0; }
html { scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: radial-gradient(120% 900px at 50% -120px, #173a30 0%, transparent 62%) no-repeat, var(--bg);
  color: var(--ink);
  font: 17px/1.62 var(--sans);
  overflow-x: clip;
}

a { color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--gold-l); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}

.wrap { max-width: 1160px; margin: 0 auto; padding-inline: max(5vw, 20px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 20;
  background: var(--gold); color: var(--on-gold);
  padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 24px; text-decoration: none; letter-spacing: -0.01em; }
.brand svg { width: 30px; height: 30px; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--foil); background-size: 220% 100%; background-position: 0 0;
  color: var(--on-gold); font: 700 17px/1 var(--sans); letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 26px -14px rgba(205, 176, 122, 0.7);
  transition: background-position 0.6s ease;
}
.btn:hover { background-position: 100% 0; }
.btn:active { transform: translateY(1px); }
.btn-ghost {
  min-height: 44px; padding: 0 18px; font-size: 15px; font-weight: 600;
  background: transparent; color: var(--gold);
  border: 1px solid rgba(205, 176, 122, 0.55); box-shadow: none;
}
.btn-ghost:hover { background: rgba(205, 176, 122, 0.08); }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; position: relative; z-index: 2; }
.top nav { display: flex; align-items: center; gap: 28px; }
.top nav a:not(.btn) { color: var(--soft); text-decoration: none; font-size: 16px; }
.top nav a:not(.btn):hover { color: var(--ink); }
@media (max-width: 700px) { .top nav a:not(.btn) { display: none; } }

/* Engraved rings, like the edge of a coin */
.rings { position: relative; isolation: isolate; overflow-x: clip; }
.rings::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: var(--ring-top, -380px); width: 1200px; height: 1200px; margin-left: -600px; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 23px, rgba(205, 176, 122, 0.055) 23px 24px);
  -webkit-mask: radial-gradient(circle, #000 25%, transparent 68%);
          mask: radial-gradient(circle, #000 25%, transparent 68%);
}
.hero { --ring-top: -470px; }

/* Hero */
.hero { text-align: center; padding-top: clamp(24px, 5vw, 64px); padding-bottom: clamp(64px, 9vw, 112px); }
.pill {
  display: inline-block; margin: 0; padding: 5px 15px; border-radius: 999px;
  border: 1px solid rgba(205, 176, 122, 0.4); color: var(--gold); font-size: 15px; font-weight: 500;
}
.hero h1 {
  font-size: clamp(50px, 9.8vw, 108px); line-height: 0.98; margin-top: 20px;
  background: var(--foil); background-size: 220% 100%; background-position: 0 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .line { display: block; }
.lede { color: var(--soft); font-size: clamp(18px, 2.2vw, 21px); max-width: 30em; margin: 22px auto 0; text-wrap: balance; }

/* Waitlist form */
.join { display: flex; gap: 10px; max-width: 540px; margin: 30px auto 0; }
.join input {
  flex: 1; min-height: 52px; padding: 0 20px; border-radius: 999px;
  border: 1px solid #2e4a40; background: rgba(8, 20, 16, 0.75); color: var(--ink);
  font: 17px var(--sans);
}
.join input::placeholder { color: #7c8c84; }
@media (max-width: 480px) { .join { flex-direction: column; } }
.msg { margin: 12px auto 0; font-size: 15px; max-width: 540px; }
.msg:empty { margin: 0; }
.msg.ok { color: var(--gold-l); }
.msg.err { color: #f0a493; }
.fine { font-size: 14px; color: var(--muted); margin: 12px auto 0; }
.fine a { color: var(--soft); }

/* Hero picture: film strip touched into gold */
.demo { max-width: 860px; margin: clamp(48px, 7vw, 76px) auto 0; }
.strip {
  position: relative; padding: 17px 12px; border-radius: 12px;
  background: #08130f; border: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px;
  box-shadow: 0 30px 60px -36px #000;
}
.strip::before, .strip::after {
  content: ""; position: absolute; left: 12px; right: 12px; height: 5px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, #22372f 0 10px, transparent 10px 20px);
}
.strip::before { top: 6px; }
.strip::after { bottom: 6px; }
.fr { position: relative; aspect-ratio: 4 / 3; border-radius: 5px; overflow: hidden; background: #24312c; filter: grayscale(1) brightness(0.72); }
.fr svg { position: absolute; left: -10%; bottom: -25%; width: 120%; height: auto; }
.fr.hit { filter: none; background: var(--foil); background-size: 200% 100%; box-shadow: 0 0 0 1.5px var(--gold-l), 0 0 24px rgba(220, 190, 130, 0.45); }
.fr.hit svg { opacity: 0.5; mix-blend-mode: multiply; }
.orb {
  position: absolute; top: 50%; left: 100%; z-index: 2; width: 20px; height: 20px; margin: -10px 0 0 -10px;
  border-radius: 50%; opacity: 0;
  background: radial-gradient(circle at 35% 30%, #fff8e4, #d8bd86 45%, #8a6d3e);
  box-shadow: 0 0 18px 6px rgba(240, 220, 170, 0.5);
}
.clips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 4vw, 44px); max-width: 640px; margin: 30px auto 0; }
.clips figure { margin: 0; }
.clip {
  position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(205, 176, 122, 0.7);
  background: linear-gradient(170deg, #1d3a31, #08140f 80%);
  box-shadow: 0 26px 46px -26px #000;
}
.clip svg { position: absolute; left: -20%; bottom: -8%; width: 140%; height: auto; }
.len {
  position: absolute; top: 8px; left: 8px; z-index: 1; font-size: 13px; font-weight: 700; line-height: 1;
  padding: 5px 8px; border-radius: 999px; background: rgba(0, 0, 0, 0.5); color: #fff;
}
.cap {
  position: absolute; left: 5%; right: 5%; bottom: 9%; z-index: 1; margin: 0;
  text-align: center; color: #fff; font-weight: 800; line-height: 1.12;
  font-size: clamp(13px, 2.2vw, 19px);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.85), 0 0 10px rgba(0, 0, 0, 0.6);
}
.cap .w.key { color: var(--gold-l); }
.clips figcaption { text-align: center; font-size: 14px; color: var(--muted); margin-top: 10px; }
.demo-note { text-align: center; font-size: 13px; color: var(--muted); margin: 22px 0 0; }

/* The one orchestrated moment on load */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 { animation: sheen 2s 0.2s ease-out both; }
  .orb { animation: glide 3.2s 0.7s cubic-bezier(0.45, 0.05, 0.55, 0.95) both; }
  .fr.hit { animation: gild 0.6s ease-out both; animation-delay: var(--d); }
  .clips figure { animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: var(--d); }
  .cap .w { animation: say 0.8s linear both; animation-delay: var(--d); }
}
@keyframes sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes glide { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes gild { from { filter: grayscale(1) brightness(0.72); background: #24312c; box-shadow: none; } to { } }
@keyframes rise { from { opacity: 0; transform: translateY(36px) scale(0.95); } to { opacity: 1; transform: none; } }
@keyframes say { 0% { color: #fff; } 10%, 60% { color: var(--gold-l); } 100% { } }

/* Sections */
.band { padding-block: clamp(64px, 9vw, 112px); }
.alt { background: var(--bg2); border-block: 1px solid var(--line); }
.label { color: var(--gold); font-size: 16px; font-weight: 600; margin: 0 0 12px; }
.band h2 { font-size: clamp(34px, 5vw, 54px); max-width: 17ch; }
.sub { color: var(--muted); font-size: 18px; max-width: 34em; margin: 18px 0 0; }
.band h3 { font-size: 23px; line-height: 1.18; }

/* How it works */
.steps { list-style: none; padding: 0; margin: 52px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.steps p { color: var(--muted); margin: 10px 0 0; max-width: 30ch; }
.coin {
  position: relative; width: 50px; height: 50px; border-radius: 50%; margin-bottom: 20px;
  display: grid; place-items: center;
  font: 400 24px/1 var(--serif); color: var(--on-gold);
  background: radial-gradient(circle at 34% 28%, #f6ead0, #cdb07a 50%, #7f663a);
  box-shadow: 0 8px 20px -10px rgba(205, 176, 122, 0.7);
}
.coin::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1px solid rgba(60, 44, 18, 0.35); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Promises */
.promises { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.promises li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.promises svg { width: 30px; height: 30px; }
.promises p { color: var(--muted); margin: 8px 0 0; }
@media (max-width: 760px) { .promises { grid-template-columns: minmax(0, 1fr); } }

/* Who it's for */
.who { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.who li { border-top: 1px solid rgba(205, 176, 122, 0.35); padding-top: 20px; }
.who h3 { font-size: clamp(24px, 2.6vw, 28px); }
.who p { color: var(--muted); margin: 8px 0 0; }
.note { color: var(--muted); font-size: 15px; margin: 44px 0 0; }
@media (max-width: 900px) { .who { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .who { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 64px; align-items: start; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 21px 44px 21px 0; font-size: 18px; font-weight: 600; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font: 300 28px/1 var(--sans); color: var(--gold);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--soft); margin: 0 0 22px; max-width: 62ch; }
.faq details a { color: var(--gold-l); }

/* Final ask: an engraved certificate */
.final { --ring-top: -300px; overflow: hidden; }
.cert {
  position: relative; max-width: 820px; margin: 0 auto; text-align: center;
  padding: clamp(40px, 7vw, 72px) clamp(20px, 6vw, 64px);
  border: 1px solid rgba(205, 176, 122, 0.55); border-radius: 22px;
  background: linear-gradient(180deg, rgba(23, 46, 38, 0.85), rgba(10, 22, 18, 0.9));
}
.cert::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(205, 176, 122, 0.22); border-radius: 16px; pointer-events: none; }
.cert h2 {
  max-width: none; font-size: clamp(36px, 5.6vw, 60px);
  background: var(--foil); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cert .sub { margin-inline: auto; color: var(--soft); }

/* Footer */
.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 28px 48px;
  padding-block: 44px 48px; color: var(--muted); font-size: 15px; border-top: 1px solid var(--line);
}
.foot p { margin: 8px 0 0; }
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot a { color: var(--soft); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .copy { flex-basis: 100%; margin: 0; font-size: 14px; }

/* Phone-only sticky waitlist bar */
.bar { display: none; }
@media (max-width: 700px) {
  body:has(.bar) { padding-bottom: 76px; }
  .bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(14, 26, 22, 0.94); border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    transform: translateY(110%); visibility: hidden;
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
  }
  .bar.show { transform: none; visibility: visible; transition: transform 0.25s ease; }
  .bar .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .bar, .bar.show, .btn { transition: none; } }

/* Privacy page */
.doc { max-width: 720px; padding-top: clamp(28px, 6vw, 64px); padding-bottom: 80px; }
.doc h1 {
  font-size: clamp(44px, 7vw, 68px);
  background: var(--foil); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.doc .updated { color: var(--muted); font-size: 15px; margin: 14px 0 0; }
.doc .intro { font-size: 19px; color: var(--soft); margin: 28px 0 0; }
.doc h2 { font-size: 27px; margin: 48px 0 0; }
.doc p, .doc li { color: var(--soft); }
.doc p { margin: 12px 0 0; }
.doc ul { margin: 12px 0 0; padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--gold); }
.doc a { color: var(--gold-l); }
.doc .back { display: inline-block; margin-top: 52px; }
