/* GLIDE design system: components
   Only what the home page uses, with the states those components have on the live page.
   Needs tokens.css and base.css first. */

/* ---------- Button ----------
   Use when: the one or two actions a band asks for (Let's Talk, the Trust Snapshot).
   Not when: moving between pages inside running text; use .link.
   Pill, Larsseit 500 at 17 px. Primary is lime with ink text (16.6:1); its hover is the
   platform's measured gray. Outline is a 1 px ring in the current text color, tinted on hover. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  height: 52px; min-height: calc(1lh + 18px);
  padding: var(--space-2) var(--space-7);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans); font-weight: var(--weight-medium);
  font-size: var(--size-menu-item); letter-spacing: var(--tracking-ui); line-height: 1.5;
  white-space: nowrap; cursor: pointer; text-decoration: none;
  transition: background-color var(--dur-button) var(--ease), border-color var(--dur-button) var(--ease), color var(--dur-button) var(--ease);
}
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
/* The live page rings these buttons in lime even on white (1.2:1); this system rings in ink on light, lime on dark. */
.tone-dark .btn:focus-visible { outline-color: var(--color-focus-inverse); }
.btn:disabled { pointer-events: none; opacity: 0.5; }
.btn-primary { background: var(--color-accent); color: var(--color-on-accent); }
.btn-primary:hover { background: var(--color-accent-hover); }
.btn-primary:active { background: var(--color-accent-hover); }
.btn-outline { border: 1px solid currentColor; color: var(--color-text); background: transparent; }
.btn-outline:hover { background: rgb(10 11 12 / 0.1); }
.tone-dark .btn-outline { color: var(--color-text-inverse); }
.tone-dark .btn-outline:hover { background: rgb(255 255 255 / 0.1); }
/* Sizes: small in the header (40 px phone, 48 px desktop), large on dark bands (56 px). */
.btn-sm { height: 40px; min-height: 40px; padding: 0 var(--space-5); font-size: var(--size-chip); }
.btn-md { height: 48px; }
.btn-lg { height: 56px; padding-inline: var(--space-8); font-size: var(--size-button-lg); flex-shrink: 0; }
.btn-xl { height: 56px; padding-inline: var(--space-9); font-size: var(--size-button-lg); flex-shrink: 0; }

/* ---------- Text link ----------
   Use when: a link inside or after running text (See all services, Meet the team, Read more).
   Not when: the main action of a band; use .btn.
   Ink, underlined 4 px below; the underline is ink at 30 % at rest and full ink on hover.
   The faint rest underline is the live page's (1.9:1); the link is also set apart by its full-ink
   color against 70 % body text, and hover and focus are strong. */
.link {
  color: var(--color-text);
  text-decoration: underline; text-decoration-thickness: 1px;
  text-decoration-color: var(--color-line-underline); text-underline-offset: 4px;
  transition: text-decoration-color var(--dur-fast) var(--ease);
}
.link:hover { text-decoration-color: currentColor; }
.link-strong { text-decoration-color: rgb(10 11 12 / 0.4); font-weight: var(--weight-medium); white-space: nowrap; }
.link-wide { text-underline-offset: 6px; }
.tone-dark .link { color: var(--color-text-inverse); }
/* On dark the phone number is underlined in lime, 2 px. */
.link-accent { text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 6px; white-space: nowrap; }

/* ---------- Announcement bar ----------
   Use when: one piece of news worth a click (an award, a launch). One line, one link.
   Not when: anything a visitor must act on; it can be dismissed.
   Lime, ink text (16.6:1), centered at 16 px; left-aligned at 14 px under 748 px. */
.announce {
  position: relative; background: var(--color-accent); color: var(--color-on-accent);
  padding: 11px var(--space-14) 11px var(--space-6);
}
.announce-text { text-align: center; font-size: var(--size-body); line-height: 20px; letter-spacing: var(--tracking-ui); }
.announce-text a { margin-left: 3px; }
.announce-close {
  position: absolute; right: var(--space-2); top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 40px; height: 40px;
}
.announce-close svg { width: 16px; height: 16px; }
@media (max-width: 747px) {
  .announce { padding: 10px var(--space-12) 10px var(--space-5); }
  .announce-text { text-align: left; font-size: var(--size-announce-mobile); line-height: 18px; }
  .announce-close { right: var(--space-1); }
}

/* ---------- Site header ----------
   Use when: the top of every page. Wordmark with its mono strapline, the main menu with four
   dropdowns and one plain link, and Let's Talk. Under 1004 px: wordmark, Let's Talk, menu button.
   Not when: never more than one per page. */
.site-header { position: relative; z-index: 99; background: var(--color-paper); color: var(--color-text); }
.nav-bar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  max-width: var(--header-max); margin-inline: auto; padding: var(--space-4) var(--space-5);
}
.brand { display: flex; flex-shrink: 0; align-items: center; gap: var(--space-3); }
.brand:focus-visible { outline-offset: 4px; }
.brand-logo { width: 100px; }
.brand-strap {
  display: none; white-space: nowrap;
  font-family: var(--font-mono); font-weight: var(--weight-medium);
  font-size: var(--size-strap-sm); line-height: 1; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--color-text-60);
}
@media (min-width: 420px) { .brand-strap { display: inline; } }
.nav-desktop { display: none; align-items: center; gap: var(--space-7); }
.nav-compact { display: flex; align-items: center; gap: var(--space-3); }
.nav-list { display: flex; align-items: center; gap: var(--space-6); }
.nav-item { position: relative; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: var(--space-1); white-space: nowrap;
  padding-block: var(--space-2); font-size: var(--size-nav); line-height: 22px; letter-spacing: var(--tracking-ui);
}
.nav-trigger:focus-visible { outline-offset: 4px; }
.nav-trigger svg { flex-shrink: 0; transition: transform var(--dur-move) var(--ease); }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
a.nav-trigger { text-decoration-thickness: 1px; text-underline-offset: 4px; }
a.nav-trigger:hover { text-decoration-line: underline; }
.menu-button { display: grid; place-items: center; width: 44px; height: 44px; }
@media (min-width: 768px) { .nav-bar { padding-inline: var(--space-6); } }
@media (min-width: 1004px) {
  .nav-bar { padding: 22px var(--space-6); } /* the live page writes 36 px but its 24 px rule wins; measured 24 */
  .brand { gap: var(--space-4); }
  .brand-logo { width: 118px; }
  .brand-strap { font-size: var(--size-role); }
  .nav-desktop { display: flex; }
  .nav-compact { display: none; }
}
@media (min-width: 1281px) {
  .nav-desktop { gap: var(--space-9); }
  .nav-list { gap: var(--space-8); }
}

/* Dropdown panel: white card, hairline ring, an overview link on top, then the items. */
.nav-panel {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  z-index: 50; padding-top: var(--space-3); min-width: 280px;
}
.nav-panel-inner {
  position: relative; background: var(--color-paper); border-radius: var(--radius-card);
  padding: var(--space-5) var(--space-6) var(--space-4);
  outline: 1px solid rgb(10 11 12 / 0.1); box-shadow: 0 8px 48px -8px rgb(0 0 0 / 0.15);
}
.nav-overview {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  margin-bottom: var(--space-3); padding-bottom: var(--space-3); border-bottom: 1px solid rgb(10 11 12 / 0.1);
  font-size: 1.25rem; font-weight: var(--weight-medium); line-height: 24px; letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav-overview:hover span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.nav-sub a {
  display: flex; align-items: center; min-height: 40px; margin-inline: calc(var(--space-3) * -1);
  padding: 6px var(--space-3); border-radius: var(--radius-item);
  font-size: var(--size-menu-item); line-height: 22px; letter-spacing: var(--tracking-ui); white-space: nowrap;
  transition: background-color 200ms var(--ease);
}
.nav-sub a:hover { background: rgb(10 11 12 / 0.04); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* Phone menu: a full-screen white sheet; each group opens in place. */
.mobile-menu {
  position: fixed; inset: 0; z-index: 101; height: 100dvh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--color-paper); color: var(--color-text);
}
.mobile-menu-top { display: flex; height: 72px; align-items: center; justify-content: space-between; padding-inline: var(--space-5); }
.mobile-menu-body { padding: var(--space-4) var(--space-5) var(--space-16); }
.mobile-group { border-bottom: 1px solid rgb(10 11 12 / 0.1); }
.mobile-trigger, .mobile-link {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  padding-block: var(--space-4); font-size: var(--size-menu-mobile); font-weight: var(--weight-medium);
  line-height: 1.1; letter-spacing: -0.03em; text-align: left;
}
.mobile-trigger svg { transition: transform var(--dur-move) var(--ease); }
.mobile-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-sub { display: grid; gap: var(--space-2); padding-bottom: var(--space-4); }
.mobile-sub a { display: block; font-size: var(--size-menu-item-mobile); line-height: 24px; letter-spacing: var(--tracking-ui); padding-block: var(--space-2); }
.mobile-sub a.mobile-overview { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.mobile-menu .btn { margin-top: var(--space-8); height: 48px; }
@media (min-width: 768px) { .mobile-menu-top, .mobile-menu-body { padding-inline: var(--space-6); } }
@media (min-width: 1004px) { .mobile-menu { display: none; } }

/* ---------- Section head ----------
   Use when: the opening of every content band: mono eyebrow, a bold heading with one serif
   word, and sometimes an intro line or a link set to the right.
   Not when: the hero and the closing call to action, which use the display size.
   Eyebrow sits 24 px above the heading on phones, 32 px from 768 px (48 px in the hero). */
.section-head { max-width: 1100px; }
.section-head .t-eyebrow { margin-bottom: var(--space-6); color: var(--color-text-60); }
.tone-dark .section-head .t-eyebrow, .tone-dark .t-eyebrow { color: var(--color-text-inverse-60); }
.section-intro { margin-top: var(--space-6); max-width: 720px; color: var(--color-text-75); }
/* Head with an aside: heading in 8 columns, a link bottom-right in 4. */
.section-head-split { display: grid; gap: var(--space-6); }
.section-head-split .section-aside { color: var(--color-text-75); }
@media (min-width: 768px) {
  .section-head .t-eyebrow { margin-bottom: var(--space-8); }
  .section-intro { margin-top: var(--space-8); }
  .section-head-split { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; gap: var(--space-10); }
  .section-head-split > :first-child { grid-column: span 8; }
  .section-head-split .section-aside { grid-column: span 4; padding-bottom: var(--space-2); }
}

/* ---------- Hero ----------
   Use when: the top of the home page: eyebrow, display headline with its serif word, a rule,
   then the promise on the left and the two actions on the right.
   Not when: inner pages, which open with a section head. */
.hero { padding-top: var(--space-14); padding-bottom: var(--space-20); }
.hero .t-eyebrow { margin-bottom: var(--space-8); color: var(--color-text-60); }
.hero-title { max-width: 1400px; }
.hero-foot {
  margin-top: var(--space-10); display: grid; gap: var(--space-8);
  border-top: 1px solid var(--color-line); padding-top: var(--space-8);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (min-width: 768px) {
  .hero { padding-top: var(--space-24); padding-bottom: var(--space-32); }
  .hero .t-eyebrow { margin-bottom: var(--space-12); }
  .hero-foot { margin-top: var(--space-16); padding-top: var(--space-10); grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; }
  .hero-foot > p { grid-column: span 7; }
  .hero-actions { grid-column: span 5; justify-content: flex-end; }
}

/* ---------- Showreel ----------
   Use when: a film that shows the work: a dark band, eyebrow and running time, a 16:9 poster
   with one lime "Play" pill; pressing it opens the film in a dialog and plays it.
   Not when: a film that should play by itself; this one plays only when asked, with its own controls. */
.reel { padding-block: var(--space-16); }
.reel-meta { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-6); margin-bottom: var(--space-8); color: var(--color-text-inverse-60); }
.reel-poster {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius-card); background: var(--color-black); text-align: left;
}
.reel-poster:focus-visible { outline: 2px solid var(--color-focus-inverse); outline-offset: 4px; }
.reel-poster img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6;
  transform: scale(1.16); transition: transform var(--dur-slow) var(--ease), opacity var(--dur-slow) var(--ease);
}
.reel-poster:hover img { transform: scale(1.19); opacity: 0.75; }
.reel-play-wrap { position: absolute; inset: 0; display: grid; place-items: center; }
.reel-play {
  display: inline-flex; align-items: center; gap: var(--space-4); border-radius: var(--radius-pill);
  background: var(--color-accent); color: var(--color-on-accent);
  padding: var(--space-4) var(--space-8) var(--space-4) var(--space-5);
  font-size: var(--size-button-lg); font-weight: var(--weight-medium); line-height: 1.5;
  transition: transform var(--dur-move) var(--ease);
}
.reel-poster:hover .reel-play { transform: scale(1.04); }
.reel-play-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-accent); }
.reel-dialog { margin: auto; width: min(1280px, 92vw); max-width: none; background: transparent; padding: 0; overflow: visible; }
.reel-dialog::backdrop { background: rgb(0 0 0 / 0.85); }
.reel-dialog-inner { position: relative; }
.reel-close {
  position: absolute; top: -48px; right: 0; display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: var(--radius-pill); border: 1px solid var(--color-line-inverse-strong); color: var(--color-text-inverse);
}
.reel-close:hover { border-color: var(--color-accent); }
.reel-close:focus-visible { outline-color: var(--color-focus-inverse); }
.reel-frame { aspect-ratio: 16 / 9; width: 100%; overflow: hidden; border-radius: var(--radius-card); background: var(--color-black); }
.reel-frame iframe { width: 100%; height: 100%; border: 0; }
@media (min-width: 768px) {
  .reel { padding-block: var(--space-24); }
  .reel-meta { margin-bottom: var(--space-10); }
  .reel-play { padding: var(--space-5) var(--space-10) var(--space-5) var(--space-6); font-size: 1.375rem; }
  .reel-play-icon { width: 48px; height: 48px; }
}

/* ---------- Index rows ----------
   Use when: a short list of the main things a visitor can choose between (the four industries):
   mono number, a big title, one line of promise, a round arrow. The whole row is one link.
   Not when: more than six entries, or entries without a page of their own.
   Hover: the title slides 4 px right and the arrow circle fills with ink. */
.index-rows { margin-top: var(--space-14); border-bottom: 1px solid var(--color-line); }
.index-row {
  display: grid; grid-template-columns: 2.5rem 1fr auto; align-items: start;
  column-gap: var(--space-4); row-gap: var(--space-3); padding-block: var(--space-8);
  border-top: 1px solid var(--color-line); color: var(--color-text);
}
.index-row .t-index { color: var(--color-text-50); padding-top: var(--space-2); }
.index-row-title {
  font-weight: var(--weight-bold); font-size: var(--size-row-title); line-height: 1;
  letter-spacing: var(--tracking-title); transition: transform var(--dur-move) var(--ease);
}
.index-row:hover .index-row-title { transform: translateX(4px); }
.index-row-text { grid-column-start: 2; font-size: var(--size-row-text); line-height: 1.45; color: var(--color-text-70); }
.arrow-circle {
  grid-column-start: 3; grid-row-start: 1; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: var(--radius-pill); border: 1px solid var(--color-line-control);
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.index-row:hover .arrow-circle { border-color: var(--color-ink); background: var(--color-ink); color: var(--color-text-inverse); }
.index-rows-note { margin-top: var(--space-8); color: var(--color-text-70); }
@media (min-width: 768px) {
  .index-rows { margin-top: var(--space-20); }
  .index-row { grid-template-columns: 5rem minmax(0, 5fr) minmax(0, 5fr) auto; align-items: center; column-gap: var(--space-8); padding-block: var(--space-10); }
  .index-row .t-index { padding-top: 0; }
  .index-row-text { grid-column-start: 3; }
  .arrow-circle { grid-column-start: 4; width: 56px; height: 56px; }
}

/* ---------- Steps ----------
   Use when: a process told in four short steps (Audit, Roadmap, Build, Compound): a full-ink rule,
   the mono number, the step name, two lines of plain words.
   Not when: steps that need more than three lines each; give them their own band.
   Four across from 1024 px, two from 640 px, stacked on phones. */
.steps { margin-top: var(--space-16); display: grid; gap: var(--space-10); }
.step { border-top: 1px solid var(--color-line-strong); padding-top: var(--space-6); }
.step .t-index { color: var(--color-text-50); }
.step .t-h3 { margin-top: var(--space-6); }
.step p { margin-top: var(--space-4); max-width: 340px; color: var(--color-text-75); }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .steps { margin-top: var(--space-24); } .step .t-h3 { margin-top: var(--space-10); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-8); } }

/* ---------- Discipline rows ----------
   Use when: naming the three disciplines (BRAND, WEB, SEARCH) as giant uppercase words,
   each a link, with its services as mono tags set bottom-right.
   Not when: anything but the three disciplines; the size is reserved for them.
   Hover: the word fades to 70 %; a tag underlines. */
.disciplines { margin-top: var(--space-14); border-bottom: 1px solid var(--color-line); }
.discipline { display: grid; gap: var(--space-4); padding-block: var(--space-8); border-top: 1px solid var(--color-line); }
.discipline .t-index { color: var(--color-text-50); }
.discipline-word {
  font-weight: var(--weight-bold); font-size: var(--size-mega); line-height: var(--leading-mega);
  letter-spacing: var(--tracking-mega); text-transform: uppercase; color: var(--color-text);
  transition: opacity var(--dur-fast) var(--ease); justify-self: start;
}
.discipline-word:hover { opacity: 0.7; }
.tag-list { display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--space-3); row-gap: var(--space-2); }
.tag-list li { display: flex; align-items: center; gap: var(--space-3); }
.tag-list a {
  font-family: var(--font-mono); font-weight: var(--weight-medium); font-size: var(--size-tag);
  line-height: 1.5; letter-spacing: var(--tracking-tag); text-transform: uppercase; color: var(--color-text);
}
.tag-list a:hover { text-decoration: underline; }
.tag-sep { color: var(--color-text-40); }
@media (min-width: 768px) {
  .disciplines { margin-top: var(--space-20); }
  .discipline { grid-template-columns: 5rem 1fr auto; align-items: end; gap: var(--space-8); padding-block: var(--space-10); }
  .discipline .t-index { align-self: start; padding-top: var(--space-4); }
  .tag-list { justify-content: flex-end; padding-bottom: var(--space-5); }
}

/* ---------- Stats ----------
   Use when: proof in numbers: a full-ink rule, the figure, what it measures, and whose it is
   in a mono label. A stat with a case study is a link to it.
   Not when: a figure without a named client behind it.
   Three across from 1024 px, two from 640 px. Hover on a linked stat fades it to 70 %. */
.stats { margin-top: var(--space-14); display: grid; column-gap: var(--space-8); row-gap: var(--space-14); }
.stat { border-top: 1px solid var(--color-line-strong); padding-top: var(--space-6); }
.stat > a { display: block; color: var(--color-text); transition: opacity var(--dur-fast) var(--ease); }
.stat > a:hover { opacity: 0.7; }
.stat-figure { display: block; font-weight: var(--weight-bold); font-size: var(--size-stat); line-height: var(--leading-stat); letter-spacing: var(--tracking-stat); }
.stat-label { display: block; margin-top: var(--space-5); font-size: var(--size-stat-label); line-height: var(--leading-snug); }
.stat .t-eyebrow { display: block; margin-top: var(--space-3); color: var(--color-text-60); }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .stats { margin-top: var(--space-20); } }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Chips ----------
   Use when: short credentials in a row (22 years, Certified B Corporation, review counts).
   A chip that leads somewhere is a link; the rest are plain labels.
   Not when: filters (use .filter) or actions (use .btn). */
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip {
  display: inline-flex; border-radius: var(--radius-pill); border: 1px solid var(--color-line-chip);
  padding: var(--space-2) var(--space-4); font-size: var(--size-chip); line-height: var(--leading-tight); color: var(--color-text);
}
.chips-proof { margin-top: var(--space-16); }
@media (min-width: 768px) { .chips-proof { margin-top: var(--space-20); } }
/* On dark: smaller, white at 85 %, a lime ring on hover for the linked ones. */
.tone-dark .chip { border-color: var(--color-line-inverse-chip); padding: 6px 14px; font-size: var(--size-chip-sm); line-height: 1.5; color: var(--color-text-inverse-85); }
.tone-dark a.chip { transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.tone-dark a.chip:hover { border-color: var(--color-accent); color: var(--color-text-inverse); }

/* ---------- Snapshot panel ----------
   Use when: offering the free Trust Snapshot: a dark rounded panel inside a light band, the
   pitch and a one-field form on the left, a sample score card on the right.
   Not when: a contact form; this field only carries a web address to the audit tool. */
.snapshot {
  display: grid; gap: var(--space-12); border-radius: var(--radius-card);
  background: var(--color-ink); color: var(--color-text-inverse); padding: var(--space-7);
}
.snapshot .t-eyebrow { margin-bottom: var(--space-8); color: var(--color-text-inverse-60); }
.snapshot-pitch { margin-top: var(--space-6); font-size: var(--size-pov); line-height: 1.45; color: var(--color-text-inverse-75); }
.inline-form { margin-top: var(--space-10); display: flex; flex-direction: column; gap: var(--space-3); }
.field-pill {
  height: 56px; min-width: 0; flex: none; border-radius: var(--radius-pill);
  border: 1px solid var(--color-line-inverse-field); background: transparent;
  padding-inline: var(--space-6); font-size: var(--size-menu-item); color: var(--color-text-inverse);
}
.field-pill::placeholder { color: var(--color-text-inverse-45); }
.field-pill:focus { border-color: var(--color-accent); outline: none; }
.field-pill:focus-visible { outline: 2px solid var(--color-focus-inverse); outline-offset: 2px; }
.field-pill[aria-invalid="true"] { border-color: var(--color-accent); }
/* Sample score card */
.score-card { align-self: center; border-radius: var(--radius-card); border: 1px solid var(--color-line-inverse); padding: var(--space-6); }
.score-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-6); }
.score-card-head .t-eyebrow { margin: 0; }
.score-figure { margin-top: var(--space-6); font-weight: var(--weight-bold); font-size: var(--size-score); line-height: 1; letter-spacing: var(--tracking-score); }
.score-figure span { font-size: 0.35em; letter-spacing: -0.02em; color: var(--color-text-inverse-50); }
.score-list { margin-top: var(--space-8); display: grid; gap: var(--space-5); }
.score-row-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); }
.score-row dt { font-family: var(--font-mono); font-weight: var(--weight-medium); font-size: var(--size-eyebrow); line-height: 1.5; letter-spacing: var(--tracking-tag); text-transform: uppercase; color: var(--color-text-inverse-70); }
.score-row dd { font-weight: var(--weight-bold); font-size: var(--size-name); line-height: 1.5; letter-spacing: var(--tracking-name); }
.score-bar { margin-top: var(--space-2); height: var(--bar-height); overflow: hidden; border-radius: var(--radius-pill); background: var(--color-track-inverse); }
.score-bar span { display: block; height: 100%; border-radius: var(--radius-pill); background: var(--color-text-inverse); }
@media (min-width: 640px) { .snapshot { padding: var(--space-10); } .inline-form { flex-direction: row; } .field-pill { flex: 1; } }
@media (min-width: 768px) {
  .snapshot { padding: var(--space-16); }
  .snapshot-pitch { font-size: var(--size-lead); }
  .score-card { padding: var(--space-8); }
}
@media (min-width: 1024px) {
  .snapshot { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-16); padding: var(--space-20); }
  .snapshot-main { grid-column: span 7; }
  .score-card { grid-column: span 5; }
}

/* ---------- Team rail ----------
   Use when: showing the real people: cut-out portraits on white, name, role in mono,
   in one row that scrolls sideways (by touch, trackpad or keys).
   Not when: fewer than five people; lay them in a grid instead. */
.rail-wrap { margin-top: var(--space-14); max-width: var(--header-max); margin-inline: auto; }
.rail {
  display: flex; gap: var(--space-5); overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter); padding-inline: var(--gutter); padding-bottom: var(--space-4);
  scrollbar-width: thin;
}
.rail:focus-visible { outline-offset: -2px; }
.person { width: 200px; flex-shrink: 0; scroll-snap-align: start; }
.person-photo { aspect-ratio: 6 / 7; overflow: hidden; border-bottom: 1px solid var(--color-line); }
.person-photo img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.person-name { margin-top: var(--space-4); font-weight: var(--weight-bold); font-size: var(--size-name); line-height: var(--leading-tight); letter-spacing: var(--tracking-name); }
.person-role {
  margin-top: var(--space-1); font-family: var(--font-mono); font-weight: var(--weight-medium);
  font-size: var(--size-role); line-height: var(--leading-snug); letter-spacing: var(--tracking-tag);
  text-transform: uppercase; color: var(--color-text-60);
}
@media (min-width: 768px) {
  .rail-wrap { margin-top: var(--space-20); }
  .rail { gap: var(--space-6); padding-inline: var(--gutter-md); scroll-padding-inline: var(--gutter-md); }
  .person { width: 240px; }
}
@media (min-width: 1624px) { .rail { padding-inline: calc((100vw - 1520px) / 2); } }

/* ---------- Filter pills ----------
   Use when: narrowing a list in place by one choice (All, Healthcare, Associations...).
   The pressed pill is filled ink with white text; the rest are outlined and darken on hover.
   Not when: moving to another page; use a link. */
.filters { margin-top: var(--space-12); display: flex; flex-wrap: wrap; gap: var(--space-2); }
.filter {
  height: 44px; border-radius: var(--radius-pill); border: 1px solid var(--color-line-control);
  padding-inline: var(--space-5); font-size: var(--size-body); color: var(--color-text);
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.filter:hover { border-color: var(--color-ink); }
.filter[aria-pressed="true"] { border-color: var(--color-ink); background: var(--color-ink); color: var(--color-text-inverse); }
@media (min-width: 768px) { .filters { margin-top: var(--space-16); } }

/* ---------- Client list ----------
   Use when: naming clients by name, with sector and "Case study" in mono under each;
   a client with a case study links to it. Four across from 1024 px, two from 640 px.
   Not when: logos; this list is set in type on purpose. */
.client-list { margin-top: var(--space-10); display: grid; column-gap: var(--space-8); }
.client { border-top: 1px solid var(--color-line-chip); padding-block: var(--space-6); }
.client > a { display: block; color: var(--color-text); transition: opacity var(--dur-fast) var(--ease); }
.client > a:hover { opacity: 0.7; }
.client-name { display: block; font-weight: var(--weight-bold); font-size: var(--size-card-title); line-height: var(--leading-card-title); letter-spacing: var(--tracking-card-title); }
.client .t-eyebrow { display: block; margin-top: var(--space-3); color: var(--color-text-60); }
.client-more { margin-top: var(--space-10); }
@media (min-width: 640px) { .client-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .client { padding-block: var(--space-8); } }
@media (min-width: 1024px) { .client-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Pull quote and guarantee ----------
   Use when: one client's words, set huge in the serif italic, with the person and company in
   mono below (a link to the case study); then the guarantee: a bold line on a lime highlight
   and its plain-words promise as a link.
   Not when: a quote that has to be shortened to fit; quotes are never edited. */
.quote-text { max-width: 1300px; font-family: var(--font-serif); font-style: italic; font-weight: var(--weight-regular); font-size: var(--size-quote); line-height: 1; letter-spacing: var(--tracking-quote); text-wrap: balance; }
.quote-cite { margin-top: var(--space-10); }
.quote-cite a { color: var(--color-text-60); transition: opacity var(--dur-fast) var(--ease); }
.quote-cite a:hover { opacity: 0.7; }
.guarantee { margin-top: var(--space-16); display: grid; gap: var(--space-4); border-top: 1px solid var(--color-line); padding-top: var(--space-8); }
.highlight { background: var(--color-accent); color: var(--color-on-accent); padding-inline: 0.12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (min-width: 768px) {
  .quote-cite { margin-top: var(--space-14); }
  .guarantee { margin-top: var(--space-24); grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: baseline; gap: var(--space-8); padding-top: var(--space-10); }
  .guarantee > :first-child { grid-column: span 5; }
  .guarantee > :last-child { grid-column: span 7; }
}

/* ---------- Closing call to action ----------
   Use when: the last band before the footer on every page: the display question with its serif
   word, a rule, two lines of plain words with the phone number, and the two actions.
   Not when: mid-page; the snapshot panel is the mid-page offer. */
.cta { padding-top: var(--space-24); padding-bottom: var(--space-20); }
.cta-title { max-width: 1300px; }
.cta-foot { margin-top: var(--space-10); display: flex; flex-direction: column; gap: var(--space-8); border-top: 1px solid var(--color-line-inverse); padding-top: var(--space-10); }
.cta-foot p { max-width: 560px; color: var(--color-text-inverse-75); }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
@media (min-width: 768px) {
  .cta { padding-top: var(--space-36); padding-bottom: var(--space-28); }
  .cta-foot { margin-top: var(--space-16); flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- Site footer ----------
   Use when: the end of every page: the statement, the wordmark with address, phone and social
   circles, three link columns, awards and reviews as chips with the partner badges, and the legal line.
   Not when: never more than one per page. Links turn lime on hover; focus rings are lime. */
.site-footer .container { display: grid; gap: var(--space-14); padding-top: var(--space-20); padding-bottom: var(--space-10); }
.footer-statement { max-width: 1100px; }
.footer-block { border-top: 1px solid var(--color-line-inverse); padding-top: var(--space-10); }
.footer-logo { display: inline-block; width: 147px; }
.footer-address { margin-top: var(--space-8); }
.footer-address p, .footer-phone { font-size: var(--size-contact); line-height: 1.75rem; letter-spacing: -0.018em; }
.footer-address p { max-width: 320px; color: var(--color-text-inverse-70); }
.footer-phone { display: inline-block; margin-top: var(--space-2); color: var(--color-text-inverse); transition: color var(--dur-fast) var(--ease); }
.footer-phone:hover { color: var(--color-accent); }
.social { margin-top: var(--space-8); display: flex; align-items: center; gap: var(--space-3); }
.social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-pill);
  border: 1px solid var(--color-line-inverse-chip); transition: border-color var(--dur-fast) var(--ease);
}
.social a:hover { border-color: var(--color-accent); }
.social img, .social svg { width: 18px; height: 18px; }
.footer-nav { display: grid; gap: var(--space-10); }
.footer-label { font-family: var(--font-mono); font-weight: var(--weight-medium); font-size: var(--size-eyebrow); line-height: 1.5; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--color-text-inverse-50); }
.footer-links { margin-top: var(--space-4); display: grid; gap: 10px; }
.footer-links a { font-size: var(--size-menu-item); line-height: 1.5; letter-spacing: var(--tracking-ui); color: var(--color-text-inverse); transition: color var(--dur-fast) var(--ease); }
.footer-links a:hover { color: var(--color-accent); }
.footer-awards { display: grid; gap: var(--space-10); border-top: 1px solid var(--color-line-inverse); padding-top: var(--space-10); }
.footer-awards .chips { margin-top: var(--space-5); }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-6); }
.badge-bcorp { height: 56px; width: auto; }
.badge-wpe { height: 48px; width: auto; }
.badge-hubspot { height: 36px; width: auto; filter: brightness(0) invert(1); }
.footer-legal { display: flex; flex-direction: column; gap: var(--space-4); border-top: 1px solid var(--color-line-inverse); padding-top: var(--space-8); }
.footer-legal p, .footer-legal a { font-size: var(--size-legal); line-height: 1.125rem; color: var(--color-text-inverse-60); }
.footer-legal a { transition: color var(--dur-fast) var(--ease); }
.footer-legal a:hover { color: var(--color-text-inverse); }
.footer-legal ul { display: flex; flex-wrap: wrap; column-gap: var(--space-6); row-gap: var(--space-2); }
@media (min-width: 640px) { .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) {
  .site-footer .container { grid-template-columns: repeat(12, minmax(0, 1fr)); padding-top: var(--space-28); }
  .footer-statement, .footer-awards, .footer-legal { grid-column: span 12; }
  .footer-block { grid-column: span 4; }
  .footer-nav { grid-column: span 8; }
  .footer-awards { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .footer-awards > div { grid-column: span 8; }
  .badges { grid-column: span 4; justify-content: flex-end; }
  .footer-legal { flex-direction: row; align-items: center; justify-content: space-between; }
}
.btn-trust { font-size: 17px; line-height: 25.5px; letter-spacing: -0.2px; }
