/* TrialGuna site styles. Colours come only from tokens.css.
   Tints use color-mix() with a token and transparent. */

@font-face { font-family: "Outfit"; font-weight: 400; font-display: swap; src: url("/fonts/outfit-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 500; font-display: swap; src: url("/fonts/outfit-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 600; font-display: swap; src: url("/fonts/outfit-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 700; font-display: swap; src: url("/fonts/outfit-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url("/fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url("/fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }

:root {
  --wrap: 1192px;
  --gutter: 24px;
  --section: 88px;
  --line-on-navy: color-mix(in srgb, var(--mist) 28%, transparent);
  --ease: 0.3s ease;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--slate);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; color: var(--navy); margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h2); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-title); line-height: 1.3; }
h4 { font-size: var(--fs-lead); line-height: 1.3; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { font-weight: 600; color: var(--navy); }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.on-navy :focus-visible { outline-color: var(--ivory); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--navy); color: var(--white); padding: 12px 16px; font-weight: 600; }
.skip-link:focus { top: 8px; color: var(--white); }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight { padding: 64px 0; }
.bg-cream { background: var(--ivory); }
.bg-navy { background: var(--navy); color: var(--mist); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4, .bg-navy strong, .on-navy strong { color: var(--ivory); }
.bg-navy a:not(.btn) { color: var(--ivory); }
.bg-navy a:not(.btn):hover { color: var(--gold); }

/* ---------- Placeholders ---------- */
mark.ph {
  background: var(--ivory);
  color: var(--navy);
  border: 1px dashed var(--teal);
  padding: 0 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-label);
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.5;
  white-space: normal;
  vertical-align: baseline;
  border-radius: 0;
}
.bg-navy mark.ph, .on-navy mark.ph { background: color-mix(in srgb, var(--ivory) 12%, transparent); color: var(--ivory); border-color: var(--mist); }
.on-navy .numbers mark.ph, .on-navy .on-light mark.ph { background: var(--ivory); color: var(--navy); border-color: var(--teal); }

/* ---------- Draft ribbon ---------- */
.draft-ribbon {
  position: fixed; z-index: 60; right: -44px; bottom: 28px;
  transform: rotate(-45deg);
  width: 180px; text-align: center;
  background: var(--navy); color: var(--gold);
  border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
  font-family: var(--font-head); font-weight: 600; font-size: var(--fs-label);
  letter-spacing: 0.2em; padding: 4px 0;
  pointer-events: none;
}

/* ---------- Labels and headings ---------- */
.label {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-label);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal);
  margin: 0 0 16px;
}
.label::before { content: ""; width: 28px; height: 2px; background: var(--gold); flex: none; }
.bg-cream .label, .card--cream .label { color: var(--navy); }
.bg-navy .label, .on-navy .label { color: var(--mist); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p { font-size: var(--fs-lead); margin-top: 16px; }
.section-head p.label { font-size: var(--fs-label); margin: 0 0 16px; }
.lead { font-size: var(--fs-lead); }
.h3 { font-size: var(--fs-h3); line-height: 1.25; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--font-head); font-weight: 600; font-size: var(--fs-body);
  text-decoration: none; border: 1px solid transparent; border-radius: 0;
  transition: transform var(--ease), background var(--ease), color var(--ease);
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { color: var(--white); background: color-mix(in srgb, var(--navy) 88%, var(--teal)); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--ivory); color: var(--navy); }
.btn--light { background: var(--ivory); color: var(--navy); }
.btn--light:hover { background: var(--white); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--ivory); border-color: var(--ivory); }
.btn--ghost:hover { background: color-mix(in srgb, var(--ivory) 10%, transparent); color: var(--ivory); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.more { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-head); font-weight: 600; color: var(--teal); text-decoration: none; }
.more:hover { color: var(--navy); text-decoration: underline; }
.bg-navy .more { color: var(--gold); }

/* ---------- Top bar and header ---------- */
.topbar { background: var(--ivory); font-size: var(--fs-label); }
.topbar .wrap { display: flex; justify-content: flex-end; align-items: center; gap: 24px; min-height: 36px; }
.topbar a { color: var(--navy); font-weight: 600; display: inline-flex; align-items: center; min-height: 36px; gap: 6px; }
.topbar .hours { color: var(--slate); }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--mist); }
.site-header .wrap { display: flex; align-items: center; gap: 32px; min-height: 80px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; }
.logo img { height: 28px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--navy); font-family: var(--font-head); font-weight: 500; text-decoration: none; }
.nav a:not(.btn):hover, .nav a:not(.btn)[aria-current="page"] { color: var(--teal); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav .btn { margin-left: 16px; }
.nav-toggle { display: none; margin-left: auto; min-width: 48px; min-height: 48px; background: transparent; border: 1px solid var(--navy); color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: var(--fs-body); padding: 0 14px; cursor: pointer; }

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .js .nav { display: none; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--mist); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 24px; }
  .js .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; }
  .nav a:not(.btn) { padding: 0; border-bottom: 1px solid var(--mist); min-height: 52px; }
  .nav .btn { margin: 16px 0 0; }
  .site-header .wrap { position: relative; }
}

/* ---------- Shapes ---------- */
.decagon { clip-path: var(--decagon); }
.pentagon { clip-path: var(--pentagon); }
.cut { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }
.icon-tile {
  width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--ivory); color: var(--navy); clip-path: var(--decagon); flex: none;
}
.icon-tile svg { width: 22px; height: 22px; }
.card--cream .icon-tile, .bg-cream .icon-tile { background: var(--white); }
.bg-shape { position: absolute; pointer-events: none; clip-path: var(--decagon); }

/* ---------- Hairline grid (borders, so empty cells stay white) ---------- */
.grid { display: grid; border-top: 1px solid var(--mist); border-left: 1px solid var(--mist); }
.grid > * { border-right: 1px solid var(--mist); border-bottom: 1px solid var(--mist); background: var(--white); }
.grid--1 { grid-template-columns: 1fr; max-width: 760px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .grid--5 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid--3, .grid--5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; } }

.card { padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.card h3 { font-size: var(--fs-title); }
.card p { margin: 0; }
.card .more { margin-top: auto; }
.card--cream { background: var(--ivory) !important; }
.card--goldtop::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px; background: var(--gold); }
.card--strip::before { content: ""; display: block; width: 44px; height: 3px; background: var(--teal); margin-bottom: 8px; }
.card-link { transition: transform var(--ease), box-shadow var(--ease); }
.card-link:hover { transform: translateY(-4px); box-shadow: 0 12px 28px color-mix(in srgb, var(--navy) 14%, transparent); z-index: 1; }

.tag {
  display: inline-flex; align-items: center; align-self: flex-start;
  font-weight: 600; font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy); border: 1px solid var(--gold); border-radius: 999px; padding: 4px 12px; line-height: 1.4;
}
.tag--plain { border-color: var(--mist); }
.family { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.card--cream .family { color: var(--navy); }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--mist); padding: 96px 0 0; }
.hero .wrap { position: relative; z-index: 1; }
.hero-labels { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 0; margin: 0 0 24px; }
.hero-labels li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: var(--fs-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mist); }
.hero-labels li::before { content: ""; width: 10px; height: 10px; background: var(--gold); clip-path: var(--decagon); }
.hero h1 { font-size: var(--fs-hero); line-height: 1.08; color: var(--ivory); max-width: 720px; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .sub { font-size: var(--fs-lead); color: var(--mist); max-width: 640px; margin: 24px 0 32px; }
.hero .checks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--mist); }
.hero .checks li { display: flex; align-items: center; gap: 8px; }
.hero .checks svg { width: 16px; height: 16px; color: var(--gold); }
.hero-art { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-art .ring { position: absolute; border: 2px solid color-mix(in srgb, var(--teal) 45%, transparent); border-radius: 50%; }
.hero-art .dot { position: absolute; background: color-mix(in srgb, var(--teal) 35%, transparent); border-radius: 50%; }
.hero-art .bg-shape.teal { background: color-mix(in srgb, var(--teal) 30%, transparent); }
.hero-art .bg-shape.gold { background: color-mix(in srgb, var(--gold) 28%, transparent); }

/* Number band */
.band-wrap { position: relative; margin-top: 64px; }
.band-wrap::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: var(--white); z-index: -1; }
.hero + .band-after { background: var(--white); }
.numbers { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border: 1px solid var(--mist); }
.numbers .num { padding: 32px; border-right: 1px solid var(--mist); }
.numbers .num:last-child { border-right: 0; }
.numbers .num::before { content: ""; display: block; width: 44px; height: 3px; margin-bottom: 20px; }
.numbers .num:nth-child(1)::before { background: var(--gold); }
.numbers .num:nth-child(2)::before { background: var(--teal); }
.numbers .num:nth-child(3)::before { background: var(--navy); }
.numbers .num:nth-child(4)::before { background: var(--slate); }
.numbers .value { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-h2); color: var(--navy); line-height: 1; }
.numbers .what { margin-top: 8px; color: var(--slate); }
.hero .numbers-holder { margin-top: 72px; position: relative; }
.hero .numbers-holder::after { content: ""; position: absolute; left: calc(-1 * var(--gutter) - 50vw); right: calc(-1 * var(--gutter) - 50vw); bottom: 0; height: 50%; background: var(--white); z-index: -1; }
.safety-line { padding: 24px 0 40px; }
.safety-line p { margin: 0; }
.safety-line a { color: var(--navy); font-weight: 600; }

/* Stages */
.stages-section { position: relative; overflow: hidden; }
.stages { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; counter-reset: stage; }
.stage {
  --lit: 0;
  position: relative; padding: 28px 44px 32px 28px; min-height: 260px;
  background: color-mix(in srgb, var(--ivory) 7%, transparent);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%, 26px 50%);
  transition: background 0.6s ease;
}
.stage:first-child { clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%); }
.stage.is-lit { background: color-mix(in srgb, var(--teal) 48%, transparent); }
.stage .marker { width: 44px; height: 42px; display: grid; place-items: center; background: var(--teal); clip-path: var(--pentagon); color: var(--ivory); font-family: var(--font-head); font-weight: 600; font-size: var(--fs-title); padding-top: 4px; margin-bottom: 20px; }
.stage h3 { color: var(--ivory); font-size: var(--fs-title); margin-bottom: 8px; }
.stage p { margin: 0; color: var(--mist); }
.stage:not(:first-child) { padding-left: 44px; }
@media (max-width: 1100px) {
  .stages { grid-template-columns: 1fr; gap: 4px; }
  .stage, .stage:first-child { min-height: 0; padding: 24px 28px 36px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), 50% 100%, 0 calc(100% - 16px)); }
  .stage:not(:first-child) { padding-left: 28px; }
  .stage { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; }
  .stage .marker { grid-row: span 2; margin: 0; }
}

/* Who we work with */
.network { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.orbit { position: relative; aspect-ratio: 1; max-width: 420px; width: 100%; margin: 0 auto; }
.orbit svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--mist); }
.orbit .core { position: absolute; left: 50%; top: 50%; width: 36%; aspect-ratio: 1; transform: translate(-50%, -50%); background: var(--navy); clip-path: var(--decagon); display: grid; place-items: center; }
.orbit .core img { width: 70%; height: auto; }
.orbit ul { list-style: none; margin: 0; padding: 0; }
.orbit li { position: absolute; transform: translate(-50%, -50%); background: var(--white); border: 1px solid var(--mist); border-radius: 999px; padding: 6px 14px; font-family: var(--font-head); font-weight: 500; font-size: var(--fs-label); color: var(--navy); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.orbit li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
@media (max-width: 960px) { .network { grid-template-columns: 1fr; } }

/* Industries */
.industries { grid-template-columns: repeat(4, 1fr); }
.industries .ask { grid-row: span 2; background: var(--ivory) !important; position: relative; overflow: hidden; }
.industries .ask .bg-shape { width: 140px; height: 140px; right: -30px; bottom: -30px; background: color-mix(in srgb, var(--teal) 30%, transparent); }
.industries .ask::before { content: ""; display: block; width: 44px; height: 3px; background: var(--gold); margin-bottom: 4px; }
.industry { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 24px; min-height: 150px; color: var(--navy); text-decoration: none; font-family: var(--font-head); font-weight: 500; font-size: var(--fs-lead); transition: background var(--ease), color var(--ease); }
.industry:hover { background: var(--navy) !important; color: var(--ivory); }
.industry:hover .icon-tile { background: color-mix(in srgb, var(--ivory) 14%, transparent); color: var(--ivory); }
@media (max-width: 1024px) { .industries { grid-template-columns: repeat(2, 1fr); } .industries .ask { grid-column: span 2; grid-row: auto; } }
@media (max-width: 520px) { .industries { grid-template-columns: 1fr; } .industries .ask { grid-column: auto; } }

/* Vision and mission */
.vm .card { padding: 40px; gap: 0; }
.vm blockquote { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: var(--fs-h3); line-height: 1.25; color: var(--navy); }

/* CTA panel */
.cta { position: relative; overflow: hidden; background: var(--navy); color: var(--mist); padding: 72px; }
.cta h2 { color: var(--ivory); max-width: 640px; }
.cta p { max-width: 620px; font-size: var(--fs-lead); margin: 20px 0 32px; }
.cta p.label { font-size: var(--fs-label); margin: 0 0 16px; }
.cta .bg-shape { width: 340px; height: 340px; right: -40px; top: -40px; background: color-mix(in srgb, var(--teal) 40%, transparent); }
.cta > * { position: relative; }
.cta > .bg-shape { position: absolute; }

/* Contact strip */
.contact-strip .card { padding: 28px; }
.contact-strip .big { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-title); color: var(--navy); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.contact-strip .label::before { display: none; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: var(--mist); padding: 88px 0 80px; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: var(--ivory); font-size: var(--fs-h2); max-width: 820px; }
.page-hero .intro { font-size: var(--fs-lead); max-width: 680px; margin: 20px 0 0; }
.page-hero .btn-row { margin-top: 32px; }
.page-hero .bg-shape.one { width: 360px; height: 360px; right: -80px; top: -60px; background: color-mix(in srgb, var(--teal) 30%, transparent); }
.page-hero .bg-shape.two { width: 120px; height: 120px; right: 260px; bottom: -30px; background: color-mix(in srgb, var(--gold) 25%, transparent); }
.breadcrumb { font-size: var(--fs-label); margin-bottom: 20px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--mist); }
.breadcrumb a { color: var(--mist) !important; display: inline-flex; min-height: 44px; align-items: center; }
.page-hero--calm { background: var(--ivory); color: var(--slate); }
.page-hero--calm h1 { color: var(--navy); }
.page-hero--calm .breadcrumb a { color: var(--navy) !important; }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: var(--fs-h3); margin: 56px 0 16px; }
.prose h3 { margin: 32px 0 8px; }
.prose > :first-child { margin-top: 0; }
.prose li { margin-bottom: 6px; }

.two-col { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; }
.two-col > :first-child h2 { font-size: var(--fs-h3); }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 24px; } }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 0; border-top: 1px solid var(--mist); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--mist); margin: 0; }
.steps li::before { content: counter(s); width: 40px; height: 38px; display: grid; place-items: center; background: var(--ivory); color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: var(--fs-title); }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; }

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 12px 0 12px 32px; border-bottom: 1px solid var(--mist); margin: 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 20px; width: 14px; height: 14px; background: var(--teal); clip-path: var(--decagon); }

.terms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--mist); margin: 0; }
.terms div { padding: 16px 24px 16px 0; border-bottom: 1px solid var(--mist); }
.terms dt { font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.terms dd { margin: 4px 0 0; }
@media (max-width: 700px) { .terms { grid-template-columns: 1fr; } }

/* FAQs */
.faqs { border-top: 1px solid var(--mist); }
.faqs details { border-bottom: 1px solid var(--mist); }
.faqs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; min-height: 64px; padding: 16px 0; font-family: var(--font-head); font-weight: 600; font-size: var(--fs-lead); color: var(--navy); }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; font-size: var(--fs-h3); font-weight: 400; color: var(--teal); flex: none; width: 24px; text-align: center; }
.faqs details[open] summary::after { content: "–"; }
.faqs .answer { padding: 0 0 24px; max-width: 760px; }
.faqs .answer p:last-child { margin: 0; }
.note { font-size: var(--fs-label); color: var(--slate); margin-top: 24px; }

/* Callout */
.callout { border-left: 4px solid var(--gold); background: var(--ivory); padding: 24px 28px; }
.callout p:last-child { margin: 0; }

/* People */
.person .photo { width: 120px; height: 120px; background: var(--ivory); clip-path: var(--decagon); display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: var(--fs-h3); color: var(--navy); margin-bottom: 8px; }
.person .photo svg { width: 40px; height: 40px; color: var(--slate); }
.person .role { color: var(--teal); font-weight: 600; }
.person dl { margin: 0; font-size: var(--fs-label); }
.person dt { font-weight: 600; color: var(--navy); margin-top: 8px; }
.person dd { margin: 0; }

/* Jobs */
.jobs-status { padding: 24px; border: 1px solid var(--mist); }
.job .meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.job-detail h2 { font-size: var(--fs-h3); margin: 40px 0 12px; }
.job-detail .meta { margin: 20px 0 0; }
.sample-flag { display: inline-block; background: var(--navy); color: var(--ivory); font-weight: 600; font-size: var(--fs-label); letter-spacing: 0.12em; padding: 2px 10px; }

/* Publications */
.filters { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; align-items: flex-end; }
.filters label { display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-label); font-weight: 600; color: var(--navy); letter-spacing: 0.08em; text-transform: uppercase; }
.filters select { min-height: 48px; min-width: 200px; padding: 0 12px; font-family: var(--font-body); font-size: var(--fs-body); color: var(--navy); background: var(--white); border: 1px solid var(--slate); border-radius: 0; }
.pub .journal { font-weight: 600; color: var(--navy); }
.pub .meta { display: flex; flex-wrap: wrap; gap: 8px; }
.pub .role { font-size: var(--fs-label); }
.pub[hidden] { display: none; }

/* Brand kit */
.swatch { padding: 0 !important; }
.swatch .chip { height: 96px; }
.swatch .info { padding: 16px 20px 20px; }
.swatch code { font-size: var(--fs-label); color: var(--slate); }
.logo-box { padding: 40px; display: grid; place-items: center; min-height: 180px; }
.logo-box img { width: 70%; max-width: 280px; height: auto; }
.logo-box.navy { background: var(--navy) !important; }
.dodont { list-style: none; padding: 0; margin: 0; }
.dodont li { padding: 10px 0 10px 32px; border-bottom: 1px solid var(--mist); position: relative; margin: 0; }
.dodont li::before { position: absolute; left: 0; top: 10px; font-weight: 600; }
.dodont.do li::before { content: "✓"; color: var(--teal); }
.dodont.dont li::before { content: "✕"; color: var(--navy); }
.font-sample { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-h3); color: var(--navy); line-height: 1.2; }
.font-sample.body { font-family: var(--font-body); font-weight: 400; }

/* Side-effect page */
.ways .card { gap: 10px; }
.ways .big { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-title); color: var(--navy); text-decoration: none; word-break: break-word; display: inline-flex; min-height: 44px; align-items: center; }
.fields { columns: 2; column-gap: 32px; }
.fields li { break-inside: avoid; }
@media (max-width: 600px) { .fields { columns: 1; } }

/* Placeholder notice (legal pages) */
.notice { border: 1px dashed var(--teal); background: var(--ivory); padding: 24px 28px; }
.notice h2 { font-size: var(--fs-title); margin: 0 0 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--mist); padding: 80px 0 40px; font-size: var(--fs-body); }
.site-footer a { color: var(--mist); }
.site-footer a:hover { color: var(--ivory); }
.footer-top { display: grid; grid-template-columns: 5fr 3fr 2fr 2fr; gap: 40px; }
.footer-top h2 { font-size: var(--fs-lead); color: var(--ivory); margin-bottom: 16px; }
.footer-top ul { list-style: none; padding: 0; margin: 0; }
.footer-top li a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; }
.footer-top li a:hover { text-decoration: underline; }
.footer-brand img { height: 26px; width: auto; margin-bottom: 20px; }
.footer-brand p { margin: 0 0 12px; }
.footer-brand .contact-line a { display: inline-flex; min-height: 32px; align-items: center; }
.footer-certs { border-top: 1px solid var(--line-on-navy); margin-top: 48px; padding-top: 32px; }
.footer-certs h2 { font-size: var(--fs-lead); color: var(--ivory); margin-bottom: 16px; }
.cert-row { display: flex; flex-wrap: wrap; gap: 16px; }
.cert { border: 1px solid var(--line-on-navy); padding: 16px 20px; min-width: 150px; font-size: var(--fs-label); }
.footer-bottom { border-top: 1px solid var(--line-on-navy); margin-top: 32px; padding-top: 24px; font-size: var(--fs-label); }
.footer-bottom p { margin: 0 0 12px; max-width: 880px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; margin-top: 16px; }
.footer-legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 0; }
.footer-legal a { display: inline-flex; min-height: 44px; align-items: center; }
.tagline { color: var(--gold); letter-spacing: 0.2em; font-weight: 600; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } .footer-brand { grid-column: auto; } }

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
  :root { --section: 56px; --gutter: 16px; }
  h1, h2, .page-hero h1 { font-size: var(--fs-h3); }
  .hero { padding-top: 64px; }
  .hero h1 { font-size: var(--fs-h2); }
  .vm blockquote { font-size: var(--fs-title); }
  .numbers { grid-template-columns: 1fr 1fr; }
  .numbers .num { padding: 24px 20px; border-bottom: 1px solid var(--mist); }
  .numbers .num:nth-child(2) { border-right: 0; }
  .numbers .value { font-size: var(--fs-h3); }
  .cta { padding: 48px 24px; }
  .page-hero { padding: 56px 0; }
  .vm .card { padding: 28px 24px; }
  .topbar .hours { display: none; }
  .btn-row .btn { flex: 1 1 auto; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .card-link:hover { transform: none; }
}

.bg-cream .steps li::before { background: var(--white); }

@media (max-width: 760px) {
  .hero-art > :not(.teal) { display: none; }
  .hero-art .bg-shape.teal { width: 220px !important; height: 220px !important; right: -120px !important; top: -40px !important; }
  .page-hero .bg-shape.two { display: none; }
  .industries { grid-template-columns: 1fr 1fr; }
  .industries .ask { grid-column: span 2; }
  .industry { padding: 16px; min-height: 120px; gap: 16px; font-size: var(--fs-body); }
}

/* Teal small text is for white only. On cream, links and labels turn navy (brand rule 3). */
.bg-cream a:not(.btn), .card--cream a:not(.btn), .callout a:not(.btn), .page-hero--calm a:not(.btn),
.industries .ask a:not(.btn), .bg-cream .more, .card--cream .more,
.callout .label, .page-hero--calm .label, .industries .ask .label, .notice .label { color: var(--navy); }
.bg-cream .bg-cream .card a:not(.btn), .bg-cream .card:not(.card--cream) .more { color: var(--teal); }

/* Services hub: one row per family, no big gaps */
ul.grid { list-style: none; margin: 0; padding: 0; }
.section--compact { padding: 56px 0 24px; }
.family-row { display: grid; grid-template-columns: 3fr 9fr; gap: 40px; padding: 40px 0; border-top: 1px solid var(--mist); }
.family-row:first-child { border-top: 0; padding-top: 0; }
.family-head h2 { font-size: var(--fs-h3); }
.family-head p:not(.label) { margin: 12px 0 0; }
.family-row .card { padding: 24px; gap: 10px; }
.svc-title { display: flex; align-items: center; gap: 14px; }
.svc-title .icon-tile { width: 44px; height: 44px; }
.svc-title .icon-tile svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .family-row { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; } }
.mini-label { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); margin: 6px 0 0 !important; }
.mini-list { margin: 0; padding-left: 18px; }
.mini-list li { margin: 0 0 4px; }
.covers { color: var(--navy); }

/* Phases: before launch, during go-to-market, after launch */
.phases { counter-reset: none; }
.phase { padding: 32px 28px; }
.phase::before { content: ""; display: block; height: 3px; width: 44px; margin-bottom: 8px; }
.phase:nth-child(1)::before { background: var(--gold); }
.phase:nth-child(2)::before { background: var(--teal); }
.phase:nth-child(3)::before { background: var(--navy); }
.phase-num { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }
.phase h3 { font-size: var(--fs-h3); }
.phase-list { list-style: none; padding: 0; margin: 8px 0 16px; border-top: 1px solid var(--mist); }
.phase-list li { padding: 12px 0; border-bottom: 1px solid var(--mist); display: flex; flex-direction: column; gap: 2px; margin: 0; }
.phase-list a { font-family: var(--font-head); font-weight: 600; color: var(--navy); text-decoration: none; display: inline-flex; min-height: 28px; align-items: center; }
.phase-list a:hover { color: var(--teal); text-decoration: underline; }

/* Services hub: phase filter */
.phase-filter { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 40px; }
.phase-filter span { font-weight: 600; color: var(--navy); margin-right: 4px; }
.phase-filter button { min-height: 44px; padding: 0 18px; border: 1px solid var(--navy); background: var(--white); color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: var(--fs-body); border-radius: 999px; cursor: pointer; }
.phase-filter button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.phase-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.phase-tags .tag { font-size: var(--fs-label); padding: 2px 10px; }
.family-row[hidden], .family-row li[hidden] { display: none; }
ol.grid { list-style: none; margin: 0; padding: 0; }
/* When a phase is chosen, cards flow so no empty cells are left */
.is-filtered .family-row .grid { display: flex; flex-wrap: wrap; }
.is-filtered .family-row .grid > li { flex: 1 1 300px; }
.person--wide { flex-direction: row; gap: 28px; align-items: flex-start; }
.person--wide .photo { flex: none; }
@media (max-width: 600px) { .person--wide { flex-direction: column; } }
.sites { columns: 2; column-gap: 40px; margin-top: 24px; }
.sites-state { break-inside: avoid; margin-bottom: 24px; }
.sites-state h3 { font-size: var(--fs-lead); margin-bottom: 8px; }
.sites-state ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--mist); }
.sites-state li { padding: 8px 0; border-bottom: 1px solid var(--mist); margin: 0; color: var(--navy); }
.sites-state li span { display: block; font-size: var(--fs-label); color: var(--slate); }
@media (max-width: 700px) { .sites { columns: 1; } }

/* Client and partner logos: grey until hovered, so many brand colours do not clash with ours */
.logo-grid { list-style: none; margin: 16px 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); border-top: 1px solid var(--mist); border-left: 1px solid var(--mist); }
.logo-grid li { margin: 0; background: var(--white); border-right: 1px solid var(--mist); border-bottom: 1px solid var(--mist); display: grid; place-items: center; height: 88px; padding: 14px; }
.logo-grid img { max-width: 100%; max-height: 52px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: 0.8; transition: filter var(--ease), opacity var(--ease); }
.logo-grid li:hover img { filter: none; opacity: 1; }
.logo-grid--row { grid-template-columns: repeat(6, 1fr); }
.home-logos { margin-top: 56px; }
@media (max-width: 900px) { .logo-grid--row { grid-template-columns: repeat(3, 1fr); } }
@media (prefers-reduced-motion: reduce) { .logo-grid img { transition: none; } }

/* Moving client logo band */
.logo-band { padding: 40px 0 48px; border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); background: var(--white); overflow: hidden; }
.logo-band-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.logo-band-head .label { margin: 0; }
.marquee { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover, .marquee:focus-within { animation-play-state: paused; }
.marquee-track { list-style: none; display: flex; align-items: center; gap: 56px; margin: 0; padding: 0 28px; }
.marquee-track li { margin: 0; flex: none; height: 64px; display: flex; align-items: center; }
.marquee-track img { max-height: 56px; max-width: 160px; width: auto; height: auto; filter: grayscale(1); opacity: 0.85; transition: filter var(--ease), opacity var(--ease); }
.marquee-track li:hover img { filter: none; opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 760px) { .marquee-track { gap: 36px; } .marquee-track img { max-height: 44px; max-width: 120px; } }
/* No motion: show one still list that wraps */
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; width: auto; display: block; }
  .marquee-track { flex-wrap: wrap; justify-content: center; gap: 24px 40px; padding: 0 var(--gutter); }
  .marquee-copy { display: none; }
}
.home-partners { margin-top: 56px; }
.home-partners .logo-grid--row { grid-template-columns: repeat(9, 1fr); }
.logo-grid a { display: grid; place-items: center; width: 100%; height: 100%; }
.logo-grid a:hover img { filter: none; opacity: 1; }
@media (max-width: 1100px) { .home-partners .logo-grid--row { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 600px) { .home-partners .logo-grid--row { grid-template-columns: repeat(3, 1fr); } }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.copy-btn { min-height: 44px; padding: 8px 16px; }

/* Forms */
.form { display: grid; gap: 20px; max-width: 640px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea { font: inherit; font-size: var(--fs-body); color: var(--navy); background: var(--white); border: 1px solid var(--slate); border-radius: 0; padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--teal); outline-offset: 1px; }
.field--check { grid-template-columns: 24px 1fr; align-items: start; gap: 12px; }
.field--check input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; padding: 0; accent-color: var(--navy); }
.field--check label { font-weight: 400; color: var(--slate); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-side { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--mist); }
.contact-side p { margin: 0 0 12px; }
.topbar-safety { color: var(--navy); font-weight: 600; }
.topbar-safety a { min-height: 36px; }
@media (max-width: 520px) { .topbar-safety { font-size: var(--fs-label); } }

/* Tables in long text (for example the privacy policy) */
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: var(--fs-body); }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border: 1px solid var(--mist); }
.prose th { background: var(--ivory); color: var(--navy); font-family: var(--font-head); font-weight: 600; }
@media (max-width: 700px) {
  .prose table, .prose thead, .prose tbody, .prose tr, .prose th, .prose td { display: block; }
  .prose thead { position: absolute; left: -9999px; }
  .prose tr { border: 1px solid var(--mist); margin-bottom: 12px; }
  .prose td { border: 0; border-bottom: 1px solid var(--mist); }
  .prose td:last-child { border-bottom: 0; }
}
@media (max-width: 700px) {
  .prose td::before { display: block; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
  .prose td:nth-child(1)::before { content: "When"; }
  .prose td:nth-child(2)::before { content: "What we collect"; }
  .prose td:nth-child(3)::before { content: "Why"; }
}
.social { list-style: none; display: flex; gap: 10px; padding: 0; margin: 16px 0 0; }
.social li { margin: 0; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-on-navy); color: var(--ivory); transition: background var(--ease); }
.social a:hover { background: color-mix(in srgb, var(--ivory) 12%, transparent); color: var(--ivory); }
.hospital-names { list-style: none; padding: 0; margin: 12px 0 8px; columns: 3; column-gap: 24px; border-top: 1px solid var(--mist); }
.hospital-names li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--mist); margin: 0; color: var(--navy); font-size: var(--fs-body); }
.hospital-names li span { display: block; color: var(--slate); font-size: var(--fs-label); }
@media (max-width: 900px) { .hospital-names { columns: 2; } }
@media (max-width: 520px) { .hospital-names { columns: 1; } }
.nav .btn[aria-current="page"] { box-shadow: inset 0 -4px 0 var(--gold); }
.logo-grid--hospitals li { height: 96px; }
.logo-grid--hospitals:empty, .hospital-names:empty { display: none; }
.logo-band-head--second { margin-top: 32px; }
.marquee--reverse { animation-direction: reverse; animation-duration: 80s; }
.logo-grid--hospitals { display: none; }
