/* ==========================================================
   Design tokens: change colours and fonts here
   ========================================================== */
:root {
  --ink: #111214;
  --muted: #5d6066;
  --page: #ffffff;
  --surface: #ffffff;
  --soft: #f6f6f4;
  --warm: #fbfaf5;
  --line: #ececea;
  --line-strong: #dfdfdc;
  --accent: #ea580c;
  --accent-ink: #c2410c;
  --accent-soft: #fff1e8;
  --green: #22a06b;
  --on-dark: #ffffff;
  --on-dark-muted: #b9bcc2;
  --line-on-dark: rgba(255, 255, 255, 0.2);

  --ph-bg: #fff1c9;
  --ph-ink: #5f4500;
  --ph-line: #c99a1e;

  --sans: "Be Vietnam Pro", -apple-system, "Segoe UI", Arial, sans-serif;

  --gutter: clamp(16px, 3vw, 32px);
  --section: clamp(48px, 7vw, 88px);
  --radius-outer: 28px;
  --radius-inner: 20px;
  --radius-small: 14px;
  --shadow: 0 1px 2px rgba(17, 18, 20, 0.04), 0 8px 24px rgba(17, 18, 20, 0.05);
}

/* ==========================================================
   Base
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  overflow-wrap: break-word;
}
h1, h2, h3 { margin: 0; font-weight: 600; color: var(--ink); }
h1, h2 { line-height: 1.16; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.125rem; line-height: 1.4; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
strong { font-weight: 600; color: var(--ink); }
svg { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }

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

/* Small label with an orange dot */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; justify-self: start; width: fit-content;
  padding: 5px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
  font-size: 0.8125rem; font-weight: 500; line-height: 1.5; color: var(--ink);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--accent); }
.lede { font-size: clamp(1.0625rem, 1.5vw, 1.2rem); line-height: 1.6; color: var(--muted); }
.section-head {
  display: grid; gap: 14px; justify-items: center; text-align: center;
  max-width: 720px; margin: 0 auto clamp(28px, 4vw, 48px);
}
.section-head .eyebrow { justify-self: center; }

/* Text waiting to be replaced. Delete the span when you fill it in. */
.ph {
  background: var(--ph-bg);
  color: var(--ph-ink);
  border-bottom: 1px dashed var(--ph-line);
  padding: 0.05em 0.25em;
  border-radius: 4px;
  font-weight: 400;
  letter-spacing: 0;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.dark .ph {
  background: rgba(255, 220, 130, 0.16);
  color: #ffe3a1;
  border-bottom-color: #d7ad45;
}

/* Double-border card used for the big blocks */
.frame {
  padding: 10px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-outer); box-shadow: var(--shadow);
}
.frame-inner {
  height: 100%; padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line); border-radius: var(--radius-inner);
  background: linear-gradient(180deg, #ffffff 55%, var(--warm) 100%);
}

/* ==========================================================
   Header and footer
   ========================================================== */
.site-header { position: sticky; top: 12px; z-index: 20; margin-top: 12px; }
.header-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px;
  max-width: 1030px; margin-inline: auto; padding: 10px 12px 10px 14px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none;
  border-radius: 10px; background: var(--accent); color: #fff;
}
.site-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; }
.site-nav a {
  display: inline-block; padding: 6px 10px; border-radius: 10px;
  font-size: 0.9375rem; color: var(--muted); text-decoration: none;
  transition: color .15s, background-color .15s;
}
.site-nav a:hover { color: var(--ink); background: var(--soft); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.site-nav .nav-contact {
  margin-left: 8px; padding: 8px 18px; color: var(--ink); font-weight: 500;
  background: var(--surface); border: 1px solid var(--line-strong); box-shadow: 0 1px 3px rgba(17, 18, 20, 0.1);
}

.site-footer { padding-bottom: 20px; }
.footer-cta {
  display: grid; gap: 24px; justify-items: start;
  padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-outer);
}
.footer-cta h2 { max-width: 18em; }
.footer-meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 20px 8px 0; font-size: 0.875rem; color: var(--muted);
}

/* ==========================================================
   Buttons
   ========================================================== */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 7px 20px;
  border-radius: 13px; border: 1px solid var(--line-strong); background: var(--surface);
  font-size: 0.9375rem; font-weight: 500; text-decoration: none; color: var(--ink);
  transition: background-color .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--soft); }
.btn.primary { padding-right: 8px; background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.primary:hover { background: #2a2c30; }
.btn-arrow {
  display: grid; place-items: center; width: 32px; height: 32px; flex: none;
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 9px;
  transition: transform .15s;
}
.btn:hover .btn-arrow { transform: translateX(2px); }
.dark .btn { background: transparent; border-color: var(--line-on-dark); color: var(--on-dark); }
.dark .btn:hover { background: rgba(255, 255, 255, 0.1); }
.dark .btn.primary { background: #fff; border-color: #fff; color: var(--ink); }
.dark .btn.primary:hover { background: var(--accent-soft); }
.dark .btn.primary .btn-arrow { border-color: var(--line-strong); }

.dark { background: var(--ink); color: var(--on-dark); }
.dark h2 { color: var(--on-dark); }
.dark .eyebrow { background: transparent; border-color: var(--line-on-dark); color: var(--on-dark); }

/* ==========================================================
   Home
   ========================================================== */
.hero { padding-top: clamp(24px, 4vw, 44px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: 20px; }

.portrait {
  aspect-ratio: 4 / 5; display: grid; place-content: center; justify-items: center; gap: 12px;
  padding: 20px; text-align: center; color: #b4b6b9; font-size: 0.875rem;
  background: var(--soft); border-radius: 18px;
}
.portrait-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 36% 50%; display: block; border-radius: 18px; }
.hero-profile .frame-inner { display: flex; flex-direction: column; padding: 14px; }
.hero-profile .portrait, .hero-profile .portrait-img { flex: 1 1 0; height: 0; min-height: 280px; aspect-ratio: auto; }
.hero-profile .profile-row { padding: 0 6px 4px; }
.profile-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.profile-name { font-size: 1.375rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
.profile-role { margin-top: 2px; font-size: 0.9375rem; color: var(--muted); }
.round-btn {
  display: grid; place-items: center; width: 52px; height: 52px; flex: none;
  border: 1px solid var(--line); border-radius: 50%; background: var(--surface);
  box-shadow: 0 1px 3px rgba(17, 18, 20, 0.08); transition: color .15s, border-color .15s;
}
.round-btn:hover { color: var(--accent-ink); border-color: var(--accent); }

.hero-main .frame-inner { display: grid; align-content: center; justify-items: start; gap: 22px; padding: clamp(20px, 3vw, 32px); }
.status {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 8px 6px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font-size: 0.9375rem; line-height: 1.4; text-decoration: none; box-shadow: 0 1px 2px rgba(17, 18, 20, 0.05);
}
.status-dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(34, 160, 107, 0.18); }
.status-arrow { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border: 1px solid var(--line); border-radius: 50%; }
.hero h1 { font-size: clamp(2.15rem, 3.6vw, 2.9rem); line-height: 1.22; }
.h1-line { display: block; }
.h1-accent { color: var(--accent); }
.h1-chip {
  display: inline-grid; place-items: center; vertical-align: -0.16em;
  width: 1.2em; height: 1.2em; margin-inline: 0.06em;
  border: 3px solid #fff; border-radius: 0.3em;
  background: linear-gradient(145deg, #ffd9c2, #ffb48a); color: var(--accent-ink);
  box-shadow: 0 2px 10px rgba(17, 18, 20, 0.16);
}
.h1-chip svg { width: 62%; height: 62%; }
.hero-main .lede { max-width: 42em; }

.worked-with { padding-block: clamp(32px, 4vw, 48px) 0; text-align: center; }
.worked-label { font-size: 0.9375rem; color: var(--muted); }
.worked-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px clamp(28px, 5vw, 64px); margin-top: 12px; }
.worked-list a { font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; color: #8b8e93; text-decoration: none; transition: color .15s; }
.worked-list a:hover { color: var(--ink); }

.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(28px, 4vw, 44px); }
.metric { padding: 20px; background: var(--soft); border-radius: var(--radius-inner); }
.metric-value { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.03em; }
.metric-value .ph { font-size: 1.25rem; }
.metric-label { margin-top: 6px; font-size: 0.875rem; line-height: 1.5; color: var(--muted); }

/* Case cards: home and work pages */
.case-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.case-list > li { display: grid; }
.case-row {
  display: grid; grid-template-rows: auto 1fr auto; gap: 16px; padding: clamp(20px, 2.4vw, 28px);
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow); text-decoration: none;
  transition: transform .18s, border-color .18s;
}
.case-row:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.case-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.case-num {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-ink); font-size: 0.9375rem; font-weight: 600;
}
.case-go {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none;
  border: 1px solid var(--line); border-radius: 50%; transition: background-color .18s, color .18s, border-color .18s;
}
.case-row:hover .case-go { background: var(--ink); border-color: var(--ink); color: #fff; }
.case-title { display: block; font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; }
.case-sector { display: block; margin-top: 8px; font-size: 0.9375rem; color: var(--muted); }
.case-outcome { display: block; padding: 14px 16px; border-radius: var(--radius-small); background: var(--soft); }
.case-result-label { display: block; margin-bottom: 4px; font-size: 0.8125rem; font-weight: 500; color: var(--muted); }
.case-result { display: block; font-size: 0.9375rem; line-height: 1.55; }

/* Capabilities with evidence */
.cap-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cap-row {
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding: 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-inner); box-shadow: var(--shadow);
}
.cap-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); }
.cap-row p { font-size: 0.9375rem; line-height: 1.55; color: var(--muted); }
.cap-link { font-size: 0.9375rem; font-weight: 500; color: var(--accent-ink); text-underline-offset: 3px; }

.think-band { display: grid; gap: 20px; justify-items: start; padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-outer); }
.think-band h2 { max-width: 18em; }

/* ==========================================================
   Page intro
   ========================================================== */
.page-intro { padding-block: clamp(44px, 7vw, 80px) clamp(28px, 4vw, 48px); }
.page-intro .wrap { display: grid; gap: 16px; justify-items: center; text-align: center; }
.page-intro .eyebrow { justify-self: center; }
.page-intro h1 { max-width: 18em; }
.page-intro .lede { max-width: 640px; }

/* Selected work */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.work-item {
  display: grid; gap: 10px; align-content: start; padding: 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-inner); box-shadow: var(--shadow);
}
.work-type {
  justify-self: start; padding: 2px 10px; border-radius: 999px; background: var(--accent-soft);
  font-size: 0.8125rem; font-weight: 500; color: var(--accent-ink);
}
.work-item p { font-size: 0.9375rem; line-height: 1.55; color: var(--muted); }

/* ==========================================================
   How I think
   ========================================================== */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step {
  display: grid; gap: 10px; align-content: start; padding: 22px; counter-increment: step;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-inner); box-shadow: var(--shadow);
}
.step::before {
  content: "0" counter(step); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-ink); font-size: 0.9375rem; font-weight: 600;
}
.step p { font-size: 0.9375rem; line-height: 1.55; color: var(--muted); }

.decision {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px 40px;
  padding: clamp(20px, 3vw, 32px); background: var(--surface);
  border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow);
}
.decision + .decision { margin-top: 16px; }
.decision h3 { font-size: 1.3rem; line-height: 1.35; letter-spacing: -0.02em; }
.decision dl { margin: 0; display: grid; gap: 16px; }
.decision dt { font-size: 0.8125rem; font-weight: 500; color: var(--muted); }
.decision dd { margin: 2px 0 0; }

/* ==========================================================
   About
   ========================================================== */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: 20px; align-items: start; }
.prose { display: grid; gap: 18px; }
.prose-card { padding: clamp(20px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-outer); box-shadow: var(--shadow); }
.timeline { display: grid; gap: 12px; }
.timeline li {
  display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 6px 24px; padding: 22px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-inner);
}
.timeline .dates { font-size: 0.9375rem; color: var(--muted); }
.timeline .role-note { margin-top: 6px; font-size: 0.9375rem; color: var(--muted); }

/* ==========================================================
   Case study
   ========================================================== */
.case-hero { padding-top: clamp(24px, 4vw, 44px); }
.case-hero .frame-inner { display: grid; gap: 18px; justify-items: start; padding: clamp(20px, 4vw, 44px); }
.case-hero h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); max-width: 20em; }
.back-link { font-size: 0.9375rem; color: var(--muted); text-underline-offset: 3px; }
.snapshot {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  width: 100%; margin: 10px 0 0;
}
.snapshot > div { padding: 16px; background: var(--soft); border-radius: var(--radius-small); }
.snapshot dt { font-size: 0.8125rem; font-weight: 500; color: var(--muted); }
.snapshot dd { margin: 4px 0 0; font-size: 0.9375rem; line-height: 1.5; }

.case-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.case-section {
  display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 12px 32px; padding: clamp(20px, 3vw, 32px);
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow);
}
.case-section > h2 { font-size: 1.125rem; line-height: 1.5; letter-spacing: -0.01em; }
.case-section .prose { max-width: 700px; }

.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.result { padding: 16px; background: var(--soft); border-radius: var(--radius-small); }
.result h3 { font-size: 1rem; }
.result-note { margin-bottom: 10px; font-size: 0.8125rem; color: var(--muted); }
.result p:last-child { font-size: 0.9375rem; line-height: 1.55; }

.samples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sample {
  aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 16px; margin: 0; text-align: center;
  background: var(--ph-bg); border: 1px dashed var(--ph-line); border-radius: var(--radius-small);
  color: var(--ph-ink); font-size: 0.875rem; line-height: 1.5;
}

.next-case { padding-bottom: var(--section); }
.next-case a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: clamp(20px, 3vw, 32px);
  background: var(--soft); border-radius: 24px; text-decoration: none;
}
.next-case a:hover .case-go { background: var(--ink); border-color: var(--ink); color: #fff; }
.next-case .case-go { background: var(--surface); }
.next-title { display: block; margin-top: 8px; font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; }

/* ==========================================================
   Contact
   ========================================================== */
.contact-list { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.contact-list a {
  display: grid; grid-template-columns: 110px minmax(0, 1fr) 42px; gap: 4px 20px; align-items: center;
  padding: 18px 20px 18px 24px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-inner); box-shadow: var(--shadow); text-decoration: none;
}
.contact-list a:hover .case-go { background: var(--ink); border-color: var(--ink); color: #fff; }
.contact-label { font-size: 0.9375rem; color: var(--muted); }
.contact-value { min-width: 0; font-size: clamp(1.0625rem, 2.2vw, 1.375rem); font-weight: 600; line-height: 1.35; letter-spacing: -0.02em; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-main { order: -1; }
  .hero-profile .frame-inner { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; align-items: center; }
  .hero-profile .profile-row { margin-top: 0; }
  .hero-profile .portrait, .hero-profile .portrait-img { flex: none; height: auto; min-height: 0; aspect-ratio: 1 / 1; }
  .cap-list, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .snapshot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-section, .decision { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .site-header { position: static; }
  .case-list, .cap-list, .steps, .work-grid, .results, .samples, .about-grid { grid-template-columns: minmax(0, 1fr); }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portrait, .portrait-img { max-width: 280px; }
  .timeline li { grid-template-columns: minmax(0, 1fr); }
  .contact-list a { grid-template-columns: minmax(0, 1fr) 42px; }
  .contact-label { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .hero-profile .frame-inner { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .hero-profile .portrait { padding: 8px; font-size: 0.75rem; }
  .hero-profile .portrait svg { display: none; }
  .round-btn { width: 44px; height: 44px; }
  .hero-profile .profile-row { flex-wrap: wrap; }
  .profile-name { font-size: 1.125rem; }
  .profile-role { font-size: 0.875rem; }
  .snapshot { grid-template-columns: minmax(0, 1fr); }
  .site-nav ul { gap: 2px; }
  .site-nav a { padding-inline: 6px; font-size: 0.8125rem; }
  .site-nav .nav-contact { margin-left: 2px; padding: 5px 10px; }
  .hero-main .frame-inner { padding: 16px; }
  .hero h1 { font-size: clamp(1.6rem, 8.2vw, 2.15rem); }
}
/* ==========================================================
   Case study components
   ========================================================== */
.case-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 6vw, 72px); padding-block: clamp(40px, 6vw, 64px); }
.block { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; scroll-margin-top: 96px; }
.block-head { display: grid; gap: 10px; max-width: 760px; }
.block-head h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.25; letter-spacing: -0.025em; }
.block-intro { color: var(--muted); }
.note { margin-top: 14px; font-size: 0.875rem; line-height: 1.55; color: var(--muted); }

.case-hero .lede { max-width: 46em; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.jump a {
  display: inline-block; padding: 5px 13px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--surface); font-size: 0.875rem; text-decoration: none; transition: background-color .15s;
}
.jump a:hover { background: var(--soft); }

/* Hero numbers */
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kpi { padding: 20px; background: var(--soft); border-radius: var(--radius-inner); }
.kpi-value { font-size: clamp(1.65rem, 2.8vw, 2.25rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.03em; }
.kpi-label { margin-top: 6px; font-size: 0.9375rem; font-weight: 500; line-height: 1.4; }
.kpi-note { margin-top: 4px; font-size: 0.8125rem; line-height: 1.45; color: var(--muted); }

/* Paired cards */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pair.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pair-card { display: grid; gap: 8px; align-content: start; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-inner); box-shadow: var(--shadow); }
.pair-card p { color: var(--muted); font-size: 0.9375rem; }
.pair-who { font-size: 0.8125rem; font-weight: 500; color: var(--accent-ink); }
.pair-card .pair-quote { font-size: clamp(1.0625rem, 1.8vw, 1.25rem); font-weight: 600; line-height: 1.4; letter-spacing: -0.015em; color: var(--ink); }

/* Phases */
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.phase { display: grid; gap: 6px; align-content: start; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius-inner); box-shadow: var(--shadow); }
.phase-step { font-size: 0.8125rem; font-weight: 500; color: var(--accent-ink); }
.phase-date { font-size: 0.875rem; color: var(--muted); }
.phase-goal { margin-top: 6px; font-size: 0.9375rem; font-weight: 500; line-height: 1.5; }
.phase ul { display: grid; gap: 6px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.phase li { position: relative; padding-left: 14px; font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }
.phase li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* Content plays */
.play-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.play { display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 10px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-inner); box-shadow: var(--shadow); }
.play-kicker { font-size: 0.8125rem; font-weight: 500; color: var(--accent-ink); }
.play > p { font-size: 0.9375rem; line-height: 1.55; color: var(--muted); }
.play-nums { display: flex; flex-wrap: wrap; gap: 12px 20px; padding-block: 12px; border-block: 1px solid var(--line); }
.play-num { display: block; font-size: 1.25rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
.play-unit { display: block; font-size: 0.8125rem; color: var(--muted); }
.play-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.chip { display: inline-block; padding: 3px 11px; border-radius: 999px; background: var(--accent-soft); font-size: 0.8125rem; font-weight: 500; line-height: 1.5; color: var(--accent-ink); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip-list .chip { background: var(--soft); color: var(--ink); font-size: 0.9375rem; }

/* Bars: one hue, every value labelled */
.bars { display: grid; gap: 14px; padding: clamp(18px, 3vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-inner); box-shadow: var(--shadow); }
.bar-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) 92px; gap: 8px 16px; align-items: center; }
.bar-label { font-size: 0.9375rem; line-height: 1.4; }
.bar-label a { text-underline-offset: 3px; }
.bar-track { display: block; height: 10px; background: var(--soft); border-radius: 4px; }
.bar-fill { display: block; height: 100%; min-width: 4px; background: var(--accent); border-radius: 4px; }
.bar-value { font-size: 0.9375rem; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

/* Detail lists */
.detail-list { display: grid; gap: 12px; }
.detail-list.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-list li { padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-inner); }
.detail-list p { margin-top: 4px; font-size: 0.9375rem; line-height: 1.55; color: var(--muted); }

/* Outputs, audience, business */
.outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.outcome { padding: 20px; background: var(--soft); border-radius: var(--radius-inner); }
.outcome-note { margin-bottom: 12px; font-size: 0.8125rem; color: var(--muted); }
.outcome ul { display: grid; gap: 8px; }
.outcome li { font-size: 0.9375rem; line-height: 1.5; }

/* Funnel: equal steps, the conversion rate carries the ratio */
.funnel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.funnel-step { position: relative; display: grid; gap: 2px; align-content: center; min-height: 128px; padding: 22px; background: var(--accent-soft); border-radius: var(--radius-inner); }
.funnel-step:last-child { background: var(--accent); color: #fff; }
.funnel-value { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.03em; }
.funnel-label { font-size: 0.9375rem; font-weight: 500; }
.funnel-rate { justify-self: start; margin-bottom: 6px; padding: 2px 10px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 0.8125rem; font-weight: 500; }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: pr; }
.process li { counter-increment: pr; display: grid; gap: 6px; align-content: start; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-inner); }
.process li::before { content: counter(pr); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); font-size: 0.875rem; font-weight: 600; }
.process p { font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }
.spaced { margin-top: 14px; }

/* Links */
.link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.link-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-small); text-decoration: none; transition: border-color .15s; }
.link-card:hover { border-color: var(--line-strong); }
.link-card:hover .case-go { background: var(--ink); border-color: var(--ink); color: #fff; }
.link-card .case-go { width: 36px; height: 36px; }
.link-type { display: block; font-size: 0.8125rem; color: var(--muted); }
.link-label { display: block; margin-top: 2px; font-size: 0.9375rem; font-weight: 500; line-height: 1.4; }

/* Home additions */
.proof-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: clamp(28px, 4vw, 44px); text-align: center; }
.proof-strip .worked-list a, .proof-strip .worked-list li { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); font-weight: 600; letter-spacing: -0.02em; color: #6f7277; }
.proof-strip .worked-list { gap: 6px 22px; }
.proof-strip a:hover { color: var(--ink); }
.journey { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-bottom: 20px; background: var(--soft); border-radius: var(--radius-inner); }
.journey li { display: grid; gap: 2px; padding: 16px 20px; font-size: 0.9375rem; line-height: 1.45; color: var(--muted); }
.journey li + li { border-left: 2px solid var(--page); }
.journey strong { font-size: 1.0625rem; }
.journey-org { font-size: 0.8125rem; font-weight: 500; color: var(--accent-ink); }
.case-list.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case-problem { display: block; margin-top: 10px; font-size: 0.9375rem; line-height: 1.55; color: var(--muted); }
.case-list.three .case-sector { margin: 0 0 6px; }
.cap-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* How I think */
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.principle { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-inner); box-shadow: var(--shadow); }
.principle h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.principle > p { color: var(--muted); font-size: 0.9375rem; line-height: 1.6; }
.principle-proof { display: block; padding: 12px 14px; background: var(--soft); border-radius: var(--radius-small); font-size: 0.9375rem; line-height: 1.5; text-decoration: none; }
.principle-proof:hover { background: var(--accent-soft); }

/* Capability matrix */
.matrix-wrap { padding: clamp(10px, 2vw, 20px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-inner); box-shadow: var(--shadow); }
.matrix { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.matrix th { font-weight: 500; text-align: left; line-height: 1.4; }
.matrix thead th { padding: 10px; font-size: 0.8125rem; color: var(--muted); }
.matrix thead th:not(:first-child), .matrix td { width: 18%; text-align: center; }
.matrix tbody tr + tr > * { border-top: 1px solid var(--line); }
.matrix tbody th, .matrix td { padding: 12px 10px; }
.dot-yes, .dot-no { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: middle; }
.dot-yes { background: var(--accent); }
.dot-no { background: var(--soft); }

/* Case hero: title beside a click-to-play company video */
.case-hero-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: center; width: 100%; }
.case-hero-text { display: grid; gap: 18px; justify-items: start; }
.hero-video { display: grid; gap: 10px; margin: 0; }
.hero-video figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; font-size: 0.875rem; line-height: 1.45; }
.hero-video figcaption strong { font-weight: 500; }
.hero-video figcaption span { color: var(--muted); }
.vcredit {
  position: absolute; left: 12px; bottom: 12px; padding: 4px 11px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 0.8125rem; font-weight: 500; line-height: 1.4;
}
.media-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .case-hero-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .media-grid.two { grid-template-columns: minmax(0, 1fr); }
}

/* Video covers: the player loads only after a click */
.vthumb { position: relative; display: block; overflow: hidden; border-radius: var(--radius-small); background: var(--ink); }
.vthumb.portrait { aspect-ratio: 9 / 14; padding: 0; } /* .portrait is also the home photo frame; drop its padding here */
.vthumb.wide { aspect-ratio: 16 / 9; }
.vthumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.vthumb:hover img { transform: scale(1.03); }
.vplay {
  position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 52px; height: 52px;
  transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255, 255, 255, 0.94); color: var(--ink);
  box-shadow: 0 4px 16px rgba(17, 18, 20, 0.35); transition: background-color .15s, color .15s;
}
.vthumb:hover .vplay { background: var(--accent); color: #fff; }

.play-grid.videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.play.has-video { grid-template-columns: 150px minmax(0, 1fr); grid-template-rows: none; gap: 18px; align-items: start; }
.play-body { display: grid; gap: 10px; align-content: start; min-width: 0; }
.play-body > p { font-size: 0.9375rem; line-height: 1.55; color: var(--muted); }

.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.media-card { display: grid; grid-template-rows: auto 1fr; gap: 12px; padding: 10px 10px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-inner); box-shadow: var(--shadow); }
.media-text { display: grid; gap: 4px; align-content: start; padding-inline: 8px; }
.media-text p { font-size: 0.875rem; line-height: 1.5; color: var(--muted); }
.media-text .cap-link { margin-top: 4px; }

.video-feature { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; align-items: center; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-inner); box-shadow: var(--shadow); }
.video-feature .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.vmodal { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; background: rgba(10, 11, 13, 0.86); }
.vmodal[hidden] { display: none; }
.vmodal-frame { overflow: hidden; border-radius: var(--radius-small); background: #000; }
.vmodal-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.vmodal-frame.wide { width: min(92vw, 1080px); aspect-ratio: 16 / 9; }
.vmodal-frame.portrait { height: min(82vh, 760px); aspect-ratio: 9 / 16; max-width: 92vw; }
.vmodal-close {
  position: absolute; right: 16px; top: 16px; z-index: 1; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: #fff; color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.vmodal-link { display: block; margin-top: 10px; font-size: 0.875rem; text-align: center; color: #fff; }

@media (max-width: 960px) {
  .play-grid.videos { grid-template-columns: minmax(0, 1fr); }
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .media-grid { grid-template-columns: minmax(0, 1fr); }
  .video-feature { grid-template-columns: 150px minmax(0, 1fr); gap: 14px; }
  .video-feature .kpi-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .video-feature .kpi { padding: 10px 12px; }
}
@media (max-width: 480px) {
  .play.has-video { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .vplay { width: 40px; height: 40px; }
  .video-feature { grid-template-columns: minmax(0, 1fr); }
  .video-feature .vthumb { max-width: 240px; }
  .play-nums { gap: 8px 14px; }
}

@media (max-width: 960px) {
  .kpi-grid, .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phases, .case-list.three, .outcomes, .pair.three { grid-template-columns: minmax(0, 1fr); }
  .play-grid, .link-grid, .cap-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .pair, .detail-list.two, .play-grid, .link-grid, .cap-list, .principles, .proof-strip, .journey { grid-template-columns: minmax(0, 1fr); }
  .journey li + li { border-left: 0; border-top: 2px solid var(--page); }
  .bar-row { grid-template-columns: minmax(0, 1fr) 88px; }
  .bar-label { grid-column: 1 / -1; }
  .matrix thead th, .matrix tbody th, .matrix td { padding-inline: 4px; }
  .matrix { font-size: 0.875rem; }
  .matrix thead th:not(:first-child), .matrix td { width: 16%; }
}
@media (max-width: 480px) {
  .kpi { padding: 14px; }
  .funnel { grid-template-columns: minmax(0, 1fr); }
  .funnel-step { min-height: 0; padding: 16px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.inline-link { text-underline-offset: 3px; color: var(--ink); }

.tools-list { justify-content: center; max-width: 760px; margin-inline: auto; }

/* Short headings inside the About story */
.p-title { display: block; margin-bottom: 0.25em; color: var(--ink); font-size: 1rem; font-weight: 600; }

/* A row of three key numbers fills the width instead of leaving a gap */
@media (min-width: 600px) {
  .kpi-grid:has(> .kpi:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .kpi-grid > .kpi:nth-child(3):last-child { grid-column: 1 / -1; }
}
@media (min-width: 721px) {
  .funnel:has(> .funnel-step:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* KOL video grid inside case studies */
#kol .detail-list + .kpi-grid { margin-top: 14px; }
.kol-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(138px, 1fr)); gap: 14px; margin: 14px 0 0; padding: 0; list-style: none; }
.kol { display: grid; gap: 10px; align-content: start; min-width: 0; }
.kol .vplay { width: 40px; height: 40px; }
.kol-body h3 { font-size: 0.9375rem; font-weight: 600; line-height: 1.3; }
.kol-meta { margin-top: 2px; font-size: 0.8125rem; color: var(--muted); }
.kol-views { margin-top: 4px; font-size: 0.8125rem; color: var(--muted); }
.kol-views strong { font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
#kol .note { margin-top: 16px; }

/* ==========================================================
   Polish layer (11/2026): warmer page, more depth, better rhythm.
   Everything below refines the rules above; delete this block to roll back.
   ========================================================== */
:root {
  --page: #faf9f6;
  --soft: #f3f2ee;
  --shadow: 0 1px 2px rgba(17, 18, 20, 0.04), 0 10px 30px -12px rgba(17, 18, 20, 0.12);
  --shadow-hover: 0 2px 4px rgba(17, 18, 20, 0.05), 0 22px 44px -18px rgba(17, 18, 20, 0.22);
  --accent-grad: linear-gradient(100deg, #e4520a 0%, #f97316 55%, #fb923c 100%);
}
::selection { background: #ffd8bf; color: var(--ink); }
h1, h2, h3, .case-title, .profile-name { text-wrap: balance; }
p, li { text-wrap: pretty; }
.metric-value, .kpi-value, .play-num, .funnel-value, .bar-value { font-variant-numeric: tabular-nums; }

/* Soft orange glow behind the top of every page */
body { position: relative; }
body::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 720px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(560px 320px at 82% 40px, rgba(249, 115, 22, 0.13), transparent 70%),
    radial-gradient(520px 300px at 8% 0, rgba(251, 191, 36, 0.10), transparent 70%);
}

/* Header: a touch more glass */
.header-row { background: rgba(255, 255, 255, 0.78); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.site-nav a[aria-current="page"] { background: var(--soft); }
.site-nav .nav-contact { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 6px 16px -8px rgba(17, 18, 20, 0.6); }
.site-nav .nav-contact:hover { background: #2a2c30; color: #fff; }

/* Hero */
.h1-accent { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.06em; }
.frame { box-shadow: var(--shadow); }
.hero-profile .portrait-img { box-shadow: inset 0 0 0 1px rgba(17, 18, 20, 0.06); }

/* Key numbers: white cards with an orange tick */
.metric {
  position: relative; padding: 22px 22px 20px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.metric::before { content: ""; position: absolute; left: 22px; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent-grad); }

/* Press and brand strip sits in a quiet panel */
.proof-strip {
  padding: 22px clamp(16px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius-inner);
  background: rgba(255, 255, 255, 0.6);
}
.proof-strip > div + div { border-left: 1px solid var(--line); }
.worked-label { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }

/* Cards lift and glow on hover */
.case-row, .cap-row, .link-card, .play, .media-card, .principle, .work-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.case-row:hover, .link-card:hover, .work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #f3c6a8; }
.cap-row:hover, .principle:hover { box-shadow: var(--shadow-hover); border-color: #f3c6a8; }
.case-row:hover .case-go, .link-card:hover .case-go { background: var(--accent); border-color: var(--accent); color: #fff; }
.case-outcome { background: linear-gradient(180deg, var(--soft), #f7f6f2); border: 1px solid var(--line); }
.cap-icon, .case-num { background: linear-gradient(145deg, #fff4ec, #ffe1cc); box-shadow: inset 0 0 0 1px #ffd6bc; }

/* "How I think" band: warm card instead of a second black block */
.think-band {
  position: relative; overflow: hidden; color: var(--ink);
  background: linear-gradient(135deg, #fff6ef 0%, #ffe9da 100%);
  border: 1px solid #ffd9c0;
}
.think-band::after {
  content: "\201C"; position: absolute; right: clamp(16px, 4vw, 48px); top: 0.02em;
  font-size: clamp(9rem, 18vw, 15rem); font-weight: 700; line-height: 1; color: rgba(234, 88, 12, 0.14); pointer-events: none;
}
.think-band h2 { position: relative; max-width: 16em; }

/* Footer call to action: dark with a warm light */
.footer-cta { position: relative; overflow: hidden; }
.footer-cta::before {
  content: ""; position: absolute; inset: auto -10% -60% auto; width: 560px; height: 420px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(249, 115, 22, 0.35), transparent);
}
.footer-cta > * { position: relative; }

/* Case studies: section titles get an orange marker */
.block-head h2 { position: relative; }
.case-stack > .block + .block { padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line); }
.case-stack { gap: clamp(40px, 5vw, 56px); }

/* Gentle reveal while scrolling (only when JavaScript runs and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
  .js-reveal .reveal.in { opacity: 1; transform: none; }
}

/* Phones: header becomes two tidy rows, the menu scrolls sideways */
@media (max-width: 720px) {
  .header-row { padding: 10px; gap: 8px; border-radius: 16px; }
  .site-nav { width: 100%; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav ul { flex-wrap: nowrap; gap: 4px; padding-right: 24px; }
  .site-nav a { white-space: nowrap; padding: 6px 10px; font-size: 0.875rem; }
  .site-nav .nav-contact { margin-left: 2px; padding: 6px 14px; }
  .proof-strip > div + div { border-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
  .think-band::after { font-size: 8rem; }
}

/* ==========================================================
   Home v2 (11/2026): fewer words, more pictures.
   ========================================================== */
.hero2 { padding-block: clamp(32px, 6vw, 72px) clamp(40px, 6vw, 72px); }
.hero2-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero2-copy { display: grid; justify-items: start; gap: 24px; }
.hero2-copy h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); line-height: 1.08; letter-spacing: -0.04em; }
.hero2-copy .lede { max-width: 34em; }

.hero2-visual { position: relative; padding: 28px 0 28px 28px; }
.hero2-photo {
  display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 38% 30%;
  border-radius: 32px; box-shadow: 0 30px 60px -30px rgba(17, 18, 20, 0.45);
}
.hero2-visual::before {
  content: ""; position: absolute; inset: 0 28px 56px 0; z-index: -1; border-radius: 36px;
  background: linear-gradient(150deg, #ffd7bd, #ffefe3 60%, transparent);
}
.hero-chip {
  position: absolute; display: grid; gap: 2px; max-width: 210px; padding: 12px 16px;
  background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 18px;
  box-shadow: 0 16px 36px -16px rgba(17, 18, 20, 0.35);
}
.hero-chip-value { font-size: 1.5rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hero-chip-label { font-size: 0.8125rem; line-height: 1.35; color: var(--muted); }
.chip-1 { top: 4%; left: -6%; }
.chip-2 { top: 26%; right: -5%; }
.chip-3 { bottom: 24%; left: -8%; }
.chip-4 { bottom: 2%; right: 4%; }
.chip-1 .hero-chip-value, .chip-4 .hero-chip-value { color: var(--accent-ink); }
@media (prefers-reduced-motion: no-preference) {
  .hero-chip { animation: chip-float 6s ease-in-out infinite; }
  .chip-2 { animation-delay: -1.5s; } .chip-3 { animation-delay: -3s; } .chip-4 { animation-delay: -4.5s; }
  @keyframes chip-float { 50% { transform: translateY(-6px); } }
}

/* Press and brand ticker */
.ticker { padding: 22px 0 26px; background: var(--ink); color: #fff; overflow: hidden; }
.ticker-label { margin-bottom: 14px; text-align: center; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); }
.ticker-track { display: flex; width: max-content; }
.ticker-run { display: flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; }
.ticker-item { font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 600; letter-spacing: -0.02em; color: #fff; text-decoration: none; }
.ticker-item.muted { color: #ffb48a; }
a.ticker-item:hover { color: #ffb48a; }
.ticker-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: ticker 40s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
  @keyframes ticker { to { transform: translateX(-50%); } }
}

/* Case studies as picture cards: one large, two stacked */
.case-bento { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.case-bento > li:first-child { grid-row: span 2; }
.case-card {
  position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow);
  text-decoration: none; transition: transform .25s ease, box-shadow .25s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.case-media { position: relative; display: block; flex: 1 1 auto; min-height: 200px; overflow: hidden; background: var(--ink); }
.case-bento > li:first-child .case-media { min-height: 380px; }
.case-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case-bento > li:nth-child(3) .case-media img { object-position: 50% 25%; }
.case-card:hover .case-media img { transform: scale(1.04); }
.case-badge {
  position: absolute; left: 16px; top: 16px; padding: 4px 12px; border-radius: 999px;
  background: rgba(17, 18, 20, 0.7); color: #fff; font-size: 0.8125rem; font-weight: 600; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.case-arrow {
  position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; background: #fff; color: var(--ink); transition: background-color .2s, color .2s, transform .2s;
}
.case-card:hover .case-arrow { background: var(--accent); color: #fff; transform: rotate(45deg); }
.case-info { display: grid; gap: 6px; padding: 20px 22px 22px; }
.case-meta { font-size: 0.875rem; color: var(--muted); }
.case-name { font-size: clamp(1.2rem, 1.9vw, 1.5rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; text-wrap: balance; }
.case-stat { margin-top: 6px; font-size: 0.9375rem; color: var(--muted); }
.case-stat strong { margin-right: 4px; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Vertical video strip */
.reels-section { background: linear-gradient(180deg, transparent, #f3efe8 18%, #f3efe8 82%, transparent); }
.reels { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.reel.vthumb { aspect-ratio: 9 / 16; border-radius: 20px; box-shadow: 0 18px 36px -20px rgba(17, 18, 20, 0.5); }
.reel.vthumb::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.78)); pointer-events: none; }
.reel .vplay { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.reel-info { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; display: grid; gap: 2px; color: #fff; }
.reel-brand { justify-self: start; padding: 2px 9px; border-radius: 999px; background: var(--accent); font-size: 0.75rem; font-weight: 600; }
.reel-views { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.85); }
.reel-views strong { display: block; color: #fff; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }

/* Skills: icon + name only */
.skills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.skill {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; height: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.skill:hover { border-color: #f3c6a8; box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.skill-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: linear-gradient(145deg, #fff4ec, #ffe1cc); color: var(--accent-ink); }
.skill-name { flex: 1; font-weight: 600; line-height: 1.35; }
.skill-go { color: #b9bcc2; transition: color .2s; }
.skill:hover .skill-go { color: var(--accent); }

@media (max-width: 960px) {
  .hero2-grid { grid-template-columns: minmax(0, 1fr); }
  .hero2-visual { max-width: 520px; width: 100%; margin-inline: auto; }
  .reels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .case-bento { grid-template-columns: minmax(0, 1fr); }
  .case-bento > li:first-child { grid-row: auto; }
  .case-bento > li:first-child .case-media, .case-media { min-height: 220px; }
  .reels { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; scrollbar-width: none; }
  .reels::-webkit-scrollbar { display: none; }
  .reels > li { flex: 0 0 46%; scroll-snap-align: start; }
  .skills { grid-template-columns: minmax(0, 1fr); }
  .hero2-visual { padding: 0; }
  .hero-chip { position: static; max-width: none; animation: none; }
  .hero2-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero2-photo { grid-column: 1 / -1; aspect-ratio: 1 / 1; }
  .hero2-visual::before { display: none; }
}

/* Intro paragraphs break into even lines */
.page-intro .lede { text-wrap: balance; }
/* A heading made of two sentences: each sentence keeps its own line */
.page-intro h1.h1-lines { max-width: none; }
.h1-lines > span { display: block; text-wrap: balance; }
.page-intro .lede.lede-wide { max-width: 880px; text-wrap: pretty; }

/* "How I think" band: centred, one-line heading on wide screens */
.think-band { justify-items: center; text-align: center; }
.think-band h2 { max-width: none; }
.think-band .eyebrow { justify-self: center; }
.think-band::after { left: 50%; right: auto; transform: translateX(-50%); top: -0.18em; font-size: clamp(7rem, 12vw, 10rem); }

/* Footer call to action: centred like the band above, one sentence per line */
.footer-cta { justify-items: center; text-align: center; }
.footer-cta h2 { max-width: none; }
.footer-cta .actions { justify-content: center; }
.footer-cta::before { inset: auto auto -70% 50%; transform: translateX(-50%); }
.footer-meta { justify-content: center; }
.think-band { padding-top: clamp(84px, 9vw, 104px); }
.think-band::after { top: 18px; font-size: 6rem; line-height: 1; }

/* Home heading: name on line one, role on line two */
.hero2-copy h1.hero-name { font-size: clamp(2.1rem, 3.6vw, 3.25rem); text-wrap: wrap; }
.hero-name .h1-first { white-space: nowrap; }
@media (max-width: 720px) { .hero2-copy h1.hero-name { font-size: 8.2vw; } }

/* KOL videos: one sliding row (5 on desktop, about 2.5 on phones) with arrows at both ends */
.kol-carousel { position: relative; margin-top: 14px; }
.kol-carousel .kol-grid {
  margin: 0; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 14px) / 5);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none;
}
.kol-carousel .kol-grid::-webkit-scrollbar { display: none; }
.kol-carousel .kol { scroll-snap-align: start; }
.kol-nav {
  position: absolute; top: calc(50% - 24px); z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: var(--surface, #fff); color: var(--ink); cursor: pointer;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.35); transform: translateY(-50%); transition: opacity 0.2s, color 0.2s, border-color 0.2s;
}
.kol-nav.prev { left: -21px; }
.kol-nav.next { right: -21px; }
.kol-nav:hover { border-color: var(--accent); color: var(--accent); }
.kol-nav:disabled { opacity: 0; pointer-events: none; }
@media (max-width: 720px) {
  .kol-carousel .kol-grid { gap: 10px; grid-auto-columns: 40%; }
  .kol-nav { width: 36px; height: 36px; }
  .kol-nav.prev { left: -8px; }
  .kol-nav.next { right: -8px; }
}

/* Case sections: headings and intros use the full content width instead of a narrow column */
.case-stack .block-head { max-width: none; }
.case-stack .block-head h2 { text-wrap: pretty; }
.case-stack .block-intro { text-wrap: pretty; }

/* Rows always fill the width: no half-empty KPI rows, no lone card on the last row of link cards */
.kpi-grid:has(> .kpi:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 961px) {
  .link-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .link-grid > * { grid-column: span 2; }
  /* 4 cards: two rows of two */
  .link-grid:has(> :nth-child(4):last-child) > * { grid-column: span 3; }
  /* two left over: they share the last row */
  .link-grid > :nth-child(3n+1):nth-last-child(2),
  .link-grid > :nth-child(3n+1):nth-last-child(2) ~ * { grid-column: span 3; }
  /* one left over: it takes the whole row */
  .link-grid:not(:has(> :nth-child(4):last-child)) > :nth-child(3n+1):last-child { grid-column: 1 / -1; }
}
@media (min-width: 721px) and (max-width: 960px) {
  .link-grid > :nth-child(odd):last-child { grid-column: 1 / -1; }
}

/* Case pages: clear hierarchy. Chapters (.chapter) > sections (.lv2) > sub-sections (.lv3) */
.case-stack:has(> .block.chapter) { gap: 0; }
.case-stack:has(> .block.chapter) > .block,
.case-stack:has(> .block.chapter) > .block + .block { border-top: 0; padding-top: clamp(36px, 4.5vw, 52px); }
.case-stack:has(> .block.chapter) > .block:first-child { padding-top: 0; }
.case-stack > .block.chapter { margin-top: clamp(40px, 6vw, 72px); padding-top: clamp(32px, 4vw, 44px); border-top: 2px solid var(--ink); }
.block.chapter .block-head { gap: 12px; }
.ch-row { display: flex; align-items: center; gap: 12px; }
.ch-num { font-family: var(--mono, inherit); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1; letter-spacing: -0.04em; color: var(--accent); }
.block.chapter .block-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); line-height: 1.15; }
.block.chapter .eyebrow { background: var(--accent-soft); border-color: var(--accent-line, #fbd3bb); color: var(--accent-ink); }
.block.chapter .eyebrow::before { background: var(--accent); }
.case-stack > .block.lv2 { padding-left: 28px; border-left: 2px solid var(--accent-line, #fbd3bb); }
.block.lv2 .block-head h2 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }
.case-stack > .block.lv3 {
  padding-left: 56px; border-left: 2px solid var(--accent-line, #fbd3bb);
  background: linear-gradient(var(--line-strong), var(--line-strong)) 26px 0 / 2px 100% no-repeat;
}
.block.lv3 .block-head h2 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }
.block.lv2 .eyebrow, .block.lv3 .eyebrow { background: transparent; border-color: transparent; padding-left: 0; color: var(--accent-ink); }
.block.lv3 .eyebrow::before { background: var(--muted); box-shadow: none; }
@media (max-width: 720px) {
  .case-stack > .block.lv2 { padding-left: 16px; }
  .case-stack > .block.lv3 { padding-left: 32px; background-position: 14px 0; }
}

/* single-line page title */
.page-intro h1.h1-one { max-width: none; font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
@media (min-width: 721px) { .page-intro h1.h1-one { white-space: nowrap; } }

/* Desktop-only line break */
.br-wide { display: none; }
@media (min-width: 721px) { .br-wide { display: inline; } }
