/* ==========================================================================
   bryanleeper.com — monochrome technical editorial
   Pure black / white. Grotesk + mono. Ruled, square, full-width systems.
   Self-contained: local Geist files only. No CDN font or asset requests.
   ========================================================================== */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-sans-5.2.5-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-sans-5.2.5-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-sans-5.2.5-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-sans-5.2.5-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-sans-5.2.5-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-5.2.5-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-5.2.5-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --bg: #000000;
  --fg: #ffffff;
  --mute: rgba(255, 255, 255, .62);
  --faint: rgba(255, 255, 255, .38);
  --rule: rgba(255, 255, 255, .18);
  --rule-strong: #ffffff;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --header-h: 4.25rem;
  --pad: clamp(1.15rem, 2.4vw, 2.25rem);
  --section: clamp(4.5rem, 9vw, 7.5rem);
  --measure: 62ch;
  --text-xs: .6875rem;
  --text-sm: .8125rem;
  --text-md: 1rem;
  --step-0: clamp(1rem, .96rem + .18vw, 1.0625rem);
  --step-1: clamp(1.05rem, .98rem + .4vw, 1.2rem);
  --step-2: clamp(1.25rem, 1.05rem + .9vw, 1.65rem);
  --step-3: clamp(1.85rem, 1.2rem + 2.4vw, 3.15rem);
  --step-4: clamp(2.35rem, 1.35rem + 4vw, 4.6rem);
  --step-5: clamp(2.7rem, 1.2rem + 5.6vw, 5.6rem);
}

.band--light {
  --bg: #ffffff;
  --fg: #000000;
  --mute: rgba(0, 0, 0, .58);
  --faint: rgba(0, 0, 0, .4);
  --rule: rgba(0, 0, 0, .14);
  --rule-strong: #000000;
  background: var(--bg);
  color: var(--fg);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  background: var(--black);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.038em;
  color: inherit;
  margin: 0 0 .45em;
  text-wrap: balance;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); letter-spacing: -.028em; }
h4 { font-size: var(--step-1); letter-spacing: -.02em; }

p { margin: 0 0 1.1em; max-width: var(--measure); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

img, svg { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  transition: opacity .15s ease;
}
a:hover { opacity: .7; }

:focus-visible {
  outline: 1px solid var(--white);
  outline-offset: 3px;
}
.band--light :focus-visible { outline-color: var(--black); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 0; left: 0;
  z-index: 300;
  padding: .85rem 1.2rem;
  background: var(--white);
  color: var(--black);
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-120%);
}
.skip-link:focus { transform: none; opacity: 1; }

.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--mute);
  max-width: 46ch;
}

.mono-label {
  font-family: var(--mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
}

/* --------------------------------------------------------------------------
   Shell
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: none;
  padding-inline: var(--pad);
}

.band {
  background: var(--bg);
  color: var(--fg);
  border-top: 1px solid var(--rule);
}
main > .band:first-child { border-top: 0; }

.band__pad { padding-block: var(--section); }

.frame {
  border: 1px solid var(--rule);
}

/* --------------------------------------------------------------------------
   Buttons — square, ruled, mono
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 2.85rem;
  padding: .75rem 1rem;
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family: var(--mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  transition: background .15s ease, color .15s ease, opacity .15s ease;
}
.btn:hover { background: var(--white); color: var(--black); opacity: 1; }
.band--light .btn:hover { background: var(--black); color: var(--white); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--black);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand {
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: -.02em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  white-space: nowrap;
}
.brand:hover { opacity: 1; color: var(--white); }

.nav ul {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 2vw, 1.75rem);
}
.nav li { margin: 0; }
.nav a {
  font-family: var(--mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, .72);
  padding-block: .7rem;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--white); opacity: 1; }

@media (max-width: 40rem) {
  html { scroll-padding-top: 0; }
  .site-header { position: static; }
  .site-header__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    padding-block: .55rem .15rem;
  }
  .nav {
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav ul { width: max-content; padding-right: .5rem; }
}

/* --------------------------------------------------------------------------
   Hero — cinematic split
   -------------------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: calc(100svh - var(--header-h));
  background: var(--black);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5.5rem) var(--pad);
  border-right: 1px solid var(--rule);
}

.hero__kicker {
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, .5);
}

.hero h1 {
  margin: 0 0 1.35rem;
  max-width: 11ch;
}

.hero__rule {
  display: block;
  width: min(100%, 22rem);
  height: 1px;
  background: var(--white);
  margin: 0 0 1.35rem;
  transform-origin: left center;
}

.hero__lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: rgba(255, 255, 255, .82);
  max-width: 38ch;
  margin: 0 0 2rem;
}

.hero__visual {
  position: relative;
  min-height: 32rem;
  overflow: hidden;
  background: #111;
}

.hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  filter: grayscale(1) contrast(1.12) brightness(.96);
}

.hero__stats {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, .28);
  background: rgba(0, 0, 0, .42);
}

.hero__stat {
  padding: 1.15rem 1.2rem 1.25rem;
}
.hero__stat + .hero__stat { border-left: 1px solid rgba(255, 255, 255, .28); }
.hero__stat-figure {
  display: block;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: .9;
  color: var(--white);
}
.hero__stat-label {
  display: block;
  margin-top: .45rem;
  font-family: var(--mono);
  font-size: .625rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}

@media (max-width: 64rem) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero__copy {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    padding-block: 2.75rem;
  }
  .hero h1 { max-width: 14ch; }
  .hero__visual {
    min-height: 58vw;
    max-height: 34rem;
  }
}

@media (max-width: 40rem) {
  .hero .btn-row { flex-direction: column; }
  .hero .btn { width: 100%; }
  .hero__visual { min-height: 22rem; }
}

/* --------------------------------------------------------------------------
   Work / list rows
   -------------------------------------------------------------------------- */

.work {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.work__list {
  border-top: 1px solid var(--rule);
}

.work-row {
  display: grid;
  grid-template-columns: minmax(10rem, .7fr) minmax(0, 1.2fr) auto;
  gap: 1.25rem;
  align-items: start;
  padding: 1.35rem 0 1.45rem;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
}
.work-row h3 { margin: 0; font-size: var(--step-1); }
.work-row p { margin: 0; color: var(--mute); font-size: var(--text-md); }
.work-row__go {
  font-size: 1.05rem;
  line-height: 1;
  color: var(--fg);
  padding-top: .15rem;
}
.work-row:hover { opacity: 1; background: transparent; }
.work-row:hover h3 { opacity: .7; }

@media (max-width: 60rem) {
  .work { grid-template-columns: 1fr; }
  .work-row { grid-template-columns: 1fr auto; }
  .work-row p { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   Proof
   -------------------------------------------------------------------------- */

.proof-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}
.proof-head h2 { margin: 0; }
.proof-kicker { margin: 0; }
.proof-controls {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.proof-controls .btn {
  min-height: 2.2rem;
  padding-inline: .7rem;
}

.proof-stage {
  position: relative;
  border: 1px solid var(--rule);
}
.proof-slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.proof-slide + .proof-slide { border-top: 1px solid var(--rule); }
html.js .proof-slide[hidden] { display: none !important; }
html.js .proof-slide + .proof-slide { border-top: 0; }
.proof-cell {
  padding: clamp(1.6rem, 4vw, 3.25rem);
  min-height: 16rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}
.proof-cell + .proof-cell { border-left: 1px solid var(--rule); }
.proof-cell__figure {
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .85;
}
.proof-cell__label {
  margin: 0;
  max-width: 22ch;
  color: var(--mute);
  font-size: var(--text-md);
}

@media (max-width: 44rem) {
  .proof-slide,
  .proof-cell + .proof-cell { border-left: 0; }
  .proof-slide { grid-template-columns: 1fr; }
  .proof-cell + .proof-cell { border-top: 1px solid var(--rule); }
  .proof-cell { min-height: 0; }
}

/* --------------------------------------------------------------------------
   Editorial break
   -------------------------------------------------------------------------- */

.break-visual {
  display: block;
  border-top: 1px solid var(--rule);
  background: #0a0a0a;
}
.break-visual img,
.break-visual svg {
  width: 100%;
  height: clamp(14rem, 38vw, 28rem);
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Situation grid
   -------------------------------------------------------------------------- */

.situations h2 { max-width: 16ch; margin-bottom: 2rem; }

.situation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--rule);
}
.situation {
  padding: clamp(1.35rem, 2.6vw, 2.1rem);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.situation:nth-child(3n) { border-right: 0; }
.situation:nth-last-child(-n+3) { border-bottom: 0; }
.situation h3 {
  font-size: var(--step-1);
  margin: 0 0 .7rem;
}
.situation p { margin: 0; color: var(--mute); }

@media (max-width: 64rem) {
  .situation-grid { grid-template-columns: 1fr 1fr; }
  .situation:nth-child(3n) { border-right: 1px solid var(--rule); }
  .situation:nth-child(2n) { border-right: 0; }
  .situation:nth-last-child(-n+3) { border-bottom: 1px solid var(--rule); }
  .situation:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 40rem) {
  .situation-grid { grid-template-columns: 1fr; }
  .situation { border-right: 0 !important; }
  .situation:last-child { border-bottom: 0; }
}

/* --------------------------------------------------------------------------
   Why / reasons
   -------------------------------------------------------------------------- */

.why {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.why h2 {
  max-width: 10ch;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.reason {
  display: grid;
  grid-template-columns: 2.4rem minmax(10rem, .85fr) minmax(0, 1.2fr);
  gap: 1.15rem;
  padding: 1.25rem 0 1.35rem;
  border-top: 1px solid var(--rule);
}
.reason:last-child { border-bottom: 1px solid var(--rule); }
.reason__n {
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: .08em;
  color: var(--faint);
  padding-top: .35rem;
}
.reason h3 { margin: 0; font-size: var(--step-1); }
.reason p { margin: 0; color: var(--mute); }

@media (max-width: 64rem) {
  .why { grid-template-columns: 1fr; }
  .why h2 { position: static; }
  .reason { grid-template-columns: 2.2rem 1fr; }
  .reason p { grid-column: 2; }
}
@media (max-width: 40rem) {
  .reason { grid-template-columns: 1fr; }
  .reason p { grid-column: 1; }
}

/* --------------------------------------------------------------------------
   Ventures
   -------------------------------------------------------------------------- */

.venture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 2.25rem;
  border: 1px solid var(--rule);
}
.venture {
  display: flex;
  flex-direction: column;
  min-height: 18rem;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  text-decoration: none;
  color: inherit;
}
.venture + .venture { border-left: 1px solid var(--rule); }
.venture:hover { opacity: 1; }
.venture__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.venture h3 { margin: 0; font-size: var(--step-3); }
.venture__go { font-size: 1.15rem; }
.venture__body {
  margin-top: 1.1rem;
  color: var(--mute);
  flex: 1;
}
.venture__meta {
  margin-top: 2rem;
  font-family: var(--mono);
  font-size: .625rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
}

@media (max-width: 52rem) {
  .venture-grid { grid-template-columns: 1fr; }
  .venture + .venture { border-left: 0; border-top: 1px solid var(--rule); }
}

/* --------------------------------------------------------------------------
   Career
   -------------------------------------------------------------------------- */

.career {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.job {
  display: grid;
  grid-template-columns: minmax(9rem, .55fr) minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.4rem 0 1.5rem;
  border-top: 1px solid var(--rule);
}
.job:last-child { border-bottom: 1px solid var(--rule); }
.job__when {
  font-family: var(--mono);
  font-size: .625rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  padding-top: .45rem;
}
.job h3 { margin: 0 0 .2rem; font-size: var(--step-1); }
.job__org { margin: 0 0 .7rem; color: var(--mute); }
.job p { color: var(--mute); }
.job__roles {
  margin-top: .7rem;
  color: var(--faint);
  font-size: var(--text-sm);
}

.edu {
  display: grid;
  grid-template-columns: minmax(9rem, .55fr) minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.4rem 0 0;
}

@media (max-width: 64rem) {
  .career { grid-template-columns: 1fr; }
}
@media (max-width: 44rem) {
  .job, .edu { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Volunteer
   -------------------------------------------------------------------------- */

.vol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--rule);
  margin-top: 2rem;
}
.vol {
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.vol + .vol { border-left: 1px solid var(--rule); }
.vol .mono-label { margin-bottom: .7rem; display: block; }
.vol h3 { margin: 0 0 .7rem; }
.vol p { color: var(--mute); }

@media (max-width: 52rem) {
  .vol-grid { grid-template-columns: 1fr; }
  .vol + .vol { border-left: 0; border-top: 1px solid var(--rule); }
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-split {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.faq-item {
  border-top: 1px solid var(--rule);
}
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 700;
  letter-spacing: -.02em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__mark {
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1;
  flex: none;
}
.faq-item[open] .faq-item__mark { transform: rotate(45deg); }
.faq-item__body {
  padding: 0 0 1.25rem;
  color: var(--mute);
}
.faq-item__body p { max-width: 54ch; }

@media (max-width: 60rem) {
  .faq-split { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   CTA + footer
   -------------------------------------------------------------------------- */

.cta { padding-block: var(--section); }
.cta h2 { max-width: 16ch; }

.site-footer {
  background: var(--white);
  color: var(--black);
  border-top: 1px solid rgba(0, 0, 0, .14);
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 2.25rem;
  align-items: flex-end;
}
.site-footer__wordmark {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.04em;
  margin: 0 0 .4rem;
}
.site-footer__pitch {
  margin: 0;
  color: rgba(0, 0, 0, .58);
}
.site-footer__nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.site-footer__nav a {
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
}
.site-footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--pad) 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, .14);
  font-family: var(--mono);
  font-size: .625rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, .45);
}
.site-footer__legal p { margin: 0; max-width: none; }
.site-footer__legal a { text-decoration: none; }

@media (max-width: 44rem) {
  .site-footer__inner,
  .site-footer__legal { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   Interior pages
   -------------------------------------------------------------------------- */

.page-hero { padding-block: clamp(3.5rem, 8vw, 6rem); }
.page-hero h1 { max-width: 16ch; }
.page-hero .hero__rule { margin-bottom: 1.35rem; }
.page-hero .btn-row,
.prose .btn-row { margin-top: 1.75rem; }
.prose { max-width: 46rem; }

.topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--rule);
}
.topic {
  padding: clamp(1.35rem, 2.8vw, 2rem);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.topic:nth-child(2n) { border-right: 0; }
.topic:nth-last-child(-n+2) { border-bottom: 0; }
.topic h3 { margin: 0 0 .6rem; font-size: var(--step-1); }
.topic p { margin: 0; color: var(--mute); }

.press-list > li {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--rule);
}
.press-list > li:last-child { border-bottom: 1px solid var(--rule); }
.press-list h3 { margin: 0 0 .3rem; font-size: var(--step-1); }
.press-list p { color: var(--mute); }

@media (max-width: 44rem) {
  .topic-grid { grid-template-columns: 1fr; }
  .topic { border-right: 0 !important; }
  .topic:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .topic:last-child { border-bottom: 0; }
}

/* --------------------------------------------------------------------------
   Contact form
   -------------------------------------------------------------------------- */

.form-shell { max-width: 46rem; }
.form { margin-top: 0; }
.form-note ul { padding-left: 1.1rem; list-style: disc; }
.form-note li { margin: 0 0 .35rem; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.form__field { margin: 0; }
.form__field label {
  display: block;
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .5rem;
  color: var(--faint);
}
.form__req { letter-spacing: .08em; }
.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: .9rem 1rem;
  margin-bottom: 1.15rem;
}
.form__field textarea { min-height: 10rem; resize: vertical; }
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: 1px solid var(--fg);
  outline-offset: 2px;
}
.form__error { color: var(--fg); font-size: var(--text-sm); margin: -.6rem 0 1rem; }
.form__hint { color: var(--faint); font-size: var(--text-sm); }
.form__hint--foot { margin-top: 1.25rem; }
.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form-note {
  border: 1px solid var(--rule);
  padding: 1.1rem 1.2rem;
  margin: 1.25rem 0;
}
.form-note--error { border-color: var(--fg); }

@media (max-width: 40rem) {
  .form__row { grid-template-columns: 1fr; }
  .form__field input,
  .form__field select,
  .form__field textarea { font-size: max(16px, 1rem); }
}

/* --------------------------------------------------------------------------
   Chapter pager
   -------------------------------------------------------------------------- */

.pager {
  position: fixed;
  right: .9rem;
  bottom: .9rem;
  z-index: 70;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  background: rgba(0, 0, 0, .72);
  color: var(--white);
  font-family: var(--mono);
  font-size: .625rem;
  letter-spacing: .04em;
  display: grid;
  place-items: center;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Motion — clipped, restrained
   -------------------------------------------------------------------------- */

[data-reveal] { --reveal-delay: 0ms; }

@media (prefers-reduced-motion: no-preference) {
  .hero h1,
  .hero__kicker,
  .hero__lede,
  .hero__rule,
  .hero .btn-row {
    opacity: 0;
    animation: clipIn .8s cubic-bezier(.16, 1, .3, 1) forwards;
  }
  .hero__kicker { animation-delay: .05s; }
  .hero h1 { animation-delay: .12s; }
  .hero__rule {
    opacity: 1;
    transform: scaleX(0);
    animation: ruleDraw .7s cubic-bezier(.16, 1, .3, 1) .28s forwards;
  }
  .hero__lede { animation-delay: .36s; }
  .hero .btn-row { animation-delay: .48s; }
  .hero__visual img {
    transform: scale(1.06);
    animation: imageSettle 1.15s cubic-bezier(.16, 1, .3, 1) .1s forwards;
  }

  [data-reveal] {
    opacity: 0;
    transform: translateY(1.15rem);
    clip-path: inset(12% 0 0 0);
    transition:
      opacity .55s cubic-bezier(.16, 1, .3, 1) var(--reveal-delay),
      transform .7s cubic-bezier(.16, 1, .3, 1) var(--reveal-delay),
      clip-path .7s cubic-bezier(.16, 1, .3, 1) var(--reveal-delay);
  }
  [data-reveal].is-in,
  [data-reveal].is-in * {
    /* keep children visible once parent is in */
  }
  [data-reveal].is-in {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes clipIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes ruleDraw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes imageSettle {
  to { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .001ms !important;
  }
  .hero h1, .hero__kicker, .hero__lede, .hero__rule, .hero .btn-row,
  .hero__visual img, [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */

@media print {
  .site-header, .skip-link, .pager, .btn-row { display: none; }
  body, .band, .site-footer { background: #fff; color: #000; }
  .hero { display: block; }
  a { text-decoration: underline; }
}

@media (pointer: coarse) {
  .nav a, .site-footer__nav a, .btn { min-height: 44px; }
}
