/* catbaoutdoorsstjsc.com — layout system 2026-11 (ploy-style layout, Sonderdays-style footer).
   Generated pages live in site/*.html; sources in src/build.mjs. */

:root {
  --bg: #f4f4f4;
  --surface: #ffffff;
  --ink: #212121;
  --ink-2: rgba(33, 33, 33, .66);
  --ink-3: rgba(33, 33, 33, .42);
  --line: rgba(33, 33, 33, .1);
  --dark: #171717;
  --mint: #cbeedf;
  --mint-2: #a9e2cb;
  --sand: #f8f08c;
  --sand-2: #efe36a;
  --sea: #c9dafb;
  --sea-2: #b3c9f6;
  --lime: #ddf5a0;
  --coral: #f6cade;
  --sun: #f5c518;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, "Arial Narrow", sans-serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 24px;
  --r-xl: 18px;
  --r-lg: 14px;
  --r-md: 10px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .84;
  letter-spacing: -.004em;
}
.d-xxl { font-size: clamp(64px, 14.2vw, 214px); }
.d-xl  { font-size: clamp(56px, 11.4vw, 168px); }
.d-lg  { font-size: clamp(48px, 8.6vw, 128px); }
.d-md  { font-size: clamp(44px, 6.6vw, 96px); }
.d-sm  { font-size: clamp(40px, 5.2vw, 76px); }
.title { font-size: clamp(32px, 3.6vw, 48px); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; }
.lede { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 440px; }
.muted { color: var(--ink-2); }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 12px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 500;
}
.tag.light { background: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); color: #fff; }
.chip {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--bg); color: var(--ink);
}
.chip.mint { background: var(--mint); } .chip.sand { background: var(--sand); }
.chip.sea { background: var(--sea); } .chip.coral { background: var(--coral); } .chip.lime { background: var(--lime); }
.chip.dark { background: var(--ink); color: #fff; }

/* Inline photo pill inside display headings (the "blob" moment) */
.pill-img {
  display: inline-block; vertical-align: -.06em;
  width: 1.55em; height: .74em; border-radius: 999px; overflow: hidden;
  background: var(--sea) center / cover no-repeat;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .55);
  margin: 0 .04em;
}
.pill-img.round { width: .78em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  border: 1px solid transparent;
}
.btn:active { transform: scale(.98); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #ececec; }
.btn-soft { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-soft:hover { border-color: rgba(33, 33, 33, .3); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-line-light { color: #fff; border-color: rgba(255, 255, 255, .7); background: rgba(0, 0, 0, .08); }
.btn-line-light:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.btn-line { border-color: rgba(33, 33, 33, .25); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.arrow::after { content: "→"; font-size: 1.05em; transition: transform .2s var(--ease); }
.arrow:hover::after { transform: translateX(3px); }
.ext::after { content: "↗"; font-size: .95em; }
.textlink { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- Navigation ---------- */
.nav { position: fixed; top: 24px; left: 0; right: 0; z-index: 60; pointer-events: none; }
.nav-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}
.nav-left {
  pointer-events: auto; position: relative;
  display: flex; align-items: center; gap: 30px;
  min-height: 48px; padding: 0 22px 0 16px; border-radius: 44px;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.is-scrolled .nav-left { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(33, 33, 33, .04); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; letter-spacing: -.045em; white-space: nowrap; }
.brand .logo-mark { height: 28px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a, .nav-trigger {
  display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: rgba(33, 33, 33, .72); transition: color .2s;
}
.nav-links > a:hover, .nav-trigger:hover, .nav-item.open .nav-trigger, .nav-links > a[aria-current="page"] { color: var(--ink); }
.nav-item { position: relative; }
.nav-menu {
  position: absolute; top: calc(100% + 6px); left: -4px; min-width: 210px;
  background: #fff; border-radius: 16px; padding: 14px 10px;
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .28), 0 0 0 1px rgba(33, 33, 33, .05);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s .18s;
}
.nav-item.open .nav-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) and (min-width: 961px) {
  .nav-item:hover .nav-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-item:hover .nav-trigger { color: var(--ink); }
}
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-menu a { display: block; padding: 7px 10px; border-radius: 8px; font-size: 15px; color: var(--ink); white-space: nowrap; }
.nav-menu a:hover { background: var(--bg); }
.nav-menu a small { display: block; font-size: 12px; color: var(--ink-3); }
.nav-menu.cols { display: grid; grid-template-columns: repeat(2, minmax(170px, 1fr)); gap: 0 18px; min-width: 400px; }
.nav-menu .group-label { display: block; font-size: 12px; color: var(--ink-3); padding: 0 10px 8px; margin: 0 10px 6px 10px; padding-left: 0; border-bottom: 1px solid var(--line); }
.nav-right { pointer-events: auto; display: flex; align-items: center; gap: 8px; }
.nav-burger { display: none; width: 44px; height: 44px; margin: 0 -8px 0 -6px; align-items: center; justify-content: center; border-radius: 999px; }
.nav-burger svg { width: 18px; height: 18px; }
.nav-burger .i-close { display: none; }
.menu-open .nav-burger .i-open { display: none; }
.menu-open .nav-burger .i-close { display: block; }
.mobile-menu { display: none; }

@media (max-width: 1180px) {
  .nav-right .btn-soft { display: none; }
}
@media (max-width: 960px) {
  .nav { top: 16px; }
  .nav-inner { padding: 0 16px; }
  .nav-links, .nav-right .btn-white { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-left { gap: 12px; padding: 0 18px 0 16px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .mobile-menu {
    pointer-events: auto; display: block;
    position: absolute; left: 16px; right: 16px; top: 56px;
    background: #fff; border-radius: 22px; padding: 10px 10px 16px;
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .35);
    max-height: calc(100dvh - 90px); overflow: auto;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s .22s;
  }
  .menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .mobile-menu details, .mobile-menu > a { border-bottom: 1px solid var(--line); }
  .mobile-menu summary, .mobile-menu > a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 12px; font-size: 18px; font-weight: 500; letter-spacing: -.02em; list-style: none; cursor: pointer;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary::after { content: "›"; font-size: 22px; color: var(--ink-3); transition: transform .2s; }
  .mobile-menu details[open] summary::after { transform: rotate(90deg); }
  .mobile-menu details a { display: block; padding: 9px 12px 9px 24px; color: var(--ink-2); font-size: 16px; }
  .mobile-menu details div { padding-bottom: 10px; }
  .mobile-menu .m-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 16px 4px 0; }
  .mobile-menu .m-actions .btn { width: 100%; }
}
@media (max-width: 540px) {
  .brand span { font-size: 15px; }
  .nav-right .btn-dark { height: 44px; padding: 0 18px; font-size: 14px; }
}

/* ---------- Layout helpers ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 120px 0; }
.section-sm { padding: 72px 0; }
.panel {
  margin: 0 var(--gutter); border-radius: var(--r-xl); padding: 96px 0; position: relative; overflow: hidden;
}
.panel > .wrap { position: relative; z-index: 1; }
.panel.mint { background: linear-gradient(180deg, #dff6ec 0%, var(--mint) 55%, #bfe8d6 100%); }
.panel.sand { background: var(--sand); }
.panel.sea { background: var(--sea); }
.panel.lime { background: var(--lime); }
.panel.coral { background: linear-gradient(180deg, #fbe0ec, var(--coral)); }
.panel.dark { background: var(--dark); color: #fff; }
.panel + .panel { margin-top: 12px; }
.panel-head { display: grid; gap: 28px; margin-bottom: 64px; }
.panel-head .lede { margin-left: auto; margin-right: 8%; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Hero (rounded media card) ---------- */
.hero {
  position: relative; margin: 76px var(--gutter) 0; border-radius: var(--r-xl); overflow: hidden;
  min-height: max(640px, calc(100svh - 92px)); color: #fff; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 64px 24px 120px;
}
.hero.sub { min-height: 640px; padding-bottom: 96px; }
.hero.short { min-height: 520px; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-media img { animation: heroZoom 22s var(--ease) both; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,.3) 45%, rgba(0,0,0,.58) 100%); }
.hero h1, .hero-sub { text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero h1 { max-width: 1180px; text-wrap: balance; }
.hero .tag { margin-bottom: 22px; }
.hero-sub { margin-top: 26px; max-width: 420px; font-size: 17px; line-height: 1.5; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.announce {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center;
  width: min(360px, calc(100% - 40px)); padding: 10px 14px 10px 10px;
  background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 12px; text-align: left;
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.35); transition: transform .2s var(--ease);
}
.announce:hover { transform: translateY(-2px); }
.announce img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }
.announce small { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.announce strong { display: block; font-size: 14px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.announce span.go { align-self: start; color: var(--ink-3); }

/* Floating helper button */
.float-cta {
  position: fixed; right: 24px; bottom: 24px; z-index: 55;
  display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 20px 0 16px;
  border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px;
  box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 0 0 5px rgba(33,33,33,.08), 0 14px 30px -10px rgba(0,0,0,.5);
  background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(120deg, var(--sea), var(--coral), var(--sand), var(--mint));
  background-origin: border-box; background-clip: padding-box, border-box; border: 2px solid transparent;
  transition: transform .2s var(--ease);
}
.float-cta:hover { transform: translateY(-2px); }
.float-cta svg { width: 18px; height: 18px; }

/* ---------- Network marquee (logo wall) ---------- */
.logo-wall { padding: 64px 0 56px; text-align: center; }
.logo-wall p { font-size: 15px; color: var(--ink-2); margin-bottom: 26px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 64px; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 600; letter-spacing: -.04em; color: rgba(33,33,33,.78); white-space: nowrap; transition: color .2s; }
.marquee-item:hover { color: var(--ink); }
.marquee-item svg { width: 26px; height: 26px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Statement with scroll-filled words ---------- */
.statement { position: relative; padding: 120px 0 40px; text-align: center; overflow: hidden; }
.statement h2 { position: relative; z-index: 2; }
.statement .word { color: rgba(33,33,33,.16); transition: color .35s var(--ease); }
.statement .word.on { color: var(--ink); }
.no-js .statement .word, .reduced .statement .word { color: var(--ink); }
.blob {
  position: absolute; z-index: 1; overflow: hidden; background: var(--sea) center / cover no-repeat;
  border-radius: 58% 42% 46% 54% / 52% 44% 56% 48%;
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.35), 0 30px 60px -30px rgba(0,0,0,.35);
  animation: blobMorph 14s ease-in-out infinite alternate;
}
.blob.b2 { border-radius: 42% 58% 60% 40% / 45% 55% 45% 55%; animation-duration: 17s; }
.blob.b3 { border-radius: 50% 50% 38% 62% / 60% 40% 60% 40%; animation-duration: 19s; }
@keyframes blobMorph {
  0% { border-radius: 58% 42% 46% 54% / 52% 44% 56% 48%; transform: translate3d(0,0,0) rotate(0deg); }
  100% { border-radius: 44% 56% 58% 42% / 42% 58% 44% 56%; transform: translate3d(0,-12px,0) rotate(4deg); }
}
.statement .blob { width: clamp(160px, 20vw, 290px); aspect-ratio: 1 / .9; left: calc(50% + clamp(170px, 24vw, 360px)); top: 40px; }
@media (max-width: 720px) { .statement .blob { left: auto; right: -40px; top: 30px; width: 150px; opacity: .9; } }
.statement .lede { margin: 36px auto 0; text-align: center; }

/* Three-up card (Monitor / Act / Surface pattern) */
.trio {
  display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: var(--r-lg);
  margin-top: 72px; overflow: hidden; text-align: left;
}
.trio article { display: flex; flex-direction: column; justify-content: space-between; min-height: 260px; padding: 22px 24px 26px; gap: 48px; }
.trio article + article { border-left: 1px solid var(--line); }
.trio .ico { width: 30px; height: 30px; border-radius: 7px; background: var(--ink); display: grid; place-items: center; }
.trio .ico svg { width: 16px; height: 16px; color: #fff; }
.trio h3 { font-size: 21px; font-weight: 600; letter-spacing: -.04em; margin-bottom: 10px; }
.trio p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.after-note { text-align: center; padding: 36px 0 0; font-size: 15px; color: var(--ink-2); }
.after-note a { color: var(--ink); }

/* ---------- Stat cards ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat {
  background: #fff; border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
}
.stat-top { display: flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: -.04em; font-size: 17px; }
.stat-top .logo-mark { height: 18px; width: auto; flex: none; }
.stat-figure { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 14px; }
.stat-figure strong { font-size: 64px; font-weight: 700; letter-spacing: -.06em; line-height: .9; }
.stat-figure svg { width: 100%; height: 48px; }
.stat-label { font-size: 15px; font-weight: 600; letter-spacing: -.02em; margin-top: -6px; }
.stat-note { background: var(--bg); border-radius: 8px; padding: 12px 14px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.stat-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat-metrics span { display: block; font-size: 12px; color: var(--ink-3); }
.stat-metrics b { font-size: 19px; font-weight: 600; letter-spacing: -.03em; }
.stat-foot { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 14px; }
.stat-foot i { width: 22px; height: 22px; border-radius: 999px; flex: none; display: grid; place-items: center; }
.stat-foot i::after { content: ""; width: 8px; height: 8px; border-radius: 999px; background: currentColor; }

/* ---------- Timeline (an employee that never sleeps pattern) ---------- */
.timeline-sec { text-align: center; padding: 72px 0 80px; }
.timeline-sec .display { position: relative; z-index: 1; }
.tl-stack { position: relative; z-index: 2; display: grid; gap: 10px; width: min(560px, 100%); margin: -14px auto; text-align: left; }
.tl-card { background: #fff; border-radius: 12px; padding: 16px 20px 18px; box-shadow: 0 16px 40px -24px rgba(60, 50, 0, .45); }
.tl-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.tl-row time { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tl-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -.03em; margin-bottom: 4px; }
.tl-card p { font-size: 14px; color: var(--ink-2); }
.deco-dots { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.deco-dots span { position: absolute; border-radius: 999px; background: var(--sand-2); opacity: .7; }

/* ---------- Carousel (playbooks pattern) ---------- */
.carousel-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.carousel-ctrl { display: flex; gap: 8px; margin-top: 20px; }
.carousel-ctrl button { width: 32px; height: 32px; border-radius: 999px; background: rgba(255,255,255,.7); display: grid; place-items: center; font-size: 14px; transition: background .2s; }
.carousel-ctrl button:hover { background: #fff; }
.carousel-ctrl button:disabled { opacity: .4; cursor: default; }
.carousel { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px var(--gutter) 8px; margin: 40px calc(var(--gutter) * -1) 0; scroll-padding: 0 var(--gutter); }
.carousel::-webkit-scrollbar { display: none; }
.c-card { flex: 0 0 min(330px, 80vw); scroll-snap-align: start; border-radius: var(--r-lg); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: transform .25s var(--ease); }
.c-card:hover { transform: translateY(-3px); }
.c-top { background: rgba(255,255,255,.55); background: #e9f0fe; padding: 20px 22px 28px; min-height: 200px; display: flex; flex-direction: column; gap: 22px; }
.c-top .stat-top { font-size: 15px; }
.c-top h3 { font-size: 26px; font-weight: 600; letter-spacing: -.045em; line-height: 1.12; }
.c-body { padding: 18px 22px 22px; display: grid; gap: 10px; }
.c-by { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.c-by i { width: 20px; height: 20px; border-radius: 999px; background: var(--sand); display: grid; place-items: center; font-style: normal; font-size: 11px; }
.c-body p { font-size: 14px; color: var(--ink-2); }

/* ---------- Staggered giant words + engines ---------- */
.stagger { position: relative; padding: 80px 0 40px; min-height: 900px; }
.stagger .display { position: relative; z-index: 2; mix-blend-mode: normal; }
.stagger .w { display: block; }
.stagger .w.r { text-align: right; }
.stagger .w + .w { margin-top: clamp(80px, 16vw, 220px); }
.stagger .blob { z-index: 1; }
.engines { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: var(--r-lg); overflow: hidden; position: relative; z-index: 3; }
.engines article { padding: 22px 24px 30px; }
.engines article + article { border-left: 1px solid var(--line); }
.engines .stat-top { margin-bottom: 64px; }
.engines h3 { font-size: 17px; font-weight: 600; letter-spacing: -.03em; margin-bottom: 14px; }
.engines li { position: relative; padding: 0 0 0 16px; font-size: 14.5px; color: var(--ink-2); margin-bottom: 9px; }
.engines li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 999px; background: var(--dot, var(--ink-3)); }
.engines li a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Split panel with card grid (migrations pattern) ---------- */
.split { display: grid; grid-template-columns: 1fr 2.4fr; gap: 32px; align-items: start; }
.split .lede { margin-top: 26px; max-width: 520px; color: rgba(33,33,33,.78); }
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 56px; }
.g-card { background: #fff; border-radius: var(--r-lg); padding: 22px 22px 26px; min-height: 200px; display: flex; flex-direction: column; gap: 10px; transition: transform .25s var(--ease); }
a.g-card:hover { transform: translateY(-3px); }
.g-card h3 { font-size: 22px; font-weight: 600; letter-spacing: -.045em; line-height: 1.1; }
.g-card p { font-size: 15px; color: var(--ink-2); }
.g-card .num { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.g-card.dark { background: var(--ink); color: #fff; }
.g-card.dark p { color: rgba(255,255,255,.72); }
.g-card.dark .big { font-size: 20px; font-weight: 600; letter-spacing: -.035em; line-height: 1.25; }
.g-card.dark .big a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Audience accordion (who is it for) ---------- */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.audience-intro { position: sticky; top: 120px; }
.audience-intro .tag { margin-bottom: 18px; }
.aud-list { display: grid; gap: 10px; }
.aud {
  position: relative; border-radius: 4px; border: 1px solid rgba(33,33,33,.14); background: transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.aud::before, .aud::after, .aud > .dots::before, .aud > .dots::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 99px; background: var(--ink); }
.aud::before { left: 6px; top: 6px; } .aud::after { right: 6px; top: 6px; }
.aud > .dots::before { left: 6px; bottom: 6px; } .aud > .dots::after { right: 6px; bottom: 6px; }
.aud-btn { width: 100%; display: flex; align-items: center; gap: 18px; padding: 30px 28px; text-align: left; }
.aud-btn .display { font-size: clamp(48px, 5.4vw, 76px); }
.aud-btn span:last-child { font-size: 15px; color: var(--ink-2); max-width: 170px; line-height: 1.35; }
.aud-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.aud-body > div { overflow: hidden; }
.aud-body ul { padding: 0 28px; display: grid; gap: 10px; }
.aud-body li { position: relative; padding-left: 16px; font-size: 15px; color: rgba(33,33,33,.82); }
.aud-body li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 99px; background: var(--ink); }
.aud-actions { display: flex; align-items: center; gap: 18px; padding: 28px 28px 34px; flex-wrap: wrap; }
.aud-actions a:not(.btn) { font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.aud.open { background: var(--sea); border-color: transparent; }
.aud.open .aud-body { grid-template-rows: 1fr; }

/* ---------- Final CTA ---------- */
.final { padding: 140px 0 120px; text-align: center; }
.final .lede { margin: 28px auto 0; }
.cta-card { position: relative; width: min(470px, 100%); margin: 48px auto 0; background: #fff; border-radius: 6px; padding: 30px 20px 26px; }
.cta-card::before, .cta-card::after, .cta-card > .dots::before, .cta-card > .dots::after { content: ""; position: absolute; width: 4px; height: 4px; border-radius: 9px; background: rgba(33,33,33,.25); }
.cta-card::before { left: 6px; top: 6px; } .cta-card::after { right: 6px; top: 6px; }
.cta-card > .dots::before { left: 6px; bottom: 6px; } .cta-card > .dots::after { right: 6px; bottom: 6px; }
.cta-form { display: flex; align-items: center; gap: 6px; background: var(--bg); border-radius: 999px; padding: 5px 5px 5px 18px; }
.cta-form input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font-size: 15px; height: 40px; }
.cta-form input::placeholder { color: var(--ink-3); }
.cta-form .btn { height: 40px; padding: 0 18px; font-size: 14px; }
.cta-meta { font-size: 13px; color: var(--ink-3); margin: 16px 0 14px; }
.pill-line { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 18px 0 8px; border-radius: 999px; border: 1px solid var(--ink); font-size: 14px; font-weight: 600; }
.pill-line .ic { display: inline-flex; gap: 2px; }
.pill-line .ic i { width: 18px; height: 18px; border-radius: 99px; display: block; }

/* ---------- Sub-page components ---------- */
.lead-split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.lead-split .body p + p { margin-top: 16px; }
.lead-split .body p { font-size: 18px; line-height: 1.6; color: rgba(33,33,33,.8); }
.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 40px; }
.story-grid.three { grid-template-columns: repeat(3, 1fr); }
.story { background: #fff; border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.story-media { aspect-ratio: 16 / 9.4; overflow: hidden; background: var(--sea); }
.story-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.story:hover .story-media > img { transform: scale(1.04); }
.story-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.story-body .label { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.story-body h3 { font-size: clamp(22px, 2.2vw, 27px); font-weight: 600; letter-spacing: -.045em; line-height: 1.12; }
.story-body p { font-size: 15px; color: var(--ink-2); }
.story-body .actions { margin-top: auto; padding-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.story.cta { background: var(--ink); color: #fff; justify-content: space-between; padding: 26px; min-height: 340px; }
.story.cta p { color: rgba(255,255,255,.72); }

.options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.option { background: #fff; border-radius: var(--r-lg); padding: 24px 24px 28px; min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.option h3 { font-size: 24px; font-weight: 600; letter-spacing: -.045em; }
.option p { font-size: 15.5px; color: var(--ink-2); }

.media-wide { margin: 0 var(--gutter); border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21 / 9; }
.media-wide img { width: 100%; height: 100%; object-fit: cover; }
.pair { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.pair figure { border-radius: var(--r-lg); overflow: hidden; position: relative; aspect-ratio: 4 / 3.2; }
.pair figure:nth-child(2) { aspect-ratio: auto; }
.pair img { width: 100%; height: 100%; object-fit: cover; }
.pair figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.92); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 500; }

.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.faq-list { display: grid; gap: 8px; }
.faq-list details { background: #fff; border-radius: var(--r-md); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-size: 17px; font-weight: 600; letter-spacing: -.025em; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 99px; background: var(--bg); display: grid; place-items: center; font-weight: 400; font-size: 18px; transition: transform .25s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 22px 22px; color: var(--ink-2); font-size: 15.5px; max-width: 640px; }

.related { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.related > span { font-size: 14px; color: var(--ink-3); margin-right: 8px; }

.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.person { background: #fff; border-radius: var(--r-lg); padding: 22px; display: flex; align-items: center; gap: 18px; }
.avatar { width: 72px; height: 72px; border-radius: 999px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 40px; background: var(--sand); }
.person:nth-child(2) .avatar { background: var(--sea); }
.person h3 { font-size: 21px; font-weight: 600; letter-spacing: -.04em; }
.person p { font-size: 14px; color: var(--ink-3); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters button { height: 38px; padding: 0 16px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; border: 1px solid transparent; transition: background .2s, color .2s; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.filters .count { margin-left: auto; font-size: 14px; color: var(--ink-3); }

/* Forms */
.form-card { background: #fff; border-radius: var(--r-lg); padding: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field > span { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid transparent; background: var(--bg); border-radius: 10px; padding: 13px 14px; font-size: 15px; outline: 0; transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); background: #fff; }
.form-note { font-size: 13px; color: var(--ink-3); line-height: 1.5; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.form-consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--ink); }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.submission-status { font-size: 14px; padding: 12px 14px; border-radius: 10px; background: var(--bg); }
.submission-status[data-state="success"] { background: var(--mint); }
.submission-status[data-state="error"] { background: var(--coral); }
.contact-split { display: grid; grid-template-columns: .9fr 1.3fr; gap: 14px; align-items: start; }
.info-stack { display: grid; gap: 12px; }
.info { background: #fff; border-radius: var(--r-lg); padding: 22px; }
.info small { display: block; font-size: 13px; color: var(--ink-3); margin-bottom: 6px; }
.info strong { font-size: 18px; font-weight: 600; letter-spacing: -.03em; word-break: break-word; }
.info.tone { background: var(--lime); }
.info p { font-size: 15px; color: var(--ink-2); margin-top: 6px; }

/* ---------- Footer (Sonderdays pattern) ---------- */
.site-footer { background: var(--dark); color: #fff; margin-top: 120px; overflow: hidden; }
.footer-top {
  display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: 72px;
  padding: 41px 82px 0; max-width: 1600px; margin: 0 auto;
}
.footer-mark .logo-mark { height: 40px; width: auto; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(130px, auto)) minmax(220px, 280px); gap: 56px; }
.footer-cols p { font-size: 14px; font-weight: 500; margin-bottom: 20px; }
.footer-cols ul { display: flex; flex-direction: column; gap: 14px; }
.footer-cols a, .footer-cols li > span { font-size: 14px; color: rgba(255,255,255,.52); transition: color .2s; }
.footer-cols a:hover { color: #fff; }
.footer-word { max-width: 1600px; margin: 26px auto 0; padding: 0 41px; height: clamp(70px, 15.5vw, 250px); overflow: hidden; }
.footer-word svg { display: block; width: 100%; height: auto; }
.footer-word text { font-family: var(--display); font-weight: 800; fill: #3a3a3a; text-transform: uppercase; }

/* ---------- Reveal motion ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .statement .word { color: var(--ink); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer-top { padding: 40px 48px 0; gap: 56px; }
  .footer-cols { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
  .footer-word { padding: 0 24px; }
}
@media (max-width: 960px) {
  :root { --gutter: 16px; }
  .hero { margin-top: 76px; }
  .panel { padding: 72px 0; }
  .section { padding: 88px 0; }
  .stats, .trio, .engines { grid-template-columns: 1fr; }
  .trio article + article, .engines article + article { border-left: 0; border-top: 1px solid var(--line); }
  .trio article { min-height: 0; gap: 28px; }
  .engines .stat-top { margin-bottom: 28px; }
  .split, .audience, .lead-split, .faq, .contact-split { grid-template-columns: 1fr; }
  .audience-intro { position: static; }
  .grid-cards, .story-grid.three { grid-template-columns: repeat(2, 1fr); }
  .stagger { min-height: 0; }
  .panel-head .lede { margin-right: 0; }
}
@media (max-width: 720px) {
  .hero { min-height: 620px; padding: 56px 18px 150px; }
  .hero.sub { min-height: 560px; }
  .announce { left: 10px; bottom: 10px; width: calc(100% - 20px); }
  .float-cta { right: 14px; bottom: 14px; height: 46px; padding: 0 16px 0 13px; font-size: 14px; }
  .grid-cards, .story-grid, .story-grid.three, .options, .pair, .people, .form-grid { grid-template-columns: 1fr; }
  .pair figure:nth-child(2) { aspect-ratio: 4 / 3; }
  .media-wide { aspect-ratio: 4 / 3; }
  .carousel-head { flex-direction: column; align-items: start; }
  .aud-btn { flex-direction: column; align-items: flex-start; gap: 8px; padding: 26px 22px; }
  .aud-body ul, .aud-actions { padding-left: 22px; padding-right: 22px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; padding: 40px 24px 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-word { padding: 0 16px; }
  .stat-figure strong { font-size: 56px; }
  .final { padding: 100px 0 80px; }
  .filters .count { width: 100%; margin: 6px 0 0; }
}

/* Chips and tags never stretch inside flex columns */
.option > .chip, .g-card > .chip, .story-body > .chip, .info > .chip, .story.cta .tag { align-self: flex-start; }

/* Layout variants (kept as classes so the breakpoints below can override them) */
.trio.two { grid-template-columns: repeat(2, 1fr); }
.grid-cards.two { grid-template-columns: repeat(2, 1fr); }
.options.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) {
  .trio.two, .options.three { grid-template-columns: 1fr; }
  .trio.two article + article { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .grid-cards.two { grid-template-columns: 1fr; }
}


/* ================= 2026-11-08 b: contacts, assistant, footer, policies ================= */
.logo-mark { display: block; object-fit: contain; }
.btn svg { width: 17px; height: 17px; flex: none; }
.nav-trigger.is-current { color: var(--ink); }
.nav-trigger.is-current::after, .nav-links > a[aria-current="page"]::after { content: ""; width: 4px; height: 4px; border-radius: 9px; background: var(--ink); margin-left: 6px; }
.nav-menu a b { font-weight: 600; }
a.tl-card { display: block; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
a.tl-card:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -22px rgba(60,50,0,.55); }
a.stat-foot { color: var(--ink-2); transition: color .2s; }
a.stat-foot:hover { color: var(--ink); }
a.stat-foot::after { content: "→"; margin-left: auto; transition: transform .2s var(--ease); }
a.stat-foot:hover::after { transform: translateX(3px); }
.contact-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pill-line { padding: 0 16px; gap: 8px; transition: background .2s, color .2s; }
.pill-line svg { width: 16px; height: 16px; }
.pill-line:hover { background: var(--ink); color: #fff; }
.info.link { display: block; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.info.link:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -18px rgba(0,0,0,.35); }
.info small { display: flex; align-items: center; gap: 6px; }
.info small svg { width: 14px; height: 14px; }
.mobile-menu .m-contact { display: grid; gap: 4px; padding: 12px 8px 0; }
.mobile-menu .m-contact a { display: flex; align-items: center; gap: 10px; padding: 8px 6px; font-size: 15px; color: var(--ink-2); border: 0; }
.mobile-menu .m-contact svg { width: 18px; height: 18px; }

/* Say hello button + assistant panel */
.float-cta { cursor: pointer; font-family: var(--sans); }
.assistant {
  position: fixed; right: 24px; bottom: 88px; z-index: 70;
  width: min(380px, calc(100vw - 24px)); max-height: min(620px, calc(100dvh - 120px));
  display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 80px -24px rgba(0,0,0,.45), 0 0 0 1px rgba(33,33,33,.06);
  opacity: 0; transform: translateY(10px) scale(.98); transform-origin: bottom right;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.assistant.open { opacity: 1; transform: none; }
.as-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; background: var(--ink); color: #fff; }
.as-head .logo-mark { height: 22px; width: auto; background: #fff; border-radius: 6px; padding: 3px 4px; box-sizing: content-box; }
.as-head h2 { font-size: 15px; font-weight: 700; letter-spacing: -.03em; }
.as-head p { font-size: 12px; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 6px; }
.as-head p i { width: 7px; height: 7px; border-radius: 9px; background: #6ee7a8; }
.as-close { margin-left: auto; width: 34px; height: 34px; border-radius: 99px; color: #fff; font-size: 14px; }
.as-close:hover { background: rgba(255,255,255,.12); }
.as-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); min-height: 180px; }
.as-msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.as-msg.bot { background: #fff; border-bottom-left-radius: 4px; align-self: flex-start; }
.as-msg.me { background: var(--ink); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.as-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.as-link { display: inline-flex; align-items: center; height: 30px; padding: 0 11px; border-radius: 99px; background: var(--bg); font-size: 13px; font-weight: 500; }
.as-link:hover { background: var(--ink); color: #fff; }
.as-contact { display: grid; gap: 6px; margin-top: 10px; }
.as-contact a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 11px; border-radius: 10px; background: var(--bg); font-size: 13px; word-break: break-all; }
.as-contact a:hover { background: var(--sea); }
.as-contact b { font-weight: 600; flex: none; }
.as-chips { display: flex; gap: 6px; overflow-x: auto; padding: 10px 12px 2px; scrollbar-width: none; background: #fff; }
.as-chips::-webkit-scrollbar { display: none; }
.as-chips button { flex: none; height: 32px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line); font-size: 13px; font-weight: 500; background: #fff; }
.as-chips button:hover { border-color: var(--ink); }
.as-form { display: flex; gap: 6px; padding: 10px 12px; background: #fff; }
.as-form input { flex: 1; min-width: 0; height: 42px; border: 0; border-radius: 99px; background: var(--bg); padding: 0 16px; font-size: 14px; outline: 0; }
.as-form input:focus { box-shadow: 0 0 0 2px var(--ink); }
.as-form .btn { height: 42px; width: 42px; padding: 0; }
.as-note { padding: 0 16px 12px; font-size: 11.5px; color: var(--ink-3); background: #fff; }
.as-note a { color: var(--ink-2); text-decoration: underline; }

/* Footer (Sonderdays layout, extended with policies and legal strip) */
.footer-brand { display: flex; flex-direction: column; gap: 18px; max-width: 300px; }
.footer-brand p { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.52); }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-social a { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 99px; border: 1px solid rgba(255,255,255,.18); font-size: 13px; color: rgba(255,255,255,.75); transition: border-color .2s, color .2s; }
.footer-social a:hover { border-color: #fff; color: #fff; }
.footer-cols a small { display: block; font-size: 12px; color: rgba(255,255,255,.36); margin-bottom: 2px; }
.footer-cols li > a { display: inline-block; line-height: 1.45; }
.footer-legal { max-width: 1600px; margin: 48px auto 0; padding: 22px 82px 0; border-top: 1px solid rgba(255,255,255,.1); display: grid; gap: 8px; }
.footer-legal p { font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.45); }
.footer-legal strong { color: rgba(255,255,255,.72); font-weight: 600; }

/* Policy / company documents */
.doc { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.doc-toc { position: sticky; top: 110px; display: grid; gap: 2px; }
.doc-toc p { font-size: 12px; color: var(--ink-3); margin-bottom: 8px; }
.doc-toc a { padding: 7px 10px; border-radius: 8px; font-size: 14px; color: var(--ink-2); }
.doc-toc a:hover { background: #fff; color: var(--ink); }
.doc-toc .doc-upd { margin-top: 16px; }
.doc-body { display: grid; gap: 12px; max-width: 760px; }
.doc-sec { background: #fff; border-radius: var(--r-lg); padding: 26px 28px; scroll-margin-top: 100px; }
.doc-sec h2 { font-size: 21px; font-weight: 600; letter-spacing: -.035em; margin-bottom: 12px; }
.doc-sec p, .doc-sec li { font-size: 15.5px; line-height: 1.65; color: rgba(33,33,33,.8); }
.doc-sec p + p, .doc-sec ul + p, .doc-sec p + ul { margin-top: 12px; }
.doc-sec ul { display: grid; gap: 6px; }
.doc-sec li { position: relative; padding-left: 16px; }
.doc-sec li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; border-radius: 9px; background: var(--ink); }
.doc-sec a:not(.pill-line) { text-decoration: underline; text-underline-offset: 3px; }
.doc-sec .contact-pills { justify-content: flex-start; }
.facts { display: grid; margin: 0; }
.facts div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; padding-top: 0; }
.facts dt { font-size: 13.5px; color: var(--ink-3); }
.facts dd { margin: 0; font-size: 15.5px; font-weight: 500; word-break: break-word; }
[id] { scroll-margin-top: 96px; }

@media (max-width: 1100px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(160px, 1fr)); gap: 40px 48px; }
  .footer-legal { padding: 22px 48px 0; }
}
@media (max-width: 960px) {
  .doc { grid-template-columns: 1fr; gap: 24px; }
  .doc-toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .doc-toc p { width: 100%; margin: 0; }
  .doc-toc a { background: #fff; border-radius: 99px; padding: 6px 12px; font-size: 13px; }
}
@media (max-width: 720px) {
  .assistant { right: 12px; left: 12px; width: auto; bottom: 74px; max-height: calc(100dvh - 100px); }
  .float-cta span { display: none; }
  .float-cta { width: 50px; padding: 0; justify-content: center; }
  .footer-top { gap: 40px; }
  .footer-legal { padding: 22px 24px 0; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .doc-sec { padding: 22px 20px; }
  .site-footer { padding-bottom: 12px; }
}

/* Mobile header and footer fit (375px) */
.nav-contact svg { display: none; }
@media (max-width: 540px) {
  .nav-left { gap: 10px; padding: 0 14px 0 12px; }
  .brand { gap: 7px; }
  .brand .logo-mark { height: 24px; }
  .brand span { font-size: 14px; letter-spacing: -.04em; }
}
@media (max-width: 420px) {
  .nav-contact { width: 44px; padding: 0; }
  .nav-contact svg { display: block; }
  .nav-contact span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 720px) {
  .footer-cols > div:last-child { grid-column: 1 / -1; }
  .footer-cols a { overflow-wrap: anywhere; }
}
@media (max-width: 720px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .footer-cols > div { min-width: 0; }
}
.footer-cols a, .footer-cols li > span { overflow-wrap: anywhere; }
.footer-cols > div { min-width: 0; }


/* Ecosystem brand tiles — official logos on each brand's tint (ploy customer-card pattern).
   Logo sizes are fitted at build time (src/build.mjs fit()) and written inline: no CSS here resizes them. */
.brand-logo { display: block; flex: none; max-width: none; object-fit: contain; }
.brand-tile { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 24px; background: var(--tint, #f4f4f4); }
.brand-tile .bname { font-weight: 800; letter-spacing: .02em; font-size: 20px; line-height: 1.1; color: var(--bink, var(--ink)); max-width: 11ch; }
.story-media { position: relative; display: block; }
.c-top { position: relative; padding: 0; min-height: 0; height: 180px; background: none; }
.story .brand-tile .brand-logo, .c-card .brand-tile .brand-logo { transition: transform .5s var(--ease); }
.story:hover .brand-tile .brand-logo, .c-card:hover .brand-tile .brand-logo { transform: scale(1.04); }
.c-body .label { font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
.c-name { font-size: 20px; font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
.c-by { color: var(--ink-2); font-weight: 500; }
.nav-menu .brand-row { display: flex; align-items: center; gap: 12px; }
.nav-menu .brand-row .brand-logo { flex: none; }
.nav-menu .brand-row > span { min-width: 0; }
#menu-network { min-width: 320px; }
#menu-network .brand-row { min-height: 46px; }
#menu-network .brand-row img { margin: 0 auto 0 0; }
#menu-network .brand-row > span:first-of-type { flex: 1; }
.marquee-item { min-height: 32px; }

/* Stat cards: equal heights, note grows, metrics + footer line up across the row */
.stats { align-items: stretch; }
.stat-note { flex: 1 0 auto; display: flex; align-items: flex-start; }
.stat-foot { margin-top: 0; }
#menu-network .brand-row .bl { flex: none; width: 68px; display: flex; justify-content: center; align-items: center; }
#menu-network .brand-row img { margin: 0; }
.footer-wordmark { font-family: var(--sans); font-weight: 700; font-size: 22px; letter-spacing: -.045em; color: #fff; }
.footer-wordmark:hover { opacity: .8; }
.footer-wordmark { color: #FFD23F; }
/* Flagship catbaoutdoors.vn */
.story.flagship { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; }
.story.flagship .story-media { aspect-ratio: auto; min-height: 300px; }
.story.flagship .story-body { justify-content: center; padding: 34px 36px; }
.story.flagship .story-body h3 { font-size: clamp(26px, 2.6vw, 34px); }
.story.flagship .label { color: #9a7400; font-weight: 600; }
.c-card.flagship .c-top .brand-tile { background: var(--tint); }
#menu-network .brand-row.flagship { background: #FFF6D8; }
#menu-network .brand-row.flagship:hover { background: #ffefb8; }
@media (max-width: 720px) { .story.flagship { grid-template-columns: 1fr; } .story.flagship .story-media { min-height: 200px; } }

/* Hero headline — balanced size on large screens (Mac Pro) + line-by-line reveal */
.hero h1.hero-title { max-width: none; }
.hero .d-xxl { font-size: clamp(52px, min(10.6vw, 19vh), 176px); }
.hero .d-xl { font-size: clamp(46px, min(8.4vw, 15.5vh), 138px); }
.hero-title .ln { display: block; overflow: hidden; padding: .02em .06em .04em; margin: 0 -.06em -.04em; }
.hero-title .ln > span { display: inline-block; transform: translateY(108%); animation: lnUp 1s cubic-bezier(.2, .75, .1, 1) forwards; animation-delay: calc(var(--i) * 110ms + 120ms); }
@media (min-width: 721px) { .hero-title .ln { white-space: nowrap; } }
@keyframes lnUp { to { transform: none; } }
.hero .tag, .hero-sub, .hero-actions, .announce { animation: heroFade .9s var(--ease) both; }
.hero .tag { animation-delay: .05s; }
.hero-sub { animation-delay: .55s; }
.hero-actions { animation-delay: .7s; }
.announce { animation-delay: 1s; }
@keyframes heroFade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-media img { animation: heroZoom 18s cubic-bezier(.2, .6, .2, 1) both; }
@media (prefers-reduced-motion: reduce) { .hero-title .ln > span { transform: none; } }

/* Stat card visuals — honest encodings of the figure (no fake trend lines) */
.stat-figure { grid-template-columns: auto 1fr; align-items: center; min-height: 64px; }
.viz-split { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.viz-split span { display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border-radius: 10px; background: #e7eefc; color: #3d63b8; font-size: 13px; font-weight: 600; }
.viz-split span.night { background: #24365e; color: #e7eefc; }
.viz-split svg { width: 16px; height: 16px; }
.viz-bars { display: grid; gap: 8px; }
.viz-bars div { display: grid; grid-template-columns: 58px 1fr 34px; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-3); }
.viz-bars i { height: 10px; border-radius: 99px; background: linear-gradient(90deg, #cfe9a0 0 var(--w), #f0f2ea var(--w)); }
.viz-bars b { color: var(--ink); font-weight: 600; text-align: right; }
.viz-marks { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.viz-marks span { width: 40px; height: 40px; border-radius: 10px; background: #f6f2dd; display: grid; place-items: center; }
.viz-marks .brand-logo { max-width: 30px; }
@media (max-width: 400px) { .viz-marks span { width: 34px; height: 34px; } }

/* Split panels: tag + photo in the left column */
.split-side { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.split-photo { width: 100%; max-width: 340px; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 24px 50px -30px rgba(0,0,0,.45); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) { .split-photo { max-width: none; aspect-ratio: 16 / 9; } }

/* Button rows: buttons and links share one box model and align on their centres */
.actions, .hero-actions, .aud-actions, .form-actions, .contact-pills, .related { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
button.btn { line-height: 1; vertical-align: middle; }
a.btn { line-height: 1; vertical-align: middle; }
.story.cta .actions { margin-top: 20px; padding-top: 0; }
