/* malikakhtar.dev — "The 24-Hour Read".
   Family tokens shared with relay.malikakhtar.dev. A person, not a product:
   ink ground, hairlines instead of cards, one sheet of paper, one orange button. */

:root {
  --ink: #0A0C0F;
  --graphite: #12161B;
  --raised: rgba(255, 255, 255, .05);
  --hair: rgba(255, 255, 255, .08);
  --glass: rgba(255, 255, 255, .035);
  --glass-border: rgba(255, 255, 255, .08);
  --glass-border-hover: rgba(255, 255, 255, .16);
  --glass-hi: rgba(255, 255, 255, .06);
  --paper: #F4F1EA;
  --sheet: #FBFAF6;
  --paper-ink: #1A1A18;
  --paper-muted: #5E5A52;
  --paper-hair: #DDD8CC;
  --copper: #D9884A;
  --copper-text: #F0A868;
  --copper-print: #9A5320;   /* printed copper: the only copper allowed on paper (5.1:1 on #F4F1EA) */
  --amber: #E0A64B;
  --grad: linear-gradient(120deg, #F0A868, #E0A64B);
  --verdigris: #5FB3A1;
  --text: #E8ECF0;
  --muted: #98A2AD;

  --sans: Geist, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1240px;
  --gutter: 24px;
  --radius: 3px;
  --r-glass: 14px;
  --band: 128px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { background: var(--ink); color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 16px/1.55 var(--sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, dl, dd, dt, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; }
svg { display: block; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 60; background: var(--paper); color: var(--paper-ink); padding: 8px 12px; border-radius: var(--radius); font-size: 14px; text-decoration: none; }
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.note :focus-visible, .paper-section :focus-visible { outline-color: var(--paper-ink); }

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.eyebrow { font: 500 12px/1.5 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Dark ground: 28px dot grid with a radial mask ---------- */

.dark { position: relative; background: var(--ink); isolation: isolate; }
.dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.3px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 35%, transparent 100%);
}
.hero-band::before {
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 68% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 60% at 68% 40%, #000 30%, transparent 100%);
}

/* ---------- Glass ---------- */

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-radius: var(--r-glass);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 16px; border-radius: 8px; border: 1px solid transparent;
  font: 500 14px/1.2 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .08s ease, box-shadow .2s ease, filter .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--grad); color: var(--paper-ink); font-weight: 600;
  box-shadow: 0 0 0 1px rgba(240, 168, 104, .25), 0 8px 24px -10px rgba(217, 136, 74, .6);
}
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(240, 168, 104, .45), 0 10px 28px -8px rgba(217, 136, 74, .75); filter: brightness(1.05); }
.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: 10px; min-height: 48px; }
.btn-outline { background: transparent; border-color: var(--glass-border); color: var(--text); }
.btn-outline:hover { border-color: var(--glass-border-hover); background: var(--glass); }
.btn-ghost { background: transparent; color: var(--muted); padding: 6px 10px; font-size: 13px; }
.btn-ghost:hover { color: var(--text); background: var(--raised); }

/* Email pill: a real mailto link plus a separate copy button in a hairline-separated square */
.email-pill {
  display: inline-flex; align-items: stretch; min-height: 48px;
  border: 1px solid var(--glass-border); border-radius: 10px;
  transition: border-color .15s ease;
}
.email-pill:hover { border-color: var(--glass-border-hover); }
.email-pill a {
  display: inline-flex; align-items: center; padding: 0 16px; min-width: 0;
  font: 400 14px/1.2 var(--mono); font-variant-numeric: tabular-nums; color: var(--text); text-decoration: none;
  border-radius: 9px 0 0 9px; overflow-wrap: anywhere;
  transition: background-color .15s ease;
}
.email-pill a:hover { background: var(--glass); }
.email-pill a:focus-visible { outline-offset: -3px; }
.email-pill .copy {
  flex: none; width: 44px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0; border: 0; border-left: 1px solid var(--glass-border); border-radius: 0 9px 9px 0;
  background: transparent; color: var(--muted); cursor: pointer;
  transition: color .15s ease, background-color .15s ease;
}
.email-pill .copy:hover { color: var(--text); background: var(--glass); }
.email-pill .copy:focus-visible { outline-offset: -3px; }
.email-pill .copy .g-tick { display: none; }
.email-pill .copy.is-copied { color: var(--verdigris); }
.email-pill .copy.is-copied .g-copy { display: none; }
.email-pill .copy.is-copied .g-tick { display: block; }
.email-pill-lg a { font-size: 18px; }

/* ---------- Nav (glass, sticky) ---------- */

.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10, 12, 15, .72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; }
.wordmark { display: inline-flex; align-items: baseline; gap: 5px; font: 600 21px/1 var(--sans); letter-spacing: -0.03em; text-decoration: none; color: var(--text); }
.wordmark .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px rgba(240, 168, 104, .7); }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 7px 12px; border-radius: 8px; font: 500 13.5px/1.2 var(--sans); color: var(--muted); text-decoration: none; transition: color .15s ease, background-color .15s ease; }
.nav-links a:hover { color: var(--text); background: var(--glass); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.clock { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.btn-nav .lbl-short { display: none; }

/* ---------- Hero ---------- */

.hero-band { overflow: hidden; border-bottom: 1px solid var(--hair); }
.hero-glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: 900px; height: 900px; left: calc(82% - 450px); top: calc(18% - 450px);
  background: radial-gradient(closest-side, rgba(217, 136, 74, .10), transparent);
  filter: blur(48px);
}
.hero {
  display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: 40px;
  padding-top: 56px; padding-bottom: 24px; align-items: start;
}
.hero-main { min-width: 0; }
.hero h1 {
  margin-top: 16px; max-width: 500px;
  font: 600 46px/1.08 var(--sans); letter-spacing: -0.03em; text-wrap: balance; color: var(--text);
}
.hero h1 .copper { color: var(--copper-text); }
.sub { margin-top: 20px; font-size: 17px; line-height: 1.5; color: var(--muted); max-width: 44ch; }
.cta-row { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.proof {
  margin-top: 32px; padding: 14px 0;
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  font-size: 13px; line-height: 1.5; color: var(--muted);
}
.proof b { font-weight: 500; color: var(--text); }
/* In the hero the ghost link takes its own line under the buttons, text flush with the column edge */
.hero .cta-row .btn-ghost { flex-basis: 100%; justify-content: flex-start; margin-left: -10px; }

/* ---------- The 24-hour read ---------- */

.read { min-width: 0; }
.read-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.read-head .eyebrow { flex: none; }
.read-lede { font-size: 14px; line-height: 1.5; color: var(--muted); text-align: right; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  height: 36px; padding: 0 12px; border-radius: 999px; white-space: nowrap;
  font: 500 13px/1 var(--sans); color: var(--muted);
  background: var(--glass); border: 1px solid var(--glass-border); cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.chip:hover { border-color: var(--glass-border-hover); color: var(--text); }
.chip[aria-selected="true"] { background: var(--paper); border-color: var(--paper); color: var(--paper-ink); }
.chip:active { transform: translateY(1px); }

.note {
  --tab-x: 80px;
  position: relative; isolation: isolate; margin-top: 12px;
  background: var(--paper); color: var(--paper-ink); color-scheme: light;
  border: 1px solid var(--paper-hair); border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: 0 30px 70px -36px rgba(0, 0, 0, .9);
}
/* The notch: a folded paper tab under the selected chip */
.note::before {
  content: ""; position: absolute; z-index: 2; top: -7px; left: calc(var(--tab-x) - 6px);
  width: 12px; height: 12px; background: var(--paper);
  border-top: 1px solid var(--paper-hair); border-left: 1px solid var(--paper-hair);
  transform: rotate(45deg);
  transition: left .2s cubic-bezier(.2, .8, .2, 1);
}
.note::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: url("paper-grain.png") repeat; mix-blend-mode: multiply; opacity: .5;
}
.note-top {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: nowrap;
  padding-bottom: 16px; border-bottom: 1px solid var(--paper-hair);
  font: 500 11.5px/1.5 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: .06em; text-transform: uppercase; color: var(--paper-muted);
}
/* The row never grows when a longer subject is written in: the disclaimer stays on one line (ellipsis as a last resort) */
.note-re { flex: none; white-space: nowrap; }
.note-top > span:last-child { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panels { display: grid; }
.panel {
  grid-area: 1 / 1; min-width: 0;
  visibility: hidden; opacity: 0; transform: translateY(4px);
  transition: opacity .18s ease-out, transform .18s ease-out;
}
.panel.is-active { visibility: visible; opacity: 1; transform: none; }
.panel-re { display: none; }

.row { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 20px; padding: 14px 0; border-top: 1px solid var(--paper-hair); }
.panel .row:first-child { border-top: 0; }
.row dt { font: 500 11.5px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--paper-muted); padding-top: 3px; }
.row dd { font: 400 15px/1.5 var(--sans); color: var(--paper-ink); overflow-wrap: anywhere; }
.row.tools dd { font: 400 13px/1.7 var(--mono); color: var(--paper-muted); }
.note-foot .row { padding-bottom: 0; }
.note-foot dd { font-size: 13.5px; color: var(--paper-muted); }

.note a { color: var(--paper-ink); text-decoration: underline; text-decoration-color: var(--copper-print); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.note a:hover { color: var(--copper-print); text-decoration-thickness: 3px; }
.proof-row { display: flex; gap: 14px; align-items: flex-start; }
.proof-row img { flex: none; width: 120px; height: 75px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--paper-hair); }
.proof-meta { display: block; margin-top: 6px; font: 400 12px/1.5 var(--mono); font-variant-numeric: tabular-nums; color: var(--paper-muted); }

/* No JS: chips hidden, all four panels stacked under their RE: lines; nothing needs a script to be readable */
.no-js .chips { display: none; }
.no-js .panels { display: block; }
.no-js .panel { visibility: visible; opacity: 1; transform: none; }
.no-js .panel + .panel { margin-top: 24px; }
.no-js .note-re { display: none; }
.no-js .note-top { justify-content: flex-end; }
.no-js .panel-re { display: block; padding: 14px 0 10px; border-bottom: 1px solid var(--paper-hair); font: 500 11.5px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--paper-muted); }
.no-js .note-top { padding-bottom: 0; border-bottom: 0; }

/* ---------- Bands: annotated-document split ---------- */

.band { padding: var(--band) 0; border-top: 1px solid var(--hair); }
.hero-band + .band { border-top: 0; padding-top: 96px; }
.paper-section + .band { border-top: 0; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.split-aside { position: sticky; top: 96px; }
.split-main { min-width: 0; }
.split h2 { font: 600 32px/1.15 var(--sans); letter-spacing: -0.02em; color: var(--text); text-wrap: balance; }
.intro { margin-top: 12px; font-size: 17px; line-height: 1.5; color: var(--muted); max-width: 32ch; }

/* ---------- Work ---------- */

.work { counter-reset: work; }
.work > li { counter-increment: work; }
.work > li + li { border-top: 1px solid var(--hair); }
.work .n::before { content: counter(work, decimal-leading-zero); }
.work > li[data-kind="showcase"] { padding-bottom: 36px; }
.work > li[data-kind="line"] { padding: 28px 0; }

.frame { position: relative; overflow: hidden; background: var(--graphite); }
.frame-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  height: 36px; padding: 0 14px; border-bottom: 1px solid var(--hair);
  font-size: 12px; color: var(--muted);
}
.frame-bar a { color: var(--text); text-decoration: none; }
.frame-bar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.live { display: inline-flex; align-items: center; gap: 7px; letter-spacing: .04em; color: var(--muted); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--verdigris); box-shadow: 0 0 8px rgba(95, 179, 161, .8); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.frame-media { position: relative; aspect-ratio: 16 / 10; background: var(--graphite); }
.frame-media video { width: 100%; height: 100%; object-fit: cover; }
.vid-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(10, 12, 15, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.vid-play:active { transform: translate(-50%, calc(-50% + 1px)); }

.showcase-text { padding-top: 28px; }
.counter { display: block; font-size: 12px; line-height: 1.5; color: var(--muted); }
.showcase-text h3 { margin-top: 6px; font: 600 24px/1.2 var(--sans); letter-spacing: -0.02em; color: var(--text); }
.tagline { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--copper-text); }
.showcase-text .body { margin-top: 14px; font-size: 15.5px; line-height: 1.5; color: var(--muted); max-width: 60ch; }
.details { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; font-size: 12.5px; line-height: 1.5; color: var(--text); }
.details li { position: relative; padding-left: 16px; }
.details li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; background: var(--copper); }
.stackline { margin-top: 18px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.showcase-text .btn { margin-top: 20px; }

.case-label { font-size: 12px; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.case-title { margin-top: 8px; font: 500 18px/1.3 var(--sans); color: var(--text); }
.case-text { margin-top: 8px; font-size: 15.5px; line-height: 1.5; color: var(--muted); max-width: 60ch; }
.case-foot { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.case-foot svg { flex: none; }

/* ---------- What I build ---------- */

.services > li { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--hair); }
.services > li.has-aside { grid-template-columns: 300px minmax(0, 1fr) auto; }
.services h3 { font: 500 20px/1.3 var(--sans); color: var(--text); }
.services p { font-size: 15.5px; line-height: 1.5; color: var(--muted); max-width: 60ch; }
.aside { align-self: center; font-size: 12px; line-height: 1.5; color: var(--copper-text); white-space: nowrap; }

/* ---------- On paper: the one paper band ---------- */

.paper-section {
  position: relative; isolation: isolate;
  background: var(--paper); color: var(--paper-ink); color-scheme: light;
  border-top: 1px solid var(--paper-hair); border-bottom: 1px solid var(--paper-hair);
  padding: var(--band) 0;
}
.paper-section::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("paper-grain.png") repeat; mix-blend-mode: multiply; opacity: .35;
}
.paper-section .eyebrow { color: var(--paper-muted); }
.paper-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.paper-cols h2 { font: 600 26px/1.15 var(--sans); letter-spacing: -0.02em; color: var(--paper-ink); padding-bottom: 18px; border-bottom: 1px solid var(--paper-hair); }
.points { counter-reset: pt; }
.points > li {
  counter-increment: pt;
  display: grid; grid-template-columns: 40px minmax(0, 1fr);
  padding: 18px 0; border-bottom: 1px solid var(--paper-hair);
  font-size: 18px; line-height: 1.45; color: var(--paper-ink);
}
.points > li::before { content: counter(pt, decimal-leading-zero); font: 500 12px/1.5 var(--mono); font-variant-numeric: tabular-nums; color: var(--copper-print); padding-top: 5px; }
.points > li.lead { font-size: 20px; }

/* ---------- Stack ---------- */

.stack > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--hair); }
.stack dt { font: 500 12px/1.7 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stack dd { font: 400 13.5px/1.7 var(--mono); font-variant-numeric: tabular-nums; color: var(--text); max-width: 60ch; overflow-wrap: anywhere; }
.stack dd .sans { font-family: var(--sans); color: var(--muted); }

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

.contact h2 { font: 600 40px/1.1 var(--sans); letter-spacing: -0.03em; max-width: 620px; }
.contact-body { font-size: 18px; line-height: 1.5; color: var(--text); max-width: 52ch; }
.contact .cta-row { margin-top: 28px; }
.meta { margin-top: 24px; font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 64ch; }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--hair); padding: 40px 0; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; }
.footer-left { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.footer-left .dot { flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px rgba(240, 168, 104, .7); }
.footer-links { display: flex; gap: 20px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.footer-links a { text-decoration: none; transition: color .15s ease; }
.footer-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Motion guard ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1279px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .hero h1 { font-size: 40px; }
  .read-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .read-lede { text-align: left; max-width: 52ch; }
  .note-top { flex-wrap: wrap; gap: 4px 12px; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .row dt { padding-top: 0; }
}

@media (max-width: 1023px) {
  :root { --gutter: 32px; --band: 80px; }
  .nav-links { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero h1 { max-width: 600px; }
  .hero-band + .band { padding-top: 80px; }
  .read-head { flex-direction: row; align-items: baseline; gap: 24px; }
  .note-top { flex-wrap: nowrap; }
  .row { grid-template-columns: 112px minmax(0, 1fr); gap: 20px; }
  .row dt { padding-top: 3px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .split-aside { position: static; }
  .split h2 { font-size: 28px; }
  .contact h2 { font-size: 34px; }
  .intro { max-width: 52ch; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; --band: 64px; }
  .clock { display: none; }
  .btn-nav { padding: 0 12px; height: 36px; font-size: 13.5px; }
  .btn-nav .lbl-full { display: none; }
  .btn-nav .lbl-short { display: inline; }

  .hero { padding-top: 24px; gap: 24px; }
  .hero .eyebrow { font-size: 11px; }
  .hero h1 { margin-top: 14px; font-size: 34px; line-height: 1.1; }
  .sub { margin-top: 16px; font-size: 16px; }
  .cta-row { margin-top: 24px; flex-direction: column; align-items: stretch; gap: 10px; }
  .cta-row .btn-lg { width: 100%; }
  .email-pill { width: 100%; }
  .email-pill a { flex: 1; font-size: 13.5px; }
  .email-pill-lg a { font-size: 16px; }
  .cta-row .btn-ghost { align-self: flex-start; margin-left: -10px; }
  .proof { margin-top: 24px; padding: 12px 0; font-size: 11.5px; }

  .read-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .chips { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; }
  .chip { height: auto; min-height: 40px; padding: 8px 12px; white-space: normal; line-height: 1.25; }
  .note { padding: 20px; }
  .note-top { flex-wrap: wrap; gap: 4px 12px; }
  .note-top > span:last-child { white-space: normal; overflow: visible; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 12px 0; }
  .row dt { padding-top: 0; }
  .hero-band + .band { padding-top: 64px; }

  .split h2 { font-size: 26px; }
  .details { grid-template-columns: 1fr; }
  .services > li, .services > li.has-aside { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .aside { white-space: normal; }
  .paper-cols { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .points > li { font-size: 17px; }
  .points > li.lead { font-size: 18px; }
  .stack > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .contact h2 { font-size: 30px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
