/* WIREFRAME: grayscale, system fonts, boxes for images. Swap in brand styling after structure is approved. */
:root { --accent:#00A588; --accent-dark:#008c74; --accent-2:#0060E4; --ink:#222; --mid:#666; --line:#bbb; --fill:#eee; --paper:#fff; --max:1040px; --font:"Helvetica Neue", Helvetica, Arial, sans-serif; }
* { box-sizing: border-box; }
body { margin:0; font:17px/1.55 var(--font); color:var(--ink); background:var(--paper); }
button { font-family:inherit; }
img { max-width:100%; display:block; }
a { color:inherit; }
.wrap { max-width:none; margin:0 auto; padding:0 clamp(24px, 4vw, 56px); }
/* Full-screen sections that snap into place as you scroll. Taller sections still scroll freely inside. */
html { scroll-snap-type:y mandatory; scroll-padding-top:64px; scroll-behavior:smooth; }
section { min-height:calc(100vh - 64px); min-height:calc(100svh - 64px); display:flex; align-items:center; padding:72px 0; position:relative; scroll-snap-align:start; scroll-snap-stop:always; }
section > .wrap { width:100%; }
.last { min-height:calc(100vh - 64px); min-height:calc(100svh - 64px); display:flex; flex-direction:column; scroll-snap-align:start; }
.last section { flex:1; min-height:0; scroll-snap-align:none; }
@media (prefers-reduced-motion: reduce) { html { scroll-snap-type:none; scroll-behavior:auto; } }
h1, h2, h3 { font-weight:400; line-height:1.15; margin:0 0 16px; }
h1 { font-size:clamp(34px, 6vw, 58px); letter-spacing:-.02em; }
h2 { font-size:clamp(26px, 4vw, 38px); letter-spacing:-.01em; }
h3 { font-size:20px; }
p { margin:0 0 16px; }
.eyebrow { font:600 13px/1 var(--font); text-transform:uppercase; letter-spacing:.08em; color:var(--mid); margin-bottom:14px; }
.lede { font-size:20px; color:var(--mid); max-width:60ch; }
.center { text-align:center; }
.center .lede { margin-inline:auto; }
.btn { display:inline-block; padding:15px 29px; border:1px solid var(--ink); background:transparent; color:var(--ink); text-decoration:none; font-weight:600; border-radius:4px; }
.btn:hover { background:var(--fill); border-color:var(--ink); }
.ph { background:var(--fill); border:1px solid var(--line); display:grid; place-items:center; color:var(--mid); font:13px var(--font); text-align:center; padding:12px;
      background-image:linear-gradient(to top right, transparent calc(50% - 1px), var(--line), transparent calc(50% + 1px)), linear-gradient(to bottom right, transparent calc(50% - 1px), var(--line), transparent calc(50% + 1px)); }
.ph span { background:var(--fill); padding:2px 8px; }
.grid { display:grid; gap:24px; }
.g2 { grid-template-columns:repeat(2, 1fr); }
.g3 { grid-template-columns:repeat(3, 1fr); }
.g4 { grid-template-columns:repeat(4, 1fr); }
.card { border:1px solid var(--line); border-radius:6px; padding:24px; background:var(--paper); }
.card p:last-child { margin-bottom:0; }
.note { font:12px/1.4 var(--font); color:var(--mid); margin-top:12px; }
.shade { background:#f7f7f7; }

/* nav */
nav.top { position:sticky; top:0; z-index:5; margin-bottom:-65px; background:rgba(255,255,255,.55); -webkit-backdrop-filter:blur(18px) saturate(180%); backdrop-filter:blur(18px) saturate(180%); border-bottom:1px solid rgba(255,255,255,.35); transition:background .3s ease, border-color .3s ease, color .3s ease; }
nav.top ~ section:first-of-type { min-height:100vh; min-height:100svh; padding-top:136px; }
/* over the colourful hero: clear tinted glass with white type */
nav.top.on-hero { background:rgba(255,255,255,.12); border-bottom-color:rgba(255,255,255,.25); color:#fff; }
nav.top.on-hero .links a { color:#fff; }
nav.top.on-hero .logo img { filter:brightness(0) invert(1); }
nav.top.on-hero .nav-cta { background:transparent; border-color:#fff; color:#fff; }
nav.top.on-hero .nav-cta:hover { background:rgba(255,255,255,.18); border-color:#fff; }
nav.top.on-hero .menu-btn span { background:#fff; }
nav.top .wrap { max-width:none; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; height:64px; gap:16px; }
nav.top .links { display:flex; gap:32px; align-items:center; }
nav.top .links a { text-decoration:none; font-size:15px; }
nav.top .logo { justify-self:start; }
nav.top .nav-cta { justify-self:end; padding:6px 14px; font-size:14px; }
.logo { display:inline-block; line-height:0; }
.logo img { height:40px; width:auto; }

/* hero */
/* split layout: headline on the left, visuals + details on the right */
.split { display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:72px; align-items:start; }
.split-right > * + * { margin-top:16px; }
.hero .split-left { max-width:560px; justify-self:center; text-align:left; }
.hero .actions { margin-top:32px; display:flex; gap:12px; flex-wrap:wrap; }
/* image fills the right half of the hero edge to edge: touches the top, right, and bottom of the section */
.hero-carousel { position:absolute; top:0; right:0; bottom:0; width:50%; overflow:hidden; border-left:1px solid var(--line); }
/* Slides are stacked. The new one fades in over the old one, which stays put until the fade finishes, so the background never shows through. */
.hero-slide { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; display:grid; border:0; opacity:0; z-index:0; transition:opacity 0s 1s; }
.hero-slide.active { opacity:1; z-index:1; transition:opacity 1s ease; }
@media (prefers-reduced-motion: reduce) { .hero-slide, .hero-slide.active { transition:none; } }

/* problem */
.pain { gap:12px; }
.pain .card { display:grid; grid-template-columns:auto 1fr; column-gap:20px; padding:36px 24px; }
.pain .num { grid-row:1 / span 2; font:700 96px/1 var(--font); letter-spacing:-.04em; color:var(--line); padding-top:0; align-self:center; min-width:2ch; }
.pain h3 { margin-bottom:6px; }

/* process */
.steps { gap:12px; }
.step { display:grid; grid-template-columns:auto 1fr; column-gap:20px; padding:36px 24px; }
.step .num { grid-row:1 / span 2; font:700 96px/1 var(--font); letter-spacing:-.04em; color:var(--line); align-self:center; min-width:2ch; }
.step h3 { margin-bottom:6px; }

/* services list: two columns of rows separated by thin rules */
.svc-cols { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); column-gap:32px; align-items:start; }
.svc-list { list-style:none; margin:0; padding:0; }
.svc-list li { padding:10px 0; font-size:16px; line-height:1.3; }
.svc-list li + li { border-top:1px solid var(--ink); }

/* values: large words with a + that opens a short description */
.vals { border-bottom:1px solid var(--ink); }
.val + .val { border-top:1px solid var(--ink); }
.val summary { list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:22px 0; }
.val summary::-webkit-details-marker { display:none; }
.val-name { font-size:clamp(28px, 3.6vw, 46px); line-height:1.1; letter-spacing:-.01em; }
.val-icon { position:relative; flex:none; width:16px; height:16px; transition:transform .3s ease; }
.val-icon::before, .val-icon::after { content:""; position:absolute; background:var(--ink); }
.val-icon::before { left:0; right:0; top:7px; height:2px; }
.val-icon::after { top:0; bottom:0; left:7px; width:2px; }
.val[open] .val-icon { transform:rotate(45deg); }
.val-body { margin:0; padding:0 40px 26px 0; max-width:52ch; color:var(--mid); font-size:18px; animation:val-in .35s ease; }
@keyframes val-in { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce) { .val-icon { transition:none; } .val-body { animation:none; } }

/* packages */
/* packages as a table: label column on the left, one column per package, edge to edge and the full height of the screen */
#packages { padding:0; align-items:stretch; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
#packages > .wrap { padding:0; }
.pkg-table { width:100%; height:calc(100vh - 64px); height:calc(100svh - 64px); border-collapse:collapse; table-layout:fixed; }
.pkg-table th, .pkg-table td { padding:16px clamp(16px, 2.5vw, 40px); text-align:left; vertical-align:top; font-weight:400; border-top:1px solid var(--line); }
.pkg-table th:first-child { width:22%; color:#000; font-weight:500; font-size:15px; }
.pkg-table td, .pkg-table thead th + th { border-left:1px solid var(--line); }
.pkg-table td { font-size:15px; line-height:1.3; }
.pkg-table thead th { border-top:0; vertical-align:bottom; padding-top:40px; padding-bottom:28px; }
.pkg-table thead .eyebrow { margin-bottom:10px; }
.pkg-table thead th { position:sticky; top:65px; z-index:2; background:var(--paper); box-shadow:inset 0 -1px 0 var(--line); }
.pkg-table thead th.featured { background:var(--fill); }
.pkg-name { display:block; font-size:clamp(20px, 2.2vw, 28px); line-height:1.15; }
.pkg-table .featured { background:var(--fill); }
.pkg-table tbody tr:first-child > * { border-top:0; }
.pkg-table tr.group-start > * { border-top:2px solid var(--line); }
.br-sm { display:none; }
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.price { font-size:28px; font-weight:700; margin:8px 0 16px; }
.card ul { padding-left:20px; margin:0 0 16px; }
.card li { margin-bottom:6px; }

/* work */
.work { gap:16px; }
.work > div { display:grid; grid-template-columns:minmax(0, 220px) 1fr; column-gap:24px; align-items:center; }
.work .ph { grid-row:1 / span 2; aspect-ratio:4/3; }
.work h3 { margin-bottom:4px; align-self:end; }
.work .note { align-self:start; }

/* testimonial */
.t-quotes { display:grid; }
/* quotes: the old one fades out, then the new one fades in and rises slightly */
.t-quotes .quote { grid-area:1 / 1; margin:0; visibility:hidden; opacity:0; transform:translateY(10px); transition:opacity .3s ease, transform .3s ease, visibility 0s .3s; }
.t-quotes .quote.active { visibility:visible; opacity:1; transform:none; transition:opacity .5s ease .3s, transform .5s ease .3s, visibility 0s .3s; }
.t-nav { display:flex; align-items:center; gap:16px; margin-top:32px; }
.t-btn { width:44px; height:44px; border:1px solid var(--ink); background:transparent; border-radius:50%; display:grid; place-items:center; padding:0; cursor:pointer; color:var(--ink); }
.t-btn:hover { background:var(--fill); }
.t-dots { display:flex; align-items:center; gap:10px; }
.t-dot { position:relative; overflow:hidden; width:12px; height:12px; padding:0; border-radius:50%; border:2px solid var(--ink); background:transparent; cursor:pointer; }
/* the active dot is filled in */
.t-dot.active { background:var(--ink); }
@media (prefers-reduced-motion: reduce) { .t-quotes .quote, .t-quotes .quote.active, .quote-photo, .quote-photo.active { transition:none; } }
.disclaimer { margin:24px 0 0; font-size:13px; line-height:1.5; color:var(--mid); }
.outcome { margin:20px 0 0; padding-top:16px; border-top:1px solid var(--line); }
.outcome-label { display:block; font:600 13px/1 var(--font); text-transform:uppercase; letter-spacing:.08em; color:var(--mid); margin-bottom:8px; }
.quote blockquote { margin:0 0 20px; font-size:clamp(18px, 2vw, 24px); line-height:1.4; }
/* same treatment as the hero and about: fills the right half edge to edge, touching the top, right, and bottom of the section */
.quote-photo { position:absolute; top:0; right:0; bottom:0; width:50%; height:100%; object-fit:cover; object-position:center top; display:block; opacity:0; visibility:hidden; z-index:0; transition:opacity 0s .7s, visibility 0s .7s; }
.split-right > .quote-photo { margin:0; } /* the 2nd and 3rd photos were inheriting the 16px sibling margin, pushing them down and past the bottom edge */
/* photos: the new one fades in on top of the old one, which stays put underneath until the fade finishes (no dip to the background) */
.quote-photo.active { opacity:1; visibility:visible; z-index:1; transition:opacity .7s ease, visibility 0s; }
.ph.quote-photo { display:grid; border-width:0 0 0 1px; }
/* client stories: photo on the left half, text on the right */
#testimonials .quote-photo { right:auto; left:0; }
#testimonials .split-left { grid-column:2; }

/* about */
/* same treatment as the hero: fills the right half edge to edge, touching the top, right, and bottom of the section */
#about .split-left { max-width:560px; justify-self:center; text-align:left; }
.about-photo { position:absolute; top:0; right:0; bottom:0; width:50%; height:100%; object-fit:cover; object-position:center top; display:block; }
.about-quals { padding-left:20px; color:var(--mid); }

/* cta + footer */
footer { padding:40px 0; color:var(--mid); font-size:14px; }
footer .wrap { display:flex; justify-content:space-between; flex-wrap:wrap; gap:16px; }
footer nav a { margin-right:20px; }

@media (max-width: 800px) {
  section { padding:64px 0; }
  .g2, .g3, .g4, .split, .work > div, .svc-cols { grid-template-columns:1fr; }
  .pkg-table { height:auto; }
  .pkg-table th:first-child { width:92px; font-size:13px; }
  .pkg-table th, .pkg-table td { padding:14px 10px; }
  .pkg-table thead th { padding-top:24px; padding-bottom:16px; }
  .pkg-table td, .pkg-table .out-list { font-size:14px; }
  .pkg-table .out-list { gap:6px; }
  .svc-list + .svc-list li:first-child { border-top:1px solid var(--ink); }
  .quote-photo { position:static; width:100%; height:auto; aspect-ratio:4/5; max-height:60vh; }
  .ph.quote-photo { border-width:1px; }
  #testimonials .split-right { display:grid; }
  #testimonials .split-left { grid-column:auto; }
  #testimonials .quote-photo { grid-area:1 / 1; }
  .work .ph { grid-row:auto; }
  .split { gap:32px; }
  .hero-carousel { position:relative; width:100%; aspect-ratio:4/5; max-height:60vh; border-left:0; }
  .about-photo { position:static; width:100%; height:auto; aspect-ratio:4/5; max-height:60vh; }
  nav.top .links { display:none; }
  .br-lg { display:none; }
  .br-sm { display:inline; }
}

.row-sub { display:block; margin-top:4px; font-size:13px; line-height:1.3; }
.pkg-table td .row-sub { color:var(--mid); }
.pkg-table th .row-sub { font-weight:400; }
.out-list { list-style:none; margin:0; padding:0; display:grid; gap:8px; font-size:15px; line-height:1.3; }

/* current page in the header */
nav.top .links a[aria-current="page"] { text-decoration:underline; text-underline-offset:6px; text-decoration-thickness:1px; }

#contact .split-left { max-width:560px; justify-self:center; text-align:left; }
#contact .split-left { max-width:none; justify-self:stretch; text-align:left; }
.contact-list { list-style:none; margin:0; padding:0; border-bottom:1px solid var(--ink); }
.contact-list li { border-top:1px solid var(--ink); }
.contact-list a { display:grid; grid-template-columns:1fr auto; column-gap:24px; align-items:center; padding:28px 0; text-decoration:none; }
.contact-list svg { grid-column:2; grid-row:1 / span 2; transition:transform .25s ease; }
.contact-list a:hover svg { transform:translateX(6px); }
.c-label { font-size:clamp(28px, 3.6vw, 46px); line-height:1.1; letter-spacing:-.01em; }
.c-detail { grid-column:1; margin-top:6px; color:var(--mid); }
@media (prefers-reduced-motion: reduce) { .contact-list svg { transition:none; } }

/* intro statement: a single centered line of large text */
.statement { max-width:26em; margin:0 auto; text-align:center; font-size:clamp(26px, 3.8vw, 46px); line-height:1.25; letter-spacing:-.01em; }

.statement-lead { display:block; }
/* rolodex: all phrases share one grid cell so the box stays as tall as the longest one; the old phrase slides up and out while the new one rises in */
.roll { display:grid; overflow:hidden; padding-bottom:.12em; }
.roll-item { grid-area:1 / 1; opacity:0; transform:translateY(70%); transition:opacity .6s ease, transform .6s ease; }
.roll-item.active { opacity:1; transform:none; }
.roll-item.out { opacity:0; transform:translateY(-70%); }
@media (prefers-reduced-motion: reduce) { .roll-item { transition:none; } }
.statement-eyebrow { text-align:center; margin-bottom:24px; line-height:1.2; }
.statement-actions { margin-top:32px; display:flex; gap:12px; flex-wrap:wrap; justify-content:center; }

/* before / after: two split sections, text on one side and a photo filling the other half edge to edge (flipped for "after") */
.ba-list { list-style:none; margin:24px 0 0; padding:0; display:grid; gap:12px; }
.ba-list li { line-height:1.35; padding:16px 20px; border:1px solid var(--line); border-radius:6px; background:var(--paper); }
#after-state .ba-list li { background:#f7f7f7; }
#who > .wrap, #after-state > .wrap { padding:0; gap:0; }
#who .split-left, #after-state .split-left { justify-self:center; width:calc(100% - 48px); max-width:560px; }
.ba-photo { position:absolute; top:0; right:0; bottom:0; width:50%; height:100%; object-fit:cover; display:block; }
#who .ba-photo { object-position:50% 40%; }
#after-state .ba-photo { object-position:50% 30%; }
.ba-flip .ba-photo { right:auto; left:0; }
.ba-flip .split-left { grid-column:2; }
@media (max-width: 800px) {
  .ba-photo, .ba-flip .ba-photo { position:static; width:100%; height:auto; aspect-ratio:4/5; max-height:60vh; }
  .ba-flip .split-left { grid-column:auto; }
}

/* services page */
.svc-grid { margin-top:32px; }
.svc .num { font:700 40px/1 var(--font); letter-spacing:-.04em; color:var(--line); margin-bottom:16px; }
.svc h3 { margin:0 0 8px; }
.svc p { margin:0; color:var(--mid); }
.pkg-table .dash { color:var(--mid); }

/* hero logo (home) */
.hero-logo { display:block; height:56px; width:auto; margin:0 auto 24px; }

/* mobile menu: the nav CTA sits beside the hamburger; the menu also keeps its own CTA at the bottom */
.menu-btn, .mobile-menu { display:none; }
@media (max-width: 800px) {
  nav.top .wrap { grid-template-columns:1fr auto auto; gap:8px; }
  nav.top .nav-cta { grid-column:2; width:auto; padding:6px 14px; }
  .menu-btn { display:flex; flex-direction:column; justify-content:center; align-items:center; gap:6px; width:44px; height:44px; padding:0; justify-self:end; grid-column:3; background:none; border:0; cursor:pointer; }
  .menu-btn span { display:block; width:18px; height:2px; background:var(--accent); transition:transform .2s ease; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform:translateY(4px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { transform:translateY(-4px) rotate(-45deg); }
  .mobile-menu:not([hidden]) { display:flex; flex-direction:column; gap:4px; padding:8px 24px 24px; background:rgba(255,255,255,.8); -webkit-backdrop-filter:blur(18px) saturate(180%); backdrop-filter:blur(18px) saturate(180%); border-top:1px solid var(--line); }
  .mobile-menu a:not(.btn) { padding:14px 0; font-size:18px; text-decoration:none; border-bottom:1px solid var(--line); }
  .mobile-menu a[aria-current="page"] { text-decoration:underline; text-underline-offset:6px; text-decoration-thickness:1px; }
  .mobile-menu .btn { margin-top:16px; text-align:center; }
}
@media (prefers-reduced-motion: reduce) { .menu-btn span { transition:none; } }

/* phones: no snapping and no forced full-screen sections; sections fit their content */
@media (max-width: 800px) {
  html { scroll-snap-type:none; scroll-behavior:auto; }
  section, .last { min-height:0; scroll-snap-align:none; scroll-snap-stop:normal; }
  .last section { flex:none; }
  .hero-logo { height:44px; }
}

/* phones: shorter, squarer photos so they don't fill the whole screen */
@media (max-width: 800px) {
  .ba-photo, .ba-flip .ba-photo, .quote-photo, .about-photo, .hero-carousel { aspect-ratio:1/1; max-height:46vh; }
}

/* phones: breathing room between the before/after lists and their photos; photo sits flush with the section bottom */
@media (max-width: 800px) {
  #who, #after-state { padding-bottom:0; }
  #who .split-left, #after-state .split-left { padding-bottom:40px; }
  .split { gap:40px; }
}

/* phones: home hero fills 80% of the screen, buttons span the full width */
@media (max-width: 800px) {
  #intro { min-height:80vh; min-height:80svh; }
  #intro .statement-actions { flex-direction:column; align-items:stretch; }
  #intro .statement-actions .btn { width:100%; text-align:center; }
}

/* phones: all buttons span the full width */
@media (max-width: 800px) {
  .btn { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; box-sizing:border-box; text-align:center; }
}

/* home hero: two-colour mesh gradient (green + blue), white type, organic blobs drifting and blending */
#intro { background:linear-gradient(135deg, #00A588 0%, #0060E4 100%); color:#fff; overflow:hidden; isolation:isolate; }
#intro > .wrap { position:relative; z-index:1; }
#intro .hero-logo { filter:brightness(0) invert(1); }
#intro .eyebrow { color:#fff; }
.blobs { position:absolute; inset:0; z-index:0; pointer-events:none; }
.blob { position:absolute; width:46vmax; height:46vmax; filter:blur(70px); will-change:transform, border-radius; }
.blob-1 { background:#00A588; top:-14%; left:-10%; animation:drift-1 22s ease-in-out infinite alternate, morph-1 14s ease-in-out infinite alternate; }
.blob-2 { background:#0060E4; bottom:-18%; right:-12%; animation:drift-2 26s ease-in-out infinite alternate, morph-2 17s ease-in-out infinite alternate; }
.blob-3 { background:#00A588; width:30vmax; height:30vmax; bottom:-6%; left:30%; animation:drift-3 19s ease-in-out infinite alternate, morph-1 11s ease-in-out infinite alternate-reverse; }
.blob-4 { background:#0060E4; width:26vmax; height:26vmax; top:-8%; right:22%; animation:drift-1 24s ease-in-out infinite alternate-reverse, morph-2 13s ease-in-out infinite alternate; }
@keyframes morph-1 { 0% { border-radius:62% 38% 55% 45% / 48% 60% 40% 52%; } 50% { border-radius:40% 60% 38% 62% / 58% 42% 58% 42%; } 100% { border-radius:55% 45% 63% 37% / 40% 55% 45% 60%; } }
@keyframes morph-2 { 0% { border-radius:45% 55% 40% 60% / 55% 40% 60% 45%; } 50% { border-radius:60% 40% 58% 42% / 42% 58% 42% 58%; } 100% { border-radius:38% 62% 47% 53% / 62% 45% 55% 38%; } }
@keyframes drift-1 { 0% { transform:translate(0,0) rotate(0deg) scale(1); } 33% { transform:translate(18vw,10vh) rotate(60deg) scale(1.12); } 66% { transform:translate(8vw,24vh) rotate(130deg) scale(.94); } 100% { transform:translate(26vw,6vh) rotate(200deg) scale(1.08); } }
@keyframes drift-2 { 0% { transform:translate(0,0) rotate(0deg) scale(1); } 33% { transform:translate(-20vw,-12vh) rotate(-50deg) scale(1.1); } 66% { transform:translate(-8vw,-26vh) rotate(-120deg) scale(.92); } 100% { transform:translate(-28vw,-8vh) rotate(-180deg) scale(1.06); } }
@keyframes drift-3 { 0% { transform:translate(0,0) rotate(0deg); } 50% { transform:translate(-22vw,-14vh) rotate(90deg) scale(1.15); } 100% { transform:translate(16vw,-20vh) rotate(180deg) scale(.9); } }
@media (max-width: 800px) {
  .blob { width:90vmin; height:90vmin; filter:blur(50px); }
  .blob-3, .blob-4 { display:none; }
}
#intro .btn { background:transparent; border-color:#fff; color:#fff; }
#intro .btn:hover { background:rgba(255,255,255,.18); border-color:#fff; }
@media (prefers-reduced-motion: reduce) { .blob { animation:none; } }

/* closing CTA on home / services / about: one centred block instead of two columns */
.final .split { grid-template-columns:1fr; gap:0; max-width:720px; margin:0 auto; text-align:center; justify-items:center; }
.final .split-right > * + * { margin-top:20px; }
.final .lede { font-size:17px; }
.final h2 { margin-bottom:12px; }

/* phones: before/after order is header, then a short photo, then the cards */
@media (max-width: 800px) {
  #who, #after-state { padding:0 0 64px; }
  #who .split, #after-state .split { gap:0; }
  #who .split-left, #after-state .split-left { display:contents; padding-bottom:0; }
  #who .eyebrow, #who h2, #who .ba-list,
  #after-state .eyebrow, #after-state h2, #after-state .ba-list { width:calc(100% - 48px); max-width:560px; justify-self:center; }
  #who .eyebrow, #after-state .eyebrow, #who h2, #after-state h2 { order:1; }
  #who .ba-photo, #after-state .ba-photo { order:0; margin:0 0 28px; aspect-ratio:2/1; max-height:none; }
  #who .ba-list, #after-state .ba-list { order:3; margin-top:0; }
}

/* phones: smaller step numbers in the guide cards */
@media (max-width: 800px) {
  .step { column-gap:16px; padding:28px 20px; }
  .step .num { font-size:56px; align-self:start; }
  #approach .lede { font-size:16px; line-height:1.5; }
}

/* phones: client photo sits above the quote, about half as tall */
@media (max-width: 800px) {
  #testimonials .split-right { order:-1; }
  .quote blockquote { font-size:16px; line-height:1.45; }
  .outcome { font-size:14px; line-height:1.4; }
  #testimonials .quote-photo { aspect-ratio:3/2; max-height:none; object-position:center center; }
}

/* phones: the client's title and industry become one caption line under the photo */
.photo-cap { display:none; }
@media (max-width: 800px) {
  .t-quotes .who { display:none; }
  #testimonials .photo-cap { display:block; grid-area:2 / 1; margin:0; padding:10px 24px 0; font-size:13px; line-height:1.3; color:var(--mid); text-align:center; visibility:hidden; }
  #testimonials .photo-cap.active { visibility:visible; }
  #testimonials .cap-industry { color:#000; font-weight:500; }
}
