/* FONTS: self-hosted by fetch-fonts.js, do not hand-edit */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/archivo-800-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/archivo-800-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/chakra-petch-600-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/chakra-petch-600-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/instrument-sans-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/instrument-sans-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/instrument-sans-600-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/instrument-sans-600-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* END FONTS */

/* ============ chadtennent.com: dark, loud, built ============
   Chad, 2026-11-17: "I want it to be cool and flashy." Ink black with a faint blueprint grid, one lime
   (the Scroll Theory lime) used as a FILL for the things that matter, huge Archivo headlines, and Chakra Petch
   for the small technical labels. The page builds itself as you scroll (build.js, section 9 below). */
:root{
  color-scheme: dark;
  --bg: #08090c;
  --surface: #10131a;
  --surface-2: #161a23;
  --text: #f3f5f8;
  --text-dim: #a9b0bd;      /* 8.9:1 on --bg */
  --rule: #262b36;
  --grid: rgba(255,255,255,.035);
  --accent: #c6ff1a;        /* lime: fills, the big words, and thin marks */
  --accent-ink: #08090c;    /* text on lime */
  --accent-deep: #c6ff1a;   /* links on ink: lime reads fine on near-black (16:1) */
  --border: 1px solid var(--rule);
  --font-display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Chakra Petch', 'Archivo', sans-serif;
  --step-0: 1rem; --step-1: 1.2rem; --step-2: 1.5rem;
  --step-3: 2rem; --step-4: 2.8rem; --step-5: 3.6rem;
  --s-1:.5rem; --s-2:1rem; --s-3:1.5rem; --s-4:2.5rem; --s-5:4rem; --s-6:7rem;
  --max: 74rem;
  --measure: 40rem;
  --r: 18px;
  --sticker: 6px 6px 0 var(--accent);
  --ease: cubic-bezier(.2,.8,.2,1);
}

/* 1. base */
*{ box-sizing:border-box; min-width:0; }
html{ font-size:clamp(16px, .35vw + 14px, 19px); -webkit-text-size-adjust:100%; }
@media(prefers-reduced-motion:no-preference){ html{ scroll-behavior:smooth; } }
body{ margin:0; color:var(--text); font-family:var(--font-body); line-height:1.6; -webkit-font-smoothing:antialiased;
  background-color:var(--bg);
  /* the blueprint: a 64px grid, barely there, so the page reads like a build sheet */
  background-image:linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size:64px 64px; }
img{ display:block; max-width:100%; height:auto; }
picture{ display:contents; }
h1,h2,h3{ font-family:var(--font-display); font-weight:800; line-height:1.02; letter-spacing:-.025em; margin:0 0 var(--s-2); text-wrap:balance; overflow-wrap:break-word; }
p{ margin:0 0 var(--s-2); }
a{ color:var(--accent-deep); text-decoration-thickness:1px; text-underline-offset:.2em; }
a:hover{ text-decoration-thickness:2px; }
:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }
::selection{ background:var(--accent); color:var(--accent-ink); }
.wrap{ max-width:var(--max); margin-inline:auto; padding-inline:max(16px, 2.5vw); }
main > section, main > div, main > article{ padding-block:var(--s-5); }
.hot{ color:var(--accent); }
.kicker, .section-label{ font-family:var(--font-mono); font-weight:600; font-size:.78rem; letter-spacing:.18em; text-transform:uppercase; color:var(--accent); margin:0 0 var(--s-2); }
.section-label{ font-size:.8rem; }

/* 2. header */
.site-head{ position:sticky; top:0; z-index:20; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:var(--s-2);
  padding:.8rem max(16px, 2.5vw); background:rgba(8,9,12,.82); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); border-bottom:var(--border); }
.brand{ display:inline-flex; align-items:center; gap:.6rem; font-family:var(--font-display); font-weight:800; font-size:1.05rem; letter-spacing:-.01em; color:var(--text); text-decoration:none; text-transform:uppercase; }
.brand-mark{ display:inline-grid; place-items:center; width:2rem; height:2rem; border-radius:8px; background:var(--accent); color:var(--accent-ink); font-size:.8rem; letter-spacing:0; }
.site-head nav{ display:flex; gap:var(--s-3); flex-wrap:wrap; align-items:center; }
.site-head nav a{ color:var(--text); text-decoration:none; font-weight:600; font-size:.92rem; padding-block:.4rem; }
.site-head nav a:hover{ color:var(--accent); }
.site-head nav a[aria-current="page"]{ color:var(--accent); }
.site-head nav a.nav-cta{ background:var(--accent); color:var(--accent-ink); padding:.5rem .95rem; border-radius:999px; }
.site-head nav a.nav-cta:hover, .site-head nav a.nav-cta[aria-current="page"]{ background:var(--text); color:var(--bg); }
.nav-toggle{ display:none; background:none; border:1px solid var(--rule); color:var(--text); border-radius:999px; padding:.5rem 1rem; font:600 .9rem var(--font-body); cursor:pointer; }
@media(max-width:860px){
  .nav-toggle{ display:inline-flex; align-items:center; min-height:44px; }
  .site-head nav{ display:none; flex-direction:column; align-items:stretch; gap:0; width:100%; }
  .site-head nav.open{ display:flex; }
  .site-head nav a{ padding:.85rem 0; border-top:var(--border); font-size:1.05rem; }
  .site-head nav a.nav-cta{ margin-top:.6rem; text-align:center; border-top:0; }
}

/* 3. buttons */
.btn-row{ display:flex; flex-wrap:wrap; gap:var(--s-2); margin-top:var(--s-3); }
.btn{ display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:.8rem 1.5rem; border-radius:999px; border:1.5px solid var(--text);
  color:var(--text); font-weight:800; font-size:1rem; text-decoration:none; letter-spacing:-.005em; transition:transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.btn:hover{ background:var(--text); color:var(--bg); }
.btn-hot{ background:var(--accent); border-color:var(--accent); color:var(--accent-ink); box-shadow:0 0 0 0 var(--accent); }
.btn-hot:hover{ background:var(--accent); color:var(--accent-ink); transform:translate(-3px,-3px); box-shadow:5px 5px 0 var(--text); }
@media(max-width:480px){ .btn-row .btn{ width:100%; justify-content:center; } }

/* 4. home hero */
.hero{ position:relative; overflow:hidden; padding-block:var(--s-5) var(--s-6); }
.hero::before{ content:""; position:absolute; top:5%; right:-8%; width:46vw; height:46vw; max-width:720px; max-height:720px; pointer-events:none;
  background:radial-gradient(closest-side, rgba(198,255,26,.14), transparent); }
.hero-grid{ position:relative; display:grid; grid-template-columns:1.35fr 1fr; gap:var(--s-5); align-items:center; }
/* The name is sized to its own column, not the window: .hero-text is a size container, and 1cqi is 1% of its
   width. TENNENT is about 4.8 times as wide as its font size, so 20cqi keeps it on one line in any column, and
   nowrap means it can never break inside the word (Chad, 2026-11-17: "the last name needs formatting"). */
.hero-text{ container-type:inline-size; }
.hero h1{ font-size:clamp(3rem, 20cqi, 11rem); line-height:.86; letter-spacing:-.055em; text-transform:uppercase; margin-bottom:var(--s-3); overflow-wrap:normal; }
.hero h1 span{ display:block; white-space:nowrap; }
.outline{ color:transparent; -webkit-text-stroke:2px var(--accent); }
.hero-deck{ font-size:clamp(1.15rem, 1.5vw, 1.45rem); line-height:1.45; max-width:34ch; color:var(--text); }
.hero-portrait{ position:relative; margin:0; justify-self:end; width:100%; max-width:30rem; }
.hero-portrait .portrait{ width:100%; aspect-ratio:1; object-fit:cover; border-radius:var(--r); filter:grayscale(.15) contrast(1.05); box-shadow:12px 12px 0 var(--accent); }
/* blueprint corner marks around the photo */
.hero-portrait::before, .hero-portrait::after{ content:""; position:absolute; width:2.2rem; height:2.2rem; border:2px solid var(--accent); pointer-events:none; }
.hero-portrait::before{ top:-14px; left:-14px; border-right:0; border-bottom:0; }
.hero-portrait::after{ bottom:-26px; right:-26px; border-left:0; border-top:0; }
.hero-portrait figcaption{ display:flex; justify-content:space-between; gap:var(--s-2); margin-top:calc(var(--s-3) + 12px); font-family:var(--font-mono); font-weight:600; font-size:.74rem; letter-spacing:.16em; text-transform:uppercase; color:var(--text-dim); }
@media(max-width:900px){
  .hero-grid{ grid-template-columns:1fr; gap:var(--s-4); }
  .hero-portrait{ justify-self:start; max-width:19rem; order:-1; }
  .hero-portrait::after{ display:none; }
}

/* 5. the record: four cells, ruled like a spec sheet */
.record-grid{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,1fr); border-top:2px solid var(--accent); }
.record-cell{ display:flex; flex-direction:column; gap:.4rem; padding:var(--s-3) var(--s-3) var(--s-3) 0; border-bottom:var(--border); }
.record-cell + .record-cell{ padding-left:var(--s-3); border-left:var(--border); }
.record-n{ font-family:var(--font-mono); font-weight:600; color:var(--accent); font-size:.8rem; letter-spacing:.14em; }
.record-k{ font-family:var(--font-display); font-weight:800; font-size:clamp(1.7rem, 2.7vw, 2.6rem); line-height:1; letter-spacing:-.03em; text-transform:uppercase; }
.record-v{ color:var(--text-dim); }
@media(max-width:1000px){ .record-grid{ grid-template-columns:repeat(2,1fr); } .record-cell:nth-child(3){ padding-left:0; border-left:0; } }
@media(max-width:520px){ .record-grid{ grid-template-columns:1fr; } .record-cell, .record-cell + .record-cell{ padding-left:0; border-left:0; } }

/* 6. the statement: a big two-line claim, lime on the second line */
.statement{ background:var(--surface); border-block:var(--border); }
.statement-grid{ display:grid; grid-template-columns:1.2fr 1fr; gap:var(--s-5); align-items:end; }
.statement h2{ font-size:clamp(2.6rem, 6.5vw, 5.6rem); text-transform:uppercase; letter-spacing:-.045em; line-height:.92; margin:0; }
.statement-copy p{ font-size:var(--step-1); color:var(--text-dim); }
.statement-copy p:first-child{ color:var(--text); }
@media(max-width:900px){ .statement-grid{ grid-template-columns:1fr; gap:var(--s-3); } }

/* 7. fly out + the two programs */
.flyout-head{ display:grid; grid-template-columns:1fr 1fr; gap:var(--s-5); align-items:end; margin-bottom:var(--s-4); }
.flyout-head h2{ font-size:clamp(2.4rem, 5.5vw, 4.6rem); text-transform:uppercase; letter-spacing:-.045em; line-height:.92; margin:0; }
.flyout-head p{ color:var(--text-dim); font-size:var(--step-1); margin:0; }
@media(max-width:900px){ .flyout-head{ grid-template-columns:1fr; gap:var(--s-3); } }
.programs{ display:grid; grid-template-columns:1fr 1fr; gap:var(--s-3); }
.program{ position:relative; padding:var(--s-4) var(--s-3) var(--s-3); border:var(--border); border-radius:var(--r); background:var(--surface); }
.program h3{ font-size:var(--step-4); text-transform:uppercase; letter-spacing:-.04em; line-height:.95; }
.program-tag{ display:inline-block; font-family:var(--font-mono); font-weight:600; font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; padding:.3rem .7rem; border:1px solid currentColor; border-radius:999px; margin-bottom:var(--s-2); color:var(--accent); }
.program-line{ font-size:var(--step-1); font-weight:600; margin-bottom:var(--s-2); }
.program ul{ list-style:none; margin:0; padding:0; }
.program li{ position:relative; padding:.65rem 0 .65rem 1.8rem; border-top:var(--border); }
.program li::before{ content:""; position:absolute; left:0; top:1.05rem; width:.8rem; height:.8rem; border-radius:3px; background:var(--accent); }
.program-hot{ background:var(--accent); color:var(--accent-ink); border-color:var(--accent); }
.program-hot .program-tag{ color:var(--accent-ink); }
.program-hot li{ border-top-color:rgba(8,9,12,.18); }
.program-hot li::before{ background:var(--accent-ink); }
.program-hot a{ color:var(--accent-ink); }
@media(max-width:860px){ .programs{ grid-template-columns:1fr; } }

/* 8. the system: the six steps as a big numbered ledger */
.ledger-head{ display:grid; grid-template-columns:1fr 1fr; gap:var(--s-4); align-items:end; padding-bottom:var(--s-2); margin-bottom:0; border-bottom:2px solid var(--accent); }
.ledger-head h2{ font-size:clamp(2.2rem, 5vw, 4.2rem); text-transform:uppercase; letter-spacing:-.045em; line-height:.92; margin:0; }
.ledger-head p{ margin:0; color:var(--text-dim); max-width:var(--measure); }
.ledger{ list-style:none; margin:0; padding:0; }
.ledger-row{ display:grid; grid-template-columns:5.5rem 15rem 1fr 9rem; gap:var(--s-3); align-items:baseline; padding:var(--s-3) 0; border-bottom:var(--border); }
.ledger-n{ font-family:var(--font-display); font-weight:800; font-size:clamp(2.2rem, 4vw, 3.4rem); line-height:.9; color:transparent; -webkit-text-stroke:1.5px var(--accent); }
.ledger-name{ font-family:var(--font-display); font-weight:800; font-size:var(--step-2); line-height:1.1; text-transform:uppercase; letter-spacing:-.02em; }
.ledger-what{ color:var(--text-dim); }
.ledger-status{ justify-self:end; font-family:var(--font-mono); font-weight:600; font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color:var(--accent); border:1px solid var(--rule); border-radius:999px; padding:.3rem .7rem; white-space:nowrap; }
@media(max-width:1000px){
  .ledger-head{ grid-template-columns:1fr; gap:var(--s-2); }
  .ledger-row{ grid-template-columns:3.6rem 1fr auto; gap:.3rem var(--s-2); }
  .ledger-n{ grid-row:span 2; font-size:2.2rem; }
  .ledger-name{ grid-column:2; grid-row:1; }
  .ledger-status{ grid-column:3; grid-row:1; }
  .ledger-what{ grid-column:2 / span 2; }
}
@media(max-width:480px){ .ledger-row{ grid-template-columns:2.8rem 1fr; } .ledger-n{ font-size:1.8rem; } .ledger-status{ grid-column:2; grid-row:3; justify-self:start; } .ledger-what{ grid-column:2; } }

/* 9. call to action band */
.cta-band{ background:var(--accent); color:var(--accent-ink); }
.cta-band .kicker{ color:var(--accent-ink); }
.cta-band h2{ font-size:clamp(2.6rem, 7vw, 6rem); text-transform:uppercase; letter-spacing:-.05em; line-height:.9; max-width:14ch; }
.cta-band p{ font-size:var(--step-1); max-width:var(--measure); }
.cta-band a{ color:var(--accent-ink); }
.cta-band .btn{ border-color:var(--accent-ink); color:var(--accent-ink); }
.cta-band .btn:hover{ background:var(--accent-ink); color:var(--accent); }
.cta-band .btn-hot{ background:var(--accent-ink); color:var(--accent); }
.cta-band .btn-hot:hover{ background:var(--accent-ink); color:var(--accent); box-shadow:5px 5px 0 var(--bg); }
main > .cta-band:last-child{ margin-bottom:0; }
main{ padding-bottom:0; }

/* 10. inner pages */
.page-head{ padding-top:var(--s-5); padding-bottom:0; }
.page-head h1{ font-size:clamp(2.3rem, 10vw, 7rem); text-transform:uppercase; letter-spacing:-.055em; line-height:.88; max-width:14ch; padding-bottom:var(--s-3); margin:0; border-bottom:2px solid var(--accent); }
.post .page-head h1, .page-head h1:not(:only-child){ }
body:has(.post) .page-head h1{ font-size:clamp(2.2rem, 5.2vw, 4.2rem); text-transform:none; letter-spacing:-.035em; line-height:1; max-width:22ch; }
.lede{ font-size:var(--step-2); line-height:1.35; font-weight:600; letter-spacing:-.01em; }
.page-lede{ max-width:46rem; }
.prose{ max-width:var(--measure); }
.prose h2{ font-size:var(--step-3); text-transform:uppercase; letter-spacing:-.035em; margin-top:var(--s-4); }
.prose h3{ font-size:var(--step-2); margin-top:var(--s-3); }
.prose ul{ padding-left:1.2rem; margin:0 0 var(--s-2); }
.prose li{ margin-bottom:var(--s-1); }
.prose li::marker{ color:var(--accent); }
.prose strong{ color:var(--text); }
.prose p, .prose li{ color:#d5d9e0; }
.prose .lede{ color:var(--text); }
main > .prose-page{ padding-bottom:0; }
main > .prose-page.intro + section{ padding-top:var(--s-4); }
.note{ color:var(--text-dim); font-size:.92rem; }
.about-grid{ display:grid; grid-template-columns:1fr 1.7fr; gap:var(--s-5); align-items:start; }
.about-portrait{ margin:0; position:sticky; top:6rem; }
.about-portrait .portrait{ border-radius:var(--r); box-shadow:10px 10px 0 var(--accent); }
@media(max-width:860px){ .about-grid{ grid-template-columns:1fr; gap:var(--s-4); } .about-portrait{ position:static; max-width:17rem; } }

.company{ display:grid; grid-template-columns:1fr 1.7fr; gap:var(--s-4); padding:var(--s-4) 0; border-top:2px solid var(--accent); }
.company h2{ font-size:clamp(2rem, 9.5vw, 2.8rem); text-transform:uppercase; letter-spacing:-.04em; margin-bottom:var(--s-1); }
.now-role{ font-family:var(--font-mono); font-weight:600; font-size:.75rem; letter-spacing:.16em; text-transform:uppercase; color:var(--accent); }
.company-links{ display:flex; flex-wrap:wrap; gap:var(--s-3); font-weight:700; }
@media(max-width:768px){ .company{ grid-template-columns:1fr; gap:var(--s-1); } }

.product-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:var(--s-3); margin-top:var(--s-4); }
.product{ padding:var(--s-4) var(--s-3) var(--s-3); border:var(--border); border-radius:var(--r); background:var(--surface); }
.product h2{ font-size:var(--step-3); text-transform:uppercase; letter-spacing:-.035em; margin-bottom:var(--s-1); }
.product-for{ font-family:var(--font-mono); font-weight:600; font-size:.74rem; letter-spacing:.14em; text-transform:uppercase; color:var(--accent); }
.proof{ display:grid; grid-template-columns:auto 1fr; gap:var(--s-2); align-items:center; padding:var(--s-2); margin:var(--s-2) 0; border-radius:12px; background:var(--accent); color:var(--accent-ink); }
.proof-k{ font-family:var(--font-display); font-weight:800; font-size:2.6rem; line-height:1; letter-spacing:-.04em; }
.proof-v{ font-size:.92rem; font-weight:600; line-height:1.4; }
@media(max-width:768px){ .product-grid{ grid-template-columns:1fr; } }
@media(max-width:400px){ .proof{ grid-template-columns:1fr; } }

.client-grid{ list-style:none; margin:var(--s-4) 0 0; padding:0; display:grid; grid-template-columns:repeat(2,1fr); gap:var(--s-3); }
.client-card{ padding:var(--s-3); border:var(--border); border-radius:var(--r); background:var(--surface); transition:border-color .2s; }
.client-card:hover{ border-color:var(--accent); }
.client-card h2{ font-size:var(--step-2); text-transform:uppercase; letter-spacing:-.025em; margin-bottom:.2rem; }
.client-card h2 a{ color:var(--text); text-decoration:none; }
.client-card h2 a:hover{ color:var(--accent); }
@media(max-width:768px){ .client-grid{ grid-template-columns:1fr; } }

.post-list{ list-style:none; margin:0 0 var(--s-3); padding:0; border-top:2px solid var(--accent); }
.post-item{ display:flex; justify-content:space-between; align-items:baseline; gap:var(--s-3); padding:var(--s-2) 0; border-bottom:var(--border); }
.post-item a{ color:var(--text); text-decoration:none; font-family:var(--font-display); font-weight:800; font-size:var(--step-1); line-height:1.25; letter-spacing:-.015em; }
.post-item a:hover{ color:var(--accent); }
.post-meta{ font-family:var(--font-mono); font-weight:600; font-size:.74rem; letter-spacing:.12em; text-transform:uppercase; color:var(--text-dim); }
.post-item .post-meta{ flex-shrink:0; text-align:right; max-width:40%; }
@media(max-width:640px){ .post-item{ flex-direction:column; gap:.2rem; } .post-item .post-meta{ text-align:left; max-width:none; } }
.post .prose{ margin-top:var(--s-2); }
.post .prose > p.post-meta{ margin-bottom:var(--s-3); }
.byline{ display:grid; grid-template-columns:5rem 1fr; gap:var(--s-2); align-items:center; margin-top:var(--s-5); padding:var(--s-3); border:var(--border); border-radius:var(--r); background:var(--surface); }
.byline-img{ width:5rem; height:5rem; border-radius:50%; object-fit:cover; border:2px solid var(--accent); }
.byline p{ margin:0; font-size:.95rem; }
.more{ margin-top:var(--s-5); max-width:var(--measure); }

.contact-list{ list-style:none; padding:0; margin:0 0 var(--s-3); border-top:2px solid var(--accent); }
.contact-list li{ display:grid; grid-template-columns:8rem 1fr; gap:var(--s-2); padding:var(--s-2) 0; border-bottom:var(--border); }
.contact-list span{ font-family:var(--font-mono); font-weight:600; font-size:.74rem; letter-spacing:.12em; text-transform:uppercase; color:var(--text-dim); padding-top:.2rem; }
@media(max-width:480px){ .contact-list li{ grid-template-columns:1fr; gap:0; } }

/* 11. footer */
.site-foot{ border-top:var(--border); background:var(--bg); padding-block:var(--s-5) var(--s-3); }
.foot-grid{ display:grid; grid-template-columns:1.3fr 2fr 1fr; gap:var(--s-4); }
.foot-name{ font-family:var(--font-display); font-weight:800; font-size:clamp(2rem, 4vw, 3rem); line-height:.9; letter-spacing:-.045em; text-transform:uppercase; margin-bottom:var(--s-2); }
.site-foot nav{ display:flex; flex-direction:column; gap:.35rem; }
.site-foot nav[aria-label="Footer"]{ display:grid; grid-template-columns:repeat(2,1fr); gap:.35rem var(--s-3); align-content:start; }
.site-foot nav a{ color:var(--text); text-decoration:none; padding-block:.15rem; font-weight:600; }
.site-foot nav a:hover{ color:var(--accent); }
.foot-meta{ color:var(--text-dim); font-size:.92rem; margin:0 0 var(--s-1); }
.foot-meta a{ color:var(--text); }
.foot-base{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:var(--s-2); margin-top:var(--s-4); padding-top:var(--s-2); border-top:var(--border); }
@media(max-width:768px){ .foot-grid{ grid-template-columns:1fr; gap:var(--s-3); } }

/* footer credit (component 3, unchanged per client; the underscore stays lime) */
.st-credit{ font-family:var(--font-mono, monospace); font-size:.75rem; letter-spacing:.02em; color:var(--text); opacity:.6; text-decoration:none; transition:color .2s ease, opacity .2s ease; }
.st-credit:hover{ opacity:1; color:#BFFF00; }
.st-wm{ font-weight:700; }
.st-wm u{ color:#BFFF00; text-decoration:none; }

.skip-link{ position:absolute; left:-9999px; top:0; z-index:100; background:var(--accent); color:var(--accent-ink); padding:.6rem 1rem; }
.skip-link:focus{ left:0; }

/* 12. the page builds itself (build-init.js sets html.bi before first paint; build.js plays it)
   Same idea as the Scroll Theory site, slowed down so you can watch each section go up as you scroll: a lime
   line with a "building" tag runs down the section while its pieces come in one after another.
   Safe by design:
   - Everything is in the HTML. Pieces are only see-through and nudged while they wait, so search engines,
     screen readers and no-JS visitors get the whole page, and nothing changes size (no layout shift).
   - No JS, or build.js fails to load within 3s: html.bi comes off and the page just shows, built.
   - Reduced motion (html.bi-calm): Chad browses with animations off and still wants to see it build. So the
     calm build keeps the build and drops the movement: pieces fade and wipe in from the top (opacity and a clip),
     the line draws across instead of travelling down, nothing slides, scales or parallaxes. */
.bi main > :not(.bi-ready):not(.bi-done), .bi .site-foot:not(.bi-ready):not(.bi-done){ opacity:0; }
.bi .bi-ready .bi-i{ opacity:0; transform:translateY(28px); }
.bi .bi-i.bi-on{ animation:bi-in .9s cubic-bezier(.2,.7,.2,1) var(--bi-d, 0ms) both; }
@keyframes bi-in{
  0%{ opacity:0; transform:translateY(28px); clip-path:inset(0 0 100% 0); }
  40%{ opacity:1; }
  100%{ opacity:1; transform:none; clip-path:inset(-40px -40px -40px -40px); }
}
.bi-pos{ position:relative; }
.bi-scan{ position:absolute; left:0; right:0; top:0; z-index:5; height:2px; background:var(--accent); box-shadow:0 0 18px 2px rgba(198,255,26,.55);
  pointer-events:none; animation:bi-scan 1.7s cubic-bezier(.45,0,.3,1) both; }
.bi-scan::after{ content:"building"; position:absolute; right:max(16px, 2.5vw); top:8px; padding:4px 9px 5px; font:600 .66rem/1 var(--font-mono);
  letter-spacing:.16em; text-transform:uppercase; background:var(--accent); color:var(--accent-ink); border-radius:999px; }
@keyframes bi-scan{ 0%{ transform:translateY(0); opacity:1; } 88%{ opacity:1; } 100%{ transform:translateY(calc(var(--bi-h, 0px) - 2px)); opacity:0; } }
.cta-band .bi-scan{ background:var(--accent-ink); box-shadow:none; }
.cta-band .bi-scan::after{ background:var(--accent-ink); color:var(--accent); }

/* the calm build, for reduced motion: same order and pacing, no movement */
.bi-calm .bi-ready .bi-i{ opacity:0; transform:none; }
.bi-calm .bi-i.bi-on{ animation:bi-calm 1s ease var(--bi-d, 0ms) both; }
@keyframes bi-calm{
  0%{ opacity:0; clip-path:inset(0 0 100% 0); }
  50%{ opacity:1; }
  100%{ opacity:1; clip-path:inset(-40px -40px -40px -40px); }
}
.bi-calm .bi-scan{ animation:bi-draw 1.7s ease both; }
@keyframes bi-draw{ 0%{ clip-path:inset(0 100% 0 0); opacity:1; } 60%{ clip-path:inset(0 0 0 0); opacity:1; } 100%{ clip-path:inset(0 0 0 0); opacity:0; } }
.bi-calm .bi-scan::after{ }
@media print{ .bi main > *, .bi .site-foot, .bi .bi-i{ opacity:1 !important; transform:none !important; animation:none !important; } .bi-scan{ display:none; } }

/* hover motion only for people who allow motion */
@media(prefers-reduced-motion:reduce){ .btn, .btn-hot:hover{ transition:none; transform:none; } }

/* 13. the Work With Us form (contact-form.js). Without JS: every step shows, one long form. With JS (.mf-js):
   one step at a time, a lime progress bar, big tappable choices. */
.visually-hidden{ position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.mf-trap{ position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.contact-wrap{ display:grid; grid-template-columns:1fr 1.6fr; gap:var(--s-5); align-items:start; }
.contact-intro{ position:sticky; top:6rem; }
@media(max-width:900px){ .contact-wrap{ grid-template-columns:1fr; gap:var(--s-3); } .contact-intro{ position:static; } }
.mform, .mf-done{ scroll-margin-top:6rem; }
.mform{ position:relative; padding:var(--s-4) var(--s-3) var(--s-3); border:var(--border); border-radius:var(--r); background:var(--surface); }
.mf-progress{ display:none; position:absolute; top:0; left:0; right:0; height:6px; border-radius:var(--r) var(--r) 0 0; background:var(--rule); overflow:hidden; }
.mf-js .mf-progress{ display:block; }
.mf-bar{ display:block; height:100%; background:var(--accent); transform-origin:left; transform:scaleX(.125); transition:transform .5s var(--ease); }
.mf-step{ border:0; margin:0 0 var(--s-4); padding:0; min-width:0; }
.mf-js .mf-step{ margin-bottom:var(--s-3); }
.mf-step legend{ padding:0; margin-bottom:var(--s-2); display:block; width:100%; }
.mf-count{ display:block; font-family:var(--font-mono); font-weight:600; font-size:.78rem; letter-spacing:.16em; color:var(--accent); margin-bottom:.5rem; }
.mf-q{ display:block; font-family:var(--font-display); font-weight:800; font-size:clamp(1.7rem, 3.4vw, 2.6rem); line-height:1; letter-spacing:-.035em; text-transform:uppercase; }
.mf-hint{ color:var(--text-dim); margin-top:-.4rem; }
.mf-choices{ display:grid; grid-template-columns:repeat(2, 1fr); gap:.6rem; margin-bottom:var(--s-2); }
@media(max-width:560px){ .mf-choices{ grid-template-columns:1fr; } }
.mf-choice{ position:relative; display:flex; align-items:center; gap:.7rem; min-height:56px; padding:.8rem 1rem; border:1.5px solid var(--rule); border-radius:14px; background:var(--bg); cursor:pointer; font-weight:600; transition:border-color .2s, background .2s; }
.mf-choice:hover{ border-color:var(--text-dim); }
.mf-choice input{ appearance:none; -webkit-appearance:none; flex:none; width:1.2rem; height:1.2rem; margin:0; border:2px solid var(--text-dim); border-radius:50%; display:grid; place-items:center; }
.mf-choice input[type=checkbox]{ border-radius:5px; }
.mf-choice input:checked{ border-color:var(--accent-ink); background:var(--accent-ink); box-shadow:inset 0 0 0 3px var(--accent); }
.mf-choice:has(input:checked){ background:var(--accent); border-color:var(--accent); color:var(--accent-ink); }
.mf-choice:has(input:focus-visible){ outline:2px solid var(--accent); outline-offset:3px; }
.mf-choice:has(input:disabled){ opacity:.45; cursor:not-allowed; }
.mf-field{ display:flex; flex-direction:column; gap:.35rem; margin-bottom:var(--s-2); }
.mf-field label{ font-family:var(--font-mono); font-weight:600; font-size:.78rem; letter-spacing:.12em; text-transform:uppercase; color:var(--text-dim); }
.mf-field input, .mf-field textarea{ width:100%; min-height:52px; padding:.8rem 1rem; border:1.5px solid var(--rule); border-radius:12px; background:var(--bg); color:var(--text); font:1.05rem/1.4 var(--font-body); }
.mf-field textarea{ resize:vertical; }
.mf-field input:focus, .mf-field textarea:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 3px rgba(198,255,26,.25); }
.mf-field input::placeholder{ color:#6b7280; }
.mf-error{ margin:0 0 var(--s-2); padding:.7rem 1rem; border-radius:12px; border:1.5px solid #ff8a7a; color:#ffb3a8; font-weight:600; }
.mf-nav{ display:flex; gap:var(--s-2); justify-content:space-between; flex-wrap:wrap; }
.mf-nav .mf-next, .mf-nav .mf-send{ margin-left:auto; }
.mf-nav button{ cursor:pointer; font-family:var(--font-body); background:transparent; }
.mf-nav .btn-hot{ background:var(--accent); }
.mf-nav button[disabled]{ opacity:.6; cursor:progress; }
@media(max-width:480px){ .mf-nav{ flex-direction:column-reverse; } .mf-nav button{ width:100%; justify-content:center; margin-left:0; } }
/* Turnstile will not render under 300px (SOP v7.9 "the 300px floor"): on phones it bleeds into the card padding. */
.cf-turnstile{ margin-bottom:var(--s-2); min-width:0; }
@media(max-width:480px){ .cf-turnstile{ margin-inline:calc(var(--s-3) * -1); } }
/* a step coming on: slides in with motion, just fades with reduced motion */
@media(prefers-reduced-motion:no-preference){ .mf-step.mf-on{ animation:mf-in .45s var(--ease) both; } }
@keyframes mf-in{ from{ opacity:0; transform:translateX(24px); } to{ opacity:1; transform:none; } }
@media(prefers-reduced-motion:reduce){ .mf-step.mf-on{ animation:mf-fade .35s ease both; } .mf-bar{ transition:none; } }
@keyframes mf-fade{ from{ opacity:0; } to{ opacity:1; } }
.mf-done{ padding:var(--s-4) var(--s-3); border-radius:var(--r); background:var(--accent); color:var(--accent-ink); }
.mf-done .kicker{ color:var(--accent-ink); }
.mf-done h2{ font-size:clamp(2rem, 4.5vw, 3.6rem); text-transform:uppercase; letter-spacing:-.04em; line-height:.95; }
.mf-done:focus{ outline:none; }
.elsewhere{ padding-top:0; }
