/* PréPro — test build. Black and white, spec-sheet feel. */
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-standard-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #0b0b0b;
  --paper: #ffffff;
  --mute: #5f5f5f;
  --rule: #d6d6d6;
  --soft: #f3f3f2;
  --gutter: 20px;
  --max: 1200px;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}
@media (min-width: 768px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--ink); overscroll-behavior-y: none; }
body { margin: 0; overscroll-behavior-y: none; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); }
@media (min-width: 768px) { body { font-size: 18px; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; font-stretch: 88%; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow > * { max-width: 820px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--rule); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.p-icon { width: 22px; height: auto; }
.wordmark { font-weight: 800; font-size: 20px; letter-spacing: -0.01em; font-stretch: 88%; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 22px; height: 2px; background: var(--ink); }
.nav a { text-decoration: none; font-weight: 600; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.nav-mobile { position: absolute; left: 0; right: 0; top: 64px; background: var(--paper); border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; padding: 8px var(--gutter) 20px; }
.nav-mobile a { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.nav-mobile .btn { margin-top: 16px; border: 0; text-align: center; padding: 16px; }
.nav-desktop { display: none; }
.menu:not([open]) .nav-mobile { display: none; }
.menu[open] .nav-mobile { display: flex; }
@media (min-width: 960px) {
  .menu { display: none; }
  .nav-desktop { display: flex; align-items: center; gap: 28px; }
  .nav-desktop a { font-size: 15px; }
}

/* Buttons and links */
.btn { display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none; font: 700 16px/1 var(--sans); padding: 16px 22px; border: 2px solid var(--ink); cursor: pointer; }
.btn:hover { background: var(--paper); color: var(--ink); }
.btn-small { padding: 11px 16px; font-size: 14px; }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: transparent; color: var(--paper); }
.link-light { color: var(--paper); font-weight: 600; }
.more { display: inline-block; margin-top: 8px; font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; }
.actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; margin-top: 32px; }

/* Hero */
.hero { background: var(--ink); color: var(--paper); padding: 72px 0 80px; }
.hero h1 { font-size: clamp(40px, 8.4vw, 104px); max-width: 15ch; }
.hero-page h1 { font-size: clamp(40px, 7vw, 84px); }
.hero .lead { font-size: clamp(18px, 2.2vw, 22px); max-width: 40ch; margin-top: 24px; color: #e6e6e6; }
.eyebrow { font: 500 13px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: #bdbdbd; margin-bottom: 20px; }
@media (min-width: 768px) { .hero { padding: 112px 0 120px; } }

/* Credits */
.credits { border-bottom: 1px solid var(--rule); padding: 40px 0; }
.label-plain { font: 500 13px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--mute); margin-bottom: 12px; }
.credit-list { font-weight: 700; font-size: clamp(18px, 2.4vw, 26px); line-height: 1.4; letter-spacing: -0.01em; font-stretch: 92%; margin-bottom: 12px; }
.muted { color: var(--mute); margin: 0; }
.credits-inline { border-top: 1px solid var(--rule); }

/* Blocks */
.block { padding: 64px 0; }
.block-rule { border-top: 1px solid var(--rule); }
@media (min-width: 768px) { .block { padding: 96px 0; } }
.label { display: flex; gap: 14px; font: 500 13px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--mute); margin-bottom: 32px; }
.label span { color: var(--ink); }
.block h2 { font-size: clamp(30px, 4.6vw, 52px); margin-bottom: 20px; max-width: 20ch; }
.body-l { font-size: clamp(19px, 2vw, 23px); line-height: 1.5; }
.note { font: 500 14px/1.5 var(--mono); margin-top: 28px; }
.callout { display: inline-block; font-weight: 700; border: 2px solid var(--ink); padding: 12px 16px; margin-top: 8px; }
.small { font-size: 14px; color: var(--mute); }

.grid-3 { display: grid; gap: 40px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.item h3 { font-size: 24px; margin-bottom: 12px; }

.services { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.service { display: block; text-decoration: none; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.service h3 { font-size: 26px; margin-bottom: 8px; }
.service p { max-width: 52ch; }
.service-main h3 { font-size: clamp(32px, 4.4vw, 48px); }
.service:hover h3 { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.tag { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; display: inline-block; border: 1px solid var(--ink); padding: 6px 8px; margin-bottom: 14px; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.steps li { counter-increment: s; padding: 24px 0 20px; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(s, decimal-leading-zero); font: 500 13px/1 var(--mono); display: block; margin-bottom: 14px; color: var(--mute); }
.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps p { margin: 0; }
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; border: 0; }
  .steps li { border-bottom: 0; border-top: 2px solid var(--ink); }
  .steps-5 { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .steps-4 { grid-template-columns: repeat(4, 1fr); gap: 28px; }
}

.spec { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.spec li { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.spec h3 { font-size: 22px; }
.spec p { margin: 0; color: var(--ink); }
@media (min-width: 768px) { .spec li { grid-template-columns: 340px 1fr; gap: 40px; align-items: baseline; } }

.two-col { display: grid; gap: 64px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 64px; } }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; border-top: 2px solid var(--ink); }
.ticks li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-weight: 600; }

.founder { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .founder { grid-template-columns: 5fr 7fr; gap: 64px; } }
.photo { aspect-ratio: 4 / 5; background: var(--soft); border: 1px dashed #b5b5b5; display: grid; place-items: center; font: 500 13px var(--mono); color: var(--mute); text-align: center; padding: 16px; }
.statement { font-size: clamp(24px, 3.2vw, 36px); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; font-stretch: 92%; }

.faq details { border-bottom: 1px solid var(--rule); }
.faq { border-top: 2px solid var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-weight: 700; font-size: 20px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 18px; font: 500 22px var(--mono); }
.faq details[open] summary::after { content: "−"; }
.faq p { padding-bottom: 20px; max-width: 60ch; margin: 0; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--paper); padding: 80px 0; }
.cta-band h2 { font-size: clamp(32px, 5vw, 60px); max-width: 18ch; }
.cta-band .slogan { font: 500 14px var(--mono); color: #bdbdbd; margin: 40px 0 0; }

/* Contact */
.contact { display: grid; gap: 56px; }
@media (min-width: 960px) { .contact { grid-template-columns: 2fr 1fr; gap: 80px; } }
.form { display: grid; gap: 22px; }
.form .btn { justify-self: start; min-width: 180px; }
.row-2 { display: grid; gap: 22px; }
@media (min-width: 640px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font: 500 13px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; padding: 0; margin-bottom: 8px; }
input[type="text"], input[type="email"], textarea { width: 100%; font: 400 17px/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--ink); border-radius: 0; padding: 14px; }
textarea { resize: vertical; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--rule); padding: 10px 14px; cursor: pointer; }
.choice input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }
.choice:has(input:checked) { border-color: var(--ink); background: var(--soft); }
.hp { position: absolute; left: -9999px; }
.contact-aside p { margin-bottom: 12px; font-weight: 600; }
.slogan-dark { font: 500 14px var(--mono); color: var(--mute); margin-top: 32px; }

.prose h2 { font-size: 26px; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding: 56px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid #222; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; padding-bottom: 32px; border-bottom: 1px solid #2c2c2c; }
.brand-light .p-icon { width: 26px; }
.site-footer .slogan { font: 500 14px var(--mono); color: #cfcfcf; margin: 0; }
.footer-cols { display: grid; gap: 28px; padding: 32px 0; }
@media (min-width: 640px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
.footer-cols nav, .footer-cols div { display: grid; gap: 10px; align-content: start; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { text-decoration: underline; }
.legal { font-size: 13px; color: #a8a8a8; margin: 0; border-top: 1px solid #2c2c2c; padding-top: 24px; }

/* Photo slots (placeholders until photos arrive) */
.ph-wrap { margin: 0; }
.ph-wrap .wrap { padding-bottom: 64px; }
@media (min-width: 768px) { .ph-wrap .wrap { padding-bottom: 96px; } }
.ph { width: 100%; background: var(--soft); border: 1px dashed #b5b5b5; display: grid; place-items: center; text-align: center; padding: 16px; font: 500 13px/1.6 var(--mono); color: var(--mute); }
.ph-bleed .ph { border-left: 0; border-right: 0; }
.ph-pair { display: grid; gap: 16px; margin-top: 56px; }
@media (min-width: 768px) { .ph-pair { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 767px) { .ph-bleed .ph { aspect-ratio: 4 / 3 !important; } }

/* Photos */
.photo-img { display: block; width: 100%; height: auto; object-fit: cover; background: #111; }
.ph-bleed .photo-img { max-height: 78vh; }
.founder .photo-img { max-width: 520px; }
.founder-tall .photo-img { max-width: 380px; }
@media (max-width: 767px) { .ph-bleed .photo-img { aspect-ratio: 4 / 3 !important; } }

.cta-band-slim { padding: 56px 0; }
.cta-band-slim .actions { margin-top: 0; }
.lead-2 { margin-top: 8px !important; }
.form-msg { font-weight: 700; font-size: 20px; border: 2px solid var(--ink); padding: 20px; }
.form-err { border-color: #b00020; color: #b00020; font-size: 17px; }
.contact-aside p { line-height: 1.5; }
@media (min-width: 960px) and (max-width: 1180px) { .nav-desktop { gap: 18px; } .nav-desktop a { font-size: 14px; } }

/* Photo credits */
.ph-credit { font: 500 11px/1.4 var(--mono); letter-spacing: 0.04em; color: var(--mute); text-align: right; margin: 8px 0 0; }
.ph-bleed .ph-credit { margin-top: 8px; }

/* Home swipe gallery */
.gallery { padding: 48px 0 56px; border-bottom: 1px solid var(--rule); }
.g-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.g-head .label-plain { margin: 0; }
.g-nav { display: none; gap: 8px; }
@media (min-width: 768px) and (hover: hover) { .g-nav { display: flex; } }
.g-btn { width: 44px; height: 44px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); font: 500 18px/1 var(--mono); cursor: pointer; }
.g-btn:hover, .g-btn:focus-visible { background: var(--ink); color: var(--paper); }
.g-track { --gh: 300px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 0 var(--gutter) 12px; scroll-padding-inline: var(--gutter); scrollbar-width: thin; }
@media (min-width: 768px) { .g-track { --gh: 440px; gap: 16px; } }
@media (min-width: 1200px) { .g-track { padding-left: calc((100vw - var(--max)) / 2 + var(--gutter)); scroll-padding-inline: calc((100vw - var(--max)) / 2 + var(--gutter)); } }
.g-track:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.g-item { flex: 0 0 auto; margin: 0; scroll-snap-align: start; }
.g-item .photo-img { height: var(--gh); width: auto; max-width: 86vw; }
.g-item figcaption { font: 500 11px/1.4 var(--mono); letter-spacing: 0.04em; color: var(--mute); margin-top: 8px; }
.ph-fig { margin: 0; }

/* Photo pairs: full page width, side by side from tablet up */
.ph-pair-bleed { display: grid; gap: 24px; margin: 0; }
@media (min-width: 768px) { .ph-pair-bleed { grid-template-columns: 1fr 1fr; gap: 8px; } }
.ph-pair-bleed .ph-credit { padding: 0 var(--gutter); }
.ph-bleed, .ph-pair-bleed { padding-bottom: 32px; }
.ph-bleed .wrap { padding-bottom: 0; }
.cta-band .cta-text { color: #d6d6d6; font-size: 19px; max-width: 46ch; margin: 16px 0 0; }

/* Insights */
.eyebrow-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.insight-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.insight-list li { border-bottom: 1px solid var(--rule); }
.insight-list a { display: block; padding: 28px 0; color: inherit; text-decoration: none; }
.insight-list h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; margin: 6px 0 10px; }
.insight-list p { margin: 0 0 12px; }
.insight-list a:hover h2 { text-decoration: underline; text-underline-offset: 4px; }
.insight-date { font: 500 13px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--mute); }
.article { font-size: 19px; line-height: 1.65; }
.article p, .article ul, .article ol { margin: 0 0 20px; }
.article h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.2; margin: 48px 0 14px; }
.article h3 { font-size: 21px; margin: 32px 0 10px; }
.article li { margin-bottom: 8px; }
.article a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.article blockquote { margin: 28px 0; padding-left: 20px; border-left: 3px solid var(--ink); font-weight: 600; }
.article table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 0 0 24px; }
.article th, .article td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.byline { font: 500 13px/1.4 var(--mono); letter-spacing: 0.06em; color: #bdbdbd; margin-top: 28px; }
.g-nav { margin-left: auto; }
@media (max-width: 767px), (hover: none) { .g-head { display: none; } }
@media (max-width: 767px), (hover: none) { .gallery .g-track { margin-top: 0; } }

/* Cookie choice */
.consent { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 50; max-width: 560px; margin-left: auto;
  background: var(--ink); color: var(--paper); border: 1px solid #5f5f5f; padding: 20px; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 16px; font-size: 15px; line-height: 1.5; }
.consent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.btn-ghost { background: none; border: 1px solid #777; color: var(--paper); font: inherit; font-weight: 700; font-size: 14px; padding: 10px 18px; cursor: pointer; }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--paper); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.article h2, .insight-list h2 { max-width: none; }
