/* Chiron Anesthesia — site styles */
:root {
  --navy: #1d2951;
  --navy-dark: #141d3b;
  --navy-line: #2c375e;
  --navy-accent: #8f9bc2;
  --ink: #2e3445;
  --muted: #5a6270;
  --line: #e1e5eb;
  --line-strong: #d5dae3;
  --surface: #f3f5f8;
  --on-navy: #dfe3ef;
  --on-navy-muted: #c5cbe0;
  --white: #ffffff;
  --radius: 8px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-pad: clamp(56px, 8vw, 104px);
  --font-body: "Lato", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Raleway", "Lato", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: #3b4f8f; }
:focus-visible { outline: 3px solid #3b6fd8; outline-offset: 2px; }
p { margin: 0; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 6px; z-index: 100;
}
.skip:focus { left: 8px; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.container--reading { max-width: 760px; }
.section { padding-block: var(--section-pad); }
.section--alt { background: var(--surface); }
.section--navy { background: var(--navy); color: var(--white); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack--lg { gap: 40px; }
.stack--sm { gap: 10px; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 5vw, 64px); }
.split--top { align-items: flex-start; gap: 40px 72px; }
.split > * { min-width: 0; }
.grow { flex: 1 1 460px; }
.grow-sm { flex: 1 1 360px; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--tight { gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.section-head { max-width: 720px; display: flex; flex-direction: column; gap: 12px; }

/* Type */
.eyebrow {
  font-size: 13px; line-height: 1.4; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--navy);
}
.section--navy .eyebrow, .hero--navy .eyebrow { color: var(--on-navy-muted); }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.display { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.08; letter-spacing: -0.01em; }
h2, .h2 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.15; }
h3, .h3 { font-size: 21px; line-height: 1.3; }
.label { font-family: var(--font-body); font-size: 15px; line-height: 1.4; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: clamp(17px, 1.4vw, 19px); max-width: 36em; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.section--navy h2, .hero--navy h1 { color: var(--white); }
.section--navy p, .hero--navy .lead { color: var(--on-navy); }
.section--navy .fine { color: var(--on-navy-muted); font-size: 14px; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  border-radius: 6px; border: 1px solid transparent; font-weight: 700; text-decoration: none; font-size: 17px;
}
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: #2a3a6e; color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--surface); color: var(--navy); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--outline-light { border-color: var(--navy-accent); color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--navy); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.text-link { font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header { position: relative; background: var(--white); border-bottom: 1px solid var(--line); z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; }
.brand img { width: 64px; height: 36px; object-fit: contain; }
.brand span { font-family: var(--font-head); font-size: 21px; font-weight: 500; letter-spacing: 0.01em; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; padding-block: 4px; }
.site-nav a:not(.btn):hover { color: var(--navy); text-decoration: underline; }
.site-nav a[aria-current="page"] { color: var(--navy); font-weight: 700; border-bottom: 2px solid var(--navy); }
.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--navy); cursor: pointer;
}
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px; box-shadow: 0 12px 24px rgba(20, 29, 59, 0.08);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .site-nav a[aria-current="page"] { border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; }
}

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 96px); }
.hero--navy { background: var(--navy); color: var(--white); }
.hero--alt { background: var(--surface); }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* Cards */
.card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.card--link { color: var(--ink); text-decoration: none; gap: 10px; }
.card--link:hover { border-color: var(--navy); color: var(--ink); }
.card--link .h3 { color: var(--navy); }
.card .more { margin-top: auto; font-weight: 700; color: var(--navy); text-decoration: none; }
.card--navy { background: var(--navy); border-color: var(--navy); color: var(--white); }
.card--navy .h3, .card--navy h3 { color: var(--white); }
.card--navy p, .card--navy li { color: var(--on-navy); }
.icon { width: 32px; height: 32px; }

.glance { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); background: var(--navy); color: var(--white); }
.glance .label { color: var(--on-navy-muted); font-size: 12px; letter-spacing: 0.12em; margin-bottom: 8px; }
.glance dl { margin: 0; }
.glance .row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--navy-line); }
.glance .row:last-child { border-bottom: 0; }
.glance dt { color: var(--on-navy-muted); }
.glance dd { margin: 0; text-align: right; }

/* Steps and facts */
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 2px solid var(--navy); }
.steps .num { font-family: var(--font-head); font-size: 15px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); }
.fact { display: flex; flex-direction: column; gap: 4px; padding: 20px 0; border-top: 2px solid var(--navy); }
.fact strong { font-family: var(--font-head); font-size: 26px; line-height: 1.2; font-weight: 600; color: var(--navy); }
.fact span { font-size: 15px; color: var(--muted); }

/* Lists */
.chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--surface); color: var(--navy); font-size: 15px; }
.checklist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px;
  background: no-repeat center / 20px 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231d2951' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.5l4 4 8-9'/%3E%3C/svg%3E");
}
.bullets { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.pill-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.pill-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line-strong); color: var(--navy); font-size: 15px; font-weight: 700; text-decoration: none;
}
.pill-nav a:hover { border-color: var(--navy); }

/* FAQ */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); padding: 20px 0; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--font-head); font-size: 20px; line-height: 1.35; font-weight: 600; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-weight: 400; font-size: 26px; line-height: 1; color: var(--navy); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; }

/* Long-form article */
.article { font-size: 18px; line-height: 1.7; }
.article h3 { font-size: 26px; line-height: 1.25; margin-top: 16px; scroll-margin-top: 24px; }
.article ul, .article ol { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 12px; }
.article strong { color: var(--navy); }
.subtitle { font-family: var(--font-head); font-size: clamp(19px, 1.8vw, 23px); line-height: 1.4; font-weight: 500; color: var(--muted); }
.callout { display: flex; flex-direction: column; gap: 8px; padding: 24px 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-strong); }
.callout .label { font-size: 12px; letter-spacing: 0.12em; }
.callout p { font-size: 19px; line-height: 1.6; color: var(--navy); }
.toc { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; line-height: 1.5; }
.compare { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 4px; }
.compare > div { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-strong); }
.compare .h4 { font-family: var(--font-head); font-size: 20px; font-weight: 600; color: var(--navy); }
.compare ul { font-size: 17px; gap: 6px; }
.compare .control { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.compare .control .h4 { color: var(--white); }
.refs { font-size: 15px; line-height: 1.6; gap: 8px; }
.disclaimer { font-size: 14px; line-height: 1.6; font-style: italic; color: var(--muted); }

/* Evidence list */
.evidence { border-top: 1px solid var(--line); }
.evidence article { display: flex; flex-direction: column; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.evidence h3 { font-size: 20px; line-height: 1.35; }
.evidence a { font-size: 15px; }

/* Profile */
.profile-photo { flex: 0 1 280px; width: 280px; max-width: 100%; }
.profile-photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--radius); background: var(--white); }
figure { margin: 0; }
figcaption { margin-top: 12px; font-size: 15px; line-height: 1.4; color: var(--muted); }
figcaption strong { display: block; color: var(--navy); }

/* Contact band */
.contact-band { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.contact-band .container { position: relative; }
.contact-band h2 { color: var(--white); }
.contact-band p { color: var(--on-navy); }
.contact-band .fine { color: var(--on-navy-muted); font-size: 14px; }
.constellation { position: absolute; right: -40px; bottom: -30px; width: 420px; height: 298px; opacity: 0.18; pointer-events: none; }
.contact-list { flex: 0 1 320px; display: flex; flex-direction: column; gap: 14px; }
.contact-list .k { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-navy-muted); }
.contact-list a, .contact-list .v { color: var(--white); text-decoration: none; font-size: 19px; }
.contact-list a:hover { text-decoration: underline; color: var(--white); }

/* Notice page */
.notice h2 { font-size: 26px; line-height: 1.25; }
.notice p + p { margin-top: 12px; }

/* Footer */
.site-footer { background: var(--navy-dark); color: var(--on-navy-muted); font-size: 15px; }
.site-footer .container { padding-block: 56px 32px; display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 12px; }
.footer-brand img { width: 72px; height: 40px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); }
.footer-brand .name { font-family: var(--font-head); font-size: 19px; font-weight: 500; color: var(--white); }
.footer-nav { flex: 2 1 480px; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.footer-nav div { display: flex; flex-direction: column; gap: 8px; }
.footer-nav .k { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy-accent); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--navy-line); font-size: 14px; }
.dot { color: var(--navy-accent); }
.notice h2 + p { margin-top: 8px; }