/* Pitch page template (skills/pitch-page). Brand look comes from theme.css, generated from the page spec; keep this file brand-neutral. */
:root {
  --bg: #ffffff; --ink: #141414; --muted: #5f6368; --line: #e3e3e0; --panel: #f3f3f1; --accent: #1f3a5f; --cta: #1f3a5f; --cta-ink: #ffffff; --frame: #000000;
  --display: "Helvetica Neue", Helvetica, Arial, sans-serif; --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display-weight: 700; --display-tracking: -0.02em;
  color-scheme: light;
}
:root[data-theme="dark"] { color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); line-height: 1.55; -webkit-text-size-adjust: 100%; }
a { color: inherit; text-underline-offset: 4px; }
a, button, summary { touch-action: manipulation; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible, video:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip { position: absolute; top: -80px; left: 12px; padding: 12px; background: var(--bg); z-index: 20; }
.skip:focus { top: 12px; }

/* Header: one co-brand lockup, section links, appearance control. */
header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px max(5vw, 16px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 16px; color: var(--ink); }
.brand-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); }
.brand-link:hover { opacity: 0.75; color: var(--ink); }
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.brand .customer { display: block; height: 34px; width: auto; color: var(--ink); }
.brand .customer svg, .brand svg.customer { height: 34px; width: auto; display: block; }
.brand .pv { width: 32px; height: 32px; }
.brand .x { color: var(--muted); }
nav { display: flex; gap: 24px; font-size: 14px; }
nav a { text-decoration: none; padding: 12px 0; }
.theme-control { display: flex; border: 1px solid var(--line); border-radius: 24px; padding: 3px; }
.theme-control button { width: 44px; height: 44px; background: transparent; border: 0; border-radius: 50%; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.theme-control svg { width: 19px; height: 19px; }
.theme-control button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

main { max-width: 1320px; margin: 0 auto; padding: 0 max(5vw, 16px); }
.eyebrow { font-size: 12px; text-transform: uppercase; font-weight: 700; letter-spacing: 0.14em; color: var(--muted); margin: 0 0 14px; }

/* Hero: compact, so the videos start in the first viewport. */
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 6vw; align-items: end; padding: 44px 0 34px; }
h1 { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: clamp(36px, 4.6vw, 66px); line-height: 1.04; margin: 0; text-wrap: balance; }
h1 span { color: var(--accent); }
.intro { font-size: 18px; margin: 0 0 18px; max-width: 520px; }
.support { font-size: 15px; color: var(--muted); margin: 0 0 22px; max-width: 520px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; background: var(--cta); color: var(--cta-ink); text-decoration: none; font-size: 14px; font-weight: 700; border-radius: 2px; }
.button:hover { background: var(--ink); color: var(--bg); }
.text-link { font-size: 14px; font-weight: 700; }

/* Videos: one card per video; 9:16 frame, centred contain, never cropped. */
.section { padding: 48px 0 60px; border-top: 1px solid var(--line); }
.videos.first { padding-top: 8px; border-top: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 28px; }
.section-heading p:not(.eyebrow) { max-width: 460px; color: var(--muted); margin: 0; }
h2 { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; margin: 0; text-wrap: balance; }
.grid { display: grid; grid-template-columns: repeat(var(--columns, 3), minmax(0, 1fr)); gap: 28px; }
.cols-1 { --columns: 1; } .cols-2 { --columns: 2; } .cols-3 { --columns: 3; }
.video { display: flex; flex-direction: column; min-width: 0; }
.video-media { position: relative; aspect-ratio: 9 / 16; max-height: 78vh; max-width: calc(78vh * 9 / 16); width: 100%; margin: 0 auto; overflow: hidden; background: var(--frame); }
.video-media video { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; background: var(--frame); }
.video-media video:fullscreen, .video-media video:-webkit-full-screen { width: 100vw; height: 100vh; object-fit: contain; object-position: center; background: #000; }
.video-copy { padding-top: 16px; }
.variant { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin: 0 0 6px; }
h3 { font-size: 19px; line-height: 1.25; margin: 0 0 4px; }
.headline { font-family: var(--display); font-size: 17px; margin: 0 0 8px; color: var(--accent); }
.summary { margin: 0 0 10px; font-size: 15px; }
details { border-top: 1px solid var(--line); margin: 10px 0 12px; padding-top: 10px; font-size: 14px; }
summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.beats { list-style: none; padding: 0; margin: 6px 0 10px; }
.beats li { display: grid; grid-template-columns: 74px 1fr; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.beats b { font-variant-numeric: tabular-nums; }
.links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: auto; padding-top: 6px; font-size: 14px; }
.links a { min-height: 44px; display: inline-flex; align-items: center; }

/* Evidence: observed facts with their source and date. */
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.points div { padding: 20px 20px 22px 0; border-bottom: 1px solid var(--line); }
.points strong { display: block; font-family: var(--display); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; margin-bottom: 6px; }
.points span { color: var(--muted); font-size: 14px; }
.source { font-size: 12px; color: var(--muted); margin: 16px 0 0; max-width: 760px; }

/* Pilot: one decision, one primary action. */
.pilot { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; }
.pilot > div > p { color: var(--muted); max-width: 520px; }
.criteria { display: grid; gap: 0; border-top: 1px solid var(--ink); align-self: start; }
.criteria div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.criteria h3 { font-size: 16px; }
.criteria p { margin: 0; color: var(--muted); font-size: 15px; }

/* Optional pieces: hero CTA, about line, plan steps, notes. */
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 0; }
.about-text { font-family: var(--display); font-size: clamp(20px, 2vw, 26px); line-height: 1.35; max-width: 820px; margin: 0; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 4px 0 24px; max-width: 520px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: var(--display-weight); color: var(--accent); }
.note { font-size: 13px; color: var(--muted); margin: 14px 0 0; max-width: 520px; }

footer { max-width: 1320px; margin: 0 auto; padding: 26px max(5vw, 16px) 48px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

@media (max-width: 960px) {
  .hero, .pilot { grid-template-columns: 1fr; gap: 22px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  nav { display: none; }
}
@media (max-width: 600px) {
  header { padding: 12px 16px; gap: 12px; }
  .brand { gap: 10px; }
  .brand .customer, .brand .customer svg, .brand svg.customer { height: 26px; }
  .brand .pv { width: 26px; height: 26px; }
  .theme-control button { width: 40px; height: 40px; }
  .hero { padding: 22px 0 18px; gap: 14px; }
  h1 { font-size: 31px; }
  .intro { font-size: 16px; margin-bottom: 10px; }
  .support { display: none; }
  .section-heading { display: block; }
  .section-heading p:not(.eyebrow) { margin-top: 12px; }
  .grid { grid-template-columns: 1fr; gap: 40px; }
  .video-media { max-height: none; max-width: none; }
  .beats li { grid-template-columns: 64px 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
