:root {
  --ink: #1f2a26;
  --paper: #faf8f4;
  --paper-deep: #f2eee6;
  --pounamu: #1d5c4d;
  --pounamu-dark: #123c32;
  --pounamu-band: #0f332b;
  --accent-soft: #e8efe9;
  --rule: #d8d2c6;
  --muted: #5e6862;
  --tier-good: #1d5c4d;
  --tier-dev: #8a6d1f;
  --tier-action: #96442a;
  --cream-on-dark: #ede9df;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.65;
}
.wrap { max-width: 1020px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

h1, h2.display, .specimen-title { font-family: "Newsreader", Georgia, serif; }
.mono, .eyebrow, .tier, .crit, .step-num {
  font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}

/* ---------- Header ---------- */
header.site { border-bottom: 3px solid var(--pounamu); background: var(--paper); }
.brandbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 22px 0 16px; }
.wordmark { font-size: 21px; letter-spacing: .16em; font-weight: 700; color: var(--pounamu-dark); text-transform: uppercase; text-decoration: none; }
.wordmark .ready { color: var(--pounamu); font-weight: 400; }
nav.site a { color: var(--muted); text-decoration: none; font-size: 15px; margin-left: 18px; padding-bottom: 3px; touch-action: manipulation; }
nav.site a:first-child { margin-left: 0; }
nav.site a:hover { color: var(--pounamu-dark); }
nav.site a[aria-current] { color: var(--pounamu-dark); border-bottom: 2px solid var(--pounamu); }

/* ---------- Section machinery ---------- */
section { padding: 64px 0; }
section.tint { background: var(--paper-deep); }
section.band { background: var(--pounamu-band); color: var(--cream-on-dark); }
.eyebrow {
  display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--pounamu); margin-bottom: 14px; font-weight: 500;
}
section.band .eyebrow { color: #9dbfb4; }
h1 { font-size: clamp(34px, 5.2vw, 52px); line-height: 1.08; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; margin-bottom: 18px; }
h2.display { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; font-weight: 600; text-wrap: balance; margin-bottom: 14px; }
.standfirst { font-size: 19px; color: var(--muted); max-width: 560px; text-wrap: pretty; }
p + p { margin-top: 12px; }
a { color: var(--pounamu-dark); }
strong { color: var(--pounamu-dark); }
section.band strong { color: #fff; }
:focus-visible { outline: 3px solid var(--tier-dev); outline-offset: 3px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero .lede { font-size: 18px; color: var(--muted); margin-top: 4px; max-width: 480px; }
.founder-line { margin-top: 22px; font-size: 15px; color: var(--muted); }

/* ---------- The specimen (signature) ---------- */
.specimen {
  background: #fff;
  border: 1px solid var(--rule);
  border-top: 5px solid var(--pounamu);
  box-shadow: 0 18px 40px -18px rgba(31, 42, 38, .25);
  padding: 26px 28px 22px;
  position: relative;
}
.specimen-label {
  position: absolute; top: -13px; right: 18px;
  background: var(--pounamu); color: var(--paper);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 10px; font-family: "IBM Plex Mono", monospace;
}
.specimen-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.crit { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.tier {
  font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border: 1.5px solid currentColor; white-space: nowrap;
}
.tier.dev { color: var(--tier-dev); }
.tier.good { color: var(--tier-good); }
.tier.action { color: var(--tier-action); }
.specimen-title { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.specimen p { font-size: 15.5px; line-height: 1.6; }
.specimen .cite { color: var(--muted); font-size: 13.5px; margin-top: 10px; }
.specimen .fix {
  margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--rule);
  font-size: 14.5px;
}
.specimen .fix .mono { font-size: 12px; color: var(--pounamu); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.card {
  background: #fff; border: 1px solid var(--rule); padding: 24px 22px;
  display: flex; flex-direction: column; gap: 8px; min-width: 0;
}
.card:hover { border-color: var(--pounamu); }
.card h3 { font-size: 17.5px; }
.card p { font-size: 15px; color: var(--muted); }
.card .mono { font-size: 12px; color: var(--pounamu); letter-spacing: .12em; text-transform: uppercase; }
a.card { text-decoration: none; color: inherit; }
a.card .go { margin-top: auto; padding-top: 10px; color: var(--pounamu-dark); font-size: 14.5px; }

/* ---------- Process band ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin-top: 34px; }
.step { min-width: 0; }
.step-num { font-size: 13px; color: #9dbfb4; letter-spacing: .12em; display: block; margin-bottom: 8px; }
.step h3 { font-size: 16.5px; color: #fff; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--cream-on-dark); opacity: .85; }
.band-note { margin-top: 30px; font-size: 14.5px; color: #9dbfb4; }

/* ---------- Plain box ---------- */
.plain-box {
  background: var(--accent-soft); border-left: 4px solid var(--pounamu);
  padding: 20px 24px; margin: 30px 0 0; font-size: 16px; max-width: 760px;
}

/* ---------- Jamie ---------- */
.person { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; margin-top: 8px; }
.portrait {
  aspect-ratio: 4 / 5; background: var(--paper-deep); border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--muted); font-size: 13px; padding: 18px;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-top: 10px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 16.5px;
  color: var(--pounamu-dark); list-style: none; touch-action: manipulation;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--pounamu); font-family: "IBM Plex Mono", monospace; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 16px; font-size: 15.5px; color: var(--ink); max-width: 680px; }

/* ---------- CTA ---------- */
.cta-block { max-width: 760px; }
.cta-block ul { margin: 14px 0 24px; padding-left: 0; list-style: none; }
.cta-block li { padding-left: 26px; position: relative; margin-bottom: 8px; font-size: 15.5px; }
.cta-block li::before { content: "→"; position: absolute; left: 0; color: var(--pounamu); }
.cta {
  display: inline-block; background: var(--pounamu); color: var(--paper);
  text-decoration: none; padding: 14px 30px; font-size: 16px; letter-spacing: .02em;
  touch-action: manipulation;
}
.cta:hover { background: var(--pounamu-dark); }
section.band .cta { background: var(--paper); color: var(--pounamu-dark); }

/* ---------- Content pages ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--pounamu); margin: 36px 0 10px; font-family: "IBM Plex Mono", monospace; font-weight: 500; }
.prose ul, .prose ol { padding-left: 22px; margin-top: 8px; }
.prose li { margin-bottom: 8px; }
table { width: 100%; border-collapse: collapse; margin-top: 10px; }
th, td { text-align: left; padding: 12px; font-size: 15.5px; vertical-align: top; }
thead th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); border-bottom: 2px solid var(--pounamu); font-family: "IBM Plex Mono", monospace; font-weight: 500; }
tbody tr { border-bottom: 1px solid var(--rule); }

/* ---------- Timeline (how we work) ---------- */
.timeline { margin-top: 26px; max-width: 720px; }
.tl-step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.tl-step:last-child { border-bottom: none; }
.tl-step .step-num { color: var(--pounamu); font-size: 15px; }
.tl-step h3 { font-size: 17px; margin-bottom: 4px; }
.tl-step p { font-size: 15.5px; color: var(--muted); }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--rule); padding: 26px 0 38px; font-size: 13.5px; color: var(--muted); background: var(--paper); }
footer.site .row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
footer.site a { color: var(--muted); }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
.card, .cta, .specimen { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(31, 42, 38, .3); }
.specimen:hover { transform: translateY(-2px); box-shadow: 0 24px 48px -18px rgba(31, 42, 38, .3); }
.cta:hover { transform: translateY(-2px); }
a.card .go { transition: transform .2s ease; display: inline-block; }
a.card:hover .go { transform: translateX(4px); }
.reveal.card:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .cta, .specimen, a.card .go { transition: none; }
  .card:hover, .specimen:hover, .cta:hover, a.card:hover .go { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  section { padding: 46px 0; }
  .hero { padding: 48px 0 44px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .person { grid-template-columns: 1fr; }
  .portrait { max-width: 260px; }
  nav.site a { margin-left: 12px; font-size: 14px; }
}
