/* the accreditation logos: real marks in their own colours on white tiles */
  .recog { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-5); }
  .recog__tile { display: grid; place-items: center start; height: 80px; }
  .recog__tile img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
  /* the client's logo has a tagline under the name: it needs more than the kit's 24px to read */
  .nav .nav__logo img { height: 40px; } .closing .nav__logo img { height: 56px; }
  @media (max-width: 639px) { .nav .nav__logo img { height: 32px; } }
  @media (max-width: 359px) { .nav .nav__logo img { height: 24px; } }
  #process .panel { --p-h: 280px; background: #fff; --bg: #fff; --ink: var(--p-ink); --muted: var(--p-muted); }
  #process .dg { --dg-line: color-mix(in oklab, var(--dg-ink) 40%, transparent); --dg-w: 2px; }
  @media (min-width: 1024px) { #why .frame--fill { height: auto; aspect-ratio: 1; } }
  @media (min-width: 640px) and (max-width: 1023px) { #process .panel { --p-h: 200px; } }
  /* tablet: the split's photograph keeps a height once stacked */
  @media (min-width: 640px) and (max-width: 1023px) {
    #why .frame--fill { height: auto; aspect-ratio: 16 / 9; }
    #quote .recog { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); } #quote .recog__tile { height: 48px; } #quote .recog__tile img { max-height: 44px; } #quote textarea { min-height: 96px; }
  }
  #quote .form { column-gap: var(--gutter); }
  @media (max-width: 639px) { .recog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); } #process .panel { --p-h: 300px; } /* the phone cuts the standards to names, so the list and its picture fit one screen */
    #standards .rows p { display: none; } #standards .wrap > .grid.fill { flex: none; }
    /* the phone shows the first three questions; the rest stay on larger screens */
    #faq .faq__item:nth-child(n+4) { display: none; }
    .recog__tile { height: 112px; } .recog__tile img { max-height: 88px; } #quote textarea { min-height: 240px; } #standards .grid.fill > .frame--fill { flex: none; height: auto; min-height: 0; aspect-ratio: 16 / 9; } #why .frame { height: auto; aspect-ratio: 16 / 9; }
  }

  /* hero round 5: the standards deck (custom; page CSS for the hero only) */
  .hx { --dur: 3.6s; position: relative; height: 100svh; min-height: 640px; padding: calc(var(--nav) + 48px) 0 40px; overflow: hidden; }
  .hx::before { content: ""; position: absolute; right: -12vw; top: -18vw; width: 62vw; aspect-ratio: 1; clip-path: polygon(29.3% 0, 70.7% 0, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0 70.7%, 0 29.3%); background: color-mix(in oklab, var(--p-accent) 6%, transparent); pointer-events: none; }
  .hx__grid { position: relative; height: 100%; min-height: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr) auto; column-gap: var(--gutter); row-gap: 40px; }
  .hx__text { grid-column: 1 / 8; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
  .hx__kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; font-size: 15px; letter-spacing: .02em; color: var(--p-inv-muted); }
  .hx__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--p-accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--p-accent) 25%, transparent); }
  .hx h1 { font-size: clamp(40px, 5.8vw, 84px); line-height: 1.02; letter-spacing: var(--display-tracking-xl); margin: 0; max-width: none; text-wrap: wrap; }
  .hx__word { display: inline-grid; vertical-align: bottom; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; color: var(--p-accent); }
  .hx__w { grid-area: 1 / 1; white-space: nowrap; transform: translateY(110%); opacity: 0; transition: transform .75s cubic-bezier(.2,.8,.2,1), opacity .4s; }
  .hx__w.is-on { transform: none; opacity: 1; }
  .hx__w.is-out { transform: translateY(-110%); opacity: 0; }
  .hx__lead { margin: 28px 0 0; max-width: 40ch; font-size: 20px; line-height: 1.5; color: rgb(255 255 255 / .8); }
  .hx .btn-row { margin-top: 36px; }
  .hx__frame { grid-column: 8 / 13; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--p-inv-surface); min-height: 0; }
  .hx__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transform: scale(1.1); transition: opacity .9s ease, transform calc(var(--dur) + 1s) linear; }
  .hx__img.is-on { opacity: 1; transform: scale(1); }
  .hx__card { position: absolute; left: 20px; bottom: 20px; display: grid; gap: 2px; padding: 14px 18px; border-radius: var(--r-md, 12px); background: #fff; color: var(--p-ink); transition: opacity .3s, transform .3s; }
  .hx__card.is-swap { opacity: 0; transform: translateY(8px); }
  .hx__card-num { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
  .hx__card-name { font-size: 14px; color: var(--p-muted); }
  .hx__count { position: absolute; top: 18px; right: 20px; font-size: 13px; color: #fff; background: rgb(20 32 31 / .72); padding: 6px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
  .hx__tabs { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gutter); }
  .hx__tab { display: grid; gap: 4px; padding: 0; text-align: left; background: none; border: 0; color: var(--p-inv-muted); font: inherit; cursor: pointer; transition: color .25s; }
  .hx__tab:hover, .hx__tab.is-on { color: #fff; }
  .hx__tab:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 6px; border-radius: 4px; }
  .hx__bar { display: block; height: 2px; margin-bottom: 12px; background: rgb(255 255 255 / .18); overflow: hidden; }
  .hx__bar i { display: block; height: 100%; background: var(--p-accent); transform: scaleX(0); transform-origin: left; transition: transform 60ms linear; }
  .hx__tab.is-done .hx__bar i, .hx.is-still .hx__tab.is-on .hx__bar i { transform: scaleX(1); }
  .hx__num { font-size: 17px; font-weight: 600; }
  .hx__name { font-size: 14px; line-height: 1.35; }
  @media (prefers-reduced-motion: reduce) { .hx__w, .hx__img, .hx__card { transition: none; } .hx__img { transform: none; } }
  @media (max-width: 1023px) {
    .hx { height: auto; min-height: 100svh; }
    .hx__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(220px, 1fr) auto; row-gap: 28px; }
    .hx__text, .hx__frame, .hx__tabs { grid-column: 1; }
    .hx__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
  }
  @media (max-width: 639px) {
    .hx { padding: calc(var(--nav) + 24px) 0 24px; min-height: 100svh; height: 100svh; }
    .hx__grid { row-gap: 20px; }
    .hx__kicker { font-size: 13px; margin-bottom: 14px; }
    .hx h1 { font-size: 40px; }
    .hx__lead { font-size: 17px; margin-top: 16px; }
    .hx .btn-row { margin-top: 20px; }
    .hx__frame { min-height: 160px; }
    .hx__card { left: 12px; bottom: 12px; padding: 10px 14px; } .hx__card-num { font-size: 18px; } .hx__card-name { font-size: 13px; }
    .hx__tabs { row-gap: 14px; } .hx__name { display: none; } .hx__num { font-size: 14px; } .hx__bar { margin-bottom: 8px; }
  }
  @media (max-width: 359px) { .hx h1 { font-size: 34px; } }
  /* track record: the statement up top, four facts docked at the foot of the screen */
  #record > .wrap { flex-direction: column; align-items: stretch; justify-content: space-between; min-height: 100%; }
  .rec-stats { list-style: none; margin: var(--s-8, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6, 32px); }
  .rec-stats li { border-top: 1px solid rgb(255 255 255 / .18); padding-top: var(--s-5, 24px); display: grid; gap: 8px; align-content: start; }
  .rec-stats__n { font-family: var(--font-display); font-weight: var(--display-weight, 500); font-size: var(--t-h2); line-height: 1; letter-spacing: -.03em; color: #64D5CA; font-variant-numeric: tabular-nums; }
  .rec-stats__l { font-size: 16px; line-height: 1.4; color: rgb(255 255 255 / .8); max-width: 22ch; }
  @media (max-width: 1023px) { .rec-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 639px) { .rec-stats { gap: 20px 16px; } .rec-stats__n { font-size: var(--t-h2); } .rec-stats__l { font-size: 14px; } }
