/* ============================================================
   Yosuke Shinto · Principal of UX — Apple-product-style portfolio
   ============================================================ */

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

:root {
  /* color */
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --hairline: #d2d2d7;
  --blue: #0071e3;
  --blue-link: #06c;
  --blue-dark: #2997ff;
  /* dark sections */
  --d-bg: #000000;
  --d-bg-2: #101012;
  --d-ink: #f5f5f7;
  --d-ink-2: #a1a1a6;
  --d-hairline: #2c2c2e;
  /* layout */
  --content: 1040px;
  --text: 720px;
  --wide: 1240px;
  --nav-h: 52px;
  --radius: 20px;
  --radius-sm: 14px;
  /* motion */
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "Inter", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(0, 113, 227, 0.18); }

img { display: block; max-width: 100%; }
a { color: var(--blue-link); text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* ---------- page fade transition ---------- */
body { opacity: 0; transition: opacity 0.45s var(--ease); }
body.page-in { opacity: 1; }
body.page-exit { opacity: 0; transition: opacity 0.28s ease; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body, body.page-exit { opacity: 1 !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- type scale ---------- */
.display {
  font-size: clamp(44px, 6.5vw, 92px);
  line-height: 1.03;
  letter-spacing: -0.018em;
  font-weight: 700;
}
.headline {
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  font-weight: 700;
}
.title {
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.lead {
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.42;
  letter-spacing: 0.002em;
  font-weight: 400;
  color: var(--ink-2);
}
.eyebrow {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-link);
  margin-bottom: 18px;
}
.grad-text {
  background: linear-gradient(96deg, #0090f7 0%, #4f6df5 38%, #a44ff0 72%, #f04f9c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="2"] { transition-delay: 0.1s; }
[data-reveal="3"] { transition-delay: 0.2s; }
[data-reveal="4"] { transition-delay: 0.3s; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  background: rgba(251, 251, 253, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: background 0.3s ease;
}
.nav.on-dark { background: rgba(10, 10, 12, 0.6); }
.nav-inner {
  max-width: var(--content); height: 100%; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav-brand em { font-style: normal; font-weight: 400; color: var(--ink-3); }
.nav.on-dark .nav-brand { color: var(--d-ink); }
.nav.on-dark .nav-brand em { color: var(--d-ink-2); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 13px; font-weight: 400; color: var(--ink); opacity: 0.82;
  transition: opacity 0.2s ease;
}
.nav.on-dark .nav-links a { color: var(--d-ink); }
.nav-links a:hover { opacity: 1; }
.nav-cta {
  font-size: 13px !important; font-weight: 500;
  background: var(--blue); color: #fff !important; opacity: 1 !important;
  padding: 6px 16px; border-radius: 999px;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: #0077ed; }

/* ---------- hamburger menu ---------- */
.menu-btn {
  width: 36px; height: 36px; border: none; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  border-radius: 8px; padding: 0;
}
.menu-btn span {
  display: block; width: 18px; height: 1.5px; border-radius: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s ease, background 0.3s ease;
}
.nav.on-dark .menu-btn span { background: var(--d-ink); }
.menu-open .menu-btn span { background: var(--ink) !important; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.menu-overlay {
  position: fixed; inset: 0; z-index: 460;
  background: rgba(251, 251, 253, 0.88);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  overflow-y: auto;
}
.menu-open .menu-overlay { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.menu-open .nav { background: transparent; }
.menu-open .nav .nav-brand, .menu-open .nav .nav-links a:not(.nav-cta) { color: var(--ink); }

.menu-inner {
  max-width: var(--content); margin: 0 auto;
  padding: calc(var(--nav-h) + 44px) 24px 64px;
  display: flex; flex-direction: column; gap: 4px; align-items: flex-start;
}
.menu-link {
  font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.015em;
  color: var(--ink); padding: 6px 0; line-height: 1.2;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.2s ease;
}
.menu-open .menu-link { opacity: 1; transform: translateY(0); }
a.menu-link:hover { color: var(--blue-link); }
.menu-link em {
  font-style: normal; font-size: 14px; font-weight: 600; color: var(--ink-3);
  margin-right: 16px; letter-spacing: 0.06em;
}
.menu-link.sub { font-size: clamp(21px, 3vw, 30px); font-weight: 600; }
.menu-link.coming { color: var(--ink-3); cursor: default; }
.menu-link.coming .soon {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-2);
  background: rgba(0, 0, 0, 0.05); border: 1px solid var(--hairline);
  border-radius: 999px; padding: 4px 12px; margin-left: 14px; vertical-align: middle;
}
.menu-group {
  margin-top: 30px; padding-bottom: 6px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.menu-open .menu-group { opacity: 1; transform: translateY(0); }

/* ---------- scroll progress (case pages) ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--blue); z-index: 600;
}

/* ---------- generic section scaffolding ---------- */
[data-spy], [id] { scroll-margin-top: calc(var(--nav-h) + 48px); }
.section { padding: clamp(88px, 12vw, 150px) 24px; }
.section.tight { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--d-bg); color: var(--d-ink); }
.section.dark .lead { color: var(--d-ink-2); }
.section.dark .eyebrow { color: var(--blue-dark); }
.inner { max-width: var(--content); margin: 0 auto; }
.inner-text { max-width: var(--text); margin: 0 auto; }
.inner-wide { max-width: var(--wide); margin: 0 auto; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-intro { max-width: 820px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.section-intro .lead { margin: 20px auto 0; max-width: 660px; }

/* chapter marker: "01 — Context" */
.chapter {
  display: inline-flex; align-items: baseline; gap: 12px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 18px;
}
.chapter b { color: var(--blue-link); font-weight: 700; }
.section.dark .chapter { color: var(--d-ink-2); }
.section.dark .chapter b { color: var(--blue-dark); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-block; font-size: 17px; font-weight: 400;
  background: var(--blue); color: #fff; border-radius: 999px;
  padding: 12px 26px; border: none; cursor: pointer;
  transition: background 0.2s ease;
}
.btn:hover { background: #0077ed; }
.btn.ghost {
  background: transparent; color: var(--blue-link);
  border: 1px solid var(--blue-link);
}
.btn.ghost:hover { background: var(--blue-link); color: #fff; }
.link-more {
  font-size: 17px; font-weight: 400; color: var(--blue-link);
  display: inline-flex; align-items: center; gap: 6px;
}
.link-more::after { content: "›"; font-size: 19px; transition: transform 0.2s ease; }
.link-more:hover { text-decoration: underline; }
.link-more:hover::after { transform: translateX(3px); }
.dark .link-more, .dark-sec .link-more, .case-hero .link-more { color: var(--blue-dark); }

/* ============================================================
   HOME
   ============================================================ */
.hero-home {
  min-height: 92vh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: calc(var(--nav-h) + 64px) 24px 64px;
  position: relative;
}
.hero-home h1 { max-width: 1060px; }
.hero-home .lead { max-width: 640px; margin-top: 28px; }
.hero-actions { display: flex; gap: 22px; align-items: center; margin-top: 36px; flex-wrap: wrap; justify-content: center; }
.hero-scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  color: var(--ink-3); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 34px;
  background: linear-gradient(var(--ink-3), transparent);
  animation: drip 2.2s ease-in-out infinite;
}
@keyframes drip {
  0%, 100% { transform: scaleY(0.4); opacity: 0.35; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}
@media (prefers-reduced-motion: reduce) { .hero-scroll::after { animation: none; } }

/* stat band */
.stat-band { background: var(--d-bg); color: var(--d-ink); padding: clamp(72px, 9vw, 120px) 24px; }
.stat-grid {
  max-width: var(--content); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px;
  text-align: center;
}
.stat-val {
  font-size: clamp(34px, 4.2vw, 56px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12;
}
.stat-lbl { font-size: 14px; color: var(--d-ink-2); margin-top: 12px; line-height: 1.45; }

/* case showcase sections on home */
.case-tease { padding: clamp(88px, 11vw, 140px) 24px 0; overflow: hidden; }
.case-tease .inner-wide { display: flex; flex-direction: column; align-items: center; text-align: center; }
.case-tease .kicker {
  font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 14px;
}
.case-tease.dark-sec .kicker { color: var(--d-ink-2); }
.case-tease h2 { max-width: 880px; }
.case-tease .lead { max-width: 640px; margin-top: 20px; }
.case-pills { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.pill {
  font-size: 13px; font-weight: 500; color: var(--ink);
  background: rgba(0, 0, 0, 0.05); border-radius: 999px; padding: 7px 16px; white-space: nowrap;
}
.dark-sec .pill, .dark .pill { background: rgba(255, 255, 255, 0.12); color: var(--d-ink); }
.case-tease .link-more { margin-top: 26px; font-size: 19px; }
.case-tease-media { margin-top: clamp(44px, 6vw, 72px); width: min(100%, var(--wide)); }
.case-tease-media img {
  width: 100%; border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.12);
}
.case-tease.dark-sec { background: var(--d-bg); color: var(--d-ink); }
.case-tease.dark-sec .lead { color: var(--d-ink-2); }
.case-tease.alt-sec { background: var(--bg-alt); }

/* principles */
.principles-grid {
  max-width: var(--wide); margin: clamp(40px, 6vw, 64px) auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.principle {
  background: var(--bg); border-radius: var(--radius); padding: 40px 34px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.principle .num {
  font-size: 15px; font-weight: 700; color: var(--blue-link);
  letter-spacing: 0.06em; margin-bottom: 16px; display: block;
}
.principle h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; }
.principle p { font-size: 15px; color: var(--ink-2); line-height: 1.6; }

/* about */
.about-grid {
  max-width: var(--content); margin: 0 auto;
  display: grid; grid-template-columns: 320px 1fr; gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.about-grid img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; }
.about-copy p { font-size: 17px; color: var(--ink-2); line-height: 1.65; margin-top: 18px; }
.about-copy p strong { color: var(--ink); font-weight: 600; }

/* contact CTA */
.cta-sec { text-align: center; }
.cta-sec .lead { max-width: 560px; margin: 20px auto 0; }
.cta-actions { display: flex; gap: 18px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

/* footer */
.footer { background: var(--bg-alt); border-top: 1px solid var(--hairline); padding: 34px 24px 48px; }
.footer-inner {
  max-width: var(--content); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.footer p { font-size: 12px; color: var(--ink-3); }
.footer a { font-size: 12px; color: var(--ink-2); }
.footer a:hover { text-decoration: underline; }
.footer-links { display: flex; gap: 22px; }

/* ============================================================
   CASE STUDY PAGES
   ============================================================ */
.case-hero {
  background: var(--d-bg); color: var(--d-ink);
  padding: calc(var(--nav-h) + clamp(72px, 10vw, 130px)) 24px clamp(56px, 7vw, 90px);
  text-align: center;
}
.case-hero .eyebrow { color: var(--blue-dark); }
.case-hero h1 { max-width: 980px; margin: 0 auto; }
.case-hero .lead { color: var(--d-ink-2); max-width: 760px; margin: 26px auto 0; }
.case-meta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }
.case-meta .pill { background: rgba(255, 255, 255, 0.12); color: var(--d-ink); }

/* full-bleed hero media sitting on dark */
.case-hero-media { background: linear-gradient(var(--d-bg) 55%, var(--bg) 55%); padding: 0 24px; }
.case-hero-media .frame { max-width: var(--wide); margin: 0 auto; }
.case-hero-media img {
  width: 100%; border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.case-hero-media figcaption { text-align: center; padding-top: 16px; }

/* sticky chapter subnav */
.subnav {
  position: sticky; top: var(--nav-h); z-index: 400;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.subnav-inner {
  max-width: var(--content); margin: 0 auto; padding: 0 24px;
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a {
  font-size: 13px; color: var(--ink-2); white-space: nowrap;
  padding: 13px 12px; border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.subnav a:hover { color: var(--ink); }
.subnav a.active { color: var(--ink); border-bottom-color: var(--blue); font-weight: 500; }

/* at-a-glance */
.glance {
  max-width: var(--wide); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.glance-card { background: var(--bg-alt); border-radius: var(--radius); padding: 36px 32px; }
.glance-card h3 {
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue-link); margin-bottom: 14px;
}
.glance-card p { font-size: 16px; color: var(--ink); line-height: 1.6; }

/* metric counters band */
.metric-band { background: var(--bg-alt); }
.metric-grid {
  max-width: var(--content); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 32px; text-align: center;
  align-items: start;
}
.metric-grid > div { padding: 0 8px; }
.metric-grid .stat-val {
  color: var(--ink);
  font-size: clamp(28px, 3.1vw, 44px); line-height: 1.15; letter-spacing: -0.015em;
  overflow-wrap: break-word;
}
.metric-grid .stat-lbl { color: var(--ink-2); margin-top: 10px; }
.dark .metric-grid .stat-val { color: var(--d-ink); }
.dark .metric-grid .stat-lbl { color: var(--d-ink-2); }

/* two problem cards */
.card-duo {
  max-width: var(--content); margin: clamp(36px, 5vw, 56px) auto 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.p-card { background: var(--bg); border-radius: var(--radius); padding: 38px 34px; box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.section:not(.alt):not(.dark) .p-card { background: var(--bg-alt); box-shadow: none; }
.p-card h3 {
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 14px;
}
.p-card p { font-size: 16px; color: var(--ink-2); line-height: 1.62; }
.p-card p strong { color: var(--ink); }

/* mandate grid */
.mandate-grid {
  max-width: var(--content); margin: clamp(36px, 5vw, 56px) auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.mandate-item { background: var(--bg); border-radius: var(--radius-sm); padding: 30px 26px; box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.section:not(.alt) .mandate-item { background: var(--bg-alt); box-shadow: none; }
.mandate-item h4 {
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-3); margin-bottom: 12px;
}
.mandate-item p { font-size: 14.5px; color: var(--ink); line-height: 1.62; }

/* big pull quote */
.pull-quote {
  max-width: 900px; margin: clamp(56px, 8vw, 96px) auto 0; text-align: center;
}
.pull-quote blockquote {
  font-size: clamp(24px, 3.2vw, 40px); font-weight: 600; letter-spacing: -0.015em;
  line-height: 1.28;
}
.pull-quote .attr { margin-top: 22px; font-size: 14px; color: var(--ink-3); }
.dark .pull-quote .attr { color: var(--d-ink-2); }

/* vision reframe duo */
.reframe-duo {
  max-width: var(--content); margin: clamp(36px, 5vw, 56px) auto 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.reframe-card { border-radius: var(--radius); padding: 38px 34px; }
.reframe-card.was { background: var(--bg-alt); }
.reframe-card.now { background: var(--d-bg-2); color: var(--d-ink); }
.dark .reframe-card.was { background: #1a1a1c; color: var(--d-ink); }
.reframe-card .tag {
  display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 5px 12px; border-radius: 999px; margin-bottom: 20px;
}
.reframe-card.was .tag { background: rgba(0,0,0,0.07); color: var(--ink-2); }
.dark .reframe-card.was .tag { background: rgba(255,255,255,0.1); color: var(--d-ink-2); }
.reframe-card.now .tag { background: rgba(41, 151, 255, 0.18); color: var(--blue-dark); }
.reframe-card h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; }
.reframe-card p { font-size: 15.5px; line-height: 1.62; color: var(--ink-2); }
.reframe-card.now p, .dark .reframe-card.was p { color: var(--d-ink-2); }

/* numbered decision list */
.decision-list { max-width: var(--text); margin: clamp(48px, 6vw, 72px) auto 0; }
.decision-list > h3 {
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 8px;
}
.decision { display: flex; gap: 26px; padding: 30px 0; border-bottom: 1px solid rgba(0,0,0,0.1); }
.decision:last-child { border-bottom: none; }
.dark .decision { border-color: var(--d-hairline); }
.decision .d-num {
  font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: var(--blue-link);
  letter-spacing: -0.02em; line-height: 1.1; flex: none; width: 52px;
}
.dark .decision .d-num { color: var(--blue-dark); }
.decision h4 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.decision p { font-size: 15.5px; color: var(--ink-2); line-height: 1.6; }
.dark .decision p { color: var(--d-ink-2); }

/* feature blocks (design work) */
.feature-grid {
  max-width: var(--content); margin: clamp(36px, 5vw, 56px) auto 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.feature-block { background: var(--bg); border-radius: var(--radius); padding: 36px 32px; box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.section.alt .feature-block { box-shadow: none; }
.section:not(.alt):not(.dark) .feature-block { background: var(--bg-alt); box-shadow: none; }
.dark .feature-block { background: #141416; }
.feature-block h4 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 16px; }
.feature-block ul { list-style: none; }
.feature-block li {
  font-size: 15px; color: var(--ink-2); line-height: 1.58;
  padding: 8px 0 8px 24px; position: relative;
}
.dark .feature-block li { color: var(--d-ink-2); }
.feature-block li::before {
  content: ""; position: absolute; left: 2px; top: 16px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
}
.feature-block li strong { color: var(--ink); font-weight: 600; }
.dark .feature-block li strong { color: var(--d-ink); }

/* figures — inset, roughly half the old full-bleed width */
.figure { max-width: 720px; margin: clamp(44px, 6vw, 72px) auto 0; }
.figure img { width: 100%; border-radius: var(--radius); }
.figure figcaption, .case-hero-media figcaption {
  font-size: 13px; color: var(--ink-3); margin-top: 14px; line-height: 1.5; text-align: center;
}
.dark .figure figcaption { color: var(--d-ink-2); }

/* horizontal snap gallery (Apple product-page pattern) */
.gallery { max-width: var(--wide); margin: clamp(44px, 6vw, 72px) auto 0; }
.gallery-track {
  display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding: 4px;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 min(68%, 720px); scroll-snap-align: center; margin: 0; }
.gallery-slide img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-slide figcaption { font-size: 13px; color: var(--ink-3); margin-top: 12px; line-height: 1.5; }
.dark .gallery-slide figcaption { color: var(--d-ink-2); }
.gallery-controls { display: flex; gap: 12px; justify-content: flex-end; margin-top: 16px; }
.gallery-btn {
  width: 36px; height: 36px; border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(210, 210, 215, 0.64); color: var(--ink);
  transition: background 0.2s ease, opacity 0.2s ease;
}
.gallery-btn:hover { background: rgba(200, 200, 205, 0.9); }
.gallery-btn:disabled { opacity: 0.35; cursor: default; }
.gallery-btn svg { width: 16px; height: 16px; }
.dark .gallery-btn { background: rgba(66, 66, 69, 0.72); color: var(--d-ink); }
.dark .gallery-btn:hover { background: rgba(86, 86, 90, 0.85); }

/* ---------- iconography (SF-Symbols-style stroke icons) ---------- */
.icon {
  width: 32px; height: 32px; display: block;
  color: var(--blue-link); margin-bottom: 16px;
}
.dark .icon { color: var(--blue-dark); }
.outcome-card .icon { color: var(--blue-dark); }
.principle .icon { width: 34px; height: 34px; }

/* outcomes */
.outcome-grid {
  max-width: var(--wide); margin: clamp(36px, 5vw, 56px) auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.outcome-card { background: #141416; border-radius: var(--radius); padding: 38px 32px; }
.outcome-card h4 {
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--blue-dark); margin-bottom: 14px;
}
.outcome-card p { font-size: 15.5px; color: var(--d-ink-2); line-height: 1.62; }
.outcome-card p strong { color: var(--d-ink); font-weight: 600; }

.takeaway {
  max-width: 820px; margin: clamp(48px, 6vw, 72px) auto 0;
  border-top: 1px solid var(--d-hairline); padding-top: 40px; text-align: center;
}
.takeaway h3 {
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue-dark); margin-bottom: 16px;
}
.takeaway p { font-size: 19px; color: var(--d-ink); line-height: 1.55; font-weight: 400; }

/* close statement */
.close-sec { text-align: center; }
.close-sec .headline { max-width: 900px; margin: 0 auto; }
.close-sec .lead { max-width: 700px; margin: 26px auto 0; }

/* next case footer */
.next-case { background: var(--bg-alt); padding: clamp(72px, 9vw, 110px) 24px; text-align: center; }
.next-case .kicker {
  font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 14px;
}
.next-case h2 { max-width: 760px; margin: 0 auto; }
.next-case .lead { max-width: 560px; margin: 18px auto 0; }
.next-case .btn { margin-top: 32px; }
.next-case .all-link { display: block; margin-top: 22px; font-size: 14px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  padding: calc(var(--nav-h) + clamp(80px, 11vw, 140px)) 24px clamp(56px, 8vw, 100px);
  text-align: center;
}
.about-hero h1 { max-width: 900px; margin: 0 auto; }
.about-hero .lead { max-width: 740px; margin: 26px auto 0; }

.metric-grid.four { grid-template-columns: repeat(4, 1fr); max-width: var(--wide); }

.pillars-grid {
  max-width: var(--content); margin: clamp(40px, 6vw, 64px) auto 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.pillars-grid .principle p { font-size: 15.5px; }

.quote-grid {
  max-width: var(--wide); margin: clamp(44px, 6vw, 72px) auto 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.quote-card { background: #141416; border-radius: var(--radius); padding: 34px 32px; }
.quote-card::before {
  content: "\201C"; display: block; font-family: Georgia, "Times New Roman", serif;
  font-size: 46px; line-height: 0.7; color: var(--blue-dark); margin-bottom: 16px;
}
.quote-card .q { font-size: 16.5px; color: var(--d-ink); line-height: 1.6; }
.quote-card .who { margin-top: 20px; font-size: 13px; color: var(--d-ink-2); line-height: 1.5; }
.quote-card .who strong { display: block; font-size: 14px; font-weight: 600; color: var(--d-ink); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1020px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-grid.four { grid-template-columns: repeat(2, 1fr); }
  .mandate-grid { grid-template-columns: repeat(2, 1fr); }
  .principles-grid { grid-template-columns: 1fr; max-width: 640px; }
  .glance { grid-template-columns: 1fr; max-width: 640px; }
  .outcome-grid { grid-template-columns: 1fr; max-width: 640px; }
}

@media (max-width: 740px) {
  .nav-links { gap: 18px; }
  .nav-links .hide-mobile { display: none; }
  .nav-brand em { display: none; }
  .hero-home { min-height: 84vh; }
  .card-duo, .reframe-duo, .feature-grid, .metric-grid, .metric-grid.four,
  .pillars-grid, .quote-grid { grid-template-columns: 1fr; }
  .gallery-slide { flex-basis: 86%; }
  .gallery-controls { justify-content: center; }
  .mandate-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid img { max-width: 420px; }
  .decision { gap: 16px; }
  .decision .d-num { width: 38px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .section { padding-left: 20px; padding-right: 20px; }
  .stat-grid { gap: 32px 16px; }
  .case-pills .pill, .case-meta .pill { font-size: 12px; padding: 6px 12px; }
}
