/* Pegasus Surfaces — company proposal standard (Stage 1, Founding Member Program).
   This stylesheet is the standard's reference expression: every value comes
   from design-system/tokens.css (Barlow Condensed display/headings/buttons,
   Inter body, brand palette, radius 12/16, matte interiors, gloss reserved
   for the marble + hero art). No agent orb is ever embedded on a proposal
   (design-system/sarah-orb-spec.md placement rules). */
:root {
  --navy: #002a65;
  --brand: #043a7e;
  --bright: #418be7;
  --sky: #5b9eff;
  --bg-light: #f5f8ff;
  --ink: #2a2e37;
  --muted: #64748b;
  --border: #d7e0ee;
  --white: #ffffff;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Barlow Condensed', 'Arial Narrow', 'Inter', sans-serif; line-height: 1.15; color: var(--navy); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: 1rem; text-wrap: balance; }
h3 { font-size: 1.15rem; font-weight: 700; }
img { max-width: 100%; display: block; }
a { color: var(--bright); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-dark { background: var(--navy); color: #dceaff; }
.section-dark h2, .section-dark h3 { color: var(--white); }

.eyebrow {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bright); margin-bottom: 1rem;
}
.eyebrow.light { color: var(--sky); }

.section-lede { max-width: 720px; font-size: 1.08rem; color: var(--muted); margin-bottom: 2.5rem; }
.section-dark .section-lede { color: #dceaff; }

.btn {
  display: inline-block;
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 700; font-size: 0.95rem;
  background: var(--bright); color: var(--white); text-decoration: none;
  padding: 14px 26px; border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--brand); transform: translateY(-1px); }
.btn-small { padding: 10px 18px; font-size: 0.85rem; }
.btn-ghost-light { background: transparent; border: 2px solid rgba(255,255,255,0.55); color: var(--white); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 2rem 0; }

/* Draft bar + nav */
.draft-bar {
  background: var(--brand); color: #dceaff;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  text-align: center; padding: 8px 16px;
}
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 24px;
  background: rgba(0, 42, 101, 0.97);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a {
  color: #dceaff; text-decoration: none; font-size: 0.92rem; font-weight: 500;
}
.nav-links a:hover { color: var(--white); }
.nav .btn { margin-left: 8px; }

/* Hero */
.hero {
  background: var(--navy) url('assets/hero-garage.webp') center / cover no-repeat;
  position: relative; color: var(--white);
  padding: 110px 0 90px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0, 30, 70, 0.94) 30%, rgba(0, 42, 101, 0.72) 62%, rgba(0, 42, 101, 0.35));
}
.hero-inner { position: relative; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 6.5vw, 4.4rem); font-weight: 700;
  text-wrap: balance; max-width: 12em; margin-bottom: 1.2rem;
}
.hero .lede { max-width: 620px; font-size: 1.15rem; color: #dceaff; }
.facts-strip {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  max-width: 760px; margin: 2.2rem 0 3rem;
}
.fact {
  border: 1px solid rgba(255,255,255,0.28); border-radius: var(--radius);
  padding: 16px 18px; font-size: 0.95rem; color: #e9eef4;
  background: rgba(4, 58, 126, 0.45);
}
.fact span {
  display: block; font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 700;
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sky); margin-bottom: 6px;
}
.walkthrough { max-width: 760px; }
.walkthrough-frame {
  border: 2px dashed rgba(255,255,255,0.45); border-radius: var(--radius);
  padding: 44px 24px; text-align: center;
  background: rgba(0, 20, 50, 0.55);
}
.play-glyph {
  width: 64px; height: 64px; margin: 0 auto 16px;
  border-radius: 50%; border: 2px solid rgba(255,255,255,0.7);
  position: relative;
}
.play-glyph::after {
  content: ''; position: absolute; top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-left: 18px solid var(--white);
  border-top: 11px solid transparent; border-bottom: 11px solid transparent;
}
.walkthrough-label { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 700; color: var(--white); }
.walkthrough-note { color: #dceaff; font-size: 0.92rem; margin-top: 6px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px;
}
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card strong { color: var(--ink); }
#audit .card { background: var(--bg-light); }

.proof-card { padding: 0 0 24px; overflow: hidden; }
.proof-card h3, .proof-card p, .proof-card .text-link { margin-left: 24px; margin-right: 24px; }
.proof-card h3 { margin-top: 20px; }
.proof-img { width: 100%; height: 190px; object-fit: cover; }
.proof-img.avatar { object-fit: contain; background: var(--bg-light); padding: 12px; }
.text-link { display: inline-block; margin-top: 14px; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.subhead { margin: 3rem 0 0.5rem; font-size: 1.35rem; }
.subhead.light { color: var(--white); }
.subhead + .section-lede { margin-bottom: 1.8rem; }

.statics { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.static-frame { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.static-frame img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.static-frame figcaption { padding: 12px 16px; font-size: 0.88rem; font-weight: 600; color: var(--navy); }

/* Position */
.pull-quote {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 700;
  font-size: clamp(1.7rem, 4.4vw, 2.7rem); line-height: 1.25;
  color: var(--white); max-width: 20em; margin: 2.5rem 0 3rem;
  border-left: 5px solid var(--bright); padding-left: 24px;
}
.pull-quote span { color: var(--sky); font-size: 0.55em; font-weight: 600; display: block; margin-top: 0.8rem; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.step { border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius); padding: 26px 24px; background: rgba(255,255,255,0.04); }
.step p { color: #dceaff; font-size: 0.97rem; }
.step-num {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 700; font-size: 1.5rem;
  color: var(--sky); margin-bottom: 12px;
}

/* Creative */
.video-row { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 36px; align-items: start; }
.video-frame {
  border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius);
  overflow: hidden; background: #031124;
}
.video-frame video { width: 100%; display: block; aspect-ratio: 9 / 16; }
.video-copy p { color: #dceaff; margin-bottom: 1rem; max-width: 560px; }
.video-copy h3 { margin-bottom: 0.8rem; font-size: 1.4rem; }
.concept-note { border-left: 4px solid var(--bright); padding-left: 16px; }
.disclaimer { margin-top: 2.2rem; font-size: 0.9rem; color: #a9b7c6; font-style: italic; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid rgba(255,255,255,0.3); border-radius: 999px;
  padding: 9px 18px; font-size: 0.92rem; font-weight: 500; color: #e9eef4;
}

/* System */
.system-list { display: flex; flex-direction: column; gap: 16px; max-width: 860px; }
.system-item {
  display: flex; gap: 22px; align-items: flex-start;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; background: var(--bg-light);
}
.system-item .step-num { color: var(--brand); margin: 0; font-size: 1.3rem; }
.system-item p { color: var(--muted); font-size: 0.97rem; margin-top: 4px; }

/* 90 days */
.phases { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.phase { border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; }
.phase-when {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--bright); margin-bottom: 10px;
}
.phase p { color: var(--muted); font-size: 0.97rem; margin-top: 6px; }
.decide {
  margin-top: 28px; color: #dceaff;
  border-radius: var(--radius); padding: 30px;
  background: linear-gradient(rgba(0, 42, 101, 0.90), rgba(3, 17, 36, 0.94)), url('assets/pegasus-marble.png') center / cover no-repeat var(--navy);
}
.decide h3 { color: var(--white); margin-bottom: 14px; }
.decide ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px 28px; }
.decide li { padding-left: 22px; position: relative; font-size: 0.98rem; }
.decide li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 9px; height: 9px; border-radius: 50%; background: var(--bright); }

/* Close + footer */
.close h2 { font-size: clamp(2rem, 5vw, 3rem); }
.footer { background: #031124; color: #a9b7c6; padding: 44px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer img { height: 36px; width: auto; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer .footer-marble { height: 44px; width: 44px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255,255,255,0.35); }
.footer a { color: #dceaff; }
.footer-tag { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 700; color: var(--white); letter-spacing: 0.04em; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* Mobile */
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav { justify-content: space-between; }
  .facts-strip { grid-template-columns: 1fr; }
  .video-row { grid-template-columns: 1fr; }
  .video-frame { max-width: 340px; }
  .hero { padding: 72px 0 60px; }
}
