/*
 * AudProd apex promo page — isolated stylesheet.
 *
 * Deliberately separate from the React SPA bundle: this is a single
 * server-rendered marketing surface with its own black + gold film identity.
 * The one bold idea is the thesis — "AI toils." set in mechanical Courier,
 * "Humans create." in warm gold display — echoed by the stripboard, the
 * physical artifact producers already use to hold a shoot together.
 */

:root {
  --bg: #0b0b0b;          /* app-matched ink */
  --bg-deep: #060606;
  --panel: #141414;
  --panel-edge: #24211a;
  --gold: #d4af37;        /* app-matched gold */
  --gold-deep: #b8860b;
  --paper: #f4efe3;       /* warm screenplay white */
  --steel: #8f8a7e;       /* the machine's muted voice */
  --muted: #6f6b61;
  --maxw: 68rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Ambient: a faint gold vignette + film-grain-free gradient behind the fold */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60rem 40rem at 78% -8%, rgba(212, 175, 55, 0.10), transparent 60%),
    radial-gradient(50rem 40rem at -10% 12%, rgba(184, 134, 11, 0.06), transparent 55%),
    var(--bg);
}

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Utility / data voice — the actual screenplay typeface. */
.mono {
  font-family: 'Courier Prime', 'Courier New', monospace;
  letter-spacing: 0.02em;
}

.eyebrow {
  font-family: 'Courier Prime', 'Courier New', monospace;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  color: var(--steel);
  margin: 0;
}

/* Skip link — keyboard-first accessibility, hidden until focused. */
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--bg-deep);
  padding: 0.6rem 1rem;
  font-weight: 700;
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------------------------------------------------------------- header -- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(6, 6, 6, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: 'Bricolage Grotesque', 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.brand svg { display: block; }
.brand b { color: var(--gold); font-weight: 800; }

/* ---------------------------------------------------------------- buttons - */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  padding: 0.72rem 1.35rem;
  border-radius: 2px;               /* film-slate square, barely eased */
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-gold {
  background: var(--gold);
  color: var(--bg-deep);
}
.btn-gold:hover { background: #e6c14e; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(244, 239, 227, 0.22);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; }

/* ------------------------------------------------------------------- hero - */

.hero {
  padding: clamp(3.5rem, 12vh, 8rem) 0 clamp(3rem, 8vh, 6rem);
}
.hero .eyebrow { margin-bottom: 1.4rem; }

.thesis {
  font-family: 'Bricolage Grotesque', 'Lato', sans-serif;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 0 0 1.6rem;
  font-size: clamp(2.9rem, 9vw, 6.4rem);
}
/* The machine clause: mechanical, monospaced, steel — the grind. */
.thesis .machine {
  display: block;
  font-family: 'Courier Prime', 'Courier New', monospace;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--steel);
  font-size: 0.82em;
}
/* The human clause: warm gold display — the craft. */
.thesis .human {
  display: block;
  color: var(--gold);
}

.lede {
  max-width: 40rem;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: #d8d2c4;
  margin: 0 0 2.2rem;
}
.lede b { color: var(--paper); font-weight: 700; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}
.invite-note {
  margin: 1.2rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------------------------------------------------------------- stance -- */

.stance {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: clamp(3rem, 8vh, 5.5rem) 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.5), transparent);
}
.stance h2 {
  font-family: 'Bricolage Grotesque', 'Lato', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  margin: 0 0 2rem;
  color: var(--paper);
}
.stance h2 .rule {
  color: var(--gold-deep);
  font-family: 'Courier Prime', monospace;
  font-size: 0.7em;
  margin-right: 0.6rem;
}
.creeds {
  display: grid;
  gap: 1.15rem;
  max-width: 46rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.creeds li {
  position: relative;
  padding-left: 1.6rem;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  line-height: 1.5;
  color: #ddd7c9;
}
.creeds li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.creeds li b { color: var(--paper); }

/* ------------------------------------------------------------ stripboard -- */

.board {
  padding: clamp(3rem, 9vh, 6rem) 0;
}
.board-head {
  max-width: 44rem;
  margin-bottom: 2.4rem;
}
.board-head h2 {
  font-family: 'Bricolage Grotesque', 'Lato', sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 5vw, 3rem);
  letter-spacing: -0.01em;
  margin: 0.6rem 0 0.8rem;
}
.board-head p { color: var(--steel); margin: 0; }

.strips {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--panel-edge);
}
/* Each capability is a stripboard strip: a numbered scene the machine owns. */
.strip {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1.2rem 1rem 1.2rem 0.9rem;
  border-bottom: 1px solid var(--panel-edge);
  border-left: 4px solid var(--strip, var(--gold-deep));
  background: linear-gradient(90deg, rgba(20, 20, 20, 0.55), transparent 60%);
  transition: background 0.2s ease, transform 0.2s ease;
}
.strip:hover {
  background: linear-gradient(90deg, rgba(30, 27, 18, 0.8), transparent 65%);
  transform: translateX(4px);
}
.strip .no {
  font-family: 'Courier Prime', 'Courier New', monospace;
  font-size: 0.95rem;
  color: var(--gold);
  font-weight: 700;
}
.strip h3 {
  font-family: 'Bricolage Grotesque', 'Lato', sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: var(--paper);
}
.strip p {
  margin: 0;
  color: var(--steel);
  font-size: 0.98rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------- contact -- */

.contact {
  padding: clamp(3.5rem, 11vh, 7rem) 0;
  background:
    radial-gradient(40rem 20rem at 50% 120%, rgba(212, 175, 55, 0.12), transparent 60%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.contact-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.4rem;
}
.contact-head .eyebrow { margin-bottom: 0.9rem; }
.contact-head h2 {
  font-family: 'Bricolage Grotesque', 'Lato', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.4rem);
  letter-spacing: -0.015em;
  margin: 0 0 0.8rem;
}
.contact-head p { color: var(--steel); margin: 0; }

/* The form itself — a single narrow column, black + gold like the rest. */
.contact-form {
  max-width: 34rem;
  margin: 0 auto;
  display: grid;
  gap: 1.15rem;
}
.field { display: grid; gap: 0.4rem; }
.field label {
  font-family: 'Courier Prime', 'Courier New', monospace;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--steel);
}
.field input,
.field textarea {
  width: 100%;
  font-family: 'Lato', system-ui, sans-serif;
  font-size: 1rem;
  color: var(--paper);
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: 2px;
  padding: 0.72rem 0.85rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 6.5rem; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}
.field-error {
  margin: 0;
  font-size: 0.82rem;
  color: #e6a15a;
}

/* Honeypot: kept in the DOM for bots, invisible + inert for humans. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-top: 0.4rem;
}
.contact-status { margin: 0; font-size: 0.85rem; color: #e6a15a; }
.contact-thanks {
  text-align: center;
  font-size: 1.15rem;
  color: var(--gold);
  margin: 1rem 0;
}

.contact .invite-note { text-align: center; margin-top: 2rem; }
.contact .invite-note a { color: var(--gold); text-decoration: none; }
.contact .invite-note a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- footer -- */

.site-foot {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.4rem 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.site-foot .tag {
  font-family: 'Courier Prime', monospace;
  letter-spacing: 0.04em;
}
.site-foot .tag b { color: var(--gold); }

/* --------------------------------------------------------------- motion --- */

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero .eyebrow { animation: rise 0.5s ease both; }
.thesis .machine { animation: rise 0.6s ease 0.08s both; }
.thesis .human   { animation: rise 0.6s ease 0.20s both; }
.hero .lede      { animation: rise 0.6s ease 0.34s both; }
.hero .cta-row   { animation: rise 0.6s ease 0.46s both; }
.hero .invite-note { animation: rise 0.6s ease 0.56s both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* --------------------------------------------------------------- responsive */

@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-head .wrap { height: 3.75rem; }
  .brand span.full { display: none; }         /* keep just the mark + AudProd */
  .strip { grid-template-columns: 2.6rem 1fr; gap: 0.7rem; }
}
