/* ————————————————————————————————
   Eurobodalla Digital — v2 design system
   ———————————————————————————————— */

:root {
  --cream: #FAF7F3;
  --sand: #F1EBE2;
  --ink: #17171B;
  --ink-2: #1F1F24;
  --brand: #0A3D6E;
  --brand-bright: #7EA6CE;
  --hairline: rgba(14, 14, 16, .16);
  --hairline-light: rgba(250, 247, 243, .18);
  --muted: rgba(14, 14, 16, .62);
  --muted-light: rgba(250, 247, 243, .66);
  --pad: clamp(1.5rem, 5vw, 4.5rem);
  --max: 1400px;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --display: "Bricolage Grotesque", "Inter", sans-serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

/* clip, not hidden: overflow-x hidden makes body a scroll container and
   breaks position: sticky (the testimonial stack) */
html, body { overflow-x: clip; }

@supports not (overflow-x: clip) {
  html { overflow-x: hidden; }
}

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--brand); color: var(--cream); }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, video { display: block; max-width: 100%; }

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

/* ---- type voices ---- */
.label {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1, h2, .display {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

em.accent {
  font-style: normal;
  font-weight: 600;
  color: var(--brand);
}

/* ---- grain ---- */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9999;
  opacity: .3;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- header ---- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .45s ease, border-color .45s ease;
}

/* legibility scrim while the header is transparent at the top of the page */
header::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 150%;
  background: linear-gradient(to bottom, rgba(23, 23, 27, .78), rgba(23, 23, 27, .36) 60%, transparent);
  pointer-events: none;
  z-index: -1;
  opacity: 1;
  transition: opacity .45s ease;
}

header.scrolled::before { opacity: 0; }

header.scrolled {
  background: rgba(23, 23, 27, .92);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(250, 247, 243, .12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 2rem;
}

.nav__logo img { height: 40px; width: auto; filter: brightness(0) invert(1); }

.nav__links {
  display: flex;
  gap: 2.5rem;
}

.nav__links > li { position: relative; }

.nav__links a {
  color: var(--cream);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  position: relative;
  padding: .25rem 0;
}

.nav__links > li > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--brand-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}

.nav__links > li > a:hover::after { transform: scaleX(1); transform-origin: left; }

.has-sub > a .caret {
  display: inline-block;
  font-size: .6em;
  margin-left: .45em;
  transform: translateY(-.15em);
}

.sub {
  position: absolute;
  top: calc(100% + 14px);
  left: -1.5rem;
  min-width: 250px;
  background: rgba(23, 23, 27, .96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--hairline-light);
  padding: .6rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}

.has-sub:hover .sub,
.has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }

/* bridge the hover gap */
.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }

.sub a {
  display: block;
  padding: .65rem 1.5rem;
  font-size: .72rem;
  color: var(--muted-light);
  transition: color .25s, background .25s;
}

.sub a:hover { color: var(--cream); background: rgba(250, 247, 243, .06); }

.nav__right { display: flex; align-items: center; gap: 1.75rem; }

.nav__phone { font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; color: rgba(250, 247, 243, .65); transition: color .3s; }
.nav__phone:hover { color: var(--cream); }

.btn .btn__brief { display: none; }

/* ---- burger + mobile menu ---- */
.nav__burger {
  display: none;
  position: relative;
  z-index: 102;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: none;
}

.nav__burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--cream);
  transition: transform .45s var(--ease);
}

body.menu-open .nav__burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
body.menu-open .nav__burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

body.menu-open { overflow: hidden; }

.mnav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  color: var(--cream);
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .65s var(--ease), visibility 0s linear .65s;
}

body.menu-open .mnav {
  clip-path: inset(0 0 0% 0);
  visibility: visible;
  transition: clip-path .65s var(--ease);
}

.mnav__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
  padding-top: calc(76px + 1.5rem);
  padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
}

.mnav__group .label { color: var(--brand-bright); display: block; margin-bottom: .6rem; }

.mnav__group a {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: clamp(1.65rem, 6.4vw, 2.4rem);
  line-height: 1.25;
  padding: .5rem 0;
  border-bottom: 1px solid var(--hairline-light);
  color: var(--cream);
  transform: translateY(28px);
  opacity: 0;
  transition: transform .6s var(--ease), opacity .35s ease;
}

body.menu-open .mnav__group a { transform: none; opacity: 1; }

body.menu-open .mnav__group a:nth-of-type(1) { transition-delay: .18s; }
body.menu-open .mnav__group a:nth-of-type(2) { transition-delay: .24s; }
body.menu-open .mnav__group a:nth-of-type(3) { transition-delay: .3s; }
body.menu-open .mnav__group a:nth-of-type(4) { transition-delay: .36s; }
body.menu-open .mnav__group + .mnav__group a:nth-of-type(1) { transition-delay: .42s; }
body.menu-open .mnav__group + .mnav__group a:nth-of-type(2) { transition-delay: .48s; }
body.menu-open .mnav__group + .mnav__group a:nth-of-type(3) { transition-delay: .54s; }

.mnav__foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: transform .6s var(--ease), opacity .35s ease;
}

body.menu-open .mnav__foot { opacity: 1; transform: none; transition-delay: .6s; }

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .95rem 1.6rem;
  border-radius: 2px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  cursor: pointer;
}

.btn:hover { background: var(--brand); border-color: var(--brand); color: var(--cream); }

.nav .btn { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.nav .btn:hover { background: var(--brand-bright); border-color: var(--brand-bright); color: var(--ink); }

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(250, 247, 243, .5);
}

.btn--ghost:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }

.btn--light {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.btn--light:hover { background: var(--brand-bright); border-color: var(--brand-bright); color: var(--ink); }

.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---- home hero ---- */
.hero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2.6s cubic-bezier(.4, 0, .2, 1);
  transform: scale(1.04);
}

.hero video.is-active { opacity: 1; }

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 15% 100%, rgba(10, 61, 110, .32) 0%, transparent 55%),
    linear-gradient(to bottom, rgba(20, 20, 24, .42) 0%, rgba(20, 20, 24, .38) 45%, rgba(20, 20, 24, .78) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  color: var(--cream);
  padding-top: calc(76px + clamp(6rem, 16vh, 11.5rem));
  padding-bottom: clamp(6rem, 16vh, 11.5rem);
}

.eyebrow {
  color: var(--muted-light);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--brand-bright);
  flex: none;
}

.hero h1 {
  font-size: clamp(2.9rem, 7.2vw, 6.8rem);
  max-width: 13ch;
  color: var(--cream);
}

.hero h1 em.accent { color: var(--brand-bright); }

.hero__cta {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.75rem;
  flex-wrap: wrap;
}

.call-line { font-family: var(--mono); font-size: .82rem; letter-spacing: .06em; color: var(--muted-light); }
.call-line a { color: var(--cream); border-bottom: 1px solid rgba(250,247,243,.35); padding-bottom: 2px; transition: border-color .3s; }
.call-line a:hover { border-color: var(--brand-bright); }

.hero__meta {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--hairline-light);
}

.hero__meta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  color: var(--muted-light);
}

.hero__meta-items { display: flex; gap: clamp(1.5rem, 4vw, 4rem); }
.hero__meta-rating { display: inline-flex; align-items: center; }
.hero__meta-stars { color: var(--brand-bright); letter-spacing: .12em; margin-right: .55rem; font-size: 1em; }

/* ---- campaign landing page (/launch) ---- */
.hero--lp .hero__content {
  padding-top: calc(76px + clamp(2.5rem, 6vh, 4rem));
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
}

.hero--lp .split { align-items: center; }

.hero--lp h1 {
  font-size: clamp(2.5rem, 4.8vw, 4.4rem);
  max-width: 15ch;
}

.hero--lp .qform {
  background: rgba(23, 23, 27, .68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.lp-stickycta { display: none; }

@media (max-width: 980px) {
  .lp-stickycta {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    padding: .8rem var(--pad) calc(.8rem + env(safe-area-inset-bottom));
    background: rgba(23, 23, 27, .94);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--hairline-light);
    transition: transform .45s var(--ease);
  }
  .lp-stickycta .btn { width: 100%; justify-content: center; display: inline-flex; }
  .lp-stickycta.is-hidden { transform: translateY(110%); }
}

/* ---- interior page hero ---- */
.page-hero {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  padding: calc(76px + clamp(3rem, 8vh, 5.5rem)) 0 clamp(3.5rem, 8vh, 5.5rem);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* --lp-glow is set per visitor-local time by the hero effect (JS) */
  background: radial-gradient(110% 80% at 85% 0%, var(--lp-glow, rgba(10, 61, 110, .35)) 0%, transparent 60%);
  pointer-events: none;
  transition: background 1.2s ease;
}

.page-hero .wrap { position: relative; }

.page-hero__fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* above-the-fold trust signal in service hero */
.hero-rating {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-top: 1.75rem;
}

.hero-rating__stars {
  color: var(--brand-bright);
  letter-spacing: .18em;
  font-size: 1.05rem;
  line-height: 1;
}

.hero-rating__text {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  max-width: 18ch;
  color: var(--cream);
}

.page-hero h1 em.accent { color: var(--brand-bright); }

.lead {
  color: var(--muted-light);
  font-size: 1.05rem;
  max-width: 54ch;
  margin-top: 1.6rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 3rem clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

/* ---- service hero: immersive, asymmetric, form floats on the water ----
   Kills the templated 50/50 headline-left / form-box-right composition:
   oversized editorial headline dominates, the form becomes an elevated
   frosted-glass object floating over the interactive field. */
.page-hero:has(.split) {
  min-height: min(92svh, 880px);
  display: flex;
  align-items: center;
  padding-top: calc(76px + clamp(1.5rem, 4vh, 3rem));
  padding-bottom: clamp(1.5rem, 4vh, 3rem);
}

.page-hero:has(.split) .split {
  width: 100%;
  grid-template-columns: minmax(0, 6.4fr) minmax(0, 4.4fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
}

/* type carries the hero */
.page-hero:has(.split) h1 {
  font-size: clamp(2.9rem, 5.8vw, 5.8rem);
  max-width: 14ch;
  line-height: 1.0;
  letter-spacing: -0.035em;
}

.page-hero:has(.split) .lead { max-width: 42ch; }

/* the form as a floating glass object with real depth */
.page-hero .split .qform {
  position: relative;
  background: linear-gradient(158deg, rgba(44, 46, 55, .58), rgba(19, 20, 25, .74));
  backdrop-filter: blur(20px) saturate(1.25);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  border: 1px solid rgba(250, 247, 243, .13);
  border-top-color: rgba(250, 247, 243, .30);
  border-radius: 18px;
  box-shadow:
    0 44px 90px -46px rgba(0, 0, 0, .78),
    0 8px 24px -18px rgba(0, 0, 0, .6),
    inset 0 1px 0 rgba(250, 247, 243, .06);
  transform: translateY(10px);
}

/* faint sea-glass sheen catching the top edge */
.page-hero .split .qform::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 60% at 20% -10%, rgba(126, 166, 206, .12), transparent 60%);
  pointer-events: none;
}


.ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.25rem;
  margin-top: 2.25rem;
}

.ticks li {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-light);
  display: flex;
  align-items: center;
  gap: .6rem;
}

.ticks li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--brand-bright);
  flex: none;
}

/* ---- quote form ---- */
.qform {
  border: 1px solid var(--hairline-light);
  background: rgba(250, 247, 243, .03);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.qform h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: 1.45rem;
}

.qform .qform__note {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-top: .6rem;
}

.field { margin-top: 1.5rem; }

.field label {
  display: block;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline-light);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1rem;
  padding: .65rem 0;
  outline: none;
  border-radius: 0;
  transition: border-color .3s;
}

.field textarea { resize: vertical; min-height: 90px; }

.field input:focus, .field textarea:focus { border-bottom-color: var(--brand-bright); }

.qform .btn { width: 100%; justify-content: center; margin-top: 2rem; }

/* light form variant (cream sections) */
.qform--light { border-color: var(--hairline); background: transparent; }
.qform--light .qform__note { color: var(--muted); }
.qform--light .field label { color: var(--muted); }
.qform--light .field input, .qform--light .field textarea { color: var(--ink); border-bottom-color: var(--hairline); }
.qform--light .field input:focus, .qform--light .field textarea:focus { border-bottom-color: var(--brand); }

.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* privacy consent line under the submit button */
.qform__consent {
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .04em;
  line-height: 1.6;
  color: var(--muted-light);
  text-align: center;
}

.qform__consent a {
  color: var(--cream);
  border-bottom: 1px solid var(--hairline-light);
  padding-bottom: 1px;
  transition: border-color .3s;
}

.qform__consent a:hover { border-color: var(--brand-bright); }

.qform--light .qform__consent { color: var(--muted); }
.qform--light .qform__consent a { color: var(--ink); border-bottom-color: var(--hairline); }
.qform--light .qform__consent a:hover { border-color: var(--brand); }

/* post-submit thank-you notice (shown when ?form-submission is present) */
.qform__thanks {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--brand-bright);
  background: rgba(126, 166, 206, .12);
  color: var(--cream);
  font-size: .95rem;
  line-height: 1.5;
  opacity: 1;
  transition: opacity .6s ease;
}

.qform--light .qform__thanks {
  border-color: var(--brand);
  background: rgba(10, 61, 110, .07);
  color: var(--ink);
}

/* ---- sections ---- */
section { position: relative; }
.sect-pad { padding-top: clamp(5rem, 11vh, 8.5rem); padding-bottom: clamp(5rem, 11vh, 8.5rem); }
.sect-pad--tight { padding-top: clamp(3.5rem, 8vh, 6rem); padding-bottom: clamp(3.5rem, 8vh, 6rem); }
.sect-pad--flush-top { padding-top: 0; }

.s-dark { background: var(--ink); color: var(--cream); }

/* ---- floating slab system ----
   Dark and sand passages sit as inset panels on the continuous cream
   canvas instead of full-bleed stripes. Only the hero and footer run
   edge-to-edge, so the page opens and closes full-bleed with sculpted
   objects between. */
.s-dark,
.statband,
.proof,
.cta--sand {
  margin-inline: clamp(.6rem, 1.8vw, 2rem);
  margin-block: clamp(.9rem, 2.2vw, 1.75rem);
  border-radius: clamp(14px, 1.6vw, 22px);
  overflow: hidden;
}

.statband,
.proof,
.cta--sand { border: 1px solid var(--hairline); }

.sect-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 2.5rem clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: clamp(3rem, 7vh, 5.5rem);
}

.sect-head--solo { grid-template-columns: 1fr; }

.sect-head .label { color: var(--brand); display: block; margin-bottom: 1.4rem; }
.s-dark .sect-head .label { color: var(--brand-bright); }

.sect-head h2 { font-size: clamp(2.3rem, 4.4vw, 3.9rem); max-width: 18ch; }
.s-dark h2 { color: var(--cream); }

.sect-head p { color: var(--muted); max-width: 44ch; font-size: 1.02rem; }
.s-dark .sect-head p { color: var(--muted-light); }

/* ---- index rows (services on home) ---- */
.svc { border-top: 1px solid var(--hairline); }

.svc a {
  display: grid;
  grid-template-columns: 4rem minmax(0, 5fr) minmax(0, 6fr) auto;
  align-items: baseline;
  gap: clamp(1rem, 3vw, 3rem);
  padding: 2.4rem 0;
  border-bottom: 1px solid var(--hairline);
  position: relative;
  transition: padding-left .5s var(--ease);
}

.svc a::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--ink);
  opacity: 0;
  transition: opacity .4s var(--ease);
  z-index: 0;
}

.svc a > * { position: relative; z-index: 1; transition: color .4s var(--ease); }

.svc a:hover { padding-left: 1.25rem; }
.svc a:hover::before { opacity: 1; }
.svc a:hover .svc__name { color: var(--cream); }
.svc a:hover .svc__num { color: var(--brand-bright); }
.svc a:hover .svc__desc { color: var(--muted-light); }
.svc a:hover .svc__more { color: var(--cream); }
.svc a:hover .svc__more .arr { transform: translateX(6px); }

.svc__num {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--brand);
}

.svc__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  letter-spacing: -0.02em;
}

.svc__desc { color: var(--muted); font-size: .98rem; max-width: 42ch; }

.svc__more {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
}

.svc__more .arr { transition: transform .4s var(--ease); }

/* ---- numbered items ---- */
.items { border-top: 1px solid var(--hairline); }
.s-dark .items { border-top-color: var(--hairline-light); }

.item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: clamp(1rem, 3vw, 3rem);
  padding: 2.4rem 0;
  border-bottom: 1px solid var(--hairline);
}

.s-dark .item { border-bottom-color: var(--hairline-light); }

.item .num {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--brand);
  padding-top: .4rem;
}

.s-dark .item .num { color: var(--brand-bright); }

.item h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  letter-spacing: -0.02em;
  margin-bottom: .7rem;
}

.item p { color: var(--muted); font-size: .98rem; max-width: 60ch; }
.s-dark .item p { color: var(--muted-light); }

.item .best {
  margin-top: 1.4rem;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--muted);
}
.s-dark .item .best { color: var(--muted-light); }
.item .best strong { color: var(--brand); font-weight: 500; }
.s-dark .item .best strong { color: var(--brand-bright); }

/* two-column feature grid */
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(2.5rem, 6vw, 6rem);
  border-top: 1px solid var(--hairline);
}
.s-dark .grid2 { border-top-color: var(--hairline-light); }
.grid2 .item { grid-template-columns: 1fr; gap: 0; }
.grid2 .item .num { padding-top: 0; margin-bottom: 1rem; }

/* tight rows: short single-line content shouldn't get tall padding */
.items--tight .item { padding: 1.6rem 0; align-items: baseline; }
.items--tight .item h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); margin-bottom: .3rem; }

/* dense spec-sheet grid (the "engineering data" passage) */
.spec {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 clamp(2rem, 4vw, 3.5rem);
}

.spec--2 { grid-template-columns: repeat(2, 1fr); }

.spec__cell {
  border-top: 1px solid var(--hairline);
  padding: 1.4rem 0 2.5rem;
}

.s-dark .spec__cell { border-top-color: var(--hairline-light); }

.spec__cell .num { display: none; }

.spec__cell h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.12rem;
  letter-spacing: -0.015em;
  margin-bottom: .55rem;
}

.spec__cell p { font-size: .9rem; color: var(--muted); }
.s-dark .spec__cell p { color: var(--muted-light); }

/* full-bleed stat band (the loud moment) */
.statband {
  background: var(--sand);
  padding: clamp(4rem, 9vh, 6.5rem) 0;
}

.statband__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2rem clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.statband__fig {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(5.5rem, 13vw, 11rem);
  line-height: .9;
  letter-spacing: -0.045em;
  color: var(--brand);
}

.statband__unit {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
  margin-top: .4rem;
}

.statband .label { color: var(--brand); display: block; margin-bottom: 1.1rem; }

.statband__source {
  margin-top: 1.4rem;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .06em;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.6;
}

.statband__copy {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  letter-spacing: -0.015em;
  line-height: 1.4;
  max-width: 38ch;
}

/* ---- checklists ---- */
.check-list { margin-top: 1.25rem; }

.check-list li {
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .05em;
  color: var(--muted);
  padding: .45rem 0 .45rem 1.5rem;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .95em;
  width: 7px; height: 7px;
  border: 1px solid var(--brand);
}

.s-dark .check-list li { color: var(--muted-light); }
.s-dark .check-list li::before { border-color: var(--brand-bright); }

.check-list--cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2.5rem;
}

/* ---- callout ---- */
.callout {
  border-left: 2px solid var(--brand);
  background: var(--sand);
  padding: 1.6rem 1.9rem;
  margin-top: 2.5rem;
  font-size: .98rem;
  color: var(--ink);
  max-width: 62ch;
}

.callout strong { font-weight: 600; }

.s-dark .callout, .callout--dark {
  background: var(--ink-2);
  border-left-color: var(--brand-bright);
  color: var(--muted-light);
}

.s-dark .callout strong, .callout--dark strong { color: var(--cream); }

/* ---- portfolio (staggered editorial grid) ---- */
.folio {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.folio__card:nth-child(4n+1) { grid-column: span 7; }
.folio__card:nth-child(4n+2) { grid-column: span 5; margin-top: clamp(2rem, 5vw, 4.5rem); }
.folio__card:nth-child(4n+3) { grid-column: span 5; }
.folio__card:nth-child(4n) { grid-column: span 7; margin-top: clamp(-2.5rem, -3vw, -1rem); }

.folio__card {
  display: block;
  cursor: pointer;
  text-align: left;
  color: inherit;
}

/* browser-chrome frame around the screenshot */
.folio__frame {
  display: block;
  border: 1px solid var(--hairline);
  background: var(--sand);
  transition: border-color .4s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease);
}

.folio__card:hover .folio__frame {
  border-color: rgba(14, 14, 16, .34);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -32px rgba(14, 14, 16, .35);
}

.folio__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .7rem 1.1rem;
  border-bottom: 1px solid var(--hairline);
}

.folio__dots {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(14, 14, 16, .22);
  box-shadow: 13px 0 0 rgba(14, 14, 16, .22), 26px 0 0 rgba(14, 14, 16, .22);
  margin-right: 22px;
  flex: none;
}

.folio__url {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  color: var(--muted);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* fixed-height viewport; full-length screenshot scrolls inside on hover */
.folio__shot {
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  position: relative;
}

.folio__shot img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  will-change: transform;
}

.folio__shot::after {
  /* scroll cue: fades out on hover */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 26%;
  background: linear-gradient(to bottom, transparent, rgba(14, 14, 16, .18));
  opacity: 1;
  transition: opacity .6s var(--ease);
  pointer-events: none;
}

.folio__card:hover .folio__shot::after,
.folio__card.is-playing .folio__shot::after { opacity: 0; }

.folio__meta {
  display: block;
  margin-top: 1.75rem;
}

.folio__num { display: none; }

.folio__meta h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  letter-spacing: -0.02em;
}

.folio__meta p { color: var(--muted); font-size: .95rem; margin-top: .4rem; max-width: 44ch; }

.folio__link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.1rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
}

.folio__card:hover .folio__link .arr { transform: translateX(6px); }
.folio__link .arr { transition: transform .4s var(--ease); }

/* ---- case study dialog ---- */
dialog.case {
  width: min(860px, 92vw);
  max-height: 86vh;
  border: 0;
  background: var(--cream);
  color: var(--ink);
  padding: 0;
  margin: auto;
}

dialog.case::backdrop {
  background: rgba(20, 20, 24, .72);
  backdrop-filter: blur(6px);
}

.case__inner { padding: clamp(2rem, 4vw, 3.5rem); position: relative; }

.case__close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: .5rem;
  transition: color .3s;
}

.case__close:hover { color: var(--brand); }

dialog.case h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.case__sub { color: var(--muted); margin-top: .5rem; }

.case__visit {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.25rem;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 2px;
  transition: border-color .3s;
}

.case__visit:hover { border-color: var(--brand); }

.case__h {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-top: 2.25rem;
  margin-bottom: .75rem;
}

.case__inner > p { color: var(--muted); max-width: 66ch; }

.case__fig {
  margin-top: 2.5rem;
  background: var(--sand);
  padding: 2.25rem 2.25rem 2rem;
  position: relative;
}

.case__fig::before {
  content: "\201C";
  position: absolute;
  top: .35em;
  left: 2rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--brand);
  opacity: .9;
}

.case__fig blockquote {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  letter-spacing: -0.015em;
  line-height: 1.45;
  padding-top: 2.6rem;
}

.case__fig figcaption {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--muted);
  line-height: 1.5;
}

.case__fig figcaption img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  border: 1px solid var(--hairline);
}

.case__fig figcaption strong { color: var(--ink); font-weight: 500; display: block; }

/* in-site website viewer */
dialog.site-view {
  width: min(1240px, 94vw);
  height: 88vh;
  max-height: 88vh;
  border: 0;
  padding: 0;
  margin: auto;
  background: var(--cream);
}

dialog.site-view[open] {
  display: flex;
  flex-direction: column;
}

dialog.site-view::backdrop {
  background: rgba(20, 20, 24, .78);
  backdrop-filter: blur(6px);
}

.site-view__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .75rem 1.2rem;
  border-bottom: 1px solid var(--hairline);
  background: var(--sand);
  flex: none;
}

.site-view__spacer { flex: 1; }

.site-view__ext,
.site-view__close {
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: 0;
  cursor: pointer;
  padding: .4rem 0;
  transition: color .3s;
  white-space: nowrap;
}

.site-view__ext { margin-right: 1.25rem; }

.site-view__ext:hover,
.site-view__close:hover { color: var(--brand); }

.site-view__frame {
  flex: 1;
  width: 100%;
  border: 0;
  background: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline);
}

.btn--outline:hover { background: transparent; border-color: var(--brand); color: var(--brand); }

/* ---- testimonials ---- */
.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(2.5rem, 6vw, 6rem);
  border-top: 1px solid var(--hairline);
}

.s-dark .quotes { border-top-color: var(--hairline-light); }

.quotes figure {
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--hairline);
}

.s-dark .quotes figure { border-bottom-color: var(--hairline-light); }

.quotes blockquote {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  letter-spacing: -0.015em;
  line-height: 1.45;
}

.quotes blockquote::before { content: "“"; color: var(--brand); }
.quotes blockquote::after { content: "”"; color: var(--brand); }
.s-dark .quotes blockquote::before, .s-dark .quotes blockquote::after { color: var(--brand-bright); }

.quotes figcaption {
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--muted);
}

.s-dark .quotes figcaption { color: var(--muted-light); }

.quotes figcaption strong { display: block; color: var(--ink); font-weight: 500; }
.s-dark .quotes figcaption strong { color: var(--cream); }

/* ---- testimonials: editorial ledger ---- */
.qledger { border-top: 1px solid var(--hairline); }

.qrow {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 1.5rem clamp(2.5rem, 6vw, 6rem);
  padding: clamp(2.25rem, 5vh, 3.5rem) 0;
  border-bottom: 1px solid var(--hairline);
  margin: 0;
  align-items: start;
}

.qrow__meta {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.qrow__meta .num {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--brand);
}

.qrow__who {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.qrow__who img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  border: 1px solid var(--hairline);
}

.qrow__who span {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--muted);
  line-height: 1.5;
}

.qrow__who strong { display: block; color: var(--ink); font-weight: 500; }

.qrow blockquote {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.4;
  max-width: 34ch;
}

.qrow blockquote::before { content: "\201C"; color: var(--brand); }
.qrow blockquote::after { content: "\201D"; color: var(--brand); }

/* rolodex stack: each card pins below the header, the next slides over it */
.qstack { padding-bottom: 5vh; }

.qstack .qrow {
  position: sticky;
  background: var(--cream);
  border: 1px solid var(--hairline);
  padding: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: clamp(1.75rem, 4vh, 3rem);
  min-height: clamp(300px, 40vh, 420px);
  align-items: center;
  box-shadow: 0 -14px 40px -30px rgba(14, 14, 16, .45), 0 20px 50px -40px rgba(14, 14, 16, .4);
}

.qstack .qrow:last-child { margin-bottom: 0; }

/* small cascading offsets so the pile reads as a deck */
.qstack .qrow:nth-child(1) { top: calc(76px + 1.25rem); }
.qstack .qrow:nth-child(2) { top: calc(76px + 1.25rem + 14px); }
.qstack .qrow:nth-child(3) { top: calc(76px + 1.25rem + 28px); }
.qstack .qrow:nth-child(4) { top: calc(76px + 1.25rem + 42px); }
.qstack .qrow:nth-child(5) { top: calc(76px + 1.25rem + 56px); }
.qstack .qrow:nth-child(6) { top: calc(76px + 1.25rem + 70px); }

@media (max-width: 980px) {
  .qrow { grid-template-columns: 1fr; gap: 1.5rem; }
  .qrow__meta { order: 2; flex-direction: row; align-items: center; justify-content: space-between; }
  .qrow blockquote { max-width: none; }

  /* Drop the rolodex sticky-pin on small screens: a card taller than the
     viewport can never reveal its bottom while pinned, so the next card
     covers the attribution before it's been read. Flow them as a normal,
     fully-scrollable stacked list instead. */
  .qstack { padding-bottom: 0; }
  .qstack .qrow {
    position: static;
    top: auto;
    min-height: 0;
    align-items: start;
  }
}

.cta--sand { background: var(--sand); }

/* single-quote proof band for service pages */
.proof { background: var(--sand); padding: clamp(3.5rem, 8vh, 5.5rem) 0; }

.proof__grid {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1.5rem clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  max-width: 980px;
}

.proof__grid > img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--hairline);
}

.proof blockquote {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.proof blockquote::before { content: "\201C"; color: var(--brand); }
.proof blockquote::after { content: "\201D"; color: var(--brand); }

.proof__who {
  margin-top: 1.1rem;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--muted);
}

.proof__who strong { color: var(--ink); font-weight: 500; margin-right: .75rem; }

@media (max-width: 640px) {
  .proof__grid { grid-template-columns: 56px 1fr; }
  .proof__grid > img { width: 56px; height: 56px; }
}

/* ---- FAQ ---- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 3rem clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.faq-head { position: sticky; top: 110px; }

.faq-head .label { color: var(--brand); display: block; margin-bottom: 1.4rem; }

.faq-head h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); }

.faq-head p { color: var(--muted); margin-top: 1.25rem; max-width: 34ch; }

.faq { border-top: 1px solid var(--hairline); max-width: 900px; }

.faq-grid .faq { max-width: none; }

.faq details { border-bottom: 1px solid var(--hairline); }

.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.7rem 0;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  list-style: none;
  transition: color .3s;
}

.faq summary:hover { color: var(--brand); }

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--brand);
  flex: none;
  transition: transform .35s var(--ease);
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details p { padding: 0 3rem 1.9rem 0; color: var(--muted); max-width: 72ch; }

/* ---- CTA band ---- */
.cta { text-align: center; }

.cta .label { color: var(--brand); display: block; margin-bottom: 1.6rem; }
.cta.s-dark .label { color: var(--brand-bright); }

.cta h2 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  max-width: 20ch;
  margin: 0 auto;
}

.cta p { color: var(--muted); max-width: 52ch; margin: 2rem auto 0; font-size: 1.05rem; }
.cta.s-dark p { color: var(--muted-light); }

.cta__actions {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta.s-dark .call-line { color: var(--muted-light); }
.cta .call-line { color: var(--muted); }
.cta:not(.s-dark) .call-line a { color: var(--ink); border-color: var(--hairline); }
.cta:not(.s-dark) .call-line a:hover { border-color: var(--brand); }

/* ---- info grid (contact) ---- */
.igrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(2.5rem, 6vw, 6rem);
  border-top: 1px solid var(--hairline);
}

.igrid > div { padding: 2.25rem 0; border-bottom: 1px solid var(--hairline); }

.igrid .label { color: var(--brand); display: block; margin-bottom: .9rem; }

.igrid .val {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.015em;
}

.igrid .val a { transition: color .3s; }
.igrid .val a:hover { color: var(--brand); }

.igrid .note { color: var(--muted); font-size: .92rem; margin-top: .4rem; }

/* ---- about page ---- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 3rem clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.photo-frame img { width: 100%; border: 1px solid var(--hairline); }

/* opposing rounded corners — top-right and bottom-left only */
.photo-frame--organic img {
  border-radius: 0 clamp(3.5rem, 9vw, 8rem) 0 clamp(3.5rem, 9vw, 8rem);
}

.photo-cap {
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.s-dark .photo-cap { color: var(--muted-light); }

.pull {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
  border-left: 2px solid var(--brand);
  padding-left: 1.75rem;
  margin: 2.75rem 0;
  max-width: 26ch;
}

.stats { display: flex; gap: clamp(2rem, 5vw, 4.5rem); flex-wrap: wrap; margin-top: 2.5rem; }

.stats .stat strong {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
}

.stats .stat span {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.body-copy p { color: var(--muted); max-width: 60ch; }
.body-copy p + p { margin-top: 1.25rem; }
.s-dark .body-copy p { color: var(--muted-light); }

/* ---- prose (privacy) ---- */
.prose { max-width: 780px; }

.prose h2 {
  font-size: 1.65rem;
  margin: 3rem 0 1rem;
}

.prose h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin: 2rem 0 .6rem;
}

.prose p, .prose li { color: var(--muted); }
.prose p { margin: .8rem 0; }
.prose strong { color: var(--ink); font-weight: 600; }

.prose ul { list-style: square; padding-left: 1.3rem; margin: .8rem 0; }
.prose li { padding: .15rem 0; }
.prose li::marker { color: var(--brand); }

.prose .meta-block {
  border-left: 2px solid var(--brand);
  background: var(--sand);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

.prose .meta-block p { margin: .25rem 0; }

/* ---- wave contours ---- */
.contours {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
}

/* ---- footer ---- */
footer { background: var(--ink); color: var(--cream); }

/* slim logo ticker opening the footer */
.foot__ticker {
  overflow: hidden;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--hairline-light);
  pointer-events: none;
  user-select: none;
}

.foot__ticker-track {
  display: flex;
  width: max-content;
  animation: footTicker 70s linear infinite;
}

.foot__ticker-group {
  display: flex;
  align-items: center;
  gap: clamp(3.5rem, 7vw, 6rem);
  padding-right: clamp(3.5rem, 7vw, 6rem);
}

.foot__ticker img {
  height: 26px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .75;
}

@keyframes footTicker {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .foot__ticker-track { animation: none; }
}

.foot__cols {
  border-top: 1px solid var(--hairline-light);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr);
  gap: 3rem;
}

.foot__cols .label { color: var(--muted-light); display: block; margin-bottom: 1.5rem; }

.foot__about p { color: var(--muted-light); max-width: 30ch; font-size: .95rem; margin-bottom: 2rem; }

.foot__contact li { margin-bottom: .7rem; }
.foot__contact a, .foot__contact span {
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--cream);
}
.foot__contact a { border-bottom: 1px solid transparent; transition: border-color .3s; }
.foot__contact a:hover { border-color: var(--brand-bright); }

.foot__links li { margin-bottom: .85rem; }
.foot__links a { font-size: .95rem; color: var(--muted-light); transition: color .3s; }
.foot__links a:hover { color: var(--cream); }

.foot__base {
  border-top: 1px solid var(--hairline-light);
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted-light);
}


/* ---- reveals ----
   Hidden initial states only apply when JS is running (html.js is set by
   site.js) — with JS disabled every element is fully visible for users
   and crawlers. */
.line-mask { overflow: hidden; display: block; }
html.js .line-mask > span { display: block; transform: translateY(115%); transition: transform 1.1s var(--ease); }
html.js .is-loaded .line-mask > span { transform: translateY(0); }

html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js [data-reveal].in { opacity: 1; transform: none; }

/* ---- responsive ---- */
@media (min-width: 981px) {
  .mnav { display: none; }
}

@media (max-width: 1180px) {
  .nav .btn .btn__full { display: none; }
  .nav .btn .btn__brief { display: inline; }
}

@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__phone { display: none; }
  .nav__burger { display: flex; }
  .sect-head { grid-template-columns: 1fr; align-items: start; }
  .split { grid-template-columns: 1fr; }
  .page-hero:has(.split) { min-height: 0; display: block; align-items: start; }
  .page-hero:has(.split) .split { grid-template-columns: 1fr; align-items: start; }
  .page-hero .split .qform { transform: none; }
  .svc a { grid-template-columns: 3rem 1fr auto; }
  .svc__desc { display: none; }
  .grid2 { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr 1fr; }
  .statband__grid { grid-template-columns: 1fr; }
  .statband__copy { max-width: 50ch; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .folio { grid-template-columns: 1fr; }
  .folio__card:nth-child(n) { grid-column: auto; margin-top: 0; }
  .quotes { grid-template-columns: 1fr; }
  .igrid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav .btn { display: none; }
  .svc a { grid-template-columns: 2.5rem 1fr; }
  .svc__more { display: none; }
  .spec, .spec--2 { grid-template-columns: 1fr; }
  .spec__cell { padding-bottom: 1.8rem; }
  .hero__meta-items { gap: 1.25rem; flex-wrap: wrap; }
  .hero__meta-inner .hero__scroll { display: none; }
  .item { grid-template-columns: 1fr; gap: .5rem; }
  .check-list--cols { grid-template-columns: 1fr; }
  .foot__giant { margin-top: 1.75rem; }
  .foot__cols { grid-template-columns: 1fr; padding-top: 2.5rem; padding-bottom: 2.5rem; gap: 2.25rem; }
  .foot__about p { margin-bottom: 1.25rem; }
  .foot__cols .label { margin-bottom: .9rem; }
  .foot__links li { margin-bottom: .55rem; }
  .foot__base { padding-top: 1.1rem; padding-bottom: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .line-mask > span { transition: none; transform: none; }
  [data-reveal] { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
