/* ============================================================
   PITCH CXO — Website system
   Dark hero · light content · sharp, print-quality editorial
   ============================================================ */

@import url("brand.css");

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--pitch);
  background: var(--strip);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Type primitives ---------- */
.eyebrow {
  font-family: var(--cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; line-height: 0.95; letter-spacing: -0.01em; text-transform: uppercase; }
.display {
  font-size: clamp(44px, 8.5vw, 116px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.h-section {
  font-size: clamp(34px, 5.2vw, 66px);
  font-weight: 600;
  line-height: 0.95;
  text-transform: uppercase;
}
.h-sub { font-size: clamp(24px, 3vw, 38px); font-weight: 600; text-transform: uppercase; }

.lead { font-size: clamp(19px, 2vw, 23px); line-height: 1.55; color: var(--offblack); font-weight: 300; text-wrap: pretty; }
.body { font-size: 18px; line-height: 1.65; color: #3a3a38; font-weight: 300; text-wrap: pretty; }
.muted { color: var(--ash); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 15px; white-space: nowrap;
  padding: 16px 28px; border: none; cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--pitch); }
.btn--gold:hover { background: var(--gold-hi); }
.btn--dark { background: var(--pitch); color: var(--strip); }
.btn--dark:hover { background: var(--offblack); }
.btn--ghost { background: transparent; color: var(--strip); box-shadow: inset 0 0 0 1.5px rgba(250,250,248,.35); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--gold); }
.btn--ghost-dark { background: transparent; color: var(--pitch); box-shadow: inset 0 0 0 1.5px rgba(12,12,12,.2); }
.btn--ghost-dark:hover { box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--turf); }
.btn .arr { font-family: var(--body); font-weight: 400; transition: transform .25s; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.nav__inner { width: 100%; max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav a.brand { display: flex; align-items: center; gap: 12px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  font-family: var(--cond); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 14px; position: relative; padding: 4px 0;
  transition: color .2s; white-space: nowrap;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--gold); transition: width .25s ease;
}
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__cta { padding: 11px 20px; font-size: 13px; white-space: nowrap; }

/* light/dark states */
.nav--over-dark { color: var(--strip); }
.nav--over-dark .nav__links a { color: rgba(250,250,248,.55); }
.nav--over-dark .nav__links a:hover, .nav--over-dark .nav__links a.active { color: #fff; }
.nav--solid {
  background: rgba(250,250,248,.92);
  backdrop-filter: saturate(1.2) blur(10px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--pitch);
}
.nav--solid .nav__links a { color: var(--ash); }
.nav--solid .nav__links a:hover, .nav--solid .nav__links a.active { color: var(--pitch); }
.nav__burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; color: inherit; }
.nav__burger span { width: 24px; height: 2px; background: currentColor; display: block; transition: .25s; }

/* ---------- Sections ---------- */
.section { padding: clamp(76px, 11vh, 150px) 0; }
.section--dark { background: var(--pitch); color: var(--strip); }
.section--dark .body { color: rgba(250,250,248,.72); }
.section--dark .lead { color: rgba(250,250,248,.86); }
.section--tight { padding: clamp(54px, 7vh, 96px) 0; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; background: var(--pitch); color: var(--strip);
  display: flex; align-items: center; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; opacity: .26; }
.hero__bg image-slot { width: 100%; height: 100%; }
.hero::after { /* vignette + bottom fade */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 70% 30%, transparent 40%, rgba(12,12,12,.55) 100%),
    linear-gradient(to bottom, rgba(12,12,12,.2), rgba(12,12,12,.0) 30%, rgba(12,12,12,.85));
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-top: 90px; padding-bottom: 60px; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5vw, 62px); }
.hero h1 .gln { display: block; }
.hero h1 .gold { color: var(--gold); }
.hero__sub { margin-top: 28px; max-width: 48ch; }
.hero__cta { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__single { max-width: 720px; position: relative; }
.hero__ghost { position: absolute; right: -4%; top: 50%; transform: translateY(-50%); font-family: var(--cond); font-weight: 700; font-size: 64vh; color: rgba(200,168,75,.07); line-height: 1; pointer-events: none; user-select: none; z-index: 1; }

/* scoreboard X-mechanic centerpiece */
.mech {
  border: 1px solid rgba(250,250,248,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  padding: 40px 36px; position: relative;
}
.mech__tag {
  font-family: var(--cond); font-weight: 700; letter-spacing: .2em; font-size: 12px;
  color: rgba(250,250,248,.5); text-transform: uppercase;
  display: flex; justify-content: space-between;
}
.mech__word {
  display: flex; align-items: baseline; justify-content: center; gap: .04em;
  font-family: var(--display); font-weight: 900; line-height: 1;
  font-size: clamp(60px, 9vw, 128px); margin: 22px 0 18px;
}
.mech__word .c, .mech__word .o { color: var(--strip); }
.mech__mid {
  font-family: var(--cond); font-weight: 700; color: var(--gold);
  min-width: .72em; text-align: center; display: inline-block;
}
.mech__role {
  text-align: center; font-family: var(--cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: .22em; font-size: 15px; color: var(--gold); height: 1.4em;
}
.mech__role .swap { display: inline-block; }

/* ---------- statement ---------- */
.statement .display { max-width: 16ch; }
.statement .display .gold { color: var(--gold); }

/* ---------- home nav cards ---------- */
.nav-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ncard { background: var(--strip); padding: 48px 44px; display: flex; flex-direction: column; gap: 14px; min-height: 280px; transition: background .3s; }
.ncard:hover { background: #fff; }
.ncard h3 { font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; font-weight: 600; line-height: .98; max-width: 16ch; }
.ncard__link { margin-top: auto; font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; color: var(--gold); display: inline-flex; align-items: center; gap: 8px; }
.ncard:hover .ncard__link { color: var(--turf); }
@media (max-width: 700px) { .nav-cards { grid-template-columns: 1fr; } }

/* ---------- service / X cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.svc {
  background: var(--strip); padding: 44px 40px; position: relative;
  transition: background .3s; min-height: 240px; display: flex; flex-direction: column;
}
.svc:hover { background: #fff; }
.svc__role {
  font-family: var(--cond); font-weight: 700; font-size: clamp(40px, 5vw, 64px);
  line-height: .9; letter-spacing: -.01em;
}
.svc__role .x { color: var(--gold); }
.svc__num { position: absolute; top: 30px; right: 36px; font-family: var(--cond); font-weight: 700; color: var(--line); font-size: 30px; }
.svc h3 { font-size: 22px; text-transform: uppercase; margin: 18px 0 12px; }
.svc .body { font-size: 16.5px; }
.svc__bar { width: 38px; height: 3px; background: var(--gold); margin-bottom: 22px; }

/* dark variant of cards */
.section--dark .svc-grid { background: var(--line-dk); border-color: var(--line-dk); }
.section--dark .svc { background: var(--pitch); }
.section--dark .svc:hover { background: var(--offblack); }
.section--dark .svc h3 { color: var(--strip); }
.section--dark .svc__num { color: #2a2a2a; }
.section--dark .svc__role .c, .section--dark .svc__role .o { color: var(--strip); }

/* ---------- founders ---------- */
.founders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.founder__bio { margin-top: 18px; display: flex; flex-direction: column; gap: 16px; }
.founder__bio p { font-size: 17px; line-height: 1.62; color: #3a3a38; font-weight: 300; margin: 0; max-width: 56ch; text-wrap: pretty; }
.btn--li { margin-top: 26px; }
.founder__photo { aspect-ratio: 4/5; background: #EAE9E3; position: relative; overflow: hidden; }
.founder__photo image-slot { width: 100%; height: 100%; }
.founder__name { font-family: var(--display); font-weight: 600; font-size: 26px; text-transform: uppercase; margin-top: 22px; }
.founder__role { font-family: var(--cond); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: var(--gold); margin-top: 6px; }
.founder__quote { font-size: 19px; line-height: 1.5; font-weight: 300; font-style: italic; margin-top: 16px; max-width: 38ch; text-wrap: pretty; }

/* duotone treatment so any dropped sports photo reads on-brand
   (applied to the image itself via ::part so the empty-state prompt stays legible) */
.duo image-slot::part(image) { filter: grayscale(1) contrast(1.04) brightness(1.02) sepia(.26) saturate(1.35); }
.duo--dark image-slot::part(image) { filter: grayscale(1) contrast(1.1) brightness(.72) sepia(.3) saturate(1.3); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--strip); padding: 40px 30px; border-top: 3px solid var(--gold); }
.stat__n { font-family: var(--cond); font-weight: 700; font-size: clamp(48px, 6vw, 80px); line-height: .9; }
.stat__u { font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: .14em; color: var(--gold); text-transform: uppercase; }
.stat__l { margin-top: 14px; font-size: 15px; color: var(--ash); line-height: 1.4; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--pitch); color: var(--strip); text-align: center; }
.cta-band .display { font-size: clamp(48px, 8vw, 112px); }
.cta-band__sub { color: rgba(250,250,248,.72) !important; }

/* ---------- timeline (about) ---------- */
.tl { border-left: 2px solid var(--line); padding-left: 30px; display: flex; flex-direction: column; gap: 38px; }
.tl__item { position: relative; }
.tl__item::before { content: ""; position: absolute; left: -37px; top: 6px; width: 12px; height: 12px; background: var(--gold); border-radius: 50%; }
.tl__yr { font-family: var(--cond); font-weight: 700; letter-spacing: .1em; color: var(--turf); font-size: 15px; text-transform: uppercase; }
.tl__role { font-family: var(--display); font-weight: 600; font-size: 21px; text-transform: uppercase; margin: 4px 0 8px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--pitch); color: var(--strip); padding: 80px 0 36px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dk); }
.footer__tag { font-family: var(--display); font-weight: 600; font-size: clamp(26px,3vw,40px); text-transform: uppercase; line-height: .95; max-width: 16ch; }
.footer__tag .gold { color: var(--gold); }
.footer__col h4 { font-family: var(--cond); font-weight: 700; letter-spacing: .16em; font-size: 12px; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.footer__col a, .footer__col p { display: block; color: rgba(250,250,248,.7); font-size: 15px; line-height: 1.5; margin-bottom: 10px; transition: color .2s; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 13px; color: rgba(250,250,248,.45); flex-wrap: wrap; gap: 12px; }
.footer__bottom .cond { letter-spacing: .1em; text-transform: uppercase; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
/* if the runtime can't actually run CSS transitions, never hide content */
html.no-anim .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- page header (inner pages) ---------- */
.pagehead { background: var(--pitch); color: var(--strip); padding: 168px 0 90px; position: relative; overflow: hidden; }
.pagehead .display { max-width: 18ch; font-size: clamp(38px, 5vw, 62px); }
.pagehead .display .gold { color: var(--gold); }
.pagehead .lead { color: rgba(250,250,248,.72); max-width: 52ch; margin-top: 28px; }
.pagehead__ghost { position: absolute; right: -3%; top: 50%; transform: translateY(-50%); font-family: var(--cond); font-weight: 700; font-size: 46vh; color: rgba(200,168,75,.06); line-height: 1; pointer-events: none; user-select: none; }

/* ---------- two-col prose ---------- */
.two-col { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.rule-top { border-top: 3px solid var(--gold); padding-top: 20px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.form-card { border: 1px solid var(--line); background: #fff; padding: clamp(28px,4vw,48px); }
.form-card h2 { margin: 14px 0 28px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 40px; }
.ccard { background: var(--pitch); color: var(--strip); padding: 36px 34px; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 22px; }
.ccard::after { content: ""; position: absolute; left:0; right:0; bottom:0; height: 6px; background: var(--gold); }
.ccard__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ccard__head > div:first-child { flex: 1; min-width: 0; }
.ccard__head svg { flex-shrink: 0; }
.ccard__name { font-family: var(--display); font-weight: 600; font-size: 24px; text-transform: uppercase; letter-spacing: -0.01em; }
.ccard__role { font-family: var(--cond); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; color: var(--gold); margin-top: 6px; }
.ccard__details { display: flex; flex-direction: column; gap: 9px; font-size: 15px; font-family: var(--body); color: rgba(250,250,248,.82); }
.ccard__details a:hover { color: var(--gold); }
.ccard__details .web { color: #fff; font-weight: 700; }
.svc-cat { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: clamp(18px,2vw,24px); color: var(--gold); }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field label { font-family: var(--cond); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; color: var(--ash); }
.field input, .field textarea, .field select {
  font-family: var(--body); font-size: 16px; padding: 14px 16px; border: 1px solid var(--line);
  background: #fff; color: var(--pitch); border-radius: 0; transition: border-color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.contact-info dt { font-family: var(--cond); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; color: var(--gold); margin-bottom: 6px; }
.contact-info dd { margin: 0 0 26px; font-size: 19px; }
.contact-info dd a:hover { color: var(--turf); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .two-col, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .founders { grid-template-columns: 1fr; gap: 48px; }
  .founder--photo-mob { order: -1; }
  .svc-grid--3 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 22px; }
  .contact-cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__links.open {
    display: flex; position: fixed; inset: 0; background: var(--pitch); color: var(--strip);
    flex-direction: column; align-items: center; justify-content: center; gap: 30px; z-index: 70;
  }
  .nav__links.open a { color: var(--strip); font-size: 22px; }
  .pagehead__ghost { font-size: 30vh; opacity: .7; }
}
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}
