:root {
  --bg: #0b0906;
  --bg-2: #120e0a;
  --panel: #18130c;
  --panel-2: #1e1810;
  --line: rgba(212, 168, 83, 0.28);
  --line-strong: rgba(212, 168, 83, 0.5);
  --gold: #d4a853;
  --gold-bright: #f0d78c;
  --gold-dim: #8a6a2a;
  --text: #f3ead7;
  --muted: #b5a789;
  --ink: #140f0a;
  --ember: #c45c26;
  --ok: #c6e0a8;
  --err: #e8b4a0;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font-display: "Inknut Antiqua", "Cormorant Garamond", Georgia, serif;
  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  --wrap: 1100px;
  --radius: 6px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.05rem;
  min-height: 100%;
}
img { max-width: 100%; height: auto; }
a { color: var(--gold-bright); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff4cc; }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 20;
}
.skip:focus { left: 12px; top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Background atmosphere */
.page {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(1000px 500px at 50% -10%, rgba(212, 168, 83, 0.11), transparent 60%),
    radial-gradient(800px 400px at 100% 20%, rgba(196, 92, 38, 0.05), transparent 50%),
    var(--bg);
}
.page::before {
  content: "";
  pointer-events: none;
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(243, 234, 215, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 234, 215, 0.015) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 70%);
}

/* Header */
header.site {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 9, 6, 0.72);
  backdrop-filter: blur(8px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: inherit; text-decoration: none; min-width: 0;
}
.brand img, .brand svg { width: 44px; height: 44px; flex: none; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand-name em {
  font-style: normal;
  color: var(--gold-bright);
  display: block;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:not(.btn):hover { color: var(--text); }

.btn {
  display: inline-block;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--ink);
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 0;
  border-radius: var(--radius);
  padding: 12px 20px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 8px 24px rgba(212, 168, 83, 0.18);
  transition: filter .15s ease, transform .15s ease;
}
.btn:hover { filter: brightness(1.06); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.7; cursor: wait; filter: none; }
.btn.ghost {
  background: transparent;
  color: var(--text);
  box-shadow: none;
  border: 1px solid var(--line-strong);
}
.btn.ghost:hover { color: var(--gold-bright); border-color: var(--gold); }

/* Sections */
section { position: relative; z-index: 1; padding: 72px 0; }
.section-kicker {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(2.15rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.55rem); margin-bottom: 14px; }
h3 { font-size: 1.35rem; margin-bottom: 8px; }
.lead, .section-lead {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 40rem;
}
.center { text-align: center; }
.center .section-lead { margin: 0 auto; }

.divider {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--gold);
  margin: 0 auto;
  max-width: var(--wrap);
  padding: 0 24px;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.divider i {
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  display: block;
  box-shadow: 0 0 12px rgba(212,168,83,.5);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  max-width: none;
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11,9,6,0.62) 0%, rgba(11,9,6,0.38) 34%, rgba(11,9,6,0.18) 58%, rgba(11,9,6,0.50) 100%),
    linear-gradient(180deg, rgba(11,9,6,0.38) 0%, rgba(11,9,6,0.10) 40%, rgba(11,9,6,0.92) 100%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  text-shadow: 0 2px 20px rgba(11,9,6,0.95), 0 0 28px rgba(11,9,6,0.8);
}
.hero h1 .line { display: block; }
.hero h1 .line + .line { color: var(--gold-bright); }
.hero .lead {
  margin: 18px 0 22px;
  font-size: 1.2rem;
  color: #d9ccb3;
  text-shadow: 0 1px 14px rgba(11,9,6,0.95), 0 0 22px rgba(11,9,6,0.8);
}
.hero .privacy { text-shadow: 0 1px 12px rgba(11,9,6,0.95); }
.hero .pill {
  background: rgba(11,9,6,0.55);
  backdrop-filter: blur(4px);
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.pill {
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Cards / panels */
.panel, .waitlist-card, .card, .step, .audience, details.faq {
  background:
    linear-gradient(180deg, rgba(212,168,83,0.05), transparent 40%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  position: relative;
}
.waitlist-card {
  padding: 26px 24px 22px;
  background:
    linear-gradient(180deg, rgba(212,168,83,0.07), transparent 40%),
    rgba(20, 16, 11, 0.94);
  backdrop-filter: blur(8px);
}
.waitlist-card h2, .waitlist-card h3 { font-size: 1.55rem; margin-bottom: 6px; }
.waitlist-card .hint { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }

/* Ornamental corners on featured cards */
.ornament::before, .ornament::after,
.ornament > .c3, .ornament > .c4 {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--gold);
  pointer-events: none;
}
.ornament::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.ornament::after { top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
.ornament .c3, .ornament .c4 {
  position: absolute; width: 14px; height: 14px;
  border: 1px solid var(--gold);
}
.ornament .c3 { bottom: 8px; left: 8px; border-right: 0; border-top: 0; }
.ornament .c4 { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }

/* Forms */
.waitlist-form { display: grid; gap: 12px; }
.waitlist-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}
.waitlist-form input[type="email"],
.waitlist-form select {
  width: 100%;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 14px;
  font: inherit;
  appearance: none;
}
.waitlist-form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.waitlist-form input:focus, .waitlist-form select:focus, .btn:focus-visible, a:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}
.waitlist-form .btn { width: 100%; padding: 13px 20px; }
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
.privacy, .form-status { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.form-status.is-pending { color: var(--gold-bright); }
.form-status.is-error { color: var(--err); }
.form-success {
  padding: 18px 8px;
  text-align: center;
}
.form-success h3 { color: var(--gold-bright); margin-bottom: 8px; }
.form-success p { color: var(--muted); }

/* Pain / features / who grids */
.grid-3, .grid-4 {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card, .step, .audience { padding: 22px 20px; box-shadow: none; }
.icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  margin-bottom: 12px;
  color: var(--gold-bright);
}
.icon svg { width: 34px; height: 34px; }
.card p, .step p, .audience p { color: var(--muted); font-size: 1rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.step-num {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

/* FAQ */
.faq-list { max-width: 760px; margin: 28px auto 0; display: grid; gap: 10px; }
details.faq { padding: 0; box-shadow: none; }
details.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 44px 16px 18px;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "";
  position: absolute; right: 18px; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateY(-70%) rotate(45deg);
}
details.faq[open] summary::after { transform: translateY(-30%) rotate(225deg); }
details.faq .faq-body { padding: 0 18px 18px; color: var(--muted); }
details.faq .faq-body p + p { margin-top: 10px; }

/* Section artwork frames */
.art-frame {
  margin: 28px 0 4px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow), 0 0 0 1px rgba(212,168,83,0.12);
}
.art-frame img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
}
.art-frame-road img { object-position: center 78%; }
.art-frame-cta {
  margin: 22px 0 0;
  max-width: 28rem;
}
.art-frame-cta img {
  height: 200px;
  object-position: 50% 60%;
}

/* Bottom CTA */
.cta { padding-bottom: 88px; }
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.cta .waitlist-card { max-width: 460px; width: 100%; justify-self: end; }

/* Footer */
footer.site {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 0.9rem;
}
footer.site strong { color: var(--text); font-weight: 600; }
footer.site p + p { margin-top: 12px; }
.legal { max-width: 52rem; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.notfound h1 { margin: 10px 0 14px; }

@media (max-width: 860px) {
  .nav-links a:not(.btn) { display: none; }
  .hero-grid, .cta-inner, .grid-3, .steps { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .cta .waitlist-card { justify-self: stretch; }
  section { padding: 56px 0; }
  .hero { padding: 40px 0 64px; }
  .hero-art { object-position: 30% 40%; }
  .hero-art img { object-position: 28% 40%; }
  .hero-art::after {
    background:
      linear-gradient(180deg, rgba(11,9,6,0.48) 0%, rgba(11,9,6,0.40) 45%, rgba(11,9,6,0.96) 100%),
      linear-gradient(90deg, rgba(11,9,6,0.50), rgba(11,9,6,0.28));
  }
  .art-frame img { height: 200px; }
  .art-frame-cta { max-width: none; }
  .art-frame-cta img { height: 180px; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .brand-name { font-size: 0.86rem; }
  .wrap { padding: 0 18px; }
  .art-frame img, .art-frame-cta img { height: 160px; }
}
