/* ============================================================
   IntegrityPerformance — Shared Design System v3 (Clean Light)
   Base: DESIGN-apple.md chassis (tile rhythm, pill CTAs,
   frosted nav, tight display tracking, scale(0.95) press).
   Client decisions:
   - White-dominant, clean. Dark tones are DARK GRAY (no black).
   - Single accent: Emerald #0097a7 (matches logo teal bar).
   - Flat: shadows banned. Depth = surface change + hairlines.
   - Type-first decoration: outline "ghost" words, grid/dot
     geometry, marquee, scroll indicator, reveal-on-scroll.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

/* ============================================================
   Tokens
   ============================================================ */
:root {
  /* Accent — single emerald, echoing the logo's teal bar */
  --primary: #0097a7;
  --primary-focus: #00acc1;

  /* Dark gray ladder (no pure black anywhere) */
  --ink: #2e2e33;        /* headings / strongest text */
  --ink-2: #55555c;      /* body — echoes logo gray #58595b */
  --ink-3: #8a8a90;      /* muted captions */
  --dark: #2b2b2f;       /* dark-gray surface (footer) */

  /* Surfaces */
  --canvas: #ffffff;
  --canvas-soft: #f6f6f7;

  /* Hairlines & ghost strokes */
  --hairline: #e4e4e8;
  --hairline-strong: #cfcfd4;
  --ghost-stroke: #e9e9ec;
  --hairline-on-dark: rgba(255, 255, 255, 0.14);

  /* Radius */
  --r-sm: 8px;
  --r-md: 11px;
  --r-lg: 18px;
  --r-pill: 9999px;

  /* Spacing */
  --s-xs: 8px;
  --s-sm: 12px;
  --s-md: 17px;
  --s-lg: 24px;
  --s-xl: 32px;
  --s-xxl: 48px;
  --s-section: 88px;

  --font-display: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
  --font-text: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;

  --content: 1024px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.2px;
  color: var(--ink-2);
  background: var(--canvas);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }

::selection { background: var(--primary); color: #fff; }

:focus-visible {
  outline: 2px solid var(--primary-focus);
  outline-offset: 3px;
}

/* Anchored sections land below the sticky nav */
[id] { scroll-margin-top: 84px; }

.inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 var(--s-lg);
  position: relative;
}

/* ============================================================
   Scroll progress — thin emerald line pinned to the top
   ============================================================ */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--primary);
  z-index: 300;
}

/* ============================================================
   Global Nav — single frosted white bar, logo left
   ============================================================ */
.global-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 60px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}
.global-nav__inner {
  max-width: var(--content);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--s-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.global-nav__brand { display: inline-flex; align-items: center; }
.global-nav__brand img { height: 22px; width: auto; }
.global-nav__links {
  display: flex;
  align-items: center;
  gap: var(--s-xl);
  list-style: none;
  margin: 0;
  padding: 0;
}
.global-nav__links a {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  transition: color 0.15s ease;
}
.global-nav__links a:hover { color: var(--primary); text-decoration: none; }
.global-nav__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
}
.global-nav__toggle svg { display: block; }

/* ============================================================
   Typography
   ============================================================ */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(23px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.accent { color: var(--primary); }

/* ============================================================
   Type-first decoration
   ============================================================ */

/* Giant outlined word floating behind a section */
.ghost {
  position: absolute;
  top: -10px;
  left: 0;
  z-index: 0;
  font-family: var(--font-display);
  font-size: clamp(72px, 13vw, 168px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px var(--ghost-stroke);
  user-select: none;
  pointer-events: none;
}
.ghost--right { left: auto; right: 0; }

/* Faint blueprint grid painted on a section */
.grid-bg {
  position: relative;
}
.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--canvas-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--canvas-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.grid-bg > * { position: relative; }

/* Dot-matrix square */
.dots {
  position: absolute;
  width: 168px;
  height: 168px;
  background-image: radial-gradient(var(--hairline-strong) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  pointer-events: none;
}

/* Thin geometric ring */
.ring {
  position: absolute;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-pill);
  pointer-events: none;
}

/* Vertical scroll indicator */
.scrolldeco {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: max-content;
}
.scrolldeco .label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--ink-3);
  writing-mode: vertical-rl;
  text-transform: uppercase;
}
.scrolldeco .line {
  width: 1px;
  height: 64px;
  background: var(--hairline-strong);
  position: relative;
  overflow: hidden;
}
.scrolldeco .line::after {
  content: "";
  position: absolute;
  top: -30%;
  left: 0;
  width: 100%;
  height: 30%;
  background: var(--primary);
  animation: scrolldrop 2.4s ease-in-out infinite;
}
@keyframes scrolldrop {
  0% { top: -30%; }
  100% { top: 130%; }
}

/* Marquee — endless outlined wordmark ribbon */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 20px 0;
  background: var(--canvas);
}
.marquee__track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px var(--hairline-strong);
}
.marquee__track span.fill { color: var(--primary); -webkit-text-stroke: 0; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .scrolldeco .line::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Buttons — pill grammar, scale(0.95) press
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-xs);
  min-height: 44px;
  font-family: var(--font-text);
  font-size: 15px;
  letter-spacing: -0.1px;
  border-radius: var(--r-pill);
  padding: 11px 26px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.95); }

.btn--primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn--primary:hover { background: var(--primary-focus); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline-strong);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: var(--primary);
}
.text-link .arrow { transition: transform 0.15s ease; }
.text-link:hover .arrow { transform: translateX(3px); }
.text-link:hover { text-decoration: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background: var(--canvas);
  padding: 104px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero .ghost { top: 34px; }
.hero__lead {
  margin-top: var(--s-lg);
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 300;
  line-height: 1.85;
  letter-spacing: 0;
  color: var(--ink-2);
  max-width: 40ch;
}
.hero__cta {
  margin-top: var(--s-xl);
  display: flex;
  align-items: center;
  gap: var(--s-lg);
  flex-wrap: wrap;
}
.hero__scroll { margin-top: 64px; }

/* ============================================================
   Sections
   ============================================================ */
.section {
  padding: var(--s-section) 0;
  position: relative;
  overflow: hidden;
}
.section--white { background: var(--canvas); }
.section--soft  { background: var(--canvas-soft); }
.section--soft .grid-bg::before,
.section--soft.grid-bg::before {
  background-image:
    linear-gradient(#efeff1 1px, transparent 1px),
    linear-gradient(90deg, #efeff1 1px, transparent 1px);
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-lg);
  flex-wrap: wrap;
}
.section__head h2 { margin-top: var(--s-sm); }

/* ============================================================
   Bento — 2×2 service grid (white cards, hairline)
   ============================================================ */
.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: var(--s-xl);
}
.bento__card {
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 30px;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.bento__card:hover { border-color: var(--primary); text-decoration: none; }
.bento__card:active { transform: scale(0.98); }
.bento__num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px var(--hairline-strong);
  font-variant-numeric: tabular-nums;
  transition: -webkit-text-stroke-color 0.2s ease;
}
.bento__card:hover .bento__num { -webkit-text-stroke-color: var(--primary); }
.bento__card h3 {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-top: 28px;
  color: var(--ink);
}
.bento__card p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: -0.1px;
  color: var(--ink-2);
}
.bento__link {
  margin-top: auto;
  padding-top: 24px;
  font-size: 14px;
  color: var(--primary);
}

/* ============================================================
   Statement — editorial band
   ============================================================ */
.statement__inner { max-width: 880px; }
.statement p.copy {
  margin-top: var(--s-lg);
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-2);
  max-width: 44ch;
}

/* ============================================================
   Stance — 3 columns with top rules
   ============================================================ */
.stance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-xl);
  margin-top: var(--s-xxl);
}
.stance-item {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}
.stance-item .en {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.stance-item h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 10px;
  color: var(--ink);
}
.stance-item p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: -0.1px;
  color: var(--ink-2);
}

/* ============================================================
   Inner-page hero
   ============================================================ */
.page-hero {
  background: var(--canvas);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { margin-top: var(--s-md); }
.page-hero__lead {
  margin-top: var(--s-lg);
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 300;
  line-height: 1.85;
  letter-spacing: 0;
  color: var(--ink-2);
  max-width: 44ch;
}

/* ============================================================
   Service detail — split layout
   ============================================================ */
.svc {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--s-xxl);
  align-items: start;
}
.svc h2 { margin-top: var(--s-sm); }
.svc__desc {
  margin-top: var(--s-md);
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: -0.1px;
  color: var(--ink-2);
}
.svc__scope-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline-strong);
  display: block;
}

.service__list {
  list-style: none;
  padding: 0;
  margin: var(--s-lg) 0 0;
  display: grid;
  gap: var(--s-sm);
}
.service__list li {
  padding-left: 20px;
  position: relative;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
}
.service__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: var(--r-pill);
  background: var(--primary);
}

/* ============================================================
   Editorial prose
   ============================================================ */
.prose { max-width: 720px; }
.prose p {
  margin-top: var(--s-md);
  font-size: 15px;
  line-height: 2.0;
  letter-spacing: -0.1px;
  color: var(--ink-2);
}

/* ============================================================
   Utility cards
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: var(--s-xl);
}
.card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--s-lg);
}
.card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.card p { margin-top: var(--s-xs); color: var(--ink-2); font-size: 13.5px; line-height: 1.75; }

/* ============================================================
   Profile (About)
   ============================================================ */
/* Profile — the full-length portrait is floated so the bio wraps around and
   under it: no dead column of whitespace beside a tall image. */
.profile {
  margin-top: var(--s-xl);
}
.profile::after { content: ""; display: block; clear: both; }
.portrait {
  float: left;
  width: 320px;
  margin: 4px var(--s-xxl) var(--s-lg) 0;
}
/* the heading rides in the same column as the bio, beside the portrait */
.profile .prose { max-width: 1040px; }
.profile .prose h2 { margin-bottom: 14px; }
.profile .prose p:first-child { margin-top: 0; }
.profile__tagline {
  margin-top: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink);
  padding-bottom: var(--s-md);
  border-bottom: 1px solid var(--hairline-strong);
}
.portrait__frame {
  position: relative;
  aspect-ratio: 3 / 5;
  overflow: hidden;
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
}
.portrait__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}
.portrait__cap {
  display: grid;
  gap: 3px;
  padding-top: 16px;
}
.portrait__bar {
  display: block;
  width: 64px;
  height: 4px;
  margin-bottom: 8px;
  background: linear-gradient(to right, var(--primary) 0 40%, var(--ink-2) 40% 100%);
}
.portrait__ja {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.portrait__en {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
}

/* ============================================================
   Diagram — stage × CFO-role matrix
   ============================================================ */
.stage-wrap { margin-top: var(--s-xxl); overflow-x: auto; }
.stage {
  min-width: 760px;
  display: grid;
  grid-template-columns: 150px repeat(3, 1fr);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--canvas);
}
.stage > div {
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.65;
  letter-spacing: -0.1px;
  color: var(--ink-2);
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}
.stage > div:nth-child(-n+4) { border-top: 0; }
.stage > div:nth-child(4n+1) { border-left: 0; }
.stage .h {
  background: var(--canvas-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stage .h small {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  text-transform: none;
}
.stage .rowh {
  background: var(--canvas-soft);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.stage .early { background: rgba(0, 151, 167, 0.055); }
.stage .h.early { background: rgba(0, 151, 167, 0.12); color: var(--primary); }
.stage-legend {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--s-md);
  font-size: 13px;
  color: var(--ink-2);
}
.stage-legend::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: rgba(0, 151, 167, 0.18);
  border: 1px solid var(--primary);
  flex: none;
}

/* Emerald-rule callout — spans the same width as the grid above it */
.callout {
  margin-top: var(--s-lg);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--primary);
  border-radius: var(--r-sm);
  padding: 20px 24px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2);
}
.callout strong { color: var(--ink); }

/* ============================================================
   Diagram — CFO backbone quadrant map
   ============================================================ */
.quad-wrap { margin-top: var(--s-xxl); max-width: 680px; }
.quad-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-xl);
  margin-top: var(--s-xxl);
}
.quad-fig .cap {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.quad-fig .cap small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-3);
}
.quad {
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
}
.quad::before,
.quad::after {
  content: "";
  position: absolute;
  background: var(--hairline);
}
.quad::before { left: 50%; top: 12px; bottom: 12px; width: 1px; }
.quad::after  { top: 50%; left: 12px; right: 12px; height: 1px; }
.quad .ax {
  position: absolute;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  background: var(--canvas);
  padding: 2px 8px;
  white-space: nowrap;
  z-index: 2;
}
.quad .ax--top    { top: -8px; left: 50%; transform: translateX(-50%); }
.quad .ax--bottom { bottom: -8px; left: 50%; transform: translateX(-50%); }
.quad .ax--left   { left: -6px; top: 50%; transform: translate(-40%, -50%) rotate(-90deg); }
.quad .ax--right  { right: -6px; top: 50%; transform: translate(40%, -50%) rotate(90deg); }
.quad .pt {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  letter-spacing: 0;
  color: var(--ink-3);
  white-space: nowrap;
  z-index: 1;
}
.quad .pt i {
  width: 10px;
  height: 10px;
  border-radius: var(--r-pill);
  background: var(--hairline-strong);
}
.quad .pt--me { color: var(--primary); font-weight: 600; font-size: 12px; }
.quad .pt--me i {
  width: 16px;
  height: 16px;
  background: var(--primary);
  outline: 4px solid rgba(0, 151, 167, 0.15);
}
.quad-note { margin-top: var(--s-md); font-size: 12px; color: var(--ink-3); }

/* ============================================================
   Career timeline
   ============================================================ */
.timeline { margin-top: var(--s-xl); max-width: 760px; }
.tl-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: var(--s-lg);
  padding: 18px 0;
  border-top: 1px solid var(--hairline);
}
.tl-item:last-child { border-bottom: 1px solid var(--hairline); }
.tl-item .year {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.tl-item h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.1px;
  color: var(--ink);
}
.tl-item p {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-2);
}

/* ============================================================
   Track-record stats
   ============================================================ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-lg) var(--s-xl);
  margin-top: var(--s-xl);
  max-width: 860px;
}
.stat { border-top: 1px solid var(--ink); padding-top: 14px; }
.stat .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.stat .value {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.stat .value em { font-style: normal; font-size: 0.5em; color: var(--primary); margin-left: 2px; }
.stat .sub { font-size: 12px; color: var(--ink-3); margin-top: 4px; line-height: 1.6; }

/* ============================================================
   Google Form embed
   ============================================================ */
.gform-wrap { margin-top: var(--s-xl); max-width: 760px; }
.gform-wrap iframe {
  width: 100%;
  min-height: 1440px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--canvas);
  display: block;
}
.notice-card {
  border: 1px dashed var(--hairline-strong);
  border-radius: var(--r-lg);
  background: var(--canvas);
  padding: var(--s-xl);
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
}
.consent-note {
  margin-top: var(--s-md);
  max-width: 760px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-2);
}

/* Prose subheads (privacy policy) */
.prose h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: var(--s-xl);
}
.prose ul { margin: var(--s-sm) 0 0; padding-left: 22px; }
.prose ul li { font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.prose .date { margin-top: var(--s-xl); font-size: 13px; color: var(--ink-3); }

/* ============================================================
   Contact form
   ============================================================ */
.form {
  max-width: 620px;
  margin-top: var(--s-xl);
  display: grid;
  gap: var(--s-lg);
}
.field { display: grid; gap: var(--s-xs); }
.field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.1px;
  color: var(--ink);
}
.field .req { color: var(--primary); margin-left: 4px; }
.field input,
.field textarea {
  font-family: var(--font-text);
  font-size: 16px;
  letter-spacing: -0.2px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--hairline-strong);
  padding: 12px 18px;
  width: 100%;
}
.field input { height: 48px; border-radius: var(--r-md); }
.field textarea { min-height: 150px; border-radius: var(--r-md); resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--primary-focus);
  outline-offset: 0;
  border-color: transparent;
}
.form__note { font-size: 12px; color: var(--ink-3); line-height: 1.7; }

.faq { margin-top: var(--s-xl); display: grid; gap: var(--s-lg); }
.faq__q { font-weight: 600; font-size: 15px; color: var(--ink); }
.faq__a { margin-top: 6px; color: var(--ink-2); font-size: 14px; line-height: 1.8; }

/* ============================================================
   Footer — dark gray, the one dark surface
   ============================================================ */
.footer {
  background: var(--dark);
  color: #b9b9bf;
  padding: 56px 0 36px;
}
.footer__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s-xl);
}
.footer__brand .name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}
.footer__brand p {
  margin-top: var(--s-sm);
  font-size: 13px;
  line-height: 1.8;
  max-width: 30ch;
}
.footer h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 var(--s-sm);
}
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { line-height: 2.3; }
.footer__links a {
  font-size: 14px;
  color: #b9b9bf;
  transition: color 0.15s ease;
}
.footer__links a:hover { color: #fff; text-decoration: none; }
.footer__legal {
  margin-top: var(--s-xxl);
  padding-top: var(--s-md);
  border-top: 1px solid var(--hairline-on-dark);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-sm);
  font-size: 12px;
  letter-spacing: -0.1px;
  color: #8e8e94;
}

/* ============================================================
   Responsive — 1068 / 833 / 640 / 480
   ============================================================ */
@media (max-width: 1068px) {
  .section { padding-top: 72px; padding-bottom: 72px; }
}

@media (max-width: 833px) {
  .global-nav__links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--hairline);
    padding: var(--s-xs) var(--s-lg) var(--s-md);
    display: none;
  }
  .global-nav__links.open { display: flex; }
  .global-nav__links li { border-top: 1px solid var(--hairline); }
  .global-nav__links a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
    min-height: 44px;
  }
  .global-nav__toggle { display: inline-flex; }

  .hero { padding: 72px 0 64px; }
  .bento { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .stance-grid { grid-template-columns: 1fr; gap: var(--s-lg); }
  .svc { grid-template-columns: 1fr; gap: var(--s-lg); }
  .quad-pair { grid-template-columns: 1fr; max-width: 560px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding-top: 56px; padding-bottom: 56px; }
  .hero { padding: 56px 0 56px; }
  .hero__scroll { margin-top: 40px; }
  .portrait { float: none; width: min(300px, 78%); margin: 0 0 var(--s-lg); }
  .footer__cols { grid-template-columns: 1fr; gap: var(--s-lg); }
  .marquee__track span { font-size: 20px; }
  .dots { width: 120px; height: 120px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; }
  .quad .pt { font-size: 10px; }
  .quad .pt--me { font-size: 11px; }
  .gform-wrap iframe { min-height: 1600px; }
}

@media (max-width: 480px) {
  .inner, .global-nav__inner { padding-left: var(--s-md); padding-right: var(--s-md); }
  .global-nav__brand img { height: 18px; }
}
