/* Pulse Product Development — site styles
   Layout: 1200px measure; deep-navy hero with the logo's EKG trace; white/tint content bands; brand-blue statement band. */

:root {
  /* Color — brand: Deep Blue #0038A8 (Pantone 2935C), California Golden Yellow #FFCC00 (Pantone 123C) */
  --blue: #0038A8;
  --blue-deep: #002A80;
  --navy: #06173B;        /* hero / footer ground, derived from brand blue */
  --navy-2: #0B2253;
  --yellow: #FFCC00;
  --ink: #0D1B33;         /* body text */
  --slate: #56637A;       /* secondary text */
  --line: #DCE3EE;        /* hairlines, card borders */
  --tint: #F2F5FA;        /* alternate band */
  --paper: #FFFFFF;
  --on-dark: #E6ECF7;     /* body text on navy */
  --on-dark-2: #9FB0CF;   /* secondary text on navy */

  /* Type */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);
  --step-4: clamp(2.4rem, 1.4rem + 3.6vw, 4.1rem);

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 12px;
  --r-sm: 8px;
  --shadow: 0 1px 2px rgba(6, 23, 59, .06), 0 8px 24px rgba(6, 23, 59, .06);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; box-shadow: 0 0 0 5px var(--yellow); border-radius: 4px; }
.hero :focus-visible, .statement :focus-visible, .site-footer :focus-visible, .band-photo :focus-visible { outline-color: var(--yellow); box-shadow: none; }
::selection { background: var(--yellow); color: var(--navy); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-stretch: 92%;
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}
h1 { font-size: var(--step-4); font-weight: 680; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; max-width: 64ch; }
ul { margin: 0; padding: 0; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--tint { background: var(--tint); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.stack { display: grid; gap: 16px; }
.stack-lg { display: grid; gap: clamp(28px, 4vw, 48px); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--yellow); }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--slate); max-width: 58ch; }
.muted { color: var(--slate); }
.ph { font-family: var(--mono); font-size: 0.85em; color: #8A6D00; background: #FFF6CC; padding: 1px 6px; border-radius: 4px; white-space: nowrap; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 48px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 15px 24px; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
.btn-primary:hover { background: #FFD83D; border-color: #FFD83D; color: var(--navy); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.45); background: transparent; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-ghost { color: var(--blue); border-color: var(--blue); background: transparent; }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-deep); color: #fff; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.98rem;
  padding-block: 6px; border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover { color: var(--blue); }
.nav a[aria-current] { color: var(--blue); border-bottom-color: var(--yellow); }
.nav .btn { padding: 12px 20px; font-size: 0.95rem; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; margin: auto; display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
    box-shadow: 0 12px 24px rgba(6,23,59,.08);
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current] { border-bottom-color: var(--line); }
  .nav .btn { margin-top: 14px; }
  .brand img { height: 40px; }
}

/* Hero (home) */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(1200px 520px at 78% 38%, rgba(0,56,168,.55), transparent 62%), var(--navy);
  color: var(--on-dark);
}
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(56px, 8vw, 104px) clamp(40px, 5vw, 64px);
}
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--yellow); }
.hero .eyebrow { color: var(--on-dark-2); }
.hero-sub { font-size: var(--step-1); color: var(--on-dark); max-width: 38ch; line-height: 1.5; }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero-art { position: relative; min-width: 0; }
.hero-art::before {
  content: ""; position: absolute; inset: 10% 6%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(120,160,255,.28), transparent);
  filter: blur(8px); z-index: -1;
}
.hero-art img { width: 100%; max-width: 620px; margin-inline: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.ekg { display: block; width: 100%; height: 72px; }
.ekg path { fill: none; stroke: var(--yellow); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hero .ekg path { stroke-dasharray: 2600; stroke-dashoffset: 0; animation: trace 2.6s ease-out .2s both; }
@keyframes trace { from { stroke-dashoffset: 2600; } to { stroke-dashoffset: 0; } }

.facts {
  border-top: 1px solid rgba(159,176,207,.18);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.facts div { padding: 22px 20px 26px 0; display: grid; gap: 4px; }
.facts div + div { padding-left: 20px; border-left: 1px solid rgba(159,176,207,.18); }
.facts b { font-family: var(--display); font-stretch: 92%; font-size: 1.9rem; color: #fff; font-weight: 650; line-height: 1.1; font-variant-numeric: tabular-nums; }
.facts span { font-size: 0.9rem; color: var(--on-dark-2); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 440px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid rgba(159,176,207,.18); }
}

/* Audience cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 26px; display: grid; gap: 10px; align-content: start;
  transition: border-color .15s, box-shadow .15s;
}
.card h3 { color: var(--blue); }
.card p { color: var(--slate); }
.card .card-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--tint); display: grid; place-items: center; color: var(--blue); margin-bottom: 6px; }
.card .card-ico svg { width: 22px; height: 22px; }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } }

/* Stages (how it works) */
.stages { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; counter-reset: stage; }
.stage { position: relative; display: grid; gap: 10px; align-content: start; }
.stage-num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yellow); color: var(--navy); font-family: var(--mono); font-weight: 600; font-size: 0.95rem;
  box-shadow: 0 0 0 6px var(--tint); margin-bottom: 12px;
}
.stage h3 { font-size: 1.3rem; }
.stage p { color: var(--slate); }
@media (max-width: 860px) {
  .stages { grid-template-columns: 1fr; gap: 28px; }
  .stage { grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; }
  .stage-num { grid-row: span 2; margin-bottom: 0; }
}

/* Therapy band */
.band-photo {
  position: relative; isolation: isolate; color: var(--on-dark); overflow: hidden;
  background: var(--navy);
}
.band-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,42,128,.95) 0%, rgba(0,42,128,.86) 55%, rgba(6,23,59,.82) 100%); z-index: -1; }
.band-photo h2 { color: #fff; }
.band-photo .eyebrow { color: var(--on-dark-2); }
.band-photo .lede { color: var(--on-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chips li {
  border: 1px solid rgba(255,255,255,.34); background: rgba(255,255,255,.07);
  color: #fff; padding: 9px 16px; border-radius: 999px; font-size: 0.97rem;
}

/* Lab / capabilities */
.lab-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.lab-item { display: grid; gap: 12px; align-content: start; margin: 0; }
.lab-item img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--r-sm); border: 1px solid var(--line); }
.lab-item figcaption { display: grid; gap: 2px; }
.lab-item b { font-family: var(--display); font-stretch: 92%; font-weight: 650; font-size: 1.08rem; }
.lab-item span { color: var(--slate); font-size: 0.95rem; }
@media (max-width: 960px) { .lab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .lab-grid { grid-template-columns: 1fr; } }

/* Split layouts */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Founders */
.lead-statement { font-family: var(--display); font-stretch: 92%; font-weight: 600; font-size: var(--step-2); line-height: 1.3; color: var(--blue); letter-spacing: -0.01em; max-width: 30ch; }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.person { display: grid; gap: 14px; align-content: start; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 5px solid var(--yellow); padding: 6px; background: var(--paper); max-width: 220px; }
.person b { font-family: var(--display); font-stretch: 92%; font-size: 1.25rem; font-weight: 650; display: block; }
.person .role { color: var(--blue); font-weight: 600; font-size: 0.95rem; }
.person .deg { color: var(--slate); font-size: 0.95rem; }
.person .li { font-size: 0.92rem; }
@media (max-width: 480px) { .people { grid-template-columns: 1fr 1fr; gap: 16px; } .person img { border-width: 4px; padding: 4px; } }

/* Statement band */
.statement { background: var(--blue); color: #fff; position: relative; overflow: hidden; }
.statement h2 { color: #fff; }
.statement p { color: #E3EAFA; font-size: var(--step-1); max-width: 52ch; }
.statement .ekg { height: 64px; margin-top: 48px; }
.pill { display: inline-block; background: var(--yellow); color: var(--navy); font-family: var(--mono); font-weight: 600; font-size: 0.8rem; letter-spacing: .12em; text-transform: uppercase; padding: 9px 16px; border-radius: 999px; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-family: var(--display); font-stretch: 92%; font-weight: 600; font-size: 1.15rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 1.4rem; color: var(--blue); line-height: 1; flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--slate); }

/* Contact block + form */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-grid > * { min-width: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid #7A879F; border-radius: var(--r-sm); padding: 13px 14px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,56,168,.15); }
.field .hint { font-size: 0.85rem; color: var(--slate); }
.form-note { font-size: 0.9rem; color: var(--slate); }
.form-status { font-size: 0.95rem; font-weight: 600; color: var(--blue); }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; }

.details { display: grid; gap: 22px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.details dl { margin: 0; display: grid; gap: 18px; }
.details dt { font-family: var(--mono); font-size: 0.72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin-bottom: 4px; }
.details dd { margin: 0; font-weight: 500; }
.details .building { border-radius: var(--r-sm); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-dark-2); padding-block: 64px 28px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 36px; }
.footer-grid > * { min-width: 0; }
.site-footer img { height: 54px; width: auto; margin-bottom: 18px; }
.site-footer p { color: var(--on-dark); max-width: 42ch; }
.site-footer .footer-h { font-family: var(--mono); font-size: 0.72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); font-weight: 500; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(159,176,207,.18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Page hero (interior pages) */
.page-hero { background: var(--tint); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-block: clamp(48px, 7vw, 88px) clamp(40px, 5vw, 64px); display: grid; gap: 18px; }
.page-hero h1 { color: var(--ink); }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; list-style: none; }
.jump a { display: inline-flex; gap: 10px; align-items: center; padding: 9px 16px; border-radius: 999px; border: 1px solid #7A879F; background: var(--paper); text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.jump a:hover { border-color: var(--blue); color: var(--blue); }
.jump a span { font-family: var(--mono); font-size: 0.8rem; color: var(--blue); }

/* Service stages (services page) */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 72px); align-items: center; padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.svc:first-child { border-top: 0; }
.svc > * { min-width: 0; }
.svc:nth-child(even) .svc-media { order: -1; }
.svc-copy { display: grid; gap: 16px; }
.svc-copy .stage-num { box-shadow: none; margin-bottom: 0; }
.svc-copy h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); }
.svc-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); }
.svc-media img.contain { object-fit: contain; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; }
.ticks li::before { content: ""; width: 10px; height: 10px; margin-top: 9px; border-radius: 2px; background: var(--yellow); box-shadow: 0 0 0 3px #FFF1B3; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } .svc:nth-child(even) .svc-media { order: 0; } }

.comp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.comp .card ul { list-style: none; display: grid; gap: 8px; color: var(--ink); }
.comp .card li { padding-left: 16px; position: relative; font-size: 0.98rem; }
.comp .card li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 7px; height: 2px; background: var(--blue); }
@media (max-width: 860px) { .comp { grid-template-columns: 1fr; } }
.caps-line { border-top: 1px solid var(--line); padding-top: 22px; color: var(--slate); max-width: none; }
.caps-line b { color: var(--ink); }

/* Shop */
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.sku { text-decoration: none; color: var(--ink); display: grid; gap: 12px; }
.sku:hover .sku-name { color: var(--blue); }
.photo-ph {
  aspect-ratio: 4 / 5; border-radius: var(--r); border: 1px dashed #B9C7E2; background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(0,56,168,.035) 14px 15px), var(--tint);
  display: grid; place-items: center; text-align: center; padding: 20px; color: var(--slate);
  font-family: var(--mono); font-size: 0.85rem;
}
.sku .sku-name { font-size: 1.1rem; }
.price { font-family: var(--mono); font-size: 1rem; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Product */
.crumb { font-size: 0.9rem; color: var(--slate); }
.crumb a { color: var(--slate); text-decoration: none; }
.crumb a:hover { color: var(--blue); }
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 64px); align-items: start; }
.product > * { min-width: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery .main { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.gallery .thumb { aspect-ratio: 1; }
.product h1 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); }
.price-big { font-family: var(--display); font-stretch: 92%; font-size: 1.9rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 1px solid #7A879F; border-radius: 999px; }
.qty button { background: none; border: 0; width: 44px; height: 48px; font-size: 1.2rem; cursor: pointer; color: var(--blue); }
.qty input { width: 44px; border: 0; text-align: center; font: inherit; font-weight: 600; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fine { font-size: 0.9rem; color: var(--slate); }
.specs-wrap { overflow-x: auto; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.specs table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.specs th, .specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 46%; font-weight: 500; color: var(--slate); padding-right: 12px; }
.specs td { font-variant-numeric: tabular-nums; }
.specs td .mono { font-family: var(--mono); font-size: 0.92em; }
@media (max-width: 860px) { .product, .specs { grid-template-columns: 1fr; } }

.notice { border-left: 4px solid var(--yellow); background: #FFFBEA; padding: 16px 20px; border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .ekg path { animation: none; }
  .btn, .card, .btn .arrow { transition: none; }
}

/* Skip link */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.hero > .wrap + .wrap { padding-block: 0; display: block; }
.brand img { height: 62px; }
.site-header .wrap { min-height: 84px; }
.site-footer img { height: 76px; }
@media (max-width: 860px) { .brand img { height: 52px; } .site-header .wrap { min-height: 72px; } }
.stages { margin: 0; padding: 0; }
.pill { justify-self: start; }
.hero h1 { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.3rem); max-width: 19ch; }

/* ───────────── Motion layer ─────────────
   Principles: motion explains (draws the eye to the next thing), never decorates for its own sake;
   transform/opacity only; short distances (≤ 24px); one easing curve; everything off under reduced-motion. */
:root { --ease: cubic-bezier(.2, .7, .2, 1); }

/* Hero: still, soft light instead of a grid */
.hero { background: var(--navy); }
.hero-glow { position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 1100px; max-height: 1100px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,56,168,.75), rgba(0,56,168,.25) 55%, transparent 72%); z-index: -1; pointer-events: none;
}
.hero-glow.two { inset: auto auto -35% -15%; width: 45vw; height: 45vw; background: radial-gradient(closest-side, rgba(255,204,0,.10), transparent 70%); }

/* Header gains depth once the page moves */
.site-header { transition: box-shadow .25s, background-color .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(6,23,59,.08); }

/* Scroll reveal (only when JS is running, so the page is complete without it) */
.js .reveal { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* Stage connector draws across as the section arrives */

/* EKG in the blue band re-traces when it scrolls in */
.js .statement .ekg path { stroke-dasharray: 2600; stroke-dashoffset: 2600; transition: stroke-dashoffset 2.4s var(--ease); }
.js .statement .ekg.in path { stroke-dashoffset: 0; }

/* Parallax photos: oversize so movement never shows an edge */
.band-photo > img { height: 140%; top: -20%; bottom: auto; will-change: transform; }
.svc-media { overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); }
.svc-media img { border: 0; border-radius: 0; transform: scale(1.2); will-change: transform; }
.svc-media img.contain { transform: none; }

/* Hover only on things you can click (Rams: honest, understandable) */
.lab-item .img-frame { overflow: hidden; border-radius: var(--r-sm); border: 1px solid var(--line); }
.lab-item img { border: 0; border-radius: 0; }
.sku .photo-ph { transition: border-color .2s; }
.sku:hover .photo-ph { border-color: var(--blue); }

@media (prefers-reduced-motion: reduce) {

  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .stage::after { transform: none; transition: none; }
  .js .statement .ekg path { stroke-dashoffset: 0; transition: none; }
  [data-parallax] { transform: none !important; transition: none !important; }
}
.hero > .wrap.hero-ekg { padding-bottom: clamp(40px, 5vw, 64px); }

/* French-size scale strip (home, under hero) */
.sizes { border-bottom: 1px solid var(--line); }
.sizes-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(40px, 5vw, 64px); }
.sizes-grid > * { min-width: 0; }
.sizes h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }
.nowrap { white-space: nowrap; color: var(--blue); }
.sizes-fig { margin: 0; display: grid; gap: 10px; }
.fr-scale { width: 100%; height: auto; display: block; overflow: visible; }
.fr-scale circle { fill: var(--blue); }
.fr-scale text { font-family: var(--mono); font-size: 11px; fill: var(--slate); }
.sizes-fig figcaption { font-family: var(--mono); font-size: 0.75rem; letter-spacing: .06em; color: var(--slate); }
@media (max-width: 860px) { .sizes-grid { grid-template-columns: 1fr; } }

/* Order request (product page) */
.order-card { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 28px); background: var(--paper); margin-top: 8px; }
.order-h { font-size: 1.3rem; margin-bottom: 4px; }
.order-card .field textarea { min-height: 84px; }
.order-card .qty { justify-self: start; }
.order-card .qty input { border: 0; padding: 0; }

/* Product gallery with real photos */
.gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery .main { grid-column: 1 / -1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); }
.gallery .thumb { padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; cursor: pointer; background: none; aspect-ratio: 4 / 3; }
.gallery .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery .thumb[aria-pressed="true"] { border-color: var(--blue); }
.gallery .thumb:hover { border-color: #B9C7E2; }
.sku-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); }
.sku:hover .sku-img { border-color: var(--blue); }
.usage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; }
.usage > * { min-width: 0; }
.steps { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.steps li::marker { font-family: var(--mono); color: var(--blue); font-weight: 600; }
@media (max-width: 700px) { .usage { grid-template-columns: 1fr; } }

/* Engineering drawing (product page) */
.drawing { margin: 0; display: grid; gap: 10px; }
.drawing img { width: 100%; height: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.drawing figcaption { font-size: 0.9rem; color: var(--slate); }

/* ───────────── QA fixes (2026-09-29) ───────────── */
/* Stage connectors: one segment per gap, circle to circle */
.stage:not(:last-child)::after { content: ""; position: absolute; left: 44px; right: -20px; top: 21px; height: 2px; background: var(--yellow); z-index: -1; }
.stages { isolation: isolate; }
.js .stage::after { transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.js .stages.in .stage::after { transform: scaleX(1); }
.js .stages.in .stage:nth-child(2)::after { transition-delay: .25s; }
.js .stages.in .stage:nth-child(3)::after { transition-delay: .5s; }
@media (max-width: 860px) {
  .stage:not(:last-child)::after { left: 21px; right: auto; top: 44px; bottom: -28px; width: 2px; height: auto; }
  .js .stage::after { transform: scaleY(0); transform-origin: top; }
  .js .stages.in .stage::after { transform: scaleY(1); }
}

/* Anchors clear the sticky header */

/* Buttons that wrap stay readable */
.btn { line-height: 1.2; text-align: center; }

/* Hero: small phones and landscape phones */
@media (max-width: 420px) {
  .hero .wrap { padding-block: 28px 32px; gap: 16px; }
  .hero-art img { max-width: 260px; }
}
@media (max-width: 1000px) and (orientation: landscape) and (max-height: 500px) {
  .hero .wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); padding-block: 24px; }
  .hero-art { order: 0; }
  .hero h1 { font-size: 1.9rem; }
  .hero-sub { font-size: 1rem; }
}

/* French-size labels legible on phones; figure doesn't balloon on tablets */
.sizes-fig { max-width: 560px; }
@media (max-width: 480px) { .fr-scale text { font-size: 17px; } }

/* Footer / small-text links: comfortable tap targets, long email wraps */
.site-footer ul { gap: 0; }
.site-footer ul a { display: inline-block; padding-block: 8px; }
.site-footer a { overflow-wrap: anywhere; }
.person .li a { display: inline-block; padding-block: 10px; }
.nav .btn { min-height: 44px; }

/* Mobile nav without JS: show links inline instead of a dead menu button */
@media (max-width: 860px) {
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .nav { display: flex; position: static; box-shadow: none; border: 0; padding: 0 0 12px; }
  html:not(.js) .site-header .wrap { flex-wrap: wrap; }
}
/* Menu icon becomes a close icon when open */
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: inline; }

/* Short pages: footer sits at the bottom */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }

/* Therapy band: push the photo's dark border outside the frame */
.band-photo > img { width: 130%; left: -15%; max-width: none; }

/* Product page */
@media (min-width: 861px) and (min-height: 700px) { .product .gallery { position: sticky; top: 104px; } }
.specs { align-items: start; }
.notice { max-width: none; }
.nowrap-plain, .mono { white-space: nowrap; }
.chips li { border-radius: 22px; }
.details .building { max-width: 480px; }
/* Eyebrow labels that wrap: dash stays on the first line */
.eyebrow { align-items: flex-start; }
.eyebrow::before { flex: none; margin-top: .6em; }
/* Landscape phones: tighter hero so the headline and buttons fit */
@media (max-width: 1000px) and (orientation: landscape) and (max-height: 500px) {
  .hero .eyebrow { display: none; }
  .hero h1 { font-size: 1.55rem; max-width: none; }
  .hero-copy { gap: 14px; }
  .hero .btn { padding: 11px 18px; }
}

/* ───────────── QA round 3 (2026-09-30) ───────────── */
/* Keyboard focus and in-page links always land below the sticky header */
html { scroll-padding-top: 96px; }
@media (max-width: 860px) { html { scroll-padding-top: 80px; } }
main:focus { outline: none; }
/* Landscape phones up to 1000px: keep the compact hero */
@media (max-width: 1000px) and (orientation: landscape) and (max-height: 500px) { .hero .wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }
/* Hero headline: no forced narrow measure on mid-size screens */
@media (max-width: 1100px) { .hero h1 { max-width: none; } }
/* Quantity stepper: visible focus inside the pill */
.qty button { border-radius: 999px; }
.qty button:focus-visible { outline-offset: -4px; box-shadow: none; }
.qty input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; box-shadow: none; }
.qty input { height: 48px; }
/* Mobile menu: current page is clearer; long menus scroll on short screens */
.nav a[aria-current] { font-weight: 600; }
@media (max-width: 860px) {
  .nav.is-open { max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; }
  .nav a[aria-current] { box-shadow: inset 3px 0 0 var(--blue); padding-left: 12px; }
  html:not(.js) .site-header { position: static; }
}
/* No-JS: hide controls that need JavaScript */
html:not(.js) .qty button, html:not(.js) .gallery .thumb { display: none; }
/* Small links get comfortable tap targets */
.crumb a, .fine a, .drawing figcaption a, .notice a, .details dd a, .muted a { display: inline-block; padding-block: 6px; }
.site-footer ul a, .person .li a { padding-block: 12px; }
/* Footer: email never breaks mid-word; single column on very small phones */
.site-footer a[href^="mailto"] { overflow-wrap: normal; white-space: nowrap; }
@media (max-width: 359px) { .footer-grid { grid-template-columns: 1fr; } }
/* Eyebrow separators stay with the following words */
.nowrap-plain { white-space: nowrap; }
/* Print: show everything, hide interactive chrome */
@media print {
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .nav-toggle, .skip, .hero-glow, form.form .btn-row { display: none !important; }
  .site-header { position: static; }
  .js .stage::after { transform: none !important; }
  .js .statement .ekg path { stroke-dashoffset: 0 !important; }
}
/* Reduced motion wins over everything above */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .stage::after { transform: none !important; }
}
