/* =========================================================
   Have Fun Be Safe · site styles
   Plain CSS, no build step. Motion is driven by js/site.js,
   which adds .is-in to elements as they scroll into view.
   ========================================================= */

:root {
  --ink: #12263A;
  --harbor: #2F5D7C;
  --sand: #EFE6D8;
  --sand-line: #D9CDB8;
  --shell: #F7F4EE;
  --shell-line: #E4DCCD;
  --coral: #E07A5F;
  --mist: #C9D3DC;      /* secondary text on Ink */
  --mist-2: #DCE3E9;    /* body text on Ink */
  --ink-line: #3E5A74;  /* hairlines on Ink */
  --white: #FFFFFF;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Karla', Arial, Helvetica, sans-serif;

  /* Motion: smooth ease-out, no overshoot */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --dur: 0.85s;
  --dur-word: 0.8s;
  --word-step: 60ms;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --shadow-lift: 0 28px 60px rgba(18, 38, 58, 0.12);
  --shadow-soft: 0 24px 48px rgba(18, 38, 58, 0.10);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--shell);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--harbor); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--harbor); outline-offset: 3px; }
.on-ink :focus-visible { outline-color: var(--mist); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 16px; z-index: 100; border-radius: 4px; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

/* ---------- Type ---------- */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 600; margin: 0; }
h1 { font-size: clamp(40px, 5vw, 54px); line-height: 1.08; }
h2 { font-size: clamp(30px, 3.4vw, 36px); line-height: 1.15; }
h3 { font-size: 24px; line-height: 1.25; }
h1 em, h2 em, h3 em { font-style: italic; }
p { margin: 0; }
.lede { font-size: 18px; max-width: 520px; }
.small { font-size: 15px; }
.muted { color: var(--harbor); }
.label {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--harbor);
}
.on-ink { color: var(--white); }
.on-ink .label { color: var(--mist); }
.on-ink p { color: var(--mist-2); }
.on-ink h2, .on-ink h3 { color: var(--white); }

/* Short dashed accent rule (coral + sand), from the promo */
.dash { display: flex; gap: 5px; margin-top: 4px; }
.dash i { display: block; height: 2px; width: 14px; background: var(--sand-line); }
.dash i:first-child { background: var(--coral); }
.on-ink .dash i { background: var(--ink-line); }
.on-ink .dash i:first-child { background: var(--coral); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 28px;
  background: var(--coral); color: var(--ink);
  font-family: var(--sans); font-weight: 700; font-size: 16px;
  border: 0; border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: box-shadow 0.6s var(--ease-quart), transform 0.6s var(--ease-quart);
}
.btn:hover { color: var(--ink); box-shadow: 0 10px 24px rgba(18, 38, 58, 0.18); transform: translateY(-1px); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.link { font-weight: 700; text-decoration: none; color: var(--harbor); }
.link:hover { color: var(--ink); }
.arrow { display: inline-block; transition: transform 0.6s var(--ease-quart); }
.link:hover .arrow, .row:hover .arrow, .row:focus-visible .arrow { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; background: var(--shell); border-bottom: 1px solid var(--shell-line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
/* Logo mark (brand guide v1.0): H F over B S, each column left-aligned on the letters,
   with one coral rule running from the top of the capitals to the baseline. No box. */
.mark {
  display: inline-flex; flex: none; align-items: stretch; gap: 0.29em;
  font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--coral);
}
.mark-letters {
  display: grid; grid-template-columns: auto auto; column-gap: 0.1em; row-gap: 0.32em;
  justify-items: start; line-height: 0.63em; letter-spacing: 0;
}
.mark-rule { width: 0.08em; background: var(--coral); }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 25px; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease-expo);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--harbor); font-weight: 700; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 999px;
  background: transparent; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
@media (max-width: 900px) {
  .brand-name { font-size: 21px; }
  .mark { font-size: 16px; }
  .brand { gap: 12px; }
  .site-header .wrap { min-height: 70px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 8px var(--gutter) 24px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { color: var(--white); padding: 14px 0; border-bottom: 1px solid var(--ink-line); font-size: 17px; }
  .nav a:not(.btn)::after { display: none; }
  .nav a[aria-current="page"] { color: var(--mist); }
  .nav .btn { margin-top: 16px; }
}

/* ---------- Sections & backgrounds ---------- */
.section { position: relative; overflow: hidden; }
.section > .wrap, .section > .layer { position: relative; z-index: 1; }
.pad { padding-top: 112px; padding-bottom: 112px; }
.pad-sm { padding-top: 80px; padding-bottom: 80px; }
@media (max-width: 700px) { .pad { padding-top: 72px; padding-bottom: 72px; } .pad-sm { padding-top: 56px; padding-bottom: 56px; } }
.bg-shell { background: var(--shell); }
.bg-sand { background: var(--sand); }
.bg-ink { background: var(--ink); }

/* Faint dot grid on light sections, drifting very slowly */
.dots::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  top: -24px; left: -24px; right: -24px; bottom: -24px;
  background-image: radial-gradient(rgba(18, 38, 58, 0.075) 1px, transparent 1.5px);
  background-size: 24px 24px;
}
.bg-sand.dots::before { background-image: radial-gradient(rgba(18, 38, 58, 0.06) 1px, transparent 1.5px); }
@keyframes dot-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(24px, 24px, 0); } }

/* Fine contour lines on Ink sections, drifting sideways */
.contours::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  top: 0; bottom: 0; left: -480px; width: calc(100% + 480px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='180' viewBox='0 0 480 180'%3E%3Cg fill='none' stroke='%23C9D3DC' stroke-opacity='0.07' stroke-width='1'%3E%3Cpath d='M0 20 C80 6 160 6 240 20 S400 34 480 20'/%3E%3Cpath d='M0 65 C80 80 160 80 240 65 S400 50 480 65'/%3E%3Cpath d='M0 110 C80 96 160 98 240 112 S400 124 480 110'/%3E%3Cpath d='M0 155 C80 168 160 166 240 152 S400 142 480 155'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 480px 180px;
}
@keyframes contour-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(480px, 0, 0); } }

/* ---------- Motion: reveal system ----------
   Hidden states apply only when JS is running (html.js) and
   the visitor has not asked for reduced motion (html.motion). */
.motion [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity var(--dur) var(--ease-quart), transform var(--dur) var(--ease-expo);
  transition-delay: var(--d, 0ms);
}
.motion [data-reveal="rise-lg"] { transform: translate3d(0, 24px, 0); }
.motion [data-reveal="fade"] { transform: none; }
.motion [data-reveal].is-in { opacity: 1; transform: none; }

/* Hairline rules that draw left to right */
.rule { display: block; height: 1px; background: var(--ink); border: 0; margin: 0; }
.on-ink .rule { background: var(--ink-line); }
.rule--light { background: var(--shell-line); }
.rule--sand { background: var(--sand-line); }
.motion .rule[data-draw] {
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.9s var(--ease-expo); transition-delay: var(--d, 0ms);
}
.motion .rule[data-draw].is-in { transform: scaleX(1); }

/* Dashed accent draws segment by segment */
.motion .dash[data-draw] i { transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-expo); }
.motion .dash[data-draw] i:nth-child(2) { transition-delay: 120ms; }
.motion .dash[data-draw] i:nth-child(3) { transition-delay: 240ms; }
.motion .dash[data-draw].is-in i { transform: scaleX(1); }

/* Headlines: words slide up from behind an invisible mask */
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 0.04em 0.14em; margin: 0 -0.04em -0.14em; }
.split .wi { display: inline-block; }
.motion .split .wi {
  transform: translate3d(0, 112%, 0);
  transition: transform var(--dur-word) var(--ease-expo);
  transition-delay: calc(var(--i, 0) * var(--word-step) + var(--d, 0ms));
}
.motion .split.is-in .wi { transform: none; }

/* ---------- Components ---------- */

/* Photo placeholder (replace with real photography) */
.photo {
  position: relative; overflow: hidden; border-radius: 6px;
  background: #E9E2D6;
  display: flex; align-items: flex-end; padding: 18px;
}
.photo svg.ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo .cap {
  position: relative; background: var(--shell); padding: 5px 10px; border-radius: 3px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--harbor);
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Illustrations: Studio Clay stills (WebP). Where something moves, a small live SVG layer
   holding only that part sits exactly over the still, and runs only while on screen. */
.illo-live { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: hidden; }
.photo:not(.is-live) .illo-live * { animation-play-state: paused !important; }
/* Home: the speech bubble is spoken again and again while the hero is on screen:
   it pops from its tail, holds long enough to read, fades, then speaks again. No bounce. */
.illo-live .hfbs-street-bubble { animation: none; }
.motion .illo-live .hfbs-street-bubble { animation: bubble-say 7s 0.9s infinite both; }
@keyframes bubble-say {
  0%      { opacity: 0; transform: scale(0.55); animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
  11%     { opacity: 1; transform: scale(1); }
  78%     { opacity: 1; transform: scale(1); animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0); }
  88%, 100% { opacity: 0; transform: scale(0.94); }
}
/* Who we serve: the globe spins; its pin stays put */
.illo-live .hfbs-globe-pin, .illo-live .hfbs-globe-pinshadow { animation: none !important; }

.photo svg.illo { position: absolute; inset: 0; width: 100%; height: 100%; }
.il-cloud { animation: il-drift 48s ease-in-out infinite alternate; }
.il-sun { animation: il-glow 9s ease-in-out infinite alternate; }
@keyframes il-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(44px, 0, 0); } }
@keyframes il-glow { from { opacity: 0.55; } to { opacity: 1; } }
.motion .il-rise { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity 0.9s var(--ease-quart) 0.35s, transform 0.9s var(--ease-expo) 0.35s; }
.motion .is-in .il-rise { opacity: 1; transform: none; }
.motion .il-rise.il-late { transition-delay: 1s, 1s; }
.motion .il-slide { opacity: 0; transform: translate3d(90px, 0, 0); transition: opacity 0.9s var(--ease-quart) 0.2s, transform 1.4s var(--ease-expo) 0.2s; }
.motion .is-in .il-slide { opacity: 1; transform: none; }
.motion .il-draw { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s var(--ease-expo) 0.6s; }
.motion .is-in .il-draw { clip-path: inset(0 0 0 0); }
.motion .il-draw-up { clip-path: inset(100% 0 0 0); transition: clip-path 1.8s var(--ease-expo) 0.7s; }
.motion .is-in .il-draw-up { clip-path: inset(0 0 0 0); }
.layered { position: relative; padding: 0 0 36px 36px; }
.layered::before { content: ""; position: absolute; left: 0; bottom: 0; width: 72%; height: 72%; background: var(--sand); border-radius: 6px; }
.layered--right { padding: 0 36px 36px 0; }
.layered--right::before { left: auto; right: 0; }
.layered--top { padding: 36px 36px 0 0; }
.layered--top::before { left: auto; right: 0; top: 0; bottom: auto; }
.bg-sand .layered::before { background: var(--shell); }
.layered .photo { box-shadow: var(--shadow-soft); }

/* Line icon in a dashed circle */
.icon-ring {
  width: 64px; height: 64px; flex: none; border-radius: 50%;
  background: var(--sand); border: 1px dashed rgba(47, 93, 124, 0.45);
  display: flex; align-items: center; justify-content: center;
}
.icon-ring svg { width: 30px; height: 30px; }
.icon-ring--lg { width: 88px; height: 88px; }
.icon-ring--lg svg { width: 40px; height: 40px; }
.bg-sand .icon-ring { background: var(--shell); }
.ico { fill: none; stroke: var(--harbor); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ico .accent { stroke: var(--coral); }
.ico .accent-fill { fill: var(--coral); stroke: none; }

/* Layout helpers */
.split-row { display: flex; flex-wrap: wrap; gap: 72px; align-items: center; }
.split-row > * { flex: 1 1 440px; min-width: 0; }
.split-row--top { align-items: flex-start; }
.split-row--rev { flex-direction: row-reverse; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-sm { display: flex; flex-direction: column; gap: 12px; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 48px; }
@media (max-width: 700px) { .split-row { gap: 48px; } }

/* Hero */
.hero { padding-top: 72px; padding-bottom: 96px; }
.hero .photo { aspect-ratio: 1404 / 1080; }
/* the landscape hero gets a fuller offset panel so it frames the whole scene */
.hero .layered::before { width: 86%; height: 82%; }
@media (max-width: 700px) { .hero { padding-top: 40px; } .layered { padding: 0 0 22px 22px; } .layered--right { padding: 0 22px 22px 0; } .layered--top { padding: 22px 22px 0 0; } }

/* Pillars */
.pillar { padding-top: 22px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.pillar .rule { position: absolute; top: 0; left: 0; right: 0; }
.pillar p { font-size: 16px; }

/* Video */
.video-frame {
  position: relative; max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9;
  border-radius: 8px; overflow: hidden; background: #0d1d2d;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: radial-gradient(circle at 50% 50%, rgba(18, 38, 58, 0.10), rgba(18, 38, 58, 0) 42%);
  border: 0; cursor: pointer; font-family: var(--sans);
}
.video-play .disc {
  position: relative; width: 104px; height: 104px; border-radius: 50%; background: var(--coral);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 12px rgba(224, 122, 95, 0.22), 0 18px 40px rgba(18, 38, 58, 0.28);
  transition: transform 0.6s var(--ease-quart), box-shadow 0.6s var(--ease-quart);
}
.video-play .disc svg { width: 40px; height: 40px; margin-left: 6px; }
.video-play:hover .disc, .video-play:focus-visible .disc { transform: scale(1.05); box-shadow: 0 0 0 16px rgba(224, 122, 95, 0.26), 0 22px 48px rgba(18, 38, 58, 0.32); }
/* two slow ripples when the video first scrolls into view, then still */
.motion .video-frame.is-in .disc::after {
  content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid var(--coral);
  animation: play-ripple 2.4s var(--ease-quart) 0.9s 2 both;
}
@keyframes play-ripple { from { transform: scale(0.92); opacity: 0.8; } to { transform: scale(1.45); opacity: 0; } }
.video-play .meta {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  background: rgba(18, 38, 58, 0.88); color: var(--white); font-size: 14px; font-weight: 700; line-height: 1.2;
}
.video-play .meta span { font-weight: 400; font-size: 12px; letter-spacing: 0.16em; color: var(--mist); }
.video-frame.is-playing .video-play, .video-play[hidden] { display: none; }
@media (max-width: 600px) {
  .video-play { gap: 10px; }
  .video-play .disc { width: 72px; height: 72px; box-shadow: 0 0 0 8px rgba(224, 122, 95, 0.22), 0 12px 28px rgba(18, 38, 58, 0.28); }
  .video-play .disc svg { width: 28px; height: 28px; margin-left: 4px; }
  .video-play .meta { font-size: 12px; padding: 6px 12px; }
}
/* Photo heights are set inline for desktop; keep them modest on phones */
@media (max-width: 700px) { .photo[style*="height"] { height: 300px !important; } }

/* Overlapping services panel */
.photo-band { height: 460px; background: #DEE8EC; border-radius: 0; justify-content: flex-end; align-items: flex-start; padding: 24px var(--gutter); }
.overlap-up { margin-top: -70px; position: relative; z-index: 2; }
.panel { background: var(--shell); border-radius: 8px; box-shadow: var(--shadow-lift); padding: clamp(28px, 5vw, 56px); }
@media (max-width: 700px) { .photo-band { height: 280px; } .overlap-up { margin-top: -48px; } }

.rows { display: flex; flex-direction: column; }
.row {
  display: flex; gap: 22px; align-items: center; padding: 20px 14px;
  border-bottom: 1px solid var(--shell-line); text-decoration: none; color: var(--ink); border-radius: 4px;
  transition: background-color 0.6s var(--ease-quart);
}
.row:hover, .row:focus-visible { background: var(--sand); color: var(--ink); }
.row .t { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.25; display: block; }
.row .d { font-size: 16px; display: block; }
.row .body { flex: 1 1 auto; }
.row .arrow { color: var(--harbor); flex: none; }
.row .icon-ring { width: 56px; height: 56px; }
.row .icon-ring svg { width: 26px; height: 26px; }
@media (max-width: 600px) { .row .d { display: none; } .row .t { font-size: 21px; } .row .icon-ring { width: 46px; height: 46px; } }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.tab {
  min-height: 44px; padding: 0 0 6px; background: transparent; border: 0; border-bottom: 2px solid transparent;
  font-family: var(--sans); font-size: 16px; font-weight: 700; color: var(--harbor); cursor: pointer;
  transition: color 0.6s var(--ease-quart), border-color 0.6s var(--ease-quart);
}
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.tabpanel[hidden] { display: none; }
.tabpanel.is-swapping { animation: panel-in 0.8s var(--ease-quart) both; }
@keyframes panel-in { from { opacity: 0; transform: translate3d(0, 12px, 0); } to { opacity: 1; transform: none; } }
.tabpanel .photo { height: 400px; }
@media (max-width: 700px) { .tabpanel .photo { height: 240px; } }

/* Ruled lists */
.ruled { list-style: none; margin: 0; padding: 0; font-size: 16px; }
.ruled li { padding: 11px 0; border-top: 1px solid var(--shell-line); }
.ruled li:last-child { border-bottom: 1px solid var(--shell-line); }
.bg-sand .ruled li { border-color: var(--sand-line); }

/* Timeline */
.timeline { position: relative; }
.timeline .track { position: absolute; top: 8px; left: 0; right: 0; }
.timeline ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; }
.timeline li { display: flex; flex-direction: column; gap: 12px; }
.node { width: 17px; height: 17px; border-radius: 50%; background: var(--ink); border: 1.5px solid var(--mist); }
.node--end { background: var(--coral); border-color: var(--coral); }
.timeline li p { font-size: 16px; }
@media (max-width: 900px) {
  .timeline .track { top: 10px; bottom: 10px; left: 8px; right: auto; width: 1px; height: auto; transform-origin: top; }
  .motion .timeline .track[data-draw] { transform: scaleY(0); }
  .motion .timeline .track[data-draw].is-in { transform: scaleY(1); }
  .timeline ol { grid-template-columns: 1fr; gap: 30px; }
  .timeline li { display: grid; grid-template-columns: 17px 1fr; column-gap: 20px; row-gap: 4px; }
  .timeline li .node { grid-row: 1 / span 3; margin-top: 4px; }
}

/* Safety plan card (checklist that builds item by item) */
.plan-card {
  background: var(--white); border-radius: 8px; box-shadow: var(--shadow-lift);
  padding: 28px 30px 26px; max-width: 540px; margin-left: auto;
}
.plan-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--shell-line); }
.plan-head .serif { font-size: 24px; font-style: italic; margin-top: 4px; }
.plan-head .mark { font-size: 12px; }
.checklist { list-style: none; margin: 0; padding: 0; }
.check {
  position: relative; display: flex; gap: 14px; align-items: flex-start;
  padding: 11px 12px; margin: 2px 0; border-radius: 4px; font-size: 16px;
  transition: background-color 0.6s var(--ease-quart), color 0.6s var(--ease-quart);
}
.check::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: var(--coral);
  transform: scaleY(0); transition: transform 0.5s var(--ease-expo);
}
.box { width: 18px; height: 18px; flex: none; margin-top: 3px; border: 1.5px solid var(--harbor); border-radius: 3px; display: flex; align-items: center; justify-content: center; transition: background-color 0.4s var(--ease-quart), border-color 0.4s var(--ease-quart); }
.box svg { width: 12px; height: 12px; }
.box path { fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset 0.5s var(--ease-expo) 0.1s; }
.check.is-active { background: var(--sand); }
.check.is-active::before { transform: scaleY(1); }
.check.is-done .box { background: var(--ink); border-color: var(--ink); }
.check.is-done .box path { stroke-dashoffset: 0; }
.motion .checklist .check { color: rgba(18, 38, 58, 0.55); }
.motion .checklist .check.is-active, .motion .checklist .check.is-done { color: var(--ink); }
.plan-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.motion [data-plan-done] { opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity 0.8s var(--ease-quart), transform 0.8s var(--ease-expo); }
.motion [data-plan-done].is-in { opacity: 1; transform: none; }
.pill-ink { white-space: nowrap; display: inline-flex; align-items: center; min-height: 30px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 700; }
/* Without motion, the checklist shows as complete */
html:not(.motion) .check .box { background: var(--ink); border-color: var(--ink); }
html:not(.motion) .check .box path { stroke-dashoffset: 0; }

/* Service detail */
.numeral { font-family: var(--serif); font-weight: 600; font-size: 96px; line-height: 0.8; color: var(--shell-line); }
.bg-sand .numeral { color: var(--sand-line); }
.card-over { margin: -64px 0 0 clamp(16px, 5vw, 48px); position: relative; background: var(--shell); border-radius: 8px; box-shadow: var(--shadow-lift); padding: 30px 32px 18px; }
.card-over--left { margin: -64px clamp(16px, 5vw, 48px) 0 0; }
.card-over .ruled li:last-child { border-bottom: 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.tile { background: var(--shell); border-radius: 6px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.tile b { font-size: 16px; }
.tile span { font-size: 15px; }
.tile--wide { grid-column: 1 / -1; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--harbor);
  border-radius: 999px; font-size: 14px; color: var(--harbor); text-decoration: none;
  transition: background-color 0.6s var(--ease-quart), color 0.6s var(--ease-quart);
}
.pill:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* Numbered commitments */
.commit { display: flex; gap: 20px; padding: 24px 0 28px; position: relative; }
.commit .rule { position: absolute; top: 0; left: 0; right: 0; }
.commit .n { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1; color: var(--mist); width: 36px; flex: none; }
.commit h3 { font-size: 22px; }
.commit p { font-size: 16px; margin-top: 6px; }

/* Leader card */
.leader { background: var(--sand); border-radius: 8px; padding: 32px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.portrait { width: 180px; height: 220px; flex: none; background: #E4EBEF; border-radius: 4px; display: flex; align-items: center; justify-content: center; box-shadow: 0 16px 32px rgba(18, 38, 58, 0.10); }

/* CTA band */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }

/* Forms */
.form-card { position: relative; background: var(--shell); border-radius: 8px; box-shadow: var(--shadow-lift); padding: clamp(24px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--harbor); padding: 0; }
.field .opt { font-weight: 400; text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  min-height: 48px; padding: 0 14px; border: 1px solid #8C8273; border-radius: 4px; background: var(--white);
  font-family: var(--sans); font-size: 16px; color: var(--ink);
  transition: border-color 0.4s var(--ease-quart), box-shadow 0.4s var(--ease-quart);
}
.field textarea { padding: 12px 14px; line-height: 1.5; resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--harbor); box-shadow: 0 0 0 3px rgba(47, 93, 124, 0.18); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.sub-label { font-size: 14px; }
.privacy { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--harbor); }
.form-done[hidden] { display: none; }
.steps-num { list-style: none; margin: 0; padding: 0; font-size: 16px; }
.steps-num li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--shell-line); }
.steps-num li:last-child { border-bottom: 1px solid var(--shell-line); }
.steps-num .n { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.1; color: var(--harbor); width: 28px; flex: none; }

/* Footer */
.site-footer { background: var(--ink); color: var(--mist-2); font-size: 15px; }
.site-footer .wrap { padding-top: 64px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 48px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 40px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 64px; }
.footer-cols nav, .footer-cols div { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--mist); }
.site-footer .label { color: var(--mist); }
.site-footer .brand { color: var(--white); }
.footer-base { border-top: 1px solid var(--ink-line); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--mist); }
.site-footer .footer-base a { color: var(--mist); }

/* ---------- Reduced motion: everything static ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dots::before, .contours::before { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* Packages (Services page) */
.bg-shell .tile { background: var(--sand); }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; align-items: stretch; }
.pkg { position: relative; background: var(--shell); border-radius: 8px; border-top: 3px solid var(--harbor); padding: 34px 30px 30px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 18px 40px rgba(18, 38, 58, 0.08); }
.pkg h3 { font-size: 28px; line-height: 1.15; }
.pkg p { font-size: 15px; }
.pkg ul { list-style: none; margin: 6px 0 10px; padding: 0; border-top: 1px solid var(--shell-line); }
.pkg li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--shell-line); font-size: 15px; }
.pkg .tick { width: 18px; height: 18px; flex: none; border-radius: 3px; display: flex; align-items: center; justify-content: center; background: var(--ink); }
.pkg .tick svg { width: 12px; height: 12px; }
.pkg .tick path { fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pkg li.off { color: rgba(18, 38, 58, 0.38); }
.pkg li.off .tick { background: transparent; border: 1.5px solid var(--sand-line); }
.pkg li.off .tick svg { display: none; }
.pkg .link { margin-top: auto; }
.pkg-tag { position: absolute; top: -14px; left: 30px; background: var(--coral); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.pkg--signature { background: var(--ink); color: var(--shell); border-top-color: var(--ink); }
.pkg--signature h3 { color: var(--white); }
.pkg--signature ul, .pkg--signature li { border-color: var(--ink-line); }
.pkg--signature .tick { background: var(--shell); }
.pkg--signature .tick path { stroke: var(--ink); }
.pkg--signature .link { color: var(--white); }
.pkg--signature .link:hover { color: var(--sand); }

/* "A good place to start" (Who we serve) */
.start { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; margin-top: 4px; border-top: 1px solid var(--shell-line); }
.bg-sand .start { border-top-color: var(--sand-line); }
.start .link { font-size: 18px; }
#families .photo img { object-position: 25% 50%; }

/* About: team areas and monogram portrait */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 72px; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.portrait .initials { font-family: var(--serif); font-weight: 600; font-size: 56px; letter-spacing: 0.04em; color: var(--harbor); }
.signoff { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.3; color: var(--ink); margin-top: 6px; }
.signoff .lead-in { display: block; font-family: var(--sans); font-weight: 400; font-size: 17px; line-height: 1.7; color: var(--ink); margin-bottom: 6px; }
.portrait { overflow: hidden; } .portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.statement { font-family: var(--serif); font-weight: 600; font-size: 32px; line-height: 1.25; color: var(--ink); }
.statement em { color: var(--harbor); }
@media (max-width: 700px) { .statement { font-size: 26px; } }

/* Legal pages */
.legal { max-width: 760px; }
.legal h2 { font-size: 28px; margin: 48px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 17px; }
.legal p + p { margin-top: 14px; }
.legal ul { margin: 14px 0 0; padding-left: 22px; }
.legal li { margin-bottom: 10px; }
.legal li::marker { color: var(--coral); }
.footer-brand { display: flex; flex-direction: column; gap: 20px; flex: 1 1 320px; max-width: 400px; }
.footer-disclaimer { font-size: 10.5px; line-height: 1.6; color: var(--mist); opacity: 0.8; margin: 0; }
.footer-disclaimer .label { display: block; font-size: 10px; margin-bottom: 6px; }
.footer-legal { display: flex; gap: 28px; }

/* "Don't see what you need?" (Services) */
.ask { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.ask-mark { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; width: 100%; max-width: 720px; margin-bottom: 14px; }
.ask-ring { width: 96px; height: 96px; border-radius: 999px; background: var(--sand); border: 1px dashed rgba(47, 93, 124, 0.45); display: flex; align-items: center; justify-content: center; }
.ask-icon { width: 66px; height: 66px; }
.motion .ask-ring.is-in .ask-needle { animation: ask-settle 1.6s var(--ease-expo) 0.3s both; transform-origin: 32px 32px; transform-box: view-box; }
@keyframes ask-settle { 0% { transform: rotate(-70deg); } 60% { transform: rotate(12deg); } 100% { transform: rotate(0deg); } }
.ask h2 { max-width: 760px; }
.dash--center { justify-content: center; }
.ask-lede { font-size: 20px; line-height: 1.6; max-width: 620px; }
.ask-note { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 22px; color: var(--harbor); max-width: 620px; }
.ask-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; margin-top: 10px; }
.ask-or { font-size: 16px; color: var(--harbor); }
.ask-or a { font-weight: 700; }
@media (max-width: 700px) { .ask-lede { font-size: 18px; } .ask-note { font-size: 19px; } .ask-mark { gap: 16px; } }
