/* ============================================================
   Dr. Prabhat Saharia — "Letters" theme
   Open-sky hero · white desk · obsidian pill CTAs · one surgical blue
   Open Runde is not on Google Fonts: Inter Tight stands in (per style ref)
   ============================================================ */

:root {
  /* colours */
  --obsidian: #070709;
  --ink: #151515;
  --charcoal: #60606c;
  --slate: #6a6a73; /* 4.5:1+ on white and cloud (was #8b8b8b) */
  --cloud: #f5f5f5;
  --sky-tint: #d7e6f5;
  --blue: #2597d0; /* icons, dots, small accents only, never a button fill or long text */
  --white: #ffffff;
  --line: #bebecc;
  --sky-gradient: linear-gradient(180deg, #779bc1 0%, #9abfda 58%, #cbdcec 100%);

  --hairline: rgba(7, 7, 9, 0.10);
  --hairline-2: #bebecc;

  /* type */
  --font: 'Inter Tight', 'Open Runde', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: var(--font); /* the admin can switch the heading font */
  --font-ui: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* shape */
  --r-input: 12px;
  --r-icon: 12px;
  --r-card: 18px;
  --r-lg: 32px;
  --r-pill: 100px;

  /* elevation: big, barely-there blue-tinted shadows */
  --shadow-halo: 0 0 0 1px var(--hairline), rgba(228, 229, 231, 0.24) 0 1px 2px 0;
  --shadow-float: rgba(16, 55, 132, 0.03) 0 17px 37px 0, rgba(16, 55, 132, 0.03) 0 67px 67px 0, rgba(16, 55, 132, 0.02) 0 150px 90px 0;
  --shadow-btn: rgba(36, 36, 40, 0.1) 0 1px 2px 0, rgba(36, 36, 40, 0.09) 0 3px 3px 0, rgba(36, 36, 40, 0.05) 0 6px 4px 0, rgba(36, 36, 40, 0.01) 0 11px 4px 0;

  --maxw: 1200px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--obsidian);
  background: var(--white);
  font-size: 16px;
  line-height: 1.49;
  letter-spacing: -0.01em;
  font-feature-settings: "ss01" on, "tnum" on;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ---------- Small-caps section label ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; line-height: 1.5;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--obsidian); margin-bottom: 14px;
}

/* ---------- Announcement pill ---------- */
.pill {
  display: inline-flex; align-items: center;
  padding: 8px 16px; border: 1px solid var(--obsidian); border-radius: var(--r-pill); background: var(--white);
  font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--obsidian);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 40px);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; letter-spacing: -0.04em; }
.nav__mark {
  width: 20px; height: 20px; border-radius: 8px;
  background: var(--blue);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.35);
}
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-family: var(--font-ui); font-size: 14px; font-weight: 500; color: var(--obsidian); transition: color 0.18s var(--ease); }
.nav__links a:hover { color: var(--charcoal); }
.nav__cta {
  padding: 8px 16px; border: 1px solid var(--obsidian); border-radius: var(--r-pill);
  color: var(--obsidian) !important; font-weight: 500;
  transition: border-color 0.18s var(--ease);
}
.nav__cta:hover { border-color: var(--ink); }
.nav__toggle { display: none; background: none; border: none; color: var(--ink); font-size: 1.5rem; cursor: pointer; }

/* ---------- Layout ---------- */
main { position: relative; z-index: 1; }
.section {
  position: relative;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) clamp(20px, 5vw, 40px);
  border-top: 1px solid var(--hairline);
}
.hero-band + .section { border-top: 0; }
.section__head { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.section__head h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 600;
  line-height: 1.1; letter-spacing: -0.04em; color: var(--obsidian);
}
.section__sub { margin: 14px auto 0; color: var(--charcoal); font-size: 16px; max-width: 560px; }

/* ---------- Hero (open-sky band, centered) ---------- */
.hero-band { background: var(--sky-gradient); }
.hero {
  max-width: var(--maxw); margin: 0 auto; text-align: center;
  padding: clamp(128px, 16vw, 168px) clamp(20px, 5vw, 40px) clamp(48px, 7vw, 88px);
}
.hero__inner { max-width: 820px; margin: 0 auto; }
.hero__main { display: flex; align-items: center; justify-content: center; gap: clamp(32px, 5vw, 64px); }
.hero__text { text-align: left; }
.hero__text .hero__lede { margin: 0; }
.hero__text .hero__actions { justify-content: flex-start; }
.hero__photo {
  width: clamp(200px, 26vw, 280px); height: auto; aspect-ratio: 600 / 812; object-fit: cover;
  border-radius: 24px; flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(36, 36, 40, 0.1), 0 12px 32px rgba(36, 36, 40, 0.18);
}
@media (max-width: 720px) {
  .hero__main { flex-direction: column; gap: 28px; }
  .hero__text { text-align: center; }
  .hero__text .hero__lede { margin: 0 auto; }
  .hero__text .hero__actions { justify-content: center; }
  .hero__photo { width: min(200px, 55vw); border-radius: 20px; }
}
.hero__title {
  font-family: var(--font-heading); font-weight: 600;
  font-size: clamp(3rem, 10vw, 5rem); line-height: 0.9;
  letter-spacing: -0.04em; color: var(--obsidian);
  margin: 24px 0 24px;
}
.hero__accent { display: block; color: var(--obsidian); }
.hero__lede {
  font-size: clamp(1.05rem, 2vw, 1.125rem); font-weight: 400; line-height: 1.49;
  color: var(--ink); max-width: 480px; margin: 0 auto; letter-spacing: -0.01em;
}
.hero__actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; justify-content: center; }
.facts {
  list-style: none; display: flex; flex-wrap: wrap; gap: 14px 36px; justify-content: center;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.45);
}
.facts li { display: flex; flex-direction: column; gap: 3px; }
.facts__k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--obsidian); font-weight: 600; }
.facts__v { font-size: 14px; color: var(--ink); }

/* ---------- Buttons (pill; filled dark + outlined ghost) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--r-pill);
  font-family: var(--font); font-size: 15px; font-weight: 500; letter-spacing: -0.01em; cursor: pointer;
  border: 1px solid transparent; transition: background 0.18s var(--ease), transform 0.15s var(--ease), border-color 0.18s var(--ease);
}
.btn--primary { background: var(--obsidian); color: var(--white); box-shadow: var(--shadow-btn); }
.btn--primary:hover { background: var(--ink); transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: var(--obsidian); color: var(--obsidian); }
.btn--ghost:hover { background: var(--obsidian); color: var(--white); }
.hero .btn--ghost { background: var(--white); }
.hero .btn--ghost:hover { background: var(--obsidian); }

/* ---------- 3D Atlas viewer ---------- */
.atlas__note {
  max-width: var(--maxw); margin: 14px auto 0; padding: 0 clamp(20px, 5vw, 40px);
  font-size: 13px; color: var(--slate); text-align: left;
}
.viewer {
  border: 1px solid var(--hairline); border-radius: var(--r-lg);
  overflow: hidden; background: var(--white);
  box-shadow: var(--shadow-float);
}
.viewer__stage {
  position: relative; width: 100%; height: clamp(460px, 66vh, 700px);
  height: clamp(460px, 66svh, 700px); /* svh: no resize jank as the phone URL bar hides */
  /* dark inverted surface so the pale skeleton reads crisply */
  background: radial-gradient(85% 85% at 50% 28%, #23262d, #14161b 66%, #0a0b0e 100%);
}
#anatomy-canvas { width: 100%; height: 100%; display: block; cursor: grab; }
#anatomy-canvas:active { cursor: grabbing; }

.viewer__hud {
  position: absolute; top: 16px; left: 16px;
  display: flex; flex-direction: column; padding: 12px 16px; min-width: 190px; max-width: 280px;
  background: rgba(255, 255, 255, 0.94); border: 1px solid var(--hairline);
  border-radius: var(--r-icon); box-shadow: var(--shadow-halo); pointer-events: none;
  z-index: 2; /* above the on-model labels */
}
.viewer__hud-sub { line-height: 1.4; }
.viewer__hud-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--obsidian); font-weight: 600; }
.viewer__hud-name { font-size: 18px; font-weight: 600; margin-top: 3px; letter-spacing: -0.02em; }
.viewer__hud-sub { font-size: 13px; color: var(--slate); margin-top: 2px; }

.viewer__loading {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--slate); font-size: 14px; background: var(--cloud);
  transition: opacity 0.5s var(--ease); text-align: center; padding: 0 24px;
}
.viewer__loading.is-hidden { opacity: 0; pointer-events: none; }

.viewer__level {
  position: absolute; bottom: 16px; right: 16px;
  display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.94); border: 1px solid var(--hairline);
  box-shadow: var(--shadow-halo); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate); pointer-events: none;
}
.viewer__level::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

.viewer__controls {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 16px; border-top: 1px solid var(--hairline); background: var(--white);
}
.control-group { display: flex; gap: 8px; }
.control-group + .control-group { margin-left: auto; }
.chip {
  padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--hairline-2);
  background: var(--white); color: var(--slate);
  font-family: var(--font); font-size: 13px; cursor: pointer; transition: all 0.16s var(--ease);
}
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); font-weight: 500; }
.chip--accent { border-color: var(--blue); color: var(--obsidian); }
.chip--accent:hover { background: rgba(37, 151, 208, 0.08); color: var(--obsidian); border-color: var(--blue); }
.chip--accent.is-live { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Live Motion: full webcam view with the anatomical overlay */
.motion { position: absolute; inset: 0; z-index: 4; background: #0b0d10; }
#motion-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
#motion-canvas { position: absolute; inset: 0; width: 100%; height: 100%; transform: scaleX(-1); }
.motion__bar {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 5;
  display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; max-width: 94%;
  padding: 6px; border-radius: var(--r-pill);
  background: rgba(7, 7, 9, 0.6); backdrop-filter: blur(10px);
}
.motion__status {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 5;
  padding: 7px 16px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.94); border: 1px solid var(--hairline);
  font-size: 13px; color: var(--charcoal); box-shadow: var(--shadow-halo);
  max-width: 90%; text-align: center;
}
.mchip {
  padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent; color: rgba(255, 255, 255, 0.65);
  font-family: var(--font); font-size: 13px; cursor: pointer; transition: all 0.16s var(--ease);
}
.mchip:hover { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.mchip.is-on { background: var(--blue); color: #fff; border-color: var(--blue); font-weight: 500; }

/* ---------- Grids & panels ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.service {
  padding: 28px; border-radius: var(--r-card); background: var(--white);
  border: 1px solid var(--hairline); border-top: 3px solid var(--blue);
  box-shadow: var(--shadow-float);
}
.icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: 16px; border-radius: var(--r-icon);
  background: var(--sky-tint); color: var(--blue);
}
.icon svg { width: 24px; height: 24px; }
.service__title { font-size: 20px; font-weight: 600; letter-spacing: -0.04em; margin-bottom: 8px; }
.service__desc { color: var(--charcoal); font-size: 15px; }

/* Stat strip (replaces three cards) */
.stats {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 48px 0 40px; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.stats li { display: flex; flex-direction: column; gap: 6px; padding: 24px 24px 24px 0; }
.stats li + li { padding-left: 24px; border-left: 1px solid var(--hairline); }
.stat__k { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--obsidian); }
.stat__v { font-size: 14px; color: var(--charcoal); }

.experience { margin-top: 8px; }
.exp dt { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; margin-top: 14px; }
.exp dt:first-child { margin-top: 0; }
.exp dd { font-size: 15px; color: var(--charcoal); margin-top: 4px; }
.prose { color: var(--charcoal); margin-bottom: 16px; max-width: 560px; }
.prose:last-child { margin-bottom: 0; }

.panel { padding-top: 20px; border-top: 1px solid var(--hairline); }
.panel__title {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--slate); font-weight: 600; margin: 22px 0 12px;
}
.panel__title:first-child { margin-top: 0; }
.panel__title--green { color: var(--obsidian); }
.panel__title--red { color: var(--ink); }

.tags, .list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  padding: 6px 13px; border-radius: var(--r-pill); font-size: 13px;
  background: transparent; border: 1px solid var(--hairline-2); color: var(--charcoal);
}
.tags--muted li { color: var(--slate); }

.list { flex-direction: column; gap: 9px; }
.list li { position: relative; padding-left: 18px; color: var(--charcoal); font-size: 15px; }
.list li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
}
.list--inline { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
.list--inline li { padding-left: 16px; }


/* ---------- Projects ---------- */
.projects { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--hairline); }
.project {
  display: grid; grid-template-columns: 220px 1fr; column-gap: 32px;
  padding: 28px 0 28px 20px; border-bottom: 1px solid var(--hairline);
  position: relative;
}
.project::before {
  content: ""; position: absolute; left: 0; top: 28px; bottom: 28px; width: 3px;
  border-radius: 3px; background: var(--blue);
}
.project > * { grid-column: 2; }
.project .project__meta { grid-column: 1; grid-row: 1 / span 3; flex-direction: column; align-items: flex-start; gap: 6px; margin: 0; }
.project__meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--charcoal); margin-bottom: 14px;
}
.project__type { text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; color: var(--obsidian); }
.project__title { font-size: 20px; font-weight: 600; letter-spacing: -0.04em; margin-bottom: 10px; }
.project__desc { color: var(--charcoal); font-size: 15px; }
.project__link { display: inline-block; margin-top: 16px; font-size: 14px; color: var(--obsidian); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.project__link:hover { text-decoration: underline; }
.project__link--muted { color: var(--slate); font-weight: 400; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.timeline li { display: grid; grid-template-columns: 100px 1fr; gap: 16px; }
.timeline__when { font-size: 13px; color: var(--slate); padding-top: 2px; }
.timeline__what { color: var(--charcoal); font-size: 15px; }
.timeline__what strong { color: var(--ink); font-weight: 600; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact__item {
  display: flex; flex-direction: column; gap: 5px; padding: 20px 22px;
  border: 1px solid var(--hairline); border-left: 3px solid var(--blue); border-radius: var(--r-card); background: var(--white);
  transition: border-color 0.18s var(--ease);
}
a.contact__item:hover { border-color: var(--blue); }
.contact__k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate); font-weight: 600; }
.contact__v { font-size: 15px; font-weight: 500; }

/* Professional-enquiry form */
.enquiry { display: grid; grid-template-columns: 3fr 2fr; gap: 20px; align-items: start; }
.enquiry .contact { grid-template-columns: 1fr; }
.enquiry__form {
  display: flex; flex-direction: column; gap: 16px; padding: 24px;
  border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--cloud);
}
.enquiry__form .btn { align-self: flex-start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--hairline-2); border-radius: var(--r-input);
  background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 16px; /* 16px stops iOS zooming on focus */
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--charcoal); cursor: pointer; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--blue); flex: none; }
.enquiry__error { color: #b42318; font-size: 14px; }
.enquiry__hint { font-size: 13px; color: var(--slate); }

/* ---------- Footer ---------- */
.footer {
  position: relative; z-index: 1; padding: 40px clamp(20px, 5vw, 40px);
  max-width: var(--maxw); margin: 0 auto;
  border-top: 1px solid var(--hairline); color: var(--slate); font-size: 13px;
}
.footer__refs { margin-top: 8px; font-size: 12px; }
.footer a { color: var(--obsidian); text-decoration: underline; text-underline-offset: 2px; }
.footer a:hover { text-decoration: underline; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Touch-only atlas bits (zoom buttons, swipe hints) */
.chip--touch, .atlas__note--touch { display: none; }
@media (pointer: coarse) {
  .chip--touch { display: inline-block; min-width: 44px; }
  .chip, .mchip { min-height: 44px; }
  .chip, .chip--touch { display: inline-flex; align-items: center; justify-content: center; }
  .atlas__note--touch { display: block; }
  .atlas__note--mouse { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 18px;
    position: absolute; top: 100%; left: 0; right: 0;
    padding: 22px clamp(20px, 5vw, 40px);
    background: rgba(255, 255, 255, 0.98); border-bottom: 1px solid var(--hairline);
  }
  .grid--2, .grid--3, .projects, .contact, .enquiry, .field-row { grid-template-columns: 1fr; }
  .viewer__stage { height: clamp(380px, 62vh, 560px); height: clamp(380px, 62svh, 560px); }
  /* HUD sits at the bottom on phones so it never covers the skull */
  .viewer__hud { top: auto; bottom: 10px; left: 10px; right: 10px; max-width: none; min-width: 0; padding: 9px 12px; }
  .viewer__hud-label { display: none; }
  .viewer__hud.is-empty { display: none; } /* phones: show only once a bone is tapped */
  .viewer__hud-name { font-size: 15px; }
  .viewer__hud-sub { font-size: 12px; }
  .viewer__level { display: none; }
  .viewer__controls { justify-content: center; }
  .chip { padding: 9px 14px; min-height: 44px; display: inline-flex; align-items: center; }
  .timeline li { grid-template-columns: 84px 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats li, .stats li + li { padding: 18px 0; border-left: 0; }
  .stats li + li { border-top: 1px solid var(--hairline); }
  .project { grid-template-columns: 1fr; }
  .project .project__meta { grid-column: 2; grid-row: auto; flex-direction: row; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
  .control-group + .control-group { margin-left: 0; }
  .viewer__controls { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Keyboard bone list: visually hidden until something inside has focus */
.bone-list:not(:focus-within) {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.bone-list { padding: 12px 16px; border: 1px solid var(--hairline); border-radius: var(--r-icon); background: #fff; }
.bone-list__title { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--obsidian); font-weight: 600; margin-bottom: 8px; }
.bone-list__items { display: flex; flex-wrap: wrap; gap: 6px; max-height: 140px; overflow-y: auto; }
.bone-list__items button {
  font: inherit; font-size: 13px; padding: 6px 12px; border: 1px solid var(--hairline);
  border-radius: var(--r-pill); background: #fff; color: inherit; cursor: pointer;
}
.bone-list__note { font-size: 13px; color: var(--slate); margin-top: 8px; line-height: 1.4; }
.bone-list__items button:focus-visible,
#anatomy-canvas:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ---------- Privacy page ---------- */
.legal { padding-top: clamp(112px, 14vw, 140px); }
.legal__body { max-width: 640px; margin: 0 auto; color: var(--ink); font-size: 16px; line-height: 1.6; }
.legal__body h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; margin: 32px 0 8px; color: var(--obsidian); }
.legal__body p + p { margin-top: 12px; }
.legal__body a:not(.btn) { color: var(--obsidian); text-decoration: underline; text-underline-offset: 2px; }
.legal__body .btn { margin-top: 32px; }
.enquiry__hint a { color: var(--obsidian); text-decoration: underline; text-underline-offset: 2px; }
