@font-face { font-family: 'Archivo'; src: url('/assets/fonts/archivo.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url('/assets/fonts/source-serif-4.woff2') format('woff2'); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url('/assets/fonts/source-serif-4-italic.woff2') format('woff2'); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/assets/fonts/plex-mono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/assets/fonts/plex-mono-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --ink: #15171A;
  --paper: #EEEAE1;
  --paper-2: #F7F5F0;
  --line: #D6D1C5;
  --graphite: #4F5358;
  --oxide: #9E3B26;
  --oxide-light: #D9826B;
  --head: 'Archivo', 'Arial Narrow', sans-serif;
  --body: 'Source Serif 4', Georgia, serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.6;
}
a { color: var(--oxide); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
img, svg { display: block; max-width: 100%; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow > * { max-width: 720px; }

/* Header */
.site-header { border-bottom: 2px solid var(--ink); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { width: 60px; height: 36px; color: var(--ink); }
.brand span {
  font-family: var(--head); font-weight: 800; font-stretch: 75%;
  font-size: 26px; letter-spacing: 0.01em; line-height: 1;
}
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding: 12px 10px; min-height: 44px; display: inline-flex; align-items: center;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--oxide); text-decoration: underline; }

/* Type */
.eyebrow {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--oxide); font-weight: 600; margin: 0 0 16px;
}
h1, h2, h3 { font-family: var(--head); font-weight: 800; font-stretch: 75%; line-height: 0.98; margin: 0; }
h1 { font-size: clamp(48px, 8vw, 96px); letter-spacing: -0.005em; }
h2 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 18px; }
h3 { font-size: 28px; margin-bottom: 8px; }
.lede { font-size: clamp(20px, 2.4vw, 24px); line-height: 1.5; max-width: 760px; }
.mono { font-family: var(--mono); }
.muted { color: var(--graphite); }

section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }

/* Hero */
.hero { padding: 88px 0 72px; }
.hero h1 { margin-bottom: 28px; max-width: 900px; }

/* Case tag */
.case-tag { display: inline-flex; align-items: stretch; border: 2px solid var(--ink); margin-bottom: 28px; text-decoration: none; color: var(--ink); }
.case-tag .num {
  background: var(--ink); color: var(--paper); padding: 8px 12px;
  display: flex; flex-direction: column; justify-content: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; line-height: 1.3;
}
.case-tag .num b { font-family: var(--head); font-stretch: 75%; font-size: 26px; line-height: 1; letter-spacing: 0.02em; }
.case-tag .label { padding: 8px 14px; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.case-tag .label b { font-family: var(--head); font-stretch: 75%; font-weight: 800; font-size: 24px; line-height: 1; }
.case-tag .label span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--graphite); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 14px 26px; background: var(--ink); color: var(--paper); border: 2px solid var(--ink);
  font-family: var(--mono); font-size: 15px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--oxide); border-color: var(--oxide); color: #fff; }
.btn.secondary { background: transparent; color: var(--ink); }
.btn.secondary:hover { background: var(--ink); color: var(--paper); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* Grid of cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { background: var(--paper-2); border: 1px solid var(--line); padding: 28px; }
.card p { margin: 0; }

/* Lists */
.dash-list { list-style: none; padding: 0; margin: 0; }
.dash-list li { padding: 10px 0 10px 28px; position: relative; border-bottom: 1px solid var(--line); }
.dash-list li::before { content: "—"; position: absolute; left: 0; color: var(--oxide); }

/* Label table (method) */
.labels { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.labels > div { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.labels dt { font-family: var(--mono); font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.labels dd { margin: 0; }
@media (max-width: 640px) { .labels > div { grid-template-columns: 1fr; gap: 6px; } }

/* Dark band */
.band { background: var(--ink); color: var(--paper); }
.band .eyebrow { color: var(--oxide-light); }
.band a { color: var(--oxide-light); }
.band .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.band .btn:hover { background: var(--oxide-light); border-color: var(--oxide-light); }

/* Form */
form { display: grid; gap: 22px; max-width: 720px; }
.field { display: grid; gap: 8px; }
label { font-family: var(--mono); font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.hint { font-family: var(--body); font-size: 16px; color: var(--graphite); text-transform: none; letter-spacing: 0; font-weight: 400; }
input[type=text], input[type=email], input[type=tel], textarea, select {
  font: inherit; font-size: 18px; padding: 14px 14px; min-height: 52px;
  border: 2px solid var(--ink); background: #fff; color: var(--ink); border-radius: 0; width: 100%;
}
textarea { min-height: 220px; resize: vertical; }
input:focus, textarea:focus, select:focus, .btn:focus-visible, a:focus-visible { outline: 3px solid var(--oxide); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 24px; height: 24px; margin-top: 3px; flex-shrink: 0; accent-color: var(--ink); }
.check label { font-family: var(--body); font-size: 18px; font-weight: 400; text-transform: none; letter-spacing: 0; }
.hp { position: absolute; left: -9999px; }
.form-status { font-family: var(--mono); font-size: 16px; padding: 16px; border: 2px solid var(--ink); background: var(--paper-2); }
.form-status[hidden] { display: none; }

.notice { border-left: 0; border: 1px solid var(--line); background: var(--paper-2); padding: 20px 24px; font-size: 17px; }

/* Footer */
.site-footer { border-top: 2px solid var(--ink); padding: 40px 0 56px; font-family: var(--mono); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: var(--ink); }
