/* ==========================================================================
   PowerHouse Media Partners — custom.css  (v2, modern redesign)

   Brand identity retained: navy #201E50, green #70BF44, Futura Now Headline,
   all original imagery and copy. Layout architecture is new.

   CONTENTS
   01. Tokens
   02. Fonts
   03. Reset / base
   04. Layout primitives
   05. Buttons + links
   06. Header
   07. Hero
   08. Marquee
   09. Bento / cards
   10. Stats
   11. Split sections
   12. Testimonials
   13. Contact band + forms
   14. Blog
   15. Footer
   16. Motion
   17. Accessibility
   18. Responsive
   ========================================================================== */

/* ==========================================================================
   01. TOKENS
   ========================================================================== */
:root {
  /* --- brand --- */
  --navy:        #201E50;
  --navy-deep:   #15133A;
  --navy-ink:    #0D0C22;
  --green:       #70BF44;
  --green-bright:#8AD95C;
  --green-deep:  #4F9A2A;

  /* --- neutrals, biased warm-cool toward the navy --- */
  --ink:         #16152B;
  --body:        #55566E;
  --muted:       #85879B;
  --line:        #E6E7EE;
  --line-soft:   #F0F1F6;
  --surface:     #FFFFFF;
  --surface-alt: #F7F8FB;
  --surface-sunk:#EFF1F6;

  /* --- accents derived from brand --- */
  --grad-brand:  linear-gradient(135deg, #70BF44 0%, #4F9A2A 100%);
  --grad-navy:   linear-gradient(150deg, #2A2765 0%, #15133A 100%);
  --grad-wash:   radial-gradient(120% 100% at 80% 0%, rgba(112,191,68,.16) 0%, rgba(112,191,68,0) 60%);
  --grad-text:   linear-gradient(120deg, #201E50 0%, #4F9A2A 100%);

  /* --- type --- */
  --font-display: "Futura Now Headline", "Futura", "Century Gothic", ui-sans-serif, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;

  --fs-display: clamp(2.75rem, 1.6rem + 4.6vw, 5.25rem);
  --fs-h1:      clamp(2.25rem, 1.5rem + 3.1vw, 4rem);
  --fs-h2:      clamp(1.75rem, 1.25rem + 2.1vw, 2.875rem);
  --fs-h3:      clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem);
  --fs-h4:      clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-lead:    clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  --fs-body:    1rem;
  --fs-sm:      0.9375rem;
  --fs-xs:      0.8125rem;

  /* --- spacing (8pt) --- */
  --s-1: .25rem;  --s-2: .5rem;   --s-3: .75rem;  --s-4: 1rem;
  --s-5: 1.5rem;  --s-6: 2rem;    --s-7: 2.5rem;  --s-8: 3rem;
  --s-9: 4rem;    --s-10: 5rem;   --s-11: 6.5rem; --s-12: 8rem;

  --section-y: clamp(3.5rem, 2rem + 6vw, 7rem);

  /* --- shape --- */
  --r-sm: 10px;  --r-md: 16px;  --r-lg: 24px;  --r-xl: 32px;  --r-2xl: 40px;
  --r-pill: 999px;

  /* --- elevation: layered, soft --- */
  --sh-xs: 0 1px 2px rgba(22,21,43,.05);
  --sh-sm: 0 2px 4px rgba(22,21,43,.04), 0 6px 14px -6px rgba(22,21,43,.10);
  --sh-md: 0 4px 8px rgba(22,21,43,.04), 0 16px 32px -12px rgba(22,21,43,.14);
  --sh-lg: 0 8px 16px rgba(22,21,43,.05), 0 32px 64px -20px rgba(22,21,43,.20);
  --sh-green: 0 12px 32px -10px rgba(112,191,68,.55);
  --sh-navy: 0 12px 32px -10px rgba(32,30,80,.45);

  /* --- container --- */
  --container: 1200px;
  --container-wide: 1360px;
  --gutter: clamp(1.25rem, .75rem + 2vw, 2.5rem);
  --header-h: 76px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: 240ms;
}

/* ==========================================================================
   02. FONTS
   ========================================================================== */
@font-face { font-family:"Futura Now Headline"; font-style:normal; font-weight:400; font-display:swap;
  src:url("../fonts/FuturaNowHeadline.woff2") format("woff2"), url("../fonts/futuranowheadline-webfont.woff") format("woff"); }
@font-face { font-family:"Futura Now Headline"; font-style:normal; font-weight:500; font-display:swap;
  src:url("../fonts/FuturaNowHeadline-Medium.woff2") format("woff2"), url("../fonts/futuranowheadlinemedium-webfont.woff") format("woff"); }
@font-face { font-family:"Futura Now Headline"; font-style:normal; font-weight:700; font-display:swap;
  src:url("../fonts/FuturaNowHeadline-Bold.woff2") format("woff2"), url("../fonts/futuranowheadlinebold-webfont.woff") format("woff"); }
@font-face { font-family:"Futura Now Headline"; font-style:normal; font-weight:800; font-display:swap;
  src:url("../fonts/FuturaNowHeadline-XBold.woff2") format("woff2"), url("../fonts/futuranowheadlineextrabold-webfont.woff") format("woff"); }
@font-face { font-family:"Futura Now Headline"; font-style:normal; font-weight:900; font-display:swap;
  src:url("../fonts/FuturaNowHeadline-Black.woff2") format("woff2"), url("../fonts/futuranowheadlineblack-webfont.woff") format("woff"); }

/* ==========================================================================
   03. RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 900; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
h4 { font-size: var(--fs-h4); font-weight: 700; letter-spacing: -.005em; line-height: 1.3; }

p { margin: 0; }
p + p { margin-top: var(--s-4); }

a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease); }

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

ul, ol { margin: 0; padding: 0; list-style: none; }

/* blockquote carries a browser default of 40px inline margin, which was
   squeezing the testimonial text to a fraction of its card */
blockquote, figure { margin: 0; }

::selection { background: var(--green); color: #fff; }

/* ==========================================================================
   04. LAYOUT PRIMITIVES
   ========================================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { width: 100%; max-width: var(--container-wide); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--surface-alt); }
.section--sunk { background: var(--surface-sunk); }
.section--navy { background: var(--grad-navy); color: #fff; }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--tight { padding-block: clamp(2rem, 1.5rem + 3vw, 3.5rem); }

.section-head { max-width: 760px; margin-bottom: var(--s-8); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: var(--s-4); font-size: var(--fs-lead); color: var(--muted); }
.section--navy .section-head p { color: rgba(255,255,255,.72); }

/* eyebrow: small pill label */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-body);
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-deep);
  background: rgba(112,191,68,.10);
  border: 1px solid rgba(112,191,68,.22);
  border-radius: var(--r-pill);
  padding: .4rem .85rem;
  margin-bottom: var(--s-5);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.section--navy .eyebrow { color: var(--green-bright); background: rgba(112,191,68,.14); border-color: rgba(112,191,68,.3); }

.lead { font-size: var(--fs-lead); color: var(--muted); }

/* gradient text accent, used once or twice per page */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.section--navy .grad-text {
  background: linear-gradient(120deg, #fff 0%, var(--green-bright) 100%);
  -webkit-background-clip: text; background-clip: text;
}

/* ==========================================================================
   05. BUTTONS + LINKS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  font-family: var(--font-body);
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: .01em;
  padding: .875rem 1.6rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.btn svg { width: 1em; height: 1em; flex: 0 0 auto; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: var(--sh-green); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(112,191,68,.65); }

.btn--navy { background: var(--navy); color: #fff; box-shadow: var(--sh-navy); }
.btn--navy:hover { color: #fff; background: var(--navy-deep); transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { color: var(--ink); border-color: var(--ink); background: var(--surface-alt); transform: translateY(-2px); }

.btn--light { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.btn--light:hover { color: var(--navy); background: #fff; border-color: #fff; transform: translateY(-2px); }

.btn--lg { padding: 1.0625rem 2rem; font-size: var(--fs-body); }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-weight: 600; font-size: var(--fs-sm); color: var(--navy);
}
.link-arrow svg { width: 1em; height: 1em; transition: transform var(--dur) var(--ease); }
.link-arrow:hover { color: var(--green-deep); }
.link-arrow:hover svg { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ==========================================================================
   06. HEADER
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-stuck { background: rgba(255,255,255,.92); border-bottom-color: var(--line); box-shadow: var(--sh-xs); }
.site-header > .container-wide { display: flex; align-items: center; gap: var(--s-6); }

.site-logo { flex: 0 0 auto; }
.site-logo img { width: 178px; }

.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: var(--s-1); }
.nav > ul > li > a,
.nav .nav-trigger {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-body);
  font-size: var(--fs-sm); font-weight: 500; color: var(--ink);
  padding: .55rem .85rem; border-radius: var(--r-pill);
  background: none; border: 0; cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav > ul > li > a:hover,
.nav .nav-trigger:hover { background: var(--surface-alt); color: var(--navy); }
.nav > ul > li > a[aria-current="page"],
.nav > li.is-current > .nav-trigger { color: var(--green-deep); background: rgba(112,191,68,.10); }
.nav-trigger svg { width: .7em; height: .7em; transition: transform var(--dur) var(--ease); }
.has-mega.is-open .nav-trigger svg { transform: rotate(180deg); }

.header-cta { flex: 0 0 auto; margin-left: var(--s-3); }

/* mega menu */
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, -8px);
  width: min(680px, calc(100vw - 2rem));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: var(--s-4);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
/* Invisible bridge across the 14px gap between trigger and panel. Without it
   the pointer leaves both elements on the way down and the menu closes. */
.mega::before {
  content: ""; position: absolute;
  top: -18px; left: 0; right: 0; height: 18px;
}
/* Opening is driven by JS (.is-open) so it can hold the menu open briefly on
   mouseleave — a bare :hover rule closes it the instant the pointer strays. */
.has-mega.is-open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }

.mega-item { display: flex; gap: var(--s-3); padding: var(--s-3); border-radius: var(--r-md); transition: background var(--dur) var(--ease); }
.mega-item:hover { background: var(--surface-alt); }
.mega-item img { width: 40px; height: 40px; flex: 0 0 40px; object-fit: contain; }
.mega-item h4 { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.mega-item p { font-size: var(--fs-xs); color: var(--muted); line-height: 1.45; }

/* mobile toggle */
.nav-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); color: var(--ink);
  align-items: center; justify-content: center; cursor: pointer;
}

body { padding-top: var(--header-h); }

/* ==========================================================================
   07. HERO
   ========================================================================== */
.hero { position: relative; padding-block: clamp(3rem, 2rem + 5vw, 6rem) clamp(3.5rem, 2rem + 6vw, 7rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 130%;
  background: var(--grad-wash); pointer-events: none; z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
/* no max-width here — it would throttle the headline and button row.
   The reading measure belongs on the paragraph only. */
.hero-copy { min-width: 0; }
.hero h1 { font-size: var(--fs-display); letter-spacing: -.03em; max-width: 12ch; }
.hero .lead { margin-top: var(--s-5); max-width: 46ch; }
.hero .btn-row { margin-top: var(--s-7); }

.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-5); margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.hero-proof .num { font-family: var(--font-display); font-size: 1.75rem; font-weight: 900; color: var(--navy); line-height: 1; }
.hero-proof .lbl { font-size: var(--fs-xs); color: var(--muted); margin-top: 2px; }

.hero-media { position: relative; }
.hero-media > img { width: 100%; border-radius: var(--r-2xl); box-shadow: var(--sh-lg); }
.hero-blob {
  position: absolute; z-index: -1; border-radius: 50%;
  background: var(--grad-brand); filter: blur(2px); opacity: .9;
}
.hero-blob--1 { width: 46%; aspect-ratio: 1; right: -6%; top: -8%; }
.hero-blob--2 { width: 26%; aspect-ratio: 1; left: -8%; bottom: 6%; background: var(--navy); opacity: .12; }

/* floating stat card over hero image */
.hero-card {
  position: absolute; left: -6%; bottom: 8%;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  padding: var(--s-4) var(--s-5); display: flex; align-items: center; gap: var(--s-4);
}
.hero-card .num { font-family: var(--font-display); font-size: 2rem; font-weight: 900; color: var(--green-deep); line-height: 1; }
.hero-card .lbl { font-size: var(--fs-xs); color: var(--body); }

/* inner-page hero */
.page-hero { position: relative; padding-block: clamp(2.5rem, 2rem + 4vw, 5rem) clamp(2rem, 1.5rem + 3vw, 3.5rem); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -30% -10% auto -10%; height: 160%; background: var(--grad-wash); z-index: -1; }
.page-hero h1 { max-width: 18ch; }
.page-hero--center { text-align: center; }
.page-hero--center h1, .page-hero--center .lead { margin-inline: auto; }
.page-hero .lead { margin-top: var(--s-5); max-width: 60ch; }

.crumbs { margin-bottom: var(--s-5); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); font-size: var(--fs-xs); color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: var(--s-2); }
.crumbs li + li::before { content: "/"; color: var(--line); }
.crumbs a:hover { color: var(--green-deep); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.page-hero--center .crumbs ol { justify-content: center; }

/* ==========================================================================
   08. MARQUEE (client logos)
   ========================================================================== */
.marquee { position: relative; overflow: hidden; padding-block: var(--s-5); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: clamp(2.5rem, 1rem + 5vw, 5rem); align-items: center; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
/* Every logo is on the same normalised 2:1 canvas, so one fixed box keeps them
   at equal weight. Desaturated + knocked back so the strip reads as one texture
   rather than twelve competing brand colours; full colour on hover. */
.marquee img {
  width: 150px; height: 75px;
  object-fit: contain;
  filter: grayscale(1) contrast(.85);
  opacity: .5;
  transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   09. BENTO / CARDS
   ========================================================================== */
/* 12-column bed. Services run as an asymmetric 2x2: 5/7 then 7/5, which
   keeps the row full and gives the lead card visual weight. */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s-4); }
.bento > * { grid-column: span 6; }
.bento--services > *:nth-child(1) { grid-column: span 5; }
.bento--services > *:nth-child(2) { grid-column: span 7; }
.bento--services > *:nth-child(3) { grid-column: span 7; }
.bento--services > *:nth-child(4) { grid-column: span 5; }
/* three-up variant for the About values row */
.bento--three > * { grid-column: span 4; }

.card {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-3);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: transparent; }
.card p { font-size: var(--fs-sm); }

/* icon tile */
.card-icon {
  width: 56px; height: 56px; border-radius: var(--r-md);
  background: var(--surface-alt);
  display: grid; place-items: center;
  transition: background var(--dur) var(--ease);
}
.card-icon img { width: 30px; height: 30px; object-fit: contain; }
.card:hover .card-icon { background: rgba(112,191,68,.14); }

.card--feature { background: var(--grad-navy); border-color: transparent; color: rgba(255,255,255,.76); }
.card--feature h3, .card--feature h4 { color: #fff; }
.card--feature .card-icon { background: rgba(255,255,255,.10); }
.card--feature:hover .card-icon { background: rgba(112,191,68,.24); }

.card-link { margin-top: auto; padding-top: var(--s-3); }

/* numbered process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); counter-reset: step; }
.step { counter-increment: step; position: relative; padding-top: var(--s-6); }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 800;
  letter-spacing: .1em; color: var(--green-deep);
}
.step::after { content: ""; position: absolute; top: 10px; left: 34px; right: 0; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.step h3 { font-size: var(--fs-h4); margin-bottom: var(--s-2); }
.step p { font-size: var(--fs-sm); }

/* check list */
.checks { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
.checks li { display: flex; align-items: flex-start; gap: var(--s-3); font-size: var(--fs-sm); }
.checks img { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 1px; }

/* ==========================================================================
   09b. WORK SLIDER (Our latest work)
   Autoplays, and is fully driveable by arrows, dots, keyboard and swipe.
   ========================================================================== */
/* Width is derived from viewport HEIGHT so the whole section fits on a laptop
   screen without scrolling. 1400/875 is the tallest source ratio, so every
   screenshot fits inside the frame with nothing cropped. */
.work-slider {
  position: relative;
  max-width: min(100%, 96vh);
  margin-inline: auto;
}

.work-viewport {
  overflow: hidden;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  /* set per slider — the tallest source ratio in that set, so nothing crops */
  aspect-ratio: var(--frame-aspect, 1400 / 875);
}
.work-track { display: flex; height: 100%; transition: transform 620ms var(--ease); will-change: transform; }
.work-slide { flex: 0 0 100%; min-width: 0; display: grid; place-items: center; }
.work-slide img {
  width: 100%; height: 100%; display: block;
  object-fit: contain;        /* never crop a client's screenshot */
  object-position: center;
}

/* arrows sit over the frame edges */
/* At rest the arrows are fully transparent so they never cover the slide
   artwork — only the glyph shows, kept legible over light or dark areas by a
   drop shadow. The solid chip appears on hover and keyboard focus. */
.work-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 2;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  color: #fff; cursor: pointer;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.6));
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease),
              color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.work-btn:hover,
.work-btn:focus-visible {
  background: rgba(255,255,255,.92);
  border-color: var(--line);
  box-shadow: var(--sh-md);
  color: var(--ink);
  filter: none;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transform: translateY(-50%) scale(1.06);
}
.work-btn svg { width: 20px; height: 20px; }
.work-btn--prev { left: 18px; }
.work-btn--next { right: 18px; }

/* controls row under the frame */
.work-controls {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4); margin-top: var(--s-5);
}
.work-dots { display: flex; align-items: center; gap: var(--s-2); }
.work-dots button {
  width: 30px; height: 6px; padding: 0; border: 0; border-radius: var(--r-pill);
  background: var(--line); cursor: pointer;
  transition: background var(--dur) var(--ease), width var(--dur) var(--ease);
}
.work-dots button:hover { background: var(--muted); }
.work-dots button[aria-current="true"] { width: 52px; background: var(--grad-brand); }

.work-count {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-sm); color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.work-count b { color: var(--ink); }

.work-play {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600;
  color: var(--muted); background: none; border: 0; padding: .35rem .5rem; cursor: pointer;
  border-radius: var(--r-pill);
}
.work-play:hover { color: var(--ink); background: var(--surface-alt); }
.work-play svg { width: 13px; height: 13px; }

/* --- logo variant: several equal tiles per view -------------------------
   Every logo sits in an identical tile and is capped on BOTH axes, so a wide
   wordmark and a square badge read at the same visual weight. */
.work-slider--logos { max-width: 100%; }
.work-slider--logos .work-viewport {
  aspect-ratio: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: var(--s-2) 0;
}
.work-slider--logos .work-track { height: auto; }
.work-slider--logos .work-slide { padding-inline: var(--s-2); display: block; }

.logo-tile {
  height: 168px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: grid; place-items: center;
  padding: var(--s-5);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.logo-tile:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: transparent; }
/* Each raster logo is ink-trimmed and scaled at build time so it covers the
   same ~26% of an identical 480x240 canvas — equal optical weight regardless
   of whether the mark is square or a 6:1 wordmark. */
.logo-tile img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
}
/* The one vector logo cannot be ink-trimmed at build time, so it is given the
   width that lands it on the same ~26% coverage as the normalised rasters. */
.logo-tile img[src$=".svg"] { width: 54%; margin-inline: auto; }

.work-slider--logos .work-btn--prev { left: -22px; }
.work-slider--logos .work-btn--next { right: -22px; }
/* these arrows sit outside the frame on the page background, not over artwork,
   so the glyph needs to be dark rather than white-on-white */
.work-slider--logos .work-btn { color: var(--muted); filter: none; }
.work-slider--logos .work-btn:hover,
.work-slider--logos .work-btn:focus-visible { color: var(--ink); }

@media (max-width: 1100px) {
  .work-slider--logos .work-btn--prev { left: 4px; }
  .work-slider--logos .work-btn--next { right: 4px; }
}
@media (max-width: 640px) {
  .logo-tile { height: 132px; padding: var(--s-4); }
  .logo-tile img { max-height: 62px; }
}

/* compact section chrome so the whole block clears a 768px-tall laptop */
.section--portfolio { padding-block: clamp(2rem, 1.25rem + 2.5vw, 3.25rem); }
.section--portfolio .section-head { margin-bottom: var(--s-5); }
.section--portfolio .section-head p { margin-top: var(--s-2); font-size: var(--fs-sm); }
.section--portfolio .work-controls { margin-top: var(--s-4); }

@media (max-width: 640px) {
  .work-slider { max-width: 100%; }
  .work-btn { width: 42px; height: 42px; }
  .work-btn--prev { left: 8px; }
  .work-btn--next { right: 8px; }
  .work-controls { flex-wrap: wrap; justify-content: center; }
}
/* Laptop heights: trim the section chrome so the whole block clears the fold.
   Tier 1 covers 1440x900-class screens, tier 2 the shorter 1366x768 class. */
@media (max-height: 950px) {
  .section--portfolio { padding-block: var(--s-5); }
  .section--portfolio .section-head { margin-bottom: var(--s-3); }
  .section--portfolio .eyebrow { margin-bottom: var(--s-3); }
  .section--portfolio .work-controls { margin-top: var(--s-3); }
  .work-slider:not(.work-slider--logos) { max-width: min(100%, 88vh); }
}
@media (max-height: 800px) {
  .section--portfolio .section-head p { display: none; }
  .work-slider:not(.work-slider--logos) { max-width: min(100%, 90vh); }
}

/* ==========================================================================
   10. STATS
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-6); text-align: center;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.stat .num { font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); font-weight: 900; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { margin-top: var(--s-2); font-size: var(--fs-sm); color: var(--muted); }
.section--navy .stat { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section--navy .stat .num { background: linear-gradient(120deg,#fff,var(--green-bright)); -webkit-background-clip: text; background-clip: text; }
.section--navy .stat .lbl { color: rgba(255,255,255,.66); }

/* ==========================================================================
   11. SPLIT SECTIONS
   ========================================================================== */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.split--reverse .split-media { order: -1; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--sh-md); }
.split-media--stack { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); align-items: start; }
/* fill the cell — several of these assets are narrower than the column and
   would otherwise render at their natural size */
.split-media--stack img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--sh-md); }
.split-media--stack img:nth-child(2) { margin-top: var(--s-8); }
/* a single portfolio image reads better constrained and centred */
.split-media--stack:has(img:only-child) { max-width: 960px; margin-inline: auto; }
.split-copy .checks { margin-top: var(--s-6); }
.split-copy .btn-row { margin-top: var(--s-7); }

/* accent frame behind an image */
.framed { position: relative; }
.framed::before {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 62%; height: 62%;
  border-radius: var(--r-xl); background: var(--grad-brand); opacity: .16; z-index: -1;
}

/* ==========================================================================
   12. TESTIMONIALS
   ========================================================================== */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); align-items: start; }
.tst {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-4);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.tst:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.tst-quote { font-size: var(--fs-sm); line-height: 1.7; }
.tst-quote::before { content: "\201C"; display: block; font-family: var(--font-display); font-size: 3rem; line-height: .6; color: var(--green); margin-bottom: var(--s-3); }
.tst-who { display: flex; align-items: center; gap: var(--s-3); margin-top: auto; padding-top: var(--s-4); border-top: 1px solid var(--line-soft); }
.tst-who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.tst-name { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: var(--fs-sm); }
.tst-role { font-size: var(--fs-xs); color: var(--muted); }

/* swipe-row navigation dots — hidden until the grid becomes a carousel */
.tst-dots { display: none; }
@media (max-width: 960px) {
  .tst-dots {
    display: flex; align-items: center; justify-content: center;
    gap: var(--s-2); margin-top: var(--s-5);
  }
  .tst-dots button {
    width: 40px; height: 38px; padding: 16px 5px;
    border: 0; border-radius: var(--r-pill);
    background: var(--line); background-clip: content-box;
    cursor: pointer;
    transition: background var(--dur) var(--ease), width var(--dur) var(--ease);
  }
  .tst-dots button[aria-current="true"] { width: 62px; background: var(--grad-brand); background-clip: content-box; }
}

/* clamp long quotes, expand on demand */
.tst-quote-text {
  display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical;
  overflow: hidden;
}
.tst.is-expanded .tst-quote-text { -webkit-line-clamp: unset; }
.tst-more { align-self: flex-start; font-size: var(--fs-xs); font-weight: 600; color: var(--green-deep); background: none; border: 0; padding: 0; cursor: pointer; }
.tst-more:hover { text-decoration: underline; }

/* ==========================================================================
   13. CONTACT BAND + FORMS
   ========================================================================== */
.contact-band { position: relative; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }

.info-list { display: grid; gap: var(--s-4); margin-top: var(--s-7); }
.info-item { display: flex; gap: var(--s-4); align-items: flex-start; }
.info-item .card-icon { width: 46px; height: 46px; flex: 0 0 46px; background: rgba(255,255,255,.08); }
.info-item .card-icon svg { width: 20px; height: 20px; color: var(--green-bright); }
.info-item .info-label { font-family: var(--font-body); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.6); margin-bottom: 2px; font-weight: 600; }
.info-item p, .info-item a { font-size: var(--fs-body); color: #fff; }
.info-item a:hover { color: var(--green-bright); }

.form-card {
  background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--sh-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.form-card h3 { margin-bottom: var(--s-2); }
.form-card > p { font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--s-6); }

.phm-form { display: grid; gap: var(--s-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.field { display: grid; gap: var(--s-2); }
.field label { font-size: var(--fs-xs); font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.field .req { color: var(--green-deep); }

.phm-form input[type="text"],
.phm-form input[type="email"],
.phm-form input[type="tel"],
.phm-form textarea {
  width: 100%; font-family: var(--font-body); font-size: var(--fs-sm); color: var(--ink);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: .8rem 1rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.phm-form textarea { min-height: 130px; resize: vertical; }
.phm-form input::placeholder, .phm-form textarea::placeholder { color: var(--muted); }
.phm-form input:focus, .phm-form textarea:focus {
  outline: none; background: var(--surface);
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(112,191,68,.14);
}
.phm-form input[aria-invalid="true"], .phm-form textarea[aria-invalid="true"] { border-color: #D9534F; }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-submit {
  justify-self: start;
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600;
  background: var(--grad-brand); color: #fff;
  border: 0; border-radius: var(--r-pill);
  padding: .95rem 1.9rem; cursor: pointer;
  box-shadow: var(--sh-green);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), opacity var(--dur);
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(112,191,68,.65); }
.form-submit svg { width: 1em; height: 1em; transition: transform var(--dur) var(--ease); }
.form-submit:hover svg { transform: translateX(3px); }
.form-submit[disabled] { opacity: .55; cursor: wait; transform: none; }

.field-error { font-size: var(--fs-xs); color: #C9302C; }
.form-message { font-size: var(--fs-sm); border-radius: var(--r-md); padding: .85rem 1.1rem; }
.form-message[data-state="success"] { background: rgba(112,191,68,.12); color: var(--green-deep); border: 1px solid rgba(112,191,68,.35); }
.form-message[data-state="error"] { background: rgba(217,83,79,.09); color: #A33430; border: 1px solid rgba(217,83,79,.3); }
[hidden] { display: none !important; }

/* ==========================================================================
   14. BLOG
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.post-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.post-card figure { margin: 0; overflow: hidden; aspect-ratio: 16 / 10; }
.post-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.post-card:hover img { transform: scale(1.05); }
.post-card-body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); flex: 1 1 auto; }
.post-meta { font-size: var(--fs-xs); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.post-card h3 { font-size: var(--fs-h4); }
.post-card p { font-size: var(--fs-sm); }
.post-card .link-arrow { margin-top: auto; padding-top: var(--s-2); }

.post-featured { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: var(--surface); margin-bottom: var(--s-6); }
.post-featured figure { margin: 0; aspect-ratio: 16 / 11; overflow: hidden; }
.post-featured img { width: 100%; height: 100%; object-fit: cover; }
.post-featured-body { padding: clamp(1.5rem, 1rem + 2vw, 3rem); display: flex; flex-direction: column; justify-content: center; gap: var(--s-4); }

/* article */
.article { max-width: 720px; margin-inline: auto; }
.article > * + * { margin-top: var(--s-5); }
.article p { font-size: 1.0625rem; line-height: 1.8; }
.article h2 { font-size: var(--fs-h2); margin-top: var(--s-9); }
.article h3 { font-size: var(--fs-h3); margin-top: var(--s-8); }
.article img { border-radius: var(--r-lg); margin-block: var(--s-7); box-shadow: var(--sh-sm); }
.article li { font-size: 1.0625rem; line-height: 1.8; padding-left: var(--s-5); position: relative; }
.article li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.article ul { display: grid; gap: var(--s-3); }
.article a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }

.article-hero { aspect-ratio: 21 / 9; overflow: hidden; border-radius: var(--r-xl); box-shadow: var(--sh-md); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   15. FOOTER
   ========================================================================== */
.site-footer { background: var(--navy-ink); color: rgba(255,255,255,.62); padding-block: var(--s-10) var(--s-6); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: clamp(2rem, 1rem + 3vw, 4rem); }
.site-footer h4 { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: var(--s-4); }
.site-footer a:hover { color: var(--green-bright); }
.footer-brand img { width: 160px; margin-bottom: var(--s-5); }
.footer-brand p { font-size: var(--fs-sm); max-width: 42ch; }
.footer-links { display: grid; gap: var(--s-3); font-size: var(--fs-sm); }
.footer-contact { display: grid; gap: var(--s-3); font-size: var(--fs-sm); }

.social { display: flex; gap: var(--s-2); margin-top: var(--s-6); }
.social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.07); color: #fff;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.social a:hover { background: var(--grad-brand); color: #fff; transform: translateY(-2px); }
.social svg { width: 15px; height: 15px; fill: currentColor; }

.footer-bottom {
  margin-top: var(--s-9); padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: space-between;
  font-size: var(--fs-xs);
}

/* ==========================================================================
   16. MOTION
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ==========================================================================
   17. ACCESSIBILITY
   ========================================================================== */
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--navy); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 var(--r-md) 0; }
.skip-link:focus { left: 0; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ==========================================================================
   18. RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .bento > * { grid-column: span 6 !important; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .tst-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-md);
    max-height: 0; overflow: hidden; margin-left: 0;
    transition: max-height var(--dur) var(--ease);
  }
  .nav.is-open { max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: var(--s-4) var(--gutter) var(--s-6); }
  .nav > ul > li > a, .nav .nav-trigger { width: 100%; justify-content: space-between; padding: .85rem 0; border-radius: 0; }
  .mega {
    position: static; transform: none; width: 100%;
    opacity: 1; visibility: visible; pointer-events: auto;
    border: 0; box-shadow: none; padding: 0 0 var(--s-3) var(--s-4);
    grid-template-columns: 1fr; gap: 0;
    display: none;
  }
  /* the open-state rule is more specific than `.mega`, so it must clear the
     desktop centring transform itself or the panel slides off-screen left */
  .has-mega:hover .mega { display: none; }
  .has-mega.is-open .mega {
    display: grid;
    transform: none;
    left: auto; top: auto;
    opacity: 1; visibility: visible;
  }
  .mega-item { padding: var(--s-3) 0; }

  .hero-grid, .split, .contact-grid, .post-featured { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .hero-card { position: static; margin-top: var(--s-4); }
  .hero-blob--1 { width: 40%; right: -14%; }
}

/* --- testimonials: six stacked cards ran 3.8 screens on phones and 1.8 on
   tablets. A swipeable, snapping row keeps all six but costs ~1 screen. --- */
@media (max-width: 960px) {
  .tst-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 46%;
    gap: var(--s-4);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: var(--s-2);
    /* bleed to the screen edges so the next card peeks in */
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }
  .tst-grid::-webkit-scrollbar { display: none; }
  .tst { scroll-snap-align: center; height: 100%; }
}

@media (max-width: 640px) {
  /* --- tighter rhythm: the page was ~12 screens tall, mostly section padding
     and stacked cards. This pulls it back without shrinking type. --- */
  :root { --section-y: clamp(2.25rem, 1.25rem + 4vw, 3.25rem); }

  .bento > * { grid-column: span 12 !important; }
  .post-grid, .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .split-media--stack { grid-template-columns: 1fr; }
  .split-media--stack img:last-child { margin-top: 0; }

  /* two-up rather than four stacked — same content, ~400px less scrolling */
  .stats { grid-template-columns: 1fr 1fr; gap: var(--s-3); }
  .stat { padding: var(--s-5) var(--s-3); }

  /* --- centre the things that read better centred on a narrow screen --- */
  .hero-copy, .split-copy, .cta-copy, .page-hero { text-align: center; }
  .hero-copy .lead, .split-copy .lead, .hero h1, .split-copy h2 { margin-inline: auto; }
  .hero h1 { max-width: none; }
  .btn-row { justify-content: center; }
  .cta-copy, .split-copy, .intro-copy { align-items: center; }
  .hero-proof { justify-content: center; text-align: center; }
  .form-submit { justify-self: center; }

  /* full-width buttons are the mobile norm and give a bigger tap target */
  .btn-row .btn { width: 100%; max-width: 340px; }

  /* lists still read left-aligned even inside a centred block */
  .checks { text-align: left; max-width: 340px; margin-inline: auto; }
  .checks li { text-align: left; }

  /* --- cards: trim the generous desktop padding --- */
  .card, .tst { padding: var(--s-5); gap: var(--s-2); }
  .card-icon { width: 48px; height: 48px; }
  .feature-card { padding: var(--s-5); }

  .tst-grid { grid-auto-columns: 84%; }
  .tst-quote-text { -webkit-line-clamp: 6; }

  /* --- contact band --- */
  .info-list { gap: var(--s-3); margin-top: var(--s-5); }
  .form-card { padding: var(--s-5); }
}

/* --- tap targets: 6px-tall dots are impossible to hit accurately. Keep the
   bar the same size visually, but grow the hit area to ~38-44px. --- */
@media (hover: none), (max-width: 960px) {
  /* content-box keeps the visible bar at its designed size while the padding
     grows the touch target to ~40x38 */
  .work-dots button {
    width: 40px; height: 38px;
    padding: 16px 5px;
    background-clip: content-box;
  }
  .work-dots button[aria-current="true"] { width: 62px; }
  .work-play { padding: .7rem .8rem; }
  .work-btn { width: 46px; height: 46px; }
  .tst-more { display: inline-flex; align-items: center; min-height: 40px; }
}
