/* ============================================================
   Morrow Aesthetic Surgery — fictional portfolio concept
   Palette: forest / stone / copper
   Type:    editorial serif + modern system sans
   ============================================================ */

:root {
  --ink: #102821;
  --navy: #1C4439;
  --steel: #557A6A;
  --steel-soft: #A8BCAD;
  --ivory: #F4EFE5;
  --ivory-2: #E9E0D1;
  --gold: #B77C54;
  --gold-deep: #895837;
  --text: #23352D;
  --text-soft: #5E6A61;
  --text-on-dark: #F5F0E7;
  --text-on-dark-soft: #C6D0C7;

  --font-display: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --pad-x: clamp(1.25rem, 5vw, 6rem);
  --radius-card: 1.5rem;
  --nav-h: 76px;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--ivory);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
}

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

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { line-height: 1.05; font-weight: 600; }
em { font-style: italic; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* ---------- shared bits ---------- */

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.section-label--light { color: var(--gold); }

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-align: center;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #D4B270; box-shadow: 0 10px 30px rgba(198, 161, 91, 0.35); }
.btn--ghost { border-color: rgba(243, 239, 231, 0.5); color: var(--text-on-dark); background: transparent; }
.btn--ghost:hover { border-color: var(--text-on-dark); background: rgba(243, 239, 231, 0.08); }
.btn--navy { background: var(--navy); color: var(--text-on-dark); }
.btn--navy:hover { background: var(--ink); box-shadow: 0 10px 30px rgba(18, 48, 79, 0.3); }
.btn--pill { background: var(--gold); color: var(--ink); padding: 0.65rem 1.4rem; font-size: 0.85rem; white-space: nowrap; }
.btn--pill:hover { background: #D4B270; }

.chip {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--steel);
  border-radius: 999px;
  color: var(--steel);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.chip:hover { background: var(--steel); color: #fff; }

/* ---------- progress bar ---------- */

.progress-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 1000;
  background: transparent;
  pointer-events: none;
}
.progress-bar span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--gold);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 2rem);
  height: var(--nav-h);
  padding: 0 clamp(1.25rem, 3vw, 3rem);
  color: var(--text-on-dark);
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.nav--solid {
  background: rgba(247, 244, 238, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--text);
  box-shadow: 0 1px 0 rgba(28, 43, 58, 0.08);
}

.nav__brand { text-decoration: none; line-height: 1.05; }
.nav__brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.nav__brand-sub {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0.75;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.2vw, 1.1rem);
  margin-left: auto;
}

.nav-plain,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  color: inherit;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.85;
  padding: 0.55rem 0.55rem;
  border-radius: 8px;
  transition: opacity 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.nav-plain:hover,
.nav-trigger:hover,
.nav-item.is-open .nav-trigger { opacity: 1; background: rgba(127, 138, 150, 0.14); }

.nav-chevron { transition: transform 0.2s ease; flex: none; }
.nav-trigger[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }

.nav-item { position: relative; }

.nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 220px;
  max-width: min(560px, calc(100vw - 2rem));
  padding: 0.45rem;
  background: var(--ivory);
  color: var(--text);
  border: 1px solid rgba(28, 43, 58, 0.1);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(10, 31, 51, 0.22), 0 4px 14px rgba(10, 31, 51, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px) scale(0.96);
  transform-origin: top center;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  pointer-events: none;
  z-index: 30;
}
.nav-item.is-open .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}
.nav-panel--grid {
  width: 540px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.nav-panel--right { left: auto; right: 0; transform: translateY(8px) scale(0.96); transform-origin: top right; }
.nav-item.is-open .nav-panel--right { transform: translateY(0) scale(1); }

.nav-panel a {
  display: block;
  padding: 0.62rem 0.8rem;
  border-radius: 9px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.nav-panel a:hover { background: var(--ivory-2); }
.nav-panel a span {
  display: block;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}
.nav-panel a small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

.nav__actions { display: flex; align-items: center; gap: 1.4rem; }
.nav__phone {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0.85;
  white-space: nowrap;
}
.nav__phone:hover { opacity: 1; }

.nav__burger {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  cursor: pointer;
  margin-left: auto;
  position: relative;
  z-index: 950;
}
.nav__burger span {
  display: block;
  width: 26px; height: 2px;
  background: currentColor;
  margin: 5px auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 880;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu {
  align-items: flex-start;
  justify-content: flex-start;
  overflow-y: auto;
  padding: calc(var(--nav-h) + 1.5rem) 1.6rem 3rem;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
.mm-group { border-bottom: 1px solid rgba(243, 239, 231, 0.12); }
.mm-group summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-on-dark);
  font-family: var(--font-display);
  font-size: 1.55rem;
  padding: 0.85rem 0.2rem;
}
.mm-group summary::-webkit-details-marker { display: none; }
.mm-group summary::after {
  content: "";
  width: 9px; height: 9px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-right: 0.4rem;
}
.mm-group[open] summary::after { transform: rotate(225deg); }
.mm-list { padding: 0 0.2rem 1rem; display: flex; flex-direction: column; }
.mm-list a {
  color: var(--text-on-dark-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 300;
  padding: 0.5rem 0.4rem;
  border-radius: 8px;
}
.mm-list a:active { background: rgba(243, 239, 231, 0.08); }
.mm-plain {
  color: var(--text-on-dark);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.55rem;
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid rgba(243, 239, 231, 0.12);
}
.mm-utility {
  display: flex;
  gap: 1.4rem;
  padding: 1.2rem 0.2rem 0.6rem;
}
.mm-utility a {
  color: var(--text-on-dark-soft);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mobile-menu .btn { margin-top: 1.2rem; text-align: center; }
.mobile-menu__phone {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-decoration: none;
  text-align: center;
  padding: 0.6rem;
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--text-on-dark);
}

.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.08);
  filter: saturate(0.75) brightness(0.9);
}
.hero__wash {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 62% 48% at 50% 46%, rgba(10, 31, 51, 0.55), transparent 100%),
    linear-gradient(180deg, rgba(10, 31, 51, 0.74) 0%, rgba(10, 31, 51, 0.62) 45%, rgba(10, 31, 51, 0.9) 100%),
    radial-gradient(ellipse at 50% 35%, rgba(62, 124, 177, 0.16), transparent 65%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--nav-h) + 1.5rem) var(--pad-x) 30vh;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  font-weight: 500;
}
.hero__eyebrow span + span::before { content: " — "; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(3rem, 8.5vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: 0.005em;
  display: flex;
  gap: clamp(1.2rem, 4vw, 3.5rem);
  justify-content: center;
}
.hero__title-half { display: inline-block; text-align: right; }
.hero__title-half--right { text-align: left; color: var(--gold); }

.hero__tagline {
  max-width: 620px;
  margin-top: 2.2rem;
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  font-weight: 400;
  color: #E9EDF2;
  text-shadow: 0 1px 22px rgba(10, 31, 51, 0.85), 0 1px 4px rgba(10, 31, 51, 0.55);
}

.hero__cta {
  display: flex;
  gap: 1rem;
  margin-top: 2.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__scroll-hint {
  margin-top: 2rem;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-on-dark-soft);
  animation: hintPulse 2.6s ease-in-out infinite;
}
@keyframes hintPulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }

/* expanding media card */
.hero__media {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 4vh;
  transform: translateX(-50%);
  width: min(340px, 62vw);
  aspect-ratio: 16 / 10;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

.hero__media-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(10, 31, 51, 0.25), rgba(10, 31, 51, 0.55));
  opacity: 0;
  padding: 1rem;
}
.hero__media-caption-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  font-weight: 600;
  color: #fff;
}
.hero__media-caption-sub {
  margin-top: 0.8rem;
  font-size: clamp(0.75rem, 1.4vw, 0.95rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

#arrowCanvas {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

/* ---------- trust bar ---------- */

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: clamp(3.5rem, 7vw, 6rem) var(--pad-x);
  background: var(--ivory);
  text-align: center;
}
.trust__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 600;
  color: var(--gold-deep);
  line-height: 1;
}
.trust__num,
.trust__seal {
  min-height: clamp(3.4rem, 5.2vw, 4.8rem);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust__suffix { color: var(--gold); font-size: 0.6em; align-self: flex-start; margin-top: 0.35em; }
.trust__seal {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  color: var(--gold-deep);
  line-height: 1.05;
}
.trust__label {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* ---------- anatomy sections ---------- */

.anatomy--face { background: var(--ivory); }
.anatomy--body { background: var(--navy); color: var(--text-on-dark); }

.anatomy__pin {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 1rem) var(--pad-x) 2rem;
}

.anatomy__head { margin-bottom: clamp(1.5rem, 3vh, 3rem); text-align: center; }
.anatomy__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 600;
}
.anatomy--body .section-label { color: var(--gold); }

.anatomy__stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 520px) minmax(380px, 640px);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
}

.anatomy__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 5;
}
.anatomy__overlay path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2px;
}
@media (max-width: 900px) { .anatomy__overlay { display: none; } }
.anatomy__stage--mirror { grid-template-columns: minmax(380px, 640px) minmax(320px, 520px); }
.anatomy__stage--mirror .anatomy__figure { order: 2; }
.anatomy__stage--mirror .anatomy__info { order: 1; text-align: right; }
.anatomy__stage--mirror .anatomy__items { margin-left: auto; }

.anatomy__figure {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10, 31, 51, 0.18);
  max-height: 76vh;
  aspect-ratio: 3 / 4;
}
.anatomy__figure img { width: 100%; height: 100%; object-fit: cover; }

.anatomy__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.anatomy__lines path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 0.45;
  vector-effect: non-scaling-stroke;
  stroke-width: 2px;
}
.anatomy__lines circle {
  fill: none;
  stroke: var(--gold);
  vector-effect: non-scaling-stroke;
  stroke-width: 2px;
}

.anatomy__dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px rgba(198, 161, 91, 0.25);
  transition: left 0.5s cubic-bezier(0.6, 0, 0.2, 1), top 0.5s cubic-bezier(0.6, 0, 0.2, 1);
}

.anatomy__items { position: relative; max-width: 640px; min-height: 14rem; }
.anatomy__item {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
}
.anatomy__item.is-active { opacity: 1; visibility: visible; transform: translateY(0); }

.anatomy__item h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.anatomy__item .latin {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.55em;
  color: var(--gold-deep);
  margin-top: 0.25rem;
}
.anatomy--body .anatomy__item .latin { color: var(--gold); }
.anatomy__item p {
  margin-top: 0.9rem;
  color: var(--text-soft);
  font-weight: 300;
  font-size: 1.08rem;
  max-width: 50ch;
}
.anatomy--body .anatomy__item p { color: var(--text-on-dark-soft); }
.anatomy__stage--mirror .anatomy__item p { margin-left: auto; }

.anatomy__item a {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--steel);
  border-bottom: 1px solid currentColor;
  padding: 0.4rem 0 0.25rem;
  font-weight: 500;
}
.anatomy--body .anatomy__item a { color: var(--steel-soft); }
.anatomy__item a:hover { color: var(--gold-deep); }
.anatomy--body .anatomy__item a:hover { color: var(--gold); }

.anatomy__hint {
  margin-top: 1.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
  opacity: 0.7;
}
.anatomy--body .anatomy__hint { color: var(--text-on-dark-soft); }

/* ---------- minimally invasive deck ---------- */

.mini {
  background: var(--ivory-2);
  padding: clamp(4rem, 9vw, 8rem) var(--pad-x);
  text-align: center;
}
.mini__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 600;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.mini__title em { color: var(--gold-deep); }

.stack { max-width: 1200px; margin: 0 auto; position: relative; }
.stack__arrow {
  position: absolute;
  top: 55%;
  z-index: 120;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(169, 133, 63, 0.55);
  background: rgba(247, 244, 238, 0.92);
  color: var(--gold-deep);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(10, 31, 51, 0.12);
}
.stack__arrow:hover { background: var(--gold); color: var(--ink); transform: scale(1.06); }
.stack__arrow--l { left: clamp(0px, 2vw, 24px); }
.stack__arrow--r { right: clamp(0px, 2vw, 24px); }
@media (max-width: 700px) {
  .stack__arrow { width: 44px; height: 44px; top: auto; bottom: -8px; }
  .stack__arrow--l { left: 18%; }
  .stack__arrow--r { right: 18%; }
}
.stack__stage {
  position: relative;
  height: clamp(330px, 42vw, 430px);
  outline: none;
  touch-action: pan-y;
}
.stack__card {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: min(700px, 78vw);
  min-height: clamp(230px, 24vw, 280px);
  background: var(--ivory);
  border: 1px solid rgba(28, 43, 58, 0.1);
  border-radius: 1.4rem;
  padding: clamp(1.6rem, 3vw, 2.8rem) clamp(1.6rem, 3.4vw, 3.2rem);
  text-align: left;
  box-shadow: 0 26px 60px rgba(10, 31, 51, 0.14);
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  gap: clamp(1.4rem, 3vw, 3rem);
  align-items: center;
  transition: transform 0.55s cubic-bezier(0.34, 1.3, 0.5, 1), box-shadow 0.3s ease;
  will-change: transform;
  user-select: none;
}
.stack__card.is-active { cursor: grab; box-shadow: 0 36px 80px rgba(10, 31, 51, 0.2); }
.stack__card:not(.is-active)::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.4rem;
  background: rgba(239, 234, 224, 0.55);
  pointer-events: none;
}
.stack__card-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold-deep);
  margin-bottom: 0.7rem;
}
.stack__card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  line-height: 1.05;
}
.stack__card-body p { color: var(--text-soft); font-weight: 300; font-size: clamp(0.95rem, 1.2vw, 1.08rem); }
.stack__card-link {
  display: inline-block;
  margin-top: 1.3rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--steel);
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.2rem;
  font-weight: 500;
}
.stack__card-link:hover { color: var(--gold-deep); }
.stack__dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.6rem;
}
.stack__dots button {
  width: 9px; height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(28, 43, 58, 0.22);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.stack__dots button.is-on { background: var(--gold-deep); transform: scale(1.25); }
@media (max-width: 700px) {
  .stack__card { grid-template-columns: 1fr; gap: 0.8rem; width: 86vw; bottom: 12px; }
  .stack__stage { height: 420px; }
}

/* ---------- locations ---------- */

.locations {
  background: var(--ivory);
  padding: clamp(4rem, 9vw, 8rem) var(--pad-x);
}
.locations { text-align: center; }
.locations__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 600;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 20ch;
  margin-inline: auto;
}
.locations__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 560px));
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin-inline: auto;
  text-align: left;
}
.loc-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(28, 43, 58, 0.08);
  box-shadow: 0 18px 44px rgba(10, 31, 51, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.loc-card:hover { transform: translateY(-6px); box-shadow: 0 28px 64px rgba(10, 31, 51, 0.14); }
.loc-card__img { height: clamp(200px, 26vw, 300px); overflow: hidden; }
.loc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.loc-card:hover .loc-card__img img { transform: scale(1.05); }
.loc-card__body { padding: 1.8rem 2rem 2rem; }
.loc-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}
.loc-card__body h3 span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 0.35rem;
}
.loc-card__body > p { color: var(--text-soft); font-weight: 300; }
.loc-card__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}
.loc-card__hours { font-size: 0.8rem; letter-spacing: 0.08em; color: var(--text-soft); }

/* ---------- BC band ---------- */

.band {
  position: relative;
  padding: clamp(6rem, 14vw, 11rem) var(--pad-x);
  overflow: hidden;
  color: var(--text-on-dark);
  text-align: center;
  background: var(--ink);
}
.band__bg { position: absolute; inset: -20% 0; z-index: 0; }
.band__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.6) brightness(0.42);
}
.band__content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.band__line {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.25;
}
.band__line em { color: var(--gold); }
.band__sub {
  margin-top: 1.8rem;
  color: var(--text-on-dark-soft);
  font-weight: 300;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- doctor ---------- */

.doctor {
  display: grid;
  grid-template-columns: minmax(320px, 540px) minmax(320px, 620px);
  justify-content: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: stretch;
  background: var(--ivory);
  padding: clamp(4rem, 9vw, 8rem) var(--pad-x);
}
.doctor__media {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10, 31, 51, 0.16);
  position: relative;
}
.doctor__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.doctor__media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(198, 161, 91, 0.35);
  border-radius: var(--radius-card);
  pointer-events: none;
}
.doctor__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 600;
  margin-bottom: 1.4rem;
}
.doctor__body > p { color: var(--text-soft); max-width: 56ch; margin-bottom: 1.1rem; font-weight: 300; }

/* ---------- consult ---------- */

.consult {
  display: grid;
  grid-template-columns: minmax(320px, 520px) minmax(320px, 600px);
  justify-content: center;
  gap: clamp(3rem, 7vw, 7rem);
  background: var(--navy);
  color: var(--text-on-dark);
  padding: clamp(4.5rem, 10vw, 9rem) var(--pad-x);
}
.consult__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 600;
}
.consult__title em { color: var(--gold); }
.consult__sub {
  margin-top: 1.6rem;
  color: var(--text-on-dark-soft);
  font-weight: 300;
  max-width: 44ch;
}
.consult__mail {
  display: inline-block;
  margin-top: 2rem;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(198, 161, 91, 0.4);
  padding-bottom: 0.25rem;
}
.consult__mail:hover { border-color: var(--gold); }

.consult__form { display: flex; flex-direction: column; gap: 1.4rem; max-width: 560px; }

.field { position: relative; }
.field input,
.field textarea,
.field select {
  width: 100%;
  background: rgba(247, 244, 238, 0.06);
  border: 1px solid rgba(247, 244, 238, 0.22);
  border-radius: 0.8rem;
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  padding: 1.15rem 1.2rem 0.85rem;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  padding: 1rem 1.2rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C6A15B' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  cursor: pointer;
}
.field select option { color: var(--text); background: var(--ivory); }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(247, 244, 238, 0.1);
  box-shadow: 0 0 0 4px rgba(198, 161, 91, 0.15);
}

.field label {
  position: absolute;
  left: 1.2rem;
  top: 1rem;
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-on-dark-soft);
  pointer-events: none;
  transition: transform 0.2s ease, font-size 0.2s ease, color 0.2s ease, top 0.2s ease;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  top: 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.field__opt { opacity: 0.5; font-size: 0.85em; }

.field input.field--error,
.field textarea.field--error { border-color: #E08A8A; }

.consult__submit { margin-top: 0.4rem; border: 0; }
.consult__submit.is-sent { background: #7FB287; color: var(--ink); }
.consult__note {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--text-on-dark-soft);
  opacity: 0.7;
}

/* ---------- footer ---------- */

.footer {
  background: var(--ink);
  color: var(--text-on-dark-soft);
  padding: clamp(3.5rem, 7vw, 6rem) var(--pad-x) 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(243, 239, 231, 0.12);
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--text-on-dark);
  line-height: 1.1;
}
.footer__brand span {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0.7;
}
.footer__blurb { margin-top: 1.2rem; font-weight: 300; font-size: 0.9rem; max-width: 34ch; }
.footer__social { display: flex; gap: 0.4rem; margin-top: 1.6rem; }
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  color: var(--text-on-dark-soft);
  transition: color 0.2s ease, background 0.2s ease;
}
.footer__social a:hover { color: var(--gold); background: rgba(243, 239, 231, 0.07); }

.footer__col h3 {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  font-weight: 500;
}
.footer__h-gap { margin-top: 1.8rem; }
.footer__col > a {
  display: block;
  color: var(--text-on-dark-soft);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 300;
  padding: 0.28rem 0;
  transition: color 0.2s ease;
}
.footer__col > a:hover { color: var(--text-on-dark); }
.footer__addr { font-size: 0.88rem; font-weight: 300; margin-bottom: 1.2rem; }
.footer__addr a { color: var(--steel-soft); text-decoration: none; }
.footer__addr a:hover { color: var(--text-on-dark); }

.footer__base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.8rem;
  font-size: 0.8rem;
}
.footer__base nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer__base a { color: var(--text-on-dark-soft); text-decoration: none; }
.footer__base a:hover { color: var(--text-on-dark); }

/* ---------- mobile CTA + toast ---------- */

.mobile-cta {
  display: none;
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 890;
  transform: translateY(180%);
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
  background: var(--gold);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 1rem;
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(10, 31, 51, 0.35);
}
.mobile-cta.is-shown { transform: translateY(0); }

.toast {
  position: fixed;
  bottom: 1.6rem;
  left: 50%;
  transform: translate(-50%, 140%);
  z-index: 1001;
  background: var(--ink);
  color: var(--text-on-dark);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: 1px solid rgba(198, 161, 91, 0.5);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
  visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2), visibility 0s 0.45s;
}
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2); }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1360px) {
  .nav__phone { display: none; }
}

@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__actions { margin-left: auto; }
}

@media (max-width: 640px) {
  .nav__actions { display: none; }
}

@media (max-width: 900px) {

  .trust { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }

  .anatomy__stage,
  .anatomy__stage--mirror { grid-template-columns: 1fr; gap: 1.6rem; }
  .anatomy__stage--mirror .anatomy__figure { order: 0; }
  .anatomy__stage--mirror .anatomy__info { order: 1; text-align: left; }
  .anatomy__stage--mirror .anatomy__items { margin-left: 0; }
  .anatomy__stage--mirror .anatomy__item p { margin-left: 0; }
  .anatomy__figure {
    aspect-ratio: 3 / 4;
    height: 42vh;
    max-height: 42vh;
    width: auto;
    margin-inline: auto;
  }
  .anatomy__items { min-height: 13rem; }
  .anatomy__pin { justify-content: flex-start; padding-top: calc(var(--nav-h) + 1.5rem); }
  .anatomy__head { margin-bottom: 1.2rem; }

  .locations__grid { grid-template-columns: minmax(280px, 560px); }
  .doctor { grid-template-columns: 1fr; }
  .doctor__media { max-width: 420px; }
  .consult { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  .mobile-cta { display: block; }
  .footer { padding-bottom: 6rem; }
}

@media (max-width: 560px) {
  .hero__title { flex-direction: column; gap: 0.2em; }
  .hero__title-half, .hero__title-half--right { text-align: center; }
  .hero__media { width: min(280px, 74vw); bottom: 3vh; }
  .trust { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__base { justify-content: center; text-align: center; }
}

/* ============================================================
   Phone + tablet composition (desktop remains above 900px)
   ============================================================ */

@media (max-width: 900px) {
  :root {
    --pad-x: clamp(1.25rem, 5vw, 2.5rem);
    --mobile-cta-space: calc(4.35rem + env(safe-area-inset-bottom, 0px));
  }

  html { scroll-padding-bottom: calc(var(--mobile-cta-space) + 1rem); }
  body { font-size: 0.96rem; }

  /* Reliable two-step hero */
  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    align-items: stretch;
    /* Keep the pinned office-media layer below the following sections when
       Safari releases the pin while scrolling forward. */
    z-index: 0;
  }
  .trust {
    position: relative;
    z-index: 1;
  }
  .hero__inner {
    min-height: 100svh;
    min-height: 100dvh;
    justify-content: center;
    padding: calc(var(--nav-h) + 1.25rem) var(--pad-x) 1.4rem;
  }
  .hero__eyebrow {
    font-size: clamp(0.66rem, 1.8vw, 0.78rem);
    line-height: 1.55;
    letter-spacing: 0.22em;
    margin-bottom: 1.15rem;
  }
  .hero__eyebrow span { display: block; }
  .hero__eyebrow span + span::before { content: none; }
  .hero__title {
    font-size: clamp(3rem, 8vw, 4.2rem);
    gap: 0.12em;
    flex-direction: column;
  }
  .hero__title-half,
  .hero__title-half--right { text-align: center; }
  .hero__tagline {
    max-width: 38rem;
    margin-top: 1.15rem;
    font-size: clamp(0.9rem, 2.2vw, 1.03rem);
    line-height: 1.55;
  }
  .hero__cta { gap: 0.65rem; margin-top: 1.25rem; }
  .hero__cta .btn { padding: 0.78rem 1.25rem; font-size: 0.88rem; }
  /* The practice image remains part of the hero choreography on small screens:
     it emerges from the bottom and GSAP expands it to the entire viewport. */
  .hero__scroll-hint,
  #arrowCanvas { display: none; }
  .hero__media {
    display: block;
    width: min(270px, 70vw);
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    border-radius: 1.1rem;
  }
  .hero__media-caption { padding: var(--pad-x); }
  .hero__media-caption-title { font-size: clamp(2.25rem, 9vw, 3.5rem); }
  .hero__media-caption-sub { max-width: 30rem; font-size: clamp(0.66rem, 2vw, 0.84rem); line-height: 1.55; }

  /* Compact procedure panels keep every active description and link visible. */
  .anatomy__stage,
  .anatomy__stage--mirror { grid-template-columns: minmax(130px, 34vw) minmax(0, 1fr); gap: clamp(1rem, 3vw, 2rem); align-items: start; }
  .anatomy__stage--mirror .anatomy__figure { order: 0; }
  .anatomy__stage--mirror .anatomy__info { order: 1; text-align: left; }
  .anatomy__stage--mirror .anatomy__items { margin-left: 0; }
  .anatomy__stage--mirror .anatomy__item p { margin-left: 0; }
  .anatomy__figure {
    height: min(42dvh, 360px);
    max-height: min(42dvh, 360px);
    width: 100%;
    margin: 0;
  }
  .anatomy__items { min-height: 0; }
  .anatomy__pin {
    min-height: 100svh;
    min-height: 100dvh;
    justify-content: flex-start;
    padding: calc(var(--nav-h) + 0.8rem) var(--pad-x) calc(var(--mobile-cta-space) + 0.8rem);
  }
  .anatomy__head { margin-bottom: 0.85rem; }
  .anatomy__title { font-size: clamp(2rem, 5.8vw, 3.1rem); }
  .anatomy__item h3 { font-size: clamp(1.55rem, 4.4vw, 2.45rem); line-height: 1; }
  .anatomy__item .latin { margin-top: 0.15rem; }
  .anatomy__item p { margin-top: 0.55rem; font-size: clamp(0.86rem, 2vw, 1rem); line-height: 1.48; }
  .anatomy__item a { margin-top: 0.55rem; font-size: 0.69rem; letter-spacing: 0.14em; padding-top: 0.25rem; }
  .anatomy__hint { margin-top: 0.8rem; font-size: 0.6rem; letter-spacing: 0.16em; }

  /* One responsive type scale for every section, rather than isolated fixes. */
  .section-label { font-size: 0.68rem; letter-spacing: 0.18em; margin-bottom: 0.85rem; }
  .trust__label { font-size: 0.72rem; letter-spacing: 0.1em; }
  .locations__title, .mini__title { font-size: clamp(2rem, 6.4vw, 3.2rem); }
  .band__line { font-size: clamp(1.8rem, 5.4vw, 2.7rem); }
  .doctor__title { font-size: clamp(2.4rem, 7vw, 3.7rem); }
  .consult__title { font-size: clamp(2.5rem, 7.2vw, 3.8rem); }
  .btn, .field input, .field textarea, .field select, .field label { font-size: 0.95rem; }

  .doctor { grid-template-columns: 1fr; text-align: center; padding-block: clamp(3.5rem, 8vw, 5rem); }
  .doctor__media { max-width: 420px; margin-inline: auto; }
  .doctor__body > p { margin-left: auto; margin-right: auto; }
  .consult { grid-template-columns: 1fr; text-align: center; padding-block: clamp(3.75rem, 8vw, 5.5rem); }
  .consult__sub { margin-left: auto; margin-right: auto; }
  .consult__form { width: min(100%, 560px); margin-inline: auto; text-align: left; }

  /* Cards and controls rise together, leaving a dedicated safe control row. */
  .mini { padding-top: clamp(3.25rem, 7vw, 4.5rem); padding-bottom: calc(var(--mobile-cta-space) + 2.5rem); }
  .mini__title { margin-bottom: 1.35rem; }
  .stack__stage { height: 350px; }
  .stack__card { top: 24px; bottom: auto; min-height: 0; padding: 1.35rem 1.45rem; }
  .stack__dots { min-height: 48px; margin-top: 0.35rem; padding: 0 5.5rem; align-items: center; }
  .stack__arrow { bottom: 2px; }
  .stack__arrow--l { left: 10%; }
  .stack__arrow--r { right: 10%; }

  .band__label span { display: block; }
  .band { padding-block: clamp(5rem, 12vw, 7rem); }

  .mobile-cta {
    left: max(1rem, env(safe-area-inset-left, 0px));
    right: max(1rem, env(safe-area-inset-right, 0px));
    bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
  }
  .footer { padding-bottom: calc(var(--mobile-cta-space) + 2rem); }
}

@media (max-width: 560px) {
  .hero__title { font-size: clamp(2.75rem, 12.5vw, 3.4rem); }
}

/* ============================================================
   Touch anatomy tour — phone and tablet only
   ============================================================ */

@media (hover: none) and (pointer: coarse) {
  :root {
    --mobile-cta-space: calc(4.35rem + env(safe-area-inset-bottom, 0px));
  }

  .anatomy__overlay { display: none; }
  .anatomy__lines,
  .anatomy__dot { display: block; }

  .anatomy__pin {
    min-height: 100svh;
    min-height: 100dvh;
    justify-content: flex-start;
    padding: calc(var(--nav-h) + 0.55rem) var(--pad-x) calc(var(--mobile-cta-space) + 0.45rem);
  }
  .anatomy__head { margin-bottom: 0.45rem; }
  .anatomy__head .section-label { margin-bottom: 0.45rem; }
  .anatomy__title { font-size: clamp(2rem, 8.8vw, 2.8rem); line-height: 0.96; }

  .anatomy__stage,
  .anatomy__stage--mirror {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    align-items: center;
    max-width: 30rem;
  }
  .anatomy__stage--mirror .anatomy__figure { order: 0; }
  .anatomy__stage--mirror .anatomy__info { order: 1; text-align: left; }
  .anatomy__stage--mirror .anatomy__items,
  .anatomy__stage--mirror .anatomy__item p { margin-left: 0; }

  .anatomy__figure {
    width: auto;
    height: clamp(12rem, 32dvh, 17rem);
    max-height: clamp(12rem, 32dvh, 17rem);
    margin-inline: auto;
  }
  .anatomy__info { width: 100%; }
  .anatomy__items { min-height: clamp(8.7rem, 21dvh, 10.5rem); }
  .anatomy__item h3 { font-size: clamp(1.55rem, 7vw, 2rem); line-height: 0.96; }
  .anatomy__item .latin { margin-top: 0.1rem; }
  .anatomy__item p { margin-top: 0.62rem; font-size: clamp(0.82rem, 3.7vw, 0.96rem); line-height: 1.38; }
  .anatomy__item a { margin-top: 0.45rem; padding-top: 0.15rem; font-size: 0.62rem; letter-spacing: 0.13em; }
  .anatomy__hint { display: none; }
  .anatomy__dot {
    width: 11px;
    height: 11px;
    box-shadow: 0 0 0 7px rgba(198, 161, 91, 0.25);
  }

  .mobile-cta {
    display: block;
    left: max(1rem, env(safe-area-inset-left, 0px));
    right: max(1rem, env(safe-area-inset-right, 0px));
    bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
  }
}

@media (hover: none) and (pointer: coarse) and (min-width: 600px) {
  .anatomy__pin { justify-content: center; }
  .anatomy__head { margin-bottom: clamp(0.8rem, 2vh, 1.25rem); }
  .anatomy__title { font-size: clamp(2.5rem, 5.4vw, 3.6rem); }
  .anatomy__stage,
  .anatomy__stage--mirror {
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(1.25rem, 4vw, 3rem);
    max-width: 58rem;
  }
  .anatomy__figure {
    height: clamp(16rem, 43dvh, 31rem);
    max-height: clamp(16rem, 43dvh, 31rem);
  }
  .anatomy__items { min-height: clamp(11rem, 24dvh, 15rem); }
  .anatomy__item h3 { font-size: clamp(2rem, 4.7vw, 3rem); }
  .anatomy__item p { font-size: clamp(0.94rem, 2.3vw, 1.08rem); }
}

/* Landscape remains a pinned tour, but becomes a compact side-by-side card so
   the marker, copy, and consultation tray all remain visible. */
@media (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 700px) {
  .anatomy__pin {
    padding-top: calc(var(--nav-h) + 0.35rem);
    padding-bottom: calc(var(--mobile-cta-space) + 0.3rem);
  }
  .anatomy__head { margin-bottom: 0.3rem; }
  .anatomy__head .section-label { margin-bottom: 0.2rem; }
  .anatomy__title { font-size: clamp(1.5rem, 4.2vw, 2.25rem); }
  .anatomy__stage,
  .anatomy__stage--mirror {
    grid-template-columns: minmax(95px, 18vh) minmax(0, 1fr);
    gap: 0.85rem;
    max-width: 46rem;
  }
  .anatomy__figure {
    height: min(37dvh, 12.5rem);
    max-height: min(37dvh, 12.5rem);
  }
  .anatomy__items { min-height: 0; }
  .anatomy__item h3 { font-size: clamp(1.2rem, 3.4vw, 1.6rem); }
  .anatomy__item p { margin-top: 0.2rem; font-size: clamp(0.72rem, 1.85vw, 0.88rem); line-height: 1.28; }
  .anatomy__item a { margin-top: 0.2rem; font-size: 0.56rem; }
}

/* ============================================================
   Reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__scroll-hint { animation: none; }
  #arrowCanvas { display: none; }
  .hero__media { display: none; }
  /* No scroll-scrub without motion, so the anatomy sections can't cycle.
     Show every procedure stacked, and hide the live dot + callout line
     (they can only track one item at a time). */
  .anatomy__items { min-height: 0; }
  .anatomy__item {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-bottom: 2.5rem;
  }
  .anatomy__dot,
  .anatomy__lines,
  .anatomy__overlay,
  .anatomy__hint { display: none; }
}

/* ---------- Morrow concept identity and disclosure ---------- */

.concept-banner {
  position: fixed;
  inset: 0 0 auto;
  z-index: 950;
  min-height: 27px;
  display: grid;
  place-items: center;
  padding: 0.32rem 1rem;
  background: rgba(16, 40, 33, 0.94);
  color: var(--text-on-dark);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.nav { top: 27px; }
.progress-bar { top: 27px; }
.concept-banner + .progress-bar { z-index: 960; }
.form-notice {
  border: 1px solid rgba(183, 124, 84, 0.5);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  color: var(--text-on-dark-soft);
  font-size: 0.78rem;
  line-height: 1.55;
}
.consult__mail { pointer-events: none; }
.chip { border-color: var(--steel); color: var(--steel); }

@media (max-width: 900px) {
  .concept-banner { font-size: 0.54rem; padding-inline: 0.7rem; }
  .nav { top: 27px; }
  .mobile-menu { top: calc(var(--nav-h) + 27px); }
}
