/* ============================================================
   SITE REFINEMENT LAYER (all pages) · October 2026
   One display voice (Cormorant Garamond), one text voice (Figtree),
   no kicker labels or decorative numbering, quieter surfaces,
   branded browser details.
   ============================================================ */

/* ---------- Browser surfaces ---------- */
::selection {
  background: var(--wc-gold-200);
  color: var(--wc-ink-900);
}
.hero-cine ::selection,
.compare-section ::selection,
.quote-section ::selection,
.sec-hero ::selection,
.gs-left ::selection,
.lp-hero ::selection,
.jx-hero ::selection {
  background: var(--wc-gold-500);
  color: var(--wc-ink-900);
}
:focus-visible {
  outline: 2px solid var(--wc-gold-500);
  outline-offset: 3px;
}
.btn:focus-visible,
.approach-btn:focus-visible {
  outline-offset: 4px;
}
input,
textarea {
  caret-color: var(--wc-gold-700);
}
input[type='checkbox'],
input[type='radio'] {
  accent-color: var(--wc-gold-600);
}
a {
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
html {
  scrollbar-color: var(--wc-stone-300) var(--wc-parchment-100);
}
h1,
h2,
h3,
.pull-quote {
  text-wrap: balance;
}
p,
li,
figcaption {
  text-wrap: pretty;
}

/* ---------- Display type: one voice on every page ---------- */
.hero-cine .h-cine,
.h-section,
.delivers-head h2,
.footer-cta h3,
.pull-quote,
.showcase .copy h3,
.sec-cert h2,
.sec-control h2,
.sec-faq h2,
.sec-cta h2,
.sec-rows-title,
.co-hero h1,
.co-way-title,
.co-numbers h2,
.res-cta h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: normal;
  letter-spacing: -0.012em;
}
.h-section,
.delivers-head h2 {
  font-size: clamp(38px, 4.3vw, 60px);
  line-height: 1.03;
  margin: 0 0 22px;
  max-width: 21ch;
  hyphens: manual;
}
.ps-head .h-section {
  max-width: 20ch;
}
.delivers-head {
  max-width: none;
}
.delivers-head h2 {
  max-width: 24ch;
}
.delivers-head p {
  max-width: 58ch;
}
.compare-section .h-section {
  margin: 0 0 22px;
  max-width: 20ch;
  color: var(--wc-parchment-50);
}
.maturity-section .h-section {
  margin: 0 0 22px;
  max-width: 22ch;
}
.showcase .copy h3 {
  font-size: clamp(32px, 3.2vw, 44px);
  line-height: 1.06;
  margin-top: 0;
  max-width: 18ch;
}
.bridge-title {
  white-space: normal;
}

.sec-cert h2,
.sec-control h2 {
  font-size: clamp(34px, 3.6vw, 50px);
  line-height: 1.08;
}
.sec-rows-title,
.sec-faq h2 {
  font-size: clamp(30px, 2.6vw, 36px);
  line-height: 1.1;
}
.sec-cta h2 {
  font-size: clamp(36px, 3.6vw, 52px);
  line-height: 1.06;
}
.co-hero h1 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.2;
  max-width: 32ch;
  width: auto;
}
.co-way-title {
  font-size: clamp(28px, 2.4vw, 34px);
}
.co-numbers h2 {
  font-size: clamp(36px, 4vw, 52px);
  font-style: italic;
  color: var(--wc-gold-700);
}
.res-cta h2 {
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.04;
}
.res-cta h2 em,
.h-section em,
.co-hero h1 em {
  font-family: var(--font-serif);
}

/* page heroes: serif roman + serif italic accent, not sans + serif */
.sec-h1,
.gs-headline,
.res-header h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.02;
}
.sec-h1 {
  font-size: clamp(44px, 4.6vw, 66px);
}
.gs-headline {
  font-size: clamp(44px, 4.2vw, 62px);
}
.res-header h1 {
  font-size: clamp(44px, 4.4vw, 64px);
}
.sec-h1 em,
.gs-headline em,
.res-header h1 em {
  font-family: var(--font-serif);
  font-style: italic;
}

/* headings no longer have a label sitting above them */
.tt-head .tt-title,
.bridge-title,
.team-bridge-title {
  margin-top: 0;
}
.sec-hero h1,
.gs-left h1,
.gs-left h2,
.lp-hero h1,
.jx-hero h1,
.legal-hero h1,
.res-header h1,
.cr-hero h1 {
  margin-top: 0;
}

/* ---------- Text voice ---------- */
.lede,
.lede-dark,
.delivers-head p {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  max-width: 52ch;
}
.lede,
.delivers-head p,
.maturity-section .lede-dark {
  color: var(--fg-2);
}
.compare-section .lede-dark {
  color: rgba(248, 245, 238, 0.72);
  max-width: 54ch;
}

/* ---------- Nav: one gold button per screen ---------- */
.site-nav:not(.scrolled) .nav-right .btn-gold {
  background: rgba(248, 245, 238, 0.06);
  color: var(--wc-parchment-50);
  border-color: rgba(248, 245, 238, 0.32);
}
.site-nav:not(.scrolled) .nav-right .btn-gold:hover {
  background: rgba(248, 245, 238, 0.14);
  border-color: rgba(248, 245, 238, 0.5);
}
.site-nav .nav-right .btn-gold {
  transition:
    background 220ms ease-out,
    color 220ms ease-out,
    border-color 220ms ease-out;
}

/* ---------- Hero ---------- */
.hero-cine .h-cine {
  font-size: clamp(58px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.016em;
  margin: 0 0 26px;
  color: var(--wc-parchment-50);
}
.hero-cine .tagline {
  font-size: 18px;
  line-height: 1.45;
  color: rgba(248, 245, 238, 0.84);
}
.hero-sub-row {
  gap: 24px;
}

/* ---------- Tell-tale signs: quotes stand on their own ---------- */
.tt-item {
  grid-template-columns: 1fr;
  gap: 0;
}
.tt-quote {
  font-size: 23px;
  line-height: 1.42;
  color: var(--wc-gold-800);
}
.tt-sub {
  color: var(--fg-2);
  font-weight: 400;
}

/* ---------- Regimes strip: names, not code ---------- */
.regime {
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0;
  opacity: 1;
  color: var(--fg-2);
}
.regimes .lbl {
  letter-spacing: 0.12em;
  color: var(--fg-2);
}

/* ---------- Features / delivers: no decorative numbers ---------- */
.fw-head {
  margin-bottom: 72px;
}
.fw-head .lede {
  max-width: 38ch;
}
.feature {
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--border-2);
}
.h-feature {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.012em;
}
.feature p {
  font-size: 15px;
}
.ps-title {
  font-size: 21px;
  font-weight: 500;
  margin-top: 6px;
}
.ps-body {
  font-size: 14.5px;
  line-height: 1.6;
}
.delivers-head {
  margin-bottom: 56px;
}
.delivers-item {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 28px 0;
}
.delivers-item h3 {
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 8px;
}
.delivers-item p {
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 48ch;
}

/* ---------- Maturity ---------- */
.maturity-section .lede-dark {
  margin-bottom: 56px;
}
.maturity-track::before {
  opacity: 0.35;
}
.maturity-stage[data-tone='amber'] .num {
  color: var(--wc-warning-700);
  border-color: var(--wc-warning-500);
}
.maturity-stage[data-tone='bronze'] .num {
  color: var(--wc-gold-800);
  border-color: var(--wc-gold-700);
}
.audit-readiness .label {
  font-size: 11px;
  letter-spacing: 0.14em;
}

/* ---------- Compare ---------- */
.approach-btn {
  padding: 11px 18px 11px 14px;
  font-size: 14px;
}
.approach-btn.active {
  color: var(--wc-gold-300);
}
.cg-header-cell {
  color: rgba(248, 245, 238, 0.58);
  letter-spacing: 0.12em;
}
.cg-cell {
  font-size: 14px;
}
.compare-note {
  color: rgba(248, 245, 238, 0.58);
  font-size: 14px;
}

/* ---------- Impact ---------- */
.impact-intro .lead {
  font-size: clamp(26px, 2.3vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 16ch;
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--fg-1);
}
.impact-stat {
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -0.04em;
}
.impact-caption {
  font-size: 14.5px;
  color: var(--fg-2);
  max-width: 24ch;
}
.impact-cite {
  opacity: 1;
  color: var(--fg-3);
}

/* ---------- Pull quote ---------- */
.quote-section {
  padding: 136px 0;
}
.quote-fig {
  margin: 0;
}
blockquote.pull-quote {
  border: 0;
  padding: 0;
  margin: 0;
  font-size: clamp(34px, 3.9vw, 54px);
  line-height: 1.14;
  max-width: 26ch;
  color: var(--wc-parchment-50);
}
.pull-quote .hang {
  margin-left: -0.42em;
  color: var(--wc-gold-400);
}
.pull-quote em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--wc-gold-400);
}
.quote-attr {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.01em;
  color: var(--wc-stone-200);
}
.quote-attr::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--wc-gold-500);
}

/* ---------- Closing CTA ---------- */
.cta {
  padding: 152px 0;
}
.cta .h-section {
  font-size: clamp(46px, 5.6vw, 80px);
  margin: 0 auto 36px;
  max-width: 14ch;
}
.cta .h-section em {
  color: var(--wc-gold-700);
}
.cta .note {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 13px;
  color: var(--fg-3);
  margin-top: 28px;
  letter-spacing: 0.01em;
}

/* ---------- Footer ---------- */
.footer-cta h3 {
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.08;
  margin: 0 0 14px;
  max-width: 22ch;
}
footer .brand-block p {
  font-size: 18px;
}
footer h5 {
  color: var(--wc-gold-800);
}
footer .bottom,
footer .bottom .marks span {
  color: var(--wc-ink-500);
}

/* ---------- Legibility floor: no functional text under 11px ---------- */
.res-card-tag,
.gs-contact .label,
.gs-cal-dow,
.cg-header-cell,
footer .bottom .marks,
.product-frame th,
.pill-mini,
.classifier .rationale::before,
.ps-mock-table .row .status {
  font-size: 11px;
}
.impact-stat .unit {
  font-size: 0.42em;
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .hero-cine .h-cine {
    font-size: 56px !important;
    line-height: 1;
  }
  .hero-cine .tagline {
    font-size: 16px !important;
    max-width: 30ch;
  }
  .h-section,
  .delivers-head h2 {
    font-size: 40px !important;
  }
  .cta .h-section {
    font-size: 46px;
  }
  .showcase .copy h3 {
    font-size: 32px;
  }
  .tt-quote {
    font-size: 19px;
  }
  .fw-head {
    margin-bottom: 48px;
  }
  .quote-section {
    padding: 96px 0;
  }
  blockquote.pull-quote {
    font-size: 34px;
  }
  .pull-quote .hang {
    margin-left: 0;
  }
  .cta {
    padding: 112px 0;
  }
  .co-hero h1 {
    font-size: 28px;
  }
  .sec-h1,
  .gs-headline,
  .res-header h1 {
    font-size: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .approach-btn {
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ============================================================
   MOTION LAYER: "the reading line"
   One idea: a thin gold line that reads, and what it has read
   comes into focus. Hero headline (focal) and the maturity
   track. Everything else is feedback only; section headings
   no longer fade in one by one.
   ============================================================ */
:root {
  --ease-arrive: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-read: cubic-bezier(0.45, 0, 0.2, 1);
}

/* ---------- Hero: the headline is read into focus ---------- */
.hero-cine .h-cine {
  position: relative;
}
.hero-cine .h-cine .read {
  display: inline-block;
  -webkit-mask-image: linear-gradient(90deg, #000 0 50%, transparent 54% 100%);
  mask-image: linear-gradient(90deg, #000 0 50%, transparent 54% 100%);
  -webkit-mask-size: 220% 100%;
  mask-size: 220% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 0 0;
  mask-position: 0 0;
  animation: wc-read 2000ms var(--ease-read) 300ms both;
}
.hero-cine .h-cine::after {
  content: '';
  position: absolute;
  left: 0;
  top: 2%;
  bottom: -12%;
  width: 100%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(232, 216, 159, 0.95) 0 1.5px,
    transparent 1.5px
  );
  filter: drop-shadow(0 0 10px rgba(210, 184, 106, 0.7));
  opacity: 0;
  animation:
    wc-read-line 2000ms var(--ease-read) 300ms both,
    wc-read-line-fade 2000ms linear 300ms both;
}
@keyframes wc-read {
  from {
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
    filter: blur(6px);
  }
  55% {
    filter: blur(0);
  }
  to {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
    filter: blur(0);
  }
}
/* the line rides the mask's leading edge (same curve, same span) */
@keyframes wc-read-line {
  from {
    transform: translateX(-5.6%);
  }
  to {
    transform: translateX(114.4%);
  }
}
@keyframes wc-read-line-fade {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 0;
  }
  17% {
    opacity: 1;
  }
  56% {
    opacity: 1;
  }
  64% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.hero-cine .hero-sub-row {
  animation: wc-settle 900ms var(--ease-arrive) 1350ms both;
}
.site-nav {
  animation: wc-fade 700ms ease-out 100ms both;
}
@keyframes wc-settle {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes wc-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ---------- Maturity: the track is read left to right ---------- */
.motion-ready .maturity-track::before {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1400ms var(--ease-arrive) 150ms;
}
.motion-ready .maturity-stage .num {
  opacity: 0.25;
  transform: scale(0.86);
  transition:
    opacity 420ms ease-out,
    transform 600ms var(--ease-arrive),
    box-shadow 900ms ease-out;
}
.motion-ready .maturity-stage:nth-child(1) .num {
  transition-delay: 150ms;
}
.motion-ready .maturity-stage:nth-child(2) .num {
  transition-delay: 420ms;
}
.motion-ready .maturity-stage:nth-child(3) .num {
  transition-delay: 690ms;
}
.motion-ready .maturity-stage:nth-child(4) .num {
  transition-delay: 960ms;
}
.motion-ready .maturity-stage:nth-child(5) .num {
  transition-delay: 1230ms;
}
.motion-ready .maturity-section.is-read .maturity-track::before {
  transform: scaleX(1);
}
.motion-ready .maturity-section.is-read .maturity-stage .num {
  opacity: 1;
  transform: none;
}
.motion-ready .maturity-section.is-read .maturity-stage[data-tone='gold'] .num {
  animation: wc-ring 1100ms ease-out 1500ms both;
}
@keyframes wc-ring {
  from {
    box-shadow: 0 0 0 0 rgba(205, 176, 97, 0.55);
  }
  to {
    box-shadow: 0 0 0 14px rgba(205, 176, 97, 0);
  }
}

/* ---------- Compare: the ratings fill when your setup changes ---------- */
.cg-cell:not(.wc-cell) .cg-pip:not(.empty) {
  animation: wc-pip 320ms var(--ease-arrive) both;
}
.cg-cell:not(.wc-cell) .cg-pip:nth-child(2) {
  animation-delay: 45ms;
}
.cg-cell:not(.wc-cell) .cg-pip:nth-child(3) {
  animation-delay: 90ms;
}
.cg-cell:not(.wc-cell) .cg-pip:nth-child(4) {
  animation-delay: 135ms;
}
.cg-cell:not(.wc-cell) .cg-pip:nth-child(5) {
  animation-delay: 180ms;
}
.cg-cell:not(.wc-cell) .cg-rating-label {
  animation: wc-fade 300ms ease-out 120ms both;
}
@keyframes wc-pip {
  from {
    transform: scale(0.2);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.approach-btn .check-box {
  transition:
    background 160ms ease-out,
    border-color 160ms ease-out,
    transform 160ms var(--ease-arrive);
}
.approach-btn:active .check-box {
  transform: scale(0.88);
}

/* ---------- Feedback: arrows point where they go ---------- */
.btn svg,
.footer-form .submit svg {
  transition: transform 220ms var(--ease-arrive);
}
.btn:hover .lucide-arrow-right {
  transform: translateX(3px);
}
.footer-form .submit:hover .lucide-arrow-down-to-line {
  transform: translateY(2px);
}
.btn:active {
  transform: translateY(1px);
}

/* ---------- Reduced motion: keep meaning, drop movement ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-cine .h-cine .read {
    -webkit-mask-image: none;
    mask-image: none;
    animation: wc-fade 500ms ease-out 150ms both;
  }
  .hero-cine .h-cine::after {
    display: none;
  }
  .hero-cine .hero-sub-row {
    animation: wc-fade 500ms ease-out 400ms both;
  }
  .motion-ready .maturity-track::before {
    transform: none;
    transition: none;
  }
  .motion-ready .maturity-stage .num {
    transform: none;
    transition: opacity 300ms ease-out;
    transition-delay: 0ms !important;
  }
  .motion-ready
    .maturity-section.is-read
    .maturity-stage[data-tone='gold']
    .num {
    animation: none;
  }
  .cg-cell:not(.wc-cell) .cg-pip:not(.empty) {
    animation: wc-fade 200ms ease-out both;
  }
  .btn:hover .lucide-arrow-right,
  .footer-form .submit:hover .lucide-arrow-down-to-line,
  .btn:active {
    transform: none;
  }
}

/* ============================================================
   LAYOUT LAYER: rhythm, grouping, mobile structure
   Home reads in three acts: Recognise → Product → Proof.
   Sections that continue the same act on the same background
   join with a tight interval and a hairline instead of a full
   section gap, so the page breathes in phrases, not in a
   uniform 120px beat.
   ============================================================ */
:root {
  --sec-gap: clamp(88px, 9vw, 128px);
  --sec-join: clamp(36px, 4vw, 56px);
}

/* continuation of the previous section (same act, same ground) */
.join-prev {
  padding-top: 0 !important;
  border-top: 0 !important;
}
.join-prev > .wrap {
  border-top: 1px solid var(--border-2);
  padding-top: var(--sec-join);
}
section:has(+ .join-prev) {
  padding-bottom: var(--sec-join) !important;
}
.compare-section.join-prev > .wrap {
  border-top-color: transparent;
}

/* the two showcases are one group */
.showcase + .showcase {
  border-top: 0;
}

/* act openers get a little more air than ordinary sections */
.home-act-open {
  padding-top: var(--sec-gap);
}

/* decorative blur blobs behind the showcases add nothing */
.showcase::before {
  display: none;
}

/* the newsletter band is a small job; give it a smaller footprint */
.footer-cta {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.footer-cta-inner {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* scale statement sits beside the numbers it introduces */
.impact-intro .lead {
  max-width: 20ch;
  font-size: clamp(26px, 2.2vw, 30px);
}

/* icon tiles stacked over headings read as template filler */
.cr-perk .ico,
.lp-card .ico {
  display: none;
}
.cr-perk {
  border-top: 1px solid var(--border-2);
  padding-top: 22px;
}

/* showcases stack below 1000px, copy first (the reversed one used to stay two-up) */
@media (max-width: 1000px) {
  .showcase .row.reverse {
    grid-template-columns: 1fr;
  }
  .showcase .row.reverse .copy {
    order: -1;
  }
}

/* ---------- Mobile: shorter page, structure that suits a thumb ---------- */
@media (max-width: 760px) {
  .telltale,
  .bridge,
  .team-bridge,
  .product-suite,
  .delivers,
  .maturity-section,
  .compare-section,
  .impact-section,
  .quote-section,
  .cta,
  #frameworks,
  .showcase,
  .sec-cert,
  .sec-rows,
  .sec-control,
  .sec-faq,
  .co-way,
  .co-quote,
  .co-numbers,
  .cr-roles,
  .cr-values,
  .res-cta {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .showcase + .showcase {
    padding-top: 0;
  }
  .footer-cta-inner {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .join-prev > .wrap {
    padding-top: 32px;
  }
  section:has(+ .join-prev) {
    padding-bottom: 32px !important;
  }

  /* product suite and maturity stages become swipeable rows with a visible peek */
  .ps-grid,
  .maturity-cards {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px;
    margin-inline: -24px;
    padding: 0 24px 6px;
    scrollbar-width: none;
  }
  .ps-grid::-webkit-scrollbar,
  .maturity-cards::-webkit-scrollbar {
    display: none;
  }
  .ps-card,
  .maturity-card {
    scroll-snap-align: start;
  }
  .maturity-card {
    min-height: 0;
  }
  .ps-grid:focus-visible,
  .maturity-cards:focus-visible {
    outline-offset: -2px;
  }

  /* resources: lighter card visuals so the grid is scannable */
  .res-card-vis {
    aspect-ratio: 16 / 8;
  }
}

/* ============================================================
   DELIGHT: the tell-tale signs listen back.
   The visitor ticks the lines that sound like their team and
   the page answers with the one next step that fits.
   ============================================================ */
.tt-hint {
  margin: 14px 0 0;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--fg-2);
}
.tt-toggle {
  all: unset;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 16px;
  align-items: start;
  width: 100%;
  cursor: pointer;
  border-radius: 6px;
  -webkit-tap-highlight-color: transparent;
}
.tt-toggle:focus-visible {
  outline: 2px solid var(--wc-gold-500);
  outline-offset: 6px;
}
.tt-toggle .tt-quote {
  display: block;
  transition: color 220ms ease-out;
}
.tt-toggle:hover .tt-quote {
  color: var(--wc-ink-700);
}
.tt-tick {
  width: 22px;
  height: 22px;
  margin-top: 0.32em;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tt-tick circle {
  stroke: var(--wc-stone-300);
  stroke-width: 1.2;
  transition:
    stroke 220ms ease-out,
    fill 220ms ease-out;
}
.tt-tick path {
  stroke: var(--wc-ink-900);
  stroke-width: 1.8;
  stroke-dasharray: 14;
  stroke-dashoffset: 14;
  transition: stroke-dashoffset 260ms var(--ease-arrive, ease-out);
}
.tt-toggle:hover .tt-tick circle {
  stroke: var(--wc-gold-600);
}
.tt-toggle[aria-pressed='true'] .tt-tick circle {
  stroke: var(--wc-gold-500);
  fill: var(--wc-gold-500);
}
.tt-toggle[aria-pressed='true'] .tt-tick path {
  stroke-dashoffset: 0;
  transition-delay: 60ms;
}
.tt-toggle[aria-pressed='true'] .tt-quote {
  color: var(--wc-ink-900);
}

/* the answer opens beneath the list, height animated via grid rows */
.tt-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 420ms var(--ease-arrive, ease-out),
    opacity 300ms ease-out;
}
.tt-answer.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}
.tt-answer[hidden] {
  display: none;
}
.tt-answer-inner {
  overflow: hidden;
  min-height: 0;
}
.tt-count {
  margin: 36px 0 6px;
  padding-top: 28px;
  border-top: 1px solid var(--border-2);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--wc-gold-700);
  font-variant-numeric: lining-nums;
}
.tt-reply {
  margin: 0 0 22px;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-1);
  max-width: 46ch;
}
.tt-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}

@media (max-width: 720px) {
  .tt-toggle {
    grid-template-columns: 20px 1fr;
    gap: 12px;
  }
  .tt-tick {
    width: 20px;
    height: 20px;
  }
  .tt-reply {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tt-tick path,
  .tt-answer {
    transition: none;
  }
}

/* ============================================================
   OVERDRIVE: cinematic page transitions
   The nav and logo hold still while the page beneath turns over;
   a clicked call-to-action becomes the panel or headline it
   opens. Browsers without View Transitions switch instantly.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) {
    animation: wc-page-out 280ms cubic-bezier(0.4, 0, 1, 1) both;
  }
  ::view-transition-new(root) {
    animation: wc-page-in 560ms cubic-bezier(0.16, 1, 0.3, 1) 90ms both;
  }
  @keyframes wc-page-out {
    to {
      opacity: 0;
      transform: translateY(-10px) scale(0.992);
      filter: blur(3px);
    }
  }
  @keyframes wc-page-in {
    from {
      opacity: 0;
      transform: translateY(16px);
      filter: blur(2px);
    }
    to {
      opacity: 1;
      transform: none;
      filter: none;
    }
  }

  /* the frame stays: nav and logo glide between their light and dark forms */
  ::view-transition-group(wc-nav),
  ::view-transition-group(wc-logo) {
    animation-duration: 520ms;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  }
  ::view-transition-old(wc-nav),
  ::view-transition-new(wc-nav),
  ::view-transition-old(wc-logo),
  ::view-transition-new(wc-logo) {
    animation-duration: 420ms;
    height: 100%;
  }

  /* the clicked button grows into what it opened */
  ::view-transition-group(wc-morph) {
    animation-duration: 640ms;
    animation-timing-function: cubic-bezier(0.65, 0, 0.2, 1);
    overflow: clip;
    border-radius: 18px;
  }
  ::view-transition-old(wc-morph),
  ::view-transition-new(wc-morph) {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  ::view-transition-old(wc-morph) {
    animation: wc-morph-out 260ms ease-out both;
  }
  ::view-transition-new(wc-morph) {
    animation: wc-morph-in 460ms cubic-bezier(0.16, 1, 0.3, 1) 140ms both;
  }
  @keyframes wc-morph-out {
    to {
      opacity: 0;
    }
  }
  @keyframes wc-morph-in {
    from {
      opacity: 0;
    }
  }
}

/* arriving by navigation: the frame is already there, skip first-load entrances */
.wc-routed .site-nav {
  animation: none;
}
.wc-routed .hero-cine .h-cine .read {
  animation: none;
  -webkit-mask-image: none;
  mask-image: none;
}
.wc-routed .hero-cine .h-cine::after {
  display: none;
}
.wc-routed .hero-cine .hero-sub-row {
  animation: none;
}

/* ============================================================
   HARDENING: small screens, long strings, empty and failed states
   ============================================================ */

/* the smallest phones (320–374px): the menu button must stay on screen.
   "Book a demo" is already the first item inside the menu. */
@media (max-width: 374px) {
  .site-nav .nav-right .btn,
  .m-nav .nav-right .btn {
    display: none;
  }
  .site-nav .brand-mark img,
  .m-nav .brand-mark img {
    height: 22px;
  }
}

/* long unbroken strings (entity names, emails, URLs) wrap instead of overflowing */
p,
li,
dd,
td,
th,
h1,
h2,
h3,
h4,
figcaption,
.quote-attr {
  overflow-wrap: break-word;
}
.gs-file-list span,
.fname {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* comparison with nothing selected */
.compare-empty-msg {
  margin: 36px 0 0;
  padding: 28px 24px;
  border: 1px solid rgba(248, 245, 238, 0.14);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: rgba(248, 245, 238, 0.72);
  text-align: center;
}

/* resources filter with no matches */
.res-empty:empty {
  display: none;
}
.res-empty {
  margin: 8px 0 0;
  padding: 40px 0;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--fg-2);
  text-align: center;
}

/* booking: states read as messages, and the embed always has a way out */
.gs-cal-status {
  color: var(--fg-2);
  line-height: 1.5;
}
.gs-cal-fallback {
  margin: 14px 0 0;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-2);
}
.gs-cal-fallback a {
  color: var(--fg-1);
  text-decoration: underline;
}

/* removable file chips are keyboard-reachable */
.gs-form .rm:focus-visible {
  outline: 2px solid var(--wc-gold-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Windows high contrast / forced colours: keep focus, ticks and selections visible */
@media (forced-colors: active) {
  .tt-toggle[aria-pressed='true'] .tt-tick circle {
    fill: Highlight;
    stroke: Highlight;
  }
  .tt-toggle[aria-pressed='true'] .tt-tick path {
    stroke: HighlightText;
  }
  .approach-btn.active {
    outline: 2px solid Highlight;
  }
  .cg-pip {
    forced-color-adjust: none;
  }
}

/* narrow phones: the sample filings table scrolls inside its frame instead of being cut off */
@media (max-width: 520px) {
  .product-frame {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .product-frame table {
    min-width: 460px;
  }
}
/* the booking embed may not demand more width than the phone has */
#gs-booking iframe {
  min-width: 0 !important;
  max-width: 100%;
}

/* mobile menu: scrolls on short screens, product items read as title + line, always closable */
@media (max-width: 760px) {
  .wc-mobile-menu {
    align-items: flex-start;
    justify-content: flex-start;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .wc-mobile-inner {
    align-items: stretch;
    gap: 4px;
    padding: 84px 28px 48px;
    max-width: 420px;
    margin: 0 auto;
  }
  .wc-mobile-link {
    display: block;
    font-size: 24px;
    line-height: 1.2;
    padding: 10px 0;
    border-bottom: 1px solid rgba(248, 245, 238, 0.08);
  }
  .wc-mobile-link.has-sub {
    font-size: 21px;
  }
  .wc-mobile-sub {
    display: block;
    margin-top: 3px;
    font-family: var(--font-sans);
    font-size: 13px;
    letter-spacing: 0;
    color: rgba(248, 245, 238, 0.6);
  }
  .wc-mobile-link.is-cta {
    align-self: flex-start;
    border-bottom: 0;
    margin-top: 20px;
    padding: 13px 26px;
  }
  .wc-mobile-close {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(248, 245, 238, 0.08);
    cursor: pointer;
  }
  .wc-mobile-close span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--wc-parchment-50);
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .wc-mobile-close span + span {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  .wc-mobile-close:focus-visible {
    outline: 2px solid var(--wc-gold-500);
    outline-offset: 3px;
  }
}

/* ============================================================
   POLISH: the last consistent details
   ============================================================ */

/* director quote speaks in the same voice as the client quote */
.co-quote-text {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.22;
  letter-spacing: -0.008em;
  max-width: 30ch;
}
.co-quote-text .hang {
  margin-left: -0.42em;
}
.co-quote-attr .role {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
}
@media (max-width: 760px) {
  .co-quote-text {
    font-size: 24px;
  }
  .co-quote-text .hang {
    margin-left: 0;
  }
}

/* numerals in stats and dates line up */
.co-number,
.impact-stat,
.res-card-meta,
.gs-cal-day,
.gs-cal-slot {
  font-variant-numeric: lining-nums tabular-nums;
}

/* links in running copy read as links */
.bridge-body a,
.team-bridge-body a,
.legal-body p a,
.lede a {
  color: var(--fg-1);
  text-decoration: underline;
  text-decoration-color: var(--wc-gold-500);
}
.bridge-body a:hover,
.team-bridge-body a:hover,
.legal-body p a:hover,
.lede a:hover {
  text-decoration-color: currentColor;
}

/* consistent press feedback on every button-like control */
.approach-btn:active,
.res-filter-pill:active,
.gs-mode-tab:active,
.footer-form .submit:active {
  transform: translateY(1px);
}
@media (max-width: 760px) {
  /* the initials card is a placeholder; don't let it take a whole screen on phones */
  .co-quote-photo {
    max-width: 160px;
    aspect-ratio: 1;
    min-height: 0;
    height: auto;
    font-size: 44px;
    justify-self: start;
  }
}

/* hover tints stay readable on parchment */
.ps-link:hover,
.cr-item:hover > .cr-role .title,
.res-card:hover h3,
.res-card:hover .res-card-title {
  color: var(--wc-gold-800);
}

/* ============================================================
   ROUND 2: shorter home, health check as the front door
   ============================================================ */
#health-check,
#suite {
  scroll-margin-top: 112px;
}

/* hero: two calls to action, demo first */
.hero-ctas {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.hero-cine .hero-ctas .btn-ghost-light {
  padding: 10px 18px;
}
@media (max-width: 760px) {
  .hero-ctas {
    justify-content: center;
  }
}

/* deliverables live behind one disclosure inside the product suite */
.ps-more {
  margin-top: 56px;
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
}
.ps-more > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  padding: 24px 40px 24px 0;
  position: relative;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(24px, 2.2vw, 30px);
  color: var(--fg-1);
}
.ps-more > summary::-webkit-details-marker {
  display: none;
}
.ps-more-count {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--fg-2);
}
.ps-more > summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 220ms ease-out;
}
.ps-more[open] > summary::after {
  transform: rotate(-135deg);
  margin-top: -2px;
}
.ps-more > summary:hover {
  color: var(--wc-gold-800);
}
.ps-more > summary:focus-visible {
  outline: 2px solid var(--wc-gold-500);
  outline-offset: 4px;
}
.ps-more-intro {
  margin: 0 0 8px;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-2);
}
.ps-more .delivers-grid {
  border-top: 0;
  margin-bottom: 8px;
}

/* the home health check sits on white, set apart from the dark quote that follows */
.home-health {
  border-top: 1px solid var(--border-1);
}
.home-health .lp-head h2 {
  font-family: var(--font-serif);
}

/* security: two actions */
.sec-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.sec-cta .cta-btn.is-ghost {
  background: transparent;
  color: var(--wc-parchment-50);
  border: 1px solid rgba(248, 245, 238, 0.4);
}
.sec-cta .cta-btn.is-ghost:hover {
  background: rgba(248, 245, 238, 0.1);
}

@media (max-width: 760px) {
  .ps-more {
    margin-top: 40px;
  }
}
.hero-cine .hero-ctas .btn {
  padding: 11px 18px;
  font-size: 14px;
  line-height: 1;
}
@media (max-width: 760px) {
  .hero-cine .hero-ctas .btn {
    padding: 13px 20px;
    font-size: 15px;
  }
}
.hero-cine .hero-ctas .btn {
  min-height: 44px;
  box-sizing: border-box;
}
.hero-cine .hero-ctas .btn svg {
  width: 16px;
  height: 16px;
}
/* four nav items: keep them on one line on smaller laptops */
@media (min-width: 761px) and (max-width: 1180px) {
  .site-nav .nav-links,
  .m-nav .nav-links {
    gap: 18px;
    flex-wrap: nowrap;
  }
  .site-nav .nav-links a,
  .m-nav .nav-links a,
  .nav-dd-trigger {
    font-size: 13.5px;
    white-space: nowrap;
  }
}

/* ---------- Health check page (footer-linked only) ---------- */
.hc-hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.012em;
}
.hc-lede {
  margin: 18px 0 0;
  max-width: 60ch;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg-2);
}
.hc-detail {
  border-top: 0;
}
.hc-detail .lp-head h2 {
  font-family: var(--font-serif);
}
