/* =========================================================================
   Soft Rock — design system
   Apple-grade light interface: SF type, generous space, soft depth, blue accent.
   ========================================================================= */

:root {
  /* Surfaces */
  --bg: #ffffff;
  --panel: #f5f5f7;          /* Apple light gray */
  --panel-2: #fafafa;
  --ink: #1d1d1f;            /* near-black text */
  --ink-2: #6e6e73;          /* secondary */
  --ink-3: #6b6b70;          /* tertiary (WCAG AA: 4.5:1 on white and panel) */
  --line: rgba(0, 0, 0, 0.1);
  --line-2: rgba(0, 0, 0, 0.06);

  /* Brand — Apple blue */
  --accent: #0071e3;
  --accent-ink: #0062c4;     /* text/links on white (AA contrast) */
  --accent-soft: rgba(0, 113, 227, 0.12);
  --grad-accent: linear-gradient(145deg, #4aa3ff 0%, #0071e3 100%);

  /* Accent palette — gradient washes + per-capability tints (no gold) */
  --c-rose: #d6336c;         /* brand/identity */
  --c-sage: #3fae86;         /* vitality */
  --c-sky: #3b8fd4;          /* calm */
  --c-coral: #ec7a52;        /* energy */
  --c-violet: #8a72d0;       /* mind */
  --c-rose-ink: #b02456;
  --c-sage-ink: #1f7a5c;
  --c-sky-ink: #1f6aa8;
  --c-coral-ink: #c1502c;
  --c-violet-ink: #5b46a3;
  /* Deep enough that white text clears WCAG AA (4.5:1) across the whole sweep */
  --grad-vivid: linear-gradient(120deg, #1f5fa8 0%, #5b46a3 48%, #a8481f 100%);

  /* Shape + depth */
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --r-pill: 980px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.07), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(0, 0, 0, 0.06);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Layout */
  --nav-h: 48px;
  --maxw: 1080px;
  --maxw-wide: 1240px;
  --gutter: clamp(20px, 5vw, 40px);

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}

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

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

/* Keep jump targets (skip link, in-page anchors) clear of the sticky nav */
[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: rgba(0, 113, 227, 0.22); color: #000; }

/* Keyboard focus — visible ring for keyboard users, none for mouse */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 5px;
}
:focus:not(:focus-visible) { outline: none; }
.btn:focus-visible { outline-offset: 4px; }

/* Skip link (revealed on focus) */
.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; }

/* Visually hidden, still read by screen readers (for structural headings) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

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

.wrap--wide { max-width: var(--maxw-wide); }

/* =========================================================================
   Navigation — Apple slim translucent bar
   ========================================================================= */

header.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-2);
}

header.nav .wrap {
  max-width: var(--maxw-wide);
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.appicon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--grad-accent);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.mainnav { justify-self: center; display: flex; gap: 34px; }

.mainnav a {
  position: relative;
  font-size: 16px;
  font-weight: 450;
  color: var(--ink);
  opacity: 0.78;
  text-decoration: none;
  padding: 4px 0;
  transition: opacity 0.2s ease, color 0.2s ease;
}

/* Underline slides in on hover / for the current page — quiet polish */
.mainnav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px; border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.mainnav a:hover { opacity: 1; }
.mainnav a[aria-current="page"] { opacity: 1; color: var(--accent-ink); }
.mainnav a:hover::after,
.mainnav a[aria-current="page"]::after { transform: scaleX(1); }

@media (max-width: 720px) {
  header.nav .wrap { display: flex; justify-content: space-between; }
  .mainnav { gap: 20px; }
  .mainnav a { font-size: 15px; }
}
@media (max-width: 480px) {
  /* Icon-only wordmark to make room for the menu — but keep the name for
     screen readers so the home link always has an accessible name. */
  .mark span:last-child {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
  .mainnav { gap: 16px; }
  .mainnav a { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .mainnav a::after { transition: none; }
}

/* =========================================================================
   Typography helpers
   ========================================================================= */

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-ink);
  margin-bottom: 16px;
}

.display {
  font-size: clamp(44px, 7.5vw, 88px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.02em;
}

h1, h2, h3 { font-family: var(--sans); }

/* =========================================================================
   Buttons
   ========================================================================= */

.actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--r-pill);
  padding: 12px 26px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s ease,
    border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }

.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; box-shadow: var(--shadow); }

.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #0077ed; box-shadow: var(--shadow); }

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: rgba(0, 0, 0, 0.45);
}
.btn--secondary:hover { border-color: var(--ink); }

/* Text link with animated arrow (Apple's chevron links) */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
  font-weight: 500;
  color: var(--accent-ink);
  text-decoration: none;
}
.link-arrow .chev { transition: transform 0.25s var(--ease); }
.link-arrow:hover .chev { transform: translateX(4px); }

/* =========================================================================
   Sections + shared section header
   ========================================================================= */

.section { padding: clamp(96px, 14vh, 168px) 0; }
.section--muted { background: var(--panel); }
.section--tight { padding: clamp(64px, 9vh, 110px) 0; }

.section-head { max-width: 760px; margin: 0 auto clamp(48px, 7vh, 88px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

.section-head h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.section-head .sub {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  margin: 18px auto 0;
  max-width: 40ch;
}
.section-head.left .sub { margin-left: 0; }

/* =========================================================================
   Hero
   ========================================================================= */

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
  /* Soft multi-hue mesh over white — colorful but light, blue-led */
  background:
    radial-gradient(40% 46% at 18% 20%, rgba(59, 143, 212, 0.20), transparent 70%),
    radial-gradient(36% 42% at 82% 18%, rgba(138, 114, 208, 0.16), transparent 70%),
    radial-gradient(40% 46% at 82% 84%, rgba(236, 122, 82, 0.13), transparent 70%),
    radial-gradient(38% 44% at 16% 84%, rgba(63, 174, 134, 0.15), transparent 70%),
    var(--bg);
}

/* Soft focal glow behind the headline — quiet depth, gentle drift */
.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%; top: 46%;
  width: min(72vw, 640px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, rgba(74, 163, 255, 0.26), rgba(138, 114, 208, 0.12) 46%, transparent 70%);
  filter: blur(44px);
  animation: hero-float 13s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hero-float {
  0%, 100% { transform: translate(-50%, -52%) scale(1); }
  50% { transform: translate(-50%, -46%) scale(1.06); }
}

.hero .wrap { position: relative; z-index: 3; }

.hero h1 {
  font-size: clamp(44px, 7.6vw, 92px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 0 auto 22px;
  max-width: 16ch;
}

.hero .lede {
  font-size: clamp(19px, 2.3vw, 25px);
  line-height: 1.38;
  font-weight: 400;
  color: var(--ink-2);
  max-width: 42ch;
  margin: 0 auto 36px;
}

.hero-scroll {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll .dot {
  width: 22px; height: 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
  position: relative;
}
.hero-scroll .dot::after {
  content: "";
  position: absolute; left: 50%; top: 7px;
  width: 3px; height: 6px; border-radius: 3px;
  background: var(--ink-3);
  transform: translateX(-50%);
  animation: scroll-dot 1.8s var(--ease) infinite;
}

@keyframes scroll-dot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translate(-50%, 10px); }
  100% { opacity: 0; }
}

/* =========================================================================
   Tile grid (apple.com homepage system)
   Full-bleed tiles stacked vertically; full-width + 2-up halves,
   alternating light/dark, each: name, tagline, two pills, a visual.
   ========================================================================= */

.tilegrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 12px;
  background: var(--bg);
}

.tile {
  position: relative;
  overflow: hidden;
  min-height: 580px;
  padding: 56px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.tile--full { grid-column: 1 / -1; }
.tile--top { justify-content: flex-start; }

.t-head { position: relative; z-index: 3; max-width: 40ch; }
.t-eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--accent-ink); margin-bottom: 10px;
}
.tile h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 600; line-height: 1.05; letter-spacing: -0.015em;
}
.t-sub {
  font-size: clamp(18px, 2vw, 22px); line-height: 1.34;
  color: var(--ink-2); margin: 12px auto 0; max-width: 30ch;
}
.t-avail { font-size: 15px; color: var(--ink-3); margin-top: 8px; }
.t-actions { margin-top: 24px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.t-actions .btn { padding: 11px 22px; font-size: 16px; }

/* Surfaces */
.tile--gray { background: var(--panel); }
.tile--light { background: #fbfbfd; }
.tile--dark { background: #000; color: #fff; }

.tile--dark h2 { color: #fff; }
.tile--dark .t-sub { color: rgba(255, 255, 255, 0.72); }
.tile--dark .t-avail { color: rgba(255, 255, 255, 0.5); }
.tile--dark .t-eyebrow { color: #7ab7f5; }

/* Colored gradient tiles */
.tile--vivid {
  background: var(--grad-vivid);
  background-size: 180% 180%;
  animation: grad-pan 22s ease-in-out infinite;
  color: #fff;
}

/* Slow premium drift of the vivid gradient (stays within AA-safe stops) */
@keyframes grad-pan {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Gentle float on decorative orbs — quiet life across the tiles */
.orb { animation: orb-float 12s ease-in-out infinite; }
@keyframes orb-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}
.tile--sage  { background: linear-gradient(150deg, #1a6e52 0%, #12583f 100%); color: #fff; }
.tile--vivid h2, .tile--sage h2 { color: #fff; }
.tile--vivid .t-sub, .tile--sage .t-sub { color: rgba(255, 255, 255, 0.85); }
.tile--vivid .t-eyebrow, .tile--sage .t-eyebrow { color: rgba(255, 255, 255, 0.9); }
.tile--vivid .cite { margin-top: 22px; font-size: 15px; color: rgba(255, 255, 255, 0.8); }

/* Primary pill flips to white on dark/colored tiles; stays blue on light */
.tile--dark .btn--accent,
.tile--vivid .btn--accent,
.tile--sage .btn--accent { background: #fff; color: #1d1d1f; }
.tile--dark .btn--accent:hover,
.tile--vivid .btn--accent:hover,
.tile--sage .btn--accent:hover { background: #f0f0f2; }

.tile--dark .btn--secondary,
.tile--vivid .btn--secondary,
.tile--sage .btn--secondary { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.tile--dark .btn--secondary:hover,
.tile--vivid .btn--secondary:hover,
.tile--sage .btn--secondary:hover { border-color: #fff; }

/* Decorative gradient orbs (stand in for product imagery) */
.orb {
  position: absolute; z-index: 1; border-radius: 50%;
  filter: blur(6px); pointer-events: none;
}
.orb--coral  { background: radial-gradient(circle at 35% 30%, #ffb499, #c1502c); }
.orb--violet { background: radial-gradient(circle at 35% 30%, #c3b6f5, #5b46a3); }
.orb--sky    { background: radial-gradient(circle at 35% 30%, #a9d4f5, #1f6aa8); }

.tile .grid-cap { margin-top: 44px; width: 100%; max-width: 920px; }

@media (max-width: 820px) {
  .tilegrid { grid-template-columns: 1fr; }
  .tile { min-height: 460px; padding: 48px 28px; }
}

/* =========================================================================
   Feature pillars (Build / Operate / Grow)
   ========================================================================= */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 40px 34px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar .kick {
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--accent-ink); margin-bottom: 18px;
}
.pillar h3 {
  font-size: 27px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px;
}
.pillar p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }

/* =========================================================================
   Disciplines grid (the agency capabilities)
   ========================================================================= */

.grid-cap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cap {
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 30px 28px;
  text-align: left;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s ease;
}
.cap:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line); }
.cap .ic {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent-ink);
  margin-bottom: 18px;
}
.cap .ic svg { width: 22px; height: 22px; }

/* Per-capability color tints */
.cap--rose   .ic { background: rgba(214, 51, 108, 0.13);  color: var(--c-rose-ink); }
.cap--sage   .ic { background: rgba(63, 174, 134, 0.14);  color: var(--c-sage-ink); }
.cap--sky    .ic { background: rgba(59, 143, 212, 0.14);  color: var(--c-sky-ink); }
.cap--coral  .ic { background: rgba(236, 122, 82, 0.14);  color: var(--c-coral-ink); }
.cap--violet .ic { background: rgba(138, 114, 208, 0.14); color: var(--c-violet-ink); }
.cap--ink    .ic { background: rgba(29, 29, 31, 0.06);    color: var(--ink); }
.cap h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.cap p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* =========================================================================
   Steps (approach / process)
   ========================================================================= */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { text-align: left; }
.step .n {
  font-size: 14px; font-weight: 600; color: var(--accent-ink);
  padding-bottom: 14px; margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.step h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.step p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* =========================================================================
   Statement (big centered manifesto)
   ========================================================================= */

/* Vivid full-bleed gradient moment */
.statement {
  position: relative;
  color: #fff;
  background: var(--grad-vivid);
  background-size: 180% 180%;
  animation: grad-pan 22s ease-in-out infinite;
  overflow: hidden;
}
.statement::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(90% 120% at 50% -10%, rgba(255,255,255,0.28), transparent 55%);
  pointer-events: none;
}
.statement .wrap { position: relative; text-align: center; }
.statement p {
  font-size: clamp(28px, 4.4vw, 52px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  max-width: 20ch;
  margin: 0 auto;
  text-shadow: 0 1px 30px rgba(0, 0, 0, 0.12);
}
.statement .cite {
  margin-top: 28px; font-size: 15px; letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
}

/* =========================================================================
   Brand cards (Brands page)
   ========================================================================= */

.brandgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.brandcard {
  position: relative; display: flex; flex-direction: column; min-height: 320px;
  padding: 30px; border-radius: var(--r-lg);
  background: var(--bg); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm);
  text-align: left; text-decoration: none; color: var(--ink); overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.brandcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.brandcard .badge {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 18px; box-shadow: var(--shadow-sm);
}
.brandcard h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin-top: 22px; }
.brandcard .tag { font-size: 15px; color: var(--ink-2); margin-top: 6px; }
.brandcard p { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin-top: 14px; }
.brandcard .visit {
  margin-top: auto; padding-top: 20px; font-size: 15px; font-weight: 500;
  color: var(--accent-ink); display: inline-flex; align-items: center; gap: 6px;
}
.brandcard .visit .chev { transition: transform 0.25s var(--ease); }
.brandcard:hover .visit .chev { transform: translateX(4px); }
.brandcard .wash {
  position: absolute; inset: 0; z-index: 0; opacity: 0.6;
  background: radial-gradient(120% 90% at 100% 0%, var(--wash, rgba(201,169,110,0.14)), transparent 55%);
  pointer-events: none;
}
.brandcard > * { position: relative; z-index: 1; }

@media (max-width: 820px) { .brandgrid { grid-template-columns: 1fr; } }

/* =========================================================================
   CTA band
   ========================================================================= */

.cta { background: var(--panel); text-align: center; }
.cta h2 {
  font-size: clamp(30px, 4.4vw, 52px); font-weight: 600;
  line-height: 1.07; letter-spacing: -0.015em; margin: 0 auto 14px; max-width: 18ch;
}
.cta p { font-size: 19px; color: var(--ink-2); margin: 0 auto 32px; max-width: 40ch; }

/* =========================================================================
   Journal
   ========================================================================= */

.journal { max-width: 680px; margin: 56px auto 0; text-align: left; }
.entry { padding: 36px 0; border-top: 1px solid var(--line); }
.entry:first-child { padding-top: 0; border-top: 0; }
.entry .date {
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 12px;
}
.entry h2 {
  font-size: clamp(24px, 3vw, 32px); font-weight: 600;
  line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 12px;
}
.entry p { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.entry p + p { margin-top: 14px; }

/* =========================================================================
   Page hero (subpages)
   ========================================================================= */

.pagehead { padding: clamp(80px, 12vh, 150px) 0 clamp(24px, 4vh, 48px); text-align: center; }
.pagehead h1 {
  font-size: clamp(40px, 6.4vw, 76px); font-weight: 600;
  line-height: 1.04; letter-spacing: -0.02em; margin: 0 auto 18px; max-width: 18ch;
}
.pagehead .lede {
  font-size: clamp(18px, 2.1vw, 22px); line-height: 1.45; color: var(--ink-2);
  max-width: 42ch; margin: 0 auto;
}

/* =========================================================================
   Scroll reveal
   ========================================================================= */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================================
   Legal pages
   ========================================================================= */

main.legal { padding: clamp(64px, 10vh, 110px) 0 96px; background: var(--bg); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.06; margin-bottom: 10px; max-width: 24ch; }
.legal .updated {
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 44px;
}
.legal section { max-width: 68ch; margin-bottom: 36px; }
.legal h2 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 12px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; }
.legal p + p { margin-top: 14px; }
.legal ul { margin: 14px 0 0 20px; }
.legal li + li { margin-top: 8px; }
.legal li::marker { color: var(--accent-ink); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--accent-ink); text-decoration: none; border-bottom: 1px solid rgba(0, 98, 196, 0.4); }
.legal a:hover { border-bottom-color: var(--accent-ink); }

/* =========================================================================
   Footer (Apple-style: rich, quiet, multi-column)
   ========================================================================= */

footer.site {
  background: var(--panel);
  border-top: 1px solid var(--line-2);
  padding: 56px 0 40px;
}
footer.site .wrap { max-width: var(--maxw-wide); }

.foot-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.foot-brand .mark { margin-bottom: 14px; }
.foot-brand p { font-size: 14px; line-height: 1.55; color: var(--ink-2); max-width: 30ch; }

.foot-col h4 {
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px;
}
.foot-col a {
  display: block; font-size: 14px; color: var(--ink-2);
  text-decoration: none; padding: 5px 0; transition: color 0.2s ease;
}
.foot-col a:hover, .foot-col a[aria-current="page"] { color: var(--ink); }
.foot-col p { font-size: 14px; line-height: 1.7; color: var(--ink-3); }

.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px 32px; flex-wrap: wrap; padding-top: 28px;
}
.foot-bottom p { font-size: 12px; color: var(--ink-3); }
.foot-bottom .fine { max-width: 62ch; line-height: 1.5; }

@media (max-width: 820px) {
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .foot-top { grid-template-columns: 1fr; }
}

/* =========================================================================
   Responsive
   ========================================================================= */

@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; gap: 18px; }
  .grid-cap { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .grid-cap { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll .dot::after { animation: none; }
  .hero::before { animation: none; }
  .tile--vivid, .statement, .orb { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto; }
}
