@import './brand.css?v=20260917d';

/* Public site chrome. Named brand colors come from brand.css. */

:root {
  --bg: var(--sh-white);
  --blue-5: var(--sh-navy);
  --container: 1240px;
  --radius-card: 16px;
  --radius-pill: 90px;
  --section-pad: 80px;
  --motion: 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  color: var(--sh-charcoal);
  font-family: var(--sh-font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  /* clip, not hidden: hidden turns the page into a scroll box and sticky stops (header, phone menu, progress rule). */
  overflow-x: clip;
}

html {
  background: var(--sh-wash-base);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--sh-navy); }
a:hover { color: var(--sh-navy-press); }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
}

/* Type */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  color: var(--sh-navy);
  margin-bottom: 16px;
}

.eyebrow-mute { color: var(--sh-mute); }

h1, .h1 {
  margin: 0 0 20px;
  color: var(--sh-navy);
  font-size: 50px;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.6px;
  max-width: 20ch;
  text-wrap: pretty;
}

.hero-home h1 {
  font-size: 64px;
  line-height: 1.12;
  letter-spacing: -0.768px;
  max-width: 17ch;
}
.hero-home .eyebrow { margin-bottom: 20px; }
.hero-home .lede { max-width: 56ch; }

h2, .h2 {
  margin: 0 0 16px;
  color: var(--sh-navy);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.4px;
  text-wrap: pretty;
}

h3, .h3 {
  margin: 0 0 12px;
  color: var(--sh-navy);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.256px;
}

.lede {
  margin: 0;
  max-width: 62ch;
  font-size: 18px;
  line-height: 1.55;
  color: var(--sh-charcoal);
  text-wrap: pretty;
}

.lede-mute { color: var(--sh-mute); }

.pill {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  color: var(--sh-charcoal);
  background: var(--sh-mist);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  font-family: var(--sh-font);
  font-weight: 700;
  line-height: 1;
  transition: background-color var(--motion), color var(--motion);
}

.btn.lg { font-size: 18px; padding: 14px 28px; min-height: 50px; }
.btn.cap { font-size: 14.4px; letter-spacing: 0.144px; padding: 14px 28px; min-height: 40px; }

.btn.primary { background: var(--sh-navy); color: var(--sh-white); }
.btn.primary:hover { background: var(--sh-navy-press); color: var(--sh-white); }

.btn.secondary { background: var(--sh-mist); color: var(--sh-charcoal); padding: 10px 30px; }
.btn.secondary:hover { background: var(--sh-hill); color: var(--sh-navy); }

.btn.outline-on-navy {
  background: transparent;
  color: var(--sh-white);
  box-shadow: inset 0 0 0 2px var(--sh-white);
}
.btn.outline-on-navy:hover { background: var(--sh-navy-press); color: var(--sh-white); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 20px 32px;
  background: var(--sh-white);
  border-bottom: 1px solid var(--sh-hairline);
  flex-wrap: wrap;
}

.logo {
  flex: 0 0 auto;
  display: flex;
  text-decoration: none;
  color: inherit;
}
.logo img { height: 38px; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: 16px;
  line-height: 1.55;
  text-decoration: none;
  color: var(--sh-charcoal);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--sh-navy); }

.nav-cta { flex: 0 0 auto; display: flex; gap: 12px; }

.nav-burger {
  display: none;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--sh-navy);
}

.nav-drawer {
  position: sticky;
  top: 60px;
  z-index: 99;
  background: var(--sh-white);
  border-bottom: 1px solid var(--sh-hairline);
  padding: 8px 20px 16px;
  display: flex;
  flex-direction: column;
}
.nav-drawer[hidden] { display: none !important; }
.nav-drawer a {
  font-size: 18px;
  min-height: 52px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--sh-navy);
  border-bottom: 1px solid var(--sh-hairline);
}

/* Header frost: progressive blur. 16 stacked layers of light blur, each masked a little shorter,
   so the blur eases from full at the top to none at the bottom (no hard line). Per-layer blur is
   max / sqrt(layers) because stacked blurs add in quadrature. Desktop keeps it inside the header;
   the phone lets it run 40px past. With the phone menu open, header + menu are one even frost panel.
   Browsers missing backdrop-filter, color-mix or :has keep the white header. */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) and (color: color-mix(in srgb, white 50%, transparent)) and selector(:has(*)) {
  .site-header { background: transparent; border-bottom: 0; }
  .header-blur {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100%;
    z-index: -1;
    pointer-events: none;
  }
  .header-blur::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
      color-mix(in srgb, var(--sh-white) 62%, transparent) 0%,
      color-mix(in srgb, var(--sh-white) 60.5%, transparent) 10%,
      color-mix(in srgb, var(--sh-white) 56.1%, transparent) 20%,
      color-mix(in srgb, var(--sh-white) 49.2%, transparent) 30%,
      color-mix(in srgb, var(--sh-white) 40.6%, transparent) 40%,
      color-mix(in srgb, var(--sh-white) 31.0%, transparent) 50%,
      color-mix(in srgb, var(--sh-white) 21.4%, transparent) 60%,
      color-mix(in srgb, var(--sh-white) 12.8%, transparent) 70%,
      color-mix(in srgb, var(--sh-white) 5.9%, transparent) 80%,
      color-mix(in srgb, var(--sh-white) 1.5%, transparent) 90%,
      color-mix(in srgb, var(--sh-white) 0.0%, transparent) 100%);
  }
  .header-blur > i {
    position: absolute;
    inset: 0;
    -webkit-backdrop-filter: blur(1.75px);
    backdrop-filter: blur(1.75px);
    --mask: linear-gradient(to bottom,
      black var(--s),
      color-mix(in srgb, black 92.6%, transparent) calc(var(--s) + (var(--e) - var(--s)) * 1 / 6),
      color-mix(in srgb, black 74.1%, transparent) calc(var(--s) + (var(--e) - var(--s)) * 2 / 6),
      color-mix(in srgb, black 50%, transparent) calc(var(--s) + (var(--e) - var(--s)) * 3 / 6),
      color-mix(in srgb, black 25.9%, transparent) calc(var(--s) + (var(--e) - var(--s)) * 4 / 6),
      color-mix(in srgb, black 7.4%, transparent) calc(var(--s) + (var(--e) - var(--s)) * 5 / 6),
      transparent var(--e));
    -webkit-mask-image: var(--mask);
    mask-image: var(--mask);
  }
  .header-blur > i:nth-child(1) { --s: 81.25%; --e: 100%; }
  .header-blur > i:nth-child(2) { --s: 75%; --e: 93.75%; }
  .header-blur > i:nth-child(3) { --s: 68.75%; --e: 87.5%; }
  .header-blur > i:nth-child(4) { --s: 62.5%; --e: 81.25%; }
  .header-blur > i:nth-child(5) { --s: 56.25%; --e: 75%; }
  .header-blur > i:nth-child(6) { --s: 50%; --e: 68.75%; }
  .header-blur > i:nth-child(7) { --s: 43.75%; --e: 62.5%; }
  .header-blur > i:nth-child(8) { --s: 37.5%; --e: 56.25%; }
  .header-blur > i:nth-child(9) { --s: 31.25%; --e: 50%; }
  .header-blur > i:nth-child(10) { --s: 25%; --e: 43.75%; }
  .header-blur > i:nth-child(11) { --s: 18.75%; --e: 37.5%; }
  .header-blur > i:nth-child(12) { --s: 12.5%; --e: 31.25%; }
  .header-blur > i:nth-child(13) { --s: 6.25%; --e: 25%; }
  .header-blur > i:nth-child(14) { --s: 0%; --e: 18.75%; }
  .header-blur > i:nth-child(15) { --s: 0%; --e: 12.5%; }
  .header-blur > i:nth-child(16) { --s: 0%; --e: 6.25%; }

  .nav-drawer {
    background: color-mix(in srgb, var(--sh-white) 62%, transparent);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
    border-bottom: 0;
    padding-bottom: 0;
  }
  @media (max-width: 767px) {
    .header-blur { height: calc(100% + 40px); }
    .site-header:has(+ .nav-drawer:not([hidden])) .header-blur { height: 100%; }
    .site-header:has(+ .nav-drawer:not([hidden])) .header-blur > i { -webkit-mask-image: none; mask-image: none; }
    .site-header:has(+ .nav-drawer:not([hidden])) .header-blur::after { background: color-mix(in srgb, var(--sh-white) 62%, transparent); }
  }
}
@supports not (((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) and (color: color-mix(in srgb, white 50%, transparent)) and selector(:has(*))) {
  .header-blur { display: none; }
}
@media (min-width: 768px) {
  .nav-drawer { display: none !important; }
}

/* Sky */
.sky {
  position: relative;
  overflow: hidden;
}
.sky-strong {
  background:
    radial-gradient(58% 68% at 18% 4%, var(--sh-powder) 0%, transparent 62%),
    radial-gradient(54% 64% at 82% 0%, var(--sh-hill) 0%, transparent 64%),
    radial-gradient(120% 90% at 50% 108%, var(--sh-hill) 0%, transparent 66%),
    var(--sh-mist);
}
.sky-soft {
  background:
    radial-gradient(70% 80% at 50% 0%, var(--sh-mist) 0%, transparent 70%),
    var(--sh-white);
}
.sky-horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  line-height: 0;
}
.sky-horizon svg.horizon { display: block; width: 100%; }
.sky-inner { position: relative; }

.hero-home .sky-inner { padding: 80px 24px 300px; }
.hero-page .sky-inner { padding: 72px 24px 96px; }
.hero-page.tight .sky-inner { padding: 72px 24px 80px; }

.hero-note {
  margin: 16px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--sh-mute);
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* Sections */
.section { padding: var(--section-pad) 24px; }
.section-follow { padding: 0 24px 96px; }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  align-items: start;
}
.split-copy { display: flex; flex-direction: column; gap: 20px; }
.split-copy p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--sh-charcoal); text-wrap: pretty; }

.prose-narrow { max-width: 900px; margin: 0 auto; }
.prose-narrow h2 { margin-bottom: 28px; }
.prose-narrow p { margin: 0 0 20px; font-size: 18px; line-height: 1.6; color: var(--sh-charcoal); text-wrap: pretty; }
.prose-narrow p:last-child { margin-bottom: 0; }
.prose-narrow p:has(+ .story-result) { margin-bottom: 28px; }
.prose-narrow strong { color: var(--sh-navy); }

h2:has(+ .card-grid),
h2:has(+ .stack),
h2:has(+ .landing),
h2:has(+ .bars) { margin-bottom: 40px; }
.rule-top > h2 { margin-bottom: 48px; }

.story-result {
  border-top: 1px solid var(--sh-hairline);
  padding-top: 24px;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
}
.card-grid.four { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card-grid.three { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid.story {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.card {
  background: var(--sh-white);
  border: 1px solid var(--sh-hairline);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card.mist { background: var(--sh-mist); border: 0; }
.card h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.2px;
  color: var(--sh-navy);
}
.card .card-title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.256px;
  color: var(--sh-navy);
}
.card p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--sh-charcoal); text-wrap: pretty; }
.card p.mute { color: var(--sh-mute); }
.card svg { flex: 0 0 auto; }
.card.arc {
  border-top-width: 3px;
  border-top-color: var(--sh-navy);
  padding: 36px 32px 40px;
  gap: 12px;
  min-width: 0;
}
.card.arc .eyebrow { margin-bottom: 4px; }
.card.arc p { margin-top: 8px; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  align-items: start;
}
.services-grid h3 { font-size: 24px; margin-bottom: 20px; }
.item-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.item-list > li {
  font-size: 18px;
  line-height: 1.55;
  color: var(--sh-charcoal);
  border-bottom: 1px solid var(--sh-hairline);
  padding: 0 0 12px;
}
.item-list > li:last-child { border-bottom: 0; }
.item-list .sub { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.item-list .sub li {
  font-size: 16px;
  line-height: 1.55;
  color: var(--sh-mute);
  padding-left: 16px;
}

#our-services { scroll-margin-top: 96px; }

.rule-top { border-top: 1px solid var(--sh-hairline); padding-top: 64px; }

/* Layers */
.stack { display: flex; flex-direction: column; gap: 20px; }
.layer {
  background: var(--sh-white);
  border: 1px solid var(--sh-hairline);
  border-radius: var(--radius-card);
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.layer > :first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.layer-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.96px; text-transform: uppercase; color: var(--sh-navy); margin-bottom: 8px; }
.layer-name { font-size: 32px; font-weight: 600; line-height: 1.2; letter-spacing: -0.256px; color: var(--sh-navy); }
.layer-tag { margin: 12px 0 0; font-size: 16px; line-height: 1.55; color: var(--sh-mute); }
.layer-copy { display: flex; flex-direction: column; gap: 12px; }
.layer-copy p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--sh-charcoal); }
.layer-copy .outcome { color: var(--sh-mute); }
.layer-copy .outcome strong { color: var(--sh-navy); }

/* Ratio bars */
.bars { display: flex; flex-direction: column; gap: 32px; max-width: 900px; }
.bar-label { font-size: 18px; font-weight: 600; line-height: 1.55; color: var(--sh-navy); margin-bottom: 12px; }
.bar-row { display: flex; gap: 8px; }
.bar { min-width: 0; border-radius: 8px; padding: 16px 20px; font-size: 16px; line-height: 1.55; }
.bar-run { background: var(--sh-mist); color: var(--sh-charcoal); }
.bar-grow { background: var(--sh-hill); color: var(--sh-navy); }
.bar-80 { flex: 80; }
.bar-20 { flex: 20; }
.bar-45 { flex: 45; }
.bar-55 { flex: 55; }

/* Process steps */
.steps { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.step {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 28px;
  border-bottom: 1px solid var(--sh-hairline);
  padding-bottom: 32px;
}
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step-num { font-size: 50px; font-weight: 700; line-height: 1; letter-spacing: -0.6px; color: var(--sh-navy); }
.step p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--sh-charcoal); }

/* Landings */
.landing { display: flex; flex-direction: column; }
.landing-row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
  gap: 32px;
  align-items: baseline;
  padding: 24px 0;
  border-top: 1px solid var(--sh-hill);
}
.landing-row:last-child { border-bottom: 1px solid var(--sh-hill); }
.landing-row .h { font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -0.2px; color: var(--sh-navy); text-wrap: pretty; }
.landing-row p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--sh-charcoal); text-wrap: pretty; }

/* Article teaser */
.teaser {
  display: block;
  max-width: var(--container);
  margin: 0 auto;
  text-decoration: none;
  background: var(--sh-mist);
  border: 1px solid var(--sh-mist);
  border-radius: var(--radius-card);
  padding: 48px;
  transition: border-color var(--motion), background var(--motion);
}
.teaser:hover { border-color: var(--sh-navy); background: var(--sh-mist-hover); }
.teaser h2 { margin: 0 0 16px; max-width: 26ch; }
.teaser p { margin: 0 0 32px; max-width: 62ch; font-size: 18px; line-height: 1.55; color: var(--sh-charcoal); text-wrap: pretty; }

/* Blog index */
.post-list { max-width: 1000px; margin: 0 auto; }
.post-row {
  border-top: 1px solid var(--sh-hairline);
  padding: 32px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  text-decoration: none;
  color: inherit;
}
.post-row h2 { font-size: 32px; margin: 0 0 10px; }
.post-row p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--sh-charcoal); max-width: 60ch; text-wrap: pretty; }
.post-date { font-size: 14px; line-height: 1.55; color: var(--sh-mute); white-space: nowrap; padding-top: 30px; }

/* Article */
.article { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.article-back { font-size: 14px; text-decoration: none; color: var(--sh-mute); }
.article .eyebrow { margin: 32px 0 16px; }
.article h1 { max-width: none; }
.article-meta { font-size: 14px; line-height: 1.55; color: var(--sh-mute); margin-bottom: 32px; }
.article-standfirst { margin: 0 0 32px; font-size: 20px; line-height: 1.55; color: var(--sh-charcoal); text-wrap: pretty; }
.article-figure { margin: 0 0 24px; }
.article-hero { margin: 0 0 32px; }
.article-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-card);
}
.article-body { border-top: 1px solid var(--sh-hairline); padding-top: 32px; }
.article-body h2 { font-size: 32px; margin: 40px 0 16px; }
.article-body h3 { font-size: 24px; margin: 28px 0 12px; }
.article-body p { margin: 0 0 20px; font-size: 18px; line-height: 1.65; color: var(--sh-charcoal); text-wrap: pretty; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 22px; }
.article-body li { font-size: 18px; line-height: 1.65; color: var(--sh-charcoal); margin: 0 0 8px; }
.article-body strong { color: var(--sh-navy); }

/* Founders */
.founder-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.founder-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.founder-role { font-size: 12px; font-weight: 700; letter-spacing: 0.96px; text-transform: uppercase; color: var(--sh-mute); margin-top: 6px; }
.founder-name { font-size: 24px; font-weight: 600; line-height: 1.25; color: var(--sh-navy); }

/* Book */
.book-shell { max-width: 1180px; margin: 0 auto; }
.book-intro { text-align: center; padding: 48px 24px 0; max-width: 620px; margin: 0 auto; }
.book-intro .lede { margin: 14px auto 0; }
.book-card {
  margin: 34px 24px 0;
  border: 1px solid var(--sh-hairline);
  border-radius: 14px;
  background: var(--sh-white);
  overflow: hidden;
}
.book-card iframe { display: block; width: 100%; height: 720px; border: 0; }
.book-foot { text-align: center; padding: 24px; font-size: 16px; color: var(--sh-charcoal); }
.book-foot a { font-weight: 500; text-decoration: none; }

/* Navy band + footer — full viewport width; hills scale with page width. */
.navy-band {
  background: var(--sh-navy);
  color: var(--sh-white);
  width: 100%;
  max-width: none;
  margin: 0 0 -3vw;
  border-radius: 0;
  padding: 64px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}
.navy-band h2 {
  margin: 0;
  max-width: 20ch;
  color: var(--sh-white);
  font-size: 58px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.464px;
}
.navy-band p {
  margin: 0;
  max-width: 52ch;
  font-size: 18px;
  line-height: 1.55;
  color: var(--sh-powder);
}

.site-footer {
  background: var(--sh-navy);
  color: var(--sh-white);
  width: 100%;
  max-width: none;
  border-radius: 0;
}
.site-footer [data-hills] {
  width: 100%;
  line-height: 0;
  overflow: hidden;
  pointer-events: none;
}
.site-footer .hills-band {
  width: 100%;
  height: auto;
  display: block;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px 0;
  color: var(--sh-white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.2px;
  text-decoration: none;
}
.footer-brand:hover { color: var(--sh-white); }
.footer-brand img { height: 26px; width: auto; display: block; }
.footer-legal {
  margin-top: 28px;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  font-size: 14px;
  color: var(--sh-powder);
  border-top: 1px solid var(--sh-navy-press);
}
.footer-legal a { color: var(--sh-powder); text-decoration: none; }
.footer-legal a:hover { color: var(--sh-white); }

@media (max-width: 767px) {
  .site-header { padding: 6px 16px; gap: 4px; }
  .site-header .nav-links { display: none; }
  .site-header .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .logo img { height: 30px; }
  h1, .h1, .hero-home h1 { font-size: 30px; letter-spacing: -0.3px; max-width: none; }
  h2, .h2, .navy-band h2 { font-size: 26px; letter-spacing: -0.2px; max-width: none; }
  h3, .h3 { font-size: 21px; }
  .section, .section-follow { padding-left: 20px; padding-right: 20px; }
  .btn, a[role="button"] { min-height: 48px; }
  .sky-horizon svg.horizon { width: 280%; max-width: none; margin-left: -90%; }
  .post-row { grid-template-columns: 1fr; }
  .post-date { padding-top: 0; }
  .book-intro { margin-top: 34px; padding: 0 16px; }
  .book-card { margin: 24px 16px 0; }
  .book-card iframe { height: clamp(1040px, 138dvh, 1240px); }
}

@media (max-width: 1023px) {
  .card-grid.story { grid-template-columns: 1fr; }
  .card.arc .card-title { font-size: 26px; }
}

/* Page-length sky.
   The hero gradient, extended behind every page. Layers are anchored in pixels from the top
   and the bottom and sized in pixels, so a short page and a long page read the same; only the
   flat middle stretches. Section grounds go transparent so the wash runs the whole page with no seam;
   cards and the navy band keep their own color; the header is frosted (see Header frost). Color comes from brand.css. */
body {
  background-color: var(--sh-wash-base);
  background-image:
    radial-gradient(closest-side, var(--sh-powder) 0%, color-mix(in srgb, var(--sh-powder) 0%, transparent) 100%),
    radial-gradient(closest-side, var(--sh-hill) 0%, color-mix(in srgb, var(--sh-hill) 0%, transparent) 100%),
    radial-gradient(closest-side, var(--sh-hill) 0%, color-mix(in srgb, var(--sh-hill) 0%, transparent) 100%),
    linear-gradient(180deg, var(--sh-mist) 0px, color-mix(in srgb, var(--sh-mist) 0%, transparent) 820px),
    radial-gradient(closest-side, color-mix(in srgb, var(--sh-powder) 55%, transparent) 0%, color-mix(in srgb, var(--sh-powder) 0%, transparent) 100%),
    linear-gradient(0deg, var(--sh-mist) 0px, color-mix(in srgb, var(--sh-mist) 0%, transparent) 560px);
  background-repeat: no-repeat;
  background-size:
    1100px 620px,
    1000px 560px,
    1700px 520px,
    100% 820px,
    1200px 620px,
    100% 560px;
  background-position:
    left -180px top -160px,
    right -160px top -120px,
    center top 520px,
    left top,
    right -240px bottom 620px,
    left bottom;
}

.sky-strong,
.sky-soft,
.section-white,
.section-mist,
.section-follow,
.article { background: transparent; }

/* Scroll motion.
   Everything here waits on .motion, which site.js adds once its scroll handler is running,
   so a page with no JS renders exactly as before. */
.scroll-rail { position: sticky; top: 0; height: 0; z-index: 120; pointer-events: none; }
.scroll-progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--sh-navy);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.motion .scroll-progress { transform: scaleX(var(--scroll-p, 0)); }

.motion .sky-inner {
  opacity: calc(1 - var(--hero-p, 0));
  transform: translateY(calc(var(--hero-p, 0) * -80px));
}
/* Faded out means gone: an invisible button must not take a click or the focus ring. */
.motion .sky-inner.spent { visibility: hidden; }
.motion .sky-horizon svg {
  transform-origin: 50% 100%;
  transform: translateY(calc(var(--hero-p, 0) * 40px)) scale(calc(1 + var(--hero-p, 0) * 0.06));
}

.motion .rise {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.motion .rise.in { opacity: 1; transform: none; }
.motion .rise:nth-child(3n + 2) { transition-delay: 110ms; }
.motion .rise:nth-child(3n + 3) { transition-delay: 220ms; }

.motion [data-hills] svg {
  transform-origin: 50% 100%;
  transform: translateY(40%) scaleY(0.6);
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.motion [data-hills].in svg { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .motion .rise,
  .motion [data-hills] svg,
  .motion .sky-inner > * {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
  .motion .sky-inner,
  .motion .sky-inner.spent { opacity: 1; transform: none; visibility: visible; }
  .motion .sky-horizon svg { transform: none; }
  .scroll-rail { display: none; }
}

@media print {
  .motion .rise,
  .motion .sky-inner > * {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .motion .sky-inner,
  .motion .sky-inner.spent { opacity: 1; transform: none; visibility: visible; }
  .motion [data-hills] svg { transform: none; }
  .scroll-rail { display: none; }
}
