/* Homepage cinematic-chrome fix.
   NOT part of the signed-off design CSS (kept separate so parity of every
   page is preserved). The verbatim CSS pins .hdr.is-cinematic at top:0 — the
   same band the in-flow .utility-strip occupies — so the fixed header clips
   the contact row + brand name. Here we drop the fixed header to start just
   BELOW the utility strip, and offset for the WP admin bar when present. */

:root { --ww-strip-h: 40px; }                 /* utility strip: one line */
@media (max-width: 600px) { :root { --ww-strip-h: 60px; } } /* it wraps to two */

/* Header begins below the utility strip instead of on top of it. */
.hdr.is-cinematic { top: var(--ww-strip-h); }
.hdr.is-cinematic::before { top: 0; }         /* keep the scrim glued to the header */

/* Once the utility strip has scrolled out of view (JS adds .is-stuck), the
   header snaps flush to the very top — no empty gap where the strip was. */
.hdr.is-cinematic.is-stuck { top: 0; }
.admin-bar .hdr.is-cinematic.is-stuck { top: 32px; }      /* admin bar stays fixed */
@media (max-width: 782px) {
  .admin-bar .hdr.is-cinematic.is-stuck { top: 46px; }
}

/* Below 1100px the verbatim CSS makes this header position:sticky (in flow,
   no collision) — clear the offset so it doesn't float oddly. */
@media (max-width: 1100px) { .hdr.is-cinematic { top: 0; } }

/* WordPress admin bar: only affects logged-in previewers, never the public
   client view. The relative strip is already pushed by WP's html margin;
   only the FIXED header needs the manual offset. */
.admin-bar .hdr.is-cinematic { top: calc(var(--ww-strip-h) + 32px); }
@media (max-width: 782px) {
  .admin-bar .hdr.is-cinematic { top: calc(var(--ww-strip-h) + 46px); }
}
@media (max-width: 1100px) {
  .admin-bar .hdr.is-cinematic { top: 0; }
}

/* ---- Hero billboard descender spacing ----
   The 'g'/'j' descenders of "Technologists." were colliding with the lede
   paragraph. Add space below the title; em-based so it scales with the
   clamped billboard font (a fixed px gap fails at the largest size, where
   the descender itself is huge). */
.hero-cinematic[data-variant="sticky"] .hero-title {
  margin-bottom: .22em;
  padding-bottom: .04em;
}

/* Mobile/tablet: the billboard's clamp() floor (80px) is far wider than a
   phone, so "Technologists." was clipped off both edges. Scale it down by
   viewport on smaller screens so the longest word stays inside the frame.
   keep-all stops mid-word breaking; the values are tuned by measurement. */
@media (max-width: 900px) {
  .hero-cinematic[data-variant="sticky"] .hero-title {
    /* The hero frame maxes out at ~389px wide, so the font must PLATEAU
       (cap), not keep growing with vw, or "Technologists." clips again.
       Cap chosen so the longest word fits the fixed frame with margin. */
    font-size: clamp(40px, 13vw, 54px);
    line-height: 1.02;
    word-break: keep-all;
    overflow-wrap: normal;
  }
}
@media (max-width: 420px) {
  /* Narrow phones: frame = viewport - 48, so scale with vw (it never hits
     the 54 cap here) to stay as large as possible while fitting. */
  .hero-cinematic[data-variant="sticky"] .hero-title {
    font-size: clamp(32px, 12vw, 54px);
  }
}

/* ---- Accessibility: in-text links not distinguishable by colour alone ----
   The utility strip's phone/email links relied on colour only (WCAG 1.4.1).
   Underline them so they're distinguishable without colour. */
.utility-strip a { text-decoration: underline; text-underline-offset: 2px; }

/* ---- Cookie bar dismissal fix ----
   The signed-off CSS sets `.cookie-bar { display:flex }`, which overrides the
   HTML `hidden` attribute's default `display:none`. Result: the consent bar
   could never be dismissed ("Got it" had no effect) and reappeared for every
   visitor on every page, even after consent. `.cookie-bar[hidden]` (0,2,0)
   outranks `.cookie-bar` (0,1,0) so the attribute now actually hides it.
   Restores the intended JS behaviour: appear after 800ms for new visitors,
   dismiss on "Got it", stay hidden for returning visitors. */
.cookie-bar[hidden] { display: none; }

/* ============================================================= *
 *  R4 client feedback (2026-05-18) — isolated overrides only.    *
 *  Signed-off design CSS (_shared.css / v4.css) is NOT edited.   *
 * ============================================================= */

/* ---- R4 item 1: unify label/eyebrow typeface ----
   Client asked the small all-caps mono "eyebrow" label (e.g. the home-hero
   "Jamaica · since 2010 · Island-wide") to use the same readable typeface as
   the hero sub-line beneath it, applied consistently to every similar label
   site-wide. Switch the global .eyebrow from JetBrains-Mono to the body font
   (Inter, the readable sub-line typeface) but KEEP it as an uppercase tracked
   label (client decision). Keeps the brand yellow dash + spacing. */
.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---- R4 item 7: footer logo aspect ratio ----
   Footer logo looked stretched. The PNG is 4321x979; pin that ratio and let
   width follow height so it can never distort, whatever the column width. */
footer.site .brand-block img {
  height: 40px;
  width: auto;
  max-width: 100%;
  aspect-ratio: 4321 / 979;
  object-fit: contain;
}

/* ---- R4 item 3: notable clients as a horizontal auto-scroll carousel ----
   Was a static 8-col grid that only showed a handful. Now an infinite
   marquee of all clients (track holds the set duplicated exactly twice, so
   a -50% translate loops seamlessly). Pauses on hover; respects
   prefers-reduced-motion (falls back to a centered wrap). */
.trusted-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.trusted-marquee .trusted-track {
  display: flex;
  width: max-content;
  animation: ww-marquee 70s linear infinite;
}
.trusted-marquee:hover .trusted-track,
.trusted-marquee:focus-within .trusted-track { animation-play-state: paused; }
.trusted-marquee .logo {
  flex: 0 0 auto;
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 30px;
  white-space: nowrap;
  font: 700 13px/1.2 var(--font-display);
  letter-spacing: .04em;
  color: rgba(255,255,255,.85);
  border-right: 1px solid rgba(255,255,255,.14);
}
@keyframes ww-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .trusted-marquee { -webkit-mask-image: none; mask-image: none; }
  .trusted-marquee .trusted-track {
    animation: none;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }
  .trusted-marquee .logo { border-right: 0; padding: 8px 18px; }
}

/* ---- R4 item 2: Services mega-menu ----
   Desktop styling is the signed-off design CSS already in _shared.css / v4.css
   (.has-mega/.mega-trigger/.mega-panel/.mega-grid/.mega-item) — restored by
   the header.php markup + site.js. Only the MOBILE drawer accordion (the
   "done differently" mobile treatment) needs styling here. */
.mobile-nav .m-acc { display: flex; flex-direction: column; }
.mobile-nav .m-acc-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; padding: 0; margin: 0; border: 0; background: none;
  font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.mobile-nav .m-acc-trigger .caret {
  font-size: .72em; transition: transform .2s ease; opacity: .7;
}
.mobile-nav .m-acc-trigger[aria-expanded="true"] .caret { transform: rotate(180deg); }
.mobile-nav .m-acc-panel {
  display: flex; flex-direction: column; gap: 12px;
  margin: 14px 0 6px; padding: 4px 0 4px 16px;
  border-left: 2px solid rgba(7,41,86,.16);
}
.mobile-nav .m-acc-panel[hidden] { display: none; }
.mobile-nav .m-acc-panel a { font-size: .9em; opacity: .8; }
.mobile-nav .m-acc-panel a.m-acc-all { font-weight: 700; opacity: 1; }
.mobile-nav .m-acc-panel a.active { opacity: 1; }

/* Center the mega panel under the whole nav (not the trigger) so it never
   clips at the viewport edge — and stays correct for ANY top-level item the
   client turns into a mega menu, wherever it sits in the nav. Desktop only;
   mobile uses the accordion above. */
@media (min-width: 1101px) {
  .primary-nav { position: relative; }
  .primary-nav .has-mega { position: static; }
  .primary-nav .mega-panel { left: 50%; right: auto; transform: translate(-50%, 8px); }
  .primary-nav .has-mega.is-open .mega-panel { transform: translate(-50%, 0); }
}

/* ============================================================= *
 *  R5 client feedback (2026-05-23) — isolated overrides only.    *
 * ============================================================= */

/* ---- R5 item A1: hero billboard line-gap ----
   The signed-off design uses line-height .92 on the giant hero title for
   tight, billboard feel. At 800-weight Manrope that's tight enough that the
   descender of 'g' in 'Building' touches the dot of 'i' in 'Technologists.'
   below. Bump line-height just enough to clear the descenders without
   losing the billboard impact. */
.hero-cinematic[data-variant="sticky"] .hero-title {
  line-height: 1.02;
}

/* ---- R5 item D: project gallery lightbox with prev/next navigation ----
   Custom lightbox (small vanilla JS in site.js) — works for single images
   and galleries alike. Single-image lightbox auto-hides the nav buttons. */
.ww-lb { position: fixed; inset: 0; z-index: 99999;
  background: rgba(5,15,30,.96); display: none;
  align-items: center; justify-content: center; }
.ww-lb.is-open { display: flex; }
.ww-lb img.ww-lb-pic { max-width: 92vw; max-height: 86vh; object-fit: contain;
  box-shadow: 0 18px 60px rgba(0,0,0,.6); border-radius: 4px; }
.ww-lb .ww-lb-btn { background: rgba(255,255,255,.10); color: #fff;
  border: 0; width: 48px; height: 48px; border-radius: 50%;
  cursor: pointer; font: 700 22px/1 system-ui; display: flex;
  align-items: center; justify-content: center;
  transition: background .15s ease, transform .15s ease; }
.ww-lb .ww-lb-btn:hover { background: rgba(255,255,255,.22); }
.ww-lb .ww-lb-close { position: absolute; top: 18px; right: 18px; }
.ww-lb .ww-lb-nav   { position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; font-size: 28px; }
.ww-lb .ww-lb-prev  { left: 18px; }
.ww-lb .ww-lb-next  { right: 18px; }
.ww-lb[data-only-one] .ww-lb-nav { display: none; }
.ww-lb .ww-lb-count { position: absolute; bottom: 18px; left: 50%;
  transform: translateX(-50%); color: rgba(255,255,255,.72);
  font: 600 11px/1 var(--font-mono, monospace); letter-spacing: .14em;
  text-transform: uppercase; }
@media (max-width: 600px) {
  .ww-lb .ww-lb-nav { width: 44px; height: 44px; font-size: 24px; }
  .ww-lb .ww-lb-prev { left: 8px; }
  .ww-lb .ww-lb-next { right: 8px; }
}

/* ---- R5 item D: project galleries become a horizontal scrollable strip ----
   On single-project pages with 2+ gallery images, render them as a swipe-able
   row (snap on each image, smooth wheel/touch scroll). Single images and the
   surrounding content layout are unaffected. Lightbox on click still fires
   via WP 6.4+ native interactivity. */
.single-project .wp-block-gallery.has-nested-images {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 14px;
  padding-bottom: 10px;
  margin: 18px 0 24px;
}
.single-project .wp-block-gallery.has-nested-images > figure.wp-block-image,
.single-project .wp-block-gallery.has-nested-images > .wp-block-image {
  flex: 0 0 88%;
  scroll-snap-align: start;
  margin: 0;
  max-width: none;
}
.single-project .wp-block-gallery.has-nested-images > figure.wp-block-image img,
.single-project .wp-block-gallery.has-nested-images > .wp-block-image img {
  width: 100%; height: auto; border-radius: 6px;
}
@media (min-width: 800px) {
  .single-project .wp-block-gallery.has-nested-images > figure.wp-block-image,
  .single-project .wp-block-gallery.has-nested-images > .wp-block-image { flex: 0 0 62%; }
}
.single-project .wp-block-gallery.has-nested-images::-webkit-scrollbar { height: 8px; }
.single-project .wp-block-gallery.has-nested-images::-webkit-scrollbar-thumb {
  background: rgba(7,41,86,.22); border-radius: 4px;
}

/* ---- R5 item C: glossary 2-column desktop, 1-column mobile ----
   Client wants the glossary to read 2-up on desktop, single-column on phones,
   grouped by letter (existing letter-group markup is preserved). */
.gloss-letter-block .g-3 { grid-template-columns: 1fr; }
@media (min-width: 800px) {
  .gloss-letter-block .g-3 { grid-template-columns: repeat(2, 1fr); }
}

/* ---- R5 item B: mega-panel scroll cap ----
   With 12 services in a 5-col grid the 3rd row overflows the viewport.
   Cap the panel height and let it scroll inside, so the last 2 items
   stay reachable without losing the 5-col layout. */
@media (min-width: 1101px) {
  .primary-nav .mega-panel {
    max-height: min(76vh, 680px);
    overflow-y: auto;
    /* Subtle scrollbar so it doesn't dominate visually */
    scrollbar-width: thin;
    scrollbar-color: rgba(7,41,86,.25) transparent;
  }
  .primary-nav .mega-panel::-webkit-scrollbar { width: 8px; }
  .primary-nav .mega-panel::-webkit-scrollbar-thumb {
    background: rgba(7,41,86,.25); border-radius: 4px;
  }
  .primary-nav .mega-panel::-webkit-scrollbar-thumb:hover { background: rgba(7,41,86,.45); }
}

/* ---- R5 item A3: readiness 31-70% "show what's missing" panel ----
   The old anchor button bounced users back to the questionnaire. Replaced
   with an inline expandable panel that lists the user's actual gaps after
   they finish the quiz, then offers Book a Consultation. */
.sc-mid .sc-missing {
  margin-top: 14px; padding: 16px 16px 18px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px; text-align: left;
}
.sc-mid .sc-missing[hidden] { display: none; }
.sc-mid .sc-missing-empty,
.sc-mid .sc-missing-head {
  font: 600 12.5px/1.5 var(--font-body, system-ui);
  letter-spacing: .01em; margin: 0 0 10px; color: rgba(255,255,255,.78);
}
.sc-mid .sc-missing-head { color: #fff; }
.sc-mid .sc-missing-list {
  list-style: none; margin: 0 0 14px; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.sc-mid .sc-missing-list li {
  padding: 10px 12px; background: rgba(0,0,0,.18); border-radius: 6px;
  border-left: 3px solid var(--yellow, #f4b400);
  font: 500 13px/1.4 var(--font-body, system-ui); color: #fff;
}
.sc-mid .sc-cta-mid-book {
  display: inline-flex; width: 100%; justify-content: center;
}

/* ============================================================= *
 *  R6 client feedback (2026-05-25) — isolated overrides only.    *
 * ============================================================= */

/* ---- R6 B1: booking modal text colour on readiness page ----
   readiness.css flips every `.display` and `.eyebrow` to white for the
   dark theme. The booking modal opens INSIDE body.readiness-page so its
   `<span class="eyebrow">` and `<h2 class="display">` go invisible on the
   modal's white card. Force them back to navy whenever they're inside
   the modal, regardless of page theme. Specificity beats the readiness
   dark-theme rule (0,1,1 → here 0,2,1 / 0,2,2). */
body.readiness-page .booking-modal .modal-card .display,
body.readiness-page .booking-modal .modal-card h2 {
  color: var(--navy);
}
body.readiness-page .booking-modal .modal-card .eyebrow {
  color: var(--slate);
}
body.readiness-page .booking-modal .modal-card label {
  color: var(--slate);
}

/* ---- R6 B2: Services nav trigger on readiness (dark) page ----
   readiness.css line 473 styles `.hdr .primary-nav > a` to white, but the
   mega-trigger is a `<button>` nested inside `<div class="has-mega">` so
   it never matched. Result: the trigger keeps its default navy colour
   on top of the navy-bar header (blue-on-blue, invisible). Match the
   trigger + caret + hover/open states to the other nav items. */
body.readiness-page .hdr .mega-trigger {
  color: var(--paper);
  padding: 8px 14px;
  border-radius: 4px;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
body.readiness-page .hdr .mega-trigger .caret { color: var(--paper); }
body.readiness-page .hdr .mega-trigger:hover,
body.readiness-page .hdr .has-mega.is-open .mega-trigger {
  background: var(--paper);
  color: var(--navy);
  border-bottom-color: transparent;
}
body.readiness-page .hdr .mega-trigger:hover .caret,
body.readiness-page .hdr .has-mega.is-open .mega-trigger .caret {
  color: var(--navy);
}

/* ---- R6 B3: mobile menu — align Services with other items ----
   Other mobile-nav items are `<a>` tags styled `padding: 16px 24px;
   font: 600 16px/1.2 var(--font-display); color: var(--paper);` with a
   3px transparent left border. The accordion trigger lived under
   `<div class="m-acc">` with `padding: 0` so Services sat flush-left,
   was shorter than its neighbours, and the caret was tiny (.72em). Match
   the surrounding items and make the caret unambiguously a chevron. */
.mobile-nav .m-acc-trigger {
  padding: 16px 24px;
  font: 600 16px/1.2 var(--font-display);
  color: var(--paper);
  border-left: 3px solid transparent;
  border-radius: 0;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.mobile-nav .m-acc-trigger:hover {
  background: rgba(255,255,255,.06);
  border-left-color: var(--yellow, #ffd23f);
}
.mobile-nav .m-acc-trigger[aria-expanded="true"] {
  background: rgba(255,255,255,.08);
  border-left-color: var(--yellow, #ffd23f);
}
/* Bigger, clearer chevron pinned to the right edge so it reads as
   "tap to expand" not as decoration. */
.mobile-nav .m-acc-trigger .caret {
  font-size: 18px;
  line-height: 1;
  opacity: 1;
  color: var(--yellow, #ffd23f);
  margin-left: auto;
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  transition: transform .2s ease, background .15s ease;
}
.mobile-nav .m-acc-trigger:hover .caret { background: rgba(255,255,255,.18); }
/* Keep the panel indented to line up with the parent's text (which sits
   24px from the drawer edge because of the 24px horizontal padding). */
.mobile-nav .m-acc-panel {
  margin: 4px 0 10px;
  padding: 4px 0 4px 40px;
  border-left: 2px solid rgba(255,255,255,.16);
  margin-left: 24px;
}
.mobile-nav .m-acc-panel a {
  font-size: .92em;
  opacity: .85;
  color: var(--paper);
  padding: 8px 0;
}

/* ============================================================= *
 *  R7 client feedback (2026-06-01) — isolated overrides only.    *
 * ============================================================= */

/* ---- R7 B: Commercial portfolio collaborator credit ----
   The eyebrow ('In collaboration with X') uses inline styles in the
   template; only the card-level chip needs a tiny tweak so it stays
   below the title without colliding with .meta. */
.proj-card .proj-collab { margin-top: -2px; }

/* ---- R7 A: Testimonial star rating ----
   Classic five-star rating in brand yellow. Empty stars stay visible as
   a dim outline so the score reads at a glance. Same .t-chev class name
   so existing markup keeps working — the clip-path swap does the work. */
.t-rating { display: inline-flex; gap: 4px; align-items: center; line-height: 1; }
.t-rating .t-chev {
  width: 16px; height: 16px;
  background: var(--yellow, #ffd23f);
  /* 5-point star polygon */
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  display: inline-block;
}
.t-rating .t-chev.off { background: rgba(7,41,86,.18); }
/* Dark variant — empty stars need a brighter dim against dark backgrounds. */
.t-rating.is-light .t-chev.off { background: rgba(255,255,255,.22); }

/* ---- R7 A: Circular client avatar ----
   Photo if the testimonial has a featured image; initials on navy + yellow
   otherwise. Sized for the carousel / testimonials page / featured card. */
.t-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy, #0e1a2b);
  color: var(--yellow, #ffd23f);
  font: 700 13px/1 var(--font-display, system-ui);
  letter-spacing: .04em; text-transform: uppercase;
  flex-shrink: 0; overflow: hidden;
  box-shadow: 0 2px 6px rgba(7,41,86,.18);
}
.t-avatar img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.t-avatar.is-lg { width: 56px; height: 56px; font-size: 15px; }
.t-avatar.is-sm { width: 36px; height: 36px; font-size: 11px; }

/* ---- R7 A: Homepage testimonials carousel ----
   Snap-scroll horizontal strip — one card visible on mobile, one wide
   featured card on desktop. Arrows + autoplay are driven by site.js. */
.t-carousel { position: relative; }
.t-carousel-track {
  display: flex; gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 8px 4px 28px;
  /* Hide scrollbar — the strip already has prev/next + dots. */
  scrollbar-width: none;
}
.t-carousel-track::-webkit-scrollbar { display: none; }
.t-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  padding: 28px 30px 24px;
  box-shadow: 0 6px 22px rgba(7,41,86,.06);
  position: relative;
}
@media (min-width: 800px)  { .t-card { flex-basis: 76%; padding: 32px 36px 26px; } }
@media (min-width: 1100px) { .t-card { flex-basis: 62%; } }
.t-card .t-q {
  font: 500 17px/1.55 var(--font-body, system-ui);
  color: var(--navy, #0e1a2b);
  margin: 0 0 18px;
  letter-spacing: 0;
}
@media (min-width: 1100px) {
  .t-card .t-q { font-size: 18px; line-height: 1.55; }
}
.t-card .t-q::before {
  content: '“'; display: block;
  font: 800 38px/0.7 var(--font-display, system-ui);
  color: var(--yellow, #ffd23f);
  margin: 0 0 6px -2px;
}
.t-card .t-meta {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  padding-top: 14px; border-top: 1px solid #eef2f7;
}
.t-card .t-name {
  font: 700 12px/1 var(--font-mono, monospace);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy, #0e1a2b);
}
.t-card .t-sep { color: rgba(7,41,86,.25); }
.t-card .t-verified {
  display: inline-flex; align-items: center; gap: 4px;
  font: 600 10px/1 var(--font-mono, monospace);
  letter-spacing: .10em; text-transform: uppercase;
  color: #1d7a3a; padding: 3px 7px;
  background: rgba(29,122,58,.10); border-radius: 4px;
}
.t-card .t-date,
.t-card .t-proj {
  font: 500 10.5px/1 var(--font-mono, monospace);
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--slate, #6b7a8d);
}
.t-card .t-proj a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.t-card .t-rating { margin-left: auto; }
/* Avatar in the carousel meta row sits a touch smaller than the .is-lg
   default so it balances the compact card body. */
.t-card .t-avatar { width: 40px; height: 40px; font-size: 12px; }
@media (max-width: 600px) {
  .t-card { padding: 22px 20px 20px; }
  .t-card .t-q { font-size: 15.5px; line-height: 1.55; }
  .t-card .t-q::before { font-size: 32px; }
  .t-card .t-rating { margin-left: 0; flex-basis: 100%; }
}

/* Controls + dot indicator below the carousel. */
.t-carousel-controls {
  display: flex; gap: 8px; align-items: center; justify-content: center;
  margin-top: 8px;
}
.t-carousel-controls button {
  width: 42px; height: 42px; border: 1px solid #cbd5e1;
  background: #fff; border-radius: 50%; cursor: pointer;
  font: 700 18px/1 system-ui; color: var(--navy, #0e1a2b);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.t-carousel-controls button:hover {
  background: var(--navy, #0e1a2b); color: #fff; border-color: var(--navy, #0e1a2b);
}
.t-carousel-controls .t-counter {
  margin: 0 8px; font: 600 12px/1 var(--font-mono, monospace);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate, #6b7a8d);
}

/* ---- R7 A: /testimonials/ page layout ----
   Featured row (1-3 oversized pull-quote cards) followed by a tighter grid. */
.testimonials-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 56px;
}
@media (min-width: 1000px) {
  .testimonials-featured { grid-template-columns: repeat(2, 1fr); }
  .testimonials-featured > :first-child { grid-column: 1 / -1; }
}
.testimonial-card {
  background: #fff; border: 1px solid #e6ebf2; border-radius: 10px;
  padding: 26px 24px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.testimonial-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(7,41,86,.08); }
.testimonial-card.is-featured { padding: 36px 34px; }
.testimonial-card .q {
  font: 600 18px/1.45 var(--font-display, system-ui);
  color: var(--navy, #0e1a2b); margin: 0;
}
.testimonial-card.is-featured .q { font-size: 24px; line-height: 1.35; }
.testimonial-card .who {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  padding-top: 14px; border-top: 1px solid #eef2f7;
}
.testimonial-card .name { font: 700 12.5px/1 var(--font-mono, monospace); letter-spacing: .12em; text-transform: uppercase; color: var(--navy, #0e1a2b); }
.testimonial-card .sep  { color: rgba(7,41,86,.25); }
.testimonial-card .date, .testimonial-card .role { font: 500 11px/1 var(--font-mono, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--slate, #6b7a8d); }
.testimonial-card .t-rating { margin-left: auto; }
.testimonial-cta {
  margin-top: 48px; padding: 36px;
  background: rgba(7,41,86,.04);
  border: 1px dashed rgba(7,41,86,.18); border-radius: 12px;
  text-align: center;
}
.testimonial-cta h3 {
  font: 700 22px/1.2 var(--font-display, system-ui);
  color: var(--navy, #0e1a2b); margin: 0 0 6px;
}
.testimonial-cta p { color: var(--slate, #6b7a8d); margin: 0 0 18px; }

/* ---- R7 A: /share-your-experience/ submission form ---- */
.share-form-wrap {
  max-width: 640px; margin: 0 auto;
  background: #fff; border: 1px solid #e6ebf2; border-radius: 12px;
  padding: 36px;
}
.share-form-wrap label {
  display: block; font: 700 13px/1.2 var(--font-mono, monospace);
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy, #0e1a2b); margin: 0 0 6px;
}
.share-form-wrap input[type=text],
.share-form-wrap input[type=email],
.share-form-wrap textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid #cbd5e1; border-radius: 6px;
  font: 500 15px/1.4 var(--font-body, system-ui);
  background: #fafbfc; transition: border-color .15s ease, background .15s ease;
}
.share-form-wrap input:focus,
.share-form-wrap textarea:focus {
  outline: none; border-color: var(--navy, #0e1a2b); background: #fff;
}
.share-form-wrap textarea { min-height: 140px; resize: vertical; }
.share-form-wrap .field { margin-bottom: 18px; }
.share-form-wrap .rating-picker {
  display: flex; gap: 8px; align-items: center;
}
.share-form-wrap .rating-picker button {
  width: 36px; height: 36px; padding: 0;
  border: 1px solid #cbd5e1; background: #fff; border-radius: 6px;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s ease, border-color .15s ease;
}
.share-form-wrap .rating-picker button .t-chev {
  width: 16px; height: 16px;
}
.share-form-wrap .rating-picker button[aria-pressed=true] {
  background: var(--navy, #0e1a2b); border-color: var(--navy, #0e1a2b);
}
.share-form-wrap .rating-picker button[aria-pressed=true] .t-chev { background: var(--yellow, #ffd23f); }
.share-form-wrap [data-share-status] {
  margin-top: 12px; padding: 10px 12px; border-radius: 6px;
  font: 500 13px/1.4 var(--font-body, system-ui);
}
.share-form-wrap [data-share-status][data-state=ok]   { background: rgba(29,122,58,.10); color: #1d7a3a; }
.share-form-wrap [data-share-status][data-state=err]  { background: rgba(200,40,40,.10); color: #b91c1c; }
.share-token-greeting {
  background: rgba(255,210,63,.18); border: 1px solid rgba(255,210,63,.55);
  border-radius: 8px; padding: 14px 16px; margin-bottom: 24px;
  font: 500 14px/1.4 var(--font-body, system-ui); color: var(--navy, #0e1a2b);
}
.share-token-greeting strong { font-weight: 700; }

/* ============================================================= *
 *  R7 — "How to use your website" guide                          *
 *  Same markup rendered inside wp-admin (cockpit Help) and on    *
 *  /how-to/. Scoped under .ww-help-* so it never bleeds.         *
 * ============================================================= */

/* Two-column shell for the public page: sticky TOC + main content. */
.ww-help-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 1000px) {
  .ww-help-shell { grid-template-columns: 220px minmax(0, 1fr); gap: 56px; }
  .ww-help-toc   { position: sticky; top: 110px; align-self: start; }
}
.ww-help-toc h3 {
  font: 700 11px/1 var(--font-mono, monospace);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate, #6b7a8d);
  margin: 0 0 14px;
}
.ww-help-toc ol {
  list-style: none; counter-reset: ww-toc;
  margin: 0; padding: 0;
}
.ww-help-toc li {
  counter-increment: ww-toc;
  padding: 6px 0; border-top: 1px solid #eef2f7;
  font: 500 13.5px/1.35 var(--font-body, system-ui);
}
.ww-help-toc li:first-child { border-top: 0; padding-top: 0; }
.ww-help-toc li::before {
  content: counter(ww-toc, decimal-leading-zero) '.';
  color: var(--slate, #6b7a8d);
  font: 600 11px/1 var(--font-mono, monospace);
  letter-spacing: .08em; margin-right: 8px;
}
.ww-help-toc a { color: var(--navy, #0e1a2b); text-decoration: none; }
.ww-help-toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ww-help-print { margin-top: 18px; padding-top: 16px; border-top: 1px solid #eef2f7; }

/* Card grid landing — used at the top of /how-to/ and of cockpit Help. */
.ww-help-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 12px;
}
@media (min-width: 700px)  { .ww-help-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ww-help-grid { grid-template-columns: repeat(3, 1fr); } }
.ww-help-card {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  grid-template-rows: auto auto;
  gap: 2px 14px;
  align-items: center;
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 10px;
  padding: 18px 20px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.ww-help-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(7,41,86,.10);
  border-color: var(--yellow, #ffd23f);
}
.ww-help-card-ic { grid-row: 1 / span 2; font-size: 24px; line-height: 1; }
.ww-help-card-eb {
  font: 700 10.5px/1 var(--font-mono, monospace);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--slate, #6b7a8d);
}
.ww-help-card-tl {
  font: 700 15px/1.25 var(--font-display, system-ui);
  color: var(--navy, #0e1a2b);
}
.ww-help-card-go {
  grid-row: 1 / span 2;
  font: 600 11px/1 var(--font-mono, monospace);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--slate, #6b7a8d);
  align-self: center;
}

/* Subtle audience colour dot on the left of the card. */
.ww-help-card.ww-help-aud-client { box-shadow: inset 3px 0 0 var(--yellow, #ffd23f); }
.ww-help-card.ww-help-aud-staff  { box-shadow: inset 3px 0 0 var(--navy, #0e1a2b); }
.ww-help-card.ww-help-aud-all    { box-shadow: inset 3px 0 0 rgba(7,41,86,.20); }

.ww-help-divider {
  border: 0; height: 1px; background: #eef2f7;
  margin: 40px 0 32px;
}

/* Topic detail block — head / step list / sidebar screenshot. */
.ww-help-topic {
  scroll-margin-top: 110px;
  padding: 24px 0 36px;
  border-top: 1px solid #eef2f7;
}
.ww-help-topic:first-of-type { border-top: 0; padding-top: 0; }
.ww-help-topic-head { margin-bottom: 24px; }
.ww-help-eyebrow {
  display: inline-block;
  font: 700 11px/1 var(--font-mono, monospace);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--yellow, #ffd23f);
  background: var(--navy, #0e1a2b);
  padding: 5px 9px; border-radius: 3px;
  margin-bottom: 12px;
}
.ww-help-topic h2 {
  font: 700 28px/1.2 var(--font-display, system-ui);
  color: var(--navy, #0e1a2b);
  margin: 0 0 10px; letter-spacing: -.01em;
}
.ww-help-summary {
  font: 500 16px/1.55 var(--font-body, system-ui);
  color: var(--slate, #6b7a8d);
  margin: 0; max-width: 720px;
}
.ww-help-body-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
@media (min-width: 900px) {
  .ww-help-body-grid { grid-template-columns: 1fr 380px; gap: 36px; }
}
.ww-help-steps h3,
.ww-help-tips h4 {
  font: 700 11px/1 var(--font-mono, monospace);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate, #6b7a8d);
  margin: 0 0 14px;
}
.ww-help-steps ol {
  list-style: none; counter-reset: ww-step;
  margin: 0; padding: 0;
}
.ww-help-steps ol li {
  counter-increment: ww-step;
  position: relative;
  padding: 12px 0 12px 44px;
  border-top: 1px solid #eef2f7;
  font: 500 15px/1.55 var(--font-body, system-ui);
  color: var(--navy, #0e1a2b);
}
.ww-help-steps ol li:first-child { border-top: 0; }
.ww-help-steps ol li::before {
  content: counter(ww-step, decimal-leading-zero);
  position: absolute; left: 0; top: 14px;
  width: 32px; height: 24px;
  font: 700 11px/24px var(--font-mono, monospace);
  letter-spacing: .12em;
  color: var(--yellow, #ffd23f);
  background: var(--navy, #0e1a2b);
  text-align: center; border-radius: 3px;
}
.ww-help-steps strong { color: var(--navy, #0e1a2b); font-weight: 700; }
.ww-help-steps code {
  font: 600 12.5px/1.4 var(--font-mono, monospace);
  background: #fff3cf; padding: 1px 6px; border-radius: 3px;
}

.ww-help-tips {
  margin-top: 24px; padding: 16px 18px;
  background: #fff8e1;
  border-left: 3px solid var(--yellow, #ffd23f);
  border-radius: 4px;
}
.ww-help-tips ul {
  list-style: disc; margin: 0; padding-left: 18px;
  font: 500 14px/1.55 var(--font-body, system-ui);
  color: var(--navy, #0e1a2b);
}
.ww-help-tips li + li { margin-top: 6px; }

.ww-help-video {
  margin-top: 24px;
  position: relative; aspect-ratio: 16 / 9;
  background: #000; border-radius: 8px; overflow: hidden;
}
.ww-help-video iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

.ww-help-shot img {
  width: 100%; height: auto; border-radius: 8px;
  border: 1px solid #e6ebf2;
  box-shadow: 0 8px 22px rgba(7,41,86,.10);
}
.ww-help-shot-caption {
  display: block; margin-top: 8px;
  font: 600 11px/1.4 var(--font-mono, monospace);
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--slate, #6b7a8d);
}
.ww-help-shot-placeholder {
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  background: #f8fafc;
  border: 1px dashed #cbd5e1; border-radius: 8px;
  min-height: 220px; padding: 24px;
  color: var(--slate, #6b7a8d); text-align: center;
  font: 500 13px/1.4 var(--font-body, system-ui);
  gap: 6px;
}
.ww-help-shot-placeholder-i { font-size: 24px; }

/* ---- In-admin tweaks (cockpit chrome) — keep typography readable
   inside the narrower wp-admin column. */
.ww-help-admin h1 { color: var(--navy, #0e1a2b); }
.ww-help-admin .ww-help-topic h2 { font-size: 24px; }
.ww-help-admin .ww-help-grid { margin-top: 18px; }
.ww-help-admin .ww-help-body-grid {
  /* WP admin uses less width — drop the screenshot to its own row below 1100. */
  grid-template-columns: 1fr;
}
@media (min-width: 1300px) {
  .ww-help-admin .ww-help-body-grid { grid-template-columns: 1fr 340px; }
}

/* ---- Print: drop chrome, keep guide. */
@media print {
  .site-header, .site-footer, .ww-help-print, .booking-modal, .fab-whatsapp, .cookie-bar { display: none !important; }
  .page-hero { padding: 0 !important; }
  .ww-help-shell { display: block !important; }
  .ww-help-toc { display: none !important; }
  .ww-help-card { break-inside: avoid; }
  .ww-help-topic { break-inside: avoid; page-break-after: always; }
}
