/* ==========================================================================
   bilhokista.web.app — field dossier
   Type: Instrument Serif / Plus Jakarta Sans / JetBrains Mono
   ========================================================================== */

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-normal.woff2") format("woff2");
}

:root {
  --paper: #f3efe6;
  --paper-2: #ebe5d8;
  --paper-3: #e2dbc9;
  --ink: #161512;
  --ink-2: #2b2924;
  --muted: #6e685c;
  --faint: #969082;
  --line: #d3cbb9;
  --line-strong: #b8ae99;
  --oxide: #c0441f;
  --oxide-2: #9d3416;
  --moss: #2e4636;
  --gold: #c99a3f;
  --white: #fbf9f3;

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  --w: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(72px, 10vw, 132px);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--oxide); color: var(--white); }

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--w) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  z-index: 10000;
  transition: top .2s;
}
.skip:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--oxide);
  outline-offset: 4px;
}

/* ---------- type ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--oxide);
  display: inline-block;
  flex: none;
}
.eyebrow.no-rule::before { display: none; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.1rem, 7.4vw, 7rem);
  line-height: .92;
  letter-spacing: -.025em;
}
.display em,
.h2 em,
.h3 em {
  font-style: italic;
  color: var(--oxide);
}

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  line-height: .98;
  letter-spacing: -.022em;
}

.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  line-height: 1.04;
  letter-spacing: -.012em;
}

.h4 {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.lede {
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 62ch;
}

.small { font-size: 14px; line-height: 1.55; color: var(--muted); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; }
.accent { color: var(--oxide); }
.muted { color: var(--muted); }
.serif { font-family: var(--serif); font-weight: 400; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1;
  padding-bottom: 2px;
}
.brand-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.brand-name span {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--oxide);
  transition: right .25s var(--ease);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { right: 0; }
.nav-links a[aria-current="page"] { color: var(--oxide); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ink);
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 2px;
  transition: background .2s, color .2s;
  flex: none;
}
.nav-cta:hover { background: var(--ink); color: var(--paper); }
.nav-cta svg { width: 12px; height: 12px; }

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform .25s, opacity .25s;
}
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  min-height: 48px;
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background .22s, color .22s, border-color .22s, transform .22s;
}
.btn:hover { background: var(--oxide); border-color: var(--oxide); transform: translateY(-1px); }
.btn svg { width: 15px; height: 15px; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn.light:hover { background: var(--oxide); border-color: var(--oxide); color: var(--white); }
.btn.tiny { padding: 8px 13px; min-height: 36px; font-size: 11px; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 6px;
  transition: gap .2s, border-color .2s, color .2s;
}
.arrow-link:hover { gap: 16px; border-color: var(--oxide); color: var(--oxide); }
.arrow-link svg { width: 13px; height: 13px; }

/* ---------- hero ---------- */

.hero {
  padding-top: clamp(48px, 7vw, 92px);
  padding-bottom: clamp(48px, 7vw, 88px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}
.hero-copy { padding-top: 12px; }
.hero .eyebrow { margin-bottom: 28px; }
.hero h1 { margin-bottom: 30px; max-width: 12ch; }
.hero .lede { margin-bottom: 36px; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }

.hero-figure {
  position: relative;
  align-self: stretch;
  min-height: 440px;
  background: #1a1714;
  overflow: hidden;
  border-radius: 2px;
}
.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 50%;
  filter: saturate(.92) contrast(1.02);
}
.hero-figure figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: #d8cfbf;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 10px;
}

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}
.hero-foot .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--oxide); flex: none; }
.hero-foot .item { display: inline-flex; align-items: center; gap: 9px; }
.hero-foot strong { color: var(--ink); font-weight: 500; }

/* ---------- sections ---------- */

.section { padding-block: var(--section); }
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section-top .h2 { max-width: 16ch; }
.section-top p { max-width: 38ch; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- intro ---------- */

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  gap: clamp(28px, 6vw, 96px);
}
.intro-grid .h2 { max-width: 12ch; }
.intro-body p + p { margin-top: 18px; }
.intro-body .lede { color: var(--ink); }
.pull {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -.015em;
  border-left: 2px solid var(--oxide);
  padding-left: 22px;
  margin: 30px 0 6px;
}
.pull em { font-style: italic; color: var(--oxide); }

/* ---------- work cards ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(20px, 2.4vw, 34px);
}
.card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.card.wide { grid-column: span 6; }
.card.half { grid-column: span 6; }

.card-media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .4s;
}
.card:hover .card-media img { transform: scale(1.025); filter: saturate(1.05); }
.card-media .kind {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .11em;
  text-transform: uppercase;
  padding: 5px 8px;
  border: 1px solid rgba(0,0,0,.08);
}
.card-body { padding-top: 16px; display: flex; flex-direction: column; flex: 1; }
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.card-title {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}
.card-title a { background-image: linear-gradient(var(--oxide), var(--oxide)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s; }
.card-title a:hover { background-size: 100% 1px; }
.card-sum { font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 42ch; }
.card-proof {
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--ink-2);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.card-proof::before { content: "↳"; color: var(--oxide); flex: none; }
.card[hidden] { display: none; }
.card-media.cover .kind { display: none; }

/* typographic cover for projects without screenshots */
.card-media.cover {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  background: var(--paper-2);
  overflow: hidden;
}
.cover[data-kind="ai"] { background: #23352b; color: #e7dfce; }
.cover[data-kind="ai"] .cover-kicker { color: #b9c9b4; }
.cover[data-kind="gtm"] { background: #c0441f; color: #fbeee6; }
.cover[data-kind="gtm"] .cover-kicker { color: #f2c7b7; }
.cover[data-kind="web3"] { background: #1e2733; color: #e7e2d6; }
.cover[data-kind="web3"] .cover-kicker { color: #aebbc9; }
.cover[data-kind="experiment"] { background: #2f2b24; color: #e9e2d4; }
.cover[data-kind="experiment"] .cover-kicker { color: #c4b9a5; }
.cover[data-kind="product"] { background: #dcd3c0; color: var(--ink); }
.cover[data-kind="client"] { background: #d7cdb9; color: var(--ink); }
.cover-kicker {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.cover-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: .94;
  letter-spacing: -.02em;
  margin-top: auto;
}
.cover-mark {
  position: absolute;
  right: 14px;
  bottom: 6px;
  font-family: var(--serif);
  font-size: 92px;
  line-height: 1;
  opacity: .13;
  pointer-events: none;
}
.cover-foot {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 12px;
  opacity: .75;
}

/* ---------- receipts ---------- */

.receipts {
  background: var(--ink);
  color: #ded6c7;
  padding-block: clamp(64px, 9vw, 112px);
  position: relative;
  overflow: hidden;
}
.receipts::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 420px at 85% 10%, rgba(192,68,31,.18), transparent 65%),
    radial-gradient(600px 420px at 8% 90%, rgba(201,154,63,.09), transparent 65%);
  pointer-events: none;
}
.receipts .wrap { position: relative; }
.receipts .eyebrow { color: #a69b88; }
.receipts .h2 { color: var(--paper); }
.receipts-head { display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; margin-bottom: clamp(36px, 5vw, 64px); }
.receipts-head p { max-width: 38ch; color: #a69b88; font-size: 14px; }
.receipt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.receipt {
  padding: 26px 22px 30px 0;
  border-right: 1px solid rgba(255,255,255,.12);
}
.receipt:last-child { border-right: 0; padding-right: 0; }
.receipt + .receipt { padding-left: 22px; }
.receipt .num {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.6vw, 4rem);
  line-height: 1;
  color: var(--paper);
  letter-spacing: -.02em;
  display: block;
  margin-bottom: 10px;
}
.receipt .num small { font-size: .42em; color: var(--gold); vertical-align: super; margin-left: 2px; }
.receipt .what { font-size: 13px; line-height: 1.45; color: #bab09e; max-width: 22ch; }
.receipt .tag { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: #7f7564; margin-top: 14px; display: block; }

/* ---------- layers ---------- */

.layers {
  border-top: 1px solid var(--line);
  margin-top: 36px;
}
.layer {
  display: grid;
  grid-template-columns: 72px minmax(120px, .7fr) minmax(0, 1.6fr) minmax(0, .9fr);
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background .2s;
}
.layer:hover { background: color-mix(in srgb, var(--paper-2) 55%, transparent); }
.layer-no { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--oxide); padding-top: 3px; }
.layer-name { font-weight: 700; font-size: 14px; padding-top: 1px; }
.layer-desc { font-size: 14px; color: var(--muted); line-height: 1.55; }
.layer-proof { font-family: var(--mono); font-size: 10px; line-height: 1.6; color: var(--ink-2); }
.layer-proof span { color: var(--faint); display: block; font-size: 9px; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 3px; }

/* ---------- label band ---------- */

.label-band {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 10vw, 120px);
}
.label-band::after {
  content: "";
  position: absolute;
  width: 760px; height: 760px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 50%;
  right: -260px; top: -260px;
  box-shadow: 0 0 0 80px rgba(255,255,255,.02), 0 0 0 160px rgba(255,255,255,.015);
  pointer-events: none;
}
.label-band .wrap { position: relative; z-index: 1; }
.label-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.label-band .eyebrow { color: #a69b88; }
.label-band .h2 { color: var(--paper); margin: 22px 0 22px; max-width: 13ch; }
.label-band p { color: #b7ad9b; max-width: 46ch; }
.label-band .arrow-link { color: var(--paper); border-color: rgba(255,255,255,.28); margin-top: 30px; }
.label-band .arrow-link:hover { color: #e9a17f; border-color: #e9a17f; }

.credential {
  border: 1px solid rgba(255,255,255,.26);
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  padding: 22px;
  position: relative;
  border-radius: 3px;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}
.credential::before,
.credential::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  border: 1px solid var(--gold);
  opacity: .7;
}
.credential::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.credential::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.credential-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #a69b88;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.credential-title {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.3vw, 3rem);
  line-height: .94;
  margin: 26px 0 8px;
  letter-spacing: -.02em;
}
.credential-title em { font-style: italic; color: var(--gold); }
.credential-sub { font-size: 12px; color: #a69b88; max-width: 30ch; line-height: 1.5; }
.credential-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-top: 30px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.15);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8f8574;
}
.credential-seal {
  width: 46px; height: 46px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 18px;
  flex: none;
}

/* ---------- capabilities ---------- */

.caps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.cap { border-right: 1px solid var(--line); padding: 26px 24px 30px 0; }
.cap:last-child { border-right: 0; }
.cap + .cap { padding-left: 24px; }
.cap-no { font-family: var(--mono); font-size: 10px; color: var(--oxide); letter-spacing: .1em; margin-bottom: 18px; display: block; }
.cap h3 { font-family: var(--sans); font-size: 15px; font-weight: 700; margin-bottom: 12px; letter-spacing: -.01em; }
.cap ul { display: grid; gap: 7px; }
.cap li { font-size: 13px; line-height: 1.45; color: var(--muted); display: flex; gap: 8px; }
.cap li::before { content: "·"; color: var(--faint); }
.cap .tools { margin-top: 16px; font-family: var(--mono); font-size: 9.5px; line-height: 1.6; color: var(--faint); }

/* ---------- index list ---------- */

.index-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}
.index-head h3 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.index-head span { font-family: var(--mono); font-size: 10px; color: var(--faint); }
.index-list { border-top: 1px solid var(--line-strong); }
.index-row {
  display: grid;
  grid-template-columns: 64px minmax(160px, .9fr) minmax(0, 1.5fr) 110px;
  gap: 20px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .25s var(--ease), background .2s;
}
.index-row:hover { background: color-mix(in srgb, var(--paper-2) 45%, transparent); padding-inline: 10px; }
.index-row .yr { font-family: var(--mono); font-size: 10px; color: var(--faint); }
.index-row .nm { font-weight: 600; font-size: 14.5px; letter-spacing: -.01em; }
.index-row .ds { font-size: 13px; color: var(--muted); line-height: 1.45; }
.index-row .ty { font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); text-align: right; }
.index-row:hover .nm { color: var(--oxide); }

/* ---------- about / timeline ---------- */

.timeline { border-top: 1px solid var(--line); }
.tl-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1.2fr) minmax(0, 1.5fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.tl-row .yr { font-family: var(--mono); font-size: 10.5px; color: var(--oxide); padding-top: 3px; }
.tl-row .role { font-weight: 600; font-size: 14.5px; line-height: 1.4; }
.tl-row .org { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.tl-row .note { font-size: 13px; line-height: 1.55; color: var(--muted); }

.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; border-top: 1px solid var(--line); }
.principle { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 32px 1fr; gap: 8px; }
.principle .n { font-family: var(--mono); font-size: 10px; color: var(--oxide); padding-top: 3px; }
.principle h4 { font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.principle p { font-size: 13px; line-height: 1.5; color: var(--muted); }

/* ---------- writing ---------- */

.writing-list { border-top: 1px solid var(--line-strong); }
.write-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1.5fr) minmax(0, 1fr) 40px;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.write-row .date { font-family: var(--mono); font-size: 10px; color: var(--faint); }
.write-row h3 { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.05; letter-spacing: -.01em; }
.write-row .kind { font-size: 13px; color: var(--muted); }
.write-row .go { justify-self: end; width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; transition: background .2s, color .2s, transform .2s; }
.write-row:hover .go { background: var(--oxide); border-color: var(--oxide); color: white; transform: rotate(-45deg); }
.write-row:hover h3 { color: var(--oxide); }

/* ---------- services ---------- */

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.service { border-right: 1px solid var(--line); padding: 28px 26px 32px 0; display: flex; flex-direction: column; }
.service:last-child { border-right: 0; }
.service + .service { padding-left: 26px; }
.service .n { font-family: var(--mono); font-size: 10px; color: var(--oxide); letter-spacing: .1em; margin-bottom: 22px; }
.service h3 { font-family: var(--serif); font-size: 1.85rem; line-height: 1; margin-bottom: 12px; }
.service p { font-size: 13.5px; color: var(--muted); line-height: 1.55; flex: 1; }
.service .price { font-family: var(--mono); font-size: 12px; font-weight: 500; margin: 18px 0 6px; }
.service .price span { color: var(--faint); font-weight: 400; }
.service .arrow-link { margin-top: 14px; }

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

.contact {
  background: var(--oxide);
  color: var(--white);
  padding-block: clamp(72px, 10vw, 120px);
}
.contact .eyebrow { color: #f0c3b2; }
.contact .eyebrow::before { background: var(--white); }
.contact .display { max-width: 14ch; margin: 24px 0 28px; }
.contact .display em { color: #f4d3a6; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.contact .mail {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  border-bottom: 1px solid rgba(255,255,255,.55);
  padding-bottom: 4px;
  transition: border-color .2s;
}
.contact .mail:hover { border-color: var(--white); }
.contact-meta { display: flex; flex-wrap: wrap; gap: 20px 36px; margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.3); font-family: var(--mono); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: #f0c3b2; }
.contact-meta a:hover { color: var(--white); }

.site-footer { padding-block: 34px; background: var(--ink); color: #8d8474; }
.footer-grid { display: flex; justify-content: space-between; gap: 28px; align-items: flex-start; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 12px; align-items: center; color: #d8cfbf; }
.footer-brand .brand-mark { background: var(--paper); color: var(--ink); width: 30px; height: 30px; font-size: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.footer-links a:hover { color: var(--paper); }
.footer-note { font-size: 10.5px; line-height: 1.6; max-width: 44ch; }

/* ---------- page header ---------- */

.page-head { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--line); }
.page-head .display { font-size: clamp(2.9rem, 6.6vw, 6.2rem); max-width: 14ch; margin: 26px 0 24px; }
.page-head .lede { max-width: 60ch; }
.page-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }

/* ---------- filters ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 40px; }
.filter {
  border: 1px solid var(--line-strong);
  background: transparent;
  padding: 8px 13px;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter .count { opacity: .55; margin-left: 5px; }

/* ---------- project detail ---------- */

.case-head { padding-top: clamp(44px, 6vw, 76px); padding-bottom: clamp(34px, 4vw, 52px); }
.case-head .display { font-size: clamp(2.9rem, 6.4vw, 6rem); max-width: 15ch; margin: 24px 0 22px; }
.case-facts { display: flex; flex-wrap: wrap; gap: 12px 34px; padding-top: 22px; margin-top: 28px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.case-facts strong { color: var(--ink); font-weight: 500; }
.case-facts strong::after { content: ":"; }
.case-hero { margin: 0 0 clamp(40px, 6vw, 64px); }
.case-hero img { width: 100%; border: 1px solid var(--line); }
.case-hero figcaption { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-top: 10px; display: flex; justify-content: space-between; gap: 16px; }

.case-body { display: grid; grid-template-columns: minmax(0, .32fr) minmax(0, .68fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.case-aside { position: sticky; top: 104px; }
.case-aside .block + .block { margin-top: 26px; }
.case-aside h4 { font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.case-aside p, .case-aside li { font-size: 13px; line-height: 1.55; color: var(--muted); }
.case-aside li + li { margin-top: 6px; }
.case-aside a { border-bottom: 1px solid var(--line-strong); }
.case-aside a:hover { color: var(--oxide); border-color: var(--oxide); }

.prose { max-width: 70ch; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.02; letter-spacing: -.015em; margin-top: 52px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.05rem; font-weight: 700; margin-top: 34px; letter-spacing: -.01em; }
.prose p { font-size: 16.5px; line-height: 1.68; color: var(--ink-2); }
.prose ul, .prose ol { display: grid; gap: 9px; padding-left: 0; }
.prose li { font-size: 16px; line-height: 1.6; color: var(--ink-2); padding-left: 20px; position: relative; }
.prose li::before { content: "—"; position: absolute; left: 0; color: var(--oxide); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; padding-left: 28px; }
.prose ol li::before { content: counter(n, decimal-leading-zero); font-family: var(--mono); font-size: 10px; color: var(--oxide); top: 5px; }
.prose blockquote {
  border-left: 2px solid var(--oxide);
  padding-left: 22px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.14;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-block: 30px;
}
.prose strong { font-weight: 650; color: var(--ink); }
.prose a { border-bottom: 1px solid var(--line-strong); }
.prose a:hover { color: var(--oxide); border-color: var(--oxide); }
.prose .callout {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 20px 22px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}
.prose .callout strong { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--oxide); margin-bottom: 8px; }

.data-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 8px; }
.data-table th, .data-table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-weight: 500; }
.data-table td:last-child, .data-table th:last-child { text-align: right; padding-right: 0; font-family: var(--mono); font-size: 11px; }
.data-table tr:hover td { background: color-mix(in srgb, var(--paper-2) 40%, transparent); }

.case-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: clamp(52px, 8vw, 96px); padding-top: 24px; border-top: 1px solid var(--line-strong); }
.case-nav a { max-width: 45%; }
.case-nav .lbl { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); display: block; margin-bottom: 6px; }
.case-nav .ttl { font-family: var(--serif); font-size: 1.45rem; line-height: 1.05; }
.case-nav a:hover .ttl { color: var(--oxide); }
.case-nav .next { text-align: right; margin-left: auto; }

/* ---------- label page ---------- */

.label-hero { padding-block: clamp(52px, 8vw, 100px); border-bottom: 1px solid var(--line); }
.label-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.label-hero .display { margin: 26px 0 24px; }
.label-hero .lede { max-width: 54ch; }
.label-hero .note { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 10px; line-height: 1.7; color: var(--faint); max-width: 46ch; }

.label-card {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(24px, 3.4vw, 38px);
  position: relative;
  border-radius: 2px;
  box-shadow: 0 40px 90px rgba(22,21,18,.22);
  overflow: hidden;
}
.label-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 300px at 80% 0%, rgba(192,68,31,.28), transparent 70%);
  pointer-events: none;
}
.label-card > * { position: relative; z-index: 1; }
.label-card .lc-top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; color: #a69b88; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.16); }
.label-card .lc-kicker { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: 40px; }
.label-card .lc-title { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: .92; letter-spacing: -.025em; margin: 12px 0 14px; }
.label-card .lc-title em { font-style: italic; color: var(--gold); }
.label-card .lc-sub { font-size: 12px; color: #a69b88; line-height: 1.55; max-width: 32ch; }
.label-card .lc-foot { display: flex; justify-content: space-between; gap: 18px; align-items: flex-end; margin-top: 40px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.16); font-family: var(--mono); font-size: 8px; letter-spacing: .11em; text-transform: uppercase; color: #8f8574; }
.label-card .lc-foot strong { color: var(--paper); display: block; font-size: 10px; letter-spacing: .06em; margin-top: 3px; }

.definition {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  line-height: 1.18;
  letter-spacing: -.01em;
  max-width: 30ch;
}
.definition em { font-style: italic; color: var(--oxide); }

.evidence-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.evidence-table th { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-weight: 500; text-align: left; padding: 0 12px 10px 0; border-bottom: 1px solid var(--line-strong); }
.evidence-table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.evidence-table td:first-child { font-weight: 600; width: 24%; }
.evidence-table td:last-child { width: 16%; font-family: var(--mono); font-size: 10px; }
.evidence-table a { border-bottom: 1px solid var(--line-strong); }
.evidence-table a:hover { color: var(--oxide); border-color: var(--oxide); }
.evidence-table .level { display: inline-block; font-family: var(--mono); font-size: 8.5px; letter-spacing: .07em; text-transform: uppercase; padding: 3px 6px; border: 1px solid var(--line-strong); border-radius: 2px; }
.level.shipped { color: var(--moss); border-color: #9caf9e; background: #e5eadf; }
.level.working { color: #7a5a17; border-color: #d6bd88; background: #f1e6cc; }
.level.learning { color: var(--muted); }

.boundaries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 36px; border-top: 1px solid var(--line-strong); margin-top: 12px; }
.boundary { padding: 18px 0; border-bottom: 1px solid var(--line); }
.boundary h4 { font-size: 14px; margin-bottom: 5px; }
.boundary p { font-size: 13px; color: var(--muted); line-height: 1.55; }

.snippet {
  background: var(--ink);
  color: #d8cfbf;
  padding: 18px 20px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  border-radius: 2px;
  position: relative;
  overflow-x: auto;
}
.snippet .copy {
  position: absolute;
  right: 8px;
  top: 8px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
  color: #d8cfbf;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 8px;
  cursor: pointer;
  border-radius: 2px;
}
.snippet .copy:hover { background: var(--oxide); border-color: var(--oxide); color: white; }

.badge-preview { background: var(--paper-2); border: 1px solid var(--line); padding: 28px; display: grid; place-items: center; }

/* ---------- writing detail ---------- */

.article-head { padding-top: clamp(44px, 6vw, 76px); padding-bottom: 32px; }
.article-head .display { font-size: clamp(2.5rem, 5.4vw, 5rem); max-width: 18ch; margin: 24px 0 20px; }
.article-head .lede { margin-bottom: 24px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px 26px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.article-body { max-width: 72ch; margin-inline: auto; padding-bottom: clamp(56px, 8vw, 96px); }
.article-body .prose { max-width: none; }
.article-body .prose p:first-of-type::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 4.2em;
  line-height: .8;
  padding: 6px 10px 0 0;
  color: var(--oxide);
}

/* ---------- essays ---------- */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  margin-block: 34px;
}
.stat { padding: 18px 16px 18px 0; min-width: 0; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 18px; }
.stat .v {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.9vw, 2.5rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
}
.stat .v small { font-size: .48em; }
.stat .k {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--faint);
}

.prose code {
  font-family: var(--mono);
  font-size: .84em;
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 1px 5px;
  border-radius: 2px;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.prose pre.code {
  background: #1b1a16;
  color: #ded5c4;
  padding: 20px 22px;
  overflow-x: auto;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  border: 1px solid #2d2b25;
}
.prose pre.code code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.table-wrap { overflow-x: auto; }
.prose .table-wrap { margin-block: 6px; }
.prose table.data-table { min-width: 440px; }
.prose table.data-table td:last-child, .prose table.data-table th:last-child { white-space: nowrap; }

.article-foot {
  margin-top: clamp(48px, 7vw, 76px);
  padding-top: 26px;
  border-top: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr);
  gap: clamp(28px, 5vw, 64px);
}
.source-note strong, .article-next .lbl {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--oxide);
  margin-bottom: 10px;
}
.source-note p { font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 56ch; }
.article-next { text-align: right; }
.article-next a {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.1;
  border-bottom: 1px solid var(--line-strong);
}
.article-next a:hover { color: var(--oxide); border-color: var(--oxide); }
.article-next a svg { width: 15px; height: 15px; }

/* ---------- case plate (no screenshot) ---------- */

.case-plate {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  min-height: clamp(240px, 34vw, 380px);
  padding: clamp(24px, 4vw, 46px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.case-plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 380px at 85% 10%, rgba(192,68,31,.3), transparent 68%);
  pointer-events: none;
}
.case-plate .cp-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #a69b88;
  position: relative;
  z-index: 1;
}
.case-plate .cp-title {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6.6vw, 5.6rem);
  line-height: .9;
  letter-spacing: -.025em;
  margin-top: 40px;
}
.case-plate .cp-title em { font-style: italic; color: var(--gold); }
.case-plate .cp-mark {
  position: absolute;
  right: 18px;
  bottom: -14px;
  font-family: var(--serif);
  font-size: clamp(120px, 22vw, 260px);
  line-height: 1;
  color: rgba(255,255,255,.07);
  z-index: 0;
  pointer-events: none;
}


/* ---------- 404 ---------- */

.notfound { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.notfound .display { font-size: clamp(3rem, 8vw, 7rem); margin-bottom: 20px; }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .nav-links { gap: 18px; }
  .nav-cta { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); }
  .card { grid-column: span 6; }
  .card.wide { grid-column: span 6; }
  .receipt-grid { grid-template-columns: repeat(2, 1fr); }
  .receipt:nth-child(2) { border-right: 0; }
  .receipt:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .receipt:nth-child(3) { padding-left: 0; }
  .receipt:nth-child(3), .receipt:nth-child(4) { padding-top: 24px; }
  .caps-grid { grid-template-columns: repeat(2, 1fr); }
  .cap:nth-child(2) { border-right: 0; }
  .cap:nth-child(n+3) { border-top: 1px solid var(--line); padding-top: 26px; }
  .cap:nth-child(3) { padding-left: 0; }
  .cap.sep { border-right: 1px solid var(--line); }
  .label-grid { grid-template-columns: 1fr; }
  .label-band .h2 { max-width: 18ch; }
  .case-body { grid-template-columns: 1fr; }
  .case-aside { position: static; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
  .case-aside .block + .block { margin-top: 0; }
}

@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: grid; }
  .nav { height: 66px; }
  .nav-links.open {
    display: flex;
    position: fixed;
    inset: 66px 0 auto 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 18px var(--gutter) 28px;
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 24px 60px rgba(0,0,0,.12);
  }
  .nav-links.open a { font-size: 18px; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links.open a::after { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 15ch; }
  .hero-figure { min-height: 340px; max-height: 460px; }
  .hero .lede { font-size: 1.05rem; }
  .intro-grid { grid-template-columns: 1fr; }
  .section-top { flex-direction: column; align-items: flex-start; }
  .section-top .h2 { max-width: 100%; }
  .layers .layer { grid-template-columns: 44px 1fr; gap: 6px 14px; }
  .layer-desc { grid-column: 2; }
  .layer-proof { grid-column: 2; }
  .receipts-head { flex-direction: column; align-items: flex-start; }
  .card, .card.wide, .card.half { grid-column: span 12; }
  .index-row { grid-template-columns: 52px 1fr 70px; }
  .index-row .ds { grid-column: 2 / 4; }
  .write-row { grid-template-columns: 1fr 34px; gap: 8px 16px; }
  .write-row .date, .write-row .kind { grid-column: 1; }
  .write-row h3 { grid-column: 1; }
  .write-row .go { grid-column: 2; grid-row: 1 / 4; }
  .services { grid-template-columns: 1fr; }
  .service { border-right: 0; border-bottom: 1px solid var(--line); padding: 26px 0 !important; }
  .service:last-child { border-bottom: 0; }
  .principles { grid-template-columns: 1fr; }
  .tl-row { grid-template-columns: 80px 1fr; }
  .tl-row .note { grid-column: 2; }
  .boundaries { grid-template-columns: 1fr; }
  .label-hero-grid { grid-template-columns: 1fr; }
  .case-aside { grid-template-columns: 1fr 1fr; }
  .evidence-table thead { display: none; }
  .evidence-table tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .evidence-table td { display: block; border: 0; padding: 0; width: auto; }
  .evidence-table td:first-child { font-size: 15px; margin-bottom: 4px; width: auto; }
  .evidence-table td + td { margin-top: 4px; color: var(--muted); }
  .evidence-table td:last-child { text-align: left; width: auto; }
  .evidence-table td:last-child .level { display: inline-block; margin-top: 4px; }
  .data-table { font-size: 12px; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .article-foot { grid-template-columns: 1fr; }
  .article-next { text-align: left; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions { align-items: stretch; }
  .hero-foot { gap: 10px 18px; }
  .receipt-grid { grid-template-columns: 1fr; }
  .receipt, .receipt + .receipt { border-right: 0; padding: 20px 0 !important; border-top: 1px solid rgba(255,255,255,.12); }
  .receipt:first-child { border-top: 0; padding-top: 0 !important; }
  .receipt .what { max-width: none; }
  .caps-grid { grid-template-columns: 1fr; }
  .cap, .cap + .cap { border-right: 0; padding: 22px 0 !important; border-top: 1px solid var(--line); }
  .cap:first-child { border-top: 0; padding-top: 0 !important; }
  .case-aside { grid-template-columns: 1fr; }
  .case-nav { flex-direction: column; }
  .case-nav a, .case-nav .next { max-width: 100%; text-align: left; margin-left: 0; }
  .label-card .lc-title { font-size: 2.2rem; }
  .card-media .kind { font-size: 8px; }
  .index-row { grid-template-columns: 46px 1fr; }
  .index-row .ty { display: none; }
  .index-row .ds { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .contact, .filters, .menu-btn { display: none !important; }
  body { background: white; color: black; }
  .receipts, .label-band { background: white; color: black; }
}

/* ==========================================================================
   2026 refresh — plainer, warmer, made for people who don't live in code.
   Appended after the original layer so it wins on equal specificity.
   ========================================================================== */

:root {
  --paper: #f5f1e8;
  --paper-2: #ece6d9;
  --paper-3: #e3dbc9;
  --ink: #171512;
  --ink-2: #322f29;
  --muted: #6b6458;
  --faint: #9a9284;
  --line: #ded5c3;
  --line-strong: #c8bda7;
  --white: #fdfbf5;
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --shadow-sm: 0 1px 2px rgba(23, 21, 18, .05), 0 10px 28px -18px rgba(23, 21, 18, .28);
  --shadow: 0 2px 4px rgba(23, 21, 18, .04), 0 26px 60px -28px rgba(23, 21, 18, .32);
}

body { font-size: 17.5px; line-height: 1.65; }
body::before { opacity: .022; }
::selection { background: var(--oxide); }

/* ---------- type ---------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--oxide);
}
.kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.kicker-sep { color: var(--faint); }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .13em;
  color: var(--oxide);
  gap: 9px;
}
.eyebrow::before { width: 6px; height: 6px; border-radius: 50%; background: var(--oxide); }

.display {
  font-size: clamp(2.9rem, 6.5vw, 6.3rem);
  line-height: .95;
  letter-spacing: -.03em;
}
.h2 {
  font-size: clamp(2.15rem, 4.1vw, 3.55rem);
  line-height: 1.02;
  letter-spacing: -.025em;
}
.display em, .h2 em, .h3 em { color: var(--oxide); }

.lede {
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  line-height: 1.6;
  max-width: 56ch;
}
.sec-sub {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 44ch;
}
.sec-head { max-width: 56ch; margin-bottom: clamp(30px, 4vw, 48px); }
.sec-head .h2 { margin: 14px 0 16px; max-width: 18ch; }
.sec-head.split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.sec-head.split > div { max-width: 32ch; }
.sec-head.split .h2 { margin-bottom: 0; }
.sec-head.split .sec-sub { max-width: 38ch; padding-bottom: 4px; }

.section { padding-block: clamp(64px, 8vw, 108px); }
.section.tight { padding-block: clamp(52px, 6vw, 78px); }

/* ---------- header ---------- */

.site-header {
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav { height: 84px; gap: 20px; }
.brand { gap: 11px; }
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  font-size: 20px;
  background: var(--ink);
  box-shadow: 0 6px 14px -8px rgba(23, 21, 18, .5);
}
.brand-name { font-size: 14.5px; font-weight: 650; }
.brand-name span {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--faint);
  font-weight: 500;
}
.nav-links { gap: clamp(16px, 2vw, 30px); }
.nav-links a { font-size: 13.5px; font-weight: 550; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a::after { background: var(--oxide); height: 1.5px; }
.nav-tools { display: flex; align-items: center; gap: 16px; flex: none; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--faint);
}
.lang-switch a { padding: 4px 2px; color: var(--faint); }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.on { color: var(--ink); }
.lang-switch a.on::after { content: ""; display: block; height: 1px; background: var(--oxide); margin-top: 2px; }
.nav-cta {
  border-radius: 999px;
  padding: 11px 19px;
  border-color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--oxide); border-color: var(--oxide); }
.menu-btn { border-radius: 12px; border-color: var(--line-strong); }

/* ---------- buttons ---------- */

.btn {
  border-radius: 999px;
  padding: 15px 24px;
  min-height: 50px;
  font-size: 13.5px;
  background: var(--ink);
}
.btn.ghost { background: transparent; border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--ink); }
.btn.light { background: var(--white); color: var(--ink); border-color: var(--white); }
.arrow-link {
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: .02em;
  text-transform: none;
  font-weight: 600;
  border-bottom: 1px solid var(--line-strong);
}

/* ---------- hero ---------- */

.hero-home { padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(52px, 7vw, 92px); }
.hero-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
}
.hero-copy .display { max-width: 13ch; margin: 22px 0 24px; }
.hero-copy .lede { max-width: 50ch; }
.hero-sub {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 50ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.hero-trust li { display: flex; align-items: baseline; gap: 6px; }
.hero-trust li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--oxide); flex: none; transform: translateY(-2px); }
.hero-trust strong { color: var(--ink); font-weight: 650; }

.stage {
  position: relative;
  min-height: 560px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(200, 189, 167, .7);
  background:
    radial-gradient(90% 70% at 28% 6%, #fffaf0 0%, rgba(255, 250, 240, 0) 58%),
    radial-gradient(80% 80% at 82% 92%, #dcc6a5 0%, rgba(220, 198, 165, 0) 62%),
    linear-gradient(150deg, #f4ecdc 0%, #e8dcc6 52%, #dcc9ab 100%);
  box-shadow: var(--shadow);
}
.stage::after {
  content: "";
  position: absolute;
  inset: auto -20% -46% -20%;
  height: 62%;
  background: radial-gradient(closest-side, rgba(90, 66, 40, .22), rgba(90, 66, 40, 0));
  pointer-events: none;
}
.stage-inner { position: absolute; inset: 0; }
.stage-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage.is-3d .stage-fallback { opacity: 0; }
.stage.is-3d .stage-inner canvas { animation: stageIn .9s var(--ease) both; }
@keyframes stageIn { from { opacity: 0; } to { opacity: 1; } }
.stage-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 251, 242, .62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .55);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #5c5041;
}
.stage-note {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 10.5px;
  letter-spacing: .04em;
  color: #6d5f4b;
}
.stage-note span:last-child { opacity: .65; display: none; }
.stage.is-3d .stage-note span:last-child { display: inline; }

/* ---------- help cards ---------- */

.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.help-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 2.6vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.help-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.help-no {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 18px;
  color: var(--oxide);
  margin-bottom: 6px;
}
.help-card:nth-child(2) .help-no { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.help-card:nth-child(3) .help-no { background: var(--moss); color: #e9e2d2; border-color: var(--moss); }
.help-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2vw, 1.95rem);
  line-height: 1.06;
  letter-spacing: -.015em;
}
.help-card p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.help-out { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-2) !important; font-size: 13px !important; }
.help-out strong { color: var(--oxide); font-weight: 650; }

/* ---------- project cards ---------- */

.work-grid { gap: clamp(22px, 2.6vw, 36px) clamp(18px, 2.2vw, 30px); }
.card { grid-column: span 4; }
.card.wide { grid-column: span 6; }
.card-media {
  border: 0;
  border-radius: var(--r);
  background: var(--paper-2);
  box-shadow: 0 1px 0 rgba(23, 21, 18, .06);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover .card-media { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.card-media img { transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding-top: 17px; }
.card-meta {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 550;
  letter-spacing: .01em;
  text-transform: none;
  color: var(--faint);
  margin-bottom: 7px;
}
.card-title { font-size: clamp(1.45rem, 2vw, 1.8rem); }
.card-sum { font-size: 14px; line-height: 1.55; }
.card-proof {
  border-top: 1px dashed var(--line);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-2);
  padding-top: 10px;
}
.card-proof::before { content: "↳"; }
.card-media.cover { border-radius: var(--r); }
.cover-title { font-size: clamp(1.85rem, 3.1vw, 2.9rem); }

/* ---------- proof band ---------- */

.proof-band {
  position: relative;
  overflow: hidden;
  background: var(--moss);
  color: #f0eadc;
  padding-block: clamp(60px, 8vw, 98px);
}
.proof-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(680px 420px at 88% 0%, rgba(201, 154, 63, .16), transparent 66%),
    radial-gradient(600px 400px at 4% 100%, rgba(192, 68, 31, .18), transparent 64%);
  pointer-events: none;
}
.proof-band .wrap { position: relative; }
.proof-band .kicker { color: #d7c9a9; }
.proof-band .h2 { color: var(--paper); margin-top: 14px; max-width: 18ch; }
.proof-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(34px, 4vw, 52px);
}
.proof-head > p { max-width: 36ch; font-size: 14px; line-height: 1.6; color: #b9c2b2; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.proof-stat { padding: 26px 24px 0 0; border-right: 1px solid rgba(255, 255, 255, .12); }
.proof-stat + .proof-stat { padding-left: 24px; }
.proof-stat:last-child { border-right: 0; padding-right: 0; }
.proof-stat .num {
  font-family: var(--serif);
  font-size: clamp(2.7rem, 4.4vw, 3.9rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--paper);
  display: block;
  margin-bottom: 12px;
}
.proof-stat .num small { font-size: .42em; color: var(--gold); vertical-align: super; margin-left: 2px; }
.proof-stat p { font-size: 13px; line-height: 1.5; color: #c3cbbc; max-width: 24ch; }
.proof-stat .tag {
  display: block;
  margin-top: 16px;
  font-size: 10.5px;
  letter-spacing: .05em;
  color: #8e9c8a;
}

/* ---------- steps ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: none; }
.step {
  position: relative;
  padding: 26px 24px 28px;
  background: var(--paper-2);
  border-radius: var(--r);
  border: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.step:hover { background: var(--white); border-color: var(--line); }
.step-no {
  display: block;
  font-family: var(--serif);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--oxide);
  margin-bottom: 18px;
}
.step h3 { font-family: var(--serif); font-size: 1.6rem; line-height: 1; margin-bottom: 9px; }
.step p { font-size: 13.5px; line-height: 1.58; color: var(--muted); }

/* ---------- bio ---------- */

.bio-section { padding-top: 0; }
.bio-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.bio-figure { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #1a1714; min-height: 440px; }
.bio-figure img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.bio-figure figcaption {
  position: absolute;
  inset: auto 16px 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .24);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #d8cfbf;
}
.bio-copy .h2 { margin: 14px 0 20px; max-width: 17ch; }
.bio-copy p { font-size: 15.5px; line-height: 1.65; color: var(--muted); max-width: 54ch; }
.bio-copy p + p { margin-top: 14px; }
.bio-copy .pull { margin: 28px 0 24px; max-width: 24ch; color: var(--ink); }
.bio-copy .arrow-link { margin-top: 4px; display: inline-flex; }

/* ---------- writing ---------- */

.writing-section { border-top: 1px solid var(--line); }
.write-row { padding: 26px 0; }
.write-row h3 { font-size: clamp(1.35rem, 1.9vw, 1.8rem); }
.write-row .date { font-family: var(--sans); font-size: 11px; letter-spacing: .02em; }
.write-row .kind { font-size: 12.5px; }
.write-row .go { border-color: var(--line); }
.write-row:hover .go { background: var(--oxide); border-color: var(--oxide); }

/* ---------- services ---------- */

.services { gap: 16px; border-top: 0; }
.service {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  padding: 28px 26px 30px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.service + .service { padding-left: 26px; }
.service .n { font-family: var(--sans); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--oxide); margin-bottom: 18px; }
.service h3 { font-size: 1.9rem; }
.service p { font-size: 13.5px; }
.service .price { font-family: var(--serif); font-size: 1.7rem; margin: 20px 0 8px; }
.service .price span { font-family: var(--sans); font-size: 12px; }
.service .arrow-link { margin-top: 16px; }

/* ---------- index ---------- */

.index-section { border-top: 1px solid var(--line); }
.index-head h3 { font-family: var(--sans); letter-spacing: .08em; }
.index-list { border-top: 1px solid var(--line-strong); }
.index-row { padding: 16px 0; }
.index-row .nm { font-size: 14px; }
.index-row .ds { font-size: 12.5px; }
.section-cta { display: flex; justify-content: flex-end; margin-top: 34px; }

/* ---------- contact ---------- */

.contact { position: relative; overflow: hidden; }
.contact::after {
  content: "";
  position: absolute;
  width: 620px; height: 620px;
  right: -200px; top: -260px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 0 0 80px rgba(255, 255, 255, .04), 0 0 0 160px rgba(255, 255, 255, .025);
  pointer-events: none;
}
.contact .wrap { position: relative; z-index: 1; }
.contact .kicker { color: #f7d9cb; }
.contact .display { max-width: 17ch; margin: 22px 0 24px; font-size: clamp(2.5rem, 5.4vw, 5rem); }
.contact .display em { color: #f7d9a8; }
.contact .lede { color: #fbe9df; max-width: 50ch; margin-bottom: 30px; }
.contact .mail { font-size: clamp(1.4rem, 2.8vw, 2.2rem); }
.contact-meta { border-top-color: rgba(255, 255, 255, .28); }

/* ---------- footer ---------- */

.site-footer { padding-block: 56px 26px; background: #161512; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .55fr) minmax(0, .55fr); gap: 40px; align-items: start; }
.footer-brand { gap: 11px; }
.footer-brand .brand-mark { background: var(--paper); color: var(--ink); border-radius: 10px; }
.footer-brand .brand-name { font-size: 15px; font-weight: 650; color: #e7e0d2 !important; }
.footer-note { font-size: 13px; line-height: 1.65; color: #9b9385; max-width: 42ch; margin-top: 16px; }
.footer-mail { display: inline-block; margin-top: 16px; font-family: var(--serif); font-size: 1.3rem; color: #e7e0d2; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.footer-mail:hover { color: #fff; border-color: #fff; }
.footer-col { display: flex; flex-direction: column; gap: 9px; font-size: 13px; color: #9b9385; }
.footer-col h4 { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #6f685c; margin-bottom: 4px; }
.footer-col a:hover { color: #f0eadc; }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 10.5px;
  letter-spacing: .03em;
  color: #7f7768;
}

/* ---------- page headers ---------- */

.page-head { padding-top: clamp(42px, 6vw, 76px); padding-bottom: clamp(32px, 4vw, 52px); border-bottom: 1px solid var(--line); }
.page-head .display { font-size: clamp(2.6rem, 5.6vw, 5.2rem); max-width: 16ch; margin: 20px 0 20px; }
.page-head .lede { max-width: 56ch; }
.page-meta {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .03em;
  text-transform: none;
  color: var(--faint);
  gap: 10px 24px;
  margin-top: 24px;
}
.page-meta span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); margin-right: 8px; vertical-align: 2px; }

/* ---------- filters ---------- */

.filters { gap: 7px; margin: 28px 0 36px; }
.filter {
  border-radius: 999px;
  padding: 8px 15px;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: .01em;
  text-transform: none;
  font-weight: 550;
  border-color: var(--line);
  color: var(--muted);
  background: var(--white);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* ---------- case study summary ---------- */

.case-head .display { font-size: clamp(2.6rem, 5.4vw, 5.2rem); max-width: 16ch; }
.case-facts {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .02em;
  text-transform: none;
  gap: 10px 26px;
  color: var(--faint);
}
.case-facts strong { color: var(--ink-2); font-weight: 600; }
.case-facts strong::after { content: ""; }
.case-hero img { border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.case-hero figcaption { font-family: var(--sans); font-size: 10px; letter-spacing: .04em; }
.case-summary { padding-bottom: clamp(28px, 4vw, 44px); }
.case-summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.summary-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 24px;
}
.summary-card h4 {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--oxide);
  margin-bottom: 10px;
}
.summary-card p, .summary-card li { font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.summary-card li { padding-left: 14px; position: relative; }
.summary-card li + li { margin-top: 4px; }
.summary-card li::before { content: "·"; position: absolute; left: 0; color: var(--oxide); }
.summary-card p + p { margin-top: 6px; }
.summary-card a { border-bottom: 1px solid var(--line-strong); }
.case-body { display: block; max-width: 72ch; margin-inline: auto; }
.case-body .prose { max-width: none; }
.case-aside { display: none; }
.case-nav { border-top-color: var(--line); }

/* ---------- prose ---------- */

.prose h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); margin-top: 48px; }
.prose p { font-size: 17px; line-height: 1.72; }
.prose li { font-size: 16.5px; line-height: 1.65; }
.prose .callout { border-radius: var(--r); border-color: var(--line); background: var(--paper-2); }
.prose .callout strong { font-family: var(--sans); font-size: 10px; letter-spacing: .09em; }
.prose code { border-radius: 5px; }

/* ---------- article summary ---------- */

.in-short {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 26px;
  margin-bottom: 34px;
}
.in-short h4 {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--oxide);
  margin-bottom: 12px;
}
.in-short ul { display: grid; gap: 8px; }
.in-short li { font-size: 15px; line-height: 1.6; color: var(--ink-2); padding-left: 18px; position: relative; }
.in-short li::before { content: "—"; position: absolute; left: 0; color: var(--oxide); }
.in-short p { font-size: 15px; }

/* ---------- disclosure ---------- */

.deep {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.deep summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.deep summary::-webkit-details-marker { display: none; }
.deep summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  color: var(--oxide);
  flex: none;
}
.deep[open] summary::after { content: "–"; }
.deep[open] summary { color: var(--oxide); }
.deep .deep-body { padding: 2px 0 20px; }

/* ---------- misc ---------- */

.label-band, .label-card, .case-plate, .credential { border-radius: var(--r-lg); }
.label-band { border-radius: 0; }
.receipts { border-radius: 0; }
.snippet, .badge-preview { border-radius: var(--r); }
.badge-preview { border-color: var(--line); }
.evidence-table { font-size: 13px; }
.data-table { font-size: 13.5px; }
.level { border-radius: 999px; }
.principles { border-top-color: var(--line); }
.layer { grid-template-columns: 64px minmax(130px, .7fr) minmax(0, 1.6fr) minmax(0, .9fr); }
.principle .n, .layer-no { font-family: var(--sans); font-weight: 600; }

/* ---------- responsive ---------- */

@media (max-width: 1120px) {
  .nav-cta { display: none; }
  .hero-home-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .stage { min-height: 500px; }
  .help-grid { grid-template-columns: repeat(3, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-stat { padding-bottom: 26px; }
  .proof-stat:nth-child(2) { border-right: 0; }
  .proof-stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 24px; }
  .proof-stat:nth-child(3) { padding-left: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .card { grid-column: span 6; }
  .card.wide { grid-column: span 6; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: grid; }
  .nav { height: 70px; }
  .nav-links.open {
    display: flex;
    position: fixed;
    inset: 70px 0 auto 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px var(--gutter) 26px;
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .12);
  }
  .nav-links.open a { font-size: 18px; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav-links.open a::after { display: none; }
  .hero-home { padding-top: 26px; }
  .hero-home-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy .display { max-width: 15ch; }
  .hero-copy .lede, .hero-sub { max-width: 54ch; }
  .stage { min-height: 440px; }
  .help-grid { grid-template-columns: 1fr; gap: 14px; }
  .help-card { padding: 24px; }
  .sec-head.split { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sec-head.split .h2 { max-width: 20ch; }
  .sec-head.split .sec-sub { max-width: 46ch; }
  .proof-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .proof-head > p { max-width: 48ch; }
  .bio-grid { grid-template-columns: 1fr; gap: 30px; }
  .bio-figure { min-height: 340px; }
  .bio-copy .h2 { max-width: 22ch; }
  .services { grid-template-columns: 1fr; }
  .service, .service + .service { padding: 24px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
  .case-summary-grid { grid-template-columns: 1fr; }
  .case-body { max-width: none; }
  .article-body { padding-inline: var(--gutter); }
}

@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .nav { height: 64px; }
  .brand-name span { display: none; }
  .nav-links.open { inset: 64px 0 auto 0; }
  .lang-switch { font-size: 10px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: 9px 18px; margin-top: 30px; }
  .hero-trust li { width: 100%; }
  .stage { min-height: 360px; border-radius: var(--r-lg); }
  .stage-note span:last-child { display: none; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-stat, .proof-stat + .proof-stat { border-right: 0; padding: 22px 0 !important; border-top: 1px solid rgba(255, 255, 255, .12); }
  .proof-stat:first-child { border-top: 0; padding-top: 0 !important; }
  .proof-stat p { max-width: none; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 22px; }
  .step-no { font-size: 2.2rem; margin-bottom: 12px; }
  .card, .card.wide { grid-column: span 12; }
  .write-row { padding: 22px 0; }
  .services { gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-base { flex-direction: column; gap: 8px; }
  .contact .display { font-size: clamp(2.3rem, 9vw, 3.2rem); }
  .page-head .display, .case-head .display { font-size: clamp(2.4rem, 9.5vw, 3.4rem); }
  .filters { gap: 6px; }
  .filter { padding: 7px 12px; font-size: 11px; }
  .in-short { padding: 20px; }
  .article-body .prose p:first-of-type::first-letter { font-size: 3.6em; }
  .prose p { font-size: 16.5px; }
}

/* small additions for the refreshed case layout */
.case-head-action { margin-top: 18px; }
.case-head-action .btn { min-height: 40px; padding: 9px 16px; font-size: 11.5px; }
.case-summary .summary-card a { color: var(--ink-2); }
.case-summary .summary-card a:hover { color: var(--oxide); border-color: var(--oxide); }
.service .price { color: var(--ink); }

/* case study: keep the screenshot as evidence, not the whole screen */
.case-head .display { font-size: clamp(2.35rem, 4.6vw, 4.35rem); max-width: 19ch; line-height: 1.0; }
.case-hero img { max-height: 540px; object-fit: cover; object-position: top center; }
.case-summary { padding-top: 4px; }
.case-summary-grid { align-items: stretch; }
@media (max-width: 600px) {
  .case-hero img { max-height: 300px; }
}

/* clearer reading: no decorative drop cap */
.article-body .prose p:first-of-type::first-letter {
  float: none;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  padding: 0;
}

/* callout labels read better on their own line */
.callout strong {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--oxide);
  margin-bottom: 7px;
}

/* Sky & watercolor — November 2026 */
:root {
 --paper:#eff8ff; --paper-2:#e0f1fc; --paper-3:#cbe7f8;
 --ink:#16344d; --ink-2:#294d69; --muted:#4c6b81; --faint:#607c90;
 --line:#c9e0ee; --line-strong:#8dbdd9; --white:#fbfdff;
 --oxide:#1977b1; --oxide-2:#115b8b; --moss:#194d72; --gold:#86cbed;
 --shadow-sm:0 8px 28px -16px #327da535; --shadow:0 22px 60px -30px #327da544;
}
body {background:var(--paper)}
.site-header {background:rgba(239,248,255,.96);border-color:var(--line)}
.hero-home {background:linear-gradient(135deg,#f6fbff,#e0f2ff)}
.stage {background:radial-gradient(ellipse at 50% 48%,#d4edfb,transparent 70%);border:0;box-shadow:none;overflow:visible}
.stage::after {display:none}
.stage-inner {inset:28px 0 48px}
.stage-fallback {object-fit:contain}
.stage-badge {background:#f6fbff;color:var(--oxide-2);border-color:var(--line)}
.stage-note {color:var(--muted)}
.help-card,.service {background:var(--white);border-color:var(--line)}
.card-illustration {display:block;width:100%;height:180px;object-fit:contain;margin:0 auto 24px}
.card-media,.card-media.cover {position:relative;display:flex;align-items:center;justify-content:center;background:#e0f1fc !important;color:var(--ink);padding:20px 20px 46px;overflow:hidden}
.card-media img.project-illustration {width:100%;height:100%;object-fit:contain;max-height:290px;mix-blend-mode:normal}
.illustration-label {position:absolute;left:24px;bottom:18px;font:500 12px var(--mono);color:var(--oxide-2)}
.proof-band {background:#194d72;color:#eff8ff}
.proof-band::before {background:radial-gradient(ellipse at top right,#2c7295,transparent 65%)}
.proof-band .kicker,.proof-stat .tag {color:#b7def5}
.proof-head > p,.proof-stat p {color:#d5eaf8}
.bio-figure {background:#deeffa;border:1px solid var(--line)}
.bio-figure img {object-fit:contain;padding:24px 10px 52px}
.bio-figure figcaption {color:var(--muted)}
.contact {background:#bfe5fb;color:var(--ink)}
.contact .kicker,.contact .display em,.contact .lede {color:var(--ink-2)}
.contact .mail {color:var(--ink)}
.contact::after {border-color:#92cbee;opacity:.4}
.contact-meta {border-color:#89bdd9}
.btn.light {background:#fff;color:var(--oxide-2)}
.site-footer {background:#14374f}
.footer-brand .brand-name,.footer-mail {color:#e6f5ff !important}
.footer-note,.footer-col,.footer-base {color:#b1ccdf}
.footer-col h4 {color:#88b8d6}
@media(max-width:640px){
 .stage {min-height:360px}
 .card-illustration {height:150px}
 .card-media img.project-illustration {max-height:240px}
}
.contact-meta {color:var(--ink-2)}
.contact .btn.light:hover {background:var(--ink);color:var(--white)}
.bio-figure figcaption {background:linear-gradient(transparent,#deeffa 45%)}
.receipts,.label-band {background:#194d72;color:#eff8ff}
.receipts .eyebrow,.receipts-head p,.receipt .what,.label-band p,.label-band .eyebrow {color:#c5e2f4}

/* Original brand marks retain their own colours and proportions. */
.brand-logos {display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.brand-logo {display:inline-flex;align-items:center;justify-content:center;width:116px;height:64px;padding:10px 12px;background:#fff;border:1px solid var(--line);border-radius:12px;flex:none}
.brand-logo img {display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:normal}
.card-logos {margin:0 0 18px}
.card-logos .brand-logo {width:112px;height:58px}
.timeline-logos {margin:0 0 14px}
.timeline-logos .brand-logo {width:132px;height:64px}
.section-logos {margin-bottom:26px}
.section-logos .brand-logo {width:152px;height:76px}
.experience-logos {margin-bottom:30px;gap:8px}
.experience-logos .brand-logo {width:86px;height:58px;padding:8px}
@media(max-width:640px){.experience-logos .brand-logo {width:76px;height:52px}.brand-logo{width:104px;height:58px}.section-logos .brand-logo{width:128px;height:68px}}

/* The six selected projects use their brand identity as the main cover. */
.card-media.logo-media {flex-direction:column;gap:26px;padding:36px;background:#fff !important;min-height:260px}
.logo-media .cover-logos {width:100%;height:180px;justify-content:center}
.logo-media .brand-logo {width:min(72%,300px);height:180px;border:0;border-radius:0;padding:12px;background:transparent}
.logo-media .brand-logo img {width:100%;height:100%;object-fit:contain;image-rendering:auto}
.logo-cover-caption {font:500 11px var(--mono);letter-spacing:.06em;color:var(--muted);text-align:center}
.project-wordmark {font:650 clamp(2.2rem,5vw,3.6rem) var(--sans);letter-spacing:-.055em;color:var(--ink)}
@media(max-width:640px){.card-media.logo-media{min-height:240px;padding:28px;gap:18px}.logo-media .cover-logos,.logo-media .brand-logo{height:150px}}
/* Preserve the coffee badge's solid green disc behind its transparent artwork. */
.brand-logo img[src*="bogorpunya-hd"] {width:auto;max-width:100%;height:100%;aspect-ratio:1;background:#0d4a2b;border-radius:50%}

/* Work catalogue: category groups with compact brand covers. */
.work-category {margin-top:56px}
.work-category[hidden] {display:none !important}
.work-category-head {display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:0 0 24px;margin-bottom:28px;border-bottom:1px solid var(--line)}
.work-category-head .h2 {font-size:clamp(2rem,4vw,3.2rem);margin:0 0 10px}
.work-category-head p {max-width:68ch;color:var(--muted);font-size:14px;line-height:1.65}
.category-total {font:500 11px var(--mono);color:var(--muted);white-space:nowrap;padding-top:12px}
.work-category-filters {gap:10px}
.work-category-filters .filter {display:inline-flex;align-items:center;gap:10px}
.work-category-filters .filter span {font-size:10px;opacity:.75}
.work-results {font:400 12px var(--mono);color:var(--muted);margin-top:18px}
.work-category .card-media.logo-media {min-height:210px;padding:24px;gap:14px;aspect-ratio:3/2}
.work-category .logo-media .cover-logos,.work-category .logo-media .brand-logo {height:126px}
.work-category .logo-media .brand-logo {width:min(80%,220px);padding:6px}
.work-category .project-wordmark {font-size:clamp(1.4rem,2.5vw,2.3rem);line-height:1.15;text-align:center;overflow-wrap:anywhere;max-width:100%}
.work-category .logo-cover-caption {max-width:100%;overflow-wrap:anywhere}
@media(max-width:640px){.work-category-head{gap:14px}.work-category{margin-top:40px}.work-category .card-media.logo-media{min-height:200px}.work-category-filters .filter{padding:10px 14px}}

/* Personalized fine-art watercolor scenes. */
.card-illustration {height:190px;object-fit:contain;object-position:center;margin-bottom:24px}
.bio-figure {background:linear-gradient(145deg,#f3faff,#deeffa)}
.bio-figure img {padding:20px 14px 54px}
.stage-fallback {object-position:center}
@media(max-width:640px){.card-illustration{height:170px}.bio-figure{min-height:390px}}

/* Editorial watercolor: a dedicated art panel with one focal metaphor. */
.editorial-art {position:relative;isolation:isolate;aspect-ratio:4/3;margin:-8px -8px 26px;overflow:hidden;border-radius:20px;background:radial-gradient(ellipse at 72% 18%,#fbfdff 0%,#e7f3fc 60%,#daeafa 100%);border:1px solid #d4e7f5}
.editorial-art .card-illustration {position:absolute;inset:0;width:100%;height:100%;margin:0;padding:14px;object-fit:contain;transition:transform .55s var(--ease);filter:drop-shadow(0 10px 12px #1a527914)}
.art-verification {background:radial-gradient(ellipse at 25% 20%,#fff 0%,#e9f4fa 65%,#dbeef5 100%)}
.art-sprint {background:radial-gradient(ellipse at 70% 15%,#fffdf8 0%,#ebf5fc 60%,#daeafa 100%)}
.help-card:hover .editorial-art img,.service:hover .editorial-art img {transform:translateY(-3px) scale(1.025)}
@media(max-width:640px){.editorial-art{margin:-4px -4px 22px;border-radius:16px;aspect-ratio:4/3}.editorial-art .card-illustration{height:100%;padding:12px}}
@media(prefers-reduced-motion:reduce){.editorial-art .card-illustration{transition:none}.help-card:hover .editorial-art img,.service:hover .editorial-art img{transform:none}}

/* Permanent DB identity: use the same outlined SVG in every brand placement. */
.brand .brand-mark,.footer-brand .brand-mark {display:block;flex:none;padding:0;background:none;color:inherit;object-fit:contain;border-radius:0}

/* Reels: videos made by the content system */
.reel-row{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(14px,2vw,26px)}
.reel{margin:0}
.reel video{display:block;width:100%;aspect-ratio:9/16;object-fit:cover;background:var(--ink);border-radius:14px;border:1px solid var(--line)}
.reel figcaption{display:flex;justify-content:space-between;gap:8px;margin-top:10px;font-size:.88rem}
.reel figcaption span{font-family:var(--mono);font-size:.74rem;color:var(--muted)}
@media(max-width:900px){.reel-row{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;padding-bottom:6px;margin-right:calc(var(--gutter) * -1);padding-right:var(--gutter)}.reel{flex:0 0 62%;max-width:280px;scroll-snap-align:start}}
