/* ==========================================================================
   Change Lives — public site styles (index, privacy, accessibility)
   Direction: DESIGN.md. Warm spotlight editorial, ENERGY 2 / RHYTHM 2 / MOTION 1.
   No WebGL, no glow blobs, no conic spinners. transform/opacity motion only.
   ========================================================================== */

:root {
  --bg: #0C0805;
  --bg-raised: #16100A;
  --ink: #F4EDE0;
  --ink-soft: #D8C9A5;
  --ink-mute: #A89877;
  --gold: #E9B640;
  --gold-bright: #F5D678;
  --gold-ink: #1A1206;
  --vermilion: #E5382B;
  --vermilion-bright: #FF6B5E;
  --line: rgba(244, 237, 224, 0.14);
  --line-gold: rgba(233, 182, 64, 0.35);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --shadow-lift: 0 14px 40px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* --------------------------------------------------------------------------
   Focus: never removed, always visible.
   -------------------------------------------------------------------------- */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible { border-radius: 999px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; color: var(--gold-ink); }

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 8, 5, 0.88);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
}
.brand:hover { color: var(--gold-bright); }
.brand img { width: 36px; height: auto; display: block; }
.brand .lives { color: var(--vermilion); }
.brand .dot { color: var(--gold-bright); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--gold); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav-burger svg { display: block; }

/* Nav dialog (mobile + small screens) */
.nav-dialog {
  width: min(360px, 90vw);
  max-height: 80vh;
  margin: auto auto auto 0;
  height: 100%;
  max-height: none;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0 18px 18px 0;
  padding: 0;
  background: var(--bg-raised);
  color: var(--ink);
}
.nav-dialog::backdrop {
  background: rgba(5, 3, 2, 0.7);
}
.nav-dialog[open] {
  animation: nav-in 200ms var(--ease-out);
}
@starting-style {
  .nav-dialog[open] {
    opacity: 0;
    transform: translateX(-24px);
  }
}
@keyframes nav-in {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}
.nav-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 14px 24px;
  border-bottom: 1px solid var(--line);
}
.nav-dialog-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-dialog nav {
  display: flex;
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 4px;
}
.nav-dialog nav a {
  color: var(--ink);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  font-size: 22px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.nav-dialog nav a:hover { color: var(--gold-bright); }
.nav-dialog .btn { margin-top: 20px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--gold-ink);
  font: 600 15px/1.2 "Instrument Sans", system-ui, sans-serif;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: transform 160ms ease-out, background-color 200ms ease, color 200ms ease;
  text-align: center;
}
.btn:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--gold-ink); }
.btn:active { transform: scale(0.97); }
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.btn.big { padding: 16px 34px; font-size: 16px; }
.btn.ghost {
  background: transparent;
  color: var(--gold-bright);
  border-color: var(--line-gold);
}
.btn.ghost:hover { background: rgba(233, 182, 64, 0.08); color: var(--gold-bright); }
.btn.ghost[disabled] { background: transparent; }
.btn.ghost[aria-disabled="true"] { background: transparent; }

/* --------------------------------------------------------------------------
   Hero — stacked display wordmark, marquee proof strip below the CTAs
   -------------------------------------------------------------------------- */
.hero { padding: 92px 0 0; text-align: center; }
.hero-eyebrow {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.hero-display {
  margin: 0;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(64px, 13vw, 168px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero-display .w-gold { display: block; color: var(--gold); }
.hero-display .w-vermilion { display: block; color: var(--vermilion); }
.hero-copy {
  margin: 28px auto 0;
  max-width: 560px;
  color: var(--ink-soft);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
}
.hero-copy strong { color: var(--ink); font-weight: 600; }
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 36px 0 0;
}

/* Marquee proof strip (service list in brand voice) */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(233, 182, 64, 0.05);
  margin-top: 56px;
}
.marquee-inner { display: flex; }
.marquee-track {
  display: flex;
  flex-shrink: 0;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track[aria-hidden="true"] { visibility: hidden; }
.marquee-track span {
  padding: 15px 0;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--gold);
  white-space: nowrap;
}
.marquee-track span::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 26px;
  background: var(--vermilion);
  transform: rotate(45deg);
  vertical-align: middle;
}
.marquee-track span:last-child::after { content: none; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee--static { display: none; }
.marquee--static .marquee-inner {
  flex-direction: column;
  gap: 6px;
  padding: 16px 24px;
  text-align: center;
}
.marquee--static .marquee-track {
  animation: none;
  width: auto;
  flex-wrap: wrap;
  justify-content: center;
}
.marquee--static .marquee-track[aria-hidden="true"] { display: none; }

/* --------------------------------------------------------------------------
   Sections (shared)
   -------------------------------------------------------------------------- */
section { padding: 96px 0; }
.section-head { max-width: 640px; }
h2 {
  margin: 0 0 16px;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
h2 .accent { color: var(--gold); }
p.sub { margin: 0 0 40px; color: var(--ink-mute); font-size: 17px; line-height: 1.65; }
.center { text-align: center; }
.center .section-head { margin: 0 auto; }

/* --------------------------------------------------------------------------
   Offer — numbered editorial rows (left) with who-we-are panel (right)
   -------------------------------------------------------------------------- */
.offer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}
ol.offer { list-style: none; margin: 0; padding: 0; }
ol.offer li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
ol.offer li:last-child { border-bottom: 1px solid var(--line); }
.offer-num {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--vermilion);
}
ol.offer h3 {
  margin: 0 0 6px;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  font-size: 21px;
}
ol.offer p { margin: 0; color: var(--ink-mute); font-size: 15px; line-height: 1.65; }

.who-panel {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
}
.who-panel h3 { margin: 0 0 12px; font-size: 22px; font-weight: 700; font-family: "Bricolage Grotesque", system-ui, sans-serif; }
.who-panel p { margin: 0 0 16px; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.who-list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.who-list li { display: flex; gap: 10px; align-items: baseline; color: var(--ink-soft); font-size: 15px; }
.who-list .up {
  color: var(--gold);
  font-weight: 700;
  flex: none;
}

/* --------------------------------------------------------------------------
   Founders
   -------------------------------------------------------------------------- */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.founder-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  transition: border-color 200ms ease-out, transform 200ms ease-out;
}
@media (hover: hover) and (pointer: fine) {
  .founder-card:hover { border-color: var(--line-gold); transform: translateY(-2px); }
}
.founder-card image-slot,
.founder-card .founder-photo { width: 128px; height: 128px; }
.founder-card h3 { margin: 0 0 4px; font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 700; font-size: 21px; }
.founder-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 10px;
}
.founder-card p { margin: 0 0 14px; font-size: 14px; line-height: 1.65; color: var(--ink-soft); }
.founder-links { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 200ms ease, color 200ms ease;
}
.chip:hover { border-color: var(--line-gold); color: var(--gold-bright); }
.chip img { width: 13px; height: 15px; object-fit: contain; }

/* --------------------------------------------------------------------------
   Join steps
   -------------------------------------------------------------------------- */
.join-band {
  background: var(--bg-raised);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
ol.join-steps {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
ol.join-steps li {
  border-left: 2px solid var(--vermilion);
  padding: 4px 0 4px 20px;
}
.join-step-num {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--vermilion-bright);
}
ol.join-steps h3 { margin: 8px 0 8px; font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 700; font-size: 19px; }
ol.join-steps p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--ink-mute); }

.free-note {
  display: inline-block;
  margin: 0 0 40px;
  padding: 14px 22px;
  border: 1px solid var(--line-gold);
  border-radius: 14px;
  background: rgba(233, 182, 64, 0.06);
  color: var(--gold-bright);
  font-size: 15px;
  font-weight: 600;
}
.free-note .quiet { color: var(--ink-soft); font-weight: 400; }

/* --------------------------------------------------------------------------
   Apply — form split (copy left, form right)
   -------------------------------------------------------------------------- */
.apply-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 64px;
  align-items: start;
}
.apply-aside p { color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.apply-aside .free-note { margin-bottom: 24px; }
.apply-alt { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.apply-alt h3 { margin: 0 0 10px; font-size: 16px; font-weight: 600; color: var(--ink); }
.apply-alt p { margin: 0 0 14px; font-size: 14px; line-height: 1.65; color: var(--ink-mute); }
.apply-alt a.text-link { font-weight: 600; }

.apply-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow-lift);
}
.apply-card h3 {
  margin: 0 0 6px;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: 24px;
}
.apply-card .apply-intro { margin: 0 0 24px; font-size: 14px; line-height: 1.6; color: var(--ink-mute); }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.field .req { color: var(--gold); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(244, 237, 224, 0.04);
  color: var(--ink);
  font: 400 15px/1.4 "Instrument Sans", system-ui, sans-serif;
  transition: border-color 200ms ease;
}
.field textarea { min-height: 88px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-mute) 50%), linear-gradient(135deg, var(--ink-mute) 50%, transparent 50%); background-position: calc(100% - 21px) 50%, calc(100% - 16px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(244, 237, 224, 0.3); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 0;
  border-color: var(--gold-bright);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"] { border-color: var(--vermilion-bright); }
.field .hint { display: block; margin-top: 6px; font-size: 12.5px; color: var(--ink-mute); }
.field .error {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  color: var(--vermilion-bright);
  font-weight: 500;
}
.field .error[data-show="true"] { display: block; }

.consent { margin: 22px 0; }
.consent label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
  cursor: pointer;
}
.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--gold);
}
.consent a { color: var(--gold); font-weight: 500; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-banner {
  display: none;
  margin: 0 0 20px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
  border: 1px solid var(--vermilion-bright);
  background: rgba(229, 56, 43, 0.08);
  color: var(--vermilion-bright);
}
.form-banner[data-show="true"] { display: block; }

.apply-success { display: none; text-align: center; padding: 24px 0 8px; }
.apply-success[data-show="true"] { display: block; }
.apply-success .mark { color: var(--gold); font-size: 40px; line-height: 1; margin-bottom: 14px; }
.apply-success h4 { margin: 0 0 10px; font-family: "Bricolage Grotesque", system-ui, sans-serif; font-size: 22px; font-weight: 800; }
.apply-success p { margin: 0 0 20px; font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Platform band (HQ / creator companion access)
   -------------------------------------------------------------------------- */
.platform-band {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.platform-inner {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.platform-inner p { margin: 0; color: var(--ink-mute); font-size: 14px; max-width: 520px; }
.platform-links { display: flex; gap: 12px; flex-wrap: wrap; }
.platform-links .chip { border-color: var(--line-gold); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  font-size: 13.5px;
  color: var(--ink-mute);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 30px; height: auto; display: block; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a {
  color: var(--ink-soft);
  display: inline-block;
  padding: 6px 2px;
  min-height: 24px;
}
.footer-links a:hover { color: var(--gold-bright); }

/* --------------------------------------------------------------------------
   Legal pages (privacy, accessibility)
   -------------------------------------------------------------------------- */
.legal { padding: 72px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 5vw, 52px);
  margin: 0 0 12px;
}
.legal .updated { color: var(--ink-mute); font-size: 14px; margin: 0 0 44px; }
.legal h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin: 44px 0 12px;
}
.legal p, .legal li { color: var(--ink-soft); line-height: 1.7; font-size: 15.5px; }
.legal ul { padding-left: 22px; }
.legal a { font-weight: 500; }
.legal table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); color: var(--ink-soft); }
.legal th { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   Scroll reveal (transform/opacity only; shown instantly for reduced motion)
   -------------------------------------------------------------------------- */
/* Hidden start only when JS is running (html.js); no-JS users see everything. */
html.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
html.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* --------------------------------------------------------------------------
   Live badge
   -------------------------------------------------------------------------- */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(229, 56, 43, 0.5);
  background: rgba(229, 56, 43, 0.1);
  color: var(--vermilion-bright);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.live-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vermilion);
  animation: pulse 1.6s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .offer-grid, .apply-grid { grid-template-columns: 1fr; gap: 44px; }
  .founders-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  section { padding: 64px 0; }
  .hero { padding-top: 56px; }
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-actions .btn { display: none; }
  ol.join-steps { grid-template-columns: 1fr; gap: 20px; }
  .founder-card { grid-template-columns: 96px minmax(0, 1fr); padding: 22px; }
  .founder-card image-slot, .founder-card .founder-photo { width: 96px; height: 96px; }
  .apply-card { padding: 26px 22px; }
  .platform-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* --------------------------------------------------------------------------
   Reduced motion: gentler, not zero.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: opacity 200ms ease; transform: none; }
  .marquee:not(.marquee--static) { display: none; }
  .marquee--static { display: block; }
  .live-badge i { animation: none; opacity: 1; }
  .founder-card, .btn { transition: none; }
  .nav-dialog[open] { animation: none; }
}
