
/* ============================================================
   CONCEPT B "CHAPTERS"
   Thesis: the current homepage hides four of its five messages
   behind a five-second timer. Nothing here rotates. Every service
   is a card the reader can see at once and choose from, and the
   only photograph that takes the full frame is the hero.
   Palette: one committed dark theme. The brand red lifted just
   enough to stay legible on near-black, never below its own
   contrast floor. Shape: pill controls over 24px surfaces,
   matched to the Daylight comp.
   ============================================================ */

:root{
  --ground:    #141316;
  --ground-2:  #1b191d;
  --ground-3:  #221f24;
  --text:      #e8e6e3;   /* 14.86:1 on ground */
  --muted:     #a29d99;   /*  6.89:1 on ground */
  --red:       #e8232a;   /*  4.15:1  display type and graphics only */
  --red-text:  #ef4a4a;   /*  5.07:1  small text and links */
  --red-btn:   #c41216;   /*  6.10:1  with white label */
  --line:      #353136;
  --line-2:    #4a4549;
  --plate:     #f2f1ef;   /* logo plates only: brand marks keep their own colours */
  /* shape scale, matched to Daylight: pill controls, 24px surfaces */
  --r-lg: 24px;
  --r-md: 20px;
  --r-sm: 12px;
  --r-pill: 999px;

  --band: clamp(72px, 8vw, 130px);
  --gutter: clamp(20px, 4vw, 64px);
  --maxw: 1400px;
  color-scheme: dark;
}

*,*::before,*::after{ box-sizing:border-box; }

body{
  margin:0;
  background:var(--ground);
  color:var(--text);
  font-family:"Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  font-size:16.5px;
  line-height:1.62;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:"Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  margin:0; color:var(--text); font-weight:700;
  letter-spacing:-0.028em; line-height:1.04;
  font-variation-settings:"opsz" 72;
}
p{ margin:0; }
figure{ margin:0; }   /* the UA stylesheet gives figure a 40px side margin */
a{ color:inherit; }
img{ display:block; }

.tm{ font-size:0.4em; vertical-align:super; letter-spacing:0; font-weight:600; }

.wrap{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter); }
.band{ padding-block:var(--band); }

.eyebrow{
  font-family:"Instrument Sans",sans-serif; font-size:11.5px; font-weight:600;
  letter-spacing:0.2em; text-transform:uppercase; color:var(--red-text);
}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:"Instrument Sans",sans-serif; font-size:14.5px; font-weight:600;
  padding:15px 28px; border:1px solid transparent; border-radius:var(--r-pill);
  text-decoration:none; cursor:pointer; white-space:nowrap;
  transition:background-color .2s ease, color .2s ease, border-color .2s ease, transform .12s ease;
}
.btn--primary{ background:var(--red-btn); color:#fff; }
.btn--primary:hover{ background:#a30d11; }
.btn--ghost{ background:transparent; color:var(--text); border-color:var(--line-2); }
.btn--ghost:hover{ border-color:var(--text); background:rgba(255,255,255,.06); }
.btn:active{ transform:translateY(1px); }
.btn svg{ width:14px; height:14px; flex:none; }

a:focus-visible,button:focus-visible,[tabindex]:focus-visible{
  outline:2px solid var(--red-text); outline-offset:3px;
}

/* ============================================================
   UTILITY BAR + MASTHEAD
   ============================================================ */
.util{ background:#0d0c0f; color:var(--muted); font-size:13px; border-bottom:1px solid var(--line); }
.util__in{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:6px 22px; min-height:42px; padding-block:7px; }
.util a{ color:var(--text); text-decoration:none; }
.util a:hover{ color:var(--red-text); }
.util__phones{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.util__right{ display:flex; align-items:center; gap:18px; }
/* Plain text, not a button (client reverted the button on 2026-09-16), in red
   so it still reads as the primary action in the utility bar. Scoped as
   `.util .util__ref` because `.util a` above sets a light colour at equal
   specificity and, coming later, would otherwise win. */
.util .util__ref{
  font-size:12px; font-weight:700; letter-spacing:0.11em; text-transform:uppercase;
  color:var(--red-text); text-decoration:none;
}
.util .util__ref:hover{ color:#fff; }
/* Email Us beside the toll-free number, in red (client, 2026-09-25); scoped the
   same way as .util__ref, for the same reason */
.util .util__mail{ color:var(--red-text); font-weight:600; }
.util .util__mail:hover{ color:#fff; }
.util__social{ display:flex; gap:13px; }
.util__social a{ display:grid; place-items:center; width:22px; height:22px; color:var(--muted); }
.util__social a:hover{ color:var(--text); }
.util__social svg{ width:15px; height:15px; }

/* The masthead keeps a FIXED outer height. It used to shrink from 76px to 60px
   when .is-stuck was added, which removed 16px of document height, shortened
   the page, pushed the scroll offset back under the threshold, removed the
   class, restored the height... and oscillated every frame. The header appeared
   to vibrate and clipped the photo behind it (client, 2026-09-15). Only the
   INNER bar and the logo resize now, so the page height never changes. */
.masthead{ position:sticky; top:0; z-index:60; height:76px; background:rgba(20,19,22,.92); backdrop-filter:blur(14px); border-bottom:1px solid var(--line); transition:background-color .28s ease, box-shadow .28s ease; }
.masthead.is-stuck{ background:rgba(16,15,18,.97); backdrop-filter:blur(20px); box-shadow:0 14px 36px -24px rgba(0,0,0,.95); }
.masthead__in{ display:flex; align-items:center; justify-content:space-between; gap:26px; height:76px; transition:height .28s ease; }
.masthead.is-stuck .masthead__in{ height:60px; }
.brand{ flex:none; display:flex; align-items:center; }
.brand img{ height:36px; width:auto; transition:height .28s ease; }
.masthead.is-stuck .brand img{ height:30px; }

.nav{ display:flex; align-items:center; gap:clamp(9px,1.3vw,20px); }
.nav > a,.nav__top{ font-size:14.5px; font-weight:500; color:var(--text); text-decoration:none; padding:6px 0; position:relative; white-space:nowrap; }
.nav > a::after,.nav__top::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:2px; background:var(--red); transform:scaleX(0); transform-origin:left; transition:transform .2s ease; }
.nav > a:hover::after,.nav > a[aria-current="page"]::after,.nav__has:hover .nav__top::after,.nav__has:focus-within .nav__top::after,.nav__top[aria-current="page"]::after{ transform:scaleX(1); }
.nav > a[aria-current="page"],.nav__top[aria-current="page"]{ color:var(--red-text); }

/* ---- Services mega menu ----
   The group headings are labels, not links: they exist to reveal the pages
   beneath them, which is what the menu scheme specifies. */
.nav__has{ position:relative; }
.nav__top{ display:inline-flex; align-items:center; gap:6px; }
.nav__top svg{ width:11px; height:11px; transition:transform .2s ease; }
.nav__has:hover .nav__top svg,.nav__has:focus-within .nav__top svg{ transform:rotate(180deg); }
.nav__menu{
  position:absolute; top:calc(100% + 14px); left:50%; translate:-50% 0;
  background:var(--ground-2); border:1px solid var(--line); border-radius:var(--r-lg);
  box-shadow:0 30px 70px -32px rgba(0,0,0,.85);
  padding:clamp(20px,2vw,28px); width:min(740px,calc(100vw - 40px));
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px 26px;
  opacity:0; visibility:hidden; transform:translateY(-6px);
  transition:opacity .18s ease, transform .18s ease, visibility .18s;
  z-index:70;
}
.nav__has:hover .nav__menu,.nav__has:focus-within .nav__menu{ opacity:1; visibility:visible; transform:none; }
/* Clicking a link inside the menu marks the group dismissed, so the panel closes
   even though the pointer is still resting on it. Cleared on pointerleave, so
   hovering still opens it normally (client, 2026-09-16). */
.nav__has.is-dismissed .nav__menu{ opacity:0; visibility:hidden; pointer-events:none; }
.nav__group + .nav__group{ margin-top:18px; }
.lbl-n{ display:none; }
.nav__group--flat{ padding-top:0; }   /* its links are peers of the other columns' headings */
/* Group headings are accordion toggles, not labels: the children stay hidden
   until the heading is clicked, so the panel opens on a short list rather than
   sixteen services at once. They take the links' own colour and metrics - as
   controls they no longer need a label's distinguishing treatment, and the
   chevron carries the affordance (client, 2026-09-18). */
.nav__glabel{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  width:100%; font-family:inherit; font-size:14.5px; font-weight:500;
  letter-spacing:0; text-transform:none; text-align:left; color:var(--text);
  background:none; border:0; margin:0; padding:7px 12px;
  border-radius:var(--r-sm); cursor:pointer;
  transition:background-color .15s ease, color .15s ease;
}
button.nav__glabel{ background:none; border:0; margin:0; }
.nav__glabel:hover{ background:var(--ground-3); color:var(--red-text); }
.nav__glabel::after{
  content:''; flex:none; width:7px; height:7px; opacity:.6;
  border-right:2px solid currentColor; border-bottom:2px solid currentColor;
  transform:translateY(-2px) rotate(45deg); transition:transform .22s ease;
}
.nav__group.is-open > .nav__glabel::after{ transform:translateY(1px) rotate(-135deg); }
.nav__group:not(.nav__group--flat) > a{ display:none; padding-left:16px; }
.nav__group.is-open > a{ display:block; }

/* Services drops as a single column like the other menus rather than a three
   column board: with the groups collapsed it reads as ten rows, and the shape
   now matches About/Team/Careers instead of being the one exception. The extra
   class beats site-extra.css, which re-declares .nav__menu--one later
   (client, 2026-09-18). */
.nav__menu--one.nav__menu--svc{ width:min(340px,calc(100vw - 40px)); }
.nav__menu--svc .nav__panel{ gap:0; }
.nav__menu--svc .nav__group + .nav__group{ margin-top:0; }
.nav__menu--svc .nav__group:not(.nav__group--flat) > a{ padding-left:26px; }
/* a hairline runs down the children, as on the phone, so the grouping reads */
.nav__menu--svc .nav__group:not(.nav__group--flat).is-open{ position:relative; }
.nav__menu--svc .nav__group:not(.nav__group--flat).is-open::before{
  content:''; position:absolute; left:14px; top:34px; bottom:4px;
  width:1px; background:var(--line-2); opacity:.7;
}
.nav__menu a{ display:block; font-size:14.5px; font-weight:500; color:var(--text); text-decoration:none; padding:7px 12px; border-radius:var(--r-sm); transition:background-color .15s ease, color .15s ease; }
.nav__menu a::after{ display:none; }
.nav__menu a:hover{ background:var(--ground-3); color:var(--red-text); }
.nav__all{ grid-column:1 / -1; margin-top:4px; padding-top:16px; border-top:1px solid var(--line); }
.nav__all a{ color:var(--red-text); }

.navtoggle{ display:none; background:none; border:1px solid var(--line-2); border-radius:var(--r-pill); padding:10px 14px; cursor:pointer; }
.navtoggle span{ display:block; width:18px; height:2px; background:var(--text); }
.navtoggle span + span{ margin-top:4px; }

/* ============================================================
   HERO: one photograph, one promise
   ============================================================ */
/* grid, not flex: the caption is the only in-flow child, and grid keeps it
   full-width in every fallback below (flex would shrink-to-fit it) */
.hero{ position:relative; min-height:min(84dvh,760px); display:grid; align-content:end; overflow:hidden; background:var(--ground); }
/* Y is 20%, not 40% (client, 2026-09-23: his head was cut off on a 2560-wide
   monitor). The hero is capped at 760px tall but grows to the full width of the
   screen, so the WIDER the display the more extreme the box ratio and the more a
   2.04:1 photo must scale up to fill it -- all of the excess spilling off the top
   and bottom. Measured vertical overflow: 21px at 1440, 172px at 1920, 485px at
   2560. At the old 40% that hid 8px / 69px / 194px off the top respectively, so
   the fault only appears on large screens, which is why narrow test windows
   never caught it. 20% roughly halves it everywhere and is close to a no-op at
   1440. NOTE this value is INERT in portrait (no vertical overflow there) and
   unused in landscape, which swaps to .hero__img--land. */
.hero__img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:60% 20%; }
/* the landscape-phone crop, off everywhere except the orientation block below */
.hero__img--land{ display:none; }
/* ONE layer here, deliberately. This rule serves DESKTOP **and** LANDSCAPE PHONES
   (the landscape block does not override .hero::after -- it only swaps the image).
   DO NOT ADD THE BOTTOM-UP CONTRAST LAYER THAT PORTRAIT CARRIES. It was applied
   here on 2026-09-23 and REVERTED THE SAME DAY once measured: desktop and
   landscape DO NOT HAVE THE WHITE-JACKET CONTRAST FAULT. Measured background
   luminance behind the headline, white text against it:
     desktop 1440  p90 6.14:1   worst 1% 4.50:1
     desktop 2560  p90 13.47:1  worst 1% 5.55:1
     landscape     p90 9.99:1   worst 1% 6.03:1
   All clear of the WCAG AA 3:1 minimum for large text. The reason is GEOMETRY:
   on a wide hero the headline sits LEFT, over the dark kitchen, while the chef
   and his white jacket are right of it. Only PORTRAIT wraps the headline wide
   enough to cross the jacket, which is where the real 2.6:1 failure was -- so
   the extra layer lives in the portrait override further down and belongs only
   there. Adding it here more than HALVED the photo's brightness in the headline
   band (mean L 0.0396 -> 0.0167 at 1440) for no accessibility gain. */
.hero::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(105deg, rgba(20,19,22,.95) 0%, rgba(20,19,22,.86) 34%, rgba(20,19,22,.42) 64%, rgba(20,19,22,.30) 100%);
}
/* DESKTOP ONLY: the left side slightly lighter (client, 2026-10-31). The
   headline is large text (3:1 needed); the darkest 1% behind it measured 4.50:1
   at the old .95, so this easing keeps a wide margin. Landscape phones keep the
   rule above. */
@media (min-width:901px){
  .hero::after{ background:linear-gradient(105deg, rgba(20,19,22,.84) 0%, rgba(20,19,22,.75) 34%, rgba(20,19,22,.40) 64%, rgba(20,19,22,.30) 100%); }
}
.hero__in{ position:relative; z-index:1; width:100%; padding-block:clamp(48px,6vw,86px); }
.hero h1{ font-size:clamp(38px,5.6vw,80px); font-weight:800; letter-spacing:-0.04em; max-width:15ch; }
/* wide enough that "...throughout BC." stays on one line on desktop (client, 2026-09-13) */
.hero__sub{ margin-top:24px; font-size:clamp(17px,1.5vw,21px); color:#cfcac5; max-width:64ch; }
.hero__cta{ display:flex; flex-wrap:wrap; gap:12px; margin-top:36px; }

/* ============================================================
   INTRO: the paragraph gets room to be read
   ============================================================ */
/* the intro and the three routes now run together on one surface: the big
   picture panels that used to sit between them are gone, and a hairline plus
   two full bands of padding would leave a dead gap where they were. */
.intro{ background:var(--ground-2); border-top:1px solid var(--line); padding-bottom:clamp(44px,4.4vw,68px); }
/* two columns on the page grid. The paragraph used to sit in its own 960px
   block centred in the viewport, which pushed its left edge ~220px inside
   every other section on the page and left the right half of the band empty.
   The trademark line moves out of the hero eyebrow and becomes the heading
   it deserves, which is also how Daylight handles it. */
.intro__grid{ display:grid; grid-template-columns:minmax(0,0.58fr) minmax(0,1fr); gap:clamp(28px,4vw,80px); align-items:start; }
.intro h2{ font-size:clamp(27px,3vw,42px); max-width:11ch; }
/* the button belongs with the heading, not under the paragraph: in the right
   column it sat 509px inside the section's left edge with nothing beside it,
   while the left column stood empty below the heading. */
.intro__lead{ display:flex; flex-direction:column; align-items:flex-start; gap:clamp(26px,2.6vw,36px); }
.intro__copy{ font-size:clamp(17px,1.55vw,21px); line-height:1.6; color:var(--text); max-width:52ch; }
.intro a.inline{ color:var(--red-text); text-decoration:underline; text-underline-offset:4px; text-decoration-thickness:1px; }

/* ============================================================
   HOW WE HELP: the three routes into the practice
   ============================================================ */
.pillars{ background:var(--ground-2); border-bottom:1px solid var(--line); padding-top:clamp(44px,4.4vw,68px); }
.pillars .svc__head{ margin-bottom:clamp(26px,3vw,40px); }
/* one grid definition shared with the service tiles below, so the two
   sections sit on exactly the same three columns. Separated cards with a
   real gap and a rounded corner, matching the card treatment in Daylight. */
.grid3{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(18px,2vw,28px); }
.pillar{
  display:block; text-decoration:none; background:var(--ground-3);
  border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden;
  transition:transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, border-color .3s ease;
}
/* no :hover lift or zoom - these are not clickable (client, 2026-09-16) */
.pillar img{ width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; opacity:.82; }
.pillar__body{ padding:clamp(20px,2vw,26px) clamp(20px,2vw,26px) clamp(24px,2.3vw,30px); }
.pillar h3{ font-size:clamp(21px,2vw,27px); font-weight:700; line-height:1.12; }
.pillar h3 span{ display:block; font-weight:400; color:var(--muted); }
.pillar p{ margin-top:11px; color:var(--muted); font-size:15.5px; }

/* ============================================================
   OUR SERVICES: nine tiles, three rows of three, on the same
   three columns as the cards above so everything lines up
   ============================================================ */
.svc__head{ display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:22px; margin-bottom:clamp(26px,3vw,40px); }
.svc__head h2{ font-size:clamp(30px,3.4vw,48px); }
.card{
  position:relative; display:block; overflow:hidden; text-decoration:none; background:var(--ground-2);
  border:1px solid var(--line); border-radius:var(--r-lg);
  transition:transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, border-color .3s ease;
}
.card:hover{ transform:translateY(-4px); border-color:var(--line-2); box-shadow:0 22px 48px -26px rgba(0,0,0,.9); }
.card img{ width:100%; height:auto; aspect-ratio:16/10; object-fit:cover; opacity:.8; transition:transform .55s cubic-bezier(.16,1,.3,1), opacity .3s ease; }
.card:hover img{ transform:scale(1.05); opacity:.58; }
.card__cap{ padding:clamp(18px,1.9vw,24px) clamp(18px,1.9vw,24px) clamp(20px,2.1vw,26px); }
.card__cap h3{ font-size:clamp(17px,1.5vw,20px); font-weight:600; letter-spacing:-0.018em; }
.card__cap p{ margin-top:8px; font-size:14.5px; color:var(--muted); }
.svc__all{ margin-top:clamp(28px,3.2vw,44px); }
/* Two buttons, one per breakpoint. On mobile the heading and all nine tiles are
   hidden (client, 2026-09-22: the grid was 35% of a 10,043px page), so this red
   button becomes the ONLY route into services outside the hamburger menu and is
   deliberately loud and full-width. Desktop is untouched. */
.svc__cta{ display:none; }

/* ============================================================
   WHY CTI
   ============================================================ */
.why{ background:var(--ground-2); border-block:1px solid var(--line); }
.why h2{ font-size:clamp(30px,3.4vw,48px); margin-bottom:clamp(40px,4vw,64px); max-width:16ch; }
/* cards on the same three columns as everything else. As bare icon-and-text
   in two columns each item capped its own copy at 32ch, so the right third
   of the section was permanently empty and nothing was contained. */
.whygrid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(18px,2vw,28px); }
.whyitem{ display:block; background:var(--ground-3); border:1px solid var(--line); border-radius:var(--r-lg); padding:clamp(26px,2.6vw,36px); }
.whyitem__icon{ width:46px; height:46px; color:var(--red-text); margin-bottom:clamp(20px,2vw,26px); }
.whyitem__icon svg{ width:100%; height:100%; display:block; }
.whyitem h3{ font-size:clamp(18px,1.6vw,21px); font-weight:600; letter-spacing:-0.018em; }
.whyitem p{ margin-top:11px; color:var(--muted); font-size:15.5px; }

/* ============================================================
   COUNTERS
   ============================================================ */
/* ============================================================
   THE PEOPLE WE HELP: Google reviews
   A scroll-snap track with arrows and page dots, and no autoplay:
   like the rest of this page, nothing rotates on a timer. Cards marked
   --pending hold the layout until the client supplies real review text.
   No review is ever written for them.
   ============================================================ */
.reviews{ background:var(--ground); overflow:hidden; }
.reviews__head{ display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:18px 28px; margin-bottom:clamp(26px,3vw,40px); }
.reviews__head h2{ font-size:clamp(30px,3.4vw,48px); }
.reviews__src{ margin-top:12px; color:var(--muted); font-size:15.5px; }
.reviews__nav{ display:flex; gap:10px; }
.reviews__btn{
  width:48px; height:48px; border-radius:var(--r-pill); border:1px solid var(--line-2);
  background:transparent; color:var(--text); display:grid; place-items:center; cursor:pointer;
  transition:background-color .2s ease, border-color .2s ease, opacity .2s ease;
}
.reviews__btn:hover:not(:disabled){ border-color:var(--text); background:rgba(255,255,255,.06); }
.reviews__btn:disabled{ opacity:.32; cursor:default; }
.reviews__btn svg{ width:16px; height:16px; }
.reviews__track{
  --gap:clamp(18px,2vw,28px);
  display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 2 * var(--gap)) / 3); gap:var(--gap);
  overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; overscroll-behavior-x:contain;
  scrollbar-width:none; padding-bottom:2px;
}
.reviews__track::-webkit-scrollbar{ display:none; }
.reviews__track:focus-visible{ outline:2px solid var(--red-text); outline-offset:6px; border-radius:var(--r-lg); }
.review{
  scroll-snap-align:start; display:flex; flex-direction:column; gap:20px; min-height:300px;
  background:var(--ground-2); border:1px solid var(--line); border-radius:var(--r-lg);
  padding:clamp(24px,2.4vw,32px);
}
/* five stars from one masked strip: --r is the rating out of 5 */
.review__stars{
  --r:5; width:92px; height:16px; flex:none;
  background:linear-gradient(90deg, var(--red) calc(var(--r) * 20%), var(--line-2) 0);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19 16'%3E%3Cpath d='M8 .8l2.2 4.6 5 .7-3.6 3.5.9 5L8 12.2l-4.5 2.4.9-5L.8 6.1l5-.7z'/%3E%3C/svg%3E") left center / 19px 16px repeat-x;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19 16'%3E%3Cpath d='M8 .8l2.2 4.6 5 .7-3.6 3.5.9 5L8 12.2l-4.5 2.4.9-5L.8 6.1l5-.7z'/%3E%3C/svg%3E") left center / 19px 16px repeat-x;
}
.review__text{ margin:0; flex:1; font-size:16.5px; line-height:1.62; color:var(--text); }
.review__who{ display:flex; align-items:center; gap:12px; padding-top:18px; border-top:1px solid var(--line); }
.review__avatar{
  width:42px; height:42px; flex:none; border-radius:var(--r-pill); display:grid; place-items:center;
  background:var(--ground-3); border:1px solid var(--line-2); font-size:14px; font-weight:600; color:var(--text);
}
.review__name{ display:block; font-size:15px; font-weight:600; color:var(--text); }
.review__meta{ display:block; font-size:13px; color:var(--muted); }
/* placeholder cards: the layout, visibly without content */
.review--pending .review__stars{ --r:0; }
.sk{ display:block; height:10px; border-radius:var(--r-pill); background:var(--ground-3); }
.sk + .sk{ margin-top:13px; }
.review__flag{
  align-self:flex-start; font-size:11px; font-weight:600; letter-spacing:.15em; text-transform:uppercase;
  color:var(--muted); border:1px dashed var(--line-2); border-radius:var(--r-pill); padding:7px 14px;
}
.reviews__dots{ display:flex; justify-content:center; gap:8px; margin-top:clamp(24px,2.6vw,34px); }
.reviews__dots span{ width:8px; height:8px; border-radius:var(--r-pill); background:var(--line-2); transition:width .25s ease, background-color .25s ease; }
.reviews__dots span.is-on{ width:26px; background:var(--red); }
@media (max-width:1080px){ .reviews__track{ grid-auto-columns:calc((100% - var(--gap)) / 2); } }
@media (max-width:640px){
  .reviews__track{ grid-auto-columns:86%; }   /* the next card peeks in, so the row reads as swipeable */
  .reviews__nav{ display:none; }
}
@media (prefers-reduced-motion: reduce){ .reviews__track{ scroll-behavior:auto; } }

.counts{ background:var(--ground); }
.counts__head{ max-width:44ch; margin-bottom:clamp(40px,4vw,58px); }
.counts__head h2{ font-size:clamp(26px,2.8vw,38px); }
.counts__head p{ margin-top:14px; color:var(--muted); }
/* four surfaces on the same gutter as the cards above, so the section
   is closed on every edge instead of trailing off to the right. Centred,
   because the numbers run from two characters to seven and flush-left
   made the widest one look like the only real figure. */
.counts__grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(18px,2vw,28px); }
.count{
  background:var(--ground-2); border:1px solid var(--line); border-radius:var(--r-lg);
  padding:clamp(30px,3vw,44px) clamp(14px,1.7vw,26px); text-align:center;
}
.count__n{ font-family:"Bricolage Grotesque",sans-serif; font-size:clamp(34px,4.4vw,64px); font-weight:800; letter-spacing:-0.045em; line-height:1; font-variant-numeric:tabular-nums; }
/* a pseudo-element, so the counter script rewriting textContent cannot remove it */
.count__n::after{ content:""; display:block; width:32px; height:3px; background:var(--red); margin:clamp(18px,1.8vw,24px) auto 0; }
.count__l{ margin-top:15px; font-size:12px; font-weight:600; letter-spacing:0.16em; text-transform:uppercase; color:var(--muted); }

/* ============================================================
   PARTNERS
   ============================================================ */
.partners{ background:var(--ground-2); border-block:1px solid var(--line); }
.partners__in{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(34px,6vw,86px); align-items:center; }
.partners h2{ font-size:clamp(28px,3vw,42px); margin-bottom:24px; }
.partners__copy{ display:flex; flex-direction:column; gap:18px; align-items:flex-start; color:var(--muted); }
/* brand marks keep their approved colours, so each sits on its own light plate */
.logos{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(12px,1.4vw,18px); }
.logos div{ background:var(--plate); border-radius:var(--r-md); display:grid; place-items:center; padding:28px 22px; min-height:140px; }
.logos img{ max-width:100%; max-height:68px; width:auto; object-fit:contain; }

/* ============================================================
   CTA + FOOTER
   ============================================================ */
.cta{ background:var(--red-btn); }
.cta__in{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:32px; padding-block:clamp(48px,5vw,74px); }
.cta p{ font-family:"Bricolage Grotesque",sans-serif; font-size:clamp(24px,2.8vw,40px); font-weight:700; letter-spacing:-0.03em; line-height:1.14; color:#fff; max-width:19ch; }
.cta__side{ display:flex; flex-direction:column; align-items:flex-start; gap:14px; }
.cta__side span{ color:#ffd7d8; font-size:14.5px; }
.cta .btn--white{ background:#fff; color:var(--red-btn); }
.cta .btn--white:hover{ background:var(--ground); color:#fff; }

.foot{ background:#0d0c0f; color:var(--muted); font-size:14.5px; }
/* the middle column holds Regions Served, whose longest entry is
   "North Island / Comox Valley". At 1fr it wrapped onto two lines, so the
   column is widened and the news column gives up the space (client, 2026-09-16) */
.foot__in{ display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1.25fr) minmax(0,1fr); gap:clamp(34px,5vw,74px); padding-block:clamp(56px,5.5vw,86px); }
.foot h3{ font-size:16px; font-weight:600; margin-bottom:16px; color:var(--text); }
.foot h3 + p{ margin-bottom:30px; }
.foot a{ color:var(--text); text-decoration:none; }
.foot a:hover{ color:var(--red-text); }
.foot__logo{ height:32px; width:auto; margin-bottom:24px; }
.foot__row{ display:flex; gap:12px; margin-bottom:14px; }
.foot__row > div{ min-width:0; }
.foot__row svg{ width:16px; height:16px; color:var(--red-text); flex:none; margin-top:4px; }
.foot ul{ list-style:none; margin:0; padding:0; }
.foot__regions{ columns:2; column-gap:22px; font-size:14px; }
.foot__regions li{ break-inside:avoid; margin-bottom:9px; }
.foot__news li{ padding-bottom:15px; margin-bottom:15px; border-bottom:1px solid #232025; }
.foot__news li:last-child{ border-bottom:0; }
.foot__date{ display:block; font-size:11px; font-weight:600; letter-spacing:0.14em; text-transform:uppercase; color:#6f6a6d; margin-bottom:6px; }
.foot__social{ display:flex; gap:10px; align-items:center; margin-top:22px; }
.foot__social a{ display:grid; place-items:center; width:36px; height:36px; border:1px solid var(--line); border-radius:var(--r-pill); color:var(--muted); }
.foot__social a:hover{ background:var(--red-btn); border-color:var(--red-btn); color:#fff; }
.foot__social svg{ width:15px; height:15px; }
.flag{ height:27px; width:auto; margin-left:6px; }

.legal{ border-top:1px solid #232025; }
.legal__in{ display:flex; flex-wrap:wrap; gap:12px 26px; justify-content:space-between; padding-block:24px; font-size:12.5px; color:#6f6a6d; }
.legal a{ color:var(--muted); }

/* ============================================================
   STATEMENT BAND
   One full-width photograph low on the page. Five grid sections
   in a row need a breather, and the trademark line that used to
   sit on the picture panels lives here now.
   ============================================================ */
.statement{ position:relative; min-height:clamp(340px,46vh,520px); display:grid; align-content:end; overflow:hidden; background:var(--ground); }
/* the source frame is a bright sunset; unfiltered it jumps out of the page's
   dark register and drops the heading towards its contrast floor */
.statement img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 40%; filter:brightness(.62) saturate(.9); }
.statement::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(to top, rgba(16,15,18,.96) 0%, rgba(16,15,18,.86) 34%, rgba(16,15,18,.58) 66%, rgba(16,15,18,.46) 100%);
}
.statement__in{ position:relative; z-index:1; width:100%; padding-block:clamp(44px,5vw,74px); }
.statement__rule{ width:56px; height:3px; background:var(--red); margin-bottom:24px; }
.statement h2{ font-size:clamp(29px,4vw,56px); font-weight:800; letter-spacing:-0.038em; max-width:19ch; text-wrap:balance; }
.statement p{ margin-top:18px; font-size:clamp(16.5px,1.4vw,20px); color:#d5d0cb; max-width:44ch; }

/* ============================================================
   MOTION
   The hidden starting state lives only inside .js-anim, which the
   inline script at the top of the body adds when IntersectionObserver
   exists and the reader has not asked for reduced motion. If that
   script never runs the page renders complete, which is the failure
   mode that actually matters.
   ============================================================ */
.js-anim .rise{
  opacity:0; transform:translateY(18px);
  transition:opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
  transition-delay:var(--d,0ms);
}
.js-anim .rise.is-in{ opacity:1; transform:none; }

/* the hero arrives on load rather than on scroll, so it reads as the page
   settling instead of an effect */
@keyframes heroIn{ from{ opacity:0; transform:translateY(16px); } to{ opacity:1; transform:none; } }
@keyframes heroDrift{ from{ transform:scale(1.04); } to{ transform:scale(1.13) translate3d(-1.4%,-1.2%,0); } }
/* MOBILE DRIFT (client, 2026-09-22: "the young man in black apron's head is cut
   off"). On a phone the hero box is ~0.79:1 against a 2.04:1 photo, so cover
   leaves 791px of HORIZONTAL overflow and ZERO vertical. The desktop drift
   scales to 1.13 AND translates -1.2% upward, and with no vertical slack both
   crop the top of the frame - his head. Note object-position cannot fix this:
   with no vertical overflow its Y value does nothing on mobile.
   This version moves only along the axis that has room, and pairs with
   transform-origin:50% 0% below so the scale grows DOWNWARD from the top edge.
   Invisible to headless Chrome, which always reports reduced motion. */
@keyframes heroDriftMobile{ from{ transform:scale(1.02); } to{ transform:scale(1.07) translate3d(-1.8%,0,0); } }
.hero h1{ animation:heroIn .8s cubic-bezier(.16,1,.3,1) both; }
.hero__sub{ animation:heroIn .8s cubic-bezier(.16,1,.3,1) .1s both; }
.hero__cta{ animation:heroIn .8s cubic-bezier(.16,1,.3,1) .2s both; }
/* transform-origin is the TOP edge, not the default centre (client, 2026-09-23:
   head cut off on a 2560 monitor). heroDrift scales to 1.13 and then drifts UP by
   1.2%; from a centred origin half of that enlargement is spent pushing the photo
   off the TOP, costing ~85px at 2560 -- enough to behead him even after the crop
   was raised to 20%. Anchoring at the top edge makes the zoom grow DOWNWARD, so
   only the intentional 1.2% drift crosses the top. The resting frame is
   unchanged; only the drift path moves. Same fix already applied to mobile
   portrait (see .hero__img in the 900px block).
   WARNING: this fault is INVISIBLE to screenshots -- headless Chrome always
   reports prefers-reduced-motion:reduce, so the animation never runs in a
   capture and every still looked correct. To re-test, force the end state with
   `animation:none` plus an explicit transform. */
.hero__img{ transform-origin:50% 0%; animation:heroDrift 18s ease-in-out infinite alternate; }

/* ============================================================
   RESPONSIVE
   ============================================================ */@media (max-width:1080px){
  .whygrid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .counts__grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }

}
@media (max-width:900px){
  .nav{
    position:absolute; left:0; right:0; top:100%; flex-direction:column; align-items:stretch; gap:0;
    background:var(--ground); border-bottom:1px solid var(--line); padding:6px var(--gutter) 16px;
    max-height:0; overflow:hidden; transition:max-height .3s ease;
  }
  /* A fixed max-height with overflow:hidden left the phone menu unreachable past
     its own box: no scroll container, and every dropdown expanded at once, so the
     list ran well past the viewport (client, iOS, 2026-09-18). It is now a real
     scrolling panel sized to the viewport, with the groups collapsed. 100dvh
     because iOS Safari's 100vh excludes the dynamic toolbar; the vh line above
     it is the fallback for browsers without dvh. */
  .nav.is-open{
    max-height:calc(100vh - 118px);
    max-height:calc(100dvh - 118px);
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
  }
  /* collapsed by default on a phone; .is-exp is set by the tap handler */
  .nav__has .nav__menu{
    display:grid; grid-template-rows:0fr;
    padding-top:0; padding-bottom:0;
    transition:grid-template-rows .28s ease, padding .28s ease;
  }
  .nav__has .nav__menu > *{ overflow:hidden; min-height:0; }
  .nav__has.is-exp .nav__menu{ grid-template-rows:1fr; padding-top:6px; padding-bottom:10px; }
  /* the panel carries its own 10px/6px padding, which still rendered inside the
     zero-height row - a 16px strip with the red group label showing through
     (client, iOS, 2026-09-18). Zero it at rest, restore it when expanded. */
  .nav__has:not(.is-exp) .nav__panel{ padding-top:0; padding-bottom:0; }
  .nav__has:not(.is-exp) .nav__menu{ border:0; }
  /* the chevron stays visible on mobile as the expand affordance */
  .nav__has > .nav__top{ display:flex; align-items:center; justify-content:space-between; }
  .nav__has > button.nav__top{ width:100%; text-align:left; }
  .nav__has.is-exp .nav__top svg{ transform:rotate(180deg); }
  .nav > a,.nav__top{ padding:14px 0; border-bottom:1px solid var(--line); font-size:16px; }
  .nav > a::after{ display:none; }
  /* the mega menu becomes an inline accordion rather than a floating panel */
  .nav__has{ position:static; }
  .nav__menu{
    position:static; translate:none; transform:none; opacity:1; visibility:visible;
    width:auto; grid-template-columns:minmax(0,1fr); gap:12px;
    background:transparent; border:0; box-shadow:none; padding:10px 0 6px 14px;
  }
  .nav__menu a{ font-size:15.5px; padding:9px 10px; }
  /* labelled groups collapse; the flat group has no heading to tap, so its
     links must stay visible (client, 2026-09-18) */
  .nav__group:not(.nav__group--flat) > a{ display:none; }
  .nav__group.is-open > a{ display:block; }

/* Services drops as a single column like the other menus rather than a three
   column board: with the groups collapsed it reads as ten rows, and the shape
   now matches About/Team/Careers instead of being the one exception. The extra
   class beats site-extra.css, which re-declares .nav__menu--one later
   (client, 2026-09-18). */
.nav__menu--one.nav__menu--svc{ width:min(340px,calc(100vw - 40px)); }
.nav__menu--svc .nav__panel{ gap:0; }
.nav__menu--svc .nav__group + .nav__group{ margin-top:0; }
.nav__menu--svc .nav__group:not(.nav__group--flat) > a{ padding-left:26px; }
/* a hairline runs down the children, as on the phone, so the grouping reads */
.nav__menu--svc .nav__group:not(.nav__group--flat).is-open{ position:relative; }
.nav__menu--svc .nav__group:not(.nav__group--flat).is-open::before{
  content:''; position:absolute; left:14px; top:34px; bottom:4px;
  width:1px; background:var(--line-2); opacity:.7;
}
  /* A tap aimed at a group heading that drifted a few pixels low used to land on
     the first link beneath it and navigate. While the group is open the heading
     carries a cushion of its own tap area, so an overshoot toggles instead of
     leaving the page; the closed list keeps its compact spacing (client, 2026-09-18). */
  .nav__group.is-open > .nav__glabel{ padding-bottom:16px; }
  .nav__group.is-open > a:last-of-type{ margin-bottom:9px; }
  .nav__group:not(.nav__group--flat) > a{ padding-left:26px; }
  /* site-extra.css re-declares .nav__panel gap/padding LATER in the stylesheet,
     so these need the extra class to win regardless of source order. The 12px
     gap is the desktop 3-column grid showing up as rows on a phone, either
     side of the unlabelled group (client, 2026-09-18). */
  .nav__menu .nav__panel{ gap:0; row-gap:0; column-gap:0; }
  .nav__menu .nav__panel > *{ margin:0; }
  .nav__has.is-exp .nav__panel{ padding-top:2px; padding-bottom:4px; }
  /* the phone menu uses the client's shorter wording and lifts the two
     contact actions to the top of the list (client, 2026-09-18) */
  .lbl-w{ display:none; }
  .lbl-n{ display:inline; }
  .nav > *{ order:5; }
  .nav > .nav__has--svc{ order:4; }
  /* matched on the link's address: real paths since the 2026-09-24 conversion */
  .nav > a[href="/"]{ order:1; }
  .nav > a[href="/referral-inquiry"]{ order:2; }
  .nav > a[href="/contact"]{ order:3; }
  /* a hairline runs down the children so the grouping reads at a glance */
  .nav__group:not(.nav__group--flat).is-open{ position:relative; }
  .nav__group:not(.nav__group--flat).is-open::before{
    content:''; position:absolute; left:14px; top:38px; bottom:6px;
    width:1px; background:var(--line-2); opacity:.7;
  }
  .nav__group + .nav__group{ margin-top:0; }
  .nav__group--flat{ padding-top:0; }
  .nav__glabel{
    display:flex; align-items:center; justify-content:space-between; gap:10px;
    font-size:15.5px; font-weight:500; letter-spacing:0; text-transform:none;
    color:var(--text); padding:9px 10px; cursor:pointer;
  }
  .nav__glabel::after{
    content:''; flex:none; width:7px; height:7px; opacity:.6;
    border-right:2px solid currentColor; border-bottom:2px solid currentColor;
    transform:translateY(-2px) rotate(45deg); transition:transform .22s ease;
  }
  .nav__group.is-open > .nav__glabel::after{ transform:translateY(1px) rotate(-135deg); }
  .navtoggle{ display:block; }
  .navscrim{
    position:fixed; inset:0; z-index:50; background:rgba(10,9,10,.55);
    opacity:0; visibility:hidden; transition:opacity .25s ease, visibility .25s;
  }
  .navscrim.is-on{ opacity:1; visibility:visible; }
  .masthead__in{ position:relative; }
  .intro__grid,.partners__in,.foot__in{ grid-template-columns:minmax(0,1fr); }
  /* stacked, the button has to follow the paragraph rather than precede it,
     so the lead wrapper dissolves and the three items order themselves */
  .intro__lead{ display:contents; }
  .intro__grid{ gap:clamp(18px,3vw,26px); }
  .intro h2{ order:1; }
  .intro__copy{ order:2; }
  .intro__lead .btn{ order:3; justify-self:start; margin-top:6px; }
  /* three stacked cards is a short scroll, nine is not, so tiles stay two-up */
  .grid3{ grid-template-columns:minmax(0,1fr); }
  #services .grid3{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  /* MOBILE ONLY: Featured Services heading and tiles are hidden, replaced by a
     single red "Our Services" button (client, 2026-09-22). The markup is NOT
     removed -- desktop still shows all nine, and every service link stays in the
     HTML, so nothing is lost to search engines. Scoped to #services on purpose:
     .svc__head is shared with How We Help, which must keep its heading. */
  #services .svc__head,
  #services .grid3{ display:none; }
  /* With the heading and tiles hidden, this band holds ONE button, but it kept
     the full `.band` rhythm (var(--band) = 72px top and bottom) that was scaled
     for a heading plus nine tiles. Stacked against .pillars' 72px bottom padding
     and .why's 72px top padding, that left 183px of empty space above the button
     and 145px below it (client, 2026-09-22: "the button placement just doesn't
     look correct"). Overridden HERE rather than on --band, which every other
     section on the page uses. Desktop keeps the full rhythm, because there the
     section still carries the heading and all nine tiles. */
  #services{ padding-block:20px; }
  #services .svc__all{ margin-top:0; }
  .svc__more{ display:none; }
  /* 14.5px type in a 55px box left the label looking lost (client, 2026-09-22).
     Larger text and a slightly shallower box bring the two into proportion. */
  .svc__cta{
    display:inline-flex; justify-content:center; width:100%;
    font-size:17px; padding:14px 28px;
  }
  /* PORTRAIT head-crop fix: grow from the top edge, drift sideways only.
     The desktop drift scales 1.04 -> 1.13 AND translates -1.2% upward. On a
     phone in PORTRAIT the hero box is ~0.79:1 against a 2.04:1 photo, so cover
     leaves ZERO vertical slack and both the zoom and the upward shift eat the
     top of the frame -- his head (client, 2026-09-22). This version moves only
     along the axis that has room and grows DOWNWARD from the top edge.
     Invisible to headless Chrome, which always reports reduced motion: to check
     it, force the end state with `animation:none` plus an explicit transform.

     THE LANDSCAPE FIX WAS REVERTED at the client's request (2026-09-22).
     `object-position:60% 0%` had been added here because LANDSCAPE (~830x339,
     2.45:1) is the one case where the box is WIDER than the photo, flipping the
     overflow from horizontal to vertical (~67px) and making the inherited 40%
     hide 27px off the top. The client did not like the resulting framing and
     judged the landscape crop acceptable. object-position therefore stays at the
     inherited 60% 40%: INERT in portrait (no vertical overflow to act on) and
     cropping ~27px in landscape BY CHOICE, not by oversight. Re-add that single
     declaration here to restore it. Desktop was confirmed fine and is untouched. */
  .hero__img{ transform-origin:50% 0%; animation-name:heroDriftMobile; }
  .util__right .util__social{ display:none; }
}
@media (max-width:640px){
  #services .grid3{ grid-template-columns:minmax(0,1fr); }
  .whygrid{ grid-template-columns:minmax(0,1fr); }
  .counts__grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .foot__regions{ columns:1; }
  .hero__cta .btn{ flex:1 1 100%; }
}

/* ---- LANDSCAPE PHONES ONLY ----------------------------------------------
   Scoped with `orientation:landscape` so PORTRAIT IS UNTOUCHED. An earlier
   attempt put the object-position fix in the plain max-width:900px block, which
   applied to both orientations and changed what sat behind the hero headline in
   portrait; the client rejected that and it was reverted (2026-09-22).
   Two things are only true in landscape:
   1. The hero box (~830x339, 2.45:1) is WIDER than the 2.04:1 photo, so cover
      overflows VERTICALLY by ~67px instead of horizontally. The inherited
      `60% 40%` hid 27px off the top -- his crown. Pinning to 0% recovers it.
      In portrait vertical overflow is ZERO, so this declaration would be inert
      there anyway; the scope is belt and braces.
   2. The hero is only ~339px tall, so the headline, subtitle and button nearly
      fill it and land across his face. Tightening the wrapper's padding drops
      the text toward the bottom edge, into empty space rather than over him
      (client, 2026-09-22: "move the text down ... then i wont interfere with
      his face"). */
/* ---- PORTRAIT PHONES ONLY ----------------------------------------------- */
@media (max-width:900px) and (orientation:portrait){
  /* The scrim is a 105deg gradient -- almost horizontal -- so in a TALL portrait
     hero its heavy left edge runs the full height of the photo. The client found
     that too dark on the left (2026-09-22). Left stops eased .95->.74 and
     .86->.64; the right side is left near as it was. The hero text sits in the
     bottom half, largely over his dark apron, so legibility is unaffected --
     measured rather than assumed. Landscape and desktop keep the original. */
  /* TWO layers. The first (topmost) is a bottom-up band sitting only behind the
     text, added 2026-09-22 to fix a contrast failure: the headline crosses his
     WHITE chef's jacket, where white-on-white measured ~2.6:1 against the WCAG
     AA minimum of 3:1 for large text. It fades to nothing by 70% height, so it
     cannot re-darken the upper left the client just asked to lighten. A text
     shadow was considered and rejected: it improves appearance but does not
     change MEASURED contrast, which is what an audit looks at.
     The second layer is the eased diagonal from the earlier change. */
  .hero::after{
    background:
      linear-gradient(to top, rgba(14,13,16,.66) 0%, rgba(14,13,16,.50) 40%, rgba(14,13,16,0) 70%),
      linear-gradient(105deg, rgba(20,19,22,.74) 0%, rgba(20,19,22,.64) 34%, rgba(20,19,22,.40) 64%, rgba(20,19,22,.30) 100%);
  }
}

@media (max-width:900px) and (orientation:landscape){
  /* Top padding raised from ~20px to ~36px (client, 2026-09-22: the headline sat
     too tight to the top edge of the photo). The bottom stays at 12px so the
     text keeps the lower position from the earlier pass. The content fills the
     hero exactly here, so this grows the box by ~16px rather than compressing
     the gaps between headline, subtitle and button. */
  .hero__in{ padding-block:clamp(30px,4.4vw,44px) 12px; }
  /* swap to the crop that puts him right of centre */
  .hero__img{ display:none; }
  .hero__img--land{ display:block; object-position:50% 50%; }
  /* and stop the subtitle before it reaches him: it ran to 758px in an 830px
     box, straight across his face. 46% ends it near 415px; his face starts
     around 480px in this crop. Deliberately short of that, because the box
     width varies between landscape devices and grazing him on a narrower
     screen would be worse than wrapping a word early. */
  .hero__sub{ max-width:46%; }
}
/* REVERTED 2026-09-22: a further landscape pass shrank the headline 10%, forced
   a line break in the subtitle and shrank the hero button 5%. The client judged
   the result worse and asked for it back out ("ugh its even worse"). The two
   rules above -- the crop fix and the text position -- were asked for
   separately and are kept. Do not re-apply the type/button changes unasked. */

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{ animation-duration:.001ms !important; animation-delay:0s !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; transition-delay:0s !important; scroll-behavior:auto !important; }
}
/* ============================================================
   MIGRATED SITE
   Every page of communitytherapists.com rendered in the Chapters
   system. Pages are pre-rendered and toggled by the router rather
   than templated on the client, so there is no flash of empty
   content and the whole site works from one document.
   ============================================================ */
.page{ display:block; }
.page[hidden]{ display:none !important; }

/* ---- dropdowns ----
   The panel used to sit at top:calc(100% + 14px), which left 14px of nothing
   between the trigger and the menu: moving the pointer down crossed dead space,
   :hover dropped, and the menu closed before you could reach it. The menu now
   starts flush at the bottom of the trigger and carries the 14px offset as its
   own transparent padding, so the pointer never leaves the element. */
.nav__menu{
  top:100%; padding:14px 0 0; width:min(760px,calc(100vw - 40px));
  background:none; border:0; border-radius:0; box-shadow:none;
  display:block;
}
.nav__menu--one{ width:min(320px,calc(100vw - 40px)); }
.nav__panel{
  background:var(--ground-2); border:1px solid var(--line); border-radius:var(--r-lg);
  box-shadow:0 30px 70px -32px rgba(0,0,0,.85);
  padding:clamp(20px,2vw,28px);
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px 26px;
}
.nav__menu--one .nav__panel{ grid-template-columns:minmax(0,1fr); }
/* the flat group's top pad exists to align with labelled groups in the wide
   menu; on its own in a single column it is just dead space */
.nav__menu--one .nav__group--flat{ padding-top:0; }
/* a small grace period so a diagonal path to the panel does not close it */
.nav__has:not(:hover):not(:focus-within) .nav__menu{ transition-delay:.18s; }
/* Careers has no page of its own, so its top item is a button that only opens
   the menu; it has to look exactly like the linked top items beside it */
button.nav__top{ background:none; border:0; margin:0; font:inherit; font-size:14.5px; font-weight:500; line-height:inherit; color:var(--text); cursor:pointer; }

/* a link to a section lands with the section clear of the sticky header */
.page [id]{ scroll-margin-top:96px; }
.page details.acc,.page .checkcard{ scroll-margin-top:96px; }

/* ---- page header ---- */
.phead{ background:var(--ground-2); border-bottom:1px solid var(--line); }
.phead__in{ padding-block:clamp(40px,4.6vw,76px); }
/* The page header already carries generous padding; the first band below it
   then added its own, so body copy started a long way down the page. Halve the
   top of that first band only - every other gap on the page is unchanged
   (client, 2026-09-16). */
.page .phead + .band{ padding-top:clamp(22px,2.2vw,34px); }
.page > .band:first-child{ padding-top:clamp(22px,2.2vw,34px); }
.crumb{ display:flex; align-items:center; flex-wrap:wrap; gap:9px; font-size:13.5px; color:var(--muted); margin-bottom:20px; }
.crumb a{ color:var(--muted); text-decoration:none; }
.crumb a:hover{ color:var(--red-text); }
.crumb svg{ width:12px; height:12px; opacity:.55; flex:none; }
.phead h1{ font-size:clamp(32px,4.4vw,62px); font-weight:800; letter-spacing:-0.04em; max-width:18ch; }
.phead__sub{ margin-top:20px; font-size:clamp(16.5px,1.4vw,19px); color:var(--muted); max-width:62ch; }
/* the service tile's tagline, sitting under the page title on the photograph
   (client, 2026-09-16) */
.phead__tag{
  margin-top:14px; font-size:clamp(17px,1.6vw,21px); font-weight:600;
  font-style:italic;                       /* client, 2026-09-16 */
  color:var(--red-text); letter-spacing:-0.01em; max-width:40ch;
}
/* On a photograph the tagline used a one-off pale pink (#ff8f8f). The client
   asked for the same red as the rest of the design (client, 2026-09-17), so it
   now takes the site's text-red token like every other tagline; the scrim
   behind it already carries the contrast. */
.phead--photo .phead__tag{ color:var(--red-text); }
.phead__cta{ display:flex; flex-wrap:wrap; gap:12px; margin-top:32px; }

/* ---- page header with the original page's banner photograph ----
   The homepage hero's treatment at a shorter height: the photograph fills the
   band, and the same left-hand gradient carries the breadcrumb and heading.
   Each page sets --focus so the subject stays clear of the text. */
.phead--photo{ position:relative; overflow:hidden; display:grid; align-content:end; min-height:clamp(340px,38vw,540px); background:var(--ground); }
/* a background rather than an <img>, so a photo shared by several pages is
   embedded once in the stylesheet (see build-site.ps1) */
.phead__img{ position:absolute; inset:0; background-size:cover; background-repeat:no-repeat; background-position:var(--focus,70% 50%); }
.phead--photo::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(105deg, rgba(20,19,22,.95) 0%, rgba(20,19,22,.86) 34%, rgba(20,19,22,.42) 64%, rgba(20,19,22,.30) 100%);
}
.phead--photo .phead__in{ position:relative; z-index:1; }
.phead--photo .crumb,.phead--photo .crumb a{ color:#cfcac5; }
.phead--photo .phead__sub{ color:#cfcac5; }
@media (max-width:640px){
  /* stacked text runs the full width, so the scrim rises from the bottom instead */
  .phead--photo::after{ background:linear-gradient(to top, rgba(16,15,18,.94) 0%, rgba(16,15,18,.72) 42%, rgba(16,15,18,.22) 100%); }
}

/* the router marks a page's parent section as well as the page itself */
.nav > a[aria-current="true"],.nav__top[aria-current="true"]{ color:var(--red-text); }
.nav > a[aria-current="true"]::after,.nav__top[aria-current="true"]::after{ transform:scaleX(1); }

/* ---- open positions ----
   Postings are cards on their careers page rather than menu items. One whose
   posting was not carried over is not a link: a dashed card, as the referral
   forms still in development are. */
.idx > div{
  display:flex; flex-direction:column; justify-content:space-between; gap:20px;
  border:1px dashed var(--line-2); border-radius:var(--r-lg);
  padding:clamp(22px,2.3vw,30px); min-height:160px;
}
.idx .rtag{ align-self:flex-start; font-size:11px; color:var(--muted); }
/* The Career Alerts card holds TWO links (Subscribe + CTI on Indeed), so unlike
   the job cards it is a <div>, not an <a> -- nested anchors are invalid HTML.
   That means `.idx > div` above would give it the DASHED "posting not available"
   treatment, and `.idx a` below would turn each inner link into a full card.
   Both are overridden here at higher specificity (client, 2026-09-23). */
.idx > div.idx__alerts{ background:var(--ground-2); border:1px solid var(--line); }
.idx > div.idx__alerts a{
  display:inline; gap:0; background:none; border:0; border-radius:0;
  padding:0; min-height:0; color:var(--red-text); text-decoration:none;
}
.idx > div.idx__alerts a:hover{ transform:none; box-shadow:none; text-decoration:underline; }
/* the two links sit side by side, wrapping to a second line only if narrow */
.idx__links{ display:flex; flex-wrap:wrap; gap:6px 18px; }

/* ---- long-form body ---- */
.prose{ max-width:70ch; }
.prose > * + *{ margin-top:20px; }
.prose p{ font-size:clamp(16.5px,1.4vw,18.5px); color:var(--muted); }
.prose a{ color:var(--red-text); text-decoration:underline; text-underline-offset:3px; }
.prose h2{ font-size:clamp(25px,2.7vw,35px); margin-top:clamp(34px,3.4vw,50px); }
.prose h3{ font-size:clamp(20px,2vw,26px); margin-top:clamp(28px,2.8vw,40px); }
.prose h4{ font-size:clamp(17px,1.6vw,20px); margin-top:26px; }
.prose h2 + *,.prose h3 + *,.prose h4 + *{ margin-top:14px; }
.prose ul{ list-style:none; margin:0; padding:0; display:grid; gap:11px; }
/* a list needs more air above it than another paragraph does, so the bullets
   read as a set rather than running straight on from the sentence that
   introduces them (client, 2026-09-16) */
.prose p + ul,.prose h3 + ul,.prose h4 + ul{ margin-top:16px; }
.prose > * + ul{ margin-top:16px; }
/* standard round bullets, as the original site's lists were (client, 2026-09-13) */
.prose li{ position:relative; padding-left:22px; color:var(--muted); font-size:16.5px; }
.prose li::before{ content:""; position:absolute; left:3px; top:.62em; width:6px; height:6px; border-radius:50%; background:var(--red); }

/* ---- label / value rows, for the Privacy Officer block ---- */
.deflist{ max-width:70ch; border-top:1px solid var(--line); }
.deflist > div{ display:grid; grid-template-columns:190px 1fr; gap:4px 22px; padding:13px 0; border-bottom:1px solid var(--line); }
.deflist dt{ font-size:14px; font-weight:600; color:var(--text); }
.deflist dd{ margin:0; font-size:16.5px; color:var(--muted); }
@media (max-width:640px){ .deflist > div{ grid-template-columns:1fr; } }

/* ---- accordions: native details, so they work with no script ---- */
.accset{ margin-top:clamp(26px,3vw,40px); display:grid; gap:12px; }
/* The renderer calls CloseProse and immediately opens a container, so the built
   markup is `</div><div class="grid3">` -- two adjacent siblings. A grid's `gap`
   never reaches outside itself and `.prose > * + *` only spaces items INSIDE the
   prose block, so nothing owned the space between them: the last paragraph ended
   at the exact pixel the tiles began, measured 0px at every width (client spotted
   it on /services, 2026-09-22).
   Every other post-prose container already carries its own margin-top --
   .accset, .icards, .people, .clinics, .facts, .idx, .checks -- and .grid3 is
   the only one that does not. Fixed on the SIBLING PAIR, never on .grid3 itself:
   the home page uses .grid3 under "How We Help" and "Featured Services" where it
   follows a heading and is already spaced correctly, so a blanket margin would
   fix /services and break both of those. */
.prose + .grid3{ margin-top:clamp(26px,3vw,40px); }
.acc{ background:var(--ground-2); border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; }
.acc[open]{ border-color:var(--line-2); }
.acc > summary{
  list-style:none; cursor:pointer; display:flex; align-items:flex-start; gap:16px;
  padding:clamp(18px,1.9vw,24px) clamp(20px,2.1vw,28px);
  font-family:"Bricolage Grotesque",sans-serif; font-size:clamp(17px,1.5vw,20px);
  font-weight:700; letter-spacing:-0.018em; line-height:1.25; color:var(--text);
}
.acc > summary::-webkit-details-marker{ display:none; }
.acc > summary::after{
  content:""; flex:none; margin-left:auto; margin-top:.34em;
  width:11px; height:11px; border-right:2px solid var(--red-text); border-bottom:2px solid var(--red-text);
  transform:rotate(45deg); transition:transform .22s ease;
}
.acc[open] > summary::after{ transform:rotate(-135deg); }
.acc > summary:hover{ color:var(--red-text); }
.acc__body{ padding:0 clamp(20px,2.1vw,28px) clamp(20px,2.1vw,28px); }
.acc__body > * + *{ margin-top:16px; }
.acc__body p{ color:var(--muted); font-size:16px; max-width:74ch; }
.acc__body a{ color:var(--red-text); text-decoration:underline; text-underline-offset:3px; }
.acc__body ul{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
/* The margin:0 above also cancelled the 16px from `> * + *`, so a list sat flush
   under its lead-in sentence ("...the following diagnoses:"). Restore it, at the
   same spacing as between paragraphs (client, 2026-09-25). */
.acc__body > * + ul{ margin-top:16px; }
.acc__body li{ position:relative; padding-left:22px; color:var(--muted); font-size:16px; }
.acc__body li::before{ content:""; position:absolute; left:3px; top:.6em; width:6px; height:6px; border-radius:50%; background:var(--red); }
/* Text appended AFTER an accordion set is a sibling of .accset, and a grid's
   gap does not reach outside itself -- .prose carries no top margin of its own,
   so the closing sentence on Physiotherapy Careers butted against the last
   card's border (client, 2026-09-21). Match the space .accset sets above itself. */
.acc__after{ margin-top:clamp(26px,3vw,40px); }

/* ---- people ---- */
.people{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(18px,2vw,28px); margin-top:clamp(26px,3vw,40px); }
.person{ background:var(--ground-2); border:1px solid var(--line); border-radius:var(--r-lg); padding:clamp(24px,2.4vw,32px); }
.person__ph{ width:150px; height:150px; border-radius:var(--r-pill); object-fit:cover; margin-bottom:22px; background:var(--ground-3); }
.person h3{ font-size:clamp(18px,1.6vw,21px); font-weight:700; letter-spacing:-0.018em; }
.person__cred{ margin-top:6px; font-family:"Instrument Sans",sans-serif; font-size:12px; font-weight:600; letter-spacing:0.13em; text-transform:uppercase; color:var(--red-text); }
.person__bio{ margin-top:14px; display:grid; gap:13px; }
.person__bio p{ color:var(--muted); font-size:15px; line-height:1.6; }
/* long bios: the first paragraph shows, the rest opens with More */
/* spacing by margin: browsers do not reliably lay out a <details> as a grid */
.person__more > p{ margin-top:13px; }
.person__more > summary{
  list-style:none; cursor:pointer; justify-self:start;
  font-family:"Instrument Sans",sans-serif; font-size:13.5px; font-weight:600; color:var(--red-text);
}
.person__more > summary::-webkit-details-marker{ display:none; }
.person__more > summary::after{ content:"More"; }
.person__more[open] > summary::after{ content:"Less"; }
.person__more > summary:hover{ text-decoration:underline; }
/* pronouns: regular weight, sentence size, on the name line rather than dropped
   below it (approved on Eva, applied to every bio, client 2026-09-13) */
.person__pron{ margin-left:.5em; font-family:"Instrument Sans",sans-serif; font-size:14px; font-weight:400; letter-spacing:0; color:var(--muted); white-space:nowrap; }

/* ---- value / reason cards (icon + heading + line) ---- */
.icards{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(18px,2vw,28px); margin-top:clamp(26px,3vw,40px); }
.icard{ background:var(--ground-2); border:1px solid var(--line); border-radius:var(--r-lg); padding:clamp(24px,2.4vw,34px); }
.icard img{ width:46px; height:46px; object-fit:contain; margin-bottom:20px; }
.icard h3{ font-size:clamp(17px,1.5vw,20px); font-weight:700; letter-spacing:-0.018em; }
.icard p{ margin-top:11px; color:var(--muted); font-size:15.5px; }

/* ---- clinic locations ---- */
.clinics{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(16px,1.8vw,24px); margin-top:clamp(26px,3vw,40px); }
.clinic{ background:var(--ground-2); border:1px solid var(--line); border-radius:var(--r-lg); padding:clamp(22px,2.2vw,30px); }
.clinic h3{ font-size:17.5px; font-weight:700; letter-spacing:-0.014em; line-height:1.3; }
.clinic__body{ margin-top:15px; padding-top:15px; border-top:1px solid var(--line); color:var(--muted); font-size:15px; line-height:1.75; }
.clinic__body a{ color:var(--red-text); text-decoration:none; }
.clinic__body a:hover{ text-decoration:underline; }

/* ---- job posting sidebar facts ---- */
.facts{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(14px,1.6vw,20px); margin-top:clamp(24px,2.6vw,34px); }
.fact{ background:var(--ground-2); border:1px solid var(--line); border-radius:var(--r-md); padding:clamp(18px,1.9vw,24px); }
.fact__k{ font-family:"Instrument Sans",sans-serif; font-size:11px; font-weight:600; letter-spacing:0.15em; text-transform:uppercase; color:var(--red-text); }
.fact__v{ margin-top:10px; color:var(--text); font-size:15.5px; line-height:1.55; }

/* ---- index cards, used by section landing pages ---- */
.idx{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(18px,2vw,28px); margin-top:clamp(26px,3vw,40px); }
.idx a{
  display:flex; flex-direction:column; justify-content:space-between; gap:20px; text-decoration:none;
  background:var(--ground-2); border:1px solid var(--line); border-radius:var(--r-lg);
  padding:clamp(22px,2.3vw,30px); min-height:160px;
  transition:transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, border-color .3s ease;
}
.idx a:hover{ transform:translateY(-4px); border-color:var(--line-2); box-shadow:0 22px 48px -26px rgba(0,0,0,.9); }
.idx h3{ font-size:clamp(18px,1.6vw,22px); font-weight:700; letter-spacing:-0.018em; }
.idx p{ margin-top:10px; color:var(--muted); font-size:15px; }
.idx span{ font-family:"Instrument Sans",sans-serif; font-size:13.5px; font-weight:600; color:var(--red-text); }

/* ---- referral routes ----
   A route whose form has not been built yet is not a link at all: it renders
   as a dashed card with a status chip, so nobody in a review clicks through to
   a dead end and it stays obvious what is still outstanding. To take one live,
   swap the <div> for an <a href> and drop --soon. */
.rgrid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(18px,2vw,28px); align-items:start; }
.rcard{
  display:flex; flex-direction:column; background:var(--ground-2);
  border:1px solid var(--line); border-radius:var(--r-lg);
  padding:clamp(24px,2.4vw,34px); text-decoration:none;
}
.rcard--soon{ border-style:dashed; border-color:var(--line-2); background:transparent; }
a.rcard{ transition:transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, border-color .3s ease; }
a.rcard:hover{ transform:translateY(-4px); border-color:var(--line-2); box-shadow:0 22px 48px -26px rgba(0,0,0,.9); }
.rcard h3{ font-size:clamp(19px,1.7vw,24px); font-weight:700; }
.rcard > p{ margin-top:11px; font-size:15.5px; color:var(--muted); max-width:46ch; }
/* margin-top:auto pushed this to the bottom of the tallest card, so the card
   with the least text left a large gap under its paragraph (client, 2026-09-16).
   A fixed gap keeps every status chip the same distance below its own text. */
.rcard__foot{ margin-top:0; padding-top:clamp(18px,1.8vw,24px); display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.rtag{
  display:inline-flex; align-items:center; gap:9px;
  font-family:"Instrument Sans",sans-serif; font-size:11px; font-weight:600;
  letter-spacing:0.15em; text-transform:uppercase; color:var(--muted);
  border:1px dashed var(--line-2); border-radius:var(--r-pill); padding:9px 17px;
}
.rtag::before{ content:""; width:7px; height:7px; border-radius:var(--r-pill); background:var(--line-2); flex:none; }
.rnote{ margin-top:clamp(34px,3.6vw,50px); font-size:14.5px; color:var(--muted); max-width:76ch; }
.rcall{ display:flex; flex-wrap:wrap; gap:10px 34px; margin-top:26px; font-size:16px; }
.rcall strong{ color:var(--text); font-weight:600; }
.rcall a{ color:var(--red-text); text-decoration:none; }
.rcall a:hover{ text-decoration:underline; }
/* EMAIL beside the toll-free number: white, red on hover (client, 2026-09-25) */
.rcall a.rcall__mail{ margin-left:14px; color:#fff; font-weight:700; letter-spacing:0.08em; }
.rcall a.rcall__mail:hover{ color:var(--red-text); text-decoration:none; }
/* Stacks a card's buttons in a column instead of the default wrapping row.
   CURRENTLY UNUSED: the Driver Rehabilitation card used it while its printable
   form sat under the status chip, but the client asked for side-by-side buttons
   on 2026-09-23 so it now uses the plain .rcard__foot. Kept because it is one
   line and the layout may be wanted again. */
.rcard__foot--stack{ flex-direction:column; align-items:flex-start; gap:14px; }
/* two referral routes side by side inside one card (client, 2026-10-20); they
   stack on narrow screens, where the grid is already one column */
.rcard--pair{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(18px,2vw,28px); }
.rcard--pair .rcard__half + .rcard__half{ border-left:1px solid var(--line); padding-left:clamp(18px,2vw,28px); }
@media (max-width:480px){
  .rcard--pair{ grid-template-columns:minmax(0,1fr); }
  .rcard--pair .rcard__half + .rcard__half{ border-left:0; padding-left:0; border-top:1px solid var(--line); padding-top:clamp(18px,2vw,24px); }
}

/* two partner marks sharing one plate (CAOT and PABC) */
.logos div.logos__pair{ display:flex; align-items:center; justify-content:center; gap:clamp(12px,1.6vw,22px); }
/* The old rule gave the second mark 30% of the plate because PABC was a tall
   portrait bitmap. The client's vectors are both landscape and close in
   proportion (CAOT 2.9:1, PABC 3.2:1), so they share the plate evenly and
   width is what binds (client, 2026-09-20). */
.logos__pair img{ min-width:0; max-width:46%; max-height:44px; }

/* clinic cards end in a row of actions: email, directions, map */
.clinic__acts{ display:flex; flex-wrap:wrap; gap:6px 18px; margin-top:14px; padding-top:14px; border-top:1px solid var(--line); font-size:14.5px; font-weight:600; }
.clinic__acts a{ color:var(--red-text); text-decoration:none; }
.clinic__acts a:hover{ text-decoration:underline; }
.grouphead{ margin-bottom:clamp(24px,2.8vw,38px); }
.grouphead h2{ font-size:clamp(26px,3vw,40px); }
.grouphead p{ margin-top:12px; font-size:16px; color:var(--muted); max-width:56ch; }

.sectionblock,.who{ margin-top:clamp(44px,4.6vw,72px); }
.sectionblock > h2,.who > h2{ font-size:clamp(25px,2.7vw,36px); margin-bottom:14px; }
.who > p{ font-size:clamp(16.5px,1.4vw,18.5px); color:var(--muted); }

/* conditions: on the page grid, not in the reading column */
.who__grid{
  list-style:none; margin:clamp(22px,2.4vw,30px) 0 0; padding:0;
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(14px,1.6vw,22px);
}
.who__grid li{
  background:var(--ground-2); border:1px solid var(--line); border-radius:var(--r-lg);
  padding:clamp(20px,2.1vw,28px);
  font-family:"Bricolage Grotesque",sans-serif; font-size:clamp(16px,1.4vw,19px);
  font-weight:700; letter-spacing:-0.018em; line-height:1.16; color:var(--text);
}
.who__grid li::before{ content:""; display:block; width:26px; height:3px; background:var(--red); margin-bottom:clamp(16px,1.7vw,22px); }

.checks{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(14px,1.5vw,20px); margin-top:clamp(22px,2.4vw,32px); }
.checkcard{ background:var(--ground-2); border:1px solid var(--line); border-radius:var(--r-md); padding:clamp(24px,2.4vw,32px); }
.checkcard h3{ font-size:19px; font-weight:700; }
.checkcard p{ margin-top:10px; font-size:15.5px; color:var(--muted); }

@media (max-width:1080px){
  .people,.icards,.clinics,.idx,.who__grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .facts{ grid-template-columns:minmax(0,1fr); }
}
@media (max-width:900px){
  .checks,.rgrid{ grid-template-columns:minmax(0,1fr); }
  /* stacked nav: the panel flattens into the accordion with the menu */
  .nav__menu,.nav__menu--one{ width:auto; padding:0; }
  .nav__panel{
    background:transparent; border:0; border-radius:0; box-shadow:none;
    padding:10px 0 6px 14px; grid-template-columns:minmax(0,1fr); gap:12px;
  }
  .nav__menu--one .nav__panel{ grid-template-columns:minmax(0,1fr); }
  .nav__has:not(:hover):not(:focus-within) .nav__menu{ transition-delay:0s; }
}
@media (max-width:640px){
  .people,.icards,.clinics,.idx,.who__grid{ grid-template-columns:minmax(0,1fr); }
}

/* CTI+ header only. The side scrim at .95/.86 buried the second person in the
   consultation - the point of the photograph - so the left is much lighter here
   and the heading sits on a short bottom scrim instead (client, 2026-09-17).
   Scoped on .page[data-route] so it outranks the base rule by SPECIFICITY, not
   by source order. */
.page[data-route="/ctiplus"] .phead--photo::after{
  background:
    linear-gradient(to top, rgba(16,15,18,.88) 0%, rgba(16,15,18,.44) 26%, rgba(16,15,18,0) 54%),
    linear-gradient(105deg, rgba(20,19,22,.72) 0%, rgba(20,19,22,.52) 34%, rgba(20,19,22,.30) 64%, rgba(20,19,22,.24) 100%);
}

/* The seven team pages share one rowing photograph whose left third carries the
   rowers' arms, their hands on the grips and the hull along the bottom. The
   standard side scrim at .95/.86 buried all of it, leaving the oars reading as
   black bars floating over nothing (client, 2026-09-17). Same treatment as the
   CTI+ header: a much lighter side wash, with a short bottom scrim carrying the
   heading instead. Scoped by route so no other header changes. */
.page[data-route="/team/leadership"] .phead--photo::after,
.page[data-route="/team/operations-team"] .phead--photo::after,
.page[data-route="/team/occupational-therapists"] .phead--photo::after,
.page[data-route="/team/clinical-advisors"] .phead--photo::after,
.page[data-route="/team/kinesiologists"] .phead--photo::after,
.page[data-route="/team/physiotherapists"] .phead--photo::after,
.page[data-route="/team/clinical-counsellors"] .phead--photo::after{
  background:
    linear-gradient(to top, rgba(16,15,18,.88) 0%, rgba(16,15,18,.44) 26%, rgba(16,15,18,0) 54%),
    linear-gradient(105deg, rgba(20,19,22,.66) 0%, rgba(20,19,22,.46) 34%, rgba(20,19,22,.26) 64%, rgba(20,19,22,.20) 100%);
}

/* ---- Contact: the 14 offices beyond the head office ----
   Fifteen identical cards made the page hard to scan: the phone, toll-free and
   fax lines are the same everywhere, so the only line that differed - the
   address - was buried behind three that did not (client, 2026-09-17). The head
   office keeps its full .clinic card above; these are rows. Selectors are
   prefixed with .clinics so they cannot be undercut by the .clinic rules. */
.clinics .offices{
  grid-column:1 / -1;        /* .clinics is a 3-column grid; span all of it */
  margin-top:clamp(18px,1.8vw,26px);
  border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden;
  background:var(--ground-2);
}
.clinics > .clinic{ grid-column:1 / -1; }   /* head office card spans the row */
.clinics .office{
  display:grid; grid-template-columns:minmax(0,260px) minmax(0,1fr) auto;
  align-items:center; gap:10px clamp(16px,2vw,28px);
  padding:clamp(14px,1.5vw,20px) clamp(16px,1.8vw,24px);
  border-top:1px solid var(--line);
}
.clinics .office:first-child{ border-top:0; }
.clinics .office:hover{ background:rgba(255,255,255,.03); }
.clinics .office__name{
  font-weight:650; font-size:15px; letter-spacing:0.02em; color:var(--text); line-height:1.35;
}
/* rows carry the office name only now, so there is no <br> left to hide */
.clinics .office__addr{ color:var(--muted); font-size:14.5px; line-height:1.5; }
.clinics .office__acts{ display:flex; flex-wrap:wrap; gap:8px 18px; justify-content:flex-end; }
.clinics .office__acts a{
  font-size:12.5px; font-weight:700; letter-spacing:0.09em; text-transform:uppercase;
  color:var(--red-text); text-decoration:none; white-space:nowrap;
}
.clinics .office__acts a:hover{ color:#fff; }
@media (max-width:760px){
  /* one column: name, then address, then actions left-aligned */
  .clinics .office{ grid-template-columns:minmax(0,1fr); gap:6px; }
  .clinics .office__acts{ justify-content:flex-start; margin-top:4px; }
}

/* Kinesiology and Kinesiology & RA share one photograph. Its LEFT third holds a
   man riding an exercise bike in the gym, and the standard side scrim crushed it
   to near-black, so the setting read as an empty dark panel (client, 2026-09-18).
   Lighter side wash, with a short bottom scrim carrying the heading instead.
   Scoped by route: no other header changes. */
.page[data-route="/services/kinesiology"] .phead--photo::after,
.page[data-route="/services/treatment/home-community-rehabilitaion/kinesiology-ra"] .phead--photo::after{
  background:
    linear-gradient(to top, rgba(16,15,18,.88) 0%, rgba(16,15,18,.44) 26%, rgba(16,15,18,0) 54%),
    linear-gradient(105deg, rgba(20,19,22,.66) 0%, rgba(20,19,22,.46) 34%, rgba(20,19,22,.26) 64%, rgba(20,19,22,.20) 100%);
}

/* The Physiotherapy Careers photograph puts the bicycle - wheel, cranks, the
   rider's foot on the pedal - in the LEFT third, which the standard side scrim
   darkened into an unreadable mass (client, 2026-09-18). Lighter side wash with
   a bottom scrim for the heading. The same file also serves the two
   physiotherapy job postings, so all three routes are listed. */
.page[data-route="/careers/physiotherapistcareers"] .phead--photo::after,
.page[data-route="/community-physiotherapist"] .phead--photo::after,
.page[data-route="/rtwss-physiotherapist"] .phead--photo::after{
  background:
    linear-gradient(to top, rgba(16,15,18,.88) 0%, rgba(16,15,18,.44) 26%, rgba(16,15,18,0) 54%),
    linear-gradient(105deg, rgba(20,19,22,.62) 0%, rgba(20,19,22,.42) 34%, rgba(20,19,22,.24) 64%, rgba(20,19,22,.18) 100%);
}
/* Land acknowledgement for the Burnaby head office (client, 2026-09-20):
   quieter than the address it sits under, on both the footer and the
   contact card. */
.foot__ack{ display:block; margin-top:10px; margin-left:-28px; width:calc(100% + 28px); font-size:11px; line-height:1.6; opacity:.72; max-width:none; text-wrap:balance; }
.clinic__ack{ display:block; margin-top:12px; font-size:13.5px; line-height:1.65; opacity:.85; max-width:78ch; text-wrap:balance; }

.foot__row:has(.foot__ack) > div{ flex:1 1 auto; min-width:0; }

/* --- logo wall balance (client, 2026-09-20) ---------------------------------
   All five marks are final, so the plates get evened out in one pass. The
   aspect ratios are too far apart for a single rule - OTBC is 2.4:1 where ICBC
   is 6.1:1 - so a shared height cap would let the wide marks dominate and a
   shared width cap would shrink the tall one. Each mark is capped individually
   to land on roughly equal optical AREA instead. The shared CAOT/PABC plate
   cannot grow (two marks plus a gap inside one 247px plate), so the solo marks
   come down to meet it rather than the pair being forced up. */
.logos img{ max-height:62px; }
.logos img[alt^="Occupational Therapy BC"]{ max-width:72%; }
.logos img[alt^="Part of the WorkSafeBC"]{ max-width:88%; }
.logos img[alt^="ICBC"]{ max-width:96%; }
.logos div.logos__pair{ gap:clamp(10px,1.2vw,14px); }
.logos__pair img{ max-width:48%; max-height:46px; }
/* --- Why Community Therapists, portrait phones (client, 2026-09-25) -----------
   The breadcrumb and heading sat at the bottom of the photograph, on top of the
   red paper boat in the lower right. In portrait only, they move to the TOP of
   the photograph so the boat stays clear, and the scrim flips to run top-down so
   the text keeps its contrast over the pale boats up there. Landscape and
   desktop are unchanged.
   Occupational Therapy Careers takes the same treatment (client, 2026-09-25):
   there the heading sat on the hands and the laptop, the focal point; at the top
   it sits over the field instead. */
@media (max-width:900px) and (orientation:portrait){
  .page[data-route="/about-us/why-community-therapists"] .phead--photo,
  .page[data-route="/careers/occupational-therapy-careers"] .phead--photo{ align-content:start; }
  .page[data-route="/about-us/why-community-therapists"] .phead--photo .phead__in,
  .page[data-route="/careers/occupational-therapy-careers"] .phead--photo .phead__in{ padding-block:26px 40px; }
  /* OT Careers: the breadcrumb and heading sit a little lower (client, round 3) */
  .page[data-route="/careers/occupational-therapy-careers"] .phead--photo .phead__in{ padding-top:64px; }
  .page[data-route="/about-us/why-community-therapists"] .phead--photo::after,
  .page[data-route="/careers/occupational-therapy-careers"] .phead--photo::after{
    background:linear-gradient(to bottom, rgba(16,15,18,.92) 0%, rgba(16,15,18,.70) 42%, rgba(16,15,18,.18) 100%);
  }
}

/* --- Mobile Physio, landscape phones only (client, 2026-09-25) ---------------
   Her face sits a little right of centre, where the standard left-to-right scrim
   is still ~55% dark. This version keeps the left third dark behind the heading
   and clears quickly after it. */
@media (max-width:900px) and (orientation:landscape){
  .page[data-route="/services/mobile-physio"] .phead--photo::after{
    background:linear-gradient(105deg, rgba(20,19,22,.92) 0%, rgba(20,19,22,.80) 30%, rgba(20,19,22,.30) 50%, rgba(20,19,22,.16) 100%);
  }
}

/* --- Mobile Physio accordions: no phone text-boosting (client, 2026-09-25) --
   "Who can we help?" read larger than the other accordions on the client's
   phone. The markup and CSS are identical (16px); the difference is the phone
   browser enlarging LONG paragraphs (Android Chrome with a larger system text
   size; iOS Safari in landscape) - this one is 103 words. text-size-adjust:100%
   tells the browser to keep the size the page sets. Scoped to this page as
   asked; the site-wide version is a pending suggestion. */
.page[data-route="/services/mobile-physio"] .acc__body{ -webkit-text-size-adjust:100%; text-size-adjust:100%; }

/* --- Hospital DC & Home Health, phones only: soft top fade (client, 2026-09-25)
   The ORIGINAL photo (iStock 842956788, full stock frame) cuts ~1/7 off the top
   of both women's heads, which shows on phones where the photo is larger. The
   top of the photo fades into the page ground so the cut edge blends in; no
   image content is added. Portrait and landscape phones; desktop untouched.
   REVERT WHEN THE PHOTO IS REPLACED: the client expects this fade removed if a
   new Home Health photo arrives with the heads whole. */
@media (max-width:900px){
  .page[data-route="/services/treatment/home-community-rehabilitaion/home-health-hdc"] .phead__img{
    -webkit-mask-image:linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.55) 12%, #000 30%);
            mask-image:linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.55) 12%, #000 30%);
  }
}

/* --- Banners, DESKTOP ONLY: left-side darkening eased (client, 2026-10-31) ---
   Roughly a sixth lighter at the left edge. Phones and tablets (900px and
   narrower) keep the original darkening, as the client asked. Each rule
   restates the base or per-page gradient with lighter left stops. */
@media (min-width:901px){
  .phead--photo::after{
    background:linear-gradient(105deg, rgba(20,19,22,.80) 0%, rgba(20,19,22,.70) 34%, rgba(20,19,22,.36) 64%, rgba(20,19,22,.26) 100%);
  }
  .page[data-route="/team/leadership"] .phead--photo::after,
  .page[data-route="/team/operations-team"] .phead--photo::after,
  .page[data-route="/team/occupational-therapists"] .phead--photo::after,
  .page[data-route="/team/clinical-advisors"] .phead--photo::after,
  .page[data-route="/team/kinesiologists"] .phead--photo::after,
  .page[data-route="/team/physiotherapists"] .phead--photo::after,
  .page[data-route="/team/clinical-counsellors"] .phead--photo::after{
    background:
      linear-gradient(to top, rgba(16,15,18,.88) 0%, rgba(16,15,18,.44) 26%, rgba(16,15,18,0) 54%),
      linear-gradient(105deg, rgba(20,19,22,.54) 0%, rgba(20,19,22,.38) 34%, rgba(20,19,22,.26) 64%, rgba(20,19,22,.20) 100%);
  }
  .page[data-route="/careers/physiotherapistcareers"] .phead--photo::after,
  .page[data-route="/community-physiotherapist"] .phead--photo::after,
  .page[data-route="/rtwss-physiotherapist"] .phead--photo::after{
    background:
      linear-gradient(to top, rgba(16,15,18,.88) 0%, rgba(16,15,18,.44) 26%, rgba(16,15,18,0) 54%),
      linear-gradient(105deg, rgba(20,19,22,.50) 0%, rgba(20,19,22,.34) 34%, rgba(20,19,22,.24) 64%, rgba(20,19,22,.18) 100%);
  }
  /* ...EXCEPT the banners that do not span the full width on desktop (the
     zoomed-out cuts, pinned right with their own fade - see banner-variants.ps1):
     the client did not like the lighter version there, so they keep the
     original darkening (client, 2026-10-31). */
  .page[data-route="/services/mobile-physio"] .phead--photo::after,
  .page[data-route="/services/workplace-health"] .phead--photo::after,
  .page[data-route="/services/treatment/return-to-work"] .phead--photo::after,
  .page[data-route="/services/treatment/active-rehabilitation/concussion-management"] .phead--photo::after,
  .page[data-route="/services/treatment/home-community-rehabilitaion/home-health-hdc"] .phead--photo::after,
  .page[data-route="/services/treatment/ltc-facility-staffing"] .phead--photo::after,
  .page[data-route="/careers/operations-careers"] .phead--photo::after,
  .page[data-route="/careers/kinesiologist-careers"] .phead--photo::after,
  .page[data-route="/community-kinesiologist"] .phead--photo::after,
  .page[data-route="/rtwss-kinesiologist"] .phead--photo::after{
    background:linear-gradient(105deg, rgba(20,19,22,.95) 0%, rgba(20,19,22,.86) 34%, rgba(20,19,22,.42) 64%, rgba(20,19,22,.30) 100%);
  }
  .page[data-route="/services/kinesiology"] .phead--photo::after,
  .page[data-route="/services/treatment/home-community-rehabilitaion/kinesiology-ra"] .phead--photo::after{
    background:
      linear-gradient(to top, rgba(16,15,18,.88) 0%, rgba(16,15,18,.44) 26%, rgba(16,15,18,0) 54%),
      linear-gradient(105deg, rgba(20,19,22,.66) 0%, rgba(20,19,22,.46) 34%, rgba(20,19,22,.26) 64%, rgba(20,19,22,.20) 100%);
  }
  .page[data-route="/ctiplus"] .phead--photo::after{
    background:
      linear-gradient(to top, rgba(16,15,18,.88) 0%, rgba(16,15,18,.44) 26%, rgba(16,15,18,0) 54%),
      linear-gradient(105deg, rgba(20,19,22,.72) 0%, rgba(20,19,22,.52) 34%, rgba(20,19,22,.30) 64%, rgba(20,19,22,.24) 100%);
  }
}

/* --- Job postings: "Updated: <date>" under the title (client, 2026-11-09) ---
   The date moves to the 1st of every month on its own (tools/job-date.ps1). */
.prose .posted{ margin-top:8px; font-family:"Instrument Sans",sans-serif; font-size:14px; letter-spacing:0.02em; color:var(--muted); }

/* header photographs, one rule per distinct banner */
.bn0{background-image:url(/assets/img/0f65048e5041bc42.jpg)}
.bn1{background-image:url(/assets/img/af2de8723323defa.jpg)}
.bn2{background-image:url(/assets/img/3e99921debc7d7d0.jpg)}
.bn3{background-image:url(/assets/img/ed3892fc0f4b02f9.jpg)}
@media (min-width:901px){.bn3{background-image:url(/assets/img/22ef21851dfd196b.jpg);background-size:auto 100%;background-position:100% 50%;transform:none !important}}
.bn4{background-image:url(/assets/img/011ac6738179e2f3.jpg)}
.bn5{background-image:url(/assets/img/0c196e7ca267023d.jpg)}
.bn6{background-image:url(/assets/img/ff8a4c1fecac3e56.jpg)}
.bn7{background-image:url(/assets/img/1417273cd8c07739.jpg)}
.bn8{background-image:url(/assets/img/247f44ba8b60cbc5.jpg)}
.bn9{background-image:url(/assets/img/1d3eee96b9a3e071.jpg)}
@media (min-width:901px),(max-width:900px) and (orientation:landscape){.bn9{background-image:url(/assets/img/ca2882fb26176d29.jpg);background-size:auto 100%;background-position:100% 50%;transform:none !important}}
@media (max-width:900px) and (orientation:portrait){.bn9{background-image:url(/assets/img/a2938eaac870de2a.jpg);background-size:cover;background-position:50% 50%;transform:none !important}}
.bn10{background-image:url(/assets/img/931f7ac35dc26a6e.jpg)}
.bn11{background-image:url(/assets/img/fbcd20f53f49076d.jpg)}
@media (min-width:901px){.bn11{background-image:url(/assets/img/976233475299eb1d.jpg);background-size:auto 100%;background-position:100% 50%;transform:none !important}}
.bn12{background-image:url(/assets/img/2d1e384e59d51b62.jpg)}
@media (min-width:901px),(max-width:900px) and (orientation:landscape){.bn12{background-image:url(/assets/img/a01fc417f42e60ff.jpg);background-size:auto 100%;background-position:100% 50%;transform:none !important}}
@media (max-width:900px) and (orientation:portrait){.bn12{background-image:url(/assets/img/52552cd4d7acd145.jpg);background-size:cover;background-position:50% 0%;transform:none !important}}
.bn13{background-image:url(/assets/img/655aaaf61a08a647.jpg)}
@media (min-width:901px),(max-width:900px) and (orientation:landscape){.bn13{background-image:url(/assets/img/389164f711332d26.jpg);background-size:auto 100%;background-position:100% 50%;transform:none !important}}
@media (max-width:900px) and (orientation:portrait){.bn13{background-image:url(/assets/img/95e5fc39ff5f690b.jpg);background-size:cover;background-position:50% 0%;transform:none !important}}
.bn14{background-image:url(/assets/img/8b05f9c08cd6102f.jpg)}
.bn15{background-image:url(/assets/img/7a82cabea5fa2391.jpg)}
@media (min-width:901px){.bn15{background-image:url(/assets/img/27bc9d2ae54c4a3c.jpg);background-size:auto 100%;background-position:100% 50%;transform:none !important}}
.bn16{background-image:url(/assets/img/f03314714f15649c.jpg)}
@media (min-width:901px),(max-width:900px) and (orientation:landscape){.bn16{background-image:url(/assets/img/1b1a240025b22028.jpg);background-size:auto 100%;background-position:100% 50%;transform:none !important}}
@media (max-width:900px) and (orientation:portrait){.bn16{background-image:url(/assets/img/29950987fcc98f2e.jpg);background-size:cover;background-position:60% 0%;transform:none !important}}
.bn17{background-image:url(/assets/img/3ea1d667fa8a69b2.jpg)}
@media (min-width:901px){.bn17{background-image:url(/assets/img/0195dd77b3ee9a75.jpg);background-size:auto 100%;background-position:100% 50%;transform:none !important}}
.bn18{background-image:url(/assets/img/8f0e7470f01382bb.jpg)}
.bn19{background-image:url(/assets/img/e21fcdca8f3044ec.jpg)}
.bn20{background-image:url(/assets/img/d510f02c06720f6d.jpg)}
@media (max-width:900px) and (orientation:portrait){.page[data-route="/careers/occupational-therapy-careers"] .bn20{background-image:url(/assets/img/0898881c3c5485ea.jpg);background-size:cover;background-position:50% 50%;transform:none !important}}
.bn21{background-image:url(/assets/img/57c72407feae4167.jpg)}
.bn22{background-image:url(/assets/img/2c43c5778e577a95.jpg)}
@media (min-width:901px){.bn22{background-image:url(/assets/img/b64fd088077f9a85.jpg);background-size:auto 100%;background-position:100% 50%;transform:none !important}}
.bn23{background-image:url(/assets/img/2c7c530e63acea04.jpg)}
@media (min-width:901px),(max-width:900px) and (orientation:landscape){.bn23{background-image:url(/assets/img/11d7d1e77a0d6f1d.jpg);background-size:auto 100%;background-position:100% 50%;transform:none !important}}
@media (max-width:900px) and (orientation:portrait){.bn23{background-image:url(/assets/img/74914ef17f9419f6.jpg);background-size:cover;background-position:72% 0%;transform:none !important}}

