/* ═══════════════════════════════════════════════════════════════
   ATHENA — PAGE ADDITIONS (production)
   Shared styles that lived in per-page <style> blocks in the design
   prototype, plus production-only pieces: native selects, form error,
   honeypot, focus visibility, and the legal pages.
   ═══════════════════════════════════════════════════════════════ */

/* ── Nav wordmark subtitle ── */
.nav-logo .wm-sub { font-family: var(--font-sans); font-size: 0.56rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); align-self: center; padding-left: 0.7rem; border-left: 1px solid rgba(var(--accent-rgb),0.4); }

/* ── Mini footer (subpages) ── */
.mini-footer { background: var(--ink); color: var(--paper-muted); }
.mini-footer .row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 1.8rem 0; font-family: var(--font-sans); font-size: 0.74rem; letter-spacing: 0.03em; }
.mini-footer a { color: var(--accent-bright); text-decoration: none; }

/* ── Our Story ── */
.story-head { padding: calc(var(--nav-h) + clamp(3rem, 7vw, 5.5rem)) 0 clamp(2.5rem, 5vw, 4rem); }
.story-head .sec-head { max-width: 52rem; }
.story-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.story-copy .body { margin-top: 1.15rem; font-size: 1.04rem; }
.story-copy .body:first-child { margin-top: 0; }
.pull { margin: 2.4rem 0; padding: 0.4rem 0 0.4rem 1.6rem; border-left: 2px solid var(--accent); }
.pull .lead { font-style: italic; }
.pull .who { font-family: var(--font-sans); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-deep); margin-top: 0.8rem; }
.story-fig { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.milestones { max-width: 46rem; margin: 3rem auto 0; }
.mile { display: grid; grid-template-columns: 92px 1fr; gap: 1.6rem; padding: 1.7rem 0; border-top: 1px solid var(--marble-line); }
.mile:last-child { border-bottom: 1px solid var(--marble-line); }
.mile .rn { font-family: var(--font-display); font-size: 2.3rem; line-height: 1; color: var(--accent-deep); }
.mile .rn small { display: block; font-family: var(--font-sans); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); margin-top: 0.5rem; }
.mile h3 { font-size: 1.45rem; margin-bottom: 0.5rem; }
.cta-band { text-align: center; }
.cta-band .hero-cta { justify-content: center; margin-top: 2.2rem; }
@media (max-width: 820px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-fig { position: static; max-width: 460px; }
  .mile { grid-template-columns: 64px 1fr; gap: 1rem; }
}

/* ── Native form selects (keyboard + no-JS friendly), styled to the ink form ── */
.cselect {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: 0.9rem 2.6rem 0.9rem 1rem;
  background-color: rgba(8, 9, 12, 0.6);
  border: 1px solid var(--ink-line);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d7b878' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.cselect:hover { border-color: rgba(var(--accent-rgb), 0.45); }
.cselect option { background: #12151b; color: var(--paper); }
.cselect:required:invalid { color: var(--paper-faint); }
@media (max-width: 820px) { .cselect { font-size: 1rem; padding: 1rem 2.6rem 1rem 1rem; } }

/* ── Honeypot — present for bots, hidden from people and AT ── */
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ── Inline form error (network/server/validation) ── */
.form-error {
  margin-top: 1.2rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(200, 90, 90, 0.55);
  background: rgba(120, 32, 32, 0.22);
  color: #f0c9c9;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  line-height: 1.55;
}
.form-error[hidden] { display: none; }
.form-error a { color: var(--accent-bright); }

/* ── Visible focus (keyboard) ── */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.s-ink :focus-visible, .s-ink-2 :focus-visible, .footer :focus-visible, .mobile-menu :focus-visible { outline-color: var(--accent-bright); }
.field input:focus-visible, .field textarea:focus-visible, .cselect:focus-visible {
  outline: none;
  border-color: rgba(var(--accent-rgb), 0.6);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.3);
}
:focus:not(:focus-visible) { outline: none; }

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

/* ── Legal pages (privacy / terms) on marble ── */
.legal { max-width: 760px; margin: 0 auto; padding: calc(var(--nav-h) + clamp(3rem, 6vw, 4.5rem)) 2rem clamp(4rem, 7vw, 6rem); }
.legal h1 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 0.5rem; }
.legal .updated { font-family: var(--font-sans); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 2.6rem; }
.legal h2 { font-size: 1.5rem; color: var(--accent-deep); margin: 2.6rem 0 0.85rem; }
.legal p, .legal li { font-family: var(--font-sans); color: var(--ink-muted); line-height: 1.85; font-size: 0.95rem; }
.legal p { margin: 0 0 1rem; }
.legal ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.legal li { margin-bottom: 0.45rem; }
.legal a { color: var(--accent-deep); }
.legal-note { border: 1px solid rgba(var(--accent-rgb), 0.4); background: rgba(var(--accent-rgb), 0.07); padding: 1rem 1.2rem; margin-bottom: 2.4rem; font-size: 0.8rem; line-height: 1.6; color: var(--ink-muted); }

/* ── 404 ── */
.nf { min-height: 88vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: calc(var(--nav-h) + 2rem) 2rem 4rem; }
.nf h1 { font-size: clamp(5rem, 14vw, 9rem); line-height: 1; color: var(--accent-deep); }
.nf p { font-family: var(--font-sans); color: var(--ink-muted); font-size: 1rem; line-height: 1.7; max-width: 30rem; margin: 1.4rem auto 2.4rem; }

/* ── Footer bottom links ── */
.footer-bottom a { color: var(--paper-muted); text-decoration: none; transition: color 0.3s; }
.footer-bottom a:hover { color: var(--accent-bright); }

/* ── Mobile hero: stack CTAs full-width and drop the scroll cue so they never collide ── */
@media (max-width: 600px) {
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .scroll-cue { display: none; }
  .hero-pin { height: 100svh; }
}
