:root {
  --void: #07060c;
  --pine: #0b120f;
  --mist: #8aa39a;
  --moon: #d7e0dc;
  --ivory: #f3ece2;
  --gold: #c4a36a;
  --ink: rgba(243, 236, 226, 0.82);
  --line: rgba(196, 163, 106, 0.3);
  --font-display: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --font-body: "Outfit", "Segoe UI", Helvetica, Arial, sans-serif;
  --space: clamp(1.2rem, 4vw, 2.4rem);
  --wrap: 70rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--void);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover { color: var(--ivory); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.02em;
  margin: 0 0 0.55em;
}

h1 {
  font-size: clamp(3.2rem, 11vw, 7.2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 { font-size: clamp(1.9rem, 4.4vw, 3.15rem); }
h3 { font-size: 1.35rem; margin-bottom: 0.35em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.sr-only,
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  background: var(--gold);
  color: var(--void);
  padding: 0.55rem 0.9rem;
}

.skip-link:focus { top: 1rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 2 * var(--space)));
  margin-inline: auto;
}

.wrap.narrow { width: min(38rem, calc(100% - 2 * var(--space))); }

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.lead, .prose, .fine { color: var(--ink); }
.lead { max-width: 44rem; margin-bottom: 1.6rem; }
.fine { font-size: 0.92rem; margin-top: 1rem; }
.hero-micro { max-width: 28rem; }

.section { padding: clamp(3.6rem, 9vw, 6.8rem) 0; position: relative; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--gold);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  color: var(--gold);
}

.btn-gold { background: var(--gold); color: var(--void); }
.btn-gold:hover { background: var(--ivory); border-color: var(--ivory); color: var(--void); }
.btn-ghost:hover { background: rgba(196, 163, 106, 0.1); color: var(--ivory); }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% 22%;
}

.hero-shade {
  background:
    radial-gradient(ellipse 55% 50% at 34% 24%, transparent 0%, rgba(7, 6, 12, 0.18) 42%, rgba(7, 6, 12, 0.62) 78%),
    linear-gradient(180deg, rgba(7, 6, 12, 0.42) 0%, rgba(7, 6, 12, 0.18) 18%, rgba(7, 6, 12, 0.22) 38%, rgba(7, 6, 12, 0.78) 72%, #07060c 100%),
    linear-gradient(90deg, rgba(7, 6, 12, 0.62) 0%, rgba(7, 6, 12, 0.28) 38%, transparent 62%);
  box-shadow: inset 0 0 140px 30px rgba(196, 163, 106, 0.07);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--space);
  position: relative;
  z-index: 3;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory);
  text-decoration: none;
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0.8rem 0 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: rgba(7, 6, 12, 0.94);
  border-bottom: 1px solid var(--line);
}

.nav-links a {
  display: block;
  padding: 0.8rem var(--space);
  color: var(--moon);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.nav-links a:hover,
.nav a.nav-cta { color: var(--gold); }

.nav-toggle {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  background: transparent;
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: var(--ivory);
}

.nav.is-open .nav-links { display: block; }

.hero-copy {
  margin-top: auto;
  padding: 5.5rem var(--space) 4rem;
  max-width: 42rem;
}

.hero-copy .tagline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-style: italic;
  color: var(--gold);
  margin: 0 0 0.9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Pitch */
.pitch { border-top: 1px solid var(--line); }
.split { display: grid; gap: 1.4rem; }
.canon {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--ivory);
  border-left: 1px solid var(--gold);
  padding-left: 1rem;
}

/* Proof */
.proof {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(196, 163, 106, 0.08), transparent 45%),
    #09080e;
}

.proof-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.proof-grid li {
  padding: 1.25rem 1.2rem 1.35rem;
  border: 1px solid var(--line);
  background: rgba(7, 6, 12, 0.45);
}

.proof-grid p { color: var(--ink); font-size: 0.98rem; }

/* Gallery */
.gallery { background: #08070c; }

.frames {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.frames figure { margin: 0; }

.frames img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(196, 163, 106, 0.4);
}

.frames figcaption {
  margin-top: 0.55rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--moon);
}

/* Rewards */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }

.ladder {
  width: 100%;
  border-collapse: collapse;
  min-width: 36rem;
  font-size: 0.98rem;
}

.ladder th,
.ladder td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(196, 163, 106, 0.16);
  vertical-align: top;
}

.ladder thead th {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.ladder tbody th {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
}

.ladder td:nth-child(2) {
  color: var(--gold);
  white-space: nowrap;
}

.stretch-title {
  margin: 2.2rem 0 0.9rem;
  font-size: 1.5rem;
}

.stretch {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.stretch li {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 0.8rem;
  color: var(--ink);
}

.stretch span {
  color: var(--gold);
  font-weight: 500;
}

/* Studio */
.studio-panel {
  padding: clamp(1.8rem, 4vw, 3rem);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 10% 0%, rgba(196, 163, 106, 0.12), transparent 50%),
    linear-gradient(180deg, #121014, #0b0a0d);
}

.studio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

/* Notify */
.notify { border-top: 1px solid var(--line); }

.notify-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.3rem;
}

.field {
  display: grid;
  gap: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.field input {
  min-height: 2.9rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  background: #0c0b10;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.field input:focus { outline: 1px solid var(--gold); }

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--ink);
  font-size: 0.95rem;
}

.check input { margin-top: 0.25rem; }

.form-status { min-height: 1.3em; color: var(--mist); }
.form-status.is-ok { color: var(--gold); }
.form-status.is-err { color: #d9a3a3; }

.share-bank {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.share-url {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  margin: 0 0 0.9rem;
}

.share-url a {
  color: var(--ivory);
  text-decoration: none;
}

.share-url a:hover { color: var(--gold); }

.footer {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 2rem;
  color: var(--mist);
  font-size: 0.88rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-row nav { display: flex; gap: 1rem; }
.footer a { color: var(--mist); text-decoration: none; }
.footer a:hover { color: var(--ivory); }

.legal { color: var(--ink); max-width: 40rem; }

header.nav a.nav-cta {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

@media (min-width: 760px) {
  .nav-toggle { display: none; }

  .nav-links {
    display: flex;
    position: static;
    background: none;
    border: 0;
    padding: 0;
    align-items: center;
  }

  .nav-links a { padding: 0.4rem 0.7rem; }

  .nav-cta {
    border: 1px solid var(--line);
    margin-left: 0.35rem;
  }

  .split {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    align-items: start;
  }

  .proof-grid { grid-template-columns: repeat(2, 1fr); }

  .frames { grid-template-columns: 1fr 1fr; }

  .notify-form {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .form-status { grid-column: 1 / -1; }
}

@media (min-width: 1080px) {
  .proof-grid { grid-template-columns: repeat(4, 1fr); }

  .frames { grid-template-columns: repeat(4, 1fr); }

  .hero-copy {
    padding-left: max(var(--space), calc((100% - var(--wrap)) / 2));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
