:root {
  --ink: #071d2b;
  --ink-soft: #294453;
  --ink-muted: #607784;
  --teal: #007f80;
  --teal-bright: #12a3a0;
  --blue: #1269d3;
  --cyan: #c9f3ef;
  --paper: #f7f9f8;
  --white: #ffffff;
  --mist: #eaf0ef;
  --line: #d8e2e0;
  --line-dark: #b8c8c5;
  --success: #087a55;
  --warning: #8d5b00;
  --danger: #a02b35;
  --shadow-sm: 0 8px 28px rgba(7, 29, 43, .07);
  --shadow-lg: 0 28px 80px rgba(7, 29, 43, .13);
  --radius-sm: .65rem;
  --radius-md: 1.1rem;
  --radius-lg: 1.75rem;
  --container: 76rem;
  --header-height: 5rem;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Aptos, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--teal); }

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

h1, h2, h3, h4, p, ul, ol, figure { margin-top: 0; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.75rem, 6.4vw, 6.5rem); font-weight: 690; }
h2 { font-size: clamp(2.1rem, 4vw, 4.25rem); font-weight: 660; }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 650; }
h4 { font-size: 1.02rem; letter-spacing: -.015em; }
p { color: var(--ink-soft); }

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

:focus-visible {
  outline: 3px solid rgba(18, 105, 211, .5);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 1000;
  padding: .7rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: .5rem;
  transform: translateY(-180%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.container--narrow { width: min(calc(100% - 2rem), 52rem); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.section--compact { padding-block: clamp(3.25rem, 6vw, 5.75rem); }
.section--ink { color: var(--white); background: var(--ink); }
.section--ink h2, .section--ink h3, .section--ink p { color: inherit; }
.section--white { background: var(--white); }
.section--line { border-top: 1px solid var(--line); }
.section-head { max-width: 50rem; margin-bottom: clamp(2.25rem, 5vw, 4.5rem); }
.section-head p { max-width: 43rem; font-size: clamp(1.05rem, 1.4vw, 1.23rem); }
.section-head--split { display: grid; gap: 1.4rem; align-items: end; max-width: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.2rem;
  color: var(--teal);
  font-size: .72rem;
  font-weight: 760;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}
.eyebrow::before { width: 1.6rem; height: 1px; content: ""; background: currentColor; }
.section--ink .eyebrow { color: #72d9d3; }

.lede { max-width: 48rem; font-size: clamp(1.1rem, 1.8vw, 1.36rem); line-height: 1.55; }
.fine-print { font-size: .84rem; color: var(--ink-muted); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}
.text-link::after { content: "↗"; transition: transform .2s var(--ease); }
.text-link:hover::after { transform: translate(.16rem, -.16rem); }

.btn {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  font-size: .92rem;
  font-weight: 740;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: color .22s ease, background .22s ease, border-color .22s ease, transform .22s var(--ease), box-shadow .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { color: var(--white); background: var(--teal); box-shadow: 0 10px 28px rgba(0, 127, 128, .2); }
.btn--primary:hover { color: var(--white); background: #006d6e; box-shadow: 0 14px 32px rgba(0, 127, 128, .28); }
.btn--dark { color: var(--white); background: var(--ink); }
.btn--dark:hover { color: var(--white); background: #123447; }
.btn--ghost { color: var(--ink); background: transparent; border-color: var(--line-dark); }
.btn--ghost:hover { color: var(--ink); background: var(--white); border-color: var(--ink); }
.btn--light { color: var(--ink); background: var(--white); }
.btn--light:hover { color: var(--ink); background: var(--cyan); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(216, 226, 224, .75);
  background: rgba(247, 249, 248, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.header-inner { display: flex; min-height: var(--header-height); align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; text-decoration: none; }
.brand img { width: 158px; height: 46px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: .2rem; }
.site-nav a {
  padding: .72rem .82rem;
  border-radius: .5rem;
  color: var(--ink-soft);
  font-size: .84rem;
  font-weight: 690;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); background: var(--mist); }
.site-nav .nav-launch { margin-left: .65rem; color: var(--white); background: var(--ink); }
.site-nav .nav-launch:hover { color: var(--white); background: var(--teal); }
.nav-toggle { display: none; width: 2.8rem; height: 2.8rem; padding: 0; border: 1px solid var(--line); border-radius: .55rem; background: transparent; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { display: block; width: 1.25rem; height: 2px; margin: 4px auto; content: ""; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav-open .nav-toggle span { opacity: 0; }
.nav-open .nav-toggle::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle::after { transform: translateY(-6px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .55;
  background-image: linear-gradient(rgba(7, 29, 43, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(7, 29, 43, .035) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.hero-track { position: relative; min-height: inherit; }
.hero-slide { display: none; min-height: inherit; align-items: center; padding-block: clamp(4rem, 8vw, 8rem); }
.hero-slide.is-active { display: flex; animation: hero-in .75s var(--ease) both; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(22rem, .97fr); align-items: center; gap: clamp(2.5rem, 7vw, 7rem); }
.hero-copy h1, .hero-copy h2 { max-width: 12ch; margin-bottom: 1.5rem; font-size: clamp(2.75rem, 6.4vw, 6.5rem); font-weight: 690; }
.hero-copy h1 span, .hero-copy h2 span { color: var(--teal); }
.hero-copy .lede { max-width: 41rem; margin-bottom: 2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .75rem 1.3rem; margin-top: 2rem; color: var(--ink-muted); font-size: .77rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; }

.twin-orbit { position: relative; aspect-ratio: 1; max-width: 35rem; margin-inline: auto; }
.twin-orbit::before, .twin-orbit::after { position: absolute; border: 1px solid var(--line-dark); border-radius: 50%; content: ""; }
.twin-orbit::before { inset: 7%; animation: orbit 30s linear infinite; border-style: dashed; }
.twin-orbit::after { inset: 21%; border-color: rgba(0, 127, 128, .35); }
.twin-core {
  position: absolute;
  inset: 32%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 127, 128, .45);
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 0 0 1.4rem rgba(0, 127, 128, .07), var(--shadow-lg);
}
.twin-core svg { width: 48%; }
.orbit-node { position: absolute; display: grid; min-width: 6.5rem; min-height: 3.2rem; place-items: center; padding: .55rem; border: 1px solid var(--line); border-radius: 3rem; color: var(--ink); background: rgba(255, 255, 255, .95); box-shadow: var(--shadow-sm); font-size: .72rem; font-weight: 750; text-align: center; transform: translate(-50%, -50%); }
.orbit-node--anatomy { top: 14%; left: 50%; }
.orbit-node--disease { top: 32%; left: 81%; }
.orbit-node--signals { top: 68%; left: 81%; }
.orbit-node--icu { top: 86%; left: 50%; }
.orbit-node--biomechanics { top: 68%; left: 19%; }
.orbit-node--movement { top: 32%; left: 19%; }
.orbit-pulse { position: absolute; inset: 32%; border: 2px solid rgba(18, 163, 160, .65); border-radius: 50%; animation: pulse 2.8s ease-out infinite; }

.signal-stage { position: relative; aspect-ratio: 1.08; max-width: 38rem; margin-inline: auto; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.signal-stage::before { position: absolute; inset: 0; content: ""; background: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(7,29,43,.05) 31px 32px), repeating-linear-gradient(to right, transparent 0 31px, rgba(7,29,43,.05) 31px 32px); }
.signal-label { position: absolute; top: 1.4rem; left: 1.4rem; color: var(--ink-muted); font-size: .7rem; font-weight: 780; letter-spacing: .14em; text-transform: uppercase; }
.signal-svg { position: absolute; inset: 13% 6% 4%; width: 88%; height: 83%; }
.signal-line { fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 960; animation: draw-signal 4.5s ease-in-out infinite; }
.signal-line--blue { stroke: var(--blue); opacity: .65; animation-delay: -1.4s; }
.signal-dot { fill: var(--teal); animation: blink 1.5s ease-in-out infinite; }

.hero-controls { position: absolute; z-index: 5; right: max(1rem, calc((100% - var(--container)) / 2)); bottom: 1.5rem; display: flex; align-items: center; gap: .45rem; }
.hero-dot { width: 2.2rem; height: .28rem; padding: 0; border: 0; border-radius: 1rem; background: var(--line-dark); cursor: pointer; transition: width .25s ease, background .25s ease; }
.hero-dot[aria-current="true"] { width: 4.2rem; background: var(--teal); }
.hero-pause { display: grid; width: 2.35rem; height: 2.35rem; margin-left: .4rem; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--white); cursor: pointer; }

.page-hero { position: relative; overflow: hidden; padding-block: clamp(5rem, 10vw, 10rem) clamp(4.25rem, 8vw, 7.5rem); border-bottom: 1px solid var(--line); }
.page-hero::after { position: absolute; top: 8%; right: -9rem; width: 30rem; aspect-ratio: 1; border: 1px solid rgba(0,127,128,.22); border-radius: 50%; content: ""; box-shadow: 0 0 0 5rem rgba(0,127,128,.035), 0 0 0 10rem rgba(0,127,128,.025); }
.page-hero h1 { max-width: 14ch; margin-bottom: 1.35rem; font-size: clamp(2.8rem, 6vw, 5.6rem); }
.page-hero .lede { max-width: 47rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.3rem; color: var(--ink-muted); font-size: .8rem; }
.breadcrumb a { text-decoration: none; }

.intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.2rem, 7vw, 7rem); align-items: start; }
.intro-grid h2 { position: sticky; top: calc(var(--header-height) + 2rem); }
.prose { font-size: 1.06rem; }
.prose > * + * { margin-top: 1.25rem; }
.prose h2, .prose h3 { margin-top: 2.8rem; }
.prose ul, .prose ol { color: var(--ink-soft); }
.prose li + li { margin-top: .6rem; }

.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.tool-card {
  position: relative;
  display: flex;
  min-height: 23rem;
  flex-direction: column;
  padding: clamp(1.45rem, 3vw, 2.3rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color .3s ease, transform .35s var(--ease), box-shadow .35s ease;
}
.tool-card::before { position: absolute; top: 0; right: 0; width: 7rem; height: 7rem; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); border-bottom-left-radius: 100%; content: ""; transition: width .35s var(--ease), height .35s var(--ease), background .35s ease; }
.tool-card:hover { z-index: 2; border-color: var(--line-dark); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tool-card:hover::before { width: 8.5rem; height: 8.5rem; background: rgba(201,243,239,.42); }
.tool-index { position: relative; z-index: 1; margin-bottom: auto; color: var(--teal); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .76rem; }
.tool-icon { position: absolute; top: 1.45rem; right: 1.45rem; z-index: 1; width: 2.25rem; height: 2.25rem; color: var(--teal); }
.tool-card h3 { position: relative; z-index: 1; max-width: 13ch; margin: 4.5rem 0 1rem; font-size: clamp(1.65rem, 2.7vw, 2.35rem); }
.tool-card p { position: relative; z-index: 1; max-width: 34rem; }
.tool-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .9rem 1.2rem; align-items: center; margin-top: 1rem; }
.tool-actions a { color: var(--teal); font-size: .85rem; font-weight: 740; text-decoration: none; }
.tool-actions a:hover { text-decoration: underline; }

.capability-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--white); }
.capability { padding: 1.7rem; border-right: 1px solid var(--line); }
.capability:last-child { border-right: 0; }
.capability strong { display: block; margin-bottom: .45rem; color: var(--teal); font-size: 1.9rem; font-weight: 650; letter-spacing: -.04em; }
.capability span { display: block; color: var(--ink-muted); font-size: .8rem; font-weight: 650; line-height: 1.4; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: process; }
.process-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-step { position: relative; min-height: 18rem; padding: 2rem; border-top: 1px solid var(--line-dark); counter-increment: process; }
.process-step::before { display: block; margin-bottom: 3rem; color: var(--teal); content: "0" counter(process); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .75rem; }
.process-step::after { position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; content: ""; background: var(--teal); }

.video-explainer {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(17rem, .7fr);
  overflow: hidden;
  border: 1px solid #244152;
  border-radius: var(--radius-lg);
  background: #061824;
  box-shadow: var(--shadow-lg);
}
.video-frame { display: grid; align-items: center; min-width: 0; padding: clamp(.45rem, 1vw, .8rem); background: #020b10; }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; background: #020b10; }
.video-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.7rem, 4vw, 3rem); color: var(--white); }
.video-copy h3 { color: var(--white); font-size: clamp(1.75rem, 3vw, 2.7rem); }
.video-copy p { color: #b9d1d4; }
.video-copy .btn-row { margin-top: 1rem; }
.video-copy .video-launch { color: var(--white); border-color: #486372; }
.video-copy .video-launch:hover { color: var(--ink); }
.watch-video { margin-block: 2rem; overflow: hidden; border: 1px solid var(--line-dark); border-radius: var(--radius-md); background: #020b10; box-shadow: var(--shadow-lg); }
.watch-video video { width: 100%; aspect-ratio: 16 / 9; }

.film {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(17rem, .7fr);
  min-height: 34rem;
  overflow: hidden;
  border: 1px solid #244152;
  border-radius: var(--radius-lg);
  background: #061824;
  box-shadow: var(--shadow-lg);
}
.film-stage { position: relative; display: grid; min-height: 30rem; place-items: center; overflow: hidden; border-right: 1px solid #244152; }
.film-stage::before { position: absolute; inset: 0; content: ""; opacity: .18; background-image: linear-gradient(rgba(114,217,211,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(114,217,211,.18) 1px, transparent 1px); background-size: 3rem 3rem; }
.film-visual { position: relative; width: min(78%, 31rem); aspect-ratio: 1; }
.film-ring { position: absolute; inset: 10%; border: 1px solid rgba(114,217,211,.32); border-radius: 50%; animation: orbit 20s linear infinite; }
.film-ring:nth-child(2) { inset: 25%; border-style: dashed; animation-direction: reverse; animation-duration: 15s; }
.film-person { position: absolute; inset: 31%; display: grid; place-items: center; border: 1px solid rgba(114,217,211,.52); border-radius: 48% 48% 45% 45%; background: rgba(18,163,160,.08); }
.film-person svg { width: 72%; color: #72d9d3; }
.film-particle { position: absolute; width: .55rem; height: .55rem; border-radius: 50%; background: #72d9d3; box-shadow: 0 0 1.2rem rgba(114,217,211,.8); animation: particle 4s ease-in-out infinite; }
.film-particle:nth-child(4) { top: 16%; left: 46%; }
.film-particle:nth-child(5) { top: 42%; right: 8%; animation-delay: -1.1s; }
.film-particle:nth-child(6) { bottom: 13%; left: 34%; animation-delay: -2.2s; }
.film-particle:nth-child(7) { top: 38%; left: 8%; animation-delay: -3.1s; }
.film-chapter { position: absolute; left: 1.4rem; bottom: 1.2rem; color: #b9d1d4; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.film-copy { display: flex; flex-direction: column; padding: clamp(1.7rem, 4vw, 3rem); color: var(--white); }
.film-copy h3 { color: var(--white); font-size: clamp(1.75rem, 3vw, 2.7rem); }
.film-copy p { color: #b9d1d4; }
.film-progress { height: 2px; margin-top: auto; overflow: hidden; background: #294554; }
.film-progress span { display: block; width: 0; height: 100%; background: #72d9d3; }
.film.is-playing .film-progress span { animation: film-progress 28s linear infinite; }
.film-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.film-button { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem 0; border: 0; color: var(--white); background: transparent; font-size: .82rem; font-weight: 730; cursor: pointer; }
.film-status { color: #87a8b2; font-size: .72rem; }

.kb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.kb-card { display: flex; min-height: 18rem; flex-direction: column; padding: 1.65rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); text-decoration: none; transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease; }
.kb-card:hover { color: var(--ink); border-color: var(--teal); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.kb-card .kb-tag { margin-bottom: auto; color: var(--teal); font-size: .7rem; font-weight: 760; letter-spacing: .13em; text-transform: uppercase; }
.kb-card h3 { margin: 3rem 0 .75rem; }
.kb-card p { margin-bottom: 1.4rem; font-size: .9rem; }
.kb-card .kb-read { color: var(--teal); font-size: .8rem; font-weight: 740; }

.guide-layout { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.guide-nav { position: sticky; top: calc(var(--header-height) + 2rem); }
.guide-nav p { margin-bottom: .8rem; color: var(--ink-muted); font-size: .7rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.guide-nav ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.guide-nav a { display: block; padding: .46rem .85rem; color: var(--ink-muted); font-size: .8rem; font-weight: 630; text-decoration: none; }
.guide-nav a:hover, .guide-nav a.is-current { color: var(--teal); border-left: 2px solid var(--teal); margin-left: -1px; }
.guide { max-width: 48rem; }
.guide-section { padding-block: 1.8rem; border-bottom: 1px solid var(--line); }
.guide-section:first-child { padding-top: 0; }
.guide-section h2 { font-size: clamp(1.65rem, 3vw, 2.6rem); }
.guide-section h3 { margin-top: 2rem; font-size: 1.18rem; }
.guide-section ul, .guide-section ol { padding-left: 1.2rem; color: var(--ink-soft); }
.callout { margin-block: 1.5rem; padding: 1.25rem 1.35rem; border-left: 3px solid var(--teal); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--mist); }
.callout strong { display: block; margin-bottom: .25rem; color: var(--ink); }
.callout p:last-child { margin-bottom: 0; }
.callout--warning { border-color: #bd7800; background: #fff7e9; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.3rem; color: var(--ink); font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 1.3rem; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { max-width: 46rem; padding-bottom: 1.4rem; }

.contact-grid { display: grid; grid-template-columns: .74fr 1.26fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.contact-note { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.contact-note + .contact-note { margin-top: 1rem; }
.contact-note strong { display: block; margin-bottom: .6rem; }
.contact-form { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; margin-bottom: .4rem; color: var(--ink); font-size: .82rem; font-weight: 720; }
.field input, .field select, .field textarea { width: 100%; min-height: 3.15rem; padding: .75rem .85rem; border: 1px solid var(--line-dark); border-radius: .5rem; color: var(--ink); background: var(--paper); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.field textarea { min-height: 10rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 3px rgba(0,127,128,.12); }
.field small { display: block; margin-top: .35rem; color: var(--ink-muted); font-size: .75rem; }
.checkbox-field { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: .65rem; align-items: start; color: var(--ink); font-size: .86rem; font-weight: 650; line-height: 1.5; }
.checkbox-field input[type="checkbox"] { width: 1.15rem; height: 1.15rem; min-height: 1.15rem; margin: .12rem 0 0; padding: 0; border-radius: .2rem; accent-color: var(--teal); }
.form-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.form-status { min-height: 1.5rem; margin-top: 1rem; font-size: .85rem; font-weight: 650; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--danger); }

.cta-band { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; padding: clamp(2rem, 5vw, 4rem); border-radius: var(--radius-lg); color: var(--white); background: var(--ink); }
.cta-band h2 { max-width: 16ch; margin-bottom: .6rem; color: var(--white); font-size: clamp(2rem, 4vw, 3.7rem); }
.cta-band p { max-width: 40rem; margin-bottom: 0; color: #b9d1d4; }

.site-footer { padding-block: 4rem 1.6rem; color: #b9d1d4; background: #051721; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .6fr 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); }
.footer-brand img { width: 158px; height: 46px; margin-bottom: 1.2rem; opacity: .95; }
.footer-brand p { max-width: 25rem; color: #9bb4bc; font-size: .9rem; }
.footer-title { margin-bottom: .85rem; color: var(--white); font-size: .73rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: .5rem; }
.footer-links a { color: #b9d1d4; font-size: .85rem; text-decoration: none; }
.footer-links a:hover { color: #72d9d3; }
.social-handle { display: inline-flex; margin-top: .9rem; color: #72d9d3; font-size: .9rem; font-weight: 720; text-decoration: none; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.3rem; border-top: 1px solid #1d3947; color: #7898a2; font-size: .75rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.stagger.is-visible > * { opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(2) { transition-delay: .07s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: .14s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: .21s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: .28s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: .35s; }
.stagger.is-visible > *:nth-child(7) { transition-delay: .42s; }
.stagger.is-visible > *:nth-child(8) { transition-delay: .49s; }

@keyframes hero-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { opacity: .7; transform: scale(.75); } 75%, 100% { opacity: 0; transform: scale(1.55); } }
@keyframes draw-signal { 0% { stroke-dashoffset: 960; } 42%, 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -960; } }
@keyframes blink { 50% { opacity: .3; transform: scale(.7); } }
@keyframes particle { 0%, 100% { transform: scale(.65); opacity: .35; } 50% { transform: scale(1.25); opacity: 1; } }
@keyframes film-progress { to { width: 100%; } }

@media (min-width: 760px) {
  .section-head--split { grid-template-columns: 1fr .72fr; }
  .section-head--split > :last-child { justify-self: end; }
}

@media (max-width: 1040px) {
  .site-nav a { padding-inline: .58rem; }
  .hero-grid { grid-template-columns: 1fr .82fr; gap: 2rem; }
  .kb-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --header-height: 4.5rem; }
  body.nav-open { overflow: auto; }
  .header-inner { flex-wrap: wrap; column-gap: 1rem; }
  .nav-toggle { display: block; flex: 0 0 auto; }
  .site-nav {
    position: static;
    inset: auto;
    order: 3;
    display: flex;
    width: 100%;
    max-height: 0;
    flex: 0 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: .3rem;
    overflow: hidden;
    visibility: hidden;
    border-top: 0 solid transparent;
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transform: none;
    transition: max-height .25s var(--ease), padding .25s var(--ease), opacity .18s ease, border-color .18s ease;
  }
  .nav-open .site-nav {
    max-height: calc(100svh - var(--header-height));
    padding: .65rem 0 1rem;
    overflow-y: auto;
    visibility: visible;
    border-top-width: 1px;
    border-top-color: var(--line);
    opacity: 1;
    pointer-events: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav a { padding: .9rem 1rem; font-size: 1.05rem; }
  .site-nav .nav-launch { margin: .7rem 0 0; text-align: center; }
  .hero { min-height: auto; }
  .hero-slide { min-height: auto; padding-block: 4rem 6.5rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { position: relative; z-index: 2; }
  .hero-visual { max-width: 29rem; width: 88%; margin-inline: auto; }
  .capability-strip { grid-template-columns: repeat(2, 1fr); }
  .capability:nth-child(2) { border-right: 0; }
  .capability:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .process-grid, .process-grid--four { grid-template-columns: 1fr; }
  .process-step { min-height: auto; }
  .film, .video-explainer { grid-template-columns: 1fr; }
  .film-stage { border-right: 0; border-bottom: 1px solid #244152; }
  .intro-grid, .contact-grid { grid-template-columns: 1fr; }
  .intro-grid h2 { position: static; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-layout > * { min-width: 0; }
  .guide-nav { position: static; }
  .guide-nav ol { display: flex; overflow-x: auto; border-left: 0; padding-bottom: .5rem; }
  .guide-nav a { border: 1px solid var(--line); white-space: nowrap; }
  .guide-nav a:hover, .guide-nav a.is-current { margin-left: 0; border: 1px solid var(--teal); }
  .cta-band { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container, .container--narrow { width: min(calc(100% - 1.3rem), var(--container)); }
  .brand img { width: 139px; height: auto; }
  .hero-copy h1 { font-size: clamp(2.75rem, 14vw, 4.25rem); }
  .hero-visual { width: 100%; }
  .orbit-node { min-width: 5.25rem; min-height: 2.5rem; padding: .4rem; font-size: .6rem; }
  .tool-grid, .kb-grid, .form-row { grid-template-columns: 1fr; }
  .tool-card { min-height: 21rem; }
  .capability-strip { grid-template-columns: 1fr; }
  .capability { border-right: 0; border-bottom: 1px solid var(--line); }
  .capability:last-child { border-bottom: 0; }
  .film-stage { min-height: 22rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .stagger > * { opacity: 1; transform: none; }
}

@media (max-width: 360px) {
  .orbit-node { min-width: 0; width: 4.7rem; padding: .35rem; font-size: .58rem; }
}

@media print {
  .site-header, .site-footer, .hero-controls, .btn, .guide-nav { display: none !important; }
  body { color: #000; background: #fff; }
  .section, .page-hero { padding-block: 2rem; }
  a { color: #000; text-decoration: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
.footer-launch { color: #72d9d3; font-size: .9rem; font-weight: 700; text-decoration: none; }
.footer-grid > * { min-width: 0; }
.footer-contact > li > span { display: block; margin-bottom: .15rem; color: #89a6af; font-size: .72rem; }
.footer-contact > li + li { margin-top: .9rem; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-social { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid #1d3947; }
.footer-social .footer-title { margin-bottom: .35rem; }
.footer-social .social-handle { margin-top: 0; font-size: .85rem; }
.social-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.social-links a { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; padding: .6rem .85rem; border: 1px solid currentColor; border-radius: .65rem; color: inherit; font-size: .78rem; font-weight: 650; text-decoration: none; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.social-links a:hover { color: var(--ink); background: #72d9d3; border-color: #72d9d3; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.footer-legal a { color: #b9d1d4; text-decoration: none; white-space: nowrap; }
.footer-bottom { flex-wrap: wrap; margin-top: 1.6rem; }
.footer-bottom > span:last-child { flex-basis: 100%; }
.contact-social { margin-top: 2rem; }
.contact-social h3 { font-size: 1.25rem; }
.contact-social .social-links { color: var(--teal); }
.contact-methods { display: grid; gap: 1.5rem; margin: 2rem 0; padding: 0; list-style: none; }
.contact-methods li { padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.contact-methods .eyebrow { display: block; margin-bottom: .4rem; }
.contact-methods a { display: inline-block; min-height: 44px; padding-block: .35rem; color: var(--teal); font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: .25em; overflow-wrap: anywhere; }
.contact-methods p { margin-bottom: 0; font-size: .9rem; }
