/* =========================================================
   ClaraSight — hardware theme stylesheet
   Palette: taken from the logo — navy #002454, cyan #00d8e4, brushed aluminium
   ========================================================= */

:root {
  /* surfaces — white, the ground the logo was drawn on */
  --bg:        #ffffff;
  --bg-2:      #f1f5fa;   /* alternating band */
  --panel:     #fbfcfe;   /* card: lighter than the band, toned against white */
  --panel-2:   #f2f6fb;
  --line:      rgba(0, 36, 84, 0.13);
  --line-2:    rgba(0, 36, 84, 0.24);

  /* type — the logo navy is the ink */
  --text:      #002454;
  --text-2:    #35506f;
  --muted:     #5a7186;

  /* accent. The logo cyan (#00d8e4) is only 1.8:1 on white, so it cannot carry
     text — it stays a FILL, and a deepened cyan does the reading. */
  --accent:        #00707f;   /* text-safe cyan — 5.8:1 on white */
  --accent-dk:     #00545f;   /* hover / gradient end */
  --accent-fill:   #00d8e4;   /* the logo cyan itself, fills only */
  --accent-fill-2: #00b3c4;
  --accent-2:      #2f6bb8;   /* blue tier — 5.4:1 */
  --ink:           #002454;   /* logo navy — 8.7:1 on the cyan fill */

  /* brushed aluminium ramp — the lid is a metal object, left neutral */
  --alu-1:     #f2f6fa;
  --alu-2:     #cfd8e2;
  --alu-3:     #a3aebb;
  --alu-4:     #78838f;

  --radius:    14px;
  --radius-lg: 22px;
  --wrap:      1180px;

  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 28px;
}

::selection { background: var(--accent-fill); color: var(--ink); }

/* =========================================================
   BRAND MARK
   ========================================================= */

.brand { display: inline-flex; align-items: center; gap: 11px; }

/* Logo.png is a stacked lockup: the eye mark sits over a "ClaraSight" wordmark
   that turns to mush at header size. The chip crops to the mark alone —
   background-position lifts the wordmark out of frame, and the ratio of the box
   matches the crop so the artwork never distorts. */
.brand-mark {
  width: 33px; height: 26px;
  flex: none;
  border-radius: 8px;
  background: transparent url("Logo.png") no-repeat 50% 45%;
  background-size: 173% auto;
  transition: opacity 0.2s ease;
}
.brand:hover .brand-mark { opacity: 0.78; }
.brand-text {
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.015em;
}
.brand-text span { color: var(--muted); font-weight: 400; }

/* =========================================================
   HEADER / NAV
   ========================================================= */

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}

.nav { display: flex; gap: 30px; }
.nav a {
  font-size: 0.875rem;
  color: var(--text-2);
  position: relative;
  padding-block: 4px;
  transition: color 0.2s ease;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.burger {
  display: none;
  width: 38px; height: 34px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  cursor: pointer;
  padding: 9px 9px;
  flex-direction: column; justify-content: space-between;
}
.burger span {
  display: block; height: 1.5px; width: 100%;
  background: var(--text-2);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.25s ease,
              background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(180deg, var(--accent-fill) 0%, var(--accent-fill-2) 100%);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 6px 22px -8px rgba(0, 137, 156, 0.9);
}
.btn-primary:hover { box-shadow: 0 10px 32px -8px rgba(0, 137, 156, 1.0); }

.btn-outline {
  border-color: var(--line-2);
  color: var(--text);
  background: rgba(0, 36, 84, 0.03);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-ghost {
  height: 38px; padding: 0 16px;
  font-size: 0.85rem;
  color: var(--text-2);
  border-color: var(--line);
}
.btn-ghost:hover { color: var(--text); border-color: var(--line-2); }

.btn-lg { height: 52px; padding: 0 28px; font-size: 0.95rem; }

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  padding: 96px 0 88px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 36, 84, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 36, 84, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 78%);
}

.hero-glow {
  position: absolute;
  top: -230px; right: -120px;
  width: 780px; height: 640px;
  background: radial-gradient(circle at 50% 50%, rgba(0, 137, 156, 0.24), transparent 62%);
  filter: blur(28px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono);
  font-size: 0.73rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(0, 137, 156, 0.375);
  background: rgba(0, 137, 156, 0.09);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.pulse-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(0, 137, 156, 1.0);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 137, 156, 0.9); }
  70%  { box-shadow: 0 0 0 9px rgba(0, 137, 156, 0.0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 137, 156, 0.0); }
}

.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin-bottom: 22px;
}
.grad {
  background: linear-gradient(100deg, var(--text) 0%, var(--accent-2) 55%, var(--accent) 105%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  color: var(--text-2);
  font-size: 1.06rem;
  font-weight: 300;
  max-width: 54ch;
  margin-bottom: 34px;
}

.hero-cta { display: flex; gap: 13px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex; gap: 40px;
  list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  flex-wrap: wrap;
}
.hero-stats li { display: flex; flex-direction: column; gap: 3px; }
.hero-stats strong {
  font-size: 1.7rem; font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text);
}
.hero-stats strong span { font-size: 1rem; color: var(--accent); margin-left: 2px; }
.hero-stats em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ---------- the CSS-built device ---------- */

.hero-visual { display: grid; place-items: center; }

@keyframes led {
  0%, 100% { opacity: 1; }
  45%      { opacity: 0.35; }
}

/* =========================================================
   STRIP
   ========================================================= */

.strip {
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.strip-inner {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-block: 18px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.strip-inner .sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--line-2);
}

/* =========================================================
   SECTION SHELL
   ========================================================= */

.section { position: relative; padding: 110px 0; }
.section-alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
  overflow: hidden;
}

.section-head {
  max-width: 660px;
  margin: 0 auto 62px;
  text-align: center;
}
.section-head-left { text-align: left; margin-inline: 0; }

.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin-bottom: 18px;
}
.section-sub {
  color: var(--muted);
  font-weight: 300;
  font-size: 1.02rem;
}

/* =========================================================
   ANATOMY CARDS
   ========================================================= */

.anatomy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.a-card {
  position: relative;
  background: linear-gradient(180deg, var(--panel) 0%, rgba(226, 235, 246, 0.55) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px 30px;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
  overflow: hidden;
}
.a-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 137, 156, 0.75), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.a-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.a-card:hover::before { opacity: 1; }

.a-num {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  background: rgba(0, 36, 84, 0.045);
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 20px;
}
.a-card h3 {
  font-size: 1.12rem; font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 11px;
}
.a-card p { color: var(--muted); font-size: 0.925rem; font-weight: 300; }

.a-list {
  list-style: none;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  display: grid; gap: 9px;
}
.a-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.85rem;
  color: var(--text-2);
}
.a-list li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.75;
}

/* =========================================================
   HARDWARE STACK
   ========================================================= */

.pcb-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0, 137, 156, 0.075) 1px, transparent 1px),
    linear-gradient(rgba(0, 137, 156, 0.075) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000, transparent 75%);
  opacity: 0.55;
  pointer-events: none;
}

.stack { position: relative; display: grid; gap: 0; }

.board {
  position: relative;
  background: linear-gradient(150deg, var(--panel-2) 0%, #e7eff8 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 38px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px 44px;
  align-items: start;
}
.board::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.board-std  { border-top: 1px solid rgba(47, 107, 184, 0.42); }
.board-high { border-top: 1px solid rgba(0, 137, 156, 0.42); }

.board-head { grid-column: 1 / -1; }

.chip-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid rgba(47, 107, 184, 0.45);
  background: rgba(47, 107, 184, 0.105);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.chip-tag-alt {
  color: var(--accent);
  border-color: rgba(0, 137, 156, 0.45);
  background: rgba(0, 137, 156, 0.105);
}

.board h3 {
  font-size: 1.62rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.board h3 .ram {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: middle;
}

.board-lede {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 300;
  max-width: 42ch;
}

.board-specs { display: grid; gap: 0; align-self: start; }
.board-specs > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.board-specs > div:first-child { border-top: 1px solid var(--line); }
.board-specs dt {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 2px;
}
.board-specs dd { font-size: 0.88rem; color: var(--text-2); }

/* little PCB flourish inside each board card */
.board-art {
  position: absolute;
  right: -40px; bottom: -40px;
  width: 210px; height: 160px;
  opacity: 0.5;
  pointer-events: none;
}
.board-art .die {
  position: absolute;
  right: 62px; bottom: 58px;
  width: 56px; height: 56px;
  border-radius: 5px;
  background: linear-gradient(135deg, #293140, #101a2a);
  border: 1px solid rgba(0, 36, 84, 0.12);
  box-shadow: 0 0 26px rgba(47, 107, 184, 0.27);
}
.board-art .trace {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-2));
  opacity: 0.6;
}
.board-art .t1 { width: 130px; right: 110px; bottom: 74px; }
.board-art .t2 { width: 96px;  right: 110px; bottom: 62px; }
.board-art .t3 { width: 150px; right: 110px; bottom: 50px; }
.board-art-alt .die { box-shadow: 0 0 26px rgba(0, 137, 156, 0.3); }
.board-art-alt .trace { background: linear-gradient(90deg, transparent, var(--accent)); }

.bridge {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 40px;
}
.bridge-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(47, 107, 184, 0.6), rgba(0, 137, 156, 0.6));
}
.bridge-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 14px;
  background: var(--bg-2);
}

/* =========================================================
   PIPELINE
   ========================================================= */

.pipeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 56px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.step:hover { border-color: rgba(0, 137, 156, 0.525); background: var(--panel-2); }

/* connector line between steps */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -18px; top: 46px;
  width: 18px; height: 1px;
  background: var(--line-2);
}

.step-idx {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}
.step h3 {
  font-size: 1.05rem; font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 9px;
}
.step p { font-size: 0.875rem; color: var(--muted); font-weight: 300; }
.step-meta {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 9px;
  background: rgba(0, 36, 84, 0.03);
}

/* ---------- read-out panel ---------- */

.readout {
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f5f9fd 100%);
  overflow: hidden;
  box-shadow: 0 24px 50px -30px rgba(0, 36, 84, 0.26);
}

.readout-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 36, 84, 0.03);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.rd-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: led 2s ease-in-out infinite;
}
.rd-title { color: var(--text-2); }
.rd-id { margin-left: auto; }

.readout-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 0;
}

.wave {
  position: relative;
  padding: 26px 22px;
  border-right: 1px solid var(--line);
  background-image:
    linear-gradient(rgba(0, 137, 156, 0.083) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 137, 156, 0.083) 1px, transparent 1px);
  background-size: 26px 26px;
}
.wave svg { width: 100%; height: 130px; }
.wave polyline {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(0, 137, 156, 0.9));
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: trace-draw 4.5s linear infinite;
}
@keyframes trace-draw {
  to { stroke-dashoffset: 0; }
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.metric {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.metric:nth-child(odd) { border-right: 1px solid var(--line); }
.metric:nth-child(n + 3) { border-bottom: 0; }
.m-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.m-val {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text);
}
.m-val em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--muted);
  margin-left: 4px;
}

.readout-foot {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  background: rgba(0, 137, 156, 0.053);
}
.verdict {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.verdict-val { font-size: 0.95rem; color: var(--accent); font-weight: 500; }
.conf {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-2);
}

/* =========================================================
   DIAGNOSTICS
   ========================================================= */

.dx-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dx {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 28px 26px 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 14px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.dx:hover { border-color: rgba(0, 137, 156, 0.525); transform: translateY(-3px); }

.dx h3 {
  grid-column: 1 / -1;
  font-size: 1.02rem; font-weight: 600;
  letter-spacing: -0.015em;
}
.dx p {
  grid-column: 1 / -1;
  font-size: 0.865rem;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 10px;
}
.dx-bar {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 36, 84, 0.1);
  overflow: hidden;
}
.dx-bar i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-dk), var(--accent));
  box-shadow: 0 0 12px rgba(0, 137, 156, 0.75);
}
.dx-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-2);
}

.disclaimer {
  margin-top: 42px;
  padding: 18px 22px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 820px;
}
.disclaimer strong { color: var(--text-2); font-weight: 600; }

/* =========================================================
   SPECS
   ========================================================= */

.specs-wrap {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 56px;
  align-items: start;
}
.specs-wrap .section-head { margin-bottom: 0; position: sticky; top: 110px; }

.spec-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}
.spec-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  padding: 15px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  transition: background 0.25s ease;
}
.spec-row:last-child { border-bottom: 0; }
.spec-row:hover { background: rgba(0, 36, 84, 0.035); }
.spec-row span:first-child {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 2px;
}
.spec-row span:last-child { color: var(--text-2); }

/* =========================================================
   CTA
   ========================================================= */

.cta {
  position: relative;
  padding: 118px 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
  text-align: center;
}
.cta-glow {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 520px;
  background: radial-gradient(ellipse at center, rgba(0, 137, 156, 0.195), transparent 65%);
  filter: blur(18px);
  pointer-events: none;
}
.cta-inner { position: relative; }
.cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin-bottom: 18px;
}
.cta p {
  color: var(--muted);
  font-weight: 300;
  max-width: 56ch;
  margin: 0 auto 34px;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding-top: 62px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 44px;
  padding-bottom: 48px;
}
.footer-brand p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 300;
  max-width: 34ch;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.footer-nav h4 {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 500;
  margin-bottom: 14px;
}
.footer-nav a {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  padding-block: 5px;
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--accent); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}
.mono { font-family: var(--mono); letter-spacing: 0.08em; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1040px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-copy { max-width: 660px; }
  .board { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .anatomy, .dx-grid { grid-template-columns: repeat(2, 1fr); }
  .specs-wrap { grid-template-columns: 1fr; gap: 36px; }
  .specs-wrap .section-head { position: static; }
}

/* Six nav items stop fitting well before the phone breakpoint. */
@media (max-width: 900px) {
  /* mobile nav */
  .burger { display: flex; }
  .header-actions .btn-ghost { display: none; }
  .nav {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
    transform: translateY(-140%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
  .nav a::after { display: none; }
  .nav-toggle:checked ~ .site-header .nav { transform: translateY(0); }
  .nav-toggle:checked ~ .site-header .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .site-header .burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .site-header .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 780px) {
  .wrap { padding-inline: 20px; }
  .section { padding: 76px 0; }
  .hero { padding: 62px 0 70px; }


  .anatomy, .dx-grid, .pipeline { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .hero-stats li { min-width: 120px; }
  .board { padding: 28px 24px; }
  .board-specs > div { grid-template-columns: 1fr; gap: 3px; }
  .bridge { padding: 20px 10px; }
  .readout-body { grid-template-columns: 1fr; }
  .wave { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:nth-child(n + 3) { border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}


/* =========================================================
   MOTION
   Opt-in by construction: the hiding styles apply only under .js-reveal, which
   the script adds — and it refuses to add it when the visitor has asked for
   reduced motion. No JS, or reduced motion, means nothing is ever hidden.
   ========================================================= */

:root { --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1); }

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* Grid children arrive one after another rather than as a slab. */
.js-reveal .reveal-group > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
.js-reveal .reveal-group.is-visible > * { opacity: 1; transform: none; }
.js-reveal .reveal-group.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.js-reveal .reveal-group.is-visible > *:nth-child(2) { transition-delay: 70ms; }
.js-reveal .reveal-group.is-visible > *:nth-child(3) { transition-delay: 140ms; }
.js-reveal .reveal-group.is-visible > *:nth-child(4) { transition-delay: 210ms; }
.js-reveal .reveal-group.is-visible > *:nth-child(5) { transition-delay: 280ms; }
.js-reveal .reveal-group.is-visible > *:nth-child(n + 6) { transition-delay: 350ms; }

/* The evidence bars grow to their real value instead of arriving full. */
.js-reveal .ev-bars .dx-bar i { width: 0; transition: width 0.9s var(--ease-out) 0.25s; }
.js-reveal .ev-bars.is-visible .dx-bar i { width: var(--w); }

/* Hero uses the same transition mechanism as everything else. An @keyframes with
   animation-fill-mode:both would pin the opening frame whenever animations are
   paused — and the hero is the last thing that should be able to go invisible. */
.js-reveal .hero-copy > *,
.js-reveal .hero-visual {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.js-reveal .reveal-hero.is-visible .hero-copy > *,
.js-reveal .reveal-hero.is-visible .hero-visual { opacity: 1; transform: none; }
.js-reveal .reveal-hero.is-visible .hero-copy > *:nth-child(1) { transition-delay: 0.05s; }
.js-reveal .reveal-hero.is-visible .hero-copy > *:nth-child(2) { transition-delay: 0.12s; }
.js-reveal .reveal-hero.is-visible .hero-copy > *:nth-child(3) { transition-delay: 0.19s; }
.js-reveal .reveal-hero.is-visible .hero-copy > *:nth-child(4) { transition-delay: 0.26s; }
.js-reveal .reveal-hero.is-visible .hero-copy > *:nth-child(5) { transition-delay: 0.33s; }
.js-reveal .reveal-hero.is-visible .hero-visual { transition-delay: 0.22s; }

/* Photographs lift slightly under the cursor. */
.shot picture { overflow: hidden; }
.shot img, .member-photo img, .clinic-shot img, .hero-shot img {
  transition: transform 0.5s var(--ease-out);
}
.shot:hover img { transform: scale(1.035); }

/* Printing never runs the observer, so nothing may stay hidden on paper. */
@media print {
  .js-reveal .reveal,
  .js-reveal .reveal-group > *,
  .js-reveal .hero-copy > *,
  .js-reveal .hero-visual { opacity: 1 !important; transform: none !important; }
}
.member:hover .member-photo img { transform: scale(1.06); }

/* Anchor links slide rather than jump; the header offset is already set. */
.btn, .member, .shot, .a-card, .step, .ci { will-change: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   REFERENCES & UNANSWERED NUMBERS
   ========================================================= */

sup { line-height: 0; font-size: 0.62em; }

.ref {
  font-family: var(--mono);
  color: var(--accent);
  border-bottom: 1px dotted rgba(0, 137, 156, 0.75);
  padding-inline: 1px;
}
.ref:hover { color: var(--text); border-bottom-color: var(--accent); }


/* =========================================================
   NOTE BLOCK
   ========================================================= */

.note {
  margin-top: 42px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 26px 30px 28px;
  max-width: 900px;
}
.note-warn { border-left-color: #ffb03d; }
.note h4 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 500;
  margin-bottom: 12px;
}
.note p { color: var(--muted); font-weight: 300; font-size: 0.92rem; }
.note p + p { margin-top: 12px; }
.note .note-line {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 0.88rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* =========================================================
   GRAD-CAM MOCK — schematic, not a patient image
   ========================================================= */

.scan {
  position: relative;
  padding: 26px 22px 40px;
  border-right: 1px solid var(--line);
  display: grid;
  place-items: center;
  background-image:
    linear-gradient(rgba(0, 137, 156, 0.083) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 137, 156, 0.083) 1px, transparent 1px);
  background-size: 26px 26px;
}
.scan svg { width: 100%; max-width: 290px; height: auto; }
.scan-frame { fill: rgba(0, 36, 84, 0.02); stroke: rgba(0, 36, 84, 0.16); }
.scan-spine { fill: rgba(0, 36, 84, 0.13); }
.scan-lung  { fill: rgba(0, 36, 84, 0.05); stroke: rgba(0, 36, 84, 0.28); stroke-width: 1.2; }
.scan-rib   { fill: none; stroke: rgba(0, 36, 84, 0.18); stroke-width: 1.2; stroke-linecap: round; }
.scan-box   { fill: none; stroke: rgba(255, 176, 61, 0.7); stroke-width: 1.1; stroke-dasharray: 4 4; }
.scan-cap {
  position: absolute;
  bottom: 14px; left: 22px;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* =========================================================
   DRAWING PLATE — the render sits on paper, not on the dark
   ========================================================= */

.plate {
  margin-top: 46px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: var(--panel);
  overflow: hidden;
}
.plate-img {
  background: #fff;
  padding: 28px;
  display: grid;
  place-items: center;
}
.plate-img img { width: 100%; max-width: 400px; height: auto; }
.plate figcaption {
  padding: 34px 38px;
  color: var(--muted);
  font-weight: 300;
  font-size: 0.94rem;
}
.plate figcaption strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.plate-status {
  display: block;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =========================================================
   EVIDENCE
   ========================================================= */

.ev-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: start; }
.ev-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 30px 32px 32px;
}
.ev-panel h3 { font-size: 1.06rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.ev-h3-2 { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.ev-lede { color: var(--muted); font-weight: 300; font-size: 0.92rem; }

.ev-bars { display: grid; gap: 20px; margin-top: 28px; }
.ev-bar { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 7px 14px; }
.ev-bar-label {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.ev-bar-empty .dx-bar {
  height: 6px;
  background: transparent;
  border: 1px dashed rgba(255, 176, 61, 0.4);
}
.ev-foot {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 300;
  font-size: 0.86rem;
}

.status-list { list-style: none; display: grid; }
.status-list li {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  padding: 13px 0 13px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.status-list li:last-child { border-bottom: 0; }
.status-list li::before {
  content: "";
  position: absolute; left: 2px; top: 50%;
  width: 8px; height: 8px; border-radius: 50%;
  transform: translateY(-50%);
}
.status-list em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.st-done::before { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.st-wip::before  { background: #ffb03d; box-shadow: 0 0 10px rgba(255, 176, 61, 0.65); }
.st-none::before { background: transparent; border: 1px solid var(--muted); }

/* =========================================================
   REGULATORY
   ========================================================= */

.anatomy-2 { grid-template-columns: repeat(2, 1fr); margin-top: 22px; }

/* =========================================================
   ABOUT & TEAM
   ========================================================= */

.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; }
.about-copy {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 34px 36px 36px;
}
.about-copy h3 { font-size: 1.16rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px; }
.about-copy p { color: var(--muted); font-weight: 300; font-size: 0.94rem; }
.about-list { margin-top: 22px; padding-left: 22px; display: grid; gap: 14px; }
.about-list li { color: var(--muted); font-weight: 300; font-size: 0.94rem; padding-left: 4px; }
.about-list li::marker { color: var(--accent); font-family: var(--mono); font-size: 0.8rem; }
.about-list strong { color: var(--text); font-weight: 600; }
.about-copy .about-foot {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.about-side {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  padding: 28px 30px 30px;
}
.about-side h4 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 500;
  margin-bottom: 16px;
}
.about-facts > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.about-facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.about-facts dt {
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.about-facts dd { font-size: 0.9rem; color: var(--text-2); font-weight: 300; }

.team-head {
  display: flex; align-items: center; gap: 18px;
  margin: 64px 0 26px;
  font-size: 1.3rem; font-weight: 600; letter-spacing: -0.025em;
}
.team-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.team { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.member {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 28px 20px 26px;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.member:hover { border-color: var(--line-2); transform: translateY(-3px); }

/* The crops are already square and face-centred, so a circle costs nothing. */
.member-photo {
  width: 128px; height: 128px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--panel-2);
  box-shadow: 0 0 0 1px var(--line), 0 10px 24px -14px rgba(0, 36, 84, 0.55);
}
.member-photo picture { display: block; height: 100%; }
.member-photo-initials {
  display: grid; place-items: center;
  border: 1px dashed var(--line-2);
}
.member-photo-initials span {
  font-family: var(--mono);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member h4 {
  font-size: 1rem; font-weight: 600; letter-spacing: -0.015em;
  margin-bottom: 7px; line-height: 1.3; text-wrap: balance;
  /* Reserve two lines so a long name cannot drop its own role line below the
     rest of the row. Centred, so one-line names still sit right. */
  min-height: 2.6em;
  display: flex; align-items: center; justify-content: center;
}
.member-role {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.member-lead { border-color: rgba(0, 137, 156, 0.45); }
.member-lead .member-photo { box-shadow: 0 0 0 2px var(--accent), 0 10px 24px -14px rgba(0, 36, 84, 0.55); }

/* Supervisor sits above the team as one wide card. */
.supervisor {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 26px;
  margin-bottom: 20px;
  padding: 26px 30px;
  border: 1px solid rgba(47, 107, 184, 0.42);
  border-radius: var(--radius);
  background: var(--panel);
}
.sup-photo {
  width: 96px; height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--panel-2);
  box-shadow: 0 0 0 1px var(--line), 0 10px 24px -14px rgba(0, 36, 84, 0.55);
}
.sup-photo picture { display: block; height: 100%; }
.sup-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.supervisor:hover .sup-photo img { transform: scale(1.06); }
.sup-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 8px;
}
.sup-body h4 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 4px; }
.sup-body .sup-affil { color: var(--text-2); font-size: 0.88rem; margin-bottom: 8px; }
.sup-body p { color: var(--muted); font-weight: 300; font-size: 0.92rem; }

/* =========================================================
   FAQ
   ========================================================= */

.faq-wrap { max-width: 920px; }
.faq { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.faq details[open] { border-color: var(--line-2); background: var(--panel-2); }
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 58px 20px 26px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  transition: color 0.2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.15rem;
  color: var(--accent);
}
.faq details[open] summary::after { content: "\2212"; }
.faq-body { padding: 0 26px 24px; }
.faq-body p { color: var(--muted); font-weight: 300; font-size: 0.92rem; }

/* =========================================================
   CONTACT
   ========================================================= */

.contact-links {
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin-inline: auto;
  position: relative;
}

/* Each row is a <details>: the label is always visible, the address appears on
   click. Native disclosure, so it works with no JavaScript on the page. */
.ci {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.ci[open] { border-color: rgba(0, 137, 156, 0.45); background: var(--panel-2); }
.ci summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
}
.ci summary::-webkit-details-marker { display: none; }
.ci-icon {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--accent);
}
.ci-icon svg { width: 21px; height: 21px; display: block; }
.ci[open] .ci-icon { border-color: rgba(0, 137, 156, 0.45); }
.ci-text { display: grid; gap: 3px; }
.ci-label { font-size: 1rem; font-weight: 600; letter-spacing: -0.015em; }
.ci-sub { font-size: 0.82rem; color: var(--muted); font-weight: 300; }
.ci-chev {
  width: 10px; height: 10px;
  border-right: 1.8px solid var(--accent);
  border-bottom: 1.8px solid var(--accent);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.25s ease;
}
.ci[open] .ci-chev { transform: rotate(225deg) translate(-3px, -3px); }
.ci summary:hover .ci-label { color: var(--accent); }

.ci-body { padding: 0 24px 22px 82px; }
.ci-value {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--accent);
  word-break: break-all;
  border-bottom: 1px solid rgba(0, 137, 156, 0.4);
}
.ci-value:hover { color: var(--accent-dk); border-bottom-color: var(--accent-dk); }
.ci-body p { font-size: 0.88rem; color: var(--muted); font-weight: 300; }

.ci-warn {
  border-color: rgba(255, 176, 61, 0.4);
  background: rgba(255, 176, 61, 0.06);
  padding: 22px 24px 24px;
}
.ci-warn h4 {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a4300;
  font-weight: 500;
  margin-bottom: 10px;
}
.ci-warn p { font-size: 0.86rem; color: var(--muted); font-weight: 300; }

/* =========================================================
   SOURCES
   ========================================================= */

.sources-section { padding: 84px 0 96px; border-top: 1px solid var(--line); }
.sources-section .section-head { margin-bottom: 34px; }
.sources-section h2 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); }
.sources { padding-left: 24px; display: grid; gap: 13px; max-width: 920px; }
.sources li { color: var(--muted); font-weight: 300; font-size: 0.88rem; padding-left: 6px; }
.sources li::marker { color: var(--accent); font-family: var(--mono); font-size: 0.78rem; }
.sources em { color: var(--text-2); }
.src-link {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  border-bottom: 1px solid rgba(0, 137, 156, 0.35);
  word-break: break-all;
}
.src-link:hover { color: var(--text); border-bottom-color: var(--accent); }

/* =========================================================
   RESPONSIVE — new components
   ========================================================= */

@media (max-width: 1040px) {
  .plate { grid-template-columns: 1fr; }
  .ev-grid, .about-grid { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .team, .anatomy-2 { grid-template-columns: 1fr; }
  .scan { border-right: 0; border-bottom: 1px solid var(--line); }
  .plate-img { padding: 20px; }
  .plate figcaption { padding: 26px 24px 30px; }
  .ev-panel, .about-copy, .about-side { padding: 26px 24px 28px; }
  .supervisor { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 18px; padding: 26px 22px; }
  .ci summary { padding: 18px; gap: 13px; }
  .ci-body { padding: 0 18px 20px; }
  .status-list li { flex-direction: column; align-items: flex-start; gap: 5px; }
  .team-head { margin-top: 48px; }
  .note { padding: 24px 22px 26px; }
}


/* =========================================================
   PRODUCT IMAGERY
   The renders are shot on white, which is also the page ground — so the frame
   has to come from the tile, never from the image.
   ========================================================= */

.hero-shot { width: 100%; max-width: 560px; }
.hero-shot picture { display: block; }
.hero-shot img {
  width: 100%; height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 26px 60px -32px rgba(0, 36, 84, 0.45);
}
.hero-shot figcaption {
  margin-top: 14px;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
  font-weight: 300;
}
.shot-tag {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 6px;
  border: 1px solid rgba(0, 137, 156, 0.35);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 46px;
}
.shot {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.shot:hover { border-color: var(--line-2); transform: translateY(-3px); }
.shot picture { display: block; background: #fff; }
.shot img { width: 100%; height: auto; }
.shot figcaption {
  padding: 18px 22px 20px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 300;
}
.shot figcaption strong { color: var(--text); font-weight: 600; }

.clinic {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  align-items: start;
}
.clinic-shot img {
  width: 100%; height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.clinic-shot figcaption {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 300;
}
.clinic-copy {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 30px 32px 32px;
}
.clinic-copy h3 {
  font-size: 1.1rem; font-weight: 600;
  letter-spacing: -0.02em; margin-bottom: 12px;
}
.clinic-copy p { color: var(--muted); font-weight: 300; font-size: 0.94rem; }
.clinic-facts { margin-top: 24px; }
.clinic-facts > div { padding: 13px 0; border-bottom: 1px solid var(--line); }
.clinic-facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.clinic-facts dt {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
.clinic-facts dd { font-size: 0.9rem; color: var(--text-2); font-weight: 300; }

@media (max-width: 1040px) {
  .clinic { grid-template-columns: 1fr; }
  .hero-shot { max-width: 640px; }
}

@media (max-width: 780px) {
  .gallery { grid-template-columns: 1fr; gap: 16px; }
  .clinic-copy { padding: 26px 24px 28px; }
  .shot figcaption { padding: 16px 18px 18px; }
}
