/* PlayMaker North website
   One stylesheet for every page. Built from the design handoff
   (Downloads/design_handoff_playmaker_north_site/README.md, Oct 2026).

   LAUNCH SWITCH (edit this line, nothing else):
   1. Case studies are hidden until real numbers exist. Delete the first
      rule below to show them everywhere (nav, home preview, index pages).
   2. (Portrait switch removed Oct 11: the photo is at assets/portrait.jpg.)
*/
[data-cases] { display: none !important; }

/* ---------- tokens ---------- */
:root {
  --bg: #F3F5F7;
  --card: #FFFFFF;
  --ink: #1F2329;
  --body: #41474F;
  --body-2: #535961;
  --muted: #666C74;
  --muted-2: #737980;
  --border: #D9DDE2;
  --border-soft: #DCE0E5;
  --input-bg: #F7F8FA;
  --hover-bg: #E4E7EB;
  --accent: #1E6B4F;          /* brand forest green */
  --accent-hover: #185A42;
  --accent-link-hover: #134A36;
  --accent-on-dark: #8BC4A8;
  --cta: #E1ECE6;
  --dark: #1F2329;
  --dark-rule: #3F454D;
  --dark-text: #EEF0F2;
  --dark-muted: #B4B9BF;
  --dark-num: #8A9098;

  --sans: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --side: 48px;
  --section: 88px;
  --section-inner: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-link-hover); }
h1, h2, h3, p, ul, dl { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.pretty { text-wrap: pretty; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.label.accent { color: var(--accent); }
.mono-link {
  font-family: var(--mono);
  font-size: 13px;
  white-space: nowrap;
}
.h1 {
  font-size: 52px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 20ch;
  text-wrap: pretty;
  margin-bottom: 28px;
}
.h1.hero-h1 { font-size: 62px; line-height: 1.04; letter-spacing: -0.035em; max-width: 21ch; margin-bottom: 32px; }
.h1.small { font-size: 46px; line-height: 1.1; max-width: 24ch; margin-bottom: 24px; }
.h2 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.h2.light { font-weight: 500; font-size: 34px; }
.h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--body-2);
  max-width: 58ch;
  text-wrap: pretty;
}
.body-lg { font-size: 17.5px; line-height: 1.7; color: var(--body); max-width: 64ch; text-wrap: pretty; }
.body-md { font-size: 15.5px; line-height: 1.65; color: var(--body-2); text-wrap: pretty; }

/* ---------- layout ---------- */
.section {
  padding: var(--section) var(--side);
  border-bottom: 1px solid var(--border);
}
.section.inner { padding-top: var(--section-inner); padding-bottom: var(--section-inner); }
.section.no-border { border-bottom: 0; }
.section.page-head { padding-bottom: 64px; }
.inner-max { max-width: 1440px; }
.inner-1280 { max-width: 1280px; }
.inner-1200 { max-width: 1200px; }
.inner-1340 { max-width: 1340px; }
.row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 20px var(--side);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--accent);
}
.brand .mark { width: 44px; height: 44px; flex: none; display: block; }
.brand .wordmark {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}
.brand:hover { color: var(--accent); }
.dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  flex: none;
}
.site-nav {
  display: flex;
  gap: 6px;
  font-family: var(--mono);
  font-size: 13px;
}
.site-nav a {
  padding: 8px 14px;
  color: var(--body);
  border-radius: 3px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--hover-bg); color: var(--ink); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent-hover); color: var(--bg); }
.btn-outline { border-color: #CDD2D8; color: #3B4149; }
.btn-outline:hover { border-color: var(--accent); color: #3B4149; }
.btn-lg { padding: 15px 30px; }
.btn-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* ---------- cards & panels ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px;
}
.panel {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.panel > * { background: var(--card); padding: 26px 28px; }
.panel.on-bg > * { background: var(--bg); padding: 22px 24px; }
.panel.cols-2 { grid-template-columns: 1fr 1fr; }
.panel.cols-4 { grid-template-columns: repeat(4, 1fr); }
.panel ul { display: grid; gap: 11px; }
.panel li { font-size: 15.5px; color: #3B4149; }
.panel dd { margin: 0; font-size: 16px; font-weight: 500; }
.panel dd.normal { font-weight: 400; }

/* ---------- home: hero ---------- */
.hero { padding-top: 104px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 72px;
  align-items: end;
  max-width: 1440px;
}
.hero .eyebrow { margin-bottom: 32px; }
.hero .lede { max-width: 54ch; margin-bottom: 40px; }

/* ---------- home: the three questions ---------- */
.questions { align-self: center; }
.questions .label { margin: 0; padding: 18px 24px 14px; color: var(--muted-2); }
.questions a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
  transition: background 0.15s;
}
.questions a:hover { background: var(--hover-bg); color: var(--ink); }
.questions .num { font-family: var(--mono); font-size: 12.5px; color: var(--accent); flex: none; }
.question {
  padding: var(--section) var(--side);
  border-bottom: 1px solid var(--border);
}
.q-grid {
  display: grid;
  grid-template-columns: 120px 1fr 340px;
  gap: 56px;
  align-items: start;
  max-width: 1280px;
}
.q-grid .num { font-family: var(--mono); font-size: 44px; letter-spacing: -0.02em; color: var(--accent); line-height: 1; }
.q-grid .h2 { max-width: 22ch; margin-bottom: 24px; text-wrap: pretty; }
.q-grid p.body { font-size: 17.5px; line-height: 1.7; color: var(--body); max-width: 60ch; margin-bottom: 20px; text-wrap: pretty; }
.q-grid .leave { padding: 24px 26px; }
.q-grid .leave .label { margin-bottom: 12px; }
.q-grid .leave p:not(.label) { font-size: 16px; line-height: 1.6; color: #3B4149; text-wrap: pretty; }
.q-grid .ask { border-top: 1px solid var(--border); padding-top: 24px; margin-top: 8px; max-width: 60ch; }
.q-grid .ask p { font-size: 16.5px; line-height: 1.65; color: var(--body); margin-bottom: 20px; text-wrap: pretty; }
.question.dark { background: var(--dark); color: var(--dark-text); border-bottom: 0; }
.question.dark .num { color: var(--accent-on-dark); }
.question.dark .h2 { color: #fff; }
.question.dark p.body { color: var(--dark-muted); }
.question.dark .ask { border-top-color: var(--dark-rule); }
.question.dark .ask p { color: var(--dark-text); }
.question.dark .btn-primary { background: var(--accent-on-dark); color: var(--dark); }
.question.dark .btn-primary:hover { background: #fff; color: var(--dark); }
.question.dark .leave { background: var(--dark); border-color: var(--dark-rule); }
.question.dark .leave .label { color: var(--accent-on-dark); }
.question.dark .leave p:not(.label) { color: var(--dark-text); }
.about-grid .facts { margin-bottom: 28px; max-width: 560px; }
.about-grid .facts > * { padding: 18px 22px; }
.about-grid .facts dd { font-size: 15.5px; }

/* ---------- home: services preview ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1440px; }
.tier-card { display: flex; flex-direction: column; gap: 18px; }
.tier-card .meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; }
.tier-card .meta .t { color: var(--accent); }
.tier-card .meta .d { color: var(--muted-2); }

/* ---------- home: process band ---------- */
.process-band {
  padding: var(--section) var(--side);
  background: var(--dark);
  color: var(--dark-text);
}
.process-band .eyebrow { color: var(--accent-on-dark); margin-bottom: 24px; }
.process-band .row-head { margin-bottom: 56px; }
.process-band .mono-link { color: var(--accent-on-dark); }
.process-band .mono-link:hover { color: #fff; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--dark-rule);
  border-top: 1px solid var(--dark-rule);
  border-bottom: 1px solid var(--dark-rule);
}
.process-grid > div { background: var(--dark); padding: 28px 28px 32px; }
.process-grid > div:first-child { padding-left: 0; }
.process-grid .num { font-family: var(--mono); font-size: 12px; color: var(--dark-num); margin-bottom: 16px; }
.process-grid > div:first-child .num { color: var(--accent-on-dark); }
.process-grid h3 { font-size: 19px; font-weight: 600; margin-bottom: 12px; color: #fff; }
.process-grid p { font-size: 15px; line-height: 1.6; color: var(--dark-muted); }

/* ---------- case rows ---------- */
.case-list { display: grid; gap: 20px; max-width: 1440px; }
.case-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 32px;
  padding: 30px 32px;
  align-items: center;
  color: var(--ink);
  transition: border-color 0.15s;
}
.case-row:hover { border-color: var(--accent); color: var(--ink); }
.case-row .who { flex: 1 1 240px; min-width: 240px; }
.case-row .who .client { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.case-row .who .domain { font-size: 14.5px; color: var(--muted); margin-top: 8px; }
.case-row .ba { flex: 2 1 260px; min-width: 240px; }
.case-row .ba p { font-size: 15.5px; line-height: 1.6; color: #44494F; }
.case-row .metric { flex: 0 0 170px; text-align: right; }
.case-row .metric .n { font-size: 34px; font-weight: 600; letter-spacing: -0.03em; color: var(--accent-hover); }
.case-row .metric .u { font-family: var(--mono); font-size: 11.5px; color: var(--muted-2); margin-top: 4px; }
.case-row .metric .read { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-top: 8px; }

/* ---------- about preview / about page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 72px;
  max-width: 1280px;
  align-items: start;
}
.about-grid .eyebrow { margin-bottom: 24px; }
.about-grid .h2 { max-width: 26ch; margin-bottom: 28px; text-wrap: pretty; }
.about-grid p.body { font-size: 17px; line-height: 1.7; color: var(--body); max-width: 62ch; margin-bottom: 24px; text-wrap: pretty; }
.portrait {
  margin: 0;
  width: 340px;
  height: 400px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}
.portrait.lg { width: 400px; height: 480px; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }

.about-page-grid { grid-template-columns: 1fr auto; gap: 80px; max-width: 1340px; }
.about-page-grid p.body { font-size: 18px; line-height: 1.72; margin-bottom: 20px; }
.about-page-grid p.body:last-of-type { margin-bottom: 0; }

.split-320 {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 72px;
  align-items: start;
}
.split-320 .label { font-size: 12px; margin-bottom: 14px; }
.split-320 .h2 { font-size: 28px; }
.commit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.commit-grid .card { padding: 28px; }
.commit-grid h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }

/* ---------- CTA band ---------- */
.cta-band {
  padding: var(--section) var(--side);
  background: var(--cta);
}
.cta-band.inner { padding-top: var(--section-inner); padding-bottom: var(--section-inner); }
.cta-band .in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  max-width: 1280px;
}
.cta-band h2 { font-size: 30px; font-weight: 600; letter-spacing: -0.025em; max-width: 28ch; text-wrap: pretty; }
.cta-band.inner h2 { font-size: 28px; max-width: 30ch; }

/* ---------- services page ---------- */
.tiers { padding: 0 var(--side); }
.tier {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 72px;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
  max-width: 1440px;
  align-items: start;
}
.tier:last-child { border-bottom: 0; padding-bottom: 80px; }
.tier .side { position: sticky; top: 96px; }
.tier .side .label { font-size: 12px; color: var(--accent); margin-bottom: 14px; }
.tier .side h2 { font-size: 30px; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 16px; }
.tier .side p { font-size: 15.5px; line-height: 1.6; color: #4A5058; }
.tier .body-lg { margin-bottom: 36px; }
.tier .panel .label { margin-bottom: 14px; }

/* ---------- how it works ---------- */
.steps { padding: 0 var(--side) 80px; }
.steps .in { max-width: 1200px; }
.step {
  display: grid;
  grid-template-columns: 120px 1fr 340px;
  gap: 56px;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step .num { font-family: var(--mono); font-size: 44px; letter-spacing: -0.02em; color: #8A9098; line-height: 1; }
.step:first-child .num { color: var(--accent); }
.step h2 { font-size: 27px; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 16px; }
.step .body { font-size: 17px; line-height: 1.7; color: #44494F; max-width: 56ch; text-wrap: pretty; }
.step .bring { padding: 22px 24px; }
.step .bring .label { margin-bottom: 12px; }
.step .bring p { font-size: 15.5px; line-height: 1.6; color: #3B4149; }

/* ---------- case study page ---------- */
.backlink { padding: 40px var(--side) 0; }
.case-head { padding: 40px var(--side) 64px; border-bottom: 1px solid var(--border); }
.metrics .n { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; }
.metrics .n.accent { color: var(--accent-hover); }
.metrics .label { margin-bottom: 12px; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1200px; }
.ba-grid .card { padding: 36px; }
.ba-grid .label { margin-bottom: 20px; }
.ba-grid p { font-size: 17px; line-height: 1.7; color: var(--body); margin-bottom: 16px; }
.ba-grid p:last-child { margin-bottom: 0; }
.built .panel .t { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.built .panel p { font-size: 15.5px; line-height: 1.6; color: var(--body-2); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; max-width: 1280px; }
.contact-grid .lede { font-size: 18px; line-height: 1.7; max-width: 48ch; margin-bottom: 40px; }
.contact-grid .panel { max-width: 440px; }
.contact-grid .panel > * { padding: 22px 24px; }
.contact-grid .panel dd { font-weight: 400; }
.form {
  display: grid;
  gap: 16px;
  padding: 36px;
  align-content: start;
}
.form label {
  display: grid;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4A5058;
}
.form input, .form textarea {
  font-family: var(--sans);
  font-size: 16px;
  padding: 11px 13px;
  background: var(--input-bg);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  color: var(--ink);
  outline: none;
  width: 100%;
  letter-spacing: 0;
}
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form textarea:focus { border-color: var(--accent); background: #fff; }
.form input:user-invalid, .form textarea:user-invalid { border-color: #B4473C; }
.form .btn { margin-top: 6px; justify-self: start; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.form-note.ok { color: var(--accent-hover); }
.form-note.err { color: #B4473C; }

/* ---------- footer ---------- */
.site-footer {
  padding: 32px var(--side);
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.site-footer .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.site-footer .brand-sm { display: flex; align-items: center; gap: 10px; }
.site-footer .brand-sm .mark { width: 28px; height: 28px; flex: none; display: block; }
.site-footer .fine {
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted-2);
  max-width: 70ch;
}

/* ---------- 404 ---------- */
.notfound { padding: 120px var(--side); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .h1.hero-h1 { font-size: 54px; }
  .hero-grid { grid-template-columns: 1.3fr 1fr; gap: 48px; }
  .step { grid-template-columns: 90px 1fr; }
  .step .bring { grid-column: 2; }
  .q-grid { grid-template-columns: 90px 1fr; }
  .q-grid .leave { grid-column: 2; }
  .tier { grid-template-columns: 260px 1fr; gap: 48px; }
}

@media (max-width: 900px) {
  :root { --side: 20px; --section: 64px; --section-inner: 56px; }
  .h1, .h1.hero-h1, .h1.small { font-size: 40px; line-height: 1.08; letter-spacing: -0.03em; }
  .h2, .h2.light { font-size: 27px; }
  .lede { font-size: 17px; }
  .hero { padding-top: 64px; }
  .hero-grid, .about-grid, .about-page-grid, .split-320, .contact-grid, .ba-grid,
  .grid-3, .commit-grid, .process-grid, .panel.cols-2, .panel.cols-4, .tier, .step, .q-grid {
    grid-template-columns: 1fr;
  }
  .q-grid { gap: 20px; }
  .q-grid .num { font-size: 32px; }
  .questions a { font-size: 17px; }
  .hero-grid, .about-grid, .about-page-grid, .contact-grid { gap: 40px; }
  .split-320 { gap: 28px; }
  .tier { gap: 28px; padding: 48px 0; }
  .tier .side { position: static; }
  .step { gap: 20px; padding: 40px 0; }
  .step .num { font-size: 32px; }
  .step .bring { grid-column: 1; }
  .q-grid .leave { grid-column: 1; }
  .process-grid > div { padding: 24px 0; }
  .row-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 32px; }
  .cta-band .in { flex-direction: column; align-items: flex-start; gap: 28px; }
  .case-row .metric { flex-basis: 100%; text-align: left; }
  .portrait, .portrait.lg { width: 100%; max-width: 400px; height: auto; aspect-ratio: 4 / 5; }
  .card { padding: 24px; }
  .form { padding: 24px; }
  .ba-grid .card { padding: 24px; }

  /* nav becomes a menu */
  .site-header { flex-wrap: wrap; gap: 12px 20px; padding: 16px var(--side); }
  .brand .mark { width: 38px; height: 38px; }
  .brand .wordmark { font-size: 16px; letter-spacing: 0.12em; }
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    gap: 2px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
  }
  .site-nav a { padding: 12px 10px; font-size: 14px; }
  .site-header.open .site-nav { display: flex; }

  .site-footer .row { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .case-row { transition: none; }
}
