/* ---------- tokens ---------- */
:root {
  --paper: #fbfcff;
  --grid-minor: rgba(43, 76, 255, 0.07);
  --grid-major: rgba(43, 76, 255, 0.14);
  --ink: #11131f;
  --ink-2: #474b5e;
  --ink-3: #7a7f94;
  --cobalt: #2b4cff;
  --pink: #ff4fa3;
  --sun: #ffd23f;
  --sun-soft: #fff1b0;
  --navy: #141a6b;
  --line: #11131f;
  --radius: 14px;
  --shadow: 6px 6px 0 var(--ink);
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font: 400 17px/1.65 var(--body);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--sun); color: var(--ink); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }

/* ---------- type ---------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 7.2vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; line-height: 1.15; }
p { margin: 0 0 1em; }

.label {
  font: 500 0.75rem/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cobalt);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.label::before {
  content: "";
  width: 22px; height: 2px; background: currentColor;
}

.lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--ink-2); max-width: 40ch; }

/* highlighter swipe */
.hl {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}
.hl::after {
  content: "";
  position: absolute;
  left: -0.08em; right: -0.08em;
  bottom: 0.06em; height: 0.42em;
  background: var(--sun);
  z-index: -1;
  border-radius: 3px;
  transform: skew(-8deg) scaleX(var(--hl, 1));
  transform-origin: left;
}
.hl.pink::after { background: var(--pink); opacity: 0.55; }
.hl.blue { color: var(--cobalt); }
.hl.blue::after { background: rgba(43, 76, 255, 0.16); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(251, 252, 255, 0.82);
  border-bottom: 1.5px solid var(--line);
}
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 64px;
}
.logo {
  font: 800 1.15rem/1 var(--display);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: inline-flex; align-items: center; gap: 2px;
}
.logo b { color: var(--cobalt); }
.logo .caret {
  width: 0.55em; height: 1.05em; background: var(--pink);
  margin-left: 3px; display: inline-block;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a.link {
  font: 500 0.85rem/1 var(--mono);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: border-color .2s, background .2s;
}
.nav a.link:hover { border-color: var(--ink); }
.nav a.link[aria-current="page"] { background: var(--ink); color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 1rem/1 var(--body);
  text-decoration: none;
  padding: 15px 22px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--cobalt);
  color: #fff;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn.ghost { background: #fff; color: var(--ink); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- sections ---------- */
section { padding-block: clamp(64px, 10vw, 120px); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); display: grid; gap: 18px; }
.section-head p { max-width: 58ch; color: var(--ink-2); margin: 0; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 8vw, 96px) clamp(56px, 8vw, 100px); }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 { margin: 22px 0 26px; }
.hero h1 .w { display: inline-block; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.polaroid-zone { position: relative; justify-self: center; width: min(100%, 380px); }
.polaroid {
  background: #fff;
  border: 2px solid var(--ink);
  padding: 14px 14px 18px;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
  position: relative;
}
.polaroid img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border: 1.5px solid var(--ink); }
.polaroid figcaption {
  font: 500 0.78rem/1.3 var(--mono);
  color: var(--ink-2);
  margin-top: 12px;
  text-align: center;
}
.tape {
  position: absolute; width: 110px; height: 30px;
  background: rgba(255, 210, 63, 0.78);
  top: -14px; left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  border-left: 2px dashed rgba(0,0,0,.08);
  border-right: 2px dashed rgba(0,0,0,.08);
}
.sticker {
  position: absolute;
  right: -18px; bottom: 64px;
  width: 104px; height: 104px;
  border-radius: 50%;
  background: var(--pink);
  border: 2px solid var(--ink);
  color: #fff;
  display: grid; place-items: center; text-align: center;
  font: 800 0.95rem/1.05 var(--display);
  transform: rotate(-12deg);
  box-shadow: 3px 3px 0 var(--ink);
}
.scribble {
  position: absolute; left: -96px; top: 34%;
  width: 110px; color: var(--cobalt);
}
.scribble-note {
  position: absolute; left: -150px; top: calc(34% - 38px);
  font: 500 0.75rem/1.25 var(--mono);
  color: var(--cobalt);
  transform: rotate(-6deg);
  width: 120px;
}

/* ---------- marquee ---------- */
.ticker {
  border-block: 2px solid var(--ink);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding-block: 14px;
}
.ticker-track {
  display: flex; gap: 40px; width: max-content;
  animation: tick 48s linear infinite;
  font: 600 1.05rem/1 var(--display);
  letter-spacing: -0.01em;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 40px; white-space: nowrap; }
.ticker-track span::after { content: "✦"; color: var(--sun); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- quote ---------- */
.quote-card {
  position: relative;
  background: var(--sun-soft);
  border: 2px solid var(--ink);
  border-radius: 4px;
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 56px);
  max-width: 900px;
  margin: 0 auto;
  transform: rotate(-0.8deg);
}
.quote-card blockquote {
  margin: 0;
  font: 700 clamp(1.35rem, 2.8vw, 2rem)/1.25 var(--display);
  letter-spacing: -0.015em;
}
.quote-card .mark {
  position: absolute; top: -34px; left: 28px;
  font: 800 6rem/1 var(--display); color: var(--cobalt);
}
.quote-card cite {
  display: block; margin-top: 24px; font-style: normal;
  font: 500 0.85rem/1.5 var(--mono); color: var(--ink-2);
}
.quote-card cite strong { color: var(--ink); font-family: var(--body); font-size: 1rem; }
.quote-intro { text-align: center; color: var(--ink-2); max-width: 54ch; margin: 0 auto 48px; font-size: 1.1rem; }

/* ---------- skills grid ---------- */
.grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.cell {
  padding: 30px 28px 34px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  position: relative;
  transition: background .25s;
}
.cell:nth-child(3n) { border-right: 0; }
.cell:nth-last-child(-n+3) { border-bottom: 0; }
.cell:hover { background: var(--sun-soft); }
.cell .num { font: 500 0.75rem/1 var(--mono); color: var(--ink-3); }
.cell .ico {
  width: 44px; height: 44px; border-radius: 10px;
  border: 2px solid var(--ink);
  display: grid; place-items: center;
  margin: 18px 0 18px;
  transition: transform .3s cubic-bezier(.3,1.6,.5,1);
}
.cell:hover .ico { transform: rotate(-8deg) scale(1.08); }
.cell:nth-child(1) .ico { background: var(--sun); }
.cell:nth-child(2) .ico { background: var(--pink); }
.cell:nth-child(3) .ico { background: #9fb3ff; }
.cell:nth-child(4) .ico { background: var(--pink); }
.cell:nth-child(5) .ico { background: #9fb3ff; }
.cell:nth-child(6) .ico { background: var(--sun); }
.cell h3 { margin-bottom: 10px; }
.cell p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }

/* ---------- wins ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip {
  font: 500 0.8rem/1 var(--mono);
  padding: 9px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: #fff;
}
.lp {
  margin-top: 36px;
  border: 2px dashed var(--cobalt);
  border-radius: var(--radius);
  padding: 22px 24px;
  background: rgba(255,255,255,.7);
}
.lp h3 { font-size: 1.1rem; margin-bottom: 4px; }
.lp p { color: var(--ink-2); font-size: 0.95rem; margin-bottom: 14px; }
.lp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lp li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.lp li::before {
  content: "★"; color: var(--ink); background: var(--sun);
  width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--ink);
  display: grid; place-items: center; font-size: 0.8rem;
}

.wins { display: grid; gap: 18px; }
.win {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .2s, box-shadow .2s;
}
.win:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.win .big {
  font: 800 clamp(2.6rem, 5vw, 3.6rem)/1 var(--display);
  letter-spacing: -0.04em;
  min-width: 3.2ch;
}
.win:nth-child(1) .big { color: var(--cobalt); }
.win:nth-child(2) .big { color: var(--pink); }
.win:nth-child(3) .big { color: var(--navy); }
.win p { margin: 0; color: var(--ink-2); }
.win p strong { color: var(--ink); display: block; font-size: 1.05rem; margin-bottom: 2px; }

/* ---------- CTA band ---------- */
.band {
  background: var(--cobalt);
  color: #fff;
  border-block: 2px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.band .wrap { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.band h2 { max-width: 16ch; }
.band .label { color: var(--sun); }
.band .ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.band .btn { background: var(--sun); color: var(--ink); }
.band .btn.ghost { background: #fff; }

/* ---------- footer ---------- */
footer {
  padding-block: 40px;
  font: 500 0.8rem/1.5 var(--mono);
  color: var(--ink-2);
}
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--cobalt); }

/* ---------- page header (inner pages) ---------- */
.page-head { padding-block: clamp(56px, 9vw, 110px) clamp(32px, 5vw, 56px); }
.page-head h1 { margin: 20px 0 22px; }

/* ---------- about: timeline ---------- */
.story { display: grid; grid-template-columns: 220px 1fr; gap: clamp(28px, 5vw, 64px); padding-bottom: 96px; }
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); align-self: start; }
.toc ol { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 2px; counter-reset: c; }
.toc a {
  counter-increment: c;
  display: flex; gap: 10px; align-items: baseline;
  text-decoration: none;
  font: 500 0.85rem/1.3 var(--body);
  color: var(--ink-2);
  padding: 8px 10px;
  border-radius: 8px;
  border-left: 3px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.toc a::before { content: counter(c, decimal-leading-zero); font: 500 0.7rem/1 var(--mono); color: var(--ink-3); }
.toc a:hover { color: var(--ink); background: rgba(43,76,255,.06); }
.toc a.on { color: var(--ink); background: #fff; border-left-color: var(--pink); font-weight: 700; }

.chapters { display: grid; gap: 28px; min-width: 0; }
.chapter {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow);
  scroll-margin-top: 96px;
  position: relative;
}
.chapter-tag {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-bottom: 14px;
}
.chapter-tag .where {
  font: 500 0.72rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em;
  padding: 7px 10px; border-radius: 999px; border: 1.5px solid var(--ink);
}
.chapter:nth-child(4n+1) .where { background: var(--sun); }
.chapter:nth-child(4n+2) .where { background: var(--pink); color: #fff; }
.chapter:nth-child(4n+3) .where { background: #9fb3ff; }
.chapter:nth-child(4n+4) .where { background: var(--sun-soft); }
.chapter h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 22px; }
.chapter p, .chapter li { color: #2a2d3c; }
.chapter ul { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: 10px; }
.chapter li::marker { color: var(--pink); }
.chapter .pull {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 5px solid var(--cobalt);
  background: rgba(43,76,255,.06);
  font: 700 1.2rem/1.35 var(--display);
  color: var(--ink);
  border-radius: 0 10px 10px 0;
}
.chapter figure { margin: 30px 0 4px; }
.chapter figure img { border: 2px solid var(--ink); border-radius: 10px; }
.chapter figcaption { font: 500 0.75rem/1.4 var(--mono); color: var(--ink-3); margin-top: 10px; }
.outro {
  text-align: center;
  font: 800 clamp(1.6rem, 3.4vw, 2.4rem)/1.15 var(--display);
  padding: 40px 0 0;
  letter-spacing: -0.02em;
}

/* ---------- portfolio ---------- */
.projects { display: grid; gap: clamp(28px, 4vw, 44px); padding-bottom: 110px; }
.project {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.project:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--ink); }
.project:nth-child(even) { grid-template-columns: 1fr 1.05fr; }
.project:nth-child(even) .shots { order: 2; border-right: 0; border-left: 2px solid var(--ink); }
.shots {
  position: relative;
  border-right: 2px solid var(--ink);
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: clamp(20px, 3vw, 36px);
  overflow: hidden;
}
.project:nth-child(6n+1) .shots { background: var(--sun); }
.project:nth-child(6n+2) .shots { background: #ffd0e6; }
.project:nth-child(6n+3) .shots { background: #c9d4ff; }
.project:nth-child(6n+4) .shots { background: var(--sun-soft); }
.project:nth-child(6n+5) .shots { background: #bfe8ff; }
.project:nth-child(6n+6) .shots { background: #ffe0c2; }
.shots img {
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--ink);
  background: #fff;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.project:hover .shots img:first-child { transform: rotate(-1.5deg) scale(1.02); }
.shots.two { grid-template-columns: 1fr; }
.shots.two img:nth-child(2) {
  position: absolute; width: 46%; right: 6%; bottom: 8%;
  transform: rotate(4deg);
}
.project:hover .shots.two img:nth-child(2) { transform: rotate(7deg) translateY(-6px); }
.shots.two img:first-child { width: 86%; margin: -12% 0 0 -8%; }
.shots.tall img { max-height: 340px; width: auto; }

.project .body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.project .meta { display: flex; flex-wrap: wrap; gap: 8px; }
.project .meta span {
  font: 500 0.72rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 10px; border: 1.5px solid var(--ink); border-radius: 999px;
}
.project .meta .yr { background: var(--ink); color: #fff; }
.project h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.project .stat {
  font: 800 1.25rem/1.25 var(--display);
  letter-spacing: -0.01em;
}
.project .stat mark { background: var(--sun); padding: 0 .2em; border-radius: 3px; }
.project p { color: var(--ink-2); margin: 0; }
.project .visit {
  margin-top: auto; padding-top: 8px;
  font: 600 0.85rem/1 var(--mono);
  text-decoration: none;
  display: inline-flex; gap: 8px; align-items: center;
  color: var(--cobalt);
}
.project .visit:hover { text-decoration: underline; text-underline-offset: 4px; }
.index-no {
  position: absolute; top: 14px; left: 16px;
  font: 600 0.72rem/1 var(--mono);
  background: #fff; border: 1.5px solid var(--ink); border-radius: 6px; padding: 6px 8px;
  z-index: 2;
}

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

.js .hero h1 .w { opacity: 0; transform: translateY(0.5em) rotate(2deg); }
.hero.go h1 .w { animation: rise .7s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i) * 70ms + 100ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

.js .hero .hl { --hl: 0; }
.hero.go .hl::after { animation: swipe .6s cubic-bezier(.6,0,.2,1) forwards; animation-delay: var(--d, 900ms); }
@keyframes swipe { from { transform: skew(-8deg) scaleX(0); } to { transform: skew(-8deg) scaleX(1); } }

.draw path { stroke-dasharray: 300; stroke-dashoffset: 300; }
.hero.go .draw path { animation: draw 1s ease forwards 1.5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.js .polaroid-zone { opacity: 0; transform: translateY(20px) rotate(-3deg); transition: all .9s cubic-bezier(.2,.8,.2,1) .35s; }
.hero.go .polaroid-zone { opacity: 1; transform: none; }

.hero.go .sticker { animation: pop .6s cubic-bezier(.3,1.7,.5,1) 1.3s both; }
@keyframes pop { from { transform: rotate(-60deg) scale(0); } to { transform: rotate(-12deg) scale(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .js .hero h1 .w, .js .polaroid-zone { opacity: 1 !important; transform: none !important; }
  .js .hero .hl { --hl: 1; }
  .draw path { stroke-dashoffset: 0; }
  .ticker-track { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .scribble, .scribble-note { display: none; }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .cell:nth-child(3n) { border-right: 1.5px solid var(--ink); }
  .cell:nth-child(2n) { border-right: 0; }
  .cell:nth-last-child(-n+3) { border-bottom: 1.5px solid var(--ink); }
  .cell:nth-last-child(-n+2) { border-bottom: 0; }
  .split { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .toc { display: none; }
  .project, .project:nth-child(even) { grid-template-columns: 1fr; }
  .shots, .project:nth-child(even) .shots { order: 0; border-right: 0; border-left: 0; border-bottom: 2px solid var(--ink); }
}
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .polaroid-zone { width: min(78%, 320px); margin-top: 12px; }
  .sticker { width: 84px; height: 84px; font-size: .8rem; right: -14px; }
  .band .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-6 { grid-template-columns: 1fr; }
  .cell, .cell:nth-child(n) { border-right: 0; border-bottom: 1.5px solid var(--ink); }
  .cell:last-child { border-bottom: 0; }
  .win { grid-template-columns: 1fr; gap: 8px; }
  .nav a.link { padding: 9px 10px; }
  .logo { font-size: 1rem; }
  .hl { white-space: normal; }
}

/* ---------- contact footer ---------- */
.contact {
  border-top: 2px solid var(--ink);
  background: #fff;
  padding-block: clamp(56px, 8vw, 96px) 28px;
}
.contact .wrap { display: grid; gap: 28px; }
.contact h2 { max-width: 14ch; }
.contact-links { display: flex; flex-wrap: wrap; gap: 14px; }
.contact-links .btn { font-family: var(--mono); font-size: .9rem; font-weight: 600; }
.contact-links .btn.pinkb { background: var(--pink); }
.contact .base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 28px; padding-top: 22px; border-top: 1.5px dashed var(--ink-3);
  font: 500 .8rem/1.5 var(--mono); color: var(--ink-2);
}
.contact .base a { text-decoration: none; }
.contact .base a:hover { color: var(--cobalt); }

/* ---------- blog ---------- */
.post-card {
  display: grid; gap: 14px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 40px);
  text-decoration: none;
  max-width: 820px;
  transition: transform .2s, box-shadow .2s;
}
.post-card:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--ink); }
.post-card h2, .post-card h3 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.post-card p { color: var(--ink-2); margin: 0; }
.post-card .more { font: 600 .85rem/1 var(--mono); color: var(--cobalt); }
.post-date { font: 500 .78rem/1 var(--mono); color: var(--ink-3); }

.post { max-width: 820px; padding-bottom: 96px; }
.post-intro {
  font: 600 clamp(1.15rem, 2vw, 1.35rem)/1.5 var(--body);
  color: var(--ink);
  margin-bottom: 40px;
}
.truths { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.truth {
  position: relative;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--ink);
  padding: clamp(22px, 3.5vw, 34px) clamp(22px, 3.5vw, 34px) clamp(22px, 3.5vw, 30px);
}
.truth-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.truth .n {
  flex: none;
  width: 48px; height: 48px; border-radius: 12px;
  border: 2px solid var(--ink);
  display: grid; place-items: center;
  font: 800 1.15rem/1 var(--display);
}
.truth:nth-child(3n+1) .n { background: var(--sun); }
.truth:nth-child(3n+2) .n { background: var(--pink); color: #fff; }
.truth:nth-child(3n+3) .n { background: #9fb3ff; }
.truth h2 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); line-height: 1.15; padding-top: 4px; }
.truth h2 .emo { font-size: .9em; margin-right: .2em; }
.truth p, .truth li { color: #2a2d3c; }
.truth p:last-child { margin-bottom: 0; }
.truth ul { margin: 0 0 1em; padding-left: 1.2em; display: grid; gap: 6px; }
.truth li::marker { color: var(--pink); }
.aside-note {
  margin: 16px 0 0;
  padding: 14px 18px;
  background: var(--sun-soft);
  border: 1.5px dashed var(--ink);
  border-radius: 10px;
  font-size: .97rem;
}
.aside-note:not(:last-child) { margin-bottom: 1em; }
.closing {
  margin-top: 44px;
  background: var(--ink); color: #fff;
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: 6px 6px 0 var(--cobalt);
}
.closing h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; color: var(--sun); }
.closing p { color: #e6e8f2; }
.closing p:last-child { margin: 0; font-weight: 700; color: #fff; }
.back { font: 600 .85rem/1 var(--mono); color: var(--cobalt); text-decoration: none; display: inline-block; margin-bottom: 28px; }
.back:hover { text-decoration: underline; text-underline-offset: 4px; }
.post-head, .post { max-width: calc(820px + 2 * var(--gutter)); }

/* ---------- story-order sections ---------- */
.step {
  font: 600 .72rem/1 var(--mono);
  letter-spacing: .12em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink);
}
.step b {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: .75rem; letter-spacing: 0;
}
.wins-4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .wins-4 { grid-template-columns: 1fr; } }

.problems { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.problem {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--ink);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  transition: transform .2s, box-shadow .2s;
}
.problem:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.problem .pain {
  padding: 22px 24px 20px;
  border-bottom: 1.5px dashed var(--ink);
  font: 800 1.2rem/1.25 var(--display);
  letter-spacing: -0.01em;
  display: flex; gap: 12px; align-items: flex-start;
}
.problem .pain::before {
  content: "?"; flex: none;
  width: 28px; height: 28px; border-radius: 8px; border: 2px solid var(--ink);
  display: grid; place-items: center; font-size: .95rem;
  background: var(--pink); color: #fff;
}
.problem .fix { padding: 18px 24px 22px; color: var(--ink-2); font-size: .97rem; }
.problem .fix strong {
  display: block; margin-bottom: 6px;
  font: 600 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt);
}
.problem .fix p { margin: 0; }
@media (max-width: 760px) { .problems { grid-template-columns: 1fr; } }

.outreach { background: var(--sun); border-top: 2px solid var(--ink); }
.outreach .section-head p { color: var(--ink); }
.asks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 36px; }
.ask {
  background: #fff; border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 24px; box-shadow: 4px 4px 0 var(--ink);
}
.ask h3 { font-size: 1.2rem; margin-bottom: 8px; }
.ask p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.ask .k { font: 600 .7rem/1 var(--mono); color: var(--ink-3); display: block; margin-bottom: 14px; }
@media (max-width: 860px) { .asks { grid-template-columns: 1fr; } }
.footer-min { padding-block: 26px; font: 500 .8rem/1.5 var(--mono); color: var(--ink-2); border-top: 2px solid var(--ink); background: #fff; }
.footer-min .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-min a { text-decoration: none; }
.footer-min a:hover { color: var(--cobalt); }
.logo img { width: 34px; height: 34px; margin-right: 10px; transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.logo:hover img { transform: rotate(-8deg) scale(1.06); }
@media (max-width: 480px) {
  .logo-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .logo img { margin-right: 0; width: 38px; height: 38px; }
}

/* ---------- landing: results wall + doors ---------- */
.results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.result {
  background: #fff; border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--ink); padding: 22px 22px 20px;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform .2s, box-shadow .2s;
}
.result:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.result .big { font: 800 clamp(2.1rem, 3.6vw, 2.7rem)/1 var(--display); letter-spacing: -0.04em; }
.result:nth-child(4n+1) .big { color: var(--cobalt); }
.result:nth-child(4n+2) .big { color: var(--pink); }
.result:nth-child(4n+3) .big { color: var(--navy); }
.result:nth-child(4n+4) .big { color: var(--ink); }
.result strong { font-size: 1rem; line-height: 1.3; }
.result p { margin: 0; color: var(--ink-2); font-size: .9rem; line-height: 1.5; }
.result .co {
  margin-top: auto; padding-top: 10px;
  font: 600 .68rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
}
.result.feature { grid-column: span 2; background: var(--ink); color: #fff; box-shadow: 4px 4px 0 var(--cobalt); }
.result.feature .big { color: var(--sun); font-size: clamp(2.8rem, 5vw, 3.8rem); }
.result.feature p { color: #d9dcea; }
.result.feature .co { color: #9aa0b8; }
@media (max-width: 960px) { .results { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .results { grid-template-columns: 1fr; } .result.feature { grid-column: auto; } }

.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.door {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(26px, 4vw, 42px);
  text-decoration: none; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.door:hover { transform: translate(-4px, -4px); box-shadow: 10px 10px 0 var(--ink); }
.door.ai { background: var(--cobalt); color: #fff; }
.door.ed { background: var(--sun); }
.door::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 24px 24px;
}
.door.ed::after { background-image: linear-gradient(rgba(17,19,31,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(17,19,31,.07) 1px, transparent 1px); }
.door > * { position: relative; z-index: 1; }
.door .tag { font: 600 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.door h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.door ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.door li { display: flex; gap: 10px; align-items: baseline; font-size: .98rem; }
.door li::before { content: "→"; font-family: var(--mono); font-weight: 600; }
.door .go {
  margin-top: auto; align-self: flex-start;
  font: 600 .95rem/1 var(--body);
  padding: 14px 20px; border-radius: 999px; border: 2px solid var(--ink);
  background: #fff; color: var(--ink); box-shadow: 3px 3px 0 var(--ink);
}
.door:hover .go { background: var(--pink); color: #fff; }
@media (max-width: 760px) { .doors { grid-template-columns: 1fr; } }

@media (max-width: 560px) {
  .nav ul { gap: 0; }
  .nav a.link { padding: 8px 7px; font-size: .74rem; }
}

/* ---------- portfolio filters + extras ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.filter {
  font: 600 .85rem/1 var(--mono); cursor: pointer;
  padding: 11px 16px; border-radius: 999px; border: 2px solid var(--ink);
  background: #fff; color: var(--ink); box-shadow: 3px 3px 0 var(--ink);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.filter:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; }
.project[hidden] { display: none !important; }
.trk { border-color: var(--cobalt) !important; color: var(--cobalt); }
.trk.edtech { border-color: #b8860b !important; color: #7a5a00; background: var(--sun-soft); }
.shots.bigstat { place-items: center; }
.bignum { text-align: center; display: grid; gap: 8px; }
.bignum span { font: 800 clamp(4rem, 9vw, 6.5rem)/1 var(--display); letter-spacing: -0.05em; color: var(--ink); }
.bignum small { font: 600 .8rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- landing: hired-to-fix extras ---------- */
.problem .pain .cat {
  display: block; margin-bottom: 8px;
  font: 600 .68rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cobalt);
}
.problem .fix .co {
  display: block; margin-top: 12px;
  font: 600 .66rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
}
.range { margin-top: clamp(40px, 6vw, 60px); }
.range .chips { margin-top: 16px; }
.deep {
  margin-top: clamp(36px, 5vw, 52px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  padding: 22px 24px; border: 2px dashed var(--ink); border-radius: var(--radius); background: rgba(255,255,255,.75);
}
.deep p { margin: 0 8px 0 0; font: 800 1.2rem/1.2 var(--display); }

/* =====================================================================
   POLISH LAYER (2026-11-06): refined, editorial version of the system.
   Overrides the playful defaults above.
   ===================================================================== */
:root {
  --paper: #fbfbfa;
  --grid-minor: rgba(17, 24, 39, 0.035);
  --grid-major: rgba(17, 24, 39, 0.06);
  --ink: #14161f;
  --ink-2: #4a4f5e;
  --ink-3: #8a8f9c;
  --line: rgba(20, 22, 31, 0.12);
  --line-2: rgba(20, 22, 31, 0.07);
  --cobalt: #2945e6;
  --cobalt-soft: rgba(41, 69, 230, 0.07);
  --tint: #f3f4f7;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20,22,31,.04), 0 8px 24px -12px rgba(20,22,31,.12);
  --shadow-hover: 0 2px 4px rgba(20,22,31,.05), 0 18px 40px -16px rgba(20,22,31,.22);
  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
body { font: 400 16.5px/1.7 var(--body); color: var(--ink); letter-spacing: -0.005em; }
::selection { background: var(--cobalt-soft); color: var(--ink); }

h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -0.015em; line-height: 1.04; }
h1 { font-size: clamp(2.7rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
h3 { font-family: var(--body); font-weight: 600; letter-spacing: -0.015em; }

/* accents: no marker swipe, cobalt italic instead */
.hl { white-space: normal; font-style: italic; color: var(--cobalt); }
.hl::after { display: none !important; }
.hl.blue, .hl.pink { color: var(--cobalt); }
.band .hl, .closing .hl { color: inherit; }

.label, .step { color: var(--ink-3); font-weight: 500; letter-spacing: .14em; }
.label::before { width: 18px; height: 1px; background: currentColor; }
.step b { background: transparent; color: var(--ink); border: 1px solid var(--line); width: 26px; height: 26px; font-weight: 500; }

/* nav */
.nav { background: rgba(251,251,250,.85); border-bottom: 1px solid var(--line-2); }
.logo { font-family: var(--body); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.02em; }
.logo img { width: 28px; height: 28px; }
.nav a.link { font: 500 .88rem/1 var(--body); border: 0; color: var(--ink-2); padding: 9px 12px; }
.nav a.link:hover { color: var(--ink); background: var(--tint); }
.nav a.link[aria-current="page"] { background: transparent; color: var(--ink); box-shadow: inset 0 -2px 0 var(--cobalt); border-radius: 0; }

/* buttons */
.btn, .band .btn, .door .go {
  font: 500 .95rem/1 var(--body); letter-spacing: -0.005em;
  border: 1px solid var(--ink); background: var(--ink); color: #fff;
  border-radius: 999px; padding: 14px 22px; box-shadow: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: none; box-shadow: none; background: var(--cobalt); border-color: var(--cobalt); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn.ghost, .band .btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: #fff; border-color: var(--ink); color: var(--ink); }
.contact-links .btn { font-family: var(--body); font-weight: 500; }
.contact-links .btn.pinkb { background: transparent; color: var(--ink); border-color: var(--line); }
.contact-links .btn.pinkb:hover { border-color: var(--ink); background: #fff; }

/* hero portrait */
.hero h1 { margin: 20px 0 24px; }
.lede { color: var(--ink-2); font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 46ch; }
.polaroid { transform: none; border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: var(--shadow); background: #fff; }
.polaroid img { border: 0; border-radius: 12px; aspect-ratio: 4 / 5; }
.polaroid figcaption { font: 500 .72rem/1.4 var(--mono); color: var(--ink-3); letter-spacing: .06em; margin: 12px 4px 4px; text-align: left; }
.tape, .sticker, .scribble, .scribble-note { display: none !important; }
.js .polaroid-zone { transform: translateY(12px); }

/* company row replaces the ticker */
.ticker { background: transparent; color: var(--ink-3); border-block: 1px solid var(--line-2); padding-block: 22px; overflow: visible; }
.ticker-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding-inline: var(--gutter);
  font: 500 .82rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.ticker-track span { gap: 0; }
.ticker-track span::after { content: none; }
.ticker-track span[aria-hidden="true"] { display: none; }

/* cards: hairlines + soft shadows everywhere */
.grid-6, .win, .result, .problem, .ask, .chapter, .project, .post-card, .truth, .lp, .deep, .door, .quote-card {
  border: 1px solid var(--line) !important; box-shadow: var(--shadow); border-radius: var(--radius);
}
.win:hover, .result:hover, .problem:hover, .project:hover, .post-card:hover, .door:hover {
  transform: translateY(-2px); box-shadow: var(--shadow-hover);
}
.cell { border-right: 1px solid var(--line-2) !important; border-bottom: 1px solid var(--line-2) !important; }
.cell:hover { background: #fcfcfd; }
.cell .ico, .cell:nth-child(n) .ico { background: var(--cobalt-soft); border: 0; color: var(--cobalt); width: 40px; height: 40px; }
.cell .ico svg { stroke: var(--cobalt); }
.cell:hover .ico { transform: none; }
@media (min-width: 961px) { .cell:nth-child(3n) { border-right: 0 !important; } .cell:nth-last-child(-n+3) { border-bottom: 0 !important; } }
@media (max-width: 960px) and (min-width: 561px) { .cell:nth-child(2n) { border-right: 0 !important; } .cell:nth-last-child(-n+2) { border-bottom: 0 !important; } }
@media (max-width: 560px) { .cell { border-right: 0 !important; } .cell:last-child { border-bottom: 0 !important; } }

/* numbers */
.win .big, .result .big { font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; color: var(--ink) !important; }
.result .big { font-size: clamp(2.4rem, 3.8vw, 3rem); }
.result .co, .problem .fix .co { color: var(--ink-3); }
.result.feature { background: var(--ink); color: #fff; box-shadow: var(--shadow); border-color: var(--ink) !important; }
.result.feature .big { color: #fff !important; font-size: clamp(3.2rem, 5.6vw, 4.4rem); }
.result.feature p { color: #c9ccd6; }

/* quote */
.quote-card { background: #fff; transform: none; border-left: 3px solid var(--cobalt) !important; }
.quote-card .mark { display: none; }
.quote-card blockquote { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.3; letter-spacing: -0.01em; }
.quote-intro { color: var(--ink-2); }

/* recognition list */
.lp { background: #fff; }
.lp li { font-weight: 500; color: var(--ink); }
.lp li::before { content: ""; width: 6px; height: 6px; border: 0; border-radius: 50%; background: var(--cobalt); flex: none; }
.chip { border: 1px solid var(--line); font: 500 .76rem/1 var(--mono); color: var(--ink-2); background: #fff; }

/* problems */
.problem .pain { border-bottom: 1px solid var(--line-2); font-family: var(--body); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.015em; }
.problem .pain::before { content: none; display: none; }
.problem .pain .cat, .problem .fix strong { color: var(--cobalt); font-weight: 500; }
.deep { border-style: solid !important; background: #fff; }
.deep p { font-family: var(--display); font-weight: 400; font-size: 1.5rem; }

/* outreach + bands: calm dark sections */
.outreach, .band { background: var(--ink); color: #fff; border: 0; }
.band::before { background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); }
.outreach { position: relative; }
.outreach .section-head p { color: #c9ccd6; }
.outreach .step, .band .label { color: #9aa0b0; }
.outreach .step b { color: #fff; border-color: rgba(255,255,255,.25); }
.outreach .hl, .band .hl { color: #9db0ff; }
.ask { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12) !important; box-shadow: none; }
.ask h3 { color: #fff; }
.ask p { color: #b9bdc9; }
.ask .k { color: #7d8396; }
.outreach .btn, .band .btn { background: #fff; color: var(--ink); border-color: #fff; }
.outreach .btn:hover, .band .btn:hover { background: #9db0ff; border-color: #9db0ff; color: var(--ink); }
.outreach .btn.pinkb, .outreach .btn.ghost, .band .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.outreach .btn.pinkb:hover, .band .btn.ghost:hover { border-color: #fff; background: transparent; color: #fff; }

.contact { border-top: 1px solid var(--line-2); }
.footer-min { border-top: 1px solid var(--line-2); background: var(--paper); }

/* portfolio */
.project .shots, .project:nth-child(n) .shots { background: var(--tint); border-color: var(--line-2) !important; }
.project:nth-child(even) .shots { border-left: 1px solid var(--line-2); }
.shots { border-right: 1px solid var(--line-2); }
.shots img { border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px -14px rgba(20,22,31,.35); }
.project:hover .shots img:first-child { transform: none; }
.shots.two img:nth-child(2) { transform: none; }
.project:hover .shots.two img:nth-child(2) { transform: translateY(-4px); }
.index-no { border: 1px solid var(--line); font-weight: 500; color: var(--ink-3); }
.project h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.project .stat { font-family: var(--body); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; }
.project .stat mark { background: transparent; color: var(--cobalt); padding: 0; }
.project .meta span { border: 1px solid var(--line); font-weight: 500; color: var(--ink-2); }
.project .meta .yr { background: var(--ink); border-color: var(--ink); color: #fff; }
.trk, .trk.edtech { border-color: var(--line) !important; color: var(--cobalt); background: var(--cobalt-soft); }
.bignum span { font-family: var(--display); font-weight: 400; color: var(--ink); }
.filter { border: 1px solid var(--line); box-shadow: none; font-family: var(--body); font-weight: 500; }
.filter:hover { transform: none; box-shadow: none; border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }

/* about + blog */
.chapter-tag .where, .chapter:nth-child(n) .where { background: var(--cobalt-soft); color: var(--cobalt); border: 0; font-weight: 500; }
.chapter .pull { font-family: var(--display); font-weight: 400; font-size: 1.45rem; background: transparent; border-left: 2px solid var(--cobalt); }
.chapter figure img { border: 1px solid var(--line); }
.toc a.on { border-left-color: var(--cobalt); }
.truth .n, .truth:nth-child(n) .n { background: transparent; color: var(--cobalt); border: 1px solid var(--line); font-family: var(--display); font-weight: 400; font-size: 1.3rem; }
.truth h2 { font-family: var(--body); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.35rem); letter-spacing: -0.015em; }
.aside-note { background: var(--tint); border: 0; border-left: 2px solid var(--cobalt); border-radius: 0 10px 10px 0; }
.closing { box-shadow: var(--shadow); }
.closing h2 { color: #fff; }
.outro { font-family: var(--display); font-weight: 400; }

/* motion: quiet */
.reveal { transform: translateY(14px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .hero h1 .w { transform: translateY(0.35em); }
.logo:hover img { transform: none; }

/* ---- sans headlines + drawn underline accents (2026-11-06 rev 2) ---- */
:root { --display: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.win .big, .result .big, .bignum span, .quote-card blockquote, .chapter .pull, .deep p, .truth .n, .outro, .project h2 {
  font-family: var(--display); font-weight: 600; letter-spacing: -0.03em;
}
.quote-card blockquote { font-weight: 500; letter-spacing: -0.02em; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.32; }
.chapter .pull { font-weight: 500; font-size: 1.3rem; letter-spacing: -0.015em; }
.deep p { font-size: 1.3rem; }

.hl, .hl.blue, .hl.pink, .outreach .hl, .band .hl {
  font-style: normal; color: inherit;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 0% 0.075em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding-bottom: 0.04em;
  transition: background-size 1s cubic-bezier(.65,0,.25,1);
}
.reveal.in .hl, .hero.go .hl, .page-head .hl { background-size: 100% 0.075em; }
.hero .hl { transition-delay: var(--d, 900ms); }
.reveal.in .hl { transition-delay: .35s; }
.page-head .hl { animation: drawline 1s cubic-bezier(.65,0,.25,1) .6s both; }
@keyframes drawline { from { background-size: 0% 0.075em; } to { background-size: 100% 0.075em; } }
@media (prefers-reduced-motion: reduce) { .hl, .hl.blue, .hl.pink { background-size: 100% 0.075em !important; } }

/* ---- photo palette: pastel red + pastel blue (2026-11-06 rev 3) ----
   --red / --blue        pastel, for fills, tints, underlines, dots
   --red-ink / --blue-ink deeper same-hue, for readable text (AA on paper) */
:root {
  --red: #e58a80;  --red-ink: #a8463d;  --red-soft: #fbeae7;
  --blue: #9fb4de; --blue-ink: #3b5a96; --blue-soft: #ebf0fa;
}
:root { --cobalt: var(--blue-ink); --cobalt-soft: var(--blue-soft); }

/* underline accent in pastel red (text stays ink) */
.hl, .hl.blue, .hl.pink, .outreach .hl, .band .hl { background-image: linear-gradient(var(--red), var(--red)); }
.reveal.in .hl, .hero.go .hl, .page-head .hl { background-size: 100% 0.14em; }
@keyframes drawline { from { background-size: 0% 0.14em; } to { background-size: 100% 0.14em; } }
@media (prefers-reduced-motion: reduce) { .hl, .hl.blue, .hl.pink { background-size: 100% 0.14em !important; } }

/* red: small accents */
.label::before { background: var(--red); height: 2px; }
.problem .pain .cat, .problem .fix strong { color: var(--red-ink); }
.lp li::before { background: var(--red); }
.quote-card { border-left-color: var(--red) !important; border-left-width: 4px !important; }
.nav a.link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); }
.toc a.on { border-left-color: var(--red); }
.chapter .pull, .aside-note { border-left-color: var(--red); }
.truth .n, .truth:nth-child(n) .n { color: var(--red-ink); background: var(--red-soft); border-color: transparent; }
.step b { border-color: var(--red); }

/* blue: tints, tags, interactive */
.cell .ico, .cell:nth-child(n) .ico { background: var(--blue-soft); }
.cell .ico svg { stroke: var(--blue-ink); }
.chapter-tag .where, .chapter:nth-child(n) .where { background: var(--blue-soft); color: var(--blue-ink); }
.trk, .trk.edtech { background: var(--blue-soft); color: var(--blue-ink); border-color: transparent !important; }
.project .shots, .project:nth-child(n) .shots { background: var(--blue-soft); }
.result.feature { background: var(--blue-ink); border-color: var(--blue-ink) !important; }
.result.feature p, .result.feature .co { color: rgba(255,255,255,.78); }
.btn:hover { background: var(--blue-ink); border-color: var(--blue-ink); }
.outreach .hl, .band .hl { color: #fff; }
.outreach .btn:hover, .band .btn:hover { background: var(--blue); border-color: var(--blue); }
.result .co, .problem .fix .co { color: var(--ink-3); }

/* feature tile in the shirt's pastel blue, dark text for contrast */
.result.feature { background: var(--blue); border-color: var(--blue) !important; color: var(--ink); }
.result.feature .big { color: var(--ink) !important; }
.result.feature strong { color: var(--ink); }
.result.feature p { color: #2c3142; }
.result.feature .co { color: #3d4458; }
.logo b { color: var(--red-ink); }

/* AI + EdTech proof sections: first card gets the shirt-blue feature treatment */
.wins-4 .win:first-child { background: var(--blue); border-color: var(--blue) !important; }
.wins-4 .win:first-child .big, .wins-4 .win:first-child p strong { color: var(--ink) !important; }
.wins-4 .win:first-child p { color: #2c3142; }

/* company logo instead of a screenshot */
.shots.logo { background: #fff !important; }
.shots.logo img { width: 380px; max-width: 80%; height: auto; border: 0; border-radius: 0; box-shadow: none; background: transparent; }

/* portfolio: cards aren't links, so no lift; highlights live in a real control */
.project, .project:hover { transform: none !important; box-shadow: var(--shadow) !important; }
.project:hover .shots.two img:nth-child(2) { transform: none; }
.more { margin-top: 6px; border-top: 1px solid var(--line-2); padding-top: 14px; }
.more summary {
  list-style: none; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 .9rem/1 var(--body); color: var(--ink);
  padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  transition: border-color .2s, background .2s;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::after {
  content: ""; width: 7px; height: 7px; margin-left: 2px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .25s;
}
.more[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.more summary:hover { border-color: var(--ink); }
.more summary:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: 2px; }
.more .cnt { font: 500 .72rem/1 var(--mono); color: var(--red-ink); background: var(--red-soft); padding: 4px 7px; border-radius: 999px; }
.more ul { margin: 16px 0 4px; padding: 0; list-style: none; display: grid; gap: 12px; }
.more li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: .95rem; line-height: 1.6; }
.more li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.more[open] ul { animation: moreIn .35s ease both; }
@keyframes moreIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.project .visit { margin-top: 14px; }
@media (prefers-reduced-motion: reduce) { .more[open] ul { animation: none; } }

/* image group pinned near the top of its panel so it stays put when highlights open */
.shots:has(.frame) { align-items: start; place-items: start center; padding-top: clamp(48px, 6vw, 64px); }
.shots .frame { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); width: 100%; display: grid; place-items: center; }
.shots.two .frame { display: block; position: sticky; padding-bottom: 20%; }
.shots.two .frame img:first-child { width: 86%; margin: 0; }
.shots.two .frame img:nth-child(2) { position: absolute; width: 46%; right: 0; bottom: 0; top: auto; transform: none; }
.shots.two img:first-child { margin: 0; }
.shots.tall .frame img { max-height: 340px; width: auto; }
.shots.logo .frame { min-height: 220px; }
.shots.logo:has(.frame) { place-items: center; padding-top: clamp(20px, 3vw, 36px); }
.shots.bigstat { place-items: center; }
@media (max-width: 960px) { .shots .frame { position: relative; top: 0; } .shots:has(.frame) { padding-top: clamp(28px, 6vw, 44px); padding-bottom: clamp(28px, 6vw, 44px); } }
.asks { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
@media (max-width: 760px) { .asks { grid-template-columns: 1fr; } }

/* portfolio chapters */
.projects { gap: clamp(56px, 8vw, 96px); }
.pgroup { display: grid; gap: clamp(28px, 4vw, 44px); }
.pgroup[hidden] { display: none !important; }
.pgroup-head { display: grid; gap: 12px; max-width: 62ch; }
.pgroup-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.pgroup-head p { margin: 0; color: var(--ink-2); }

/* =====================================================================
   EDITORIAL LAYOUT (landing only: body.editorial)
   Typography, whitespace and hairline rules instead of boxes.
   ===================================================================== */
.editorial section { padding-block: clamp(72px, 10vw, 128px); }
.editorial .section-head { margin-bottom: clamp(36px, 5vw, 60px); }

/* results: report-style stat spread */
.editorial .results { gap: 0 clamp(24px, 3vw, 40px); border-top: 1px solid var(--ink); }
.editorial .result, .editorial .result:hover {
  background: transparent; border: 0 !important; border-bottom: 1px solid var(--line) !important;
  border-radius: 0; box-shadow: none; transform: none; padding: 28px 0 26px; gap: 6px;
}
.editorial .result .big { font-size: clamp(2.5rem, 4vw, 3.3rem); margin-bottom: 4px; }
.editorial .result strong { font-size: .98rem; }
.editorial .result p { font-size: .9rem; }
.editorial .result .co { padding-top: 12px; }
.editorial .result.feature, .editorial .result.feature:hover {
  background: var(--blue); border: 0 !important; border-radius: 0; padding: 32px 32px 28px; margin-top: -1px;
  box-shadow: none;
}
.editorial .result.feature .big { font-size: clamp(3.6rem, 7vw, 5.6rem); line-height: .95; }

/* quote: big pull quote, no box */
.editorial .quote-card, .editorial .quote-card:hover {
  background: transparent; border: 0 !important; border-left: 3px solid var(--red) !important; border-radius: 0;
  box-shadow: none; padding: 6px 0 6px clamp(20px, 3vw, 36px); max-width: 860px; margin-left: 0;
}
.editorial .quote-card blockquote { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.25; }

/* awards: plain two-column list */
.editorial .lp, .editorial .lp:hover { background: transparent; border: 0 !important; border-top: 1px solid var(--line) !important; border-radius: 0; box-shadow: none; padding: 28px 0 0; }
.editorial .lp h3 { font: 500 .74rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.editorial .lp > p { color: var(--ink-2); font-size: .95rem; margin: -8px 0 16px; }
.editorial .lp ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; }
.editorial .lp li { font-weight: 400; color: var(--ink-2); align-items: baseline; }
.editorial .lp li::before { transform: translateY(-2px); }
@media (max-width: 760px) { .editorial .lp ul { grid-template-columns: 1fr; } }

/* hired-to-fix: numbered rows */
.editorial .problems { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--ink); counter-reset: fix; }
.editorial .problem, .editorial .problem:hover {
  counter-increment: fix;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px clamp(24px, 5vw, 72px);
  background: transparent; border: 0 !important; border-bottom: 1px solid var(--line) !important; border-radius: 0;
  box-shadow: none; transform: none; padding: 30px 0; overflow: visible;
}
.editorial .problem .pain { border: 0; padding: 0; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.3; }
.editorial .problem .pain .cat::before { content: counter(fix, decimal-leading-zero) "  ·  "; color: var(--ink-3); }
.editorial .problem .fix { padding: 0; }
.editorial .problem .fix strong { display: none; }
.editorial .problem .fix p { font-size: 1rem; }
@media (max-width: 760px) { .editorial .problem { grid-template-columns: 1fr; } }

/* industries: inline text, no pills */
.editorial .range .chips { gap: 0; }
.editorial .range .chip { border: 0; background: none; padding: 0; font: 500 .95rem/1.9 var(--body); color: var(--ink-2); }
.editorial .range .chip + .chip::before { content: "·"; margin: 0 .75em; color: var(--red); font-weight: 700; }

/* deep dive: a sentence with a link, no box */
.editorial .deep, .editorial .deep:hover { background: transparent; border: 0 !important; border-top: 1px solid var(--line) !important; border-radius: 0; box-shadow: none; padding: 28px 0 0; }
.editorial .deep .btn { background: transparent; color: var(--ink); border: 0; padding: 0; font-weight: 600; font-size: 1.15rem; border-radius: 0;
  background-image: linear-gradient(var(--red), var(--red)); background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 2px; padding-bottom: 3px; }
.editorial .deep .btn:hover { background-color: transparent; color: var(--red-ink); }

/* let's talk: two short columns + email as the headline CTA */
.editorial .asks { gap: 0 clamp(28px, 5vw, 64px); margin-bottom: 44px; }
.editorial .ask { background: transparent; border: 0 !important; border-top: 1px solid rgba(255,255,255,.2) !important; border-radius: 0; box-shadow: none; padding: 22px 0 0; }
.editorial .contact-links { align-items: baseline; gap: 18px 32px; }
/* contact: two equal buttons (no giant email) */

/* editorial: awards back in one box */
.editorial .lp, .editorial .lp:hover {
  background: #fff; border: 1px solid var(--line) !important; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(24px, 3.5vw, 36px);
}
.editorial .lp h3 { margin-bottom: 20px; }
/* a touch slower so the underline draw is noticeable */
.hl, .hl.blue, .hl.pink, .outreach .hl, .band .hl { transition-duration: 1.2s; }

/* AI page: 8-cell results (feature spans 2) + toolkit box */
.editorial .results-8 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .editorial .results-8 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .editorial .results-8 { grid-template-columns: 1fr; } }
.kit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px clamp(24px, 4vw, 48px); }
.kit-h { display: block; font: 600 .95rem/1.3 var(--body); color: var(--ink); margin-bottom: 8px; }
.kit p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.7; }
@media (max-width: 860px) { .kit { grid-template-columns: 1fr; } }

/* EdTech page in editorial: skills grid + 2x2 proof as hairline spreads */
.editorial .grid-6, .editorial .grid-6:hover {
  background: transparent; border: 0 !important; border-top: 1px solid var(--ink) !important;
  border-radius: 0; box-shadow: none; overflow: visible;
}
.editorial .cell { padding: 28px clamp(16px, 2.5vw, 28px) 30px 0; border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
.editorial .cell:hover { background: transparent; }
.editorial .cell .ico { margin: 14px 0 16px; }
@media (min-width: 961px) { .editorial .cell:nth-last-child(-n+3) { border-bottom: 1px solid var(--line) !important; } }
@media (max-width: 960px) and (min-width: 561px) { .editorial .cell:nth-last-child(-n+2) { border-bottom: 1px solid var(--line) !important; } }
@media (max-width: 560px) { .editorial .cell:last-child { border-bottom: 1px solid var(--line) !important; } }

.editorial .wins-4 { gap: 0 clamp(24px, 4vw, 56px); border-top: 1px solid var(--ink); }
.editorial .win, .editorial .win:hover {
  background: transparent; border: 0 !important; border-bottom: 1px solid var(--line) !important;
  border-radius: 0; box-shadow: none; transform: none; padding: 28px 0;
}
.editorial .wins-4 .win:first-child { background: var(--blue); padding: 28px 28px; margin-top: -1px; }

/* =====================================================================
   DARK THEME (AI page only: body.dark)
   ===================================================================== */
body.dark {
  color-scheme: dark;
  --paper: #0f1117;
  --grid-minor: rgba(255, 255, 255, 0.03);
  --grid-major: rgba(255, 255, 255, 0.055);
  --ink: #eef0f5;
  --ink-2: #b4b9c7;
  --ink-3: #7d8394;
  --line: rgba(255, 255, 255, 0.14);
  --line-2: rgba(255, 255, 255, 0.07);
  --tint: #1a1d26;
  --panel: #161922;
  --red-ink: #ee9b92;     /* pastel red, readable on dark */
  --blue-ink: #a9bde6;    /* pastel blue, readable on dark */
  --blue-soft: rgba(159, 180, 222, 0.12);
  --red-soft: rgba(229, 138, 128, 0.14);
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -16px rgba(0,0,0,.6);
  --shadow-hover: var(--shadow);
  background-color: var(--paper); color: var(--ink);
}
body.dark ::selection { background: rgba(159,180,222,.3); color: #fff; }
body.dark .nav { background: rgba(15, 17, 23, 0.85); border-bottom-color: var(--line-2); }
body.dark .logo { color: var(--ink); }
body.dark .logo b { color: var(--red-ink); }

/* buttons: light primary, outlined ghost */
body.dark .btn { background: #eef0f5; color: #0f1117; border-color: #eef0f5; }
body.dark .btn:hover { background: var(--blue); border-color: var(--blue); color: #0f1117; }
body.dark .btn.ghost, body.dark .contact-links .btn.pinkb { background: transparent; color: var(--ink); border-color: var(--line); }
body.dark .btn.ghost:hover, body.dark .contact-links .btn.pinkb:hover { background: rgba(255,255,255,.06); border-color: var(--ink); color: var(--ink); }

/* surfaces */
body.dark .polaroid { background: var(--panel); border-color: var(--line); }
body.dark .polaroid figcaption { color: var(--ink-3); }
body.dark .lp, body.dark .editorial .lp, body.dark.editorial .lp { background: var(--panel) !important; border-color: var(--line) !important; }
body.dark .kit-h { color: var(--ink); }

/* results: feature tile keeps shirt blue with dark text */
body.dark .results { border-top-color: var(--ink-3) !important; }
body.dark .result.feature strong, body.dark .result.feature .big { color: #0f1117 !important; }
body.dark .result.feature p { color: #24293a; }
body.dark .result.feature .co { color: #3a4157; }

/* problems + labels */
body.dark .problems { border-top-color: var(--ink-3) !important; }
body.dark .problem .pain .cat, body.dark .problem .fix strong { color: var(--red-ink); }

/* let's talk + footer: a notch deeper than the page */
body.dark .outreach { background: #090b10; border-top: 1px solid var(--line-2); }
body.dark .ask { border-top-color: var(--line) !important; }
body.dark .footer-min { background: var(--paper); border-top-color: var(--line-2); color: var(--ink-3); }
body.dark .footer-min a:hover { color: var(--ink); }
body.dark .step b { color: var(--ink); }

/* portfolio: one pill per card (the highlights button); everything else is text */
.project .meta { gap: 0; align-items: baseline; }
.project .meta span, .project .meta .yr, .trk, .trk.edtech {
  border: 0 !important; background: none !important; padding: 0; border-radius: 0;
  font: 500 .74rem/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
}
.project .meta .yr { color: var(--ink); font-weight: 600; }
.project .meta .trk { color: var(--blue-ink); }
.project .meta span + span::before { content: "·"; margin: 0 .7em; color: var(--ink-3); }
.index-no { border: 0 !important; background: none !important; padding: 0; top: 18px; left: 20px; color: var(--ink-3); letter-spacing: .08em; }
.more .cnt { background: none; padding: 0; color: var(--ink-3); font-size: .78rem; }

/* filters as text tabs */
.filters { gap: 28px; border-bottom: 1px solid var(--line-2); }
.filter, .filter:hover {
  border: 0; border-radius: 0; background: none; box-shadow: none; transform: none;
  padding: 10px 0 12px; color: var(--ink-3); font: 500 .95rem/1 var(--body); margin-bottom: -1px;
  border-bottom: 2px solid transparent;
}
.filter:hover { color: var(--ink); }
.filter[aria-pressed="true"] { background: none; color: var(--ink); border-bottom-color: var(--red); }
.project .meta .yr { flex-basis: 100%; margin-bottom: 2px; }
.project .meta .yr + span::before { content: none; }

/* secondary testimonials under the main quote */
.quotes-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(24px, 4vw, 48px); margin-top: clamp(32px, 5vw, 48px); }
.quote-sm { margin: 0; padding-top: 22px; border-top: 1px solid var(--line); }
.quote-sm blockquote { margin: 0; font: 500 1.08rem/1.55 var(--body); color: var(--ink); letter-spacing: -0.01em; }
.quote-sm cite { display: block; margin-top: 14px; font: 500 .8rem/1.5 var(--mono); font-style: normal; color: var(--ink-3); }
.quote-sm cite strong { font-family: var(--body); color: var(--ink); font-size: .95rem; }

/* industries mapped to where the work happened */
.industries { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 72px); border-top: 1px solid var(--ink); }
.industries li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.industries .ind { font-weight: 600; color: var(--ink); }
.industries .where-co { font: 500 .78rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); text-align: right; }
@media (max-width: 760px) { .industries { grid-template-columns: 1fr; } }

/* email panel revealed after clicking "Email me" */
.contact-links { flex-wrap: wrap; }
.email-panel { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 6px;
  padding: 14px 18px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05);
  animation: moreIn .3s ease both; }
.email-panel .addr { font: 500 1rem/1.3 var(--mono); color: #fff; user-select: all; }
.email-panel .copy { font: 500 .88rem/1 var(--body); cursor: pointer; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; }
.email-panel .copy:hover { border-color: #fff; }
.email-panel .gmail { font: 500 .88rem/1 var(--body); color: var(--red); text-decoration: none; }
.email-panel .gmail:hover { text-decoration: underline; text-underline-offset: 3px; }
/* light pages (about / portfolio / blog footer) */
.contact .email-panel { border-color: var(--line); background: #fff; }
.contact .email-panel .addr, .contact .email-panel .copy { color: var(--ink); }
.contact .email-panel .copy { border-color: var(--line); }
.contact .email-panel .gmail { color: var(--red-ink); }
.industries.industries-only { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.industries.industries-only li { justify-content: flex-start; font-weight: 600; color: var(--ink); }
@media (max-width: 860px) { .industries.industries-only { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .industries.industries-only { grid-template-columns: 1fr; } }
