/* LOCAL + WEB SAFE BUNDLE: shared site/profile styles followed by Parent-specific styles */

:root {
  --paper: #fafaf7;
  --paper-deep: #f0ece6;
  --ink: #1c1d21;
  --ink-soft: #45464c;
  --wine: #641d3b;
  --wine-dark: #35101f;
  --wine-light: #8a3456;
  --sage: #a8b8ad;
  --sage-dark: #647b6c;
  --lavender: #ece8f5;
  --lavender-deep: #c8bedc;
  --lime: #c9e84a;
  --lime-dark: #9fbe24;
  --line: rgba(28, 29, 33, 0.14);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

section[id] {
  scroll-margin-top: 112px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body,
button,
a,
input,
select,
textarea {
  font-family: var(--sans);
}

button,
a {
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
  font: inherit;
}

button,
a,
select {
  cursor: pointer;
}

img {
  max-width: 100%;
}

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

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

.site {
  min-width: 320px;
  overflow: clip;
  background: var(--paper);
}

.site.is-arabic {
  font-family: Tahoma, Arial, sans-serif;
}

.site.is-arabic button,
.site.is-arabic a,
.site.is-arabic input,
.site.is-arabic select,
.site.is-arabic textarea {
  font-family: Tahoma, Arial, sans-serif;
}

.section {
  position: relative;
  padding: clamp(88px, 9vw, 154px) 0;
}

.section-shell {
  position: relative;
  width: min(88vw, 1420px);
  margin: 0 auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 20px;
  color: var(--wine);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.19em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero-eyebrow::before {
  display: none;
}

.light-eyebrow {
  color: var(--lime);
}

.section-heading {
  margin-bottom: clamp(42px, 5vw, 76px);
}

.section-heading h2,
.doctor-copy h2,
.anatomy-copy h2,
.reviews-heading h2,
.faq-intro h2,
.contact-copy h2,
.location-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(45px, 5.7vw, 86px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.6fr);
  align-items: end;
  gap: clamp(45px, 8vw, 140px);
}

.split-heading > p,
.knowledge-heading > p,
.faq-intro > p,
.reviews-heading > p,
.contact-copy > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.centered-heading {
  max-width: 900px;
  margin-right: auto;
  margin-bottom: clamp(45px, 6vw, 86px);
  margin-left: auto;
  text-align: center;
}

.centered-heading .eyebrow {
  justify-content: center;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 800ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.button {
  --mag-x: 0px;
  --mag-y: 0px;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 720;
  transform: translate(var(--mag-x), var(--mag-y));
  transition:
    background 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    transform 160ms ease,
    box-shadow 220ms ease;
}

.button svg,
.header-cta svg,
.text-link svg,
.footer-book svg,
.mobile-book svg {
  width: 18px;
  height: 18px;
  transition: transform 220ms ease;
}

.button:hover svg,
.header-cta:hover svg,
.text-link:hover svg,
.footer-book:hover svg,
.mobile-book:hover svg {
  transform: translateX(4px);
}

.site.is-arabic .button:hover svg,
.site.is-arabic .header-cta:hover svg,
.site.is-arabic .text-link:hover svg {
  transform: translateX(-4px) rotate(180deg);
}

.button-lime {
  background: var(--lime);
  box-shadow: 0 16px 42px rgba(201, 232, 74, 0.17);
  color: var(--ink);
}

.button-lime:hover {
  background: #d9f761;
  box-shadow: 0 20px 46px rgba(201, 232, 74, 0.25);
}

.button-wine {
  background: var(--wine);
  color: var(--paper);
}

.button-wine:hover {
  background: var(--wine-dark);
}

.button-glass {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(20, 16, 18, 0.23);
  color: white;
  backdrop-filter: blur(18px);
}

.button-glass:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(20, 16, 18, 0.42);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 740;
}

.light-link {
  color: var(--lime);
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  z-index: 300;
  top: 0;
  left: 0;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.cursor-dot {
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(201, 232, 74, 0.75);
}

.cursor-ring {
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 1px solid rgba(100, 29, 59, 0.65);
  transition:
    width 150ms ease,
    height 150ms ease,
    margin 150ms ease,
    background 150ms ease;
}

.cursor-ring.is-pressed {
  width: 21px;
  height: 21px;
  margin: -10.5px 0 0 -10.5px;
  background: rgba(201, 232, 74, 0.2);
}

/* Header and navigation */
.site-header {
  position: fixed;
  z-index: 120;
  top: 20px;
  left: 50%;
  display: grid;
  width: min(94vw, 1680px);
  min-height: 78px;
  grid-template-columns: minmax(220px, 0.9fr) auto minmax(225px, 0.78fr);
  align-items: center;
  padding: 9px 11px 9px 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  background: rgba(250, 250, 247, 0.88);
  box-shadow:
    0 20px 70px rgba(28, 29, 33, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px);
  transform: translateX(-50%);
  transition:
    top 280ms ease,
    width 280ms ease,
    min-height 280ms ease,
    background 280ms ease;
}

.site-header.is-scrolled {
  top: 9px;
  width: min(91vw, 1560px);
  min-height: 67px;
  background: rgba(250, 250, 247, 0.96);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-monogram {
  display: grid;
  flex: 0 0 49px;
  width: 49px;
  height: 49px;
  place-items: center;
  border-radius: 14px;
  background: var(--wine);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: -0.07em;
}

.brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.brand-copy strong {
  overflow: hidden;
  font-size: 11px;
  font-weight: 790;
  letter-spacing: 0.13em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy small {
  color: rgba(28, 29, 33, 0.56);
  font-size: 7.5px;
  font-weight: 690;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 0.95vw, 20px);
}

.nav-group {
  position: relative;
  display: flex;
  min-height: 60px;
  align-items: center;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 0;
  background: transparent;
  color: rgba(28, 29, 33, 0.79);
  font-size: 10.5px;
  font-weight: 680;
  white-space: nowrap;
  transition: color 200ms ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  border-radius: 9px;
  background: var(--wine);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-group:hover .nav-link {
  color: var(--wine);
}

.nav-group:hover .nav-link::after,
.nav-group:focus-within .nav-link::after,
.simple-link:hover::after {
  transform: scaleX(1);
}

.nav-link svg {
  width: 12px;
  height: 12px;
  color: var(--wine);
  transition: transform 200ms ease;
}

.nav-group:hover .nav-link svg {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  display: grid;
  width: min(760px, 76vw);
  grid-template-columns: minmax(230px, 0.76fr) minmax(0, 1.55fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 22px;
  background: rgba(250, 250, 247, 0.97);
  box-shadow: 0 34px 85px rgba(28, 29, 33, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 13px) scale(0.985);
  transform-origin: top center;
  transition:
    opacity 180ms ease,
    transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mega-menu.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.mega-visual {
  position: relative;
  display: flex;
  min-height: 285px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 28px;
  background: var(--wine);
  color: white;
  isolation: isolate;
}

.tone-lime .mega-visual {
  background:
    radial-gradient(circle at 75% 18%, rgba(255, 255, 255, 0.33), transparent 25%),
    var(--lime);
  color: var(--ink);
}

.tone-lavender .mega-visual {
  background:
    radial-gradient(circle at 70% 25%, rgba(100, 29, 59, 0.17), transparent 32%),
    var(--lavender);
  color: var(--wine);
}

.tone-sage .mega-visual {
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.25), transparent 30%),
    var(--sage-dark);
}

.tone-paper .mega-visual {
  background:
    linear-gradient(145deg, rgba(236, 232, 245, 0.9), rgba(250, 250, 247, 0.92)),
    var(--paper);
  color: var(--ink);
}

.mega-visual::before {
  position: absolute;
  z-index: -1;
  top: -70px;
  right: -60px;
  width: 210px;
  height: 210px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.16;
}

.mega-visual > span {
  position: absolute;
  top: 24px;
  left: 28px;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.2em;
}

.mega-visual > strong {
  max-width: 210px;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 37px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.mega-visual > p {
  max-width: 220px;
  margin: 0;
  font-size: 10px;
  line-height: 1.65;
  opacity: 0.76;
}

.mega-orbit {
  position: absolute;
  top: 64px;
  right: 30px;
  width: 112px;
  height: 112px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.34;
  animation: orbitRotate 9s linear infinite;
}

.mega-orbit i,
.mega-orbit b {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: transparent;
}

.mega-orbit i {
  top: 5px;
  left: 15px;
}

.mega-orbit b {
  right: 7px;
  bottom: 18px;
}

@keyframes orbitRotate {
  to {
    transform: rotate(360deg);
  }
}

.mega-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
  padding: 22px 26px;
}

.mega-links a {
  position: relative;
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 5px 14px;
  border-bottom: 1px solid var(--line);
}

.mega-links a::before {
  position: absolute;
  inset: 7px -5px;
  border-radius: 12px;
  background: rgba(100, 29, 59, 0.06);
  content: "";
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.tone-lime .mega-links a::before {
  background: rgba(201, 232, 74, 0.2);
}

.tone-lavender .mega-links a::before {
  background: rgba(200, 190, 220, 0.28);
}

.tone-sage .mega-links a::before {
  background: rgba(168, 184, 173, 0.23);
}

.mega-links a:hover::before {
  opacity: 1;
  transform: scale(1);
}

.mega-links a > * {
  position: relative;
  z-index: 1;
}

.mega-links a > span {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mega-links a strong {
  font-size: 12px;
  line-height: 1.35;
}

.mega-links a small {
  color: rgba(28, 29, 33, 0.58);
  font-size: 9px;
  line-height: 1.5;
}

.mega-links a > svg {
  width: 17px;
  height: 17px;
  color: var(--wine);
  transition: transform 180ms ease;
}

.mega-links a:hover > svg {
  transform: translate(2px, -2px);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.language-switch {
  min-width: 48px;
  padding: 10px 7px;
  background: transparent;
  font-size: 10px;
  font-weight: 730;
}

.header-cta {
  --mag-x: 0px;
  --mag-y: 0px;
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 20px;
  border-radius: 14px;
  background: var(--wine);
  color: white;
  font-size: 10px;
  font-weight: 720;
  transform: translate(var(--mag-x), var(--mag-y));
  transition:
    background 200ms ease,
    transform 160ms ease;
}

.header-cta:hover {
  background: var(--wine-dark);
}

.header-cta svg {
  color: var(--lime);
}

.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 14px;
  background: var(--ink);
  color: white;
}

.menu-toggle svg {
  width: 21px;
  height: 21px;
}

/* Mobile navigation */
.mobile-menu {
  position: fixed;
  z-index: 110;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 118px 5.5vw 28px;
  background:
    radial-gradient(circle at 88% 18%, rgba(201, 232, 74, 0.16), transparent 27%),
    radial-gradient(circle at 10% 85%, rgba(236, 232, 245, 0.12), transparent 32%),
    var(--wine-dark);
  color: white;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.mobile-menu-head span {
  color: var(--lime);
  font-family: var(--serif);
  font-size: 32px;
}

.mobile-menu-head small {
  max-width: 180px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  line-height: 1.5;
  text-align: right;
}

.mobile-menu-scroll {
  overflow: auto;
  flex: 1;
  padding: 8px 0 20px;
  overscroll-behavior: contain;
}

.mobile-nav-group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-nav-group > button {
  display: grid;
  width: 100%;
  min-height: 62px;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: white;
  text-align: left;
}

.mobile-nav-group > button small {
  color: var(--lime);
  font-size: 8px;
  letter-spacing: 0.15em;
}

.mobile-nav-group > button strong {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
}

.mobile-nav-group > button svg {
  width: 18px;
  height: 18px;
  transition: transform 240ms ease;
}

.mobile-nav-group.is-open > button svg {
  transform: rotate(180deg);
}

.mobile-submenu {
  display: grid;
  max-height: 0;
  gap: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 520ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 260ms ease;
}

.mobile-nav-group.is-open .mobile-submenu {
  max-height: 650px;
  padding: 2px 0 20px 48px;
  opacity: 1;
}

.mobile-submenu > p {
  max-width: 420px;
  margin: 4px 0 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  line-height: 1.6;
}

.mobile-submenu > a:not(.mobile-view-all) {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-submenu a > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mobile-submenu a strong {
  font-size: 14px;
}

.mobile-submenu a small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  line-height: 1.4;
}

.mobile-submenu a svg {
  flex: 0 0 auto;
  color: var(--lime);
}

.mobile-view-all {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 740;
}

.mobile-direct-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 18px 0 6px;
}

.mobile-direct-links a {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: white;
  font-family: var(--serif);
  font-size: 18px;
}

.mobile-book {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-radius: 15px;
  background: var(--lime);
  color: var(--ink);
  font-size: 12px;
  font-weight: 760;
}

/* Hero */
.hero {
  --hero-shift: 0px;
  --runner-shift: 0px;
  --pointer-x: 60%;
  --pointer-y: 62%;
  --parallax-x: 0px;
  --parallax-y: 0px;
  position: relative;
  display: flex;
  min-height: max(820px, 100svh);
  align-items: center;
  overflow: hidden;
  padding: 155px 6vw 125px;
  background: #5a4547;
  color: white;
  isolation: isolate;
}

.hero-background {
  position: absolute;
  z-index: -5;
  inset: -5%;
  background: url("../images/hero-background.webp") center / cover no-repeat;
  transform: translate3d(var(--parallax-x), calc(var(--hero-shift) + var(--parallax-y)), 0) scale(1.08);
  transform-origin: center;
  transition: transform 140ms linear;
}

.hero-shade {
  position: absolute;
  z-index: -4;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(38, 17, 27, 0.9) 0%, rgba(53, 22, 34, 0.66) 35%, rgba(40, 22, 27, 0.2) 63%, rgba(22, 22, 24, 0.2) 100%),
    linear-gradient(0deg, rgba(19, 16, 18, 0.72) 0%, transparent 48%);
}

.hero-grid {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 9.8vw 100%, 100% 15.5vh;
  mask-image: linear-gradient(90deg, black, transparent 70%);
  opacity: 0.28;
}

.hero-runner {
  position: absolute;
  z-index: 85;
  top: 49px;
  right: clamp(7vw, 12vw, 15vw);
  width: clamp(320px, 34vw, 610px);
  height: min(94vh, 900px);
  pointer-events: none;
  transform: translate3d(calc(var(--parallax-x) * -0.45), calc(var(--runner-shift) + var(--parallax-y) * -0.45), 0);
  transition: transform 140ms linear;
}

.hero-runner img {
  object-fit: contain;
  object-position: top center;
  filter: drop-shadow(0 28px 26px rgba(20, 11, 16, 0.25));
}

.runner-shadow {
  position: absolute;
  z-index: -1;
  right: 24%;
  bottom: 2%;
  width: 47%;
  height: 7%;
  border-radius: 50%;
  background: rgba(28, 29, 33, 0.38);
  filter: blur(18px);
}

.hero-content {
  position: relative;
  z-index: 20;
  width: min(58vw, 880px);
  padding-top: 30px;
}

.hero-eyebrow {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.76);
}

.hero-eyebrow span {
  width: 39px;
  height: 1px;
  background: var(--lime);
}

.hero h1 {
  display: flex;
  margin: 0;
  flex-direction: column;
  font-family: var(--serif);
  font-size: clamp(78px, 8.5vw, 154px);
  font-weight: 400;
  letter-spacing: -0.067em;
  line-height: 0.76;
}

.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.13em;
  animation: heroReveal 1.05s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.line-two {
  padding-left: clamp(55px, 7vw, 130px);
  color: var(--lime);
  font-style: italic;
  animation-delay: 120ms;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(0.7em) rotate(1.5deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

.hero-intro {
  max-width: 655px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(15px, 1.35vw, 20px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-proof {
  position: absolute;
  z-index: 25;
  right: 4.5vw;
  bottom: 0;
  left: 4.5vw;
  display: grid;
  min-height: 104px;
  grid-template-columns: repeat(3, 1fr) minmax(220px, 0.8fr);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-proof > div,
.hero-proof > a {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 16px;
  padding: 18px 27px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-proof strong {
  font-family: var(--serif);
  font-size: clamp(34px, 3.5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.05em;
}

.hero-proof span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 9px;
  line-height: 1.35;
}

.stars {
  display: inline-block !important;
  color: var(--lime) !important;
  font-size: 8px !important;
  letter-spacing: 0.12em;
}

.hero-proof > a {
  justify-content: space-between;
  border-right: 0;
  color: var(--lime);
  font-size: 10px;
  font-weight: 740;
}

.hero-proof > a svg {
  width: 18px;
  height: 18px;
}

.hero-scroll-cue {
  position: absolute;
  z-index: 20;
  right: 18px;
  bottom: 133px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  transform: rotate(90deg);
  transform-origin: right bottom;
}

.hero-scroll-cue span {
  width: 55px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.27);
}

.hero-scroll-cue span::after {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--lime);
  content: "";
  animation: scrollCue 1.8s ease-in-out infinite;
}

@keyframes scrollCue {
  0% {
    transform: translateX(-100%);
  }
  80%,
  100% {
    transform: translateX(250%);
  }
}

.hero-float {
  position: absolute;
  z-index: 88;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 190px;
  padding: 8px 12px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 16px;
  background: rgba(250, 250, 247, 0.82);
  box-shadow: 0 20px 40px rgba(28, 29, 33, 0.18);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.float-one {
  top: 30%;
  right: 4vw;
  animation: floatCard 5.5s ease-in-out infinite;
}

.float-two {
  right: 26vw;
  bottom: 22%;
  animation: floatCard 6.5s ease-in-out -2s infinite;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-13px) rotate(1deg);
  }
}

.float-image {
  position: relative;
  width: 48px;
  height: 48px;
  overflow: hidden;
  flex: 0 0 48px;
  border-radius: 12px;
}

.float-image img {
  object-fit: cover;
}

.hero-float > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-float small {
  color: var(--wine);
  font-size: 7px;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-float strong {
  font-size: 10px;
}

.hero-anatomy-lens {
  position: absolute;
  z-index: 96;
  top: var(--pointer-y);
  left: var(--pointer-x);
  width: 124px;
  height: 124px;
  overflow: hidden;
  border: 1px solid rgba(100, 29, 59, 0.86);
  border-radius: 50%;
  background: rgba(250, 250, 247, 0.9);
  box-shadow:
    0 18px 48px rgba(28, 29, 33, 0.22),
    inset 0 0 0 6px rgba(250, 250, 247, 0.44);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.82);
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.hero[data-scanner="visible"] .hero-anatomy-lens {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.hero-anatomy-lens img {
  padding: 18px 22px 26px;
  object-fit: contain;
}

.hero-anatomy-lens small {
  position: absolute;
  right: 0;
  bottom: 13px;
  left: 0;
  color: var(--wine);
  font-size: 6px;
  font-weight: 780;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
}

.lens-crosshair::before,
.lens-crosshair::after {
  position: absolute;
  z-index: 2;
  background: var(--lime-dark);
  content: "";
}

.lens-crosshair::before {
  top: 50%;
  left: 6px;
  width: calc(100% - 12px);
  height: 1px;
}

.lens-crosshair::after {
  top: 6px;
  left: 50%;
  width: 1px;
  height: calc(100% - 12px);
}

/* Concern finder */
.concern-finder {
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(28, 29, 33, 0.05) 50%, transparent 50.1%),
    var(--paper);
}

.concern-shell::before {
  position: absolute;
  z-index: -1;
  top: -85px;
  right: -7vw;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(100, 29, 59, 0.12);
  border-radius: 50%;
  content: "";
}

.concern-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.75fr) minmax(0, 1.45fr);
  gap: 22px;
}

.concern-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.concern-tabs button {
  display: grid;
  width: 100%;
  min-height: 78px;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  text-align: left;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.concern-tabs button:hover {
  transform: translateX(5px);
}

.concern-tabs button.is-active {
  border-color: var(--wine);
  background: var(--wine);
  color: white;
}

.concern-tabs button > span {
  color: var(--wine);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.15em;
}

.concern-tabs button.is-active > span,
.concern-tabs button.is-active svg {
  color: var(--lime);
}

.concern-tabs button strong {
  font-size: 13px;
}

.concern-result {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  padding: clamp(35px, 5vw, 70px);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 15%, rgba(201, 232, 74, 0.36), transparent 27%),
    linear-gradient(135deg, var(--lavender), #f6f4fa);
  animation: panelIn 420ms ease both;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
}

.concern-result h3 {
  max-width: 760px;
  margin: 0 0 17px;
  font-family: var(--serif);
  font-size: clamp(32px, 4.1vw, 60px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.concern-result > p:not(.eyebrow) {
  max-width: 670px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 25px 0 30px;
}

.tag-row span {
  padding: 9px 13px;
  border: 1px solid rgba(100, 29, 59, 0.16);
  border-radius: 999px;
  background: rgba(250, 250, 247, 0.65);
  color: var(--wine);
  font-size: 9px;
  font-weight: 720;
}

.concern-pulse {
  position: absolute;
  top: 35px;
  right: 38px;
  width: 105px;
  height: 105px;
  border: 1px solid rgba(100, 29, 59, 0.18);
  border-radius: 50%;
}

.concern-pulse::before,
.concern-pulse::after {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(100, 29, 59, 0.16);
  border-radius: 50%;
  content: "";
  animation: concernPulse 2.6s ease-out infinite;
}

.concern-pulse::after {
  animation-delay: 1.3s;
}

.concern-pulse i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--wine);
  transform: translate(-50%, -50%);
}

@keyframes concernPulse {
  to {
    inset: -20px;
    opacity: 0;
  }
}

/* Doctor editorial section */
.doctor-section {
  overflow: hidden;
  background: var(--paper-deep);
}

.doctor-backdrop {
  position: absolute;
  top: 3%;
  left: -1vw;
  color: rgba(100, 29, 59, 0.045);
  font-family: var(--serif);
  font-size: clamp(100px, 17vw, 300px);
  letter-spacing: -0.07em;
  line-height: 0.75;
  white-space: nowrap;
}

.doctor-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(55px, 9vw, 150px);
}

.doctor-portrait-column {
  position: relative;
  padding: 24px 0 0 24px;
}

.doctor-portrait-column::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 62%;
  height: 64%;
  border: 1px solid var(--wine);
  content: "";
}

.doctor-image-main {
  position: relative;
  aspect-ratio: 0.75;
  overflow: hidden;
  border-radius: 3px 55px 3px 3px;
  background: var(--sage);
  box-shadow: 0 34px 70px rgba(28, 29, 33, 0.16);
}

.doctor-image-main img {
  object-fit: cover;
}

.image-caption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 14px;
  background: rgba(250, 250, 247, 0.88);
  backdrop-filter: blur(15px);
}

.image-caption small {
  color: var(--wine);
  font-size: 8px;
  line-height: 1.4;
}

.image-caption strong {
  font-size: 8px;
  letter-spacing: 0.06em;
}

.doctor-image-note {
  position: absolute;
  right: -35px;
  bottom: 40px;
  display: flex;
  width: 170px;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--lime);
  box-shadow: 0 18px 40px rgba(28, 29, 33, 0.15);
}

.doctor-image-note span {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 26px;
}

.doctor-image-note p {
  margin: 0;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.4;
}

.doctor-copy h2 {
  margin-bottom: 27px;
}

.doctor-copy h2 em {
  display: block;
  color: var(--wine);
  font-weight: 400;
}

.doctor-lead {
  color: var(--ink) !important;
  font-size: clamp(18px, 2vw, 25px) !important;
  line-height: 1.55 !important;
}

.doctor-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 0 19px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}

.doctor-copy blockquote {
  max-width: 700px;
  margin: 30px 0;
  padding: 4px 0 4px 27px;
  border-left: 2px solid var(--lime-dark);
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(23px, 2.5vw, 34px);
  font-style: italic;
  line-height: 1.25;
}

.doctor-focus {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 27px 0 32px;
}

.doctor-focus span {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 9px;
  font-weight: 680;
  line-height: 1.4;
}

.doctor-focus svg {
  flex: 0 0 15px;
  color: var(--wine);
}

.doctor-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

.doctor-filmstrip {
  display: flex;
  width: max-content;
  gap: 12px;
  margin-top: clamp(75px, 9vw, 130px);
  animation: filmstrip 35s linear infinite;
}

.doctor-filmstrip:hover {
  animation-play-state: paused;
}

@keyframes filmstrip {
  to {
    transform: translateX(calc(-50% - 6px));
  }
}

.doctor-filmstrip figure {
  position: relative;
  width: clamp(200px, 20vw, 340px);
  aspect-ratio: 1.35;
  overflow: hidden;
  flex: 0 0 auto;
  margin: 0;
  border-radius: 15px;
}

.doctor-filmstrip img {
  object-fit: cover;
  transition: transform 500ms ease;
}

.doctor-filmstrip figure:hover img {
  transform: scale(1.06);
}

.doctor-filmstrip figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(250, 250, 247, 0.88);
  color: var(--wine);
  font-size: 7px;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Evidence */
.evidence-section {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(100, 29, 59, 0.96), rgba(53, 16, 31, 1)),
    var(--wine-dark);
  color: white;
}

.evidence-section::before {
  position: absolute;
  top: -280px;
  right: -180px;
  width: 650px;
  height: 650px;
  border: 1px solid rgba(201, 232, 74, 0.16);
  border-radius: 50%;
  content: "";
}

.evidence-heading {
  max-width: 920px;
}

.evidence-heading .eyebrow {
  color: var(--lime);
}

.evidence-stage {
  display: grid;
  grid-template-columns: 0.62fr minmax(0, 1.55fr);
  gap: 16px;
}

.evidence-tabs {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 10px;
}

.evidence-tabs button {
  display: grid;
  min-height: 98px;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: white;
  text-align: left;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.evidence-tabs button:hover {
  transform: translateX(4px);
}

.evidence-tabs button.is-active {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.evidence-tabs button strong {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.evidence-tabs button span {
  font-size: 9px;
  font-weight: 690;
  line-height: 1.4;
}

.evidence-display {
  display: grid;
  min-height: 415px;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.96fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 22px;
  background: rgba(18, 11, 15, 0.22);
  animation: evidenceIn 420ms ease both;
}

@keyframes evidenceIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.evidence-image {
  position: relative;
  min-height: 380px;
  overflow: hidden;
}

.evidence-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(53, 16, 31, 0.76));
  content: "";
}

.evidence-image img {
  object-fit: cover;
}

.evidence-scanline {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  box-shadow: 0 0 20px var(--lime);
  animation: scanline 4s ease-in-out infinite;
}

@keyframes scanline {
  0%,
  100% {
    top: 8%;
    opacity: 0;
  }
  20%,
  80% {
    opacity: 0.85;
  }
  50% {
    top: 92%;
  }
}

.evidence-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(35px, 4.5vw, 68px);
}

.evidence-number {
  margin-bottom: 22px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.18em;
}

.evidence-copy h3 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.evidence-copy p {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.8;
}

/* Care pathways */
.care-section {
  background:
    radial-gradient(circle at 10% 90%, rgba(168, 184, 173, 0.24), transparent 23%),
    var(--paper);
}

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

.pathway-card,
.principle-card,
.knowledge-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --glow-x: 50%;
  --glow-y: 50%;
  transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition:
    transform 180ms ease,
    box-shadow 250ms ease;
}

.pathway-card {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255, 255, 255, 0.72), transparent 34%),
    var(--paper-deep);
  cursor: pointer;
}

.pathway-card::before {
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(28, 29, 33, 0.12);
  border-radius: 50%;
  content: "";
  transition:
    transform 400ms ease,
    background 300ms ease;
}

.pathway-card.is-active::before,
.pathway-card:hover::before {
  background: rgba(201, 232, 74, 0.36);
  transform: scale(1.18);
}

.pathway-hip {
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255, 255, 255, 0.74), transparent 32%),
    var(--lavender);
}

.pathway-sports {
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255, 255, 255, 0.67), transparent 32%),
    var(--sage);
}

.pathway-card.is-active {
  border-color: var(--wine);
  box-shadow: 0 30px 70px rgba(28, 29, 33, 0.14);
}

.pathway-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 70px;
}

.pathway-top > span {
  color: var(--wine);
  font-size: 9px;
  font-weight: 780;
  letter-spacing: 0.18em;
}

.pathway-top svg {
  width: 32px;
  height: 32px;
  color: var(--wine);
  stroke-width: 1.25;
}

.pathway-card h3 {
  margin: 0 0 9px;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.pathway-card > p {
  margin: 0 0 30px;
  color: var(--ink-soft);
  font-size: 11px;
}

.pathway-card ul {
  display: grid;
  gap: 0;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.pathway-card li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(28, 29, 33, 0.1);
  font-size: 10px;
  line-height: 1.4;
}

.pathway-card li svg {
  flex: 0 0 13px;
  color: var(--wine);
}

.pathway-card > a {
  position: absolute;
  right: 31px;
  bottom: 28px;
  left: 31px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--wine);
  font-size: 10px;
  font-weight: 740;
}

/* Anatomy */
.anatomy-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 46%, rgba(100, 29, 59, 0.45), transparent 27%),
    #18181c;
  color: white;
}

.anatomy-section::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  content: "";
  mask-image: radial-gradient(circle at 70% 50%, black, transparent 65%);
}

.anatomy-glow {
  position: absolute;
  top: 10%;
  right: 8%;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(201, 232, 74, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(201, 232, 74, 0.018),
    0 0 0 160px rgba(201, 232, 74, 0.012);
}

.anatomy-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.84fr) minmax(0, 1.16fr);
  align-items: center;
  gap: clamp(42px, 7vw, 120px);
}

.anatomy-copy h2 {
  margin-bottom: 25px;
}

.anatomy-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.63);
  font-size: 13px;
  line-height: 1.85;
}

.anatomy-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 30px 0;
}

.anatomy-selector button {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 13px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.75);
  font-size: 9px;
  text-align: left;
  transition:
    background 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
}

.anatomy-selector button span {
  color: var(--lime);
  font-size: 7px;
  letter-spacing: 0.14em;
}

.anatomy-selector button.is-active {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.anatomy-selector button.is-active span {
  color: var(--wine);
}

.anatomy-detail {
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.045);
  animation: evidenceIn 380ms ease both;
}

.anatomy-detail > small {
  color: var(--lime);
  font-size: 7px;
  font-weight: 760;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.anatomy-detail h3 {
  margin: 9px 0 11px;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
}

.anatomy-detail > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  line-height: 1.75;
}

.dark-tags {
  margin: 18px 0 21px;
}

.dark-tags span {
  border-color: rgba(201, 232, 74, 0.18);
  background: rgba(201, 232, 74, 0.07);
  color: var(--lime);
}

.anatomy-visual {
  --scan-x: 53%;
  --scan-y: 52%;
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50% 50% 24px 24px;
  background:
    radial-gradient(circle at 50% 46%, rgba(236, 232, 245, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.025);
  cursor: crosshair;
}

.anatomy-base {
  position: absolute;
  inset: 3%;
}

.anatomy-base img {
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
}

.anatomy-reveal {
  position: absolute;
  top: var(--scan-y);
  left: var(--scan-x);
  width: 210px;
  height: 210px;
  overflow: hidden;
  border: 1px solid rgba(201, 232, 74, 0.85);
  border-radius: 50%;
  background: rgba(28, 29, 33, 0.82);
  box-shadow:
    0 0 0 8px rgba(201, 232, 74, 0.04),
    0 20px 55px rgba(0, 0, 0, 0.38);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.anatomy-reveal img {
  padding: 30px;
  object-fit: contain;
}

.anatomy-scanner {
  position: absolute;
  top: var(--scan-y);
  left: var(--scan-x);
  width: 234px;
  height: 234px;
  border: 1px dashed rgba(201, 232, 74, 0.36);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: scannerSpin 12s linear infinite;
}

.anatomy-scanner span {
  position: absolute;
  top: 50%;
  right: -16px;
  padding: 5px 7px;
  border-radius: 5px;
  background: var(--lime);
  color: var(--ink);
  font-size: 6px;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@keyframes scannerSpin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.hotspot {
  position: absolute;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  background: transparent;
  color: white;
  transform: translate(-50%, -50%);
}

.hotspot i {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: var(--wine);
  transition:
    background 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}

.hotspot i::after {
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  content: "";
  animation: hotspotPulse 2.2s ease-out infinite;
}

@keyframes hotspotPulse {
  to {
    inset: -17px;
    opacity: 0;
  }
}

.hotspot span {
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(28, 29, 33, 0.8);
  font-size: 7px;
  font-weight: 720;
  white-space: nowrap;
  opacity: 0.72;
}

.hotspot:hover i,
.hotspot.is-active i {
  background: var(--lime);
  box-shadow: 0 0 20px rgba(201, 232, 74, 0.65);
  transform: scale(1.25);
}

.hotspot.is-active span {
  background: var(--lime);
  color: var(--ink);
  opacity: 1;
}

.anatomy-disclaimer {
  position: absolute;
  right: 18px;
  bottom: 13px;
  margin: 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 7px;
}

/* Treatments */
.treatments-section {
  background: var(--paper-deep);
}

.treatment-stage {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
  gap: 14px;
}

.treatment-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.treatment-list button {
  display: grid;
  min-height: 98px;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 17px;
  padding: 15px 19px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(250, 250, 247, 0.58);
  color: var(--ink);
  text-align: left;
  transition:
    background 200ms ease,
    border-color 200ms ease,
    color 200ms ease,
    transform 200ms ease;
}

.treatment-list button:hover {
  transform: translateX(4px);
}

.treatment-list button.is-active {
  border-color: var(--wine);
  background: var(--wine);
  color: white;
}

.treatment-list button > span {
  color: var(--wine);
  font-size: 8px;
  font-weight: 770;
}

.treatment-list button.is-active > span,
.treatment-list button.is-active > svg {
  color: var(--lime);
}

.treatment-list button strong {
  font-size: 11px;
  line-height: 1.4;
}

.treatment-display {
  position: relative;
  display: grid;
  min-height: 420px;
  grid-template-columns: 1.12fr 0.88fr;
  overflow: hidden;
  border-radius: 22px;
  background: var(--ink);
  color: white;
  animation: evidenceIn 430ms ease both;
}

.treatment-image {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.treatment-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 62%, var(--ink));
  content: "";
}

.treatment-image img {
  object-fit: cover;
}

.treatment-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 4.5vw, 65px);
}

.treatment-copy > span {
  color: var(--lime);
  font-size: 8px;
  font-weight: 780;
  letter-spacing: 0.16em;
}

.treatment-copy h3 {
  margin: 17px 0;
  font-family: var(--serif);
  font-size: clamp(33px, 4vw, 55px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.treatment-copy p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  line-height: 1.78;
}

.treatment-copy .button {
  align-self: flex-start;
}

/* Principles */
.why-section {
  background: var(--paper);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}

.principle-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(201, 232, 74, 0.2), transparent 35%),
    var(--paper-deep);
}

.principle-2 {
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255, 255, 255, 0.55), transparent 35%),
    var(--sage);
}

.principle-3 {
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255, 255, 255, 0.48), transparent 35%),
    var(--lavender);
}

.principle-4 {
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(201, 232, 74, 0.17), transparent 35%),
    var(--wine);
  color: white;
}

.principle-card > span {
  color: var(--wine);
  font-size: 8px;
  font-weight: 780;
  letter-spacing: 0.17em;
}

.principle-4 > span {
  color: var(--lime);
}

.principle-card h3 {
  max-width: 230px;
  margin: 95px 0 15px;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 43px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.principle-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.7;
}

.principle-4 p {
  color: rgba(255, 255, 255, 0.65);
}

.principle-card i {
  position: absolute;
  top: 30px;
  right: 28px;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(100, 29, 59, 0.2);
  border-radius: 50%;
}

.principle-card i::before,
.principle-card i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--wine);
  content: "";
  transform: translate(-50%, -50%);
}

.principle-card i::before {
  width: 27px;
  height: 1px;
}

.principle-card i::after {
  width: 1px;
  height: 27px;
}

.principle-4 i {
  border-color: rgba(201, 232, 74, 0.35);
}

.principle-4 i::before,
.principle-4 i::after {
  background: var(--lime);
}

/* Reviews */
.reviews-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 24%, rgba(236, 232, 245, 0.2), transparent 24%),
    var(--wine-dark);
  color: white;
}

.reviews-section::after {
  position: absolute;
  right: -180px;
  bottom: -240px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(201, 232, 74, 0.12);
  border-radius: 50%;
  content: "";
}

.reviews-shell {
  display: grid;
  grid-template-columns: minmax(270px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(45px, 8vw, 130px);
}

.reviews-heading h2 {
  margin-bottom: 25px;
}

.reviews-heading > p {
  color: rgba(255, 255, 255, 0.6);
}

.review-stage {
  display: grid;
  min-height: 395px;
  grid-template-columns: 0.62fr 1.38fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  animation: evidenceIn 430ms ease both;
}

.review-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--lime);
  color: var(--ink);
}

.review-score > svg,
.review-score > span:not(.stars) {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 10px;
  border: 1px solid rgba(28, 29, 33, 0.2);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 21px;
}

.review-score > strong {
  font-family: var(--serif);
  font-size: clamp(58px, 6vw, 90px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.review-score .stars {
  color: var(--wine) !important;
}

.review-score small {
  font-size: 8px;
  font-weight: 780;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.review-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 5vw, 75px);
}

.quote-mark {
  position: absolute;
  top: 18px;
  right: 35px;
  color: rgba(201, 232, 74, 0.17);
  font-family: var(--serif);
  font-size: 170px;
  line-height: 1;
}

.review-copy blockquote {
  position: relative;
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(31px, 3.5vw, 50px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.review-copy > p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 9px;
}

.review-copy > a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--lime);
  font-size: 9px;
  font-weight: 730;
}

.review-controls {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-controls > button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: transparent;
  color: white;
}

.review-controls > div {
  display: flex;
  gap: 8px;
}

.review-controls > div button {
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.25);
  transition:
    width 200ms ease,
    background 200ms ease;
}

.review-controls > div button.is-active {
  width: 52px;
  background: var(--lime);
}

/* Journey */
.journey-section {
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(28, 29, 33, 0.045) 50%, transparent 50.1%),
    var(--paper);
}

.journey-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.journey-line {
  position: absolute;
  top: 29px;
  right: 9%;
  left: 9%;
  height: 1px;
  overflow: hidden;
  background: rgba(100, 29, 59, 0.18);
}

.journey-line i {
  display: block;
  width: 42%;
  height: 100%;
  background: var(--wine);
  animation: journeyProgress 4.6s ease-in-out infinite alternate;
}

@keyframes journeyProgress {
  to {
    width: 100%;
  }
}

.journey-track article {
  position: relative;
  padding: 0 18px;
  text-align: center;
}

.journey-track article > span {
  position: relative;
  z-index: 2;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin: 0 auto 35px;
  border: 1px solid rgba(100, 29, 59, 0.25);
  border-radius: 50%;
  background: var(--paper);
  color: var(--wine);
  font-size: 8px;
  font-weight: 780;
  transition:
    background 200ms ease,
    color 200ms ease,
    transform 200ms ease;
}

.journey-track article:hover > span {
  background: var(--lime);
  color: var(--ink);
  transform: scale(1.08);
}

.journey-track h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
}

.journey-track p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.7;
}

.journey-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 70px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--lavender);
}

.journey-cta > div {
  display: flex;
  align-items: center;
  gap: 17px;
}

.journey-cta > div > svg {
  width: 28px;
  height: 28px;
  color: var(--wine);
}

.journey-cta > div > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.journey-cta small {
  color: var(--wine);
  font-size: 7px;
  font-weight: 780;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.journey-cta strong {
  font-size: 12px;
}

/* Knowledge */
.knowledge-section {
  background: var(--paper-deep);
}

.knowledge-heading {
  max-width: 970px;
}

.knowledge-heading > p {
  max-width: 690px;
  margin-top: 26px;
}

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

.knowledge-card {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(201, 232, 74, 0.22), transparent 35%),
    var(--paper);
}

.knowledge-card.card-2 {
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255, 255, 255, 0.55), transparent 35%),
    var(--sage);
}

.knowledge-card.card-3 {
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255, 255, 255, 0.44), transparent 35%),
    var(--lavender);
}

.knowledge-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 65px;
  border: 1px solid rgba(100, 29, 59, 0.22);
  border-radius: 50%;
  color: var(--wine);
}

.knowledge-icon svg {
  width: 22px;
  height: 22px;
}

.knowledge-card h3 {
  margin: 0 0 15px;
  font-family: var(--serif);
  font-size: clamp(29px, 3.1vw, 44px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.knowledge-card > p:not(.eyebrow) {
  margin: 0 0 27px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.7;
}

.knowledge-card > a {
  position: absolute;
  right: 30px;
  bottom: 27px;
  left: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--wine);
  font-size: 9px;
  font-weight: 740;
}

.media-feature {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  overflow: hidden;
  margin-top: 60px;
  border-radius: 23px;
  background: var(--ink);
  color: white;
}

.media-feature-image {
  position: relative;
  min-height: 470px;
}

.media-feature-image img {
  object-fit: cover;
}

.media-feature-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 65%, var(--ink));
  content: "";
}

.media-feature-image button {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  left: 28px;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 15px 35px rgba(28, 29, 33, 0.22);
}

.media-feature-image button svg {
  width: 18px;
  height: 18px;
  margin-left: 3px;
  fill: currentColor;
}

.media-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 5vw, 78px);
}

.media-feature-copy .eyebrow {
  color: var(--lime);
}

.media-feature-copy h3 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.media-feature-copy > p:not(.eyebrow) {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  line-height: 1.8;
}

/* FAQ */
.faq-section {
  background: var(--paper);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(55px, 9vw, 145px);
}

.faq-intro {
  position: sticky;
  top: 130px;
}

.faq-intro h2 {
  margin-bottom: 25px;
}

.faq-intro > p {
  margin-bottom: 30px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list article {
  border-bottom: 1px solid var(--line);
}

.faq-list article > button {
  display: grid;
  width: 100%;
  min-height: 90px;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.faq-list article > button span {
  color: var(--wine);
  font-size: 8px;
  font-weight: 780;
}

.faq-list article > button strong {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.25;
}

.faq-list article > button svg {
  width: 20px;
  height: 20px;
  color: var(--wine);
  transition: transform 250ms ease;
}

.faq-list article.is-open > button svg {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 350ms ease;
}

.faq-list article.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer p {
  overflow: hidden;
  margin: 0;
  padding: 0 55px 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.8;
  opacity: 0;
  transition:
    padding 350ms ease,
    opacity 250ms ease;
}

.faq-list article.is-open .faq-answer p {
  padding-bottom: 28px;
  opacity: 1;
}

/* Contact and map */
.contact-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 90%, rgba(201, 232, 74, 0.13), transparent 28%),
    var(--wine-dark);
  color: white;
}

.contact-section::before {
  position: absolute;
  top: -200px;
  left: 45%;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(55px, 9vw, 145px);
}

.contact-copy h2 {
  margin-bottom: 25px;
}

.contact-copy > p {
  color: rgba(255, 255, 255, 0.63);
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 36px;
}

.contact-methods > a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  transition:
    background 200ms ease,
    border-color 200ms ease,
    transform 200ms ease;
}

.contact-methods > a:hover {
  border-color: rgba(201, 232, 74, 0.42);
  background: rgba(255, 255, 255, 0.07);
  transform: translateX(5px);
}

.contact-methods > a > span:first-child {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
}

.contact-methods > a > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.contact-methods small {
  color: rgba(255, 255, 255, 0.45);
  font-size: 7px;
  font-weight: 780;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-methods strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
}

.enquiry-form {
  padding: clamp(28px, 4.5vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.2);
  color: var(--ink);
}

.form-head {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 30px;
}

.form-head > span {
  display: grid;
  width: 51px;
  height: 51px;
  place-items: center;
  border-radius: 50%;
  background: var(--wine);
  color: var(--lime);
  font-size: 8px;
  font-weight: 780;
}

.form-head > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.form-head small {
  color: var(--wine);
  font-size: 7px;
  font-weight: 780;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-head h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.enquiry-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 13px;
}

.enquiry-form label > span {
  color: var(--wine);
  font-size: 8px;
  font-weight: 730;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  border: 1px solid rgba(28, 29, 33, 0.16);
  border-radius: 10px;
  outline: 0;
  background: white;
  color: var(--ink);
  font-size: 12px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.enquiry-form input,
.enquiry-form select {
  height: 51px;
  padding: 0 14px;
}

.enquiry-form textarea {
  resize: vertical;
  padding: 14px;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(100, 29, 59, 0.08);
}

.enquiry-form textarea::placeholder {
  color: rgba(28, 29, 33, 0.35);
}

.enquiry-form .button {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  display: block;
  margin-top: 14px;
  color: rgba(28, 29, 33, 0.52);
  font-size: 7.5px;
  line-height: 1.6;
}

.location-section {
  position: relative;
  padding: 0;
  background: var(--wine-dark);
}

.location-card {
  display: grid;
  min-height: 480px;
  grid-template-columns: minmax(320px, 0.74fr) minmax(0, 1.26fr);
  overflow: hidden;
  background: var(--lavender);
}

.location-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 7vw, 100px);
}

.location-copy h2 {
  font-size: clamp(40px, 4.5vw, 65px);
}

.location-copy > p:not(.eyebrow) {
  max-width: 420px;
  margin: 20px 0 29px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.8;
}

.location-copy > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.location-copy a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--wine);
  font-size: 9px;
  font-weight: 740;
}

.location-card iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
  filter: saturate(0.65) contrast(1.02);
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 8vw, 120px) 0 22px;
  background: #121216;
  color: white;
}

.footer-orbit {
  position: absolute;
  border: 1px solid rgba(201, 232, 74, 0.09);
  border-radius: 50%;
}

.orbit-one {
  top: -260px;
  left: -210px;
  width: 620px;
  height: 620px;
}

.orbit-two {
  right: -120px;
  bottom: -250px;
  width: 480px;
  height: 480px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.62fr 0.62fr 1fr;
  gap: clamp(35px, 6vw, 90px);
}

.brand-light .brand-monogram {
  background: var(--lime);
  color: var(--ink);
}

.brand-light .brand-copy small {
  color: rgba(255, 255, 255, 0.48);
}

.footer-brand > p {
  max-width: 410px;
  margin: 27px 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 11px;
  line-height: 1.8;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.footer-socials a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: white;
  transition:
    background 200ms ease,
    color 200ms ease,
    transform 200ms ease;
}

.footer-socials a:hover {
  background: var(--lime);
  color: var(--ink);
  transform: translateY(-4px);
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-links h3,
.footer-contact h3 {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 9px;
  font-weight: 780;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: white;
}

.footer-contact > a:not(.footer-book) {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  line-height: 1.55;
}

.footer-contact > a svg {
  flex: 0 0 14px;
  color: var(--lime);
}

.footer-contact > a span {
  white-space: pre-line;
}

.footer-book {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: 20px;
  margin-top: 12px;
  padding: 0 17px;
  border-radius: 11px;
  background: var(--wine);
  color: white !important;
  font-size: 9px !important;
  font-weight: 730;
}

.footer-bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 25px;
  margin-top: 65px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.34);
  font-size: 7px;
  line-height: 1.5;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p:nth-child(2) {
  text-align: center;
}

.whatsapp-float {
  --mag-x: 0px;
  --mag-y: 0px;
  position: fixed;
  z-index: 150;
  right: 24px;
  bottom: 24px;
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: #1eaa61;
  box-shadow: 0 18px 45px rgba(28, 29, 33, 0.22);
  color: white;
  font-size: 9px;
  font-weight: 750;
  transform: translate(var(--mag-x), var(--mag-y));
  transition:
    transform 160ms ease,
    background 200ms ease;
}

.whatsapp-float:hover {
  background: #159052;
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
}

.whatsapp-float i {
  position: absolute;
  top: 1px;
  right: 2px;
  width: 9px;
  height: 9px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--lime);
}

/* RTL */
.site.is-arabic .site-header {
  padding: 9px 22px 9px 11px;
}

.site.is-arabic .hero-shade {
  transform: scaleX(-1);
}

.site.is-arabic .hero-content {
  margin-right: 0;
  margin-left: auto;
}

.site.is-arabic .line-two {
  padding-right: clamp(55px, 7vw, 130px);
  padding-left: 0;
}

.site.is-arabic .eyebrow {
  letter-spacing: 0;
}

.site.is-arabic .mega-visual > span {
  right: 28px;
  left: auto;
}

.site.is-arabic .mobile-menu-head small,
.site.is-arabic .mobile-nav-group > button,
.site.is-arabic .treatment-list button,
.site.is-arabic .faq-list article > button {
  text-align: right;
}

.site.is-arabic .mobile-nav-group.is-open .mobile-submenu {
  padding-right: 48px;
  padding-left: 0;
}

.site.is-arabic .doctor-copy blockquote {
  padding-right: 27px;
  padding-left: 0;
  border-right: 2px solid var(--lime-dark);
  border-left: 0;
}

.site.is-arabic .hero-runner {
  right: auto;
  left: clamp(7vw, 12vw, 15vw);
  transform: scaleX(-1) translate3d(calc(var(--parallax-x) * -0.45), calc(var(--runner-shift) + var(--parallax-y) * -0.45), 0);
}

.site.is-arabic .float-one {
  right: auto;
  left: 4vw;
}

.site.is-arabic .float-two {
  right: auto;
  left: 26vw;
}

.site.is-arabic .whatsapp-float {
  right: auto;
  left: 24px;
}

.site.is-arabic .contact-methods > a:hover,
.site.is-arabic .evidence-tabs button:hover,
.site.is-arabic .treatment-list button:hover,
.site.is-arabic .concern-tabs button:hover {
  transform: translateX(-5px);
}

/* Responsive */
@media (pointer: fine) {
  .cursor-dot,
  .cursor-ring {
    opacity: 1;
  }
}

@media (max-width: 1320px) {
  .site-header {
    grid-template-columns: minmax(190px, 0.84fr) auto minmax(185px, 0.72fr);
  }

  .desktop-nav {
    gap: 9px;
  }

  .nav-link {
    font-size: 9.5px;
  }

  .header-cta {
    padding: 0 16px;
  }

  .hero-runner {
    right: 7vw;
    width: 39vw;
  }

  .float-one {
    right: 1.5vw;
  }

  .float-two {
    right: 27vw;
  }
}

@media (max-width: 1140px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .header-actions {
    gap: 5px;
  }

  .hero-content {
    width: min(64vw, 760px);
  }

  .hero h1 {
    font-size: clamp(74px, 10vw, 120px);
  }

  .hero-runner {
    right: 1vw;
    width: 45vw;
  }

  .float-one {
    display: none;
  }

  .doctor-grid {
    gap: 70px;
  }

  .evidence-stage {
    grid-template-columns: 0.75fr 1.25fr;
  }

  .evidence-display,
  .treatment-display {
    grid-template-columns: 1fr;
  }

  .evidence-image,
  .treatment-image {
    min-height: 270px;
  }

  .evidence-image::after,
  .treatment-image::after {
    background: linear-gradient(0deg, var(--wine-dark), transparent 55%);
  }

  .treatment-image::after {
    background: linear-gradient(0deg, var(--ink), transparent 55%);
  }

  .principle-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .section-shell {
    width: min(90vw, 720px);
  }

  .split-heading,
  .doctor-grid,
  .anatomy-grid,
  .reviews-shell,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split-heading {
    gap: 22px;
  }

  .hero {
    min-height: 900px;
    align-items: flex-start;
    padding-top: 180px;
  }

  .hero-content {
    width: 84%;
  }

  .hero-runner {
    top: 270px;
    right: -7vw;
    width: 53vw;
    height: 680px;
  }

  .hero-proof {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-proof > a {
    display: none;
  }

  .float-two {
    right: 34vw;
    bottom: 18%;
  }

  .concern-layout {
    grid-template-columns: 1fr;
  }

  .concern-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .doctor-portrait-column {
    width: min(86%, 520px);
    margin: 0 auto;
  }

  .doctor-copy {
    max-width: 720px;
  }

  .evidence-stage {
    grid-template-columns: 1fr;
  }

  .evidence-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .evidence-display {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .pathway-grid {
    grid-template-columns: 1fr;
  }

  .pathway-card {
    min-height: 450px;
  }

  .anatomy-visual {
    min-height: 680px;
  }

  .treatment-stage {
    grid-template-columns: 1fr;
  }

  .treatment-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .review-controls {
    grid-column: 1;
  }

  .journey-track {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .journey-line {
    top: 5%;
    bottom: 5%;
    left: 28px;
    width: 1px;
    height: auto;
  }

  .journey-line i {
    width: 100%;
    height: 42%;
    animation: journeyProgressVertical 4.6s ease-in-out infinite alternate;
  }

  @keyframes journeyProgressVertical {
    to {
      height: 100%;
    }
  }

  .journey-track article {
    display: grid;
    grid-template-columns: 58px 0.45fr 1fr;
    align-items: center;
    gap: 22px;
    padding: 4px 0;
    text-align: left;
  }

  .journey-track article > span {
    margin: 0;
  }

  .journey-track h3,
  .journey-track p {
    margin: 0;
  }

  .knowledge-grid {
    grid-template-columns: 1fr;
  }

  .knowledge-card {
    min-height: 330px;
  }

  .knowledge-icon {
    margin-bottom: 40px;
  }

  .media-feature {
    grid-template-columns: 1fr;
  }

  .media-feature-image {
    min-height: 390px;
  }

  .media-feature-image::after {
    background: linear-gradient(0deg, var(--ink), transparent 55%);
  }

  .faq-intro {
    position: static;
  }

  .contact-grid {
    gap: 55px;
  }

  .location-card {
    grid-template-columns: 1fr;
  }

  .location-card iframe {
    min-height: 420px;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }

  .footer-contact h3 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 82px;
  }

  section[id] {
    scroll-margin-top: 82px;
  }

  .section {
    padding: 78px 0;
  }

  .section-shell {
    width: 89vw;
  }

  .section-heading h2,
  .doctor-copy h2,
  .anatomy-copy h2,
  .reviews-heading h2,
  .faq-intro h2,
  .contact-copy h2 {
    font-size: clamp(41px, 13vw, 58px);
  }

  .site-header,
  .site-header.is-scrolled {
    top: 10px;
    width: 94vw;
    min-height: 66px;
    padding: 7px 8px 7px 13px;
    border-radius: 17px;
  }

  .brand {
    gap: 9px;
  }

  .brand-monogram {
    flex-basis: 43px;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    font-size: 18px;
  }

  .brand-copy strong {
    max-width: 175px;
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .brand-copy small {
    font-size: 6.5px;
  }

  .header-cta,
  .language-switch {
    display: none;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
  }

  .mobile-menu {
    padding: 92px 5.5vw 18px;
  }

  .mobile-menu-head span {
    font-size: 28px;
  }

  .mobile-nav-group > button {
    min-height: 57px;
  }

  .mobile-nav-group > button strong {
    font-size: 20px;
  }

  .mobile-nav-group.is-open .mobile-submenu {
    padding-left: 35px;
  }

  .site.is-arabic .mobile-nav-group.is-open .mobile-submenu {
    padding-right: 35px;
  }

  .mobile-book {
    min-height: 55px;
  }

  .hero {
    min-height: 830px;
    padding: 125px 5.5vw 120px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(41, 17, 27, 0.89) 0%, rgba(51, 24, 34, 0.66) 48%, rgba(25, 18, 21, 0.72) 100%),
      linear-gradient(90deg, rgba(40, 17, 28, 0.65), transparent);
  }

  .hero-grid {
    opacity: 0.18;
  }

  .hero-content {
    width: 100%;
    padding-top: 0;
  }

  .hero-eyebrow {
    max-width: 70%;
    font-size: 8px;
  }

  .hero h1 {
    font-size: clamp(62px, 20vw, 91px);
    line-height: 0.82;
  }

  .line-two {
    padding-left: 23px;
  }

  .site.is-arabic .line-two {
    padding-right: 23px;
  }

  .hero-intro {
    max-width: 88%;
    font-size: 13px;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 24px;
  }

  .hero-actions .button {
    min-width: 230px;
    min-height: 53px;
  }

  .hero-runner {
    z-index: 18;
    top: 355px;
    right: -11vw;
    width: 67vw;
    height: 510px;
    opacity: 0.92;
  }

  .site.is-arabic .hero-runner {
    right: auto;
    left: -11vw;
  }

  .float-two {
    right: auto;
    bottom: 129px;
    left: 6vw;
    min-width: 170px;
  }

  .site.is-arabic .float-two {
    right: 6vw;
    left: auto;
  }

  .hero-proof {
    right: 0;
    left: 0;
    min-height: 91px;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-proof > div {
    flex-direction: column;
    gap: 2px;
    padding: 12px 7px;
    text-align: center;
  }

  .hero-proof strong {
    font-size: 30px;
  }

  .hero-proof span {
    align-items: center;
    font-size: 6px;
  }

  .hero-scroll-cue {
    display: none;
  }

  .hero-anatomy-lens {
    display: none;
  }

  .hero-runner::after {
    position: absolute;
    right: 25%;
    bottom: 22%;
    width: 62px;
    height: 62px;
    border: 1px solid var(--lime);
    border-radius: 50%;
    box-shadow: 0 0 0 9px rgba(201, 232, 74, 0.08);
    content: "";
    animation: mobileKneePulse 2s ease-out infinite;
  }

  @keyframes mobileKneePulse {
    to {
      box-shadow: 0 0 0 24px rgba(201, 232, 74, 0);
    }
  }

  .concern-tabs {
    grid-template-columns: 1fr;
  }

  .concern-tabs button {
    min-height: 65px;
  }

  .concern-result {
    min-height: 390px;
    padding: 31px 25px;
  }

  .concern-result h3 {
    font-size: 37px;
  }

  .concern-pulse {
    top: auto;
    right: 24px;
    bottom: 24px;
    width: 76px;
    height: 76px;
  }

  .doctor-backdrop {
    top: 1%;
    font-size: 27vw;
  }

  .doctor-portrait-column {
    width: 100%;
    padding: 15px 0 0 15px;
  }

  .doctor-image-main {
    border-radius: 2px 38px 2px 2px;
  }

  .doctor-image-note {
    right: -8px;
    bottom: 30px;
  }

  .image-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .doctor-copy blockquote {
    font-size: 25px;
  }

  .doctor-focus {
    grid-template-columns: 1fr;
  }

  .doctor-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .doctor-filmstrip {
    margin-top: 65px;
  }

  .doctor-filmstrip figure {
    width: 230px;
  }

  .evidence-tabs {
    grid-template-columns: 1fr;
  }

  .evidence-tabs button {
    min-height: 78px;
    grid-template-columns: 88px 1fr;
  }

  .evidence-display {
    grid-template-columns: 1fr;
  }

  .evidence-image {
    min-height: 310px;
  }

  .evidence-copy {
    padding: 32px 25px 38px;
  }

  .pathway-card {
    min-height: 475px;
    padding: 25px;
  }

  .pathway-top {
    margin-bottom: 55px;
  }

  .anatomy-selector {
    grid-template-columns: 1fr;
  }

  .anatomy-visual {
    min-height: 560px;
    border-radius: 160px 160px 22px 22px;
  }

  .anatomy-reveal {
    width: 145px;
    height: 145px;
  }

  .anatomy-scanner {
    width: 166px;
    height: 166px;
  }

  .hotspot span {
    display: none;
  }

  .hotspot.is-active span {
    display: block;
  }

  .treatment-list {
    grid-template-columns: 1fr;
  }

  .treatment-list button {
    min-height: 80px;
  }

  .treatment-display {
    grid-template-columns: 1fr;
  }

  .treatment-image {
    min-height: 290px;
  }

  .treatment-copy {
    padding: 31px 25px 38px;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .principle-card {
    min-height: 310px;
  }

  .principle-card h3 {
    margin-top: 75px;
  }

  .review-stage {
    grid-template-columns: 1fr;
  }

  .review-score {
    min-height: 185px;
    padding: 28px;
  }

  .review-score > svg,
  .review-score > span:not(.stars) {
    margin: 0;
  }

  .review-copy {
    min-height: 300px;
    padding: 37px 27px;
  }

  .review-copy blockquote {
    font-size: 31px;
  }

  .journey-track article {
    grid-template-columns: 58px 0.6fr 1fr;
    gap: 13px;
  }

  .journey-track h3 {
    font-size: 22px;
  }

  .journey-track p {
    font-size: 8px;
  }

  .journey-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .knowledge-card {
    min-height: 350px;
    padding: 25px;
  }

  .knowledge-card > a {
    right: 25px;
    left: 25px;
  }

  .media-feature-image {
    min-height: 300px;
  }

  .media-feature-copy {
    padding: 34px 25px 43px;
  }

  .faq-list article > button {
    min-height: 80px;
    grid-template-columns: 31px 1fr auto;
  }

  .faq-answer p {
    padding-left: 46px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .enquiry-form {
    padding: 26px 20px;
  }

  .location-copy {
    padding: 55px 5.5vw;
  }

  .location-card iframe {
    min-height: 350px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-contact {
    grid-column: 1 / -1;
    display: flex;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-bottom p:nth-child(2) {
    text-align: left;
  }

  .whatsapp-float {
    right: 15px;
    bottom: 15px;
    width: 57px;
    height: 57px;
    min-height: 0;
    justify-content: center;
    padding: 0;
  }

  .site.is-arabic .whatsapp-float {
    right: auto;
    left: 15px;
  }

  .whatsapp-float span {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Version 3 — compact editorial system, functional interaction and motion    */
/* -------------------------------------------------------------------------- */

.section {
  padding: clamp(48px, 4.4vw, 70px) 0;
}

.section-shell {
  width: min(calc(100% - 48px), 1280px);
}

.eyebrow {
  gap: 10px;
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.eyebrow::before {
  width: 28px;
}

.section-heading {
  margin-bottom: clamp(30px, 4vw, 50px);
}

.section-heading h2,
.doctor-copy h2,
.anatomy-copy h2,
.reviews-heading h2,
.faq-intro h2,
.contact-copy h2,
.location-copy h2 {
  font-size: clamp(37px, 3.9vw, 56px);
  letter-spacing: -0.046em;
  line-height: 1;
}

.split-heading {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.62fr);
  gap: clamp(36px, 6vw, 82px);
}

.split-heading > p,
.knowledge-heading > p,
.faq-intro > p,
.reviews-heading > p,
.contact-copy > p {
  font-size: 15px;
  line-height: 1.7;
}

.centered-heading {
  max-width: 790px;
  margin-bottom: 42px;
}

.button {
  min-height: 50px;
  padding: 0 22px;
  font-size: 13px;
}

/* Header */

.site-header {
  top: 18px;
  width: min(calc(100% - 48px), 1540px);
  min-height: 78px;
  grid-template-columns: minmax(290px, 0.95fr) auto minmax(215px, 0.72fr);
  padding: 9px 10px 9px 18px;
}

.site-header.is-scrolled {
  width: min(calc(100% - 64px), 1460px);
}

.brand-copy strong {
  font-size: 12px;
}

.brand-copy small {
  font-size: 8.5px;
}

.desktop-nav {
  gap: clamp(12px, 1.15vw, 22px);
}

.nav-link {
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
}

.nav-link svg {
  width: 13px;
  height: 13px;
}

.language-switch {
  min-width: 54px;
  font-size: 11.5px;
}

.header-cta {
  min-height: 58px;
  gap: 20px;
  padding: 0 22px;
  font-size: 12.5px;
}

.mega-links a strong {
  font-size: 12px;
}

.mega-links a small {
  font-size: 10px;
}

/* Rotating hero */

.hero {
  min-height: clamp(680px, 86svh, 800px);
  padding: 132px 6vw 96px;
}

.hero-scenes {
  position: absolute;
  z-index: -5;
  inset: 0;
  overflow: hidden;
}

.hero-scene {
  position: absolute;
  inset: -3%;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transform: translate3d(var(--parallax-x), calc(var(--hero-shift) + var(--parallax-y)), 0) scale(1.045);
  transition:
    opacity 1.15s ease,
    transform 300ms linear;
}

.hero-scene.is-active {
  opacity: 1;
  animation: heroSceneDrift 8s ease-out both;
}

@keyframes heroSceneDrift {
  from {
    transform: translate3d(var(--parallax-x), calc(var(--hero-shift) + var(--parallax-y)), 0) scale(1.075);
  }
  to {
    transform: translate3d(var(--parallax-x), calc(var(--hero-shift) + var(--parallax-y)), 0) scale(1.035);
  }
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(38, 13, 26, 0.94) 0%, rgba(49, 17, 31, 0.73) 37%, rgba(30, 20, 23, 0.2) 66%, rgba(22, 22, 24, 0.12) 100%),
    linear-gradient(0deg, rgba(19, 16, 18, 0.66) 0%, transparent 46%);
  transition: background 500ms ease;
}

.hero-content {
  width: min(52vw, 700px);
  padding-top: 10px;
}

.hero h1 {
  font-size: clamp(58px, 6.3vw, 98px);
  line-height: 0.82;
}

.line-two {
  padding-left: clamp(34px, 5vw, 84px);
}

.hero-intro {
  max-width: 610px;
  margin-top: 24px;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.65;
}

.hero-actions {
  margin-top: 28px;
}

.hero-runner {
  top: 50px;
  right: clamp(7vw, 11vw, 14vw);
  width: clamp(300px, 31vw, 510px);
  height: min(88vh, 780px);
  opacity: 0;
  transform: translate3d(calc(var(--parallax-x) * -0.45), calc(var(--runner-shift) + 20px), 0);
  transition:
    opacity 700ms ease,
    transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-runner.is-visible {
  opacity: 1;
  transform: translate3d(calc(var(--parallax-x) * -0.45), calc(var(--runner-shift) + var(--parallax-y) * -0.45), 0);
}

.hero-runner.is-hidden {
  opacity: 0;
  transform: translate3d(calc(var(--parallax-x) * -0.45), calc(var(--runner-shift) + 32px), 0);
}

.hero-scene-controls {
  position: absolute;
  z-index: 30;
  bottom: 24px;
  left: 6vw;
  display: flex;
  gap: 7px;
  margin-bottom: 10px;
}

.hero-scene-controls button {
  position: relative;
  display: grid;
  min-width: 112px;
  grid-template-columns: 19px 1fr;
  gap: 1px 8px;
  padding: 9px 12px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(24, 18, 21, 0.34);
  color: rgba(255, 255, 255, 0.62);
  text-align: left;
  backdrop-filter: blur(12px);
  transition:
    background 240ms ease,
    border-color 240ms ease,
    color 240ms ease,
    transform 240ms ease;
}

.hero-scene-controls button:hover,
.hero-scene-controls button.is-active {
  border-color: rgba(201, 232, 74, 0.6);
  background: rgba(53, 16, 31, 0.72);
  color: white;
  transform: translateY(-3px);
}

.hero-scene-controls button i {
  position: absolute;
  right: 8px;
  bottom: 5px;
  left: 8px;
  height: 2px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-scene-controls button.is-active i::after {
  display: block;
  height: 100%;
  background: var(--lime);
  content: "";
  animation: sceneProgress 6.2s linear;
}

@keyframes sceneProgress {
  from { width: 0; }
  to { width: 100%; }
}

.hero-scene-controls button > span {
  grid-row: 1 / 3;
  color: var(--lime);
  font-size: 9px;
  font-weight: 800;
}

.hero-scene-controls button strong {
  font-size: 10px;
  letter-spacing: 0.04em;
}

.hero-scroll-cue {
  bottom: 104px;
}

.hero-float,
.hero-proof,
.hero-anatomy-lens {
  display: none;
}

/* Premium proof ribbon */

.trust-ribbon {
  position: relative;
  z-index: 4;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 35%, rgba(201, 232, 74, 0.12), transparent 25%),
    linear-gradient(115deg, #2d0d1b, #51162f 48%, #271019);
  color: white;
}

.trust-ribbon::after {
  position: absolute;
  right: -80px;
  top: -210px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(201, 232, 74, 0.16);
  border-radius: 50%;
  content: "";
}

.trust-ribbon-grid {
  display: grid;
  min-height: 92px;
  grid-template-columns: 0.8fr 1.35fr 1fr 1.15fr 0.8fr;
}

.trust-ribbon-grid > article,
.trust-ribbon-grid > a {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
  padding: 14px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    background 220ms ease,
    transform 220ms ease;
}

.trust-ribbon-grid > :first-child {
  border-left: 0;
}

.trust-ribbon-grid > a:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-3px);
}

.trust-ribbon-grid > article > strong {
  color: var(--lime);
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.trust-ribbon-grid > article > span,
.trust-ribbon-grid > a > span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  line-height: 1.45;
}

.trust-ribbon-grid > a > svg,
.trust-ribbon-grid > a > .doctify-mark,
.trust-ribbon-grid > a > .trust-doctify-logo {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: var(--wine);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.trust-ribbon-grid > a > .trust-doctify-logo {
  padding: 6px;
  object-fit: contain;
}

.trust-ribbon-grid > a > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust-ribbon-grid > a strong {
  display: flex;
  align-items: center;
  gap: 7px;
  color: white;
  font-size: 14px;
  line-height: 1.2;
}

.trust-ribbon-grid .stars {
  font-size: 7px !important;
}

.country-proof {
  display: grid !important;
  grid-template-columns: 92px 1fr;
  align-content: center;
  gap: 12px !important;
}

.country-route {
  display: flex;
  align-items: center;
  gap: 4px;
}

.country-route i {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: white;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.country-route b {
  width: 7px;
  height: 1px;
  background: var(--lime);
}

.country-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.country-copy strong {
  color: white;
  font-size: 11px;
  line-height: 1.25;
}

.country-copy small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 8.5px;
  line-height: 1.35;
}

/* Concern finder */

.concern-finder {
  padding-top: 64px;
  padding-bottom: 66px;
}

.concern-layout {
  grid-template-columns: minmax(270px, 0.65fr) minmax(0, 1.35fr);
  gap: 24px;
}

.concern-tabs {
  gap: 9px;
}

.concern-tabs button {
  min-height: 70px;
  padding: 14px 18px;
  border-radius: 15px;
}

.concern-tabs button strong {
  font-size: 13.5px;
}

.concern-result {
  min-height: 350px;
  padding: clamp(30px, 4vw, 52px);
  border-radius: 24px;
}

.concern-result h3 {
  max-width: 780px;
  font-size: clamp(36px, 4.1vw, 58px);
  line-height: 1.02;
}

.concern-result > p:not(.eyebrow) {
  max-width: 720px;
  font-size: 15px;
  line-height: 1.7;
}

/* Doctor */

.doctor-section {
  padding-top: 66px;
  padding-bottom: 68px;
}

.doctor-grid {
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.12fr);
  gap: clamp(50px, 6vw, 86px);
}

.doctor-image-main {
  min-height: 520px;
  border-radius: 24px 88px 24px 24px;
}

.doctor-image-main img {
  object-position: center 24%;
}

.doctor-context-card {
  position: absolute;
  right: -30px;
  bottom: 34px;
  z-index: 4;
  display: grid;
  width: min(285px, 74%);
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: rgba(250, 250, 247, 0.92);
  box-shadow: 0 22px 55px rgba(28, 29, 33, 0.16);
  backdrop-filter: blur(16px);
}

.doctor-context-card > div {
  position: relative;
  min-height: 68px;
  overflow: hidden;
  border-radius: 11px;
}

.doctor-context-card img {
  object-fit: cover;
}

.doctor-context-card p {
  display: flex;
  margin: 0;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.doctor-context-card small {
  color: var(--wine);
  font-size: 8px;
  font-weight: 780;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.doctor-context-card strong {
  font-size: 11px;
  line-height: 1.35;
}

.doctor-image-note,
.doctor-filmstrip,
.doctor-copy blockquote,
.doctor-focus {
  display: none;
}

.doctor-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(40px, 4.3vw, 60px);
}

.doctor-copy h2 em {
  margin-top: 3px;
}

.doctor-lead {
  font-size: clamp(18px, 1.65vw, 22px);
  line-height: 1.48;
}

.doctor-copy > p:not(.eyebrow) {
  max-width: 690px;
  font-size: 15px;
  line-height: 1.72;
}

.doctor-credentials {
  display: grid;
  margin-top: 26px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.doctor-credentials span {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 9px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
}

.doctor-credentials svg {
  flex: 0 0 auto;
  color: var(--wine);
}

.doctor-actions {
  margin-top: 26px;
}

/* Credentials */

.evidence-section {
  padding-top: 60px;
  padding-bottom: 64px;
}

.evidence-heading {
  max-width: 890px;
  margin-bottom: 36px;
}

.evidence-heading h2 {
  font-size: clamp(39px, 4.25vw, 58px);
}

.evidence-heading > p:last-child {
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

.evidence-stage {
  grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1.7fr);
  gap: 18px;
}

.evidence-tabs {
  gap: 8px;
}

.evidence-tabs button {
  min-height: 83px;
  padding: 14px 16px;
  border-radius: 14px;
}

.evidence-tabs button strong {
  font-size: 27px;
}

.evidence-tabs button span {
  font-size: 10px;
}

.evidence-display {
  min-height: 360px;
  grid-template-columns: minmax(0, 1.08fr) minmax(250px, 0.82fr);
  border-radius: 24px;
}

.evidence-copy {
  padding: 36px;
}

.evidence-number {
  font-size: 12px;
}

.evidence-copy h3 {
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.02;
}

.evidence-copy p {
  font-size: 14px;
  line-height: 1.65;
}

.evidence-source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 4px;
}

.evidence-source-row span {
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 9px;
}

/* Care pathways */

.care-section {
  padding-top: 60px;
  padding-bottom: 64px;
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pathway-card {
  position: relative;
  display: flex;
  min-height: 380px;
  flex-direction: column;
  overflow: hidden;
  padding: 0 22px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--ink);
  text-align: left;
  transform:
    perspective(900px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg));
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.pathway-card:hover,
.pathway-card.is-active {
  border-color: rgba(100, 29, 59, 0.45);
  box-shadow: 0 24px 65px rgba(28, 29, 33, 0.13);
}

.pathway-image {
  position: relative;
  height: 155px;
  margin: 0 -22px 17px;
  overflow: hidden;
}

.pathway-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(28, 29, 33, 0.64), transparent 68%);
  content: "";
}

.pathway-image img {
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pathway-knee .pathway-image img {
  object-position: center 48%;
}

.pathway-card:hover .pathway-image img {
  transform: scale(1.055);
}

.pathway-image > span {
  position: absolute;
  z-index: 2;
  right: 15px;
  bottom: 12px;
  left: 15px;
  color: white;
  font-size: 10px;
  font-weight: 670;
  line-height: 1.35;
}

.pathway-top {
  margin-bottom: 13px;
}

.pathway-card h3 {
  margin-bottom: 12px;
  font-size: 38px;
}

.pathway-card ul {
  margin: 0;
}

.pathway-card li {
  min-height: 39px;
  font-size: 11.5px;
}

.pathway-link {
  display: flex;
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--wine);
  font-size: 11px;
  font-weight: 760;
}

.pathway-detail-panel {
  display: grid;
  margin-top: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) auto;
  align-items: center;
  gap: 28px;
  padding: 26px 28px;
  border: 1px solid rgba(100, 29, 59, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 0%, rgba(201, 232, 74, 0.18), transparent 34%),
    linear-gradient(120deg, white, var(--lavender));
  animation: panelIn 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(12px) scale(0.99); }
  to { opacity: 1; transform: none; }
}

.pathway-detail-panel h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.pathway-detail-panel p:not(.eyebrow) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.62;
}

.pathway-detail-panel .eyebrow {
  margin-bottom: 8px;
  font-size: 8.5px;
}

.pathway-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 13px;
}

.pathway-tags span {
  padding: 6px 8px;
  border: 1px solid rgba(100, 29, 59, 0.14);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.6);
  font-size: 9px;
}

/* Functional anatomy spotlight */

.anatomy-section {
  padding-top: 60px;
  padding-bottom: 62px;
}

.anatomy-grid {
  grid-template-columns: minmax(0, 0.84fr) minmax(460px, 1.16fr);
  gap: clamp(30px, 4vw, 56px);
}

.anatomy-copy h2 {
  font-size: clamp(42px, 4.7vw, 65px);
}

.anatomy-copy > p:not(.eyebrow) {
  max-width: 590px;
  font-size: 14px;
  line-height: 1.68;
}

.anatomy-selector {
  gap: 8px;
  margin-top: 24px;
}

.anatomy-selector button {
  min-height: 48px;
  padding: 0 14px;
  font-size: 11px;
}

.anatomy-detail {
  margin-top: 18px;
  padding: 24px;
  border-radius: 18px;
}

.anatomy-detail h3 {
  font-size: 32px;
}

.anatomy-detail > p {
  font-size: 12.5px;
  line-height: 1.62;
}

.anatomy-visual {
  --scan-x: 58%;
  --scan-y: 50%;
  min-height: 520px;
  border-radius: 28px;
  cursor: crosshair;
}

.anatomy-base,
.anatomy-reveal {
  position: absolute;
  inset: 0;
}

.anatomy-base img,
.anatomy-reveal img {
  padding: 0;
  object-fit: cover;
  object-position: center;
}

.anatomy-base img {
  filter: grayscale(0.72) saturate(0.45) brightness(0.58) contrast(1.08);
  transform: scale(1.02);
}

.anatomy-reveal {
  z-index: 2;
  display: block;
  background: transparent;
  clip-path: circle(92px at var(--scan-x) var(--scan-y));
  opacity: 0;
  transition: opacity 220ms ease;
}

.anatomy-reveal::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 94px at var(--scan-x) var(--scan-y), transparent 68%, rgba(201, 232, 74, 0.18) 84%, transparent 100%);
  content: "";
}

.anatomy-visual[data-scanning="true"] .anatomy-reveal {
  opacity: 1;
}

.anatomy-scanner {
  z-index: 5;
  top: var(--scan-y);
  left: var(--scan-x);
  display: grid;
  width: 184px;
  height: 184px;
  place-items: center;
  border: 1px solid rgba(201, 232, 74, 0.82);
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(201, 232, 74, 0.1),
    inset 0 0 38px rgba(201, 232, 74, 0.1);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.anatomy-visual[data-scanning="true"] .anatomy-scanner {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.anatomy-scanner img {
  padding: 39px 45px 52px;
  object-fit: contain;
  opacity: 0.82;
}

.anatomy-scanner span {
  bottom: 14px;
  padding: 6px 9px;
  border-radius: 99px;
  background: var(--lime);
  color: var(--ink);
  font-size: 8px;
}

.anatomy-disclaimer {
  z-index: 8;
  display: flex;
  right: 18px;
  bottom: 16px;
  left: 18px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(18, 18, 21, 0.72);
  backdrop-filter: blur(12px);
}

.anatomy-disclaimer b {
  color: var(--lime);
  font-size: 9px;
}

.anatomy-disclaimer {
  color: rgba(255, 255, 255, 0.62);
  font-size: 8px;
}

.hotspot {
  z-index: 9;
}

.hotspot i {
  box-shadow: 0 0 0 0 rgba(201, 232, 74, 0.42);
  transition: transform 180ms ease, box-shadow 220ms ease, background 180ms ease;
}

.hotspot:hover i,
.hotspot.is-active i {
  background: var(--lime);
  box-shadow: 0 0 0 9px rgba(201, 232, 74, 0.14);
  transform: scale(1.16);
}

.hotspot:hover span,
.hotspot.is-active span {
  transform: translateY(-2px);
}

/* Treatments */

.treatments-section {
  padding-top: 60px;
  padding-bottom: 64px;
}

.treatment-stage {
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1.55fr);
  gap: 18px;
}

.treatment-list {
  gap: 8px;
}

.treatment-list button {
  min-height: 76px;
  padding: 13px 16px;
  border-radius: 14px;
}

.treatment-list button strong {
  font-size: 11.5px;
  line-height: 1.35;
}

.treatment-display {
  min-height: 440px;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  border-radius: 24px;
}

.treatment-image img {
  object-position: center;
}

.treatment-copy {
  padding: 32px;
}

.treatment-copy h3 {
  font-size: clamp(33px, 3.7vw, 52px);
  line-height: 1.02;
}

.treatment-copy > p {
  font-size: 13px;
  line-height: 1.6;
}

.treatment-facts {
  display: grid;
  gap: 8px;
  margin-top: 17px;
}

.treatment-facts > div {
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.treatment-facts small {
  display: block;
  margin-bottom: 5px;
  color: var(--lime);
  font-size: 8px;
  font-weight: 780;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.treatment-facts p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10.5px;
  line-height: 1.48;
}

/* Patient decision principles */

.why-section {
  padding-top: 60px;
  padding-bottom: 64px;
}

.principle-grid {
  gap: 14px;
}

.principle-card {
  min-height: 280px;
  padding: 24px 22px;
  border-radius: 20px;
  transition:
    transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 300ms ease;
}

.principle-card:hover {
  z-index: 2;
  box-shadow: 0 28px 68px rgba(28, 29, 33, 0.14);
  transform: translateY(-10px) rotate(-0.5deg);
}

.principle-card h3 {
  font-size: clamp(30px, 2.7vw, 40px);
  line-height: 0.98;
}

.principle-card p {
  font-size: 11.5px;
  line-height: 1.55;
}

/* Compact review module */

.reviews-section {
  padding-top: 60px;
  padding-bottom: 62px;
}

.reviews-shell {
  display: grid;
  grid-template-columns: minmax(250px, 0.58fr) minmax(0, 1.42fr);
  grid-template-areas:
    "heading stage"
    "tabs stage";
  align-items: end;
  gap: 22px 30px;
}

.reviews-heading {
  grid-area: heading;
  align-self: start;
}

.reviews-heading h2 {
  font-size: clamp(39px, 4vw, 56px);
}

.reviews-heading > p {
  max-width: 330px;
  font-size: 13px;
  line-height: 1.65;
}

.review-stage {
  grid-area: stage;
  display: grid;
  min-height: 340px;
  grid-template-columns: 190px 1fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
}

.review-score {
  min-height: 0;
  padding: 28px 18px;
}

.review-platform-logo {
  width: 58px !important;
  height: 58px !important;
  object-fit: contain;
}

.review-score > strong {
  font-size: 64px;
}

.review-copy {
  min-height: 0;
  padding: 36px 38px;
}

.review-copy blockquote {
  max-width: 580px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
}

.quote-mark {
  font-size: 66px;
}

.review-source-tabs {
  grid-area: tabs;
  display: grid;
  gap: 7px;
  margin-bottom: 10px;
}

.review-source-tabs button {
  display: grid;
  min-height: 52px;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.62);
  text-align: left;
  transition:
    background 200ms ease,
    color 200ms ease,
    transform 200ms ease;
}

.review-source-tabs button:hover,
.review-source-tabs button.is-active {
  background: var(--lime);
  color: var(--ink);
  transform: translateX(4px);
}

.review-source-tabs button > svg,
.review-source-tabs button > span,
.review-source-tabs button > img {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  object-fit: contain;
}

.review-source-tabs strong {
  font-size: 11px;
}

.review-source-tabs small {
  font-size: 12px;
  font-weight: 800;
}

.review-controls {
  display: none;
}

/* Public review proof */

.review-proof-section {
  padding-top: 56px;
  padding-bottom: 64px;
  background: var(--paper);
}

.review-proof-heading {
  margin-bottom: 34px;
}

.review-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review-proof-card {
  position: relative;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(100, 29, 59, 0.14);
  border-radius: 22px;
  background: white;
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(28, 29, 33, 0.06);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.review-proof-card:hover {
  box-shadow: 0 28px 64px rgba(28, 29, 33, 0.12);
  transform: translateY(-7px);
}

.review-proof-brand {
  display: grid;
  height: 140px;
  place-items: center;
  overflow: hidden;
  background: #f7f7f7;
}

.review-proof-brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctify-brand {
  background: linear-gradient(135deg, #f6f8ff, #ebfffb);
}

.doctify-brand img {
  width: 112px;
  height: 112px;
  object-fit: contain;
}

.review-proof-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.review-proof-copy > span {
  color: var(--wine);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.review-proof-copy > strong {
  display: flex;
  margin-top: 8px;
  align-items: center;
  gap: 9px;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 400;
}

.review-proof-copy .stars {
  color: #f6b900;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.review-proof-copy p {
  margin: 12px 0 20px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.review-proof-copy b {
  display: flex;
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
  color: var(--wine);
  font-size: 10px;
}

.care-proof {
  background: linear-gradient(145deg, var(--lavender), white 72%);
}

.review-theme-stack {
  display: grid;
  min-height: 140px;
  align-content: center;
  gap: 7px;
  padding: 22px;
  background: var(--wine);
}

.review-theme-stack span {
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  color: white;
  font-size: 10px;
}

.review-theme-stack span:nth-child(2) {
  margin-left: 26px;
  background: var(--lime);
  color: var(--ink);
}

.review-theme-stack span:nth-child(3) {
  margin-left: 8px;
}

/* Interactive journey */

.journey-section {
  padding-top: 60px;
  padding-bottom: 62px;
}

.journey-track {
  position: relative;
  display: grid;
  margin-top: 14px;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.journey-line {
  top: 21px;
  right: 8%;
  left: 8%;
}

.journey-line i {
  width: 0;
  transition: width 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.journey-track button {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 104px;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 8px 14px;
  background: transparent;
  text-align: center;
}

.journey-track button > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(100, 29, 59, 0.22);
  border-radius: 50%;
  background: var(--paper);
  color: var(--wine);
  font-size: 8px;
  font-weight: 780;
  transition:
    background 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.journey-track button:hover > span,
.journey-track button.is-active > span {
  background: var(--wine);
  color: white;
  transform: scale(1.08);
}

.journey-track button h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.02;
}

.journey-active-detail {
  display: grid;
  min-height: 96px;
  margin-top: 8px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(100, 29, 59, 0.13);
  border-radius: 18px;
  background: linear-gradient(115deg, var(--lavender), white 70%);
  animation: panelIn 350ms ease;
}

.journey-active-detail > span {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 30px;
}

.journey-active-detail small {
  display: block;
  margin-bottom: 4px;
  color: var(--wine);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.journey-active-detail h3 {
  display: block;
  margin: 0;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}

.journey-active-detail p {
  display: block;
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.journey-active-detail > svg {
  color: var(--wine);
}

.journey-detail-copy {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(150px, auto) minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: baseline;
  gap: 0 18px;
}

.journey-detail-copy small {
  grid-column: 1 / -1;
}

.journey-detail-copy h3,
.journey-detail-copy p {
  min-width: 0;
}

.journey-cta {
  min-height: 72px;
  margin-top: 14px;
  padding: 11px 13px 11px 18px;
  border-radius: 16px;
}

.journey-cta strong {
  font-size: 12px;
}

/* Knowledge, FAQ, contact and footer density */

.knowledge-section {
  padding-top: 60px;
  padding-bottom: 64px;
}

.knowledge-heading {
  max-width: 820px;
}

.knowledge-grid {
  gap: 16px;
}

.knowledge-card {
  min-height: 276px;
  padding: 25px;
  border-radius: 20px;
}

.knowledge-card h3 {
  font-size: clamp(30px, 2.8vw, 41px);
  line-height: 1.02;
}

.knowledge-card > p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.58;
}

.media-feature {
  min-height: 390px;
  margin-top: 22px;
  border-radius: 22px;
}

.media-feature-copy {
  padding: 38px;
}

.media-feature-copy h3 {
  font-size: clamp(34px, 3.4vw, 48px);
}

.faq-section {
  padding-top: 60px;
  padding-bottom: 62px;
}

.faq-grid {
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.28fr);
  gap: clamp(36px, 6vw, 80px);
}

.faq-list article > button {
  min-height: 66px;
  padding: 14px 16px;
}

.faq-list article > button strong {
  font-size: 13px;
}

.faq-answer p {
  padding-top: 0;
  padding-bottom: 18px;
  font-size: 12px;
  line-height: 1.62;
}

.contact-section {
  padding-top: 60px;
  padding-bottom: 62px;
}

.contact-grid {
  gap: clamp(40px, 6vw, 86px);
}

.contact-methods > a {
  min-height: 67px;
}

.enquiry-form {
  padding: 30px;
  border-radius: 22px;
}

.location-section {
  padding: 28px 24px 0;
}

.location-card {
  width: min(100%, 1280px);
  grid-template-columns: minmax(330px, 0.78fr) minmax(0, 1.22fr);
  border-radius: 22px;
}

.location-copy {
  padding: 44px;
}

.location-copy h2 {
  font-size: 42px;
}

.location-card iframe {
  min-height: 390px;
}

.site-footer {
  padding-top: 70px;
}

.footer-grid {
  grid-template-columns: minmax(280px, 1.25fr) repeat(2, 0.72fr) minmax(290px, 1fr);
  gap: 42px;
}

.footer-brand > p {
  max-width: 390px;
  font-size: 14px;
  line-height: 1.65;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 15px;
}

.footer-links a {
  font-size: 13.5px;
  line-height: 1.5;
}

.footer-contact > a:not(.footer-book) {
  font-size: 13.5px;
  line-height: 1.55;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 10.5px;
  line-height: 1.5;
}

/* Reveal choreography */

[data-motion] {
  opacity: 0;
  transition:
    opacity 650ms ease,
    transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-motion="rise"] {
  transform: translateY(34px);
}

[data-motion="slide-left"] {
  transform: translateX(-42px) rotate(-1.5deg);
}

[data-motion="slide-right"] {
  transform: translateX(42px) rotate(1.5deg);
}

[data-motion="scale"] {
  transform: translateY(18px) scale(0.965);
}

[data-motion="card-fan"] {
  transform: translateY(60px) rotate(4deg) scale(0.96);
  transform-origin: bottom center;
}

[data-motion].is-visible {
  opacity: 1;
  transform: none;
}

.pathway-detail-panel,
.journey-active-detail {
  opacity: 1;
}

@media (max-width: 1320px) {
  .site-header {
    grid-template-columns: minmax(245px, 0.85fr) auto minmax(200px, 0.65fr);
  }

  .desktop-nav {
    gap: 12px;
  }

  .nav-link {
    font-size: 11.5px;
  }

  .brand-copy strong {
    font-size: 11px;
  }

  .header-cta {
    padding: 0 18px;
    font-size: 11.5px;
  }
}

@media (max-width: 1140px) {
  .site-header,
  .site-header.is-scrolled {
    width: min(calc(100% - 32px), 1050px);
    grid-template-columns: 1fr auto;
  }

  .header-actions {
    gap: 7px;
  }

  .menu-toggle {
    display: grid;
  }

  .hero-content {
    width: min(64vw, 700px);
  }

  .hero-runner {
    right: 2vw;
    width: 39vw;
  }

  .trust-ribbon-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-ribbon-grid > :nth-child(4),
  .trust-ribbon-grid > :nth-child(5) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .doctor-grid {
    grid-template-columns: minmax(330px, 0.8fr) minmax(0, 1fr);
    gap: 46px;
  }

  .doctor-image-main {
    min-height: 500px;
  }

  .anatomy-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(430px, 1.14fr);
  }

  .treatment-display {
    grid-template-columns: 1fr 0.9fr;
  }

  .footer-grid {
    grid-template-columns: 1.2fr repeat(2, 0.7fr);
  }

  .footer-contact {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    align-items: center;
  }

  .footer-contact h3 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 50px 0;
  }

  .section-shell {
    width: min(calc(100% - 32px), 720px);
  }

  .section-heading h2,
  .doctor-copy h2,
  .anatomy-copy h2,
  .reviews-heading h2,
  .faq-intro h2,
  .contact-copy h2,
  .location-copy h2 {
    font-size: clamp(37px, 8vw, 52px);
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero {
    min-height: 760px;
    padding: 138px 5vw 105px;
  }

  .hero-content {
    width: 72%;
  }

  .hero h1 {
    font-size: clamp(58px, 11vw, 88px);
  }

  .hero-runner {
    top: 86px;
    right: -7vw;
    width: 53vw;
    height: 78vh;
  }

  .hero-scene-controls {
    right: 5vw;
    bottom: 18px;
    left: 5vw;
    justify-content: center;
  }

  .hero-scene-controls button {
    min-width: 96px;
  }

  .trust-ribbon-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-ribbon-grid > :nth-child(n) {
    min-height: 94px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .concern-layout,
  .doctor-grid,
  .evidence-stage,
  .anatomy-grid,
  .treatment-stage,
  .reviews-shell,
  .faq-grid,
  .location-card {
    grid-template-columns: 1fr;
  }

  .concern-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .doctor-context-card {
    right: 18px;
  }

  .doctor-copy {
    margin-top: 6px;
  }

  .doctor-credentials {
    grid-template-columns: 1fr 1fr;
  }

  .evidence-display,
  .treatment-display {
    grid-template-columns: 1fr;
  }

  .evidence-image,
  .treatment-image {
    min-height: 330px;
  }

  .pathway-grid {
    grid-template-columns: 1fr;
  }

  .pathway-card {
    display: grid;
    min-height: 0;
    grid-template-columns: 160px 1fr;
    grid-template-rows: auto auto auto 1fr;
    gap: 0 18px;
    padding: 0 20px 18px 0;
  }

  .pathway-image {
    height: 100%;
    min-height: 280px;
    margin: 0;
    grid-row: 1 / 6;
  }

  .pathway-top {
    margin-top: 18px;
  }

  .pathway-detail-panel {
    grid-template-columns: 1fr;
  }

  .anatomy-visual {
    min-height: 500px;
  }

  .principle-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-shell {
    grid-template-areas:
      "heading"
      "tabs"
      "stage";
  }

  .review-source-tabs {
    grid-template-columns: repeat(3, 1fr);
  }

  .review-stage {
    min-height: 320px;
  }

  .review-proof-grid {
    grid-template-columns: 1fr 1fr;
  }

  .review-proof-card:last-child {
    grid-column: 1 / -1;
    min-height: 300px;
  }

  .journey-track button h3 {
    font-size: 18px;
  }

  .knowledge-grid {
    grid-template-columns: 1fr;
  }

  .knowledge-card {
    min-height: 250px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand,
  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .footer-book {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 86px;
  }

  .section {
    padding: 44px 0;
  }

  .section-shell {
    width: calc(100% - 24px);
  }

  .eyebrow {
    font-size: 9.5px;
  }

  .site-header,
  .site-header.is-scrolled {
    top: 8px;
    width: calc(100% - 18px);
    min-height: 64px;
    padding: 6px 7px 6px 10px;
    border-radius: 16px;
  }

  .brand {
    gap: 8px;
  }

  .brand-monogram {
    flex-basis: 43px;
    width: 43px;
    height: 43px;
    border-radius: 11px;
    font-size: 19px;
  }

  .brand-copy strong {
    font-size: 10.5px;
    letter-spacing: 0.08em;
  }

  .brand-copy small {
    font-size: 7px;
  }

  .language-switch {
    min-width: 43px;
    padding: 8px 4px;
    font-size: 10px;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
  }

  .hero {
    min-height: 710px;
    align-items: flex-end;
    padding: 118px 18px 112px;
  }

  .hero-content {
    z-index: 26;
    width: 100%;
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(51px, 16vw, 70px);
    line-height: 0.84;
  }

  .line-two {
    padding-left: 18px;
  }

  .hero-intro {
    max-width: 92%;
    font-size: 14px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions .button {
    min-height: 52px;
    padding: 0 13px;
    font-size: 11px;
  }

  .hero-runner {
    top: 68px;
    right: -25vw;
    width: 86vw;
    height: 68vh;
    opacity: 0.74;
  }

  .hero-runner.is-visible {
    opacity: 0.76;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(38, 13, 26, 0.97) 0%, rgba(49, 17, 31, 0.72) 56%, rgba(30, 20, 23, 0.18) 100%),
      linear-gradient(90deg, rgba(38, 13, 26, 0.74), transparent);
  }

  .hero-grid,
  .hero-scroll-cue {
    display: none;
  }

  .hero-scene-controls {
    gap: 6px;
  }

  .hero-scene-controls button {
    min-width: 0;
    width: 54px;
    height: 43px;
    grid-template-columns: 1fr;
    place-items: center;
    padding: 7px;
  }

  .hero-scene-controls button > span {
    grid-row: auto;
  }

  .hero-scene-controls button strong {
    display: none;
  }

  .trust-ribbon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-ribbon-grid > article,
  .trust-ribbon-grid > a {
    min-height: 86px !important;
    padding: 14px 18px;
    border-left: 0;
  }

  .trust-ribbon-grid > :first-child {
    order: 1;
  }

  .trust-ribbon-grid > :nth-child(5) {
    order: 2;
  }

  .trust-ribbon-grid > :nth-child(2) {
    order: 3;
    grid-column: 1 / -1;
  }

  .trust-ribbon-grid > :nth-child(3) {
    order: 4;
  }

  .trust-ribbon-grid > :nth-child(4) {
    order: 5;
  }

  .trust-ribbon-grid > article > strong {
    font-size: 36px;
  }

  .country-proof {
    grid-template-columns: 86px 1fr;
  }

  .country-copy,
  .country-route {
    margin-left: 0 !important;
  }

  .concern-tabs {
    grid-template-columns: 1fr;
  }

  .concern-result {
    min-height: 330px;
    padding: 28px 22px;
  }

  .doctor-image-main {
    min-height: 470px;
    border-radius: 20px 62px 20px 20px;
  }

  .doctor-context-card {
    right: 12px;
    bottom: 14px;
    width: 78%;
  }

  .doctor-credentials {
    grid-template-columns: 1fr;
  }

  .doctor-credentials span {
    min-height: 50px;
  }

  .evidence-display,
  .treatment-display {
    min-height: 0;
  }

  .evidence-image,
  .treatment-image {
    min-height: 260px;
  }

  .evidence-copy,
  .treatment-copy {
    padding: 25px 21px;
  }

  .pathway-card {
    display: flex;
    min-height: 390px;
    padding: 0 20px 18px;
  }

  .pathway-image {
    width: auto;
    height: 145px;
    min-height: 145px;
    margin: 0 -20px 16px;
  }

  .pathway-top {
    margin-top: 0;
  }

  .pathway-detail-panel {
    padding: 22px 18px;
  }

  .anatomy-visual {
    min-height: 430px;
    border-radius: 24px;
  }

  .anatomy-scanner {
    width: 150px;
    height: 150px;
  }

  .anatomy-reveal {
    clip-path: circle(74px at var(--scan-x) var(--scan-y));
  }

  .anatomy-disclaimer {
    align-items: flex-start;
    flex-direction: column;
  }

  .treatment-list button {
    min-height: 68px;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .principle-card {
    min-height: 260px;
  }

  .review-source-tabs {
    grid-template-columns: 1fr;
  }

  .review-stage {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .review-score {
    min-height: 150px;
  }

  .review-copy {
    padding: 28px 22px;
  }

  .review-copy blockquote {
    font-size: 30px;
  }

  .review-proof-grid {
    grid-template-columns: 1fr;
  }

  .review-proof-card,
  .review-proof-card:last-child {
    min-height: 330px;
    grid-column: auto;
  }

  .journey-track {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .journey-line {
    display: none;
  }

  .journey-track button {
    min-height: 60px;
    flex-direction: row;
    justify-content: flex-start;
    padding: 8px;
    text-align: left;
  }

  .journey-track button > span {
    flex: 0 0 42px;
  }

  .journey-active-detail {
    grid-template-columns: 34px 1fr;
  }

  .journey-active-detail > svg {
    display: none;
  }

  .journey-active-detail h3,
  .journey-active-detail p {
    display: block;
  }

  .journey-detail-copy {
    grid-template-columns: 1fr;
  }

  .journey-cta {
    align-items: stretch;
  }

  .media-feature {
    min-height: 0;
  }

  .media-feature-image {
    min-height: 260px;
  }

  .media-feature-copy {
    padding: 28px 22px;
  }

  .location-section {
    padding: 16px 12px 0;
  }

  .location-copy {
    padding: 30px 22px;
  }

  .location-card iframe {
    min-height: 310px;
  }

  .footer-grid,
  .footer-contact {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-contact,
  .footer-book {
    grid-column: auto;
  }

  .footer-links a,
  .footer-contact > a:not(.footer-book) {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scene.is-active,
  .hero-scene-controls button.is-active i::after {
    animation: none;
  }

  [data-motion] {
    opacity: 1;
    transform: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Version 4 — patient funnel, compact laptop rhythm and repaired interactions */
/* -------------------------------------------------------------------------- */

.section {
  padding: clamp(40px, 3.35vw, 54px) 0;
}

.section-heading {
  margin-bottom: clamp(24px, 2.8vw, 36px);
}

.section-heading h2,
.doctor-copy h2,
.anatomy-copy h2,
.reviews-heading h2,
.faq-intro h2,
.contact-copy h2,
.location-copy h2 {
  font-size: clamp(34px, 3.45vw, 50px);
}

/* First viewport */

.hero {
  min-height: clamp(630px, 78svh, 720px);
  padding: 118px 5.6vw 86px;
}

.hero-content {
  width: min(50vw, 650px);
}

.hero h1 {
  font-size: clamp(56px, 5.8vw, 86px);
}

.hero-intro {
  margin-top: 20px;
}

.hero-actions {
  margin-top: 23px;
}

.hero-runner {
  top: 34px;
  right: clamp(7vw, 11vw, 14vw);
  width: clamp(280px, 29vw, 460px);
  height: min(80vh, 690px);
}

.hero-scene-controls {
  bottom: 15px;
}

.hero-scroll-cue {
  bottom: 88px;
}

/* Clear, high-resolution proof strip */

.trust-ribbon-grid {
  min-height: 88px;
  grid-template-columns: 1.05fr 1fr 1fr 1.05fr;
}

.trust-ribbon-grid > article,
.trust-ribbon-grid > a {
  min-height: 88px;
  gap: 15px;
  padding: 12px 22px;
}

.trust-ribbon-grid > article > strong {
  flex: 0 0 auto;
  font-size: 40px;
}

.trust-ribbon-grid > article > span,
.trust-ribbon-grid > a > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.trust-ribbon-grid > article b,
.trust-ribbon-grid > a b {
  color: white;
  font-size: 11px;
  font-weight: 760;
  line-height: 1.25;
}

.trust-ribbon-grid > article small,
.trust-ribbon-grid > a small {
  color: rgba(255, 255, 255, 0.57);
  font-size: 8.5px;
  line-height: 1.35;
}

.trust-ribbon-grid > a > svg.google-mark,
.trust-ribbon-grid > a > .trust-doctify-logo {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: white;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.trust-ribbon-grid > a > svg.google-mark {
  padding: 9px;
}

.trust-ribbon-grid > a strong {
  gap: 8px;
  font-size: 19px;
  line-height: 1;
}

.trust-ribbon-grid .stars {
  color: var(--lime) !important;
  font-size: 9px !important;
  letter-spacing: 0.06em;
}

/* Doctor comes before symptoms and carries the trust proof */

.doctor-section {
  padding-top: 50px;
  padding-bottom: 52px;
}

.doctor-grid {
  grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(46px, 5.5vw, 78px);
}

.doctor-image-main {
  min-height: 470px;
}

.doctor-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 3.75vw, 53px);
}

.doctor-lead {
  font-size: clamp(17px, 1.35vw, 20px);
}

.doctor-copy > p:not(.eyebrow) {
  font-size: 13.5px;
  line-height: 1.64;
}

.doctor-credentials {
  margin-top: 20px;
  gap: 7px;
  margin-bottom: 10px;
}

.doctor-credentials span {
  min-height: 46px;
  padding: 9px 11px;
  font-size: 10px;
}

.doctor-actions {
  margin-top: 20px;
}

.doctor-review-stack {
  position: absolute;
  z-index: 6;
  right: -34px;
  bottom: 26px;
  display: grid;
  width: min(320px, 82%);
  gap: 7px;
  margin-bottom: 10px;
}

.doctor-review-stack a {
  display: grid;
  min-height: 68px;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 9px 13px;
  border: 1px solid rgba(100, 29, 59, 0.13);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 16px 42px rgba(28, 29, 33, 0.16);
  backdrop-filter: blur(18px);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.doctor-review-stack a:hover {
  box-shadow: 0 22px 48px rgba(28, 29, 33, 0.22);
  transform: translateX(-6px);
}

.doctor-review-stack a > svg,
.doctor-review-stack a > img {
  width: 42px;
  height: 38px;
  object-fit: contain;
}

.doctor-review-stack a > span {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 8px;
}

.doctor-review-stack b {
  color: var(--wine);
  font-size: 10px;
}

.doctor-review-stack strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}

.doctor-review-stack small {
  grid-column: 1 / -1;
  color: var(--ink-soft);
  font-size: 8px;
}

.doctor-review-stack .stars {
  color: #f2b400;
  font-family: var(--sans);
  font-size: 7px;
}

/* Evidence: all metrics are visible at once, with a compact selected story */

.evidence-section {
  padding-top: 48px;
  padding-bottom: 50px;
}

.evidence-heading {
  max-width: 940px;
  margin-bottom: 26px;
}

.evidence-heading h2 {
  font-size: clamp(36px, 3.8vw, 52px);
}

.evidence-stage {
  grid-template-columns: 1fr;
  gap: 13px;
}

.evidence-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.evidence-tabs button {
  min-height: 76px;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 11px 15px;
}

.evidence-tabs button strong {
  font-size: 31px;
}

.evidence-tabs button span {
  font-size: 9.5px;
  line-height: 1.35;
}

.evidence-display {
  min-height: 292px;
  grid-template-columns: minmax(310px, 0.84fr) minmax(0, 1.16fr);
}

.evidence-image {
  min-height: 292px;
}

.evidence-copy {
  padding: 28px 32px;
}

.evidence-copy h3 {
  font-size: clamp(31px, 3vw, 43px);
}

.evidence-copy p {
  font-size: 12.5px;
}

/* Symptom finder */

.concern-finder {
  padding-top: 48px;
  padding-bottom: 50px;
}

.concern-layout {
  gap: 18px;
}

.concern-tabs button {
  min-height: 61px;
  padding: 11px 16px;
}

.concern-result {
  min-height: 286px;
  padding: clamp(26px, 3vw, 39px);
}

.concern-result h3 {
  font-size: clamp(32px, 3.5vw, 48px);
}

.concern-result > p:not(.eyebrow) {
  font-size: 13.5px;
}

/* Pathways arrive from distinct directions and remain interactive */

.care-section {
  padding-top: 48px;
  padding-bottom: 50px;
}

.pathway-grid {
  gap: 15px;
}

.pathway-card {
  min-height: 330px;
  padding: 0 19px 17px;
}

.pathway-image {
  height: 132px;
  margin: 0 -19px 14px;
}

.pathway-card h3 {
  font-size: 34px;
}

.pathway-card li {
  min-height: 34px;
  font-size: 10.5px;
}

.pathway-card[data-motion].is-visible {
  opacity: 1;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.pathway-card[data-motion].is-visible:hover {
  transform: perspective(900px) translateY(-9px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.pathway-card[data-motion="slide-left"] {
  transform: translate3d(-70px, 22px, 0) rotate(-4deg) scale(0.94);
}

.pathway-card[data-motion="rise"] {
  transform: translate3d(0, 64px, 0) scale(0.94);
}

.pathway-card[data-motion="slide-right"] {
  transform: translate3d(70px, 22px, 0) rotate(4deg) scale(0.94);
}

.pathway-detail-panel {
  margin-top: 15px;
  padding: 21px 24px;
}

/* Repaired anatomy: stable hotspots, no cursor-following object or collisions */

.anatomy-section {
  padding-top: 48px;
  padding-bottom: 50px;
}

.anatomy-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(430px, 1.2fr);
  gap: clamp(28px, 3.5vw, 48px);
}

.anatomy-copy h2 {
  font-size: clamp(38px, 4.1vw, 56px);
}

.anatomy-selector {
  margin-top: 19px;
}

.anatomy-detail {
  margin-top: 14px;
  padding: 20px;
}

.anatomy-detail h3 {
  font-size: 29px;
}

.anatomy-visual {
  min-height: 460px;
  border-radius: 26px;
  cursor: default;
}

.anatomy-base img {
  filter: grayscale(0.18) saturate(0.82) brightness(0.72) contrast(1.06);
  transform: scale(1.01);
}

.anatomy-reveal,
.anatomy-scanner {
  display: none !important;
}

.anatomy-focus {
  position: absolute;
  z-index: 5;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(201, 232, 74, 0.88);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 232, 74, 0.18), transparent 65%);
  box-shadow: 0 0 0 9px rgba(201, 232, 74, 0.06), 0 0 38px rgba(201, 232, 74, 0.2);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: top 420ms cubic-bezier(0.2, 0.8, 0.2, 1), left 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.anatomy-focus::before,
.anatomy-focus::after {
  position: absolute;
  background: rgba(201, 232, 74, 0.62);
  content: "";
}

.anatomy-focus::before {
  top: 50%;
  right: 12px;
  left: 12px;
  height: 1px;
}

.anatomy-focus::after {
  top: 12px;
  bottom: 12px;
  left: 50%;
  width: 1px;
}

.hotspot {
  z-index: 10;
}

.hotspot span {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(20, 20, 23, 0.88);
  font-size: 7.5px;
  opacity: 0.82;
  backdrop-filter: blur(8px);
}

.hotspot.is-active span {
  border-color: var(--lime);
}

.anatomy-disclaimer {
  right: 14px;
  bottom: 13px;
  left: 14px;
  padding: 9px 12px;
}

/* Solutions: general overview before in-depth treatment pages */

.treatments-section {
  padding-top: 48px;
  padding-bottom: 50px;
}

.treatment-list button {
  min-height: 66px;
  padding: 10px 14px;
}

.treatment-display {
  min-height: 382px;
}

.treatment-copy {
  padding: 27px;
}

.treatment-copy h3 {
  font-size: clamp(30px, 3.15vw, 45px);
}

.treatment-copy > p {
  font-size: 12px;
}

/* One review module only */

.reviews-section {
  padding-top: 50px;
  padding-bottom: 52px;
}

.reviews-shell {
  display: block;
}

.reviews-heading {
  max-width: 910px;
  margin-bottom: 28px;
}

.reviews-heading h2 {
  max-width: 780px;
  font-size: clamp(36px, 3.8vw, 52px);
}

.reviews-heading > p {
  max-width: 650px;
}

.verified-review-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 0.78fr) minmax(320px, 1.18fr);
  gap: 14px;
}

.verified-review-card,
.review-theme-card {
  position: relative;
  display: flex;
  min-height: 318px;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 21px;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.verified-review-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
}

.verified-review-card:hover,
.review-theme-card:hover {
  border-color: rgba(201, 232, 74, 0.58);
  box-shadow: 0 26px 65px rgba(0, 0, 0, 0.24);
  transform: translateY(-8px);
}

.verified-review-brand {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
}

.verified-review-brand > svg,
.verified-review-brand > img {
  width: 54px;
  height: 50px;
  object-fit: contain;
}

.verified-review-brand strong {
  font-size: 15px;
}

.verified-review-score {
  display: flex;
  margin-top: 26px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.verified-review-score b {
  font-family: var(--serif);
  font-size: 60px;
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.verified-review-score span {
  display: flex;
  margin-bottom: 5px;
  flex-direction: column;
  gap: 5px;
  color: var(--ink-soft);
  font-size: 8px;
  text-align: right;
}

.verified-review-score .stars {
  color: #f1b500;
  font-size: 9px;
}

.verified-review-card > p {
  margin: 24px 0 18px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.6;
}

.verified-review-link {
  display: flex;
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--wine);
  font-size: 9px;
  font-weight: 760;
}

.review-theme-card {
  justify-content: center;
  background:
    radial-gradient(circle at 82% 15%, rgba(201, 232, 74, 0.16), transparent 30%),
    rgba(255, 255, 255, 0.045);
  color: white;
}

.review-theme-card blockquote {
  margin: 4px 0 23px;
  font-family: var(--serif);
  font-size: clamp(27px, 2.55vw, 38px);
  line-height: 1.08;
}

.review-theme-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.review-theme-pills span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 8.5px;
}

.review-theme-pills span:nth-child(2) {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.review-theme-card > small {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 8px;
}

/* Journey: no hover/focus rectangle can overlap neighbouring steps */

.journey-section {
  padding-top: 48px;
  padding-bottom: 50px;
}

.journey-track button {
  min-height: 86px;
  gap: 10px;
  padding: 0 6px 10px;
  border: 0;
  border-radius: 0;
  outline: none;
}

.journey-track button:focus-visible {
  outline: none;
}

.journey-track button:focus-visible > span {
  box-shadow: 0 0 0 4px rgba(201, 232, 74, 0.3);
}

.journey-track button h3 {
  font-size: 19px;
}

.journey-active-detail {
  min-height: 78px;
  padding: 13px 18px;
}

.journey-active-detail h3 {
  font-size: 22px;
}

.journey-cta {
  min-height: 64px;
  margin-top: 10px;
}

/* Lower-page density */

.knowledge-section,
.faq-section,
.contact-section {
  padding-top: 48px;
  padding-bottom: 50px;
}

.knowledge-card {
  min-height: 242px;
}

.media-feature {
  min-height: 350px;
}

.faq-list article > button {
  min-height: 58px;
}

.location-card iframe {
  min-height: 340px;
}

@media (max-width: 1140px) {
  .trust-ribbon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-ribbon-grid > :nth-child(n) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .doctor-review-stack {
    right: 12px;
  }

  .verified-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-theme-card {
    grid-column: 1 / -1;
    min-height: 250px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 720px;
  }

  .doctor-review-stack {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 28px);
    margin: -70px auto 0;
    grid-template-columns: 1fr 1fr;
  }

  .evidence-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-display {
    grid-template-columns: 1fr;
  }

  .evidence-image {
    min-height: 260px;
  }

  .anatomy-grid {
    grid-template-columns: 1fr;
  }

  .anatomy-visual {
    min-height: 480px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 40px 0;
  }

  .hero {
    min-height: 680px;
  }

  .trust-ribbon-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-ribbon-grid > :nth-child(n) {
    order: initial;
    grid-column: auto;
  }

  .trust-ribbon-grid > article,
  .trust-ribbon-grid > a {
    min-height: 96px !important;
    padding: 12px;
  }

  .trust-ribbon-grid > article > strong {
    font-size: 32px;
  }

  .trust-ribbon-grid > a > svg.google-mark,
  .trust-ribbon-grid > a > .trust-doctify-logo {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .trust-ribbon-grid > a b,
  .trust-ribbon-grid > article b {
    font-size: 9px;
  }

  .doctor-image-main {
    min-height: 430px;
  }

  .doctor-review-stack {
    grid-template-columns: 1fr;
  }

  .evidence-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .evidence-tabs button {
    min-height: 86px;
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .pathway-card[data-motion="slide-left"],
  .pathway-card[data-motion="rise"],
  .pathway-card[data-motion="slide-right"] {
    transform: translateY(46px) scale(0.96);
  }

  .anatomy-visual {
    min-height: 410px;
  }

  .anatomy-focus {
    width: 74px;
    height: 74px;
  }

  .hotspot span {
    font-size: 6.5px;
  }

  .verified-review-grid {
    grid-template-columns: 1fr;
  }

  .verified-review-card,
  .review-theme-card {
    min-height: 290px;
  }

  .review-theme-card {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pathway-card[data-motion],
  .pathway-card[data-motion].is-visible,
  .pathway-card[data-motion].is-visible:hover {
    opacity: 1;
    transform: none;
  }

  .anatomy-focus {
    transition: none;
  }
}

/* =========================================================
   PROFILE & PHILOSOPHY — HERO + PROFESSIONAL STANDING
   ========================================================= */
.profile-site {
  background: #f7f4ef;
}

.profile-hero {
  --profile-shift: 0px;
  position: relative;
  display: flex;
  min-height: min(920px, 100svh);
  align-items: center;
  overflow: hidden;
  padding: 150px max(6vw, 42px) 95px;
  background: var(--wine-dark);
  color: #fff;
  isolation: isolate;
}

.profile-hero-image {
  position: absolute;
  z-index: -4;
  top: -4%;
  right: -2%;
  width: 62%;
  height: 108%;
  transform: translate3d(0, var(--profile-shift), 0) scale(1.035);
  transform-origin: center top;
}

.profile-hero-image img {
  object-fit: cover;
  object-position: 53% center;
  filter: saturate(0.78) contrast(1.03);
}

.profile-hero-shade {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(32, 8, 20, 0.99) 0%, rgba(53, 16, 31, 0.96) 34%, rgba(53, 16, 31, 0.63) 58%, rgba(20, 8, 14, 0.08) 78%),
    linear-gradient(180deg, rgba(17, 7, 12, 0.28), transparent 42%, rgba(20, 6, 13, 0.36));
}

.profile-hero-grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(90deg, #000 0 46%, transparent 76%);
}

.profile-hero::after {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 56%;
  width: 1px;
  background: rgba(255,255,255,.14);
  content: "";
}

.profile-hero-content {
  position: relative;
  z-index: 2;
  width: min(51vw, 820px);
  padding-top: 34px;
}

.profile-kicker {
  color: var(--lime);
}

.profile-hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(64px, 6.7vw, 112px);
  font-weight: 400;
  letter-spacing: -.063em;
  line-height: .88;
}

.profile-hero h1 em {
  display: block;
  margin-top: 15px;
  color: var(--lime);
  font-weight: 400;
}

.profile-hero-intro {
  max-width: 660px;
  margin: 34px 0 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.8;
}

.profile-hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 36px;
}

.profile-text-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid rgba(255,255,255,.42);
  padding: 11px 0;
  color: white;
  font-size: 12px;
  font-weight: 720;
}

.profile-text-link svg {
  transition: transform 180ms ease;
}

.profile-text-link:hover svg {
  transform: translateX(5px);
}

.profile-hero-meta {
  display: flex;
  gap: 60px;
  margin-top: 54px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,.16);
}

.profile-hero-meta span {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-hero-meta small {
  color: rgba(255,255,255,.46);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.profile-hero-meta strong {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .02em;
}

.profile-hero-number {
  position: absolute;
  top: 122px;
  right: 5.5vw;
  color: rgba(255,255,255,.68);
  font-family: var(--serif);
  font-size: 20px;
}

.profile-hero-number::after {
  display: inline-block;
  width: 54px;
  height: 1px;
  margin: 0 0 5px 14px;
  background: rgba(255,255,255,.45);
  content: "";
}

.profile-hero-caption {
  position: absolute;
  right: 5.5vw;
  bottom: 38px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: right;
}

.profile-hero-caption span {
  font-size: 10px;
  font-weight: 720;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.profile-hero-caption small {
  color: rgba(255,255,255,.6);
  font-size: 9px;
  letter-spacing: .18em;
}

.profile-scroll {
  position: absolute;
  bottom: 35px;
  left: 6vw;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.58);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.profile-scroll span {
  position: relative;
  width: 36px;
  height: 1px;
  overflow: hidden;
  background: rgba(255,255,255,.25);
}

.profile-scroll span::after {
  position: absolute;
  inset: 0;
  background: var(--lime);
  content: "";
  animation: profileScrollLine 1.8s ease-in-out infinite;
  transform: translateX(-100%);
}

@keyframes profileScrollLine {
  50%, 100% { transform: translateX(100%); }
}

.profile-standing {
  position: relative;
  padding: 74px 0 78px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 0%, rgba(201,232,74,.2), transparent 23%),
    #f4f0e9;
}

.profile-standing::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(100,29,59,.16);
  content: "";
}

.profile-standing-shell {
  display: grid;
  width: min(90vw, 1580px);
  margin: 0 auto;
  grid-template-columns: minmax(260px, .64fr) minmax(0, 2.2fr);
  align-items: center;
  gap: clamp(38px, 5vw, 88px);
}

.profile-standing-intro h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(34px, 3.2vw, 54px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .98;
}

.profile-standing-intro h2 em {
  color: var(--wine);
  font-weight: 400;
}

.profile-standing-intro > a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  color: var(--wine);
  font-size: 11px;
  font-weight: 760;
}

.profile-standing-intro > a svg {
  transition: transform 180ms ease;
}

.profile-standing-intro > a:hover svg {
  transform: translateX(5px);
}

.profile-credential-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(100,29,59,.12);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,.55);
  box-shadow: 0 24px 70px rgba(53,16,31,.08);
}

.profile-credential-card {
  position: relative;
  display: flex;
  min-height: 238px;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  padding: 28px 25px 24px;
  border-right: 1px solid rgba(100,29,59,.12);
  background: rgba(255,255,255,.42);
  transition: background 220ms ease, transform 220ms ease;
}

.profile-credential-card:last-child {
  border-right: 0;
}

.profile-credential-card:hover {
  z-index: 2;
  background: #fff;
  transform: translateY(-5px);
}

.credential-symbol {
  display: grid;
  width: 72px;
  height: 58px;
  place-items: center;
}

.flag-symbol {
  overflow: hidden;
  border: 1px solid rgba(53,16,31,.13);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(53,16,31,.1);
}

.flag-symbol img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.credential-seal {
  width: 68px;
  height: 68px;
  border: 1px solid rgba(100,29,59,.28);
  border-radius: 50%;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: -.03em;
  box-shadow: inset 0 0 0 5px #f4f0e9, inset 0 0 0 6px rgba(100,29,59,.12);
}

.facs-seal {
  background: var(--wine);
  box-shadow: inset 0 0 0 5px var(--wine), inset 0 0 0 6px rgba(255,255,255,.5);
  color: #fff;
}

.profile-credential-card small {
  display: block;
  margin-bottom: 8px;
  color: rgba(28,29,33,.5);
  font-size: 8px;
  font-weight: 780;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.profile-credential-card strong {
  display: block;
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
}

.profile-credential-card p {
  margin: 10px 0 0;
  color: rgba(28,29,33,.66);
  font-size: 10.5px;
  line-height: 1.55;
}

.credential-index {
  position: absolute;
  top: 24px;
  right: 22px;
  color: rgba(100,29,59,.34);
  font-size: 8px;
  font-weight: 760;
  letter-spacing: .16em;
}

.credential-flags {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 8px;
}

.credential-flags img {
  width: 42px;
  height: 27px;
  border: 1px solid rgba(53,16,31,.12);
  border-radius: 5px;
  object-fit: cover;
  box-shadow: 0 7px 20px rgba(53,16,31,.09);
}

.credential-flags i {
  width: 12px;
  height: 1px;
  background: rgba(100,29,59,.3);
}

[data-profile-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 750ms cubic-bezier(.2,.8,.2,1);
}

[data-profile-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.profile-credential-card:nth-child(2) { transition-delay: 70ms; }
.profile-credential-card:nth-child(3) { transition-delay: 140ms; }
.profile-credential-card:nth-child(4) { transition-delay: 210ms; }

.profile-next-placeholder {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  text-align: center;
}

.profile-next-placeholder span,
.profile-next-placeholder small {
  color: var(--wine);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.profile-next-placeholder strong {
  margin: 13px 0 7px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -.045em;
}

.profile-mobile-group {
  display: grid;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.profile-mobile-group > strong {
  color: var(--lime);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}

.profile-mobile-group a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255,255,255,.8);
  font-size: 12px;
}

@media (max-width: 1280px) {
  .profile-hero-content { width: 57%; }
  .profile-hero-image { width: 59%; }
  .profile-standing-shell { grid-template-columns: 1fr; }
  .profile-standing-intro { display: grid; grid-template-columns: 1fr auto; align-items: end; }
  .profile-standing-intro .eyebrow { grid-column: 1 / -1; }
  .profile-standing-intro > a { margin: 0 0 4px; }
}

@media (max-width: 960px) {
  .profile-hero {
    min-height: 860px;
    align-items: flex-end;
    padding: 145px 32px 105px;
  }
  .profile-hero-image {
    top: 0;
    right: 0;
    width: 100%;
    height: 61%;
  }
  .profile-hero-image img { object-position: 55% center; }
  .profile-hero-shade {
    background: linear-gradient(180deg, rgba(53,16,31,.12) 0%, rgba(53,16,31,.35) 39%, rgba(53,16,31,.98) 64%, #35101f 100%);
  }
  .profile-hero::after { display: none; }
  .profile-hero-content { width: 100%; }
  .profile-hero h1 { max-width: 760px; font-size: clamp(57px, 10vw, 88px); }
  .profile-hero-intro { max-width: 700px; }
  .profile-hero-caption { display: none; }
  .profile-credential-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-credential-card:nth-child(2) { border-right: 0; }
  .profile-credential-card:nth-child(-n+2) { border-bottom: 1px solid rgba(100,29,59,.12); }
}

@media (max-width: 640px) {
  .profile-hero {
    min-height: 820px;
    padding: 118px 18px 88px;
  }
  .profile-hero-image { height: 48%; }
  .profile-hero-content { padding-top: 0; }
  .profile-hero h1 { font-size: clamp(49px, 15vw, 69px); line-height: .91; }
  .profile-hero-intro { margin-top: 24px; font-size: 14px; line-height: 1.68; }
  .profile-hero-actions { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 27px; }
  .profile-hero-meta { gap: 24px; margin-top: 30px; padding-top: 18px; }
  .profile-hero-meta strong { font-size: 10px; }
  .profile-hero-number { top: 92px; right: 18px; }
  .profile-scroll { left: 18px; bottom: 20px; }
  .profile-standing { padding: 48px 0; }
  .profile-standing-shell { width: calc(100% - 24px); gap: 28px; }
  .profile-standing-intro { display: block; }
  .profile-standing-intro > a { margin-top: 18px; }
  .profile-credential-grid { grid-template-columns: 1fr; border-radius: 18px; }
  .profile-credential-card { min-height: 188px; border-right: 0; border-bottom: 1px solid rgba(100,29,59,.12); }
  .profile-credential-card:last-child { border-bottom: 0; }
  .profile-credential-card:nth-child(2) { border-bottom: 1px solid rgba(100,29,59,.12); }
}

/* =========================================================
   PROFILE & PHILOSOPHY — COMPACT EDITORIAL ABOUT HERO V2
   ========================================================= */
.profile-about-hero {
  position: relative;
  min-height: 0;
  display: block;
  overflow: hidden;
  padding: 126px 0 42px;
  background:
    linear-gradient(90deg, rgba(100,29,59,.035) 1px, transparent 1px),
    #f7f4ef;
  background-size: 92px 100%;
  color: var(--ink);
  isolation: isolate;
}

.profile-about-hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 31%;
  height: 8px;
  background: var(--lime);
  content: "";
}

.profile-about-hero::after {
  position: absolute;
  z-index: -1;
  top: 112px;
  right: -9vw;
  width: 42vw;
  height: 42vw;
  border: 1px solid rgba(100,29,59,.1);
  border-radius: 50%;
  content: "";
}

.profile-about-mark {
  position: absolute;
  z-index: 0;
  top: 145px;
  left: 18px;
  color: rgba(100,29,59,.26);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .34em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.profile-about-shell {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(calc(100% - 104px), 1480px);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .72fr);
  align-items: center;
  gap: clamp(48px, 6vw, 108px);
}

.profile-about-copy {
  max-width: 820px;
}

.profile-about-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(100,29,59,.16);
}

.profile-about-topline > span {
  color: rgba(28,29,33,.5);
  font-size: 8px;
  font-weight: 780;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.profile-about-topline > a,
.profile-about-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--wine);
  font-size: 10px;
  font-weight: 760;
}

.profile-about-topline svg,
.profile-about-link svg {
  transition: transform 180ms ease;
}

.profile-about-topline a:hover svg,
.profile-about-link:hover svg {
  transform: translateX(4px);
}

.profile-about-hero .profile-kicker {
  margin-bottom: 11px;
  color: var(--wine);
}

.profile-about-hero h1 {
  max-width: none;
  margin: 0;
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: clamp(54px, 5.3vw, 84px);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .84;
}

.profile-about-hero h2 {
  max-width: 690px;
  margin: 20px 0 0;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(24px, 2vw, 35px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.04;
}

.profile-about-hero .profile-hero-intro,
.profile-hero-secondary {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(28,29,33,.72);
  font-size: 13.5px;
  line-height: 1.72;
}

.profile-hero-secondary {
  margin-top: 8px;
  color: rgba(28,29,33,.57);
}

.profile-about-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}

.profile-about-actions .button {
  min-height: 46px;
  padding: 0 20px;
  font-size: 11px;
}

.profile-about-facts {
  display: grid;
  margin-top: 27px;
  padding-top: 17px;
  border-top: 1px solid rgba(100,29,59,.14);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-about-facts span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
  padding: 0 18px;
  border-right: 1px solid rgba(100,29,59,.12);
}

.profile-about-facts span:first-child { padding-left: 0; }
.profile-about-facts span:last-child { border-right: 0; }

.profile-about-facts small {
  color: rgba(28,29,33,.42);
  font-size: 7.5px;
  font-weight: 770;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.profile-about-facts strong {
  overflow: hidden;
  color: var(--wine-dark);
  font-size: 10.5px;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-about-portrait {
  position: relative;
  width: min(100%, 470px);
  margin: 0 0 0 auto;
  padding: 12px 12px 0;
  border: 1px solid rgba(100,29,59,.16);
  background: rgba(255,255,255,.62);
  box-shadow: 0 25px 70px rgba(53,16,31,.11);
}

.profile-about-photo {
  position: relative;
  height: clamp(380px, 41vw, 500px);
  overflow: hidden;
  background: #ded7cf;
  clip-path: polygon(17% 0, 100% 0, 100% 100%, 0 100%, 0 17%);
}

.profile-about-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 64%, rgba(37,11,23,.16));
  content: "";
}

.profile-about-photo img {
  object-fit: cover;
  object-position: 50% 22%;
  filter: saturate(.91) contrast(1.015);
  transform: translate3d(0, calc(var(--profile-shift, 0px) * .25), 0) scale(1.025);
}

.profile-about-portrait figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 12px 4px 10px;
}

.profile-about-portrait figcaption span {
  max-width: 245px;
  color: var(--wine-dark);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.profile-about-portrait figcaption small {
  max-width: 150px;
  color: rgba(28,29,33,.46);
  font-size: 6.8px;
  line-height: 1.55;
  text-align: right;
}

.profile-about-signature {
  position: absolute;
  right: -24px;
  bottom: 54px;
  display: grid;
  width: 65px;
  height: 65px;
  place-items: center;
  border: 6px solid #f7f4ef;
  border-radius: 50%;
  background: var(--wine);
  color: var(--lime);
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: -.08em;
}

.profile-standing-compact {
  padding: 30px 0 34px;
  background: #efeae2;
}

.profile-standing-compact .profile-standing-shell {
  width: min(calc(100% - 104px), 1480px);
  grid-template-columns: minmax(225px, .55fr) minmax(0, 2.45fr);
  align-items: stretch;
  gap: clamp(26px, 3vw, 48px);
}

.profile-standing-compact .profile-standing-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-standing-compact .profile-standing-intro h2 {
  max-width: 280px;
  font-size: clamp(22px, 1.7vw, 28px);
  line-height: 1.08;
}

.profile-standing-compact .profile-standing-intro > a {
  margin-top: 14px;
  font-size: 9.5px;
}

.profile-credential-strip {
  border-radius: 17px;
  box-shadow: 0 14px 40px rgba(53,16,31,.055);
}

.profile-credential-strip .profile-credential-card {
  min-height: 126px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  align-items: center;
  justify-content: normal;
  gap: 14px;
  padding: 18px 16px;
}

.profile-credential-strip .credential-symbol {
  width: 48px;
  height: 42px;
}

.profile-credential-strip .flag-symbol {
  border-radius: 7px;
}

.profile-credential-strip .credential-seal {
  width: 48px;
  height: 48px;
  box-shadow: inset 0 0 0 3px #f4f0e9, inset 0 0 0 4px rgba(100,29,59,.12);
  font-size: 13px;
}

.profile-credential-strip .facs-seal {
  box-shadow: inset 0 0 0 3px var(--wine), inset 0 0 0 4px rgba(255,255,255,.5);
}

.profile-credential-strip .profile-credential-card small {
  margin-bottom: 5px;
  font-size: 6.7px;
}

.profile-credential-strip .profile-credential-card strong {
  font-size: clamp(15px, 1.2vw, 19px);
}

.profile-credential-strip .profile-credential-card p {
  margin-top: 5px;
  font-size: 8px;
  line-height: 1.4;
}

.profile-credential-strip .credential-flags {
  min-height: 42px;
  gap: 4px;
  flex-wrap: wrap;
}

.profile-credential-strip .credential-flags img {
  width: 29px;
  height: 19px;
  border-radius: 3px;
}

.profile-credential-strip .credential-flags i {
  width: 5px;
}

@media (max-width: 1180px) {
  .profile-about-shell,
  .profile-standing-compact .profile-standing-shell {
    width: min(calc(100% - 56px), 1120px);
  }

  .profile-about-shell {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .7fr);
    gap: 42px;
  }

  .profile-about-hero h1 { font-size: clamp(51px, 6vw, 74px); }
  .profile-about-photo { height: 420px; }

  .profile-standing-compact .profile-standing-shell {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .profile-standing-compact .profile-standing-intro {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .profile-standing-compact .profile-standing-intro .eyebrow { grid-column: 1 / -1; }
  .profile-standing-compact .profile-standing-intro > a { margin: 0 0 3px; }
  .profile-standing-compact .profile-standing-intro h2 { max-width: 500px; }
}

@media (max-width: 900px) {
  .profile-about-hero {
    padding: 118px 0 34px;
  }

  .profile-about-shell {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .profile-about-copy { max-width: none; }
  .profile-about-hero h1 { font-size: clamp(54px, 11vw, 76px); }
  .profile-about-hero h2 { max-width: 700px; }

  .profile-about-portrait {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .profile-about-photo {
    height: 430px;
    clip-path: polygon(11% 0, 100% 0, 100% 100%, 0 100%, 0 11%);
  }

  .profile-about-photo img { object-position: 50% 20%; }
  .profile-about-signature { right: 16px; }

  .profile-standing-compact .profile-standing-shell { width: calc(100% - 40px); }
  .profile-credential-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-credential-strip .profile-credential-card:nth-child(2) { border-right: 0; }
  .profile-credential-strip .profile-credential-card:nth-child(-n+2) { border-bottom: 1px solid rgba(100,29,59,.12); }
}

@media (max-width: 640px) {
  .profile-about-hero {
    padding: 103px 0 28px;
    background-size: 64px 100%;
  }

  .profile-about-mark { display: none; }
  .profile-about-shell { width: calc(100% - 28px); gap: 23px; }
  .profile-about-topline { margin-bottom: 19px; }
  .profile-about-topline > a { display: none; }
  .profile-about-hero h1 { font-size: clamp(46px, 15vw, 64px); }
  .profile-about-hero h2 { margin-top: 15px; font-size: 24px; }
  .profile-about-hero .profile-hero-intro,
  .profile-hero-secondary { font-size: 12.5px; line-height: 1.65; }
  .profile-about-actions { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 20px; }
  .profile-about-facts { grid-template-columns: 1fr; gap: 10px; margin-top: 20px; padding-top: 14px; }
  .profile-about-facts span { padding: 0 0 9px; border-right: 0; border-bottom: 1px solid rgba(100,29,59,.1); }
  .profile-about-facts span:last-child { border-bottom: 0; }
  .profile-about-photo { height: 370px; }
  .profile-about-portrait figcaption { align-items: flex-start; flex-direction: column; gap: 5px; }
  .profile-about-portrait figcaption small { max-width: none; text-align: left; }
  .profile-about-signature { width: 56px; height: 56px; right: 10px; bottom: 65px; }

  .profile-standing-compact { padding: 25px 0 28px; }
  .profile-standing-compact .profile-standing-shell { width: calc(100% - 24px); }
  .profile-standing-compact .profile-standing-intro { display: block; }
  .profile-standing-compact .profile-standing-intro > a { margin-top: 12px; }
  .profile-credential-strip { grid-template-columns: 1fr; }
  .profile-credential-strip .profile-credential-card,
  .profile-credential-strip .profile-credential-card:nth-child(2) {
    min-height: 104px;
    border-right: 0;
    border-bottom: 1px solid rgba(100,29,59,.12);
  }
  .profile-credential-strip .profile-credential-card:last-child { border-bottom: 0; }
}

/* =========================================================
   PROFILE & PHILOSOPHY — CINEMATIC OPENING V3
   ========================================================= */
.profile-cinematic-site {
  --profile-progress: 0;
  --profile-shift: 0px;
  background: #171a19;
}

.profile-cinematic-site .site-header {
  border-color: rgba(255,255,255,.58);
}

.profile-cinematic-hero {
  position: relative;
  height: clamp(620px, 76svh, 760px);
  min-height: 620px;
  overflow: hidden;
  background: #171b1a;
  color: #fff;
  isolation: isolate;
}

.profile-hero-photo {
  position: absolute;
  z-index: -5;
  inset: -4% -1% -9%;
  transform: translate3d(0, calc(var(--profile-shift) * .5), 0) scale(calc(1.035 + var(--profile-progress) * .035));
  transform-origin: 52% 36%;
  will-change: transform;
}

.profile-hero-photo img {
  object-fit: cover;
  object-position: 50% 38%;
  filter: saturate(.82) contrast(1.04) brightness(.72);
}

.profile-cinematic-overlay {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,14,13,.27) 0%, rgba(10,14,13,.13) 34%, rgba(15,17,16,.73) 100%),
    linear-gradient(90deg, rgba(19,22,21,.83) 0%, rgba(29,19,24,.34) 38%, rgba(18,20,19,.16) 70%, rgba(17,20,19,.48) 100%);
}

.profile-hero-atmosphere {
  position: absolute;
  z-index: -4;
  inset: 0;
  overflow: hidden;
  opacity: calc(1 - var(--profile-progress) * .35);
}

.profile-orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(38px);
  mix-blend-mode: screen;
  opacity: .44;
  will-change: transform;
}

.profile-orb-one {
  top: -24%;
  left: -7%;
  width: 42vw;
  height: 42vw;
  background: radial-gradient(circle, rgba(117,28,68,.95) 0%, rgba(117,28,68,.1) 66%, transparent 76%);
  animation: profileOrbOne 13s ease-in-out infinite alternate;
}

.profile-orb-two {
  top: 10%;
  right: -12%;
  width: 38vw;
  height: 38vw;
  background: radial-gradient(circle, rgba(183,204,116,.54) 0%, rgba(122,148,96,.08) 64%, transparent 76%);
  animation: profileOrbTwo 16s ease-in-out infinite alternate;
}

.profile-orb-three {
  right: 28%;
  bottom: -28%;
  width: 32vw;
  height: 32vw;
  background: radial-gradient(circle, rgba(125,72,101,.58) 0%, rgba(68,36,53,.08) 65%, transparent 77%);
  animation: profileOrbThree 18s ease-in-out infinite alternate;
}

@keyframes profileOrbOne {
  to { transform: translate3d(12vw, 7vh, 0) scale(1.14); }
}

@keyframes profileOrbTwo {
  to { transform: translate3d(-15vw, 12vh, 0) scale(.88); }
}

@keyframes profileOrbThree {
  to { transform: translate3d(8vw, -10vh, 0) scale(1.2); }
}

.profile-motion-ring {
  position: absolute;
  display: block;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  opacity: .74;
}

.profile-motion-ring.ring-one {
  top: 8%;
  right: 8%;
  width: 42vw;
  height: 42vw;
  animation: profileRingFloat 20s linear infinite;
}

.profile-motion-ring.ring-two {
  right: 22%;
  bottom: -29%;
  width: 34vw;
  height: 34vw;
  border-color: rgba(201,232,74,.16);
  animation: profileRingFloat 25s linear infinite reverse;
}

@keyframes profileRingFloat {
  50% { transform: translate3d(-2vw, 2vh, 0) rotate(180deg) scale(1.05); }
  to { transform: rotate(360deg); }
}

.profile-motion-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.038) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.9), transparent 82%);
  transform: translate3d(calc(var(--profile-progress) * -16px), calc(var(--profile-progress) * 18px), 0);
}

.profile-cinematic-copy {
  position: absolute;
  z-index: 2;
  right: max(4.8vw, 38px);
  bottom: clamp(48px, 7vh, 78px);
  left: max(4.8vw, 38px);
  transform: translate3d(0, calc(var(--profile-progress) * -50px), 0) scale(calc(1 - var(--profile-progress) * .025));
  transform-origin: left bottom;
  opacity: calc(1 - var(--profile-progress) * .84);
  will-change: transform, opacity;
}

.profile-hero-label {
  margin: 0 0 17px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.profile-cinematic-copy h1 {
  max-width: 1180px;
  margin: 0;
  text-shadow: 0 12px 42px rgba(0,0,0,.3);
}

.profile-cinematic-copy h1 > span {
  display: block;
  margin-bottom: 15px;
  color: rgba(255,255,255,.8);
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 31px);
  font-weight: 400;
  letter-spacing: -.03em;
}

.profile-cinematic-copy h1 > strong {
  display: block;
  color: #fff;
  font-size: clamp(48px, 5.55vw, 90px);
  font-weight: 760;
  letter-spacing: -.065em;
  line-height: .91;
  text-transform: uppercase;
}

.profile-hero-lower {
  display: flex;
  max-width: 1120px;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.27);
}

.profile-hero-lower p {
  max-width: 550px;
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.65;
}

.profile-hero-lower a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 11px;
  font-weight: 750;
}

.profile-hero-lower a svg {
  transition: transform 180ms ease;
}

.profile-hero-lower a:hover svg {
  transform: translateX(5px);
}

.profile-hero-corner {
  position: absolute;
  z-index: 2;
  top: 128px;
  right: max(4.8vw, 38px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  color: rgba(255,255,255,.84);
  text-align: right;
  opacity: calc(1 - var(--profile-progress) * 1.2);
}

.profile-hero-corner small {
  color: var(--lime);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.profile-hero-corner strong {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -.02em;
}

.profile-scroll-cue {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 22px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255,255,255,.6);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
}

.profile-scroll-cue span {
  position: relative;
  width: 34px;
  height: 1px;
  overflow: hidden;
  background: rgba(255,255,255,.25);
}

.profile-scroll-cue span::after {
  position: absolute;
  inset: 0;
  background: var(--lime);
  content: "";
  animation: profileScrollLine 1.8s ease-in-out infinite;
  transform: translateX(-100%);
}

.profile-story-intro {
  position: relative;
  z-index: 5;
  margin-top: -58px;
  padding: clamp(82px, 8vw, 124px) 0 clamp(72px, 7vw, 108px);
  border-radius: 34px 34px 0 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.025) 1px, transparent 1px),
    #171b1a;
  background-size: 92px 92px;
  color: #f7f4ef;
  box-shadow: 0 -26px 70px rgba(0,0,0,.2);
}

.profile-story-intro::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(84vw, 1350px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,232,74,.72), transparent);
  content: "";
  transform: translateX(-50%);
}

.profile-story-shell {
  display: grid;
  width: min(calc(100% - 96px), 1400px);
  margin: 0 auto;
  align-items: center;
  gap: clamp(54px, 7vw, 124px);
  grid-template-columns: minmax(340px, .72fr) minmax(0, 1.25fr);
}

.profile-story-portrait {
  position: relative;
  width: 100%;
  max-width: 490px;
  margin: 0;
}

.profile-story-photo {
  position: relative;
  height: clamp(450px, 48vw, 650px);
  overflow: hidden;
  border-radius: 4px;
  background: #313533;
  box-shadow: 0 34px 80px rgba(0,0,0,.34);
}

.profile-story-photo::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 58%, rgba(10,13,12,.5)),
    linear-gradient(90deg, rgba(100,29,59,.18), transparent 40%);
  content: "";
}

.profile-story-photo img {
  object-fit: cover;
  object-position: 50% 17%;
  filter: saturate(.85) contrast(1.04);
  transition: transform 900ms cubic-bezier(.2,.8,.2,1);
}

.profile-story-portrait:hover .profile-story-photo img {
  transform: scale(1.025);
}

.profile-photo-line {
  position: absolute;
  z-index: 2;
  display: block;
  background: var(--lime);
}

.profile-photo-line.line-top {
  top: 0;
  left: 0;
  width: 42%;
  height: 5px;
}

.profile-photo-line.line-side {
  top: 0;
  right: 0;
  width: 1px;
  height: 35%;
  background: rgba(201,232,74,.66);
}

.profile-story-portrait figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.72);
}

.profile-story-portrait figcaption span {
  max-width: 280px;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.profile-story-portrait figcaption small {
  color: var(--lime);
  font-size: 9px;
  font-weight: 700;
}

.profile-story-copy {
  max-width: 790px;
}

.profile-story-kicker {
  margin: 0 0 20px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.profile-story-copy h2 {
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(41px, 4.5vw, 72px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .98;
}

.profile-story-copy > p {
  max-width: 730px;
  margin: 20px 0 0;
  color: rgba(235,239,236,.64);
  font-size: 14px;
  line-height: 1.85;
}

.profile-story-copy > .profile-story-lead {
  margin-top: 30px;
  color: rgba(255,255,255,.89);
  font-size: clamp(18px, 1.7vw, 26px);
  font-weight: 420;
  letter-spacing: -.02em;
  line-height: 1.48;
}

.profile-story-facts {
  display: grid;
  margin-top: 34px;
  border-top: 1px solid rgba(255,255,255,.13);
  border-bottom: 1px solid rgba(255,255,255,.13);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-story-facts span {
  display: flex;
  min-height: 90px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 16px 21px;
  border-right: 1px solid rgba(255,255,255,.13);
}

.profile-story-facts span:first-child {
  padding-left: 0;
}

.profile-story-facts span:last-child {
  border-right: 0;
}

.profile-story-facts small {
  color: rgba(255,255,255,.42);
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.profile-story-facts strong {
  color: #fff;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
}

.profile-connect {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 25px;
}

.profile-connect > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.profile-connect small {
  color: var(--lime);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.profile-connect span {
  color: rgba(255,255,255,.42);
  font-size: 10px;
}

.profile-socials {
  display: flex;
  align-items: center;
  gap: 9px;
}

.profile-socials a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 50%;
  background: rgba(255,255,255,.035);
  color: #fff;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.profile-socials a:hover {
  border-color: var(--lime);
  background: var(--lime);
  color: #171b1a;
  transform: translateY(-3px);
}

.profile-socials svg {
  width: 17px;
  height: 17px;
}

.profile-credentials-band {
  position: relative;
  overflow: hidden;
  padding: 38px max(3.2vw, 28px) 44px;
  background: #f1ece5;
  color: var(--wine-dark);
  isolation: isolate;
}

.profile-credentials-watermark {
  position: absolute;
  z-index: -1;
  top: -18%;
  right: -2%;
  width: 38%;
  height: 138%;
  background-image:
    linear-gradient(90deg, #f1ece5 0%, rgba(241,236,229,.72) 38%, rgba(241,236,229,.12) 100%),
    url('../images/dr-hanna/surgery.webp');
  background-position: center;
  background-size: cover;
  filter: grayscale(1) contrast(.9);
  opacity: .14;
  mask-image: linear-gradient(90deg, transparent 0%, #000 48%);
}

.profile-credentials-head {
  display: flex;
  width: min(100%, 1480px);
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto 20px;
}

.profile-credentials-head p {
  margin: 0 0 7px;
  color: var(--wine);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.profile-credentials-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(25px, 2.2vw, 36px);
  font-weight: 400;
  letter-spacing: -.035em;
}

.profile-credentials-head a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(100,29,59,.35);
  color: var(--wine);
  font-size: 10px;
  font-weight: 760;
}

.profile-credentials-head a svg {
  transition: transform 180ms ease;
}

.profile-credentials-head a:hover svg {
  transform: translateX(4px);
}

.profile-credentials-grid {
  display: grid;
  width: min(100%, 1480px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(100,29,59,.13);
  border-radius: 20px;
  background: rgba(255,255,255,.74);
  box-shadow: 0 18px 54px rgba(53,16,31,.07);
  backdrop-filter: blur(12px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-credentials-grid article {
  display: grid;
  min-height: 112px;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  border-right: 1px solid rgba(100,29,59,.12);
  grid-template-columns: auto minmax(0, 1fr);
}

.profile-credentials-grid article:last-child {
  border-right: 0;
}

.profile-credential-icon {
  display: grid;
  width: 53px;
  height: 53px;
  place-items: center;
  flex: 0 0 auto;
}

.profile-flag-icon {
  overflow: hidden;
  height: 42px;
  border-radius: 8px;
  box-shadow: 0 7px 18px rgba(28,29,33,.1);
}

.profile-flag-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-roundel {
  border: 1px solid rgba(100,29,59,.26);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px #f6f1eb, inset 0 0 0 5px rgba(100,29,59,.13);
  color: var(--wine);
  font-family: var(--serif);
  font-size: 14px;
}

.profile-roundel-solid {
  border-color: var(--wine);
  background: var(--wine);
  box-shadow: inset 0 0 0 4px var(--wine), inset 0 0 0 5px rgba(255,255,255,.56);
  color: #fff;
}

.profile-credentials-grid small {
  display: block;
  margin-bottom: 5px;
  color: rgba(28,29,33,.47);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.profile-credentials-grid strong {
  display: block;
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: clamp(18px, 1.35vw, 23px);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.02;
}

.profile-credentials-grid p {
  margin: 6px 0 0;
  color: rgba(28,29,33,.57);
  font-size: 9px;
  line-height: 1.45;
}

.profile-route-flags {
  display: flex;
  min-width: 112px;
  align-items: center;
  gap: 5px;
}

.profile-route-flags img {
  width: 31px;
  height: 20px;
  border-radius: 3px;
  box-shadow: 0 5px 13px rgba(28,29,33,.08);
  object-fit: cover;
}

.profile-route-flags i {
  width: 7px;
  height: 1px;
  background: rgba(100,29,59,.36);
}

.profile-cinematic-site [data-profile-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 780ms cubic-bezier(.2,.8,.2,1), transform 900ms cubic-bezier(.2,.8,.2,1);
}

.profile-cinematic-site [data-profile-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.profile-credentials-grid article:nth-child(2) { transition-delay: 65ms; }
.profile-credentials-grid article:nth-child(3) { transition-delay: 130ms; }
.profile-credentials-grid article:nth-child(4) { transition-delay: 195ms; }

@media (max-width: 1180px) {
  .profile-cinematic-copy h1 > strong { font-size: clamp(46px, 6.5vw, 76px); }
  .profile-story-shell { width: min(calc(100% - 58px), 1120px); grid-template-columns: minmax(310px, .72fr) minmax(0, 1.2fr); gap: 54px; }
  .profile-story-copy h2 { font-size: clamp(39px, 4.8vw, 61px); }
  .profile-credentials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-credentials-grid article:nth-child(2) { border-right: 0; }
  .profile-credentials-grid article:nth-child(-n+2) { border-bottom: 1px solid rgba(100,29,59,.12); }
}

@media (max-width: 900px) {
  .profile-cinematic-hero { height: clamp(650px, 84svh, 760px); }
  .profile-hero-photo { right: -30%; left: -24%; }
  .profile-hero-photo img { object-position: 52% 34%; }
  .profile-cinematic-overlay { background: linear-gradient(180deg, rgba(12,15,14,.28), rgba(15,17,16,.78) 74%, #171b1a 100%); }
  .profile-cinematic-copy { right: 28px; bottom: 58px; left: 28px; }
  .profile-cinematic-copy h1 > strong { font-size: clamp(43px, 8.6vw, 68px); }
  .profile-hero-lower { align-items: flex-start; flex-direction: column; gap: 16px; margin-top: 22px; }
  .profile-hero-corner { top: 114px; right: 28px; }
  .profile-scroll-cue { display: none; }

  .profile-story-intro { margin-top: -38px; padding-top: 76px; border-radius: 26px 26px 0 0; }
  .profile-story-shell { width: calc(100% - 40px); grid-template-columns: 1fr; gap: 46px; }
  .profile-story-portrait { max-width: 100%; }
  .profile-story-photo { height: min(620px, 74vw); }
  .profile-story-copy { max-width: none; }
  .profile-story-facts { grid-template-columns: 1fr; }
  .profile-story-facts span { min-height: 72px; padding: 14px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .profile-story-facts span:last-child { border-bottom: 0; }

  .profile-credentials-band { padding-right: 20px; padding-left: 20px; }
  .profile-credentials-watermark { width: 58%; opacity: .1; }
}

@media (max-width: 640px) {
  .profile-cinematic-hero { height: 660px; min-height: 660px; }
  .profile-hero-photo { top: 0; right: -62%; bottom: 0; left: -55%; transform: translate3d(0, calc(var(--profile-shift) * .32), 0) scale(1.05); }
  .profile-hero-photo img { object-position: 51% 29%; }
  .profile-hero-atmosphere { opacity: .82; }
  .profile-motion-grid { background-size: 58px 58px; }
  .profile-cinematic-copy { right: 18px; bottom: 35px; left: 18px; }
  .profile-hero-label { margin-bottom: 12px; font-size: 8px; }
  .profile-cinematic-copy h1 > span { margin-bottom: 11px; font-size: 19px; }
  .profile-cinematic-copy h1 > strong { font-size: clamp(38px, 11.5vw, 53px); line-height: .94; }
  .profile-hero-lower { margin-top: 18px; padding-top: 13px; }
  .profile-hero-lower p { font-size: 11.5px; line-height: 1.55; }
  .profile-hero-lower a { font-size: 10px; }
  .profile-hero-corner { top: 103px; right: 18px; }
  .profile-hero-corner strong { font-size: 14px; }

  .profile-story-intro { margin-top: -24px; padding: 58px 0 62px; border-radius: 20px 20px 0 0; }
  .profile-story-shell { width: calc(100% - 28px); gap: 34px; }
  .profile-story-photo { height: 440px; }
  .profile-story-portrait figcaption { align-items: flex-start; flex-direction: column; gap: 5px; }
  .profile-story-copy h2 { font-size: clamp(36px, 11vw, 50px); }
  .profile-story-copy > .profile-story-lead { margin-top: 24px; font-size: 18px; }
  .profile-story-copy > p { margin-top: 16px; font-size: 12.5px; line-height: 1.75; }
  .profile-connect { align-items: flex-start; flex-direction: column; gap: 17px; }
  .profile-socials { flex-wrap: wrap; }
  .profile-socials a { width: 40px; height: 40px; }

  .profile-credentials-band { padding: 29px 12px 34px; }
  .profile-credentials-head { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 16px; padding: 0 4px; }
  .profile-credentials-head h2 { font-size: 27px; }
  .profile-credentials-grid { grid-template-columns: 1fr; border-radius: 16px; }
  .profile-credentials-grid article,
  .profile-credentials-grid article:nth-child(2) {
    min-height: 100px;
    padding: 15px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(100,29,59,.12);
  }
  .profile-credentials-grid article:last-child { border-bottom: 0; }
  .profile-credentials-grid strong { font-size: 20px; }
  .profile-credentials-watermark { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .profile-orb,
  .profile-motion-ring,
  .profile-scroll-cue span::after {
    animation: none !important;
  }

  .profile-hero-photo,
  .profile-cinematic-copy,
  .profile-motion-grid {
    transform: none !important;
  }
}

/* =========================================================
   PROFILE & PHILOSOPHY — V4 AURORA HANDOFF
   Visible burgundy motion + pinned hero-to-story transition
   ========================================================= */
.profile-cinematic-site {
  --profile-mouse-x: 0;
  --profile-mouse-y: 0;
  background: #f0e8e3;
}

.profile-hero-scroll-stage {
  position: relative;
  height: 112svh;
  min-height: 780px;
  background: #6a1f42;
}

.profile-cinematic-hero {
  position: sticky;
  top: 0;
  height: 82svh;
  min-height: 610px;
  max-height: 780px;
  border-radius: 0 0 34px 34px;
  background:
    radial-gradient(circle at 18% 20%, rgba(236,166,171,.55), transparent 32%),
    radial-gradient(circle at 82% 28%, rgba(104,33,77,.78), transparent 36%),
    linear-gradient(125deg, #4a102b 0%, #702547 38%, #9a5167 68%, #c48b83 100%);
  background-size: 180% 180%;
  box-shadow: 0 34px 90px rgba(74,16,43,.28);
  animation: profileAuroraBase 15s ease-in-out infinite alternate;
  transform: translate3d(0, calc(var(--profile-progress) * -18px), 0) scale(calc(1 - var(--profile-progress) * .026));
  transform-origin: center top;
  will-change: transform;
}

@keyframes profileAuroraBase {
  0% { background-position: 0% 36%; }
  50% { background-position: 72% 58%; }
  100% { background-position: 100% 20%; }
}

.profile-hero-photo {
  z-index: -1;
  top: 4%;
  right: 2%;
  bottom: -3%;
  left: 34%;
  opacity: calc(.94 - var(--profile-progress) * .16);
  transform:
    translate3d(
      calc(var(--profile-mouse-x) * 18px),
      calc(var(--profile-shift) * .42 + var(--profile-mouse-y) * 14px),
      0
    )
    scale(calc(1.02 + var(--profile-progress) * .045));
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.2) 8%, #000 30%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.2) 8%, #000 30%, #000 94%, transparent 100%);
}

.profile-hero-photo::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(78,14,42,.78) 0%, transparent 30%, transparent 72%, rgba(88,25,54,.23) 100%),
    linear-gradient(180deg, rgba(62,16,38,.08), rgba(62,16,38,.46));
  content: "";
  pointer-events: none;
}

.profile-hero-photo img {
  object-position: 57% 38%;
  filter: saturate(.9) contrast(1.03) brightness(.92);
}

.profile-cinematic-overlay {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(57,8,31,.93) 0%, rgba(67,13,38,.76) 33%, rgba(90,27,54,.18) 62%, rgba(58,11,35,.3) 100%),
    linear-gradient(180deg, rgba(79,19,47,.1), rgba(62,12,38,.58) 100%);
  opacity: calc(1 - var(--profile-progress) * .12);
}

.profile-hero-atmosphere {
  z-index: 1;
  opacity: calc(1 - var(--profile-progress) * .18);
  pointer-events: none;
}

.profile-aurora-wave {
  position: absolute;
  display: block;
  border-radius: 44% 56% 63% 37% / 36% 45% 55% 64%;
  filter: blur(2px);
  mix-blend-mode: screen;
  opacity: .55;
  will-change: transform, border-radius;
}

.profile-aurora-wave.wave-one {
  top: -13%;
  left: -6%;
  width: 47vw;
  height: 40vw;
  background: radial-gradient(circle at 60% 48%, rgba(238,172,177,.72), rgba(167,63,94,.12) 58%, transparent 72%);
  animation: profileWaveOne 12s ease-in-out infinite alternate;
}

.profile-aurora-wave.wave-two {
  top: 19%;
  right: -10%;
  width: 40vw;
  height: 44vw;
  background: radial-gradient(circle at 38% 42%, rgba(214,135,151,.66), rgba(104,30,79,.1) 62%, transparent 75%);
  animation: profileWaveTwo 16s ease-in-out infinite alternate;
}

.profile-aurora-wave.wave-three {
  right: 24%;
  bottom: -29%;
  width: 37vw;
  height: 35vw;
  background: radial-gradient(circle at 50% 44%, rgba(201,232,74,.26), rgba(127,77,91,.08) 64%, transparent 76%);
  animation: profileWaveThree 18s ease-in-out infinite alternate;
}

@keyframes profileWaveOne {
  0% { transform: translate3d(-3vw,-2vh,0) rotate(-8deg) scale(.92); border-radius: 44% 56% 63% 37% / 36% 45% 55% 64%; }
  100% { transform: translate3d(13vw,9vh,0) rotate(20deg) scale(1.2); border-radius: 62% 38% 46% 54% / 58% 35% 65% 42%; }
}
@keyframes profileWaveTwo {
  0% { transform: translate3d(4vw,-4vh,0) rotate(14deg) scale(1.08); border-radius: 36% 64% 54% 46% / 48% 62% 38% 52%; }
  100% { transform: translate3d(-14vw,10vh,0) rotate(-18deg) scale(.9); border-radius: 58% 42% 35% 65% / 63% 40% 60% 37%; }
}
@keyframes profileWaveThree {
  0% { transform: translate3d(-6vw,6vh,0) rotate(-10deg) scale(.94); }
  100% { transform: translate3d(12vw,-12vh,0) rotate(24deg) scale(1.22); }
}

.profile-prism-field {
  position: absolute;
  inset: -25%;
  background:
    conic-gradient(from 180deg at 50% 50%, transparent, rgba(255,216,218,.08), transparent 22%, rgba(201,232,74,.06), transparent 48%, rgba(255,255,255,.08), transparent 72%);
  opacity: .78;
  animation: profilePrismSpin 28s linear infinite;
  transform: translate3d(calc(var(--profile-mouse-x) * -20px), calc(var(--profile-mouse-y) * -14px), 0);
}

@keyframes profilePrismSpin { to { transform: rotate(360deg); } }

.profile-orb-one { background: radial-gradient(circle, rgba(255,171,185,.8), rgba(163,55,92,.08) 67%, transparent 76%); }
.profile-orb-two { background: radial-gradient(circle, rgba(219,147,163,.54), rgba(144,69,101,.06) 65%, transparent 76%); }
.profile-orb-three { background: radial-gradient(circle, rgba(201,232,74,.25), rgba(68,36,53,.05) 65%, transparent 77%); }
.profile-motion-ring { border-color: rgba(255,231,235,.2); }
.profile-motion-ring.ring-two { border-color: rgba(201,232,74,.19); }
.profile-motion-grid { opacity: .45; mask-image: linear-gradient(90deg, #000 0%, transparent 82%); }

.profile-cinematic-copy {
  right: auto;
  bottom: clamp(54px, 8vh, 82px);
  left: max(5vw, 46px);
  width: min(57vw, 820px);
  transform: translate3d(calc(var(--profile-progress) * -34px), calc(var(--profile-progress) * -46px), 0);
  opacity: calc(1 - var(--profile-progress) * .92);
}

.profile-cinematic-copy h1 > span { color: rgba(255,245,245,.84); }
.profile-cinematic-copy h1 > strong {
  font-size: clamp(52px, 5.25vw, 84px);
  letter-spacing: -.06em;
  line-height: .93;
}
.profile-hero-lower { max-width: 740px; }
.profile-hero-corner { color: rgba(255,242,244,.9); }
.profile-scroll-cue { color: rgba(255,242,244,.72); }

.profile-story-intro {
  z-index: 8;
  margin-top: -18svh;
  padding-top: clamp(86px, 9vw, 128px);
  border-radius: 42px 42px 0 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(211,118,143,.28), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(201,232,74,.09), transparent 26%),
    linear-gradient(130deg, #52132f 0%, #681d3f 46%, #7e3150 100%);
  background-size: 150% 150%;
  color: #fff8f4;
  box-shadow: 0 -28px 70px rgba(66,10,36,.28);
  opacity: calc(.55 + var(--profile-progress) * .45);
  transform: translate3d(0, calc((1 - var(--profile-progress)) * 76px), 0);
  animation: profileStoryAurora 18s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes profileStoryAurora {
  0% { background-position: 0% 45%; }
  100% { background-position: 100% 55%; }
}

.profile-story-intro::before {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,205,216,.72), rgba(201,232,74,.75), transparent);
}

.profile-story-intro::after {
  position: absolute;
  top: -130px;
  left: 50%;
  width: min(72vw, 1100px);
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(222,134,156,.34), transparent 70%);
  content: "";
  filter: blur(20px);
  transform: translateX(-50%);
  pointer-events: none;
}

.profile-story-photo {
  background: #8a425c;
  box-shadow: 0 34px 80px rgba(57,8,31,.35);
}
.profile-story-photo::after {
  background:
    linear-gradient(180deg, transparent 58%, rgba(61,13,36,.58)),
    linear-gradient(90deg, rgba(122,24,66,.22), transparent 42%);
}
.profile-story-copy h2 { color: #fff9f6; }
.profile-story-copy > p { color: rgba(255,245,242,.74); }
.profile-story-copy > .profile-story-lead { color: rgba(255,249,246,.94); }
.profile-story-facts { border-color: rgba(255,234,238,.16); }
.profile-story-facts span { border-color: rgba(255,234,238,.14); }
.profile-story-facts small { color: #d8ef75; }
.profile-connect small { color: #d8ef75; }
.profile-socials a:hover { background: #d8ef75; border-color: #d8ef75; color: #4d1330; }

@media (max-width: 900px) {
  .profile-hero-scroll-stage { height: 104svh; min-height: 720px; }
  .profile-cinematic-hero { height: 78svh; min-height: 620px; border-radius: 0 0 28px 28px; }
  .profile-hero-photo { right: -22%; left: 12%; }
  .profile-cinematic-copy { right: 28px; left: 28px; width: auto; }
  .profile-cinematic-overlay {
    background:
      linear-gradient(180deg, rgba(67,14,39,.16) 0%, rgba(70,18,42,.38) 44%, rgba(62,10,36,.88) 100%),
      linear-gradient(90deg, rgba(55,8,31,.78), transparent 72%);
  }
  .profile-story-intro { margin-top: -13svh; }
}

@media (max-width: 640px) {
  .profile-hero-scroll-stage { height: 98svh; min-height: 690px; }
  .profile-cinematic-hero { height: 74svh; min-height: 590px; border-radius: 0 0 22px 22px; }
  .profile-hero-photo {
    top: 4%;
    right: -75%;
    bottom: -4%;
    left: -12%;
    opacity: .92;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
  }
  .profile-hero-photo img { object-position: 52% 24%; }
  .profile-cinematic-copy { right: 18px; bottom: 34px; left: 18px; }
  .profile-cinematic-copy h1 > strong { font-size: clamp(39px, 11vw, 52px); }
  .profile-story-intro { margin-top: -10svh; border-radius: 24px 24px 0 0; }
  .profile-aurora-wave.wave-one { width: 84vw; height: 84vw; }
  .profile-aurora-wave.wave-two { width: 74vw; height: 82vw; }
  .profile-aurora-wave.wave-three { width: 70vw; height: 68vw; }
}

@media (prefers-reduced-motion: reduce) {
  .profile-cinematic-hero,
  .profile-story-intro,
  .profile-aurora-wave,
  .profile-prism-field { animation: none !important; }
}

/* =========================================================
   PROFILE & PHILOSOPHY V5 — exact site shell + bespoke hero
   ========================================================= */
.profile-v5-site {
  --profile-progress: 0;
  --mouse-x: 0;
  --mouse-y: 0;
  overflow: clip;
  background: #f6f0ea;
}

.profile-v5-site .brand-logo-mark {
  display: grid;
  flex: 0 0 49px;
  width: 49px;
  height: 49px;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: #f8f5f0;
}

.profile-v5-site .brand-logo-mark img {
  width: 49px;
  height: 49px;
  object-fit: cover;
}

.profile-v5-site .site-header {
  top: 20px;
}

.profile-v5-stage {
  position: relative;
  min-height: 1500px;
  height: 165vh;
  background: #3b0a22;
}

.profile-v5-hero {
  position: sticky;
  z-index: 1;
  top: 0;
  height: min(790px, 100vh);
  min-height: 650px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 28%, rgba(245, 221, 211, 0.24), transparent 24%),
    linear-gradient(125deg, #230615 0%, #4e102e 43%, #7a3151 100%);
  color: #fff;
  isolation: isolate;
}

.profile-v5-motion-bg,
.profile-v5-motion-bg::before,
.profile-v5-motion-bg::after {
  position: absolute;
  inset: 0;
}

.profile-v5-motion-bg {
  z-index: -3;
  overflow: hidden;
  transform: scale(calc(1 + var(--profile-progress) * 0.035));
  transition: transform 80ms linear;
}

.profile-v5-motion-bg::before {
  content: "";
  background:
    radial-gradient(circle at 18% 16%, rgba(240, 204, 211, 0.26), transparent 22%),
    radial-gradient(circle at 74% 22%, rgba(255, 237, 224, 0.23), transparent 24%),
    radial-gradient(circle at 62% 76%, rgba(179, 92, 128, 0.36), transparent 30%),
    linear-gradient(118deg, rgba(38, 5, 23, 0.78), rgba(111, 20, 62, 0.32) 52%, rgba(231, 185, 190, 0.16));
  animation: profileBackdropBreath 12s ease-in-out infinite alternate;
}

.profile-v5-motion-bg::after {
  content: "";
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%, #000 100%);
}

.profile-wave-svg {
  position: absolute;
  left: -8%;
  width: 116%;
  height: 112%;
  pointer-events: none;
  transform-origin: center;
  will-change: transform;
}

.profile-wave-back {
  top: -10%;
  opacity: 0.82;
  filter: blur(1px) saturate(1.08);
  animation: profileWaveBack 18s ease-in-out infinite alternate;
}

.profile-wave-mid {
  top: -6%;
  opacity: 0.74;
  filter: blur(10px) saturate(1.15);
  animation: profileWaveMid 14s ease-in-out infinite alternate-reverse;
}

.profile-wave-front {
  top: 4%;
  opacity: 0.62;
  filter: blur(18px) saturate(0.96);
  animation: profileWaveFront 16s ease-in-out infinite alternate;
}

.profile-v5-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  mix-blend-mode: screen;
  opacity: 0.4;
  will-change: transform;
}

.profile-v5-glow-one {
  top: 12%;
  left: 44%;
  width: 380px;
  height: 380px;
  background: rgba(255, 222, 215, 0.46);
  animation: profileGlowOne 11s ease-in-out infinite alternate;
}

.profile-v5-glow-two {
  right: 4%;
  bottom: 6%;
  width: 430px;
  height: 430px;
  background: rgba(121, 54, 88, 0.44);
  animation: profileGlowTwo 13s ease-in-out infinite alternate-reverse;
}

.profile-v5-fine-lines {
  position: absolute;
  top: -30%;
  right: -12%;
  width: 72vw;
  height: 72vw;
  max-width: 1100px;
  max-height: 1100px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 48% 52% 43% 57%;
  box-shadow:
    inset 0 0 0 85px rgba(255, 255, 255, 0.018),
    inset 0 0 0 170px rgba(255, 255, 255, 0.015);
  animation: profileContour 24s linear infinite;
}

.profile-v5-copy {
  position: absolute;
  z-index: 4;
  top: clamp(145px, 18vh, 190px);
  left: clamp(38px, 6.2vw, 106px);
  width: min(47vw, 690px);
  transform:
    translateY(calc(var(--profile-progress) * -72px))
    translateX(calc(var(--mouse-x) * -7px));
  opacity: calc(1 - var(--profile-progress) * 0.78);
  transition: opacity 50ms linear, transform 50ms linear;
}

.profile-v5-kicker {
  margin: 0 0 18px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.profile-v5-copy h1 {
  margin: 0;
  color: #fff9f5;
  font-family: var(--serif);
  font-size: clamp(58px, 6.2vw, 106px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.82;
}

.profile-v5-statement {
  max-width: 650px;
  margin: 25px 0 14px;
  color: #fff6f2;
  font-family: var(--serif);
  font-size: clamp(25px, 2.15vw, 39px);
  line-height: 1.08;
}

.profile-v5-summary {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 250, 246, 0.74);
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.72;
}

.profile-v5-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 26px;
}

.profile-v5-actions a {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 720;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.profile-v5-actions a:first-child {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--wine-dark);
}

.profile-v5-actions a:hover {
  transform: translateY(-2px);
}

.profile-v5-actions a:not(:first-child):hover {
  background: rgba(255, 255, 255, 0.1);
}


.profile-v5-doctor {
  position: absolute;
  z-index: 3;
  right: clamp(54px, 7.5vw, 126px);
  bottom: -4%;
  width: min(34vw, 520px);
  height: 86%;
  transform:
    translate3d(
      calc(var(--mouse-x) * 13px),
      calc(var(--profile-progress) * 75px + var(--mouse-y) * 8px),
      0
    )
    scale(calc(1 + var(--profile-progress) * 0.045));
  transform-origin: center bottom;
  filter: drop-shadow(0 32px 44px rgba(24, 3, 15, 0.34));
  pointer-events: none;
  transition: transform 60ms linear;
}

.profile-v5-doctor img {
  object-fit: contain;
  object-position: center bottom;
}

.profile-v5-doctor-halo {
  position: absolute;
  z-index: -1;
  inset: 7% -5% 4%;
  border-radius: 48% 52% 46% 54%;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 238, 224, 0.54), transparent 39%),
    linear-gradient(150deg, rgba(231, 198, 202, 0.26), rgba(78, 12, 44, 0.05));
  filter: blur(18px);
  animation: profileDoctorHalo 8s ease-in-out infinite alternate;
}

.profile-v5-meta {
  position: absolute;
  z-index: 6;
  top: clamp(128px, 14.5vh, 154px);
  right: clamp(26px, 3.2vw, 56px);
  width: 206px;
  padding: 14px 16px 15px;
  border: 1px solid rgba(201, 232, 74, 0.58);
  border-radius: 17px;
  background: rgba(41, 7, 24, 0.72);
  box-shadow: 0 16px 42px rgba(23, 3, 14, 0.18);
  backdrop-filter: blur(16px);
  color: #fff;
  opacity: calc(1 - var(--profile-progress) * 1.15);
}

.profile-v5-meta-number {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.profile-v5-meta-number b {
  color: var(--lime);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 0.95;
}

.profile-v5-meta-number small {
  color: rgba(255,255,255,0.74);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.profile-v5-meta > strong {
  display: block;
  color: #fff9f5;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.15;
}

.profile-v5-meta > span {
  display: block;
  margin-top: 7px;
  color: var(--lime);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.profile-v5-meta > p {
  margin: 4px 0 0;
  color: rgba(255,255,255,0.68);
  font-size: 9px;
  line-height: 1.35;
}

.profile-v5-scroll {
  position: absolute;
  z-index: 4;
  bottom: 30px;
  left: clamp(38px, 6.2vw, 106px);
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: calc(1 - var(--profile-progress) * 1.45);
}

.profile-v5-scroll i {
  width: 34px;
  height: 1px;
  background: var(--lime);
  animation: profileScrollLine 1.8s ease-in-out infinite;
}

.profile-v5-about {
  position: absolute;
  z-index: 10;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 790px;
  padding: 78px clamp(28px, 5.2vw, 88px) 70px;
  border-radius: 42px 42px 0 0;
  background:
    radial-gradient(circle at 9% 7%, rgba(122, 33, 72, 0.075), transparent 27%),
    linear-gradient(180deg, #faf7f2 0%, #f2ebe5 100%);
  box-shadow: 0 -35px 90px rgba(39, 5, 24, 0.2);
  color: var(--ink);
  transform: translateY(calc((1 - var(--profile-progress)) * 72vh));
  transition: transform 65ms linear;
}

.profile-v5-about::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 88px;
  height: 4px;
  border-radius: 20px;
  background: var(--lime);
  content: "";
  transform: translateX(-50%);
}

.profile-v5-about-inner {
  display: grid;
  width: min(1380px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(310px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 6vw, 105px);
  align-items: center;
}

.profile-v5-about-photo {
  position: relative;
  margin: 0;
}

.profile-v5-about-photo > img {
  position: relative !important;
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 0.8;
  border-radius: 25px;
  object-fit: cover;
  object-position: center 14%;
  box-shadow: 0 28px 65px rgba(67, 18, 43, 0.16);
}

.profile-v5-about-photo::after {
  position: absolute;
  inset: 18px -17px -17px 18px;
  z-index: -1;
  border: 1px solid rgba(100, 29, 59, 0.25);
  border-radius: 25px;
  content: "";
}

.profile-v5-about-photo figcaption {
  position: absolute;
  right: 14px;
  bottom: 18px;
  display: flex;
  max-width: 235px;
  flex-direction: column;
  gap: 3px;
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  background: rgba(82, 16, 48, 0.88);
  color: #fff;
  box-shadow: 0 14px 34px rgba(57, 10, 34, 0.18);
  backdrop-filter: blur(10px);
}

.profile-v5-about-photo figcaption strong {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
}

.profile-v5-about-photo figcaption span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.profile-v5-about-kicker {
  margin: 0 0 14px;
  color: var(--wine);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.profile-v5-about-copy h2 {
  max-width: 850px;
  margin: 0 0 20px;
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: clamp(39px, 4.2vw, 70px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.profile-v5-about-copy > p:not(.profile-v5-about-kicker) {
  max-width: 830px;
  margin: 0 0 13px;
  color: rgba(28, 29, 33, 0.68);
  font-size: clamp(12px, 0.95vw, 15px);
  line-height: 1.72;
}

.profile-v5-about-copy .profile-v5-about-lead {
  color: rgba(28, 29, 33, 0.84) !important;
  font-size: clamp(15px, 1.2vw, 19px) !important;
  line-height: 1.62 !important;
}

.profile-v5-facts {
  display: grid;
  margin-top: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.profile-v5-facts span {
  display: flex;
  min-height: 82px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(174, 207, 52, 0.52);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(201, 232, 74, 0.22), rgba(247, 250, 231, 0.72));
  box-shadow: 0 12px 28px rgba(77, 92, 18, 0.08);
}

.profile-v5-facts small,
.profile-v5-connect small {
  color: rgba(83, 28, 52, 0.66);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.profile-v5-facts strong {
  color: var(--wine-dark);
  font-size: 11px;
  line-height: 1.45;
}

.profile-v5-connect {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 20px;
}

.profile-v5-connect > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.profile-v5-connect > div:first-child span {
  color: rgba(28, 29, 33, 0.52);
  font-size: 9px;
}

.profile-v5-socials {
  display: flex;
  gap: 8px;
}

.profile-v5-socials a {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid rgba(100, 29, 59, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  color: var(--wine);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.profile-v5-socials a:hover {
  background: var(--wine);
  color: white;
  transform: translateY(-2px);
}

.profile-v5-credentials {
  position: relative;
  z-index: 20;
  padding: 52px clamp(28px, 4.5vw, 76px) 58px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(249, 246, 241, 0.97)),
    #fff;
}

.profile-v5-credentials-head {
  display: flex;
  width: min(1440px, 100%);
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin: 0 auto 28px;
}

.profile-v5-credentials-head p {
  margin: 0 0 6px;
  color: var(--wine);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.profile-v5-credentials-head h2 {
  margin: 0;
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.profile-v5-credentials-head > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--wine);
  font-size: 9px;
  font-weight: 750;
}

.profile-v5-credentials-grid {
  display: grid;
  width: min(1440px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(100, 29, 59, 0.13);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 55px rgba(59, 17, 38, 0.08);
}

.profile-v5-credentials-grid article {
  display: flex;
  min-height: 150px;
  align-items: center;
  gap: 20px;
  padding: 26px 26px;
  border-right: 1px solid rgba(100, 29, 59, 0.12);
}

.profile-v5-credentials-grid article:last-child {
  border-right: 0;
}

.profile-v5-credentials-grid article.is-route-card {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.profile-v5-credential-icon {
  display: grid;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  place-items: center;
}

.profile-v5-flag img,
.profile-v5-route-flags img {
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(32, 20, 25, 0.1);
}

.profile-v5-roundel {
  border: 1px solid rgba(100, 29, 59, 0.25);
  border-radius: 50%;
  box-shadow: inset 0 0 0 6px #f7f1ee;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 20px;
}

.profile-v5-roundel.is-solid {
  border-color: var(--wine);
  background: var(--wine);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.12);
  color: white;
}

.profile-v5-credentials-grid article > div:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.profile-v5-credentials-grid small {
  color: rgba(28, 29, 33, 0.48);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.profile-v5-credentials-grid strong {
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: clamp(21px, 1.85vw, 31px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.profile-v5-credentials-grid article.is-route-card > div:last-child {
  width: 100%;
  gap: 4px;
}

.profile-v5-credentials-grid article.is-route-card strong {
  white-space: nowrap;
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.08;
}

.profile-v5-credentials-grid article.is-route-card p {
  max-width: 230px;
  font-size: 9px;
}

.profile-v5-credentials-grid p {
  margin: 1px 0 0;
  color: rgba(28, 29, 33, 0.55);
  font-size: 9px;
  line-height: 1.45;
}

.profile-v5-route-flags {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}

.profile-v5-route-flags img {
  width: 46px;
  height: 29px;
  flex: 0 0 46px;
  object-fit: cover;
}

.profile-v5-route-flags i {
  width: 10px;
  height: 1px;
  flex: 0 0 10px;
  background: rgba(100, 29, 59, 0.32);
}

@keyframes profileBackdropBreath {
  0% { transform: scale(1) translate3d(0, 0, 0); filter: hue-rotate(0deg); }
  100% { transform: scale(1.08) translate3d(-1.4%, 1.2%, 0); filter: hue-rotate(7deg); }
}

@keyframes profileWaveBack {
  0% { transform: translate3d(-3%, -1%, 0) scale(1.04) rotate(-1deg); }
  100% { transform: translate3d(4%, 3%, 0) scale(1.1) rotate(1.4deg); }
}

@keyframes profileWaveMid {
  0% { transform: translate3d(4%, 0, 0) scale(1.02) skewX(-2deg); }
  100% { transform: translate3d(-5%, -2%, 0) scale(1.09) skewX(3deg); }
}

@keyframes profileWaveFront {
  0% { transform: translate3d(-2%, 3%, 0) scale(1.06); }
  100% { transform: translate3d(5%, -3%, 0) scale(1.12); }
}

@keyframes profileGlowOne {
  0% { transform: translate3d(-15px, -10px, 0) scale(0.9); opacity: 0.28; }
  100% { transform: translate3d(55px, 35px, 0) scale(1.18); opacity: 0.5; }
}

@keyframes profileGlowTwo {
  0% { transform: translate3d(20px, 15px, 0) scale(0.9); }
  100% { transform: translate3d(-55px, -20px, 0) scale(1.2); }
}

@keyframes profileContour {
  to { transform: rotate(360deg); }
}

@keyframes profileSceneFloat {
  0% { transform: scale(1.04) translate3d(0, 0, 0); }
  100% { transform: scale(1.1) translate3d(-1.8%, 1.4%, 0); }
}

@keyframes profileDoctorHalo {
  0% { transform: scale(0.94) rotate(-3deg); opacity: 0.45; }
  100% { transform: scale(1.06) rotate(3deg); opacity: 0.72; }
}

@keyframes profileScrollLine {
  0%, 100% { transform: scaleX(0.45); transform-origin: left; }
  50% { transform: scaleX(1); transform-origin: left; }
}

@media (max-width: 1180px) {
  .profile-v5-copy {
    width: 50vw;
  }

  .profile-v5-doctor {
    right: 18px;
    width: 36vw;
  }

  .profile-v5-meta {
    display: none;
  }

  .profile-v5-credentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile-v5-credentials-grid article:nth-child(2) {
    border-right: 0;
  }

  .profile-v5-credentials-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(100, 29, 59, 0.12);
  }
}

@media (max-width: 900px) {
  .profile-v5-site .site-header {
    top: 10px;
  }

  .profile-v5-site .brand-logo-mark,
  .profile-v5-site .brand-logo-mark img {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .profile-v5-stage {
    height: auto;
    min-height: 0;
    background: #3b0a22;
  }

  .profile-v5-hero {
    position: relative;
    height: 760px;
    min-height: 0;
  }

  .profile-v5-copy {
    top: 128px;
    left: 6vw;
    width: 88vw;
    transform: none;
    opacity: 1;
  }

  .profile-v5-copy h1 {
    font-size: clamp(54px, 14vw, 80px);
  }

  .profile-v5-statement {
    max-width: 85vw;
    font-size: clamp(23px, 5.6vw, 34px);
  }

  .profile-v5-summary {
    max-width: 86vw;
    font-size: 12px;
  }

  .profile-v5-doctor {
    right: -1vw;
    bottom: -8%;
    width: 56vw;
    height: 62%;
    opacity: 0.94;
    transform: none;
  }

  .profile-v5-copy {
    text-shadow: 0 2px 18px rgba(42, 7, 26, 0.35);
  }

  .profile-v5-about {
    position: relative;
    min-height: 0;
    padding: 64px 6vw 58px;
    border-radius: 30px 30px 0 0;
    transform: none;
  }

  .profile-v5-about-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .profile-v5-about-photo {
    width: min(520px, 92vw);
    margin: 0 auto;
  }

  .profile-v5-about-photo figcaption {
    right: 14px;
  }

  .profile-v5-facts {
    grid-template-columns: 1fr;
  }

  .profile-v5-facts {
    grid-template-columns: 1fr;
  }

  .profile-v5-facts span {
    min-height: 68px;
  }

  .profile-v5-connect {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .profile-v5-site .site-header {
    width: calc(100vw - 16px);
    min-height: 68px;
    padding: 8px 8px 8px 11px;
    border-radius: 17px;
  }

  .profile-v5-site .brand-copy strong {
    font-size: 8.8px;
  }

  .profile-v5-site .brand-copy small {
    max-width: 205px;
    overflow: hidden;
    font-size: 5.8px;
    text-overflow: ellipsis;
  }

  .profile-v5-hero {
    height: 720px;
  }

  .profile-v5-copy {
    top: 118px;
  }

  .profile-v5-kicker {
    font-size: 8px;
  }

  .profile-v5-copy h1 {
    font-size: clamp(48px, 15vw, 66px);
  }

  .profile-v5-statement {
    max-width: 92%;
    margin-top: 18px;
    font-size: 25px;
  }

  .profile-v5-summary {
    max-width: 94%;
    font-size: 11px;
    line-height: 1.6;
  }

  .profile-v5-actions {
    gap: 8px;
    margin-top: 18px;
  }

  .profile-v5-actions a {
    min-height: 43px;
    padding: 0 15px;
    font-size: 9px;
  }

  .profile-v5-doctor {
    right: -10vw;
    bottom: -8%;
    width: 86vw;
    height: 52%;
    opacity: 0.94;
  }

  .profile-v5-scroll {
    display: none;
  }

  .profile-v5-about {
    padding-top: 52px;
  }

  .profile-v5-about-copy h2 {
    font-size: 39px;
  }

  .profile-v5-about-photo figcaption {
    right: 10px;
    bottom: 14px;
    max-width: 215px;
  }

  .profile-v5-socials {
    flex-wrap: wrap;
  }

  .profile-v5-credentials {
    padding: 42px 5vw 50px;
  }

  .profile-v5-credentials-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-v5-credentials-grid {
    grid-template-columns: 1fr;
  }

  .profile-v5-credentials-grid article,
  .profile-v5-credentials-grid article:nth-child(2),
  .profile-v5-credentials-grid article:nth-child(-n + 2) {
    min-height: 122px;
    border-right: 0;
    border-bottom: 1px solid rgba(100, 29, 59, 0.12);
  }

  .profile-v5-credentials-grid article:last-child {
    border-bottom: 0;
  }

  .profile-v5-credentials-grid article.is-route-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-wave-svg,
  .profile-v5-motion-bg::before,
  .profile-v5-glow,
  .profile-v5-fine-lines,
  .profile-v5-doctor-halo,
  .profile-v5-scroll i {
    animation: none !important;
  }
}

/* =========================================================
   PROFILE & PHILOSOPHY V8 — approved composition
   ========================================================= */
.profile-v5-site {
  background: #f7f2ec;
}

.profile-v5-stage {
  height: 170vh;
  min-height: 1500px;
  background: #350818;
}

.profile-v5-hero {
  height: min(760px, 100vh);
  min-height: 680px;
  background:
    radial-gradient(circle at 70% 25%, rgba(255, 213, 207, 0.22), transparent 24%),
    radial-gradient(circle at 88% 72%, rgba(196, 82, 112, 0.24), transparent 29%),
    linear-gradient(118deg, #250510 0%, #4a0d25 42%, #7d2d4c 72%, #4d0d29 100%);
}

.profile-v5-motion-bg::before {
  background:
    radial-gradient(circle at 18% 18%, rgba(239, 185, 197, 0.16), transparent 23%),
    radial-gradient(circle at 66% 26%, rgba(255, 232, 218, 0.18), transparent 28%),
    radial-gradient(circle at 76% 76%, rgba(176, 64, 103, 0.27), transparent 32%),
    linear-gradient(122deg, rgba(28, 3, 12, 0.86), rgba(92, 12, 46, 0.26) 55%, rgba(207, 128, 143, 0.12));
}

.profile-v5-motion-bg::after {
  opacity: 0.11;
  background-size: 78px 78px;
}

.profile-wave-back {
  top: -2%;
  opacity: 0.58;
  filter: blur(4px) saturate(1.02);
}
.profile-wave-mid {
  top: 2%;
  opacity: 0.52;
  filter: blur(15px) saturate(1.04);
}
.profile-wave-front {
  top: 7%;
  opacity: 0.42;
  filter: blur(22px) saturate(0.96);
}

.profile-v8-light-ribbons {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.9;
  mix-blend-mode: screen;
  transform: translateY(calc(var(--profile-progress) * 18px));
}
.profile-v8-light-ribbons .v8-ribbon-a {
  animation: v8RibbonDriftA 13s ease-in-out infinite alternate;
}
.profile-v8-light-ribbons .v8-ribbon-b {
  animation: v8RibbonDriftB 16s ease-in-out infinite alternate-reverse;
}
.profile-v8-light-ribbons .v8-ribbon-c,
.profile-v8-light-ribbons .v8-ribbon-lines {
  animation: v8RibbonDriftC 20s ease-in-out infinite alternate;
}

.profile-v5-fine-lines {
  top: -38%;
  right: -7%;
  width: 66vw;
  height: 66vw;
  max-width: 980px;
  max-height: 980px;
  opacity: 0.55;
  border-color: rgba(255, 231, 215, 0.18);
  box-shadow:
    inset 0 0 0 92px rgba(255, 255, 255, 0.016),
    inset 0 0 0 184px rgba(255, 255, 255, 0.012);
}

.profile-v5-copy {
  top: clamp(156px, 18vh, 185px);
  left: clamp(44px, 4.8vw, 78px);
  width: min(49vw, 720px);
}

.profile-v5-copy h1 {
  white-space: nowrap;
  font-size: clamp(58px, 5.25vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.054em;
}

.profile-v5-kicker {
  margin-bottom: 18px;
  font-size: 10px;
}

.profile-v5-kicker::after {
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 15px;
  border-radius: 999px;
  background: var(--lime);
  content: "";
}

.profile-v5-statement {
  max-width: 650px;
  margin-top: 26px;
  font-size: clamp(28px, 2.35vw, 40px);
  line-height: 1.13;
}

.profile-v5-summary {
  max-width: 610px;
  color: rgba(255, 248, 242, 0.78);
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.82;
}

.profile-v5-actions {
  margin-top: 28px;
}

.profile-v5-actions a {
  min-height: 52px;
  padding: 0 23px;
  border-radius: 14px;
  font-size: 11px;
}

.profile-v5-doctor {
  right: clamp(255px, 19vw, 310px);
  bottom: -1%;
  width: min(31vw, 475px);
  height: 84%;
  filter: drop-shadow(0 32px 48px rgba(21, 2, 12, 0.38));
}

.profile-v5-doctor::before {
  position: absolute;
  z-index: -2;
  inset: 8% -11% 1%;
  border: 1px solid rgba(255, 232, 218, 0.42);
  border-radius: 180px 180px 24px 24px;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 235, 224, 0.34), transparent 38%),
    linear-gradient(180deg, rgba(208, 106, 126, 0.36), rgba(93, 18, 48, 0.06));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  content: "";
  backdrop-filter: blur(4px);
}

.profile-v5-doctor::after {
  position: absolute;
  z-index: -3;
  top: 15%;
  left: 50%;
  width: 118%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 213, 202, 0.23), transparent 68%);
  filter: blur(18px);
  content: "";
  transform: translateX(-50%);
}

.profile-v5-doctor img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.profile-v5-doctor-halo {
  inset: 11% -10% 3%;
  opacity: 0.72;
}

.profile-v5-meta {
  top: clamp(158px, 18vh, 184px);
  right: clamp(34px, 3vw, 50px);
  width: 226px;
  padding: 18px 18px 17px;
  border-color: rgba(225, 190, 108, 0.62);
  border-radius: 26px;
  background: rgba(52, 7, 25, 0.68);
  box-shadow: 0 24px 52px rgba(25, 2, 13, 0.22);
  backdrop-filter: blur(18px);
}

.profile-v8-stat-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
}
.profile-v8-stat-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(231, 199, 119, 0.72);
  border-radius: 50%;
  color: #e7c777;
  font-size: 13px;
}
.profile-v8-stat-row strong {
  display: block;
  color: #fff7f1;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
}
.profile-v8-stat-row small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 245, 237, 0.68);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.45;
}
.profile-v8-stat-row small i {
  color: var(--lime);
  font-style: normal;
}
.profile-v8-stat-primary strong {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.profile-v8-stat-primary b {
  color: #fff7f1;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 0.95;
}
.profile-v8-stat-primary small {
  margin: 0;
  color: rgba(255, 245, 237, 0.76);
  font-size: 12px;
}
.profile-v8-stat-rule {
  height: 1px;
  margin: 14px 0;
  background: linear-gradient(90deg, rgba(231, 199, 119, 0.5), rgba(231, 199, 119, 0.08));
}

.profile-v5-scroll {
  bottom: 24px;
  left: 50%;
  align-items: center;
  flex-direction: column;
  gap: 9px;
  transform: translateX(-50%);
}
.profile-v5-scroll i {
  width: 1px;
  height: 28px;
}

.profile-v5-about {
  min-height: 760px;
  padding: 68px clamp(32px, 5vw, 80px) 62px;
  border-radius: 0;
  background:
    radial-gradient(circle at 95% 25%, rgba(197, 226, 75, 0.09), transparent 24%),
    linear-gradient(180deg, #fbf8f3 0%, #f3ede6 100%);
  box-shadow: 0 -26px 80px rgba(36, 4, 18, 0.14);
  transform: translateY(calc((1 - var(--profile-progress)) * 68vh));
}
.profile-v5-about::before {
  display: none;
}
.profile-v5-about-inner {
  width: min(1390px, 100%);
  grid-template-columns: minmax(350px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(58px, 7vw, 112px);
}

.profile-v5-about-photo {
  padding: 10px;
  border: 1.5px solid rgba(166, 198, 35, 0.88);
  border-radius: 34px;
}
.profile-v5-about-photo > img {
  aspect-ratio: 0.82;
  border-radius: 26px;
  object-position: center 14%;
}
.profile-v5-about-photo::after {
  inset: 22px -15px -15px 22px;
  border-color: rgba(166, 198, 35, 0.42);
  border-radius: 34px;
}
.profile-v8-photo-medallion {
  position: absolute;
  z-index: 3;
  top: 24px;
  right: -12px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1.5px solid var(--lime-dark);
  border-radius: 50%;
  background: #fbf8f3;
  color: var(--lime-dark);
  font-size: 25px;
  box-shadow: 0 12px 24px rgba(70, 83, 14, 0.12);
}
.profile-v5-about-photo figcaption {
  right: 18px;
  bottom: 18px;
  max-width: 245px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(82, 16, 48, 0.92);
}

.profile-v5-about-kicker {
  color: var(--lime-dark);
}
.profile-v5-about-kicker::after {
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--lime);
  content: "";
}
.profile-v5-about-copy h2 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(46px, 4.5vw, 72px);
  line-height: 0.96;
}
.profile-v5-about-copy .profile-v5-about-lead {
  max-width: 790px;
  font-size: clamp(15px, 1.15vw, 18px) !important;
}
.profile-v5-facts {
  margin-top: 26px;
  gap: 12px;
}
.profile-v5-facts span {
  min-height: 78px;
  border-color: rgba(164, 194, 37, 0.58);
  background:
    linear-gradient(145deg, rgba(201, 232, 74, 0.25), rgba(247, 250, 231, 0.84));
}

.profile-v5-credentials {
  padding-top: 46px;
}
.profile-v5-credentials-grid article {
  min-height: 132px;
  padding: 22px 22px;
}
.profile-v5-credentials-grid article.is-route-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.profile-v5-route-flags img {
  width: 40px;
  height: 26px;
  flex-basis: 40px;
}
.profile-v5-credentials-grid article.is-route-card strong {
  white-space: normal;
  font-size: clamp(18px, 1.35vw, 22px);
}

@keyframes v8RibbonDriftA {
  0% { transform: translate3d(-2.5%, 1.5%, 0) scaleX(1.03); opacity: .68; }
  100% { transform: translate3d(3%, -1.5%, 0) scaleX(1.07); opacity: 1; }
}
@keyframes v8RibbonDriftB {
  0% { transform: translate3d(2%, 0, 0) scaleX(1.02); opacity: .5; }
  100% { transform: translate3d(-3%, 2%, 0) scaleX(1.08); opacity: .92; }
}
@keyframes v8RibbonDriftC {
  0% { transform: translate3d(-1%, -1%, 0); opacity: .36; }
  100% { transform: translate3d(2%, 1%, 0); opacity: .68; }
}

@media (max-width: 1250px) {
  .profile-v5-copy { width: 49vw; }
  .profile-v5-copy h1 { white-space: normal; font-size: clamp(56px, 5.7vw, 74px); }
  .profile-v5-doctor { right: 190px; width: min(33vw, 430px); }
  .profile-v5-meta { right: 26px; width: 205px; }
}

@media (max-width: 1080px) {
  .profile-v5-meta { display: none; }
  .profile-v5-doctor { right: 3vw; width: 42vw; opacity: .96; }
  .profile-v5-copy { width: 56vw; }
}

@media (max-width: 900px) {
  .profile-v5-stage { height: auto; min-height: 0; }
  .profile-v5-hero { height: 760px; }
  .profile-v5-copy { top: 124px; width: 88vw; }
  .profile-v5-copy h1 { max-width: 86vw; font-size: clamp(50px, 12vw, 74px); }
  .profile-v5-statement { max-width: 78vw; }
  .profile-v5-summary { max-width: 75vw; }
  .profile-v5-doctor {
    right: -5vw;
    bottom: -4%;
    width: 58vw;
    height: 58%;
    opacity: .76;
  }
  .profile-v5-doctor::before { inset: 8% -8% 2%; }
  .profile-v5-about { position: relative; min-height: 0; transform: none; }
  .profile-v5-about-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .profile-v5-hero { height: 710px; }
  .profile-v5-copy { top: 110px; }
  .profile-v5-copy h1 { font-size: clamp(45px, 13.2vw, 60px); line-height: .98; }
  .profile-v5-statement { max-width: 90%; font-size: 25px; }
  .profile-v5-summary { max-width: 94%; }
  .profile-v5-doctor {
    right: -20vw;
    bottom: -4%;
    width: 88vw;
    height: 48%;
    opacity: .56;
  }
  .profile-v5-actions a { min-height: 45px; }
  .profile-v5-about { padding-top: 48px; }
  .profile-v5-about-copy h2 { font-size: 40px; }
  .profile-v5-about-photo { border-radius: 28px; }
  .profile-v8-photo-medallion { right: -6px; }
}

@media (prefers-reduced-motion: reduce) {
  .profile-v8-light-ribbons .v8-ribbon,
  .profile-v8-light-ribbons .v8-ribbon-lines {
    animation: none !important;
  }
}

/* Preserve sticky hero while clipping only horizontally at the document level. */
body { overflow-x: hidden; }
.profile-v5-site { overflow: visible; }

/* V8 scroll hand-off: the biography begins at the hero edge, then rises as the hero stays pinned. */
.profile-v5-stage {
  height: calc(100vh + 300px);
  min-height: 1050px;
  background:
    radial-gradient(circle at 70% 25%, rgba(255, 213, 207, 0.18), transparent 24%),
    linear-gradient(118deg, #250510 0%, #4a0d25 46%, #7d2d4c 100%);
}
.profile-v5-about {
  top: min(760px, 100vh);
  bottom: auto;
  transform: translateY(var(--profile-about-y, 0px));
}
@media (max-width: 900px) {
  .profile-v5-stage { height: auto; min-height: 0; }
  .profile-v5-about { top: auto; transform: none; }
}


/* =========================================================
   PROFILE V8.1 — requested fixes: crop, wide story image, visible fact cards
   ========================================================= */
@media (min-width: 901px) {
  /* Keep Dr. Hanna's face and jacket prominent while pushing the trouser area below the hero crop. */
  .profile-v5-doctor {
    right: clamp(248px, 18.7vw, 305px);
    bottom: -12.5%;
    width: min(32vw, 490px);
    height: 96%;
  }

  .profile-v5-doctor img {
    transform: scale(1.025);
    transform-origin: center bottom;
  }

  /* The supplied photo is landscape, so the story image now uses its natural wide composition. */
  .profile-v5-about {
    min-height: 680px;
    padding-top: 60px;
    padding-bottom: 54px;
  }

  .profile-v5-about-inner {
    grid-template-columns: minmax(470px, .94fr) minmax(0, 1.06fr);
    gap: clamp(44px, 5vw, 78px);
    align-items: center;
  }

  .profile-v5-about-photo {
    padding: 8px;
    border-radius: 30px;
  }

  .profile-v5-about-photo > img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 2;
    border-radius: 23px;
    object-fit: cover;
    object-position: 50% 50%;
  }

  .profile-v5-about-photo::after {
    inset: 17px -12px -12px 17px;
    border-radius: 30px;
  }

  .profile-v8-photo-medallion {
    top: 20px;
    right: -9px;
  }

  .profile-v5-about-photo figcaption {
    right: 16px;
    bottom: 16px;
  }

  .profile-v5-about-copy h2 {
    font-size: clamp(43px, 4vw, 64px);
  }

  /* Reserve enough document height for the whole biography before credentials begin. */
  .profile-v5-stage {
    height: calc(100vh + 390px);
    min-height: 1180px;
  }

  .profile-v5-facts {
    position: relative;
    z-index: 3;
    margin-top: 24px;
    padding-bottom: 2px;
  }

  .profile-v5-facts span {
    min-height: 92px;
    padding: 16px 17px;
  }

  .profile-v5-connect {
    position: relative;
    z-index: 3;
    margin-top: 18px;
  }

  .profile-v5-credentials {
    position: relative;
    z-index: 30;
  }
}

@media (max-width: 1250px) and (min-width: 901px) {
  .profile-v5-doctor {
    right: 185px;
    bottom: -12%;
    width: min(34vw, 450px);
    height: 94%;
  }

  .profile-v5-about-inner {
    grid-template-columns: minmax(420px, .9fr) minmax(0, 1.1fr);
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .profile-v5-about-photo > img {
    aspect-ratio: 3 / 2;
    object-position: center;
  }
}


/* =========================================================
   PROFILE V9 — compact international career story
   ========================================================= */
.profile-v9-journey {
  position: relative;
  z-index: 22;
  padding: 76px clamp(28px, 5vw, 82px) 82px;
  overflow: clip;
  background:
    radial-gradient(circle at 92% 14%, rgba(183, 108, 139, 0.18), transparent 28%),
    radial-gradient(circle at 6% 82%, rgba(201, 232, 74, 0.07), transparent 26%),
    linear-gradient(135deg, #260914 0%, #3a1023 50%, #251019 100%);
  color: #fffaf6;
}

.profile-v9-journey::before {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 24%, #000 100%);
  pointer-events: none;
}

.profile-v9-journey-shell {
  position: relative;
  width: min(1370px, 100%);
  margin: 0 auto;
}

.profile-v9-journey-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.62fr);
  align-items: end;
  gap: clamp(40px, 7vw, 110px);
  margin-bottom: 46px;
}

.profile-v9-journey-head > div > p {
  margin: 0 0 10px;
  color: var(--lime);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.profile-v9-journey-head h2 {
  max-width: 820px;
  margin: 0;
  color: #fff8f3;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 61px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.99;
}

.profile-v9-journey-intro {
  max-width: 470px;
  margin: 0 0 3px;
  color: rgba(255, 248, 243, 0.64);
  font-size: 13px;
  line-height: 1.72;
}

.profile-v9-journey-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(44px, 6vw, 92px);
  align-items: start;
}

.profile-v9-journey-sticky {
  position: sticky;
  top: 126px;
}

.profile-v9-journey-sticky figure {
  position: relative;
  height: min(570px, 68vh);
  min-height: 480px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(201, 232, 74, 0.34);
  border-radius: 28px;
  background: #160810;
  box-shadow: 0 30px 70px rgba(7, 2, 5, 0.3);
}

.profile-v9-journey-sticky figure::after {
  position: absolute;
  inset: 17px -15px -15px 17px;
  z-index: -1;
  border: 1px solid rgba(201, 232, 74, 0.15);
  border-radius: 28px;
  content: "";
}

.profile-v9-journey-sticky figure > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 17%;
  filter: saturate(0.94) contrast(1.03);
  transition: transform 800ms cubic-bezier(.2,.8,.2,1);
}

.profile-v9-journey-sticky:hover figure > img {
  transform: scale(1.025);
}

.profile-v9-photo-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 46%, rgba(25, 5, 15, 0.82) 100%),
    linear-gradient(90deg, rgba(45, 8, 28, 0.17), transparent 55%);
  pointer-events: none;
}

.profile-v9-journey-sticky figcaption {
  position: absolute;
  right: 22px;
  bottom: 21px;
  left: 22px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.profile-v9-journey-sticky figcaption small {
  color: var(--lime);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.profile-v9-journey-sticky figcaption strong {
  max-width: 360px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 31px);
  font-weight: 400;
  line-height: 1.06;
}

.profile-v9-route {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  color: rgba(255,255,255,0.7);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.profile-v9-route i {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, rgba(201,232,74,.15), var(--lime), rgba(201,232,74,.15));
}

.profile-v9-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 14px;
}

.profile-v9-progress button {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
  padding: 10px 9px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  background: rgba(255,255,255,0.035);
  color: rgba(255,255,255,0.48);
  text-align: left;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.profile-v9-progress button:hover,
.profile-v9-progress button.is-active {
  border-color: rgba(201,232,74,0.52);
  background: rgba(201,232,74,0.1);
  color: #fff;
  transform: translateY(-2px);
}

.profile-v9-progress b {
  color: var(--lime);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
}

.profile-v9-progress span {
  overflow: hidden;
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.profile-v9-story {
  display: grid;
  gap: 14px;
}

.profile-v9-story-card {
  display: grid;
  min-height: 146px;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 25px 23px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  background: rgba(255,255,255,0.035);
  opacity: 0.56;
  transform: translateX(12px);
  transition:
    opacity 300ms ease,
    transform 350ms cubic-bezier(.2,.8,.2,1),
    border-color 300ms ease,
    background 300ms ease,
    box-shadow 300ms ease;
}

.profile-v9-story-card.is-active {
  border-color: rgba(201,232,74,0.46);
  background: linear-gradient(135deg, rgba(201,232,74,0.095), rgba(255,255,255,0.045));
  box-shadow: 0 22px 55px rgba(5,1,4,0.16);
  opacity: 1;
  transform: translateX(0);
}

.profile-v9-story-number {
  color: var(--lime);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
}

.profile-v9-story-card small {
  display: block;
  margin-bottom: 7px;
  color: rgba(201,232,74,0.84);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.profile-v9-story-card h3 {
  margin: 0 0 8px;
  color: #fff9f5;
  font-family: var(--serif);
  font-size: clamp(24px, 2.05vw, 33px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.profile-v9-story-card p {
  max-width: 730px;
  margin: 0;
  color: rgba(255,248,243,0.62);
  font-size: 12px;
  line-height: 1.62;
}

.profile-v9-journey-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 13px;
  margin: 8px 0 0 67px;
  color: var(--lime);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.04em;
}

.profile-v9-journey-link svg {
  width: 17px;
  height: 17px;
  transition: transform 180ms ease;
}

.profile-v9-journey-link:hover svg {
  transform: translateX(4px);
}

@media (max-width: 980px) {
  .profile-v9-journey-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .profile-v9-journey-grid {
    grid-template-columns: 1fr;
  }

  .profile-v9-journey-sticky {
    position: relative;
    top: auto;
  }

  .profile-v9-journey-sticky figure {
    width: min(560px, 100%);
    height: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .profile-v9-journey {
    padding: 54px 5vw 60px;
  }

  .profile-v9-journey-head h2 {
    font-size: 38px;
  }

  .profile-v9-journey-sticky figure {
    height: 490px;
    min-height: 0;
  }

  .profile-v9-progress {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile-v9-story-card {
    grid-template-columns: 38px minmax(0,1fr);
    gap: 13px;
    padding: 20px 18px;
  }

  .profile-v9-story-card h3 {
    font-size: 26px;
  }

  .profile-v9-journey-link {
    margin-left: 0;
  }
}


/* =========================================================
   PROFILE V10 — true sticky career narrative
   Photo stays fixed; career chapters move one by one.
   ========================================================= */
.profile-v9-journey {
  position: relative;
  z-index: 22;
  padding: 68px clamp(28px, 5vw, 82px) 84px;
  overflow: visible;
  background:
    radial-gradient(circle at 14% 12%, rgba(255,255,255,.7), transparent 29%),
    radial-gradient(circle at 88% 84%, rgba(201,232,74,.1), transparent 25%),
    linear-gradient(135deg, #e8eee7 0%, #eff2eb 50%, #e3eae3 100%);
  color: #17231d;
}

.profile-v9-journey::before {
  position: absolute;
  inset: 0;
  opacity: .32;
  background-image:
    linear-gradient(rgba(45,72,58,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,72,58,.045) 1px, transparent 1px);
  background-size: 92px 92px;
  content: "";
  mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 100%);
  pointer-events: none;
}

.profile-v9-journey-shell {
  position: relative;
  width: min(1370px, 100%);
  margin: 0 auto;
}

.profile-v9-journey-head {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, .6fr);
  align-items: end;
  gap: clamp(42px, 7vw, 112px);
  margin-bottom: 32px;
}

.profile-v9-journey-head > div > p {
  margin: 0 0 10px;
  color: #7a5b31;
  font-size: 8px;
  font-weight: 820;
  letter-spacing: .23em;
  text-transform: uppercase;
}

.profile-v9-journey-head h2 {
  max-width: 850px;
  margin: 0;
  color: #132019;
  font-family: var(--sans);
  font-size: clamp(40px, 4.2vw, 66px);
  font-weight: 820;
  letter-spacing: -.055em;
  line-height: .93;
  text-transform: uppercase;
}

.profile-v9-journey-head h2 span {
  color: #bd8c50;
}

.profile-v9-journey-intro {
  max-width: 440px;
  margin: 0 0 4px;
  color: rgba(23,35,29,.68);
  font-size: 14px;
  line-height: 1.7;
}

.profile-v9-journey-grid {
  display: grid;
  grid-template-columns: minmax(360px, .78fr) minmax(0, 1.22fr);
  gap: clamp(52px, 7vw, 108px);
  align-items: start;
}

.profile-v9-journey-visual {
  position: relative;
  align-self: stretch;
}

.profile-v9-journey-sticky {
  position: sticky;
  top: 126px;
  padding-top: 10px;
}

.profile-v9-journey-sticky figure {
  position: relative;
  height: clamp(510px, 64vh, 610px);
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(151,180,50,.68);
  border-radius: 30px;
  background: #dbe3dc;
  box-shadow: 0 30px 70px rgba(37,55,45,.16);
}

.profile-v9-journey-sticky figure::after {
  position: absolute;
  inset: 16px -15px -15px 16px;
  z-index: -1;
  border: 1px solid rgba(151,180,50,.38);
  border-radius: 30px;
  content: "";
}

.profile-v9-journey-sticky figure > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 13%;
  filter: saturate(.98) contrast(1.02);
  transform: scale(1.01);
  transition: transform 800ms cubic-bezier(.2,.8,.2,1);
}

.profile-v9-journey-sticky:hover figure > img {
  transform: scale(1.025);
}

.profile-v9-photo-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(238,243,237,.04) 38%, rgba(10,28,19,.78) 100%),
    linear-gradient(90deg, rgba(16,40,28,.08), transparent 55%);
  pointer-events: none;
}

.profile-v10-photo-counter {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 24px;
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: #12251c;
  text-shadow: 0 1px 18px rgba(255,255,255,.8);
}

.profile-v10-photo-counter b {
  font-family: var(--sans);
  font-size: clamp(48px, 4.1vw, 68px);
  font-weight: 850;
  letter-spacing: -.07em;
  line-height: .9;
}

.profile-v10-photo-counter span {
  color: rgba(18,37,28,.58);
  font-size: 13px;
  font-weight: 650;
}

.profile-v9-journey-sticky figcaption {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 27px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 17px 15px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(20,44,31,.76);
  box-shadow: 0 14px 35px rgba(8,25,16,.18);
  backdrop-filter: blur(12px);
}

.profile-v9-journey-sticky figcaption small {
  color: var(--lime);
  font-size: 7px;
  font-weight: 820;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.profile-v9-journey-sticky figcaption strong {
  max-width: 380px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(20px, 1.85vw, 29px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.06;
}

.profile-v10-image-progress {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 13px;
  left: 20px;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.26);
}

.profile-v10-image-progress i {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: var(--lime);
  box-shadow: 0 0 15px rgba(201,232,74,.5);
  transition: width 500ms cubic-bezier(.2,.8,.2,1);
}

.profile-v9-route {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  color: rgba(23,35,29,.64);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.profile-v9-route i {
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, rgba(151,180,50,.1), #9ab532, rgba(151,180,50,.1));
}

.profile-v9-progress {
  display: none;
}

.profile-v9-story {
  display: block;
  min-width: 0;
}

.profile-v9-story-card {
  display: grid;
  min-height: clamp(500px, 68vh, 630px);
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 34px 0;
  border: 0;
  border-top: 1px solid rgba(36,62,48,.15);
  border-radius: 0;
  background: transparent;
  opacity: .24;
  transform: translateY(28px);
  scroll-margin-top: 130px;
  transition:
    opacity 450ms ease,
    transform 520ms cubic-bezier(.2,.8,.2,1);
}

.profile-v9-story-card:first-child {
  border-top: 0;
}

.profile-v9-story-card.is-active {
  border-color: rgba(36,62,48,.15);
  background: transparent;
  box-shadow: none;
  opacity: 1;
  transform: translateY(0);
}

.profile-v9-story-number {
  align-self: center;
  color: #bd8c50;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 840;
  letter-spacing: .08em;
  line-height: 1;
}

.profile-v9-story-card small {
  display: block;
  margin-bottom: 13px;
  color: #bd8c50;
  font-size: 8px;
  font-weight: 830;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.profile-v9-story-card h3 {
  max-width: 780px;
  margin: 0 0 20px;
  color: #12231a;
  font-family: var(--sans);
  font-size: clamp(38px, 4vw, 61px);
  font-weight: 830;
  letter-spacing: -.055em;
  line-height: .98;
  text-transform: uppercase;
}

.profile-v9-story-card p {
  max-width: 760px;
  margin: 0;
  color: rgba(23,35,29,.68);
  font-size: clamp(14px, 1.12vw, 17px);
  line-height: 1.72;
}

.profile-v9-journey-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 13px;
  margin: 26px 0 0;
  color: #6c4b27;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .03em;
}

.profile-v9-journey-link svg {
  width: 18px;
  height: 18px;
  transition: transform 180ms ease;
}

.profile-v9-journey-link:hover svg {
  transform: translateX(4px);
}

/* Mobile is intentionally left for the later dedicated mobile pass. */
@media (max-width: 980px) {
  .profile-v9-journey-head,
  .profile-v9-journey-grid {
    grid-template-columns: 1fr;
  }
  .profile-v9-journey-sticky {
    position: relative;
    top: auto;
  }
  .profile-v9-story-card {
    min-height: auto;
    opacity: 1;
    transform: none;
  }
}


/* =========================================================
   PROFILE V11 — six-chapter compact sticky journey
   ========================================================= */
.profile-v11-journey .profile-v9-journey-head {
  margin-bottom: 24px;
}

.profile-v11-journey .profile-v9-journey-grid {
  grid-template-columns: minmax(320px, .7fr) minmax(0, 1.3fr);
  gap: clamp(44px, 6vw, 88px);
}

.profile-v11-journey .profile-v9-journey-sticky {
  top: 122px;
}

.profile-v11-journey .profile-v9-journey-sticky figure {
  height: clamp(450px, 58vh, 555px);
  border-radius: 26px;
}

.profile-v11-journey .profile-v9-journey-sticky figure::after {
  border-radius: 26px;
}

.profile-v11-journey .profile-v10-photo-counter b {
  font-size: clamp(42px, 3.6vw, 58px);
}

.profile-v11-journey .profile-v9-journey-sticky figcaption {
  right: 18px;
  bottom: 24px;
  left: 18px;
  padding: 14px 15px 13px;
}

.profile-v11-journey .profile-v9-journey-sticky figcaption strong {
  font-size: clamp(18px, 1.55vw, 25px);
}

.profile-v11-journey .profile-v9-story-card {
  min-height: clamp(430px, 59vh, 545px);
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 30px 0;
}

.profile-v11-journey .profile-v9-story-card h3 {
  max-width: 730px;
  margin-bottom: 17px;
  font-size: clamp(32px, 3.2vw, 50px);
  line-height: .99;
}

.profile-v11-journey .profile-v9-story-card p {
  max-width: 720px;
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.68;
}

.profile-v11-journey .profile-v9-story-card small {
  margin-bottom: 11px;
}

.profile-v11-route {
  max-width: 520px;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 14px auto 0;
  line-height: 1.4;
}

.profile-v11-route i {
  width: 15px;
}

.profile-v11-achievements {
  display: grid;
  margin: 8px 0 20px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(36,62,48,.14);
  border-radius: 20px;
  background: rgba(255,255,255,.48);
  box-shadow: 0 18px 48px rgba(37,55,45,.07);
}

.profile-v11-achievements > span {
  display: flex;
  min-height: 88px;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 13px 12px;
  border-right: 1px solid rgba(36,62,48,.12);
}

.profile-v11-achievements > span:nth-child(6) {
  border-right: 0;
}

.profile-v11-achievements b {
  color: #173126;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
}

.profile-v11-achievements small {
  color: rgba(23,35,29,.56);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.profile-v11-achievements .profile-v9-journey-link {
  grid-column: 1 / -1;
  justify-content: flex-end;
  margin: 0;
  padding: 13px 17px;
  border-top: 1px solid rgba(36,62,48,.12);
}

@media (max-width: 1180px) {
  .profile-v11-achievements {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .profile-v11-achievements > span:nth-child(3) {
    border-right: 0;
  }
  .profile-v11-achievements > span:nth-child(-n + 3) {
    border-bottom: 1px solid rgba(36,62,48,.12);
  }
}

@media (max-width: 980px) {
  .profile-v11-journey .profile-v9-story-card {
    min-height: auto;
  }
  .profile-v11-achievements {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .profile-v11-achievements > span {
    border-right: 1px solid rgba(36,62,48,.12);
    border-bottom: 1px solid rgba(36,62,48,.12);
  }
  .profile-v11-achievements > span:nth-child(even) {
    border-right: 0;
  }
}
.profile-v11-journey .profile-v10-image-progress i { width: 16.6667%; }


/* =========================================================
   PROFILE V12 — philosophy of care
   ========================================================= */
.profile-v12-philosophy {
  position: relative;
  z-index: 24;
  overflow: hidden;
  padding: 72px clamp(28px, 4.8vw, 78px) 54px;
  background:
    radial-gradient(circle at 92% 12%, rgba(201,232,74,.13), transparent 25%),
    radial-gradient(circle at 6% 88%, rgba(100,29,59,.07), transparent 28%),
    linear-gradient(180deg, #f8f4ee 0%, #eee8e2 100%);
}

.profile-v12-philosophy::before {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(100,29,59,.09);
  border-radius: 50%;
  box-shadow: inset 0 0 0 80px rgba(255,255,255,.12), inset 0 0 0 160px rgba(255,255,255,.08);
  content: "";
}

.profile-v12-philosophy-shell {
  position: relative;
  width: min(1420px, 100%);
  margin: 0 auto;
}

.profile-v12-philosophy-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .55fr);
  align-items: end;
  gap: clamp(42px, 7vw, 110px);
  margin-bottom: 34px;
}

.profile-v12-philosophy-head p:first-child {
  margin: 0 0 8px;
  color: var(--wine);
  font-size: 9px;
  font-weight: 820;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.profile-v12-philosophy-head h2 {
  max-width: 850px;
  margin: 0;
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: clamp(42px, 4.6vw, 70px);
  font-weight: 400;
  letter-spacing: -.052em;
  line-height: .96;
}

.profile-v12-philosophy-head h2 span {
  color: var(--wine-light);
  font-style: italic;
}

.profile-v12-philosophy-head > p:last-child {
  margin: 0 0 4px;
  color: rgba(28,29,33,.66);
  font-size: 14px;
  line-height: 1.75;
}

.profile-v12-philosophy-panel {
  display: grid;
  min-height: 470px;
  grid-template-columns: 220px minmax(360px, 1fr) minmax(340px, 430px);
  overflow: hidden;
  border: 1px solid rgba(100,29,59,.11);
  border-radius: 30px;
  background: rgba(255,255,255,.7);
  box-shadow: 0 28px 80px rgba(70,20,43,.10);
}

.profile-v12-principles {
  display: flex;
  flex-direction: column;
  padding: 20px 14px;
  background: rgba(248,245,239,.95);
  border-right: 1px solid rgba(100,29,59,.1);
}

.profile-v12-principles button {
  position: relative;
  display: grid;
  min-height: 82px;
  grid-template-columns: 34px 1fr 12px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(100,29,59,.1);
  background: transparent;
  color: rgba(53,16,31,.52);
  text-align: left;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.profile-v12-principles button:last-child { border-bottom: 0; }

.profile-v12-principles button b {
  color: rgba(100,29,59,.5);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
}

.profile-v12-principles button span {
  font-family: var(--serif);
  font-size: 21px;
}

.profile-v12-principles button i {
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.profile-v12-principles button:hover,
.profile-v12-principles button.is-active {
  border-radius: 14px;
  background: var(--wine-dark);
  color: #fff;
  transform: translateX(3px);
}

.profile-v12-principles button.is-active b,
.profile-v12-principles button.is-active i { color: var(--lime); }
.profile-v12-principles button.is-active i { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 0 5px rgba(201,232,74,.12); }

.profile-v12-philosophy-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 46px clamp(32px, 4vw, 64px);
  background:
    radial-gradient(circle at 90% 15%, rgba(150,72,104,.26), transparent 34%),
    linear-gradient(135deg, #35101f 0%, #57162f 100%);
  color: #fff;
}

.profile-v12-philosophy-copy > small {
  color: var(--lime);
  font-size: 9px;
  font-weight: 820;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.profile-v12-philosophy-copy h3 {
  max-width: 570px;
  margin: 16px 0 18px;
  color: #fff8f4;
  font-family: var(--serif);
  font-size: clamp(36px, 3.4vw, 54px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .98;
}

.profile-v12-philosophy-copy > p {
  max-width: 660px;
  min-height: 108px;
  margin: 0;
  color: rgba(255,248,244,.72);
  font-size: 14px;
  line-height: 1.72;
}

.profile-v12-philosophy-detail {
  display: grid;
  gap: 5px;
  margin-top: 24px;
  padding: 15px 17px;
  border: 1px solid rgba(201,232,74,.25);
  border-radius: 15px;
  background: rgba(201,232,74,.07);
}

.profile-v12-philosophy-detail span {
  color: var(--lime);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.profile-v12-philosophy-detail strong {
  color: rgba(255,249,245,.88);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.profile-v12-philosophy-copy > a {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 13px;
  margin-top: 24px;
  color: #fff;
  font-size: 10px;
  font-weight: 760;
}

.profile-v12-philosophy-copy > a svg { width: 17px; height: 17px; transition: transform 200ms ease; }
.profile-v12-philosophy-copy > a:hover svg { transform: translateX(4px); }

.profile-v12-philosophy-visual {
  position: relative;
  min-width: 0;
  min-height: 470px;
  margin: 0;
  overflow: hidden;
  background: #c7bab4;
}

.profile-v12-philosophy-images,
.profile-v12-philosophy-images img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.profile-v12-philosophy-images img {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.055);
  transition: opacity 520ms ease, transform 900ms cubic-bezier(.2,.8,.2,1);
}

.profile-v12-philosophy-images img:nth-child(1) { object-position: 51% center; }
.profile-v12-philosophy-images img:nth-child(2) { object-position: center 44%; }
.profile-v12-philosophy-images img:nth-child(3) { object-position: 62% center; }
.profile-v12-philosophy-images img:nth-child(4) { object-position: 52% center; }
.profile-v12-philosophy-images img:nth-child(5) { object-position: 52% center; }
.profile-v12-philosophy-images img.is-active { opacity: 1; transform: scale(1); }

.profile-v12-philosophy-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(31,6,20,.78) 100%);
  content: "";
  pointer-events: none;
}

.profile-v12-philosophy-visual figcaption {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 25px;
  left: 24px;
  display: grid;
  gap: 6px;
}

.profile-v12-philosophy-visual figcaption small {
  color: var(--lime);
  font-size: 8px;
  font-weight: 820;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.profile-v12-philosophy-visual figcaption strong {
  max-width: 340px;
  color: #fff;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.06;
}

.profile-v12-philosophy-index {
  position: absolute;
  z-index: 2;
  top: 23px;
  right: 22px;
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 9px 11px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  background: rgba(38,7,23,.42);
  backdrop-filter: blur(10px);
  color: #fff;
}

.profile-v12-philosophy-index b { color: var(--lime); font-family: var(--serif); font-size: 23px; font-weight: 400; }
.profile-v12-philosophy-index span { font-size: 8px; font-weight: 700; letter-spacing: .08em; }

.profile-v12-philosophy-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
  color: rgba(53,16,31,.62);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.profile-v12-philosophy-footer i { width: 22px; height: 1px; background: var(--lime-dark); }

/* V12 small-text visibility refinement requested after the journey review */
.profile-v11-journey .profile-v9-story-card small,
.profile-v11-journey .profile-v9-journey-sticky figcaption small {
  color: #a76b28;
  font-size: 8.5px;
  letter-spacing: .15em;
}

.profile-v11-journey .profile-v9-journey-sticky figcaption small { color: var(--lime); }
.profile-v11-route { color: rgba(23,49,38,.76); font-size: 8.5px; font-weight: 820; letter-spacing: .105em; }
.profile-v11-achievements small { color: rgba(23,35,29,.7); font-size: 8px; letter-spacing: .08em; }

@media (max-width: 1120px) {
  .profile-v12-philosophy-panel { grid-template-columns: 190px minmax(330px, 1fr) minmax(290px, 360px); }
  .profile-v12-philosophy-copy { padding-right: 34px; padding-left: 34px; }
}

@media (max-width: 900px) {
  .profile-v12-philosophy { padding: 58px 24px 44px; }
  .profile-v12-philosophy-head { grid-template-columns: 1fr; gap: 20px; }
  .profile-v12-philosophy-panel { grid-template-columns: 1fr; }
  .profile-v12-principles { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); border-right: 0; border-bottom: 1px solid rgba(100,29,59,.1); }
  .profile-v12-principles button { min-height: 68px; grid-template-columns: 1fr; gap: 3px; text-align: center; }
  .profile-v12-principles button i { display: none; }
  .profile-v12-principles button span { font-size: 15px; }
  .profile-v12-philosophy-copy > p { min-height: 0; }
  .profile-v12-philosophy-visual { min-height: 420px; }
  .profile-v12-philosophy-footer { flex-wrap: wrap; }
}

@media (max-width: 620px) {
  .profile-v12-principles { grid-template-columns: 1fr; }
  .profile-v12-principles button { min-height: 52px; grid-template-columns: 32px 1fr; text-align: left; }
  .profile-v12-philosophy-copy { padding: 36px 24px; }
  .profile-v12-philosophy-visual { min-height: 360px; }
}


/* =========================================================
   PROFILE V12.1 — compact desktop philosophy viewport fix
   Keeps the complete section visible below the sticky header.
   ========================================================= */
@media (min-width: 901px) {
  .profile-v12-philosophy {
    min-height: 100vh;
    padding: 108px clamp(28px, 4.6vw, 72px) 24px;
  }

  .profile-v12-philosophy-shell {
    width: min(1380px, 100%);
  }

  .profile-v12-philosophy-head {
    grid-template-columns: minmax(0, 1.05fr) minmax(290px, .55fr);
    gap: clamp(34px, 5vw, 76px);
    margin-bottom: 18px;
  }

  .profile-v12-philosophy-head p:first-child {
    margin-bottom: 5px;
    font-size: 8px;
    letter-spacing: .18em;
  }

  .profile-v12-philosophy-head h2 {
    max-width: 760px;
    font-size: clamp(38px, 3.75vw, 58px);
    line-height: .92;
  }

  .profile-v12-philosophy-head > p:last-child {
    max-width: 430px;
    margin-bottom: 0;
    font-size: 12.5px;
    line-height: 1.55;
  }

  .profile-v12-philosophy-panel {
    height: min(425px, calc(100vh - 304px));
    min-height: 390px;
    grid-template-columns: 196px minmax(350px, 1fr) minmax(320px, 400px);
    border-radius: 24px;
  }

  .profile-v12-principles {
    padding: 12px 10px;
  }

  .profile-v12-principles button {
    min-height: 70px;
    grid-template-columns: 30px 1fr 10px;
    gap: 7px;
    padding: 0 11px;
  }

  .profile-v12-principles button b {
    font-size: 16px;
  }

  .profile-v12-principles button span {
    font-size: 18px;
  }

  .profile-v12-philosophy-copy {
    padding: 28px clamp(26px, 3vw, 46px);
  }

  .profile-v12-philosophy-copy > small {
    font-size: 8px;
    letter-spacing: .17em;
  }

  .profile-v12-philosophy-copy h3 {
    max-width: 520px;
    margin: 10px 0 12px;
    font-size: clamp(30px, 2.8vw, 43px);
    line-height: .96;
  }

  .profile-v12-philosophy-copy > p {
    min-height: 76px;
    font-size: 12.5px;
    line-height: 1.55;
  }

  .profile-v12-philosophy-detail {
    gap: 3px;
    margin-top: 14px;
    padding: 10px 13px;
    border-radius: 12px;
  }

  .profile-v12-philosophy-detail span {
    font-size: 7px;
  }

  .profile-v12-philosophy-detail strong {
    font-size: 10.5px;
    line-height: 1.35;
  }

  .profile-v12-philosophy-copy > a {
    gap: 10px;
    margin-top: 14px;
    font-size: 9px;
  }

  .profile-v12-philosophy-visual {
    min-height: 390px;
  }

  .profile-v12-philosophy-visual figcaption {
    right: 18px;
    bottom: 18px;
    left: 18px;
    gap: 4px;
  }

  .profile-v12-philosophy-visual figcaption small {
    font-size: 7px;
  }

  .profile-v12-philosophy-visual figcaption strong {
    max-width: 300px;
    font-size: 21px;
  }

  .profile-v12-philosophy-index {
    top: 16px;
    right: 16px;
    padding: 7px 9px;
  }

  .profile-v12-philosophy-index b {
    font-size: 20px;
  }

  .profile-v12-philosophy-footer {
    gap: 10px;
    margin-top: 12px;
    font-size: 8px;
  }
}

@media (min-width: 901px) and (max-height: 820px) {
  .profile-v12-philosophy {
    padding-top: 98px;
    padding-bottom: 16px;
  }

  .profile-v12-philosophy-head {
    margin-bottom: 14px;
  }

  .profile-v12-philosophy-head h2 {
    font-size: clamp(35px, 3.35vw, 51px);
  }

  .profile-v12-philosophy-panel {
    height: calc(100vh - 274px);
    min-height: 360px;
  }

  .profile-v12-principles button {
    min-height: 64px;
  }

  .profile-v12-philosophy-copy h3 {
    font-size: clamp(28px, 2.55vw, 39px);
  }

  .profile-v12-philosophy-footer {
    margin-top: 9px;
  }
}


/* =========================================================
   PROFILE V13 — SEO authority + balanced philosophy panel
   Stronger readable typography, less empty space, natural
   Abu Dhabi + UAE keyword placement without visual clutter.
   ========================================================= */
@media (min-width: 901px) {
  .profile-v12-philosophy-head > p:last-child {
    color: rgba(53,16,31,.76);
    font-size: 13.5px;
    font-weight: 520;
    line-height: 1.58;
  }

  .profile-v12-philosophy-panel {
    height: min(455px, calc(100vh - 286px));
    min-height: 420px;
    grid-template-columns: 196px minmax(430px, 1fr) minmax(330px, 410px);
  }

  .profile-v12-philosophy-copy {
    position: relative;
    justify-content: center;
    padding: 27px clamp(28px, 3vw, 46px) 24px;
  }

  .profile-v12-philosophy-copy > small {
    font-size: 9px;
    letter-spacing: .16em;
  }

  .profile-v12-philosophy-copy h3 {
    margin: 9px 0 12px;
    font-size: clamp(32px, 2.8vw, 44px);
  }

  .profile-v12-philosophy-copy > p {
    min-height: auto;
    max-width: 700px;
    color: rgba(255,248,244,.82);
    font-size: 13.5px;
    line-height: 1.58;
  }

  .profile-v12-philosophy-detail {
    margin-top: 15px;
    padding: 11px 14px;
  }

  .profile-v12-philosophy-detail span {
    font-size: 8px;
  }

  .profile-v12-philosophy-detail strong {
    font-size: 12px;
  }

  .profile-v13-authority {
    display: grid;
    gap: 5px;
    margin-top: 15px;
    padding: 12px 14px;
    border-left: 3px solid var(--lime);
    border-radius: 0 13px 13px 0;
    background: linear-gradient(90deg, rgba(201,232,74,.105), rgba(201,232,74,.025));
  }

  .profile-v13-authority > small {
    color: var(--lime);
    font-size: 8.5px;
    font-weight: 850;
    letter-spacing: .145em;
    text-transform: uppercase;
  }

  .profile-v13-authority > strong {
    max-width: 690px;
    color: #fffaf7;
    font-family: var(--serif);
    font-size: clamp(17px, 1.4vw, 21px);
    font-weight: 400;
    line-height: 1.17;
  }

  .profile-v13-authority > div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 3px;
  }

  .profile-v13-authority > div span {
    padding: 5px 8px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 999px;
    color: rgba(255,249,245,.76);
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: .025em;
  }

  .profile-v12-philosophy-copy > a {
    margin-top: 13px;
    font-size: 10.5px;
  }

  .profile-v12-philosophy-visual {
    min-height: 420px;
  }

  .profile-v12-philosophy-visual figcaption small {
    font-size: 9px;
    letter-spacing: .135em;
  }

  .profile-v12-philosophy-visual figcaption strong {
    max-width: 330px;
    font-size: 25px;
    line-height: 1.05;
  }

  .profile-v12-philosophy-index b { font-size: 23px; }
  .profile-v12-philosophy-index span { font-size: 9px; }

  .profile-v12-philosophy-footer {
    margin-top: 11px;
    color: rgba(53,16,31,.72);
    font-size: 8.8px;
    letter-spacing: .065em;
  }
}

@media (min-width: 901px) and (max-height: 820px) {
  .profile-v12-philosophy-panel {
    height: calc(100vh - 260px);
    min-height: 400px;
  }
  .profile-v13-authority { margin-top: 11px; padding: 10px 12px; }
  .profile-v13-authority > strong { font-size: 17px; }
  .profile-v12-philosophy-copy > p { font-size: 12.5px; }
}

@media (max-width: 900px) {
  .profile-v13-authority {
    display: grid;
    gap: 7px;
    margin-top: 18px;
    padding: 14px;
    border-left: 3px solid var(--lime);
    background: rgba(201,232,74,.07);
  }
  .profile-v13-authority > small { color: var(--lime); font-size: 9px; font-weight: 800; text-transform: uppercase; }
  .profile-v13-authority > strong { color: #fff; font-family: var(--serif); font-size: 20px; line-height: 1.15; }
  .profile-v13-authority > div { display:flex; flex-wrap:wrap; gap:6px; }
  .profile-v13-authority > div span { padding:5px 8px; border:1px solid rgba(255,255,255,.14); border-radius:999px; color:rgba(255,255,255,.75); font-size:9px; }
}

/* =========================================================
   PROFILE V13.1 — philosophy section correction
   Removes the duplicated review/choice message, places the
   specialist SEO introduction inside the panel, and improves
   desktop readability without increasing the section height.
   ========================================================= */
@media (min-width: 901px) {
  .profile-v12-philosophy-head {
    display: block;
    margin-bottom: 10px;
  }

  .profile-v12-philosophy-head > div {
    max-width: 1040px;
  }

  .profile-v12-philosophy-head h2 {
    max-width: 1040px;
  }

  .profile-v12-philosophy-panel {
    height: min(466px, calc(100vh - 270px));
    min-height: 430px;
    grid-template-columns: 196px minmax(470px, 1fr) minmax(330px, 410px);
  }

  .profile-v12-philosophy-copy {
    justify-content: center;
    padding: 25px clamp(30px, 3vw, 48px) 22px;
  }

  .profile-v12-philosophy-copy > small {
    font-size: 10px;
    letter-spacing: .145em;
  }

  .profile-v12-philosophy-copy h3 {
    margin: 9px 0 12px;
    font-size: clamp(35px, 3vw, 47px);
    line-height: 1.01;
  }

  .profile-v12-philosophy-copy > p {
    max-width: 760px;
    font-size: 15px;
    line-height: 1.58;
  }

  .profile-v12-philosophy-detail {
    margin-top: 15px;
    padding: 12px 15px;
  }

  .profile-v12-philosophy-detail span {
    font-size: 8.8px;
  }

  .profile-v12-philosophy-detail strong {
    font-size: 13px;
    line-height: 1.35;
  }

  .profile-v13-specialist-box {
    display: grid;
    gap: 7px;
    margin-top: 15px;
    padding: 13px 15px 14px;
    border-left: 3px solid var(--lime);
    border-radius: 0 13px 13px 0;
    background: linear-gradient(90deg, rgba(201,232,74,.105), rgba(201,232,74,.025));
  }

  .profile-v13-specialist-box > small {
    color: var(--lime);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
  }

  .profile-v13-specialist-box > p {
    max-width: 760px;
    margin: 0;
    color: rgba(255,250,247,.92);
    font-size: 13.5px;
    font-weight: 560;
    line-height: 1.48;
  }

  .profile-v12-philosophy-copy > a {
    margin-top: 13px;
    font-size: 11.5px;
  }

  .profile-v12-philosophy-visual figcaption small {
    font-size: 9.5px;
  }

  .profile-v12-philosophy-visual figcaption strong {
    font-size: 27px;
  }

  .profile-v12-philosophy-footer {
    margin-top: 10px;
    font-size: 9px;
  }
}

@media (min-width: 901px) and (max-height: 820px) {
  .profile-v12-philosophy-panel {
    height: calc(100vh - 250px);
    min-height: 410px;
  }

  .profile-v12-philosophy-copy h3 {
    font-size: 37px;
  }

  .profile-v12-philosophy-copy > p {
    font-size: 13.5px;
  }

  .profile-v13-specialist-box {
    margin-top: 11px;
    padding: 10px 13px 11px;
  }

  .profile-v13-specialist-box > p {
    font-size: 12px;
    line-height: 1.42;
  }
}

@media (max-width: 900px) {
  .profile-v13-specialist-box {
    display: grid;
    gap: 8px;
    margin-top: 18px;
    padding: 15px;
    border-left: 3px solid var(--lime);
    background: rgba(201,232,74,.07);
  }

  .profile-v13-specialist-box > small {
    color: var(--lime);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .profile-v13-specialist-box > p {
    margin: 0;
    color: rgba(255,255,255,.9);
    font-size: 14px;
    line-height: 1.5;
  }
}

/* ================================================================
   PROFILE V14 — full-width horizontal philosophy story
   ================================================================ */
.profile-v14-philosophy {
  position: relative;
  overflow: hidden;
  padding: 30px 0 42px;
  background:
    radial-gradient(circle at 90% 8%, rgba(205, 227, 121, .18), transparent 25%),
    linear-gradient(180deg, #f7f1ea 0%, #f1e8df 100%);
  color: #4a1029;
}

.profile-v14-philosophy-shell {
  width: min(1430px, calc(100% - 70px));
  margin: 0 auto;
}

.profile-v14-philosophy-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 16px;
}

.profile-v14-philosophy-head p {
  margin: 0 0 5px;
  color: #6d1838;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.profile-v14-philosophy-head h2 {
  max-width: 920px;
  margin: 0;
  color: #4a1029;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(43px, 4vw, 62px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.035em;
}

.profile-v14-philosophy-head h2 span {
  color: #9b345b;
  font-style: italic;
}

.profile-v14-scroll-cue {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 7px;
  color: #6d1838;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.profile-v14-scroll-cue b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(74, 16, 41, .24);
  border-radius: 50%;
  font-size: 20px;
  animation: profileV14Nudge 1.8s ease-in-out infinite;
}

@keyframes profileV14Nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

.profile-v14-philosophy-track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  border-radius: 25px;
  box-shadow: 0 26px 70px rgba(73, 20, 40, .15);
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  outline: none;
  overscroll-behavior-x: contain;
}

.profile-v14-philosophy-track::-webkit-scrollbar { display: none; }
.profile-v14-philosophy-track:active { cursor: grabbing; }
.profile-v14-philosophy-track:focus-visible { box-shadow: 0 0 0 3px rgba(197, 231, 62, .75), 0 26px 70px rgba(73, 20, 40, .15); }

.profile-v14-philosophy-card {
  display: grid;
  flex: 0 0 100%;
  grid-template-columns: minmax(0, 1.16fr) minmax(390px, .84fr);
  min-width: 100%;
  height: min(510px, calc(100vh - 330px));
  min-height: 455px;
  overflow: hidden;
  background: linear-gradient(128deg, #3e0c24 0%, #651536 72%, #761b40 100%);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.profile-v14-philosophy-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 44px clamp(42px, 5vw, 78px);
  color: #fff9f6;
}

.profile-v14-philosophy-copy > small {
  margin-bottom: 14px;
  color: #d0f13d;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.profile-v14-philosophy-copy h3 {
  max-width: 820px;
  margin: 0 0 18px;
  color: #fffaf7;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(43px, 4.25vw, 66px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.035em;
}

.profile-v14-philosophy-copy > p {
  max-width: 850px;
  margin: 0;
  color: rgba(255, 248, 245, .83);
  font-family: Arial, sans-serif;
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 500;
  line-height: 1.62;
}

.profile-v14-philosophy-callout {
  display: grid;
  gap: 7px;
  max-width: 850px;
  margin-top: 30px;
  padding: 17px 20px 18px;
  border: 1px solid rgba(208, 241, 61, .42);
  border-left: 4px solid #d0f13d;
  border-radius: 0 16px 16px 0;
  background: rgba(255, 255, 255, .055);
}

.profile-v14-philosophy-callout span {
  color: #d0f13d;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.profile-v14-philosophy-callout strong {
  color: #fff9f6;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.profile-v14-philosophy-visual {
  position: relative;
  min-width: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #261019;
}

.profile-v14-philosophy-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(25, 6, 15, .92) 100%);
  pointer-events: none;
}

.profile-v14-philosophy-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
}

.profile-v14-philosophy-card:nth-child(1) .profile-v14-philosophy-visual img { object-position: 52% center; }
.profile-v14-philosophy-card:nth-child(2) .profile-v14-philosophy-visual img { object-position: center 43%; }
.profile-v14-philosophy-card:nth-child(3) .profile-v14-philosophy-visual img { object-position: 62% center; }
.profile-v14-philosophy-card:nth-child(4) .profile-v14-philosophy-visual img { object-position: 52% center; }
.profile-v14-philosophy-card:nth-child(5) .profile-v14-philosophy-visual img { object-position: 52% center; }

.profile-v14-philosophy-visual figcaption {
  position: absolute;
  z-index: 2;
  right: 30px;
  bottom: 27px;
  left: 30px;
  display: grid;
  gap: 7px;
}

.profile-v14-philosophy-visual figcaption small {
  color: #d0f13d;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.profile-v14-philosophy-visual figcaption strong {
  max-width: 440px;
  color: #fffaf7;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(25px, 2.3vw, 36px);
  font-weight: 400;
  line-height: 1.03;
}

.profile-v14-card-index {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 15px;
  background: rgba(44, 9, 25, .72);
  backdrop-filter: blur(12px);
}

.profile-v14-card-index b {
  color: #d0f13d;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 26px;
  font-weight: 400;
}

.profile-v14-card-index span {
  color: rgba(255, 255, 255, .8);
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
}

.profile-v14-philosophy-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
  margin-top: 14px;
}

.profile-v14-philosophy-controls > button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(74, 16, 41, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .58);
  color: #4a1029;
  font-size: 22px;
  cursor: pointer;
  transition: .2s ease;
}

.profile-v14-philosophy-controls > button:hover:not(:disabled) {
  border-color: #4a1029;
  background: #4a1029;
  color: #fff;
  transform: translateY(-2px);
}

.profile-v14-philosophy-controls > button:disabled { opacity: .35; cursor: default; }

.profile-v14-philosophy-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 3px;
}

.profile-v14-philosophy-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: rgba(74, 16, 41, .24);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.profile-v14-philosophy-dots button.is-active {
  width: 34px;
  background: #7b1e42;
}

.profile-v14-philosophy-count {
  min-width: 66px;
  color: rgba(74, 16, 41, .62);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.profile-v14-philosophy-count b { color: #4a1029; font-size: 14px; }

@media (min-width: 901px) and (max-height: 820px) {
  .profile-v14-philosophy { padding-top: 22px; padding-bottom: 30px; }
  .profile-v14-philosophy-head h2 { font-size: 48px; }
  .profile-v14-philosophy-card { height: calc(100vh - 285px); min-height: 420px; }
  .profile-v14-philosophy-copy { padding-top: 30px; padding-bottom: 30px; }
  .profile-v14-philosophy-copy h3 { font-size: 46px; margin-bottom: 13px; }
  .profile-v14-philosophy-copy > p { font-size: 15px; line-height: 1.52; }
  .profile-v14-philosophy-callout { margin-top: 20px; padding: 13px 16px 14px; }
}

@media (max-width: 900px) {
  .profile-v14-philosophy { padding: 26px 0 34px; }
  .profile-v14-philosophy-shell { width: min(100% - 24px, 720px); }
  .profile-v14-philosophy-head { display: block; }
  .profile-v14-philosophy-head h2 { font-size: clamp(37px, 11vw, 52px); }
  .profile-v14-scroll-cue { margin-top: 12px; justify-content: flex-end; }
  .profile-v14-philosophy-card { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .profile-v14-philosophy-copy { min-height: 430px; padding: 34px 27px; }
  .profile-v14-philosophy-copy h3 { font-size: 43px; }
  .profile-v14-philosophy-copy > p { font-size: 16px; }
  .profile-v14-philosophy-callout { margin-top: 22px; }
  .profile-v14-philosophy-visual { min-height: 420px; }
  .profile-v14-philosophy-controls { justify-content: center; }
}


/* ==========================================================================\n   PROFILE V15 — compact Why Prof. Hanna authority section\n   ========================================================================== */
.profile-v15-why {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 5vw, 72px) 0;
  background:
    radial-gradient(circle at 90% 12%, rgba(208, 241, 61, .15), transparent 27%),
    linear-gradient(180deg, #f4f1ea 0%, #ece9df 100%);
  color: #173326;
}

.profile-v15-why::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  right: -210px;
  bottom: -250px;
  border: 1px solid rgba(72, 18, 43, .12);
  border-radius: 50%;
  pointer-events: none;
}

.profile-v15-why-shell {
  position: relative;
  z-index: 1;
  width: min(1380px, calc(100% - 72px));
  margin: 0 auto;
}

.profile-v15-why-head {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(430px, .72fr);
  align-items: end;
  gap: clamp(42px, 6vw, 96px);
  margin-bottom: 28px;
}

.profile-v15-why-head > div > p {
  margin: 0 0 10px;
  color: #7b1e42;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.profile-v15-why-head h2 {
  max-width: 760px;
  margin: 0;
  color: #173326;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(46px, 4.7vw, 70px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.04em;
}

.profile-v15-why-head h2 span {
  color: #7b1e42;
  font-style: italic;
}

.profile-v15-why-head > p {
  max-width: 590px;
  margin: 0 0 4px;
  color: rgba(23, 51, 38, .77);
  font-family: Arial, sans-serif;
  font-size: clamp(15px, 1.18vw, 18px);
  font-weight: 600;
  line-height: 1.58;
}

.profile-v15-why-layout {
  display: grid;
  grid-template-columns: minmax(430px, .88fr) minmax(0, 1.12fr);
  gap: 18px;
}

.profile-v15-proof-card {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 430px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 8%, rgba(208, 241, 61, .16), transparent 34%),
    linear-gradient(145deg, #3c0c23 0%, #631536 72%, #771c42 100%);
  box-shadow: 0 24px 60px rgba(52, 15, 33, .14);
}

.profile-v15-proof-copy {
  padding: 34px 36px 26px;
}

.profile-v15-proof-copy small {
  display: block;
  margin-bottom: 16px;
  color: #d0f13d;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.profile-v15-proof-copy h3 {
  max-width: 600px;
  margin: 0 0 15px;
  color: #fff9f5;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.profile-v15-proof-copy p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 248, 245, .82);
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.58;
}

.profile-v15-proof-copy a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.profile-v15-proof-copy a span {
  color: #d0f13d;
  font-size: 23px;
  transition: transform .2s ease;
}

.profile-v15-proof-copy a:hover span { transform: translateX(5px); }

.profile-v15-proof-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .14);
  background: rgba(20, 5, 13, .18);
}

.profile-v15-proof-stats span {
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 92px;
  padding: 15px 14px;
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.profile-v15-proof-stats span:last-child { border-right: 0; }

.profile-v15-proof-stats b {
  color: #fffaf7;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}

.profile-v15-proof-stats small {
  color: rgba(255, 248, 245, .66);
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.profile-v15-reason-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.profile-v15-reason-card {
  position: relative;
  min-height: 206px;
  padding: 27px 28px 24px;
  overflow: hidden;
  border: 1px solid rgba(23, 51, 38, .11);
  border-radius: 24px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 14px 38px rgba(32, 48, 39, .065);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.profile-v15-reason-card::after {
  content: '';
  position: absolute;
  right: -44px;
  bottom: -54px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(123, 30, 66, .12);
  border-radius: 50%;
}

.profile-v15-reason-card:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 30, 66, .26);
  box-shadow: 0 20px 44px rgba(32, 48, 39, .1);
}

.profile-v15-reason-card > span {
  display: block;
  margin-bottom: 22px;
  color: #7b1e42;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
}

.profile-v15-reason-card h3 {
  margin: 0 0 10px;
  color: #173326;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(24px, 2vw, 31px);
  font-weight: 400;
  line-height: 1.05;
}

.profile-v15-reason-card p {
  margin: 0;
  color: rgba(23, 51, 38, .72);
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

@media (min-width: 901px) and (max-height: 820px) {
  .profile-v15-why { padding: 34px 0 42px; }
  .profile-v15-why-head { margin-bottom: 22px; }
  .profile-v15-why-head h2 { font-size: 52px; }
  .profile-v15-proof-card { min-height: 390px; }
  .profile-v15-proof-copy { padding: 28px 30px 20px; }
  .profile-v15-proof-copy h3 { font-size: 38px; }
  .profile-v15-reason-card { min-height: 186px; padding: 23px 24px 21px; }
  .profile-v15-reason-card > span { margin-bottom: 15px; }
}

@media (max-width: 1100px) {
  .profile-v15-why-layout { grid-template-columns: 1fr; }
  .profile-v15-proof-card { min-height: 390px; }
}

@media (max-width: 900px) {
  .profile-v15-why { padding: 34px 0 42px; }
  .profile-v15-why-shell { width: min(100% - 24px, 720px); }
  .profile-v15-why-head { grid-template-columns: 1fr; gap: 18px; }
  .profile-v15-why-head h2 { font-size: clamp(39px, 11vw, 54px); }
  .profile-v15-why-head > p { font-size: 16px; }
  .profile-v15-proof-card { min-height: 0; }
  .profile-v15-proof-copy { padding: 30px 25px 24px; }
  .profile-v15-proof-stats { grid-template-columns: repeat(2, 1fr); }
  .profile-v15-proof-stats span:nth-child(2) { border-right: 0; }
  .profile-v15-proof-stats span:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .profile-v15-reason-grid { grid-template-columns: 1fr; }
  .profile-v15-reason-card { min-height: 0; }
}


/* ==========================================================================
   PROFILE V15.1 — compact authority section + vertical section landing
   ========================================================================== */
@media (min-width: 901px) {
  html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    scroll-padding-top: 108px;
  }

  .profile-section-snap {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    scroll-margin-top: 108px;
  }
}

/* Philosophy remains readable, but the title and panel no longer dominate the screen. */
.profile-v14-philosophy {
  padding-top: 22px;
  padding-bottom: 28px;
}

.profile-v14-philosophy-head {
  margin-bottom: 12px;
}

.profile-v14-philosophy-head h2 {
  font-size: clamp(39px, 3.35vw, 52px);
}

.profile-v14-philosophy-card {
  height: min(448px, calc(100vh - 350px));
  min-height: 405px;
}

.profile-v14-philosophy-copy {
  padding: 34px clamp(38px, 4.25vw, 64px);
}

.profile-v14-philosophy-copy h3 {
  margin-bottom: 14px;
  font-size: clamp(38px, 3.45vw, 52px);
}

.profile-v14-philosophy-copy > p {
  font-size: clamp(16px, 1.22vw, 18px);
  line-height: 1.55;
}

.profile-v14-philosophy-callout {
  margin-top: 22px;
  padding: 14px 17px 15px;
}

.profile-v14-philosophy-callout strong {
  font-size: 15.5px;
}

.profile-v14-philosophy-visual figcaption strong {
  font-size: clamp(24px, 2vw, 31px);
}

.profile-v14-philosophy-controls {
  margin-top: 10px;
}

.profile-v14-philosophy-controls > button {
  width: 40px;
  height: 40px;
}

/* Compact Why Prof. Hanna section: bigger body copy, smaller headings, no SEO-query paragraph. */
.profile-v15-why {
  padding: 24px 0 30px;
}

.profile-v15-why-shell {
  width: min(1380px, calc(100% - 72px));
}

.profile-v15-why-head {
  display: block;
  margin-bottom: 16px;
}

.profile-v15-why-head > p {
  margin: 0 0 7px;
  color: #7b1e42;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .19em;
  line-height: 1.2;
  text-transform: uppercase;
}

.profile-v15-why-head h2 {
  max-width: none;
  font-size: clamp(38px, 3.25vw, 50px);
  line-height: 1;
}

.profile-v15-why-layout {
  grid-template-columns: minmax(430px, .9fr) minmax(0, 1.1fr);
  gap: 14px;
  align-items: stretch;
}

.profile-v15-proof-card {
  min-height: 318px;
  border-radius: 24px;
}

.profile-v15-proof-copy {
  padding: 25px 28px 18px;
}

.profile-v15-proof-copy small {
  margin-bottom: 11px;
  font-size: 10.5px;
}

.profile-v15-proof-copy h3 {
  margin-bottom: 12px;
  font-size: clamp(30px, 2.55vw, 39px);
  line-height: 1.02;
}

.profile-v15-proof-copy p {
  font-size: 15.5px;
  line-height: 1.52;
}

.profile-v15-proof-copy a {
  margin-top: 14px;
  font-size: 14px;
}

.profile-v15-proof-stats span {
  min-height: 72px;
  padding: 11px 12px;
}

.profile-v15-proof-stats b {
  font-size: 23px;
}

.profile-v15-proof-stats small {
  font-size: 9.5px;
}

.profile-v15-reason-grid {
  gap: 14px;
}

.profile-v15-reason-card {
  min-height: 152px;
  padding: 18px 21px 17px;
  border-radius: 21px;
}

.profile-v15-reason-card > span {
  margin-bottom: 8px;
  font-size: 18px;
}

.profile-v15-reason-card h3 {
  margin-bottom: 7px;
  font-size: clamp(22px, 1.75vw, 27px);
  line-height: 1.05;
}

.profile-v15-reason-card p {
  font-size: 14.5px;
  line-height: 1.46;
}

@media (min-width: 901px) and (max-height: 820px) {
  .profile-v14-philosophy-card {
    height: 405px;
    min-height: 405px;
  }

  .profile-v15-why {
    padding-top: 20px;
    padding-bottom: 24px;
  }

  .profile-v15-why-head h2 {
    font-size: 42px;
  }

  .profile-v15-proof-card {
    min-height: 300px;
  }

  .profile-v15-reason-card {
    min-height: 143px;
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .profile-v15-why-layout {
    grid-template-columns: .94fr 1.06fr;
  }
}

@media (max-width: 900px) {
  .profile-v15-why-head > p {
    margin-bottom: 8px;
  }

  .profile-v15-why-head h2 {
    font-size: clamp(37px, 10vw, 49px);
  }

  .profile-v15-proof-copy p,
  .profile-v15-reason-card p {
    font-size: 15px;
  }
}


/* ========================================================================== 
   PROFILE V16 — compact specialist expertise preview
   ========================================================================== */
.profile-v16-expertise {
  position: relative;
  overflow: hidden;
  padding: 24px 0 28px;
  background:
    radial-gradient(circle at 82% 12%, rgba(190, 231, 58, .11), transparent 28%),
    linear-gradient(135deg, #f3eee6 0%, #f8f6f0 48%, #edf3e8 100%);
}

.profile-v16-expertise::before {
  content: "";
  position: absolute;
  right: -130px;
  top: -170px;
  width: 410px;
  height: 410px;
  border: 1px solid rgba(113, 28, 61, .12);
  border-radius: 50%;
  pointer-events: none;
}

.profile-v16-expertise-shell {
  position: relative;
  z-index: 1;
  width: min(1380px, calc(100% - 72px));
  margin: 0 auto;
}

.profile-v16-expertise-head {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: end;
  gap: clamp(32px, 6vw, 92px);
  margin-bottom: 16px;
}

.profile-v16-expertise-head > div > p {
  margin: 0 0 7px;
  color: #7a1d42;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .19em;
  line-height: 1.2;
  text-transform: uppercase;
}

.profile-v16-expertise-head h2 {
  max-width: 830px;
  margin: 0;
  color: #143a2d;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(37px, 3.15vw, 49px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .98;
}

.profile-v16-expertise-head h2 span {
  color: #8b214e;
  font-style: italic;
}

.profile-v16-expertise-head > p {
  max-width: 600px;
  margin: 0 0 2px;
  color: #4e6259;
  font-family: Arial, sans-serif;
  font-size: clamp(16px, 1.18vw, 18px);
  font-weight: 600;
  line-height: 1.52;
}

.profile-v16-expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.profile-v16-expertise-card {
  position: relative;
  display: block;
  min-height: 305px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 24px;
  background: #1a342b;
  box-shadow: 0 18px 45px rgba(31, 48, 39, .12);
  color: #fff;
  text-decoration: none;
  transform: translateZ(0);
}

.profile-v16-expertise-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .65s cubic-bezier(.2,.75,.25,1), filter .65s ease;
}

.profile-v16-expertise-card:nth-child(2) img { object-position: 50% 44%; }
.profile-v16-expertise-card:nth-child(3) img { object-position: 50% 40%; }

.profile-v16-expertise-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 29, 23, .06) 0%, rgba(8, 29, 23, .25) 38%, rgba(42, 4, 22, .93) 100%),
    linear-gradient(90deg, rgba(20, 58, 45, .18), transparent 62%);
  transition: background .45s ease;
}

.profile-v16-expertise-copy {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 20px 23px 22px;
}

.profile-v16-expertise-copy small {
  display: block;
  margin-bottom: 8px;
  color: #c9f03e;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.profile-v16-expertise-copy h3 {
  max-width: 390px;
  margin: 0 0 8px;
  color: #fff9f5;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(27px, 2.1vw, 33px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.02;
}

.profile-v16-expertise-copy p {
  max-width: 415px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-family: Arial, sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.48;
}

.profile-v16-expertise-copy b {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 13.5px;
  font-style: normal;
  font-weight: 800;
}

.profile-v16-expertise-copy b i {
  color: #c9f03e;
  font-size: 19px;
  font-style: normal;
  transition: transform .3s ease;
}

.profile-v16-expertise-card:hover img,
.profile-v16-expertise-card:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.02);
}

.profile-v16-expertise-card:hover .profile-v16-expertise-shade,
.profile-v16-expertise-card:focus-visible .profile-v16-expertise-shade {
  background:
    linear-gradient(180deg, rgba(8, 29, 23, .02) 0%, rgba(8, 29, 23, .18) 33%, rgba(42, 4, 22, .96) 100%),
    linear-gradient(90deg, rgba(20, 58, 45, .13), transparent 62%);
}

.profile-v16-expertise-card:hover b i,
.profile-v16-expertise-card:focus-visible b i { transform: translateX(5px); }

.profile-v16-expertise-card:focus-visible {
  outline: 3px solid #c9f03e;
  outline-offset: 3px;
}

.profile-v16-expertise-foot {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  color: #6b525c;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.profile-v16-expertise-foot i {
  width: 24px;
  height: 1px;
  background: #9fc52b;
}

@media (min-width: 901px) and (max-height: 820px) {
  .profile-v16-expertise { padding-top: 20px; padding-bottom: 22px; }
  .profile-v16-expertise-head { margin-bottom: 13px; }
  .profile-v16-expertise-head h2 { font-size: 42px; }
  .profile-v16-expertise-head > p { font-size: 16px; }
  .profile-v16-expertise-card { min-height: 275px; }
  .profile-v16-expertise-copy { padding: 18px 20px 19px; }
  .profile-v16-expertise-copy h3 { font-size: 28px; }
  .profile-v16-expertise-copy p { font-size: 14px; }
}

@media (max-width: 1050px) and (min-width: 901px) {
  .profile-v16-expertise-head { grid-template-columns: 1fr; gap: 12px; }
  .profile-v16-expertise-head > p { max-width: 760px; }
  .profile-v16-expertise-card { min-height: 320px; }
}

@media (max-width: 900px) {
  .profile-v16-expertise { padding: 32px 0 38px; }
  .profile-v16-expertise-shell { width: min(100% - 24px, 720px); }
  .profile-v16-expertise-head { grid-template-columns: 1fr; gap: 14px; }
  .profile-v16-expertise-head h2 { font-size: clamp(37px, 10vw, 49px); }
  .profile-v16-expertise-head > p { font-size: 16px; }
  .profile-v16-expertise-grid { grid-template-columns: 1fr; }
  .profile-v16-expertise-card { min-height: 330px; }
  .profile-v16-expertise-copy h3 { font-size: 31px; }
  .profile-v16-expertise-copy p { font-size: 15px; }
  .profile-v16-expertise-foot { display: none; }
}


/* ========================================================================== 
   PROFILE V17 — complete profile: compact journey type, FAQ, navigation, CTA
   ========================================================================== */
.profile-v11-journey .profile-v9-journey-head h2 {
  max-width: 760px;
  font-size: clamp(36px, 3.55vw, 56px);
  line-height: .95;
}
.profile-v11-journey .profile-v9-story-card h3 {
  max-width: 690px;
  font-size: clamp(29px, 2.65vw, 42px);
  line-height: 1.01;
}
.profile-v11-journey .profile-v9-story-card p {
  font-size: clamp(15px, 1.12vw, 17px);
  line-height: 1.62;
}

.profile-v17-faq {
  position: relative;
  overflow: hidden;
  padding: 30px 0 34px;
  background: linear-gradient(135deg,#f5f0e8 0%,#fbfaf6 54%,#edf3e8 100%);
}
.profile-v17-faq::before { content:""; position:absolute; left:-160px; bottom:-240px; width:520px; height:520px; border:1px solid rgba(113,28,61,.12); border-radius:50%; }
.profile-v17-faq-shell,.profile-v17-nav-shell { position:relative; z-index:1; width:min(1380px,calc(100% - 72px)); margin:0 auto; }
.profile-v17-faq-head,.profile-v17-nav-head { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr); align-items:end; gap:clamp(34px,6vw,92px); margin-bottom:18px; }
.profile-v17-faq-head>div>p,.profile-v17-nav-head>div>p { margin:0 0 7px; color:#7b1e42; font:900 11px/1.2 Arial,sans-serif; letter-spacing:.19em; text-transform:uppercase; }
.profile-v17-faq-head h2,.profile-v17-nav-head h2 { margin:0; color:#15372a; font:400 clamp(36px,3vw,47px)/.99 Georgia,serif; letter-spacing:-.035em; }
.profile-v17-faq-head h2 span,.profile-v17-nav-head h2 span { color:#8b214e; font-style:italic; }
.profile-v17-faq-head>p,.profile-v17-nav-head>p { max-width:590px; margin:0 0 3px; color:#52665d; font:600 clamp(16px,1.15vw,18px)/1.5 Arial,sans-serif; }
.profile-v17-faq-layout { display:grid; grid-template-columns:minmax(360px,.72fr) minmax(0,1.28fr); gap:14px; align-items:stretch; }
.profile-v17-faq-stage { position:relative; min-height:420px; padding:32px; overflow:hidden; border-radius:26px; background:linear-gradient(145deg,#3c091f 0%,#68143a 58%,#8a3155 100%); box-shadow:0 20px 55px rgba(74,17,44,.19); color:#fff; }
.profile-v17-faq-stage::after { content:"?"; position:absolute; right:-8px; bottom:-88px; color:rgba(255,255,255,.05); font:400 330px/1 Georgia,serif; }
.profile-v17-faq-stage-top { display:flex; align-items:flex-end; gap:7px; position:relative; z-index:1; }
.profile-v17-faq-stage-top span { color:#c7ef39; font:400 68px/.9 Georgia,serif; }
.profile-v17-faq-stage-top small { margin-bottom:8px; color:rgba(255,255,255,.62); font:800 11px/1 Arial,sans-serif; letter-spacing:.13em; }
.profile-v17-faq-stage>p { position:relative; z-index:1; margin:25px 0 10px; color:#c7ef39; font:900 10px/1.2 Arial,sans-serif; letter-spacing:.18em; text-transform:uppercase; }
.profile-v17-faq-stage h3 { position:relative; z-index:1; max-width:500px; margin:0; font:400 clamp(28px,2.25vw,37px)/1.08 Georgia,serif; letter-spacing:-.02em; }
.profile-v17-faq-stage-tags { position:relative; z-index:1; display:flex; flex-wrap:wrap; gap:7px; margin-top:23px; }
.profile-v17-faq-stage-tags span { padding:7px 10px; border:1px solid rgba(255,255,255,.18); border-radius:999px; background:rgba(255,255,255,.06); color:rgba(255,255,255,.8); font:800 9px/1 Arial,sans-serif; }
.profile-v17-faq-stage>a { position:absolute; z-index:2; left:32px; bottom:30px; display:inline-flex; align-items:center; gap:15px; color:#fff; font:800 14px/1 Arial,sans-serif; text-decoration:none; }
.profile-v17-faq-stage>a b { color:#c7ef39; font-size:22px; }
.profile-v17-faq-list { overflow:hidden; border:1px solid rgba(30,58,45,.12); border-radius:26px; background:rgba(255,255,255,.67); box-shadow:0 18px 48px rgba(35,57,46,.08); }
.profile-v17-faq-item { border-bottom:1px solid rgba(30,58,45,.11); }
.profile-v17-faq-item:last-child { border-bottom:0; }
.profile-v17-faq-item button { display:grid; width:100%; grid-template-columns:42px minmax(0,1fr) 30px; align-items:center; gap:14px; padding:19px 23px; border:0; background:transparent; color:#17362b; text-align:left; cursor:pointer; }
.profile-v17-faq-item button span { color:#8b214e; font:400 19px/1 Georgia,serif; }
.profile-v17-faq-item button strong { font:700 clamp(16px,1.18vw,18px)/1.34 Arial,sans-serif; }
.profile-v17-faq-item button i { display:grid; width:30px; height:30px; place-items:center; border:1px solid rgba(30,58,45,.17); border-radius:50%; color:#7b1e42; font:400 22px/1 Arial,sans-serif; transition:.3s ease; }
.profile-v17-faq-answer { display:grid; grid-template-rows:0fr; transition:grid-template-rows .36s ease; }
.profile-v17-faq-answer p { min-height:0; overflow:hidden; margin:0; padding:0 67px 0 79px; color:#53665e; font:500 16px/1.58 Arial,sans-serif; }
.profile-v17-faq-item.is-active { background:linear-gradient(90deg,rgba(199,239,57,.12),rgba(255,255,255,.12)); }
.profile-v17-faq-item.is-active .profile-v17-faq-answer { grid-template-rows:1fr; }
.profile-v17-faq-item.is-active .profile-v17-faq-answer p { padding-bottom:19px; }
.profile-v17-faq-item.is-active button i { border-color:#c7ef39; background:#c7ef39; color:#321020; transform:rotate(45deg); }

.profile-v17-nav { position:relative; overflow:hidden; padding:28px 0 32px; background:#eef2eb; }
.profile-v17-nav-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.profile-v17-nav-card { position:relative; min-height:270px; overflow:hidden; border-radius:24px; color:#fff; text-decoration:none; box-shadow:0 18px 42px rgba(29,48,38,.12); }
.profile-v17-nav-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .65s cubic-bezier(.2,.7,.2,1); }
.profile-v17-nav-card:nth-child(1) img { object-position:center 34%; }.profile-v17-nav-card:nth-child(2) img { object-position:center 25%; }.profile-v17-nav-card:nth-child(3) img { object-position:center 35%; }
.profile-v17-nav-shade { position:absolute; inset:0; background:linear-gradient(180deg,rgba(12,31,24,.08) 4%,rgba(25,12,20,.22) 38%,rgba(52,7,29,.94) 100%); }
.profile-v17-nav-card>div { position:absolute; z-index:2; right:0; bottom:0; left:0; padding:24px 25px; }
.profile-v17-nav-card small { color:#c7ef39; font:900 9px/1.2 Arial,sans-serif; letter-spacing:.16em; text-transform:uppercase; }
.profile-v17-nav-card h3 { max-width:360px; margin:8px 0 7px; font:400 clamp(25px,2vw,31px)/1.04 Georgia,serif; }
.profile-v17-nav-card p { max-width:380px; margin:0; color:rgba(255,255,255,.8); font:500 14.5px/1.45 Arial,sans-serif; }
.profile-v17-nav-card b { display:inline-flex; align-items:center; gap:12px; margin-top:14px; color:#fff; font:800 13px/1 Arial,sans-serif; }
.profile-v17-nav-card b i { color:#c7ef39; font-style:normal; font-size:19px; }
.profile-v17-nav-card:hover img { transform:scale(1.045); }

.profile-v17-cta { padding:28px 0; background:#f7f4ee; }
.profile-v17-cta-shell { display:grid; width:min(1380px,calc(100% - 72px)); min-height:285px; margin:0 auto; grid-template-columns:minmax(0,1.35fr) minmax(350px,.65fr); overflow:hidden; border-radius:28px; background:linear-gradient(125deg,#3a071f 0%,#68133a 60%,#872f53 100%); box-shadow:0 24px 58px rgba(64,11,38,.18); color:#fff; }
.profile-v17-cta-copy { padding:38px 44px; }
.profile-v17-cta-copy>p { margin:0 0 9px; color:#c7ef39; font:900 10px/1.2 Arial,sans-serif; letter-spacing:.18em; text-transform:uppercase; }
.profile-v17-cta-copy h2 { max-width:760px; margin:0; font:400 clamp(34px,3vw,47px)/1 Georgia,serif; letter-spacing:-.03em; }
.profile-v17-cta-copy>span { display:block; max-width:760px; margin-top:13px; color:rgba(255,255,255,.78); font:500 16.5px/1.52 Arial,sans-serif; }
.profile-v17-cta-copy>div { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.profile-v17-cta-copy a { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:0 19px; border-radius:999px; font:800 13px/1 Arial,sans-serif; text-decoration:none; }
.profile-v17-cta-primary { gap:13px; background:#c7ef39; color:#34101f; }.profile-v17-cta-secondary { border:1px solid rgba(255,255,255,.27); color:#fff; }
.profile-v17-cta-details { display:grid; align-content:center; border-left:1px solid rgba(255,255,255,.13); background:rgba(21,7,14,.18); }
.profile-v17-cta-details span { display:flex; min-height:75px; flex-direction:column; justify-content:center; gap:5px; padding:12px 31px; border-bottom:1px solid rgba(255,255,255,.13); }
.profile-v17-cta-details span:last-child { border-bottom:0; }.profile-v17-cta-details small { color:#c7ef39; font:900 9px/1.2 Arial,sans-serif; letter-spacing:.15em; text-transform:uppercase; }.profile-v17-cta-details strong { color:#fff; font:600 16px/1.35 Arial,sans-serif; }

.site-footer .brand-logo-mark img { width:46px; height:auto; object-fit:contain; }
.footer-socials a { font-family:Arial,sans-serif; font-weight:900; }
.whatsapp-float { position:fixed; z-index:90; right:24px; bottom:23px; display:flex; align-items:center; gap:8px; min-height:48px; padding:0 16px; border-radius:999px; background:#23c96b; color:#fff; box-shadow:0 12px 32px rgba(13,104,55,.28); font:800 12px/1 Arial,sans-serif; text-decoration:none; }
.whatsapp-float>span { font-size:18px; }.whatsapp-float i { width:7px; height:7px; border-radius:50%; background:#d9ff4e; box-shadow:0 0 0 4px rgba(217,255,78,.18); }

@media (min-width:901px) and (max-height:850px){
  .profile-v17-faq { padding-top:22px; padding-bottom:26px; }
  .profile-v17-faq-stage { min-height:385px; }
  .profile-v17-faq-item button { padding-top:16px; padding-bottom:16px; }
  .profile-v17-nav-card { min-height:245px; }
  .profile-v17-cta-shell { min-height:255px; }
}
@media (max-width:1000px){
  .profile-v17-faq-layout,.profile-v17-cta-shell { grid-template-columns:1fr; }
  .profile-v17-faq-stage { min-height:350px; }
  .profile-v17-cta-details { grid-template-columns:repeat(3,1fr); border-left:0; border-top:1px solid rgba(255,255,255,.13); }
  .profile-v17-cta-details span { border-right:1px solid rgba(255,255,255,.13); border-bottom:0; }
  .profile-v17-cta-details span:last-child { border-right:0; }
}
@media (max-width:900px){
  .profile-v17-faq-shell,.profile-v17-nav-shell,.profile-v17-cta-shell { width:min(100% - 24px,720px); }
  .profile-v17-faq-head,.profile-v17-nav-head { grid-template-columns:1fr; gap:14px; }
  .profile-v17-faq-head h2,.profile-v17-nav-head h2 { font-size:clamp(34px,10vw,47px); }
  .profile-v17-nav-grid { grid-template-columns:1fr; }
  .profile-v17-nav-card { min-height:260px; }
  .profile-v17-faq-item button { grid-template-columns:34px minmax(0,1fr) 28px; padding:17px 15px; gap:10px; }
  .profile-v17-faq-answer p { padding-left:59px; padding-right:18px; }
  .profile-v17-cta-copy { padding:30px 24px; }
  .profile-v17-cta-details { grid-template-columns:1fr; }
  .profile-v17-cta-details span { border-right:0; border-bottom:1px solid rgba(255,255,255,.13); }
}

/* ========================================================================== 
   PROFILE V17.2 — final compact section rhythm
   ========================================================================== */
@media (min-width: 901px) {
  .profile-v16-expertise,
  .profile-v17-faq,
  .profile-v17-nav,
  .profile-v17-cta {
    scroll-margin-top: 118px;
  }

  /* A visible stop between chapters without oversized empty bands. */
  .profile-v16-expertise {
    margin-top: 28px;
    padding-top: 30px;
    padding-bottom: 36px;
  }

  .profile-v17-faq {
    margin-top: 28px;
    padding-top: 30px;
    padding-bottom: 36px;
  }

  .profile-v17-nav {
    margin-top: 28px;
    padding-top: 30px;
    padding-bottom: 36px;
  }

  .profile-v17-cta {
    margin-top: 28px;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .profile-v17-faq-head,
  .profile-v17-nav-head {
    display: block;
    margin-bottom: 22px;
  }

  .profile-v17-faq-head > div,
  .profile-v17-nav-head > div,
  .profile-v17-faq-head h2,
  .profile-v17-nav-head h2 {
    max-width: 900px;
  }

  .profile-v16-expertise-foot {
    margin-top: 14px;
  }
}

@media (min-width: 901px) and (max-height: 850px) {
  .profile-v16-expertise { margin-top: 24px; padding-top: 28px; padding-bottom: 32px; }
  .profile-v17-faq { margin-top: 24px; padding-top: 28px; padding-bottom: 32px; }
  .profile-v17-nav { margin-top: 24px; padding-top: 28px; padding-bottom: 32px; }
  .profile-v17-cta { margin-top: 24px; padding-top: 26px; padding-bottom: 26px; }
}

@media (max-width: 900px) {
  .profile-v16-expertise,
  .profile-v17-faq,
  .profile-v17-nav,
  .profile-v17-cta {
    margin-top: 24px;
  }

  .profile-v17-faq-head,
  .profile-v17-nav-head {
    display: block;
  }
}


/* =========================================================
   QUALIFICATIONS PAGE — ILLUMINATED HALL OF RECOGNITION
   ========================================================= */
html { scroll-behavior:smooth; }
.qualifications-site { background:#f4f0e9; overflow:clip; }
.qualifications-site .site-header { z-index:120; }
.qual-shell { width:min(1420px, calc(100% - 72px)); margin:0 auto; }
.qual-kicker,
.qual-section-head>div>p,
.qual-sister-head>p,
.qual-cta-inner>div>p { margin:0; color:#c8ef35; font:800 11px/1.2 Arial,sans-serif; letter-spacing:.18em; text-transform:uppercase; }

.qual-hero { position:relative; min-height:520px; padding:132px 0 46px; color:#fff8ed; background:
  radial-gradient(circle at 80% 26%, rgba(242,190,109,.16), transparent 27%),
  radial-gradient(circle at 17% 20%, rgba(111,26,62,.58), transparent 40%),
  linear-gradient(118deg,#190913 0%,#2d0b1c 42%,#111315 100%); isolation:isolate; }
.qual-hero:before { content:""; position:absolute; inset:0; opacity:.34; pointer-events:none; background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.022) 1px,transparent 1px); background-size:42px 42px; mask-image:linear-gradient(to bottom,black,transparent 90%); }
.qual-hero-light { position:absolute; width:640px; height:430px; right:5%; top:24px; border-radius:50%; background:radial-gradient(ellipse,rgba(255,219,158,.24) 0%,rgba(235,176,92,.08) 38%,transparent 72%); filter:blur(12px); pointer-events:none; }
.qual-hero-grid { position:relative; z-index:2; min-height:342px; display:grid; grid-template-columns:minmax(0,1.08fr) minmax(430px,.92fr); align-items:center; gap:54px; }
.qual-hero-copy { max-width:760px; padding-left:8px; }
.qual-hero-copy h1 { margin:16px 0 18px; font:500 clamp(46px,4.2vw,62px)/.98 Georgia,serif; letter-spacing:-.047em; }
.qual-hero-copy h1 em { color:#d9a8b8; font-weight:400; }
.qual-hero-summary { max-width:720px; margin:0; color:rgba(255,245,237,.78); font:500 18px/1.58 Arial,sans-serif; }
.qual-hero-credentials { display:flex; flex-wrap:wrap; gap:9px; margin-top:24px; }
.qual-hero-credentials span { min-height:36px; display:inline-flex; align-items:center; padding:0 14px; border:1px solid rgba(226,190,126,.26); border-radius:999px; background:rgba(255,255,255,.055); box-shadow:inset 0 1px rgba(255,255,255,.07); color:#fff7e9; font:800 11px/1 Arial,sans-serif; letter-spacing:.04em; }
.qual-scroll-link { display:inline-flex; align-items:center; gap:13px; margin-top:24px; color:#fff7e9; text-decoration:none; font:800 13px/1 Arial,sans-serif; }
.qual-scroll-link b { display:grid; place-items:center; width:31px; height:31px; border:1px solid rgba(200,239,53,.44); border-radius:50%; color:#c8ef35; }
.qual-hero-portrait { position:relative; align-self:stretch; min-height:350px; display:flex; align-items:flex-end; justify-content:center; }
.qual-hero-portrait>img { position:absolute; z-index:3; bottom:-46px; left:50%; transform:translateX(-50%); width:min(370px,72%); max-height:430px; object-fit:contain; object-position:center bottom; filter:drop-shadow(0 25px 30px rgba(0,0,0,.34)); }
.qual-portrait-case { position:absolute; z-index:1; width:72%; height:92%; bottom:-18px; border:1px solid rgba(227,185,117,.24); border-radius:180px 180px 22px 22px; background:linear-gradient(180deg,rgba(246,210,151,.09),rgba(255,255,255,.025) 42%,rgba(0,0,0,.22)); box-shadow:inset 0 1px rgba(255,255,255,.09),0 28px 60px rgba(0,0,0,.2); overflow:hidden; }
.qual-portrait-case:before { content:""; position:absolute; left:12%; right:12%; top:16px; height:6px; border-radius:99px; background:#f4c77f; box-shadow:0 0 10px #f0b95e,0 8px 42px rgba(250,203,128,.68); }
.qual-portrait-case:after { content:""; position:absolute; inset:22px 8% 0; background:linear-gradient(112deg,transparent 26%,rgba(255,255,255,.09) 38%,transparent 51%); transform:skewX(-12deg); }
.qual-portrait-case i,.qual-portrait-case b { position:absolute; bottom:0; top:0; width:1px; background:rgba(255,255,255,.07); }
.qual-portrait-case i{left:18%}.qual-portrait-case b{right:18%}
.qual-hero-plaque { position:absolute; z-index:5; min-width:144px; padding:12px 14px; border:1px solid rgba(242,206,145,.22); border-radius:11px; backdrop-filter:blur(14px); background:rgba(24,20,20,.66); box-shadow:0 16px 34px rgba(0,0,0,.26),inset 0 1px rgba(255,255,255,.08); }
.qual-hero-plaque small { display:block; margin-bottom:5px; color:rgba(255,248,237,.57); font:700 9px/1.2 Arial,sans-serif; letter-spacing:.08em; text-transform:uppercase; }
.qual-hero-plaque strong { color:#f3c97e; font:500 23px/1 Georgia,serif; }
.plaque-one { left:0; top:38px; }.plaque-two { right:0; top:88px; }.plaque-three { right:4%; bottom:12px; }

.qual-hall { position:relative; padding:82px 0 74px; background:#e9e2d8; }
.qual-hall:before { content:""; position:absolute; inset:0; pointer-events:none; background:radial-gradient(circle at 50% 0,rgba(255,255,255,.7),transparent 35%),linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent); }
.qual-section-head { position:relative; display:grid; grid-template-columns:1fr minmax(330px,.58fr); align-items:end; gap:54px; margin-bottom:34px; }
.qual-section-head>div>p { color:#6f193f; }
.qual-section-head h2 { margin:11px 0 0; color:#2f1722; font:500 clamp(38px,3.5vw,50px)/1.01 Georgia,serif; letter-spacing:-.042em; }
.qual-section-head h2 em { color:#823451; font-weight:400; }
.qual-section-head>span { max-width:520px; justify-self:end; color:#5d5053; font:500 16px/1.55 Arial,sans-serif; }
.qual-display-wall { --gap:12px; position:relative; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:var(--gap); padding:18px; border:1px solid rgba(245,207,136,.25); border-radius:24px; background:linear-gradient(135deg,#131517,#0d0f10 48%,#191514); box-shadow:0 28px 75px rgba(57,34,31,.24),inset 0 1px rgba(255,255,255,.08); overflow:hidden; }
.qual-display-wall:before { content:""; position:absolute; inset:0; pointer-events:none; opacity:.7; background:linear-gradient(105deg,transparent 0 17%,rgba(255,255,255,.025) 24%,transparent 32% 66%,rgba(255,255,255,.018) 72%,transparent 80%); }
.qual-wall-frame { position:absolute; inset:8px; border:1px solid rgba(229,183,107,.11); border-radius:18px; pointer-events:none; }
.qual-hall-niche { --px:50%;--py:50%; position:relative; min-height:310px; padding:64px 22px 24px; border:1px solid rgba(248,218,164,.13); border-radius:14px; background:
  radial-gradient(circle at var(--px) var(--py),rgba(255,222,161,.09),transparent 35%),
  linear-gradient(180deg,rgba(120,91,64,.21) 0%,rgba(55,42,35,.25) 22%,rgba(20,20,20,.76) 72%),#181818;
 box-shadow:inset 0 1px rgba(255,255,255,.05),inset 0 -24px 48px rgba(0,0,0,.25); overflow:hidden; opacity:.45; transform:translateY(12px); transition:opacity .55s ease var(--delay),transform .55s ease var(--delay),border-color .28s ease,box-shadow .28s ease; }
.qual-hall-niche.is-lit { opacity:1; transform:none; }
.qual-hall-niche:hover { border-color:rgba(244,200,126,.42); box-shadow:inset 0 1px rgba(255,255,255,.08),inset 0 -24px 48px rgba(0,0,0,.28),0 0 0 1px rgba(242,194,117,.08),0 20px 45px rgba(0,0,0,.2); }
.qual-hall-niche:after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(112deg,transparent 0 43%,rgba(255,255,255,.055) 47%,transparent 53% 100%); transform:translateX(-90%); transition:transform .65s ease; }
.qual-hall-niche:hover:after { transform:translateX(80%); }
.qual-lamp { position:absolute; z-index:2; width:62%; height:5px; left:19%; top:14px; border-radius:99px; background:linear-gradient(90deg,transparent,#f2be6b 18%,#fff1c9 50%,#f2be6b 82%,transparent); box-shadow:0 0 9px rgba(244,190,105,.92),0 14px 48px rgba(244,190,105,.34); }
.qual-lamp:after { content:""; position:absolute; left:-28%; right:-28%; top:0; height:150px; background:linear-gradient(180deg,rgba(255,220,154,.22),transparent 78%); clip-path:polygon(25% 0,75% 0,100% 100%,0 100%); filter:blur(5px); }
.qual-niche-index { position:absolute; z-index:4; top:22px; right:18px; color:rgba(255,238,208,.42); font:700 10px/1 Arial,sans-serif; letter-spacing:.13em; }
.qual-logo-plate { position:relative; z-index:3; width:104px; height:78px; display:grid; place-items:center; margin:0 auto 20px; padding:10px; border:1px solid rgba(255,255,255,.13); border-radius:12px; background:rgba(255,255,255,.93); box-shadow:0 10px 24px rgba(0,0,0,.24),inset 0 1px white; }
.qual-logo-plate img { max-width:100%; max-height:100%; object-fit:contain; }
.qual-logo-plate.dark-plate { background:#0b0c0d; }.qual-logo-plate.wide-plate { width:136px; }.qual-logo-plate.logo-duo { width:174px; grid-template-columns:1fr 1fr; gap:9px; }
.qual-logo-plate.logo-duo img { max-height:54px; }
.qual-hall-niche>small { position:relative; z-index:3; display:block; margin:0 0 8px; color:#c8ef35; font:800 9px/1.2 Arial,sans-serif; letter-spacing:.13em; text-transform:uppercase; text-align:center; }
.qual-hall-niche h3 { position:relative; z-index:3; min-height:49px; margin:0; color:#fff8ec; font:500 22px/1.08 Georgia,serif; letter-spacing:-.018em; text-align:center; }
.qual-hall-niche p { position:relative; z-index:3; margin:12px auto 0; max-width:280px; color:rgba(255,246,234,.66); font:500 14px/1.48 Arial,sans-serif; text-align:center; }
.qual-niche-feature { background:radial-gradient(circle at var(--px) var(--py),rgba(255,222,161,.105),transparent 36%),linear-gradient(180deg,rgba(112,63,70,.24),rgba(58,32,40,.2) 28%,rgba(19,19,19,.83) 78%),#181818; }
.qual-institutions { position:relative; margin-top:22px; padding:22px 24px 24px; border:1px solid rgba(75,38,48,.12); border-radius:18px; background:rgba(255,255,255,.56); box-shadow:inset 0 1px white; }
.qual-institutions>p { margin:0 0 17px; color:#6b5360; font:800 10px/1 Arial,sans-serif; letter-spacing:.16em; text-transform:uppercase; text-align:center; }
.qual-institution-row { display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); align-items:center; gap:10px; }
.qual-institution-row span { height:64px; display:grid; place-items:center; padding:9px 10px; border:1px solid rgba(67,44,50,.08); border-radius:10px; background:rgba(255,255,255,.9); }
.qual-institution-row span.dark-logo { background:#132d4d; }
.qual-institution-row img { max-width:100%; max-height:44px; object-fit:contain; filter:saturate(.88); }

.qual-sisters { padding:72px 0 76px; background:#f6f2eb; }
.qual-sister-head { display:flex; justify-content:space-between; align-items:end; gap:40px; margin-bottom:26px; }
.qual-sister-head>p { color:#6f193f; }
.qual-sister-head h2 { margin:0; color:#2f1722; font:500 clamp(34px,3vw,44px)/1.02 Georgia,serif; letter-spacing:-.04em; }
.qual-sister-head h2 em { color:#80334f; font-weight:400; }
.qual-sister-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:15px; }
.qual-sister-card { position:relative; min-height:310px; overflow:hidden; border-radius:17px; color:white; text-decoration:none; box-shadow:0 18px 42px rgba(53,27,38,.14); }
.qual-sister-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.qual-sister-card>span { position:absolute; inset:0; background:linear-gradient(180deg,rgba(21,8,14,.05),rgba(31,9,20,.25) 34%,rgba(24,6,15,.94)); }
.qual-sister-card>div { position:absolute; z-index:2; left:24px; right:24px; bottom:23px; }
.qual-sister-card small { color:#c8ef35; font:800 9px/1 Arial,sans-serif; letter-spacing:.13em; text-transform:uppercase; }
.qual-sister-card h3 { margin:8px 0 8px; font:500 28px/1.05 Georgia,serif; }
.qual-sister-card p { margin:0 0 15px; max-width:390px; color:rgba(255,255,255,.75); font:500 14px/1.45 Arial,sans-serif; }
.qual-sister-card b { font:800 12px/1 Arial,sans-serif; }
.qual-sister-card:hover img { transform:scale(1.035); }

.qual-cta { padding:44px 0; color:#fff; background:linear-gradient(108deg,#4c102c,#701b43 58%,#2b0a1c); }
.qual-cta-inner { display:flex; align-items:center; justify-content:space-between; gap:44px; }
.qual-cta-inner>div>p { margin-bottom:9px; }
.qual-cta h2 { max-width:800px; margin:0; font:500 clamp(31px,3vw,43px)/1.04 Georgia,serif; letter-spacing:-.035em; }
.qual-cta-actions { display:flex; gap:10px; flex-shrink:0; }
.qual-cta-actions a { min-height:48px; display:inline-flex; align-items:center; justify-content:center; gap:12px; padding:0 18px; border-radius:12px; color:#fff; text-decoration:none; font:800 12px/1 Arial,sans-serif; border:1px solid rgba(255,255,255,.25); }
.qual-cta-actions a:first-child { background:#c8ef35; border-color:#c8ef35; color:#1d2711; }

@media (max-width:1180px){
 .qual-shell{width:min(100% - 42px,1120px)}
 .qual-hero-grid{grid-template-columns:1.05fr .95fr;gap:24px}.qual-hero-plaque{display:none}
 .qual-display-wall{grid-template-columns:repeat(2,1fr)}
 .qual-institution-row{grid-template-columns:repeat(4,1fr)}
}
@media (max-width:800px){
 .qual-shell{width:min(100% - 28px,720px)}
 .qual-hero{min-height:auto;padding:112px 0 0}.qual-hero-grid{display:block}.qual-hero-copy{padding:0 4px 36px}.qual-hero-copy h1{font-size:45px}.qual-hero-summary{font-size:16px}.qual-hero-portrait{min-height:330px}.qual-hero-portrait>img{width:300px;bottom:-20px}.qual-portrait-case{width:78%;bottom:0}
 .qual-hall{padding:58px 0}.qual-section-head{display:block;margin-bottom:25px}.qual-section-head>span{display:block;margin-top:18px;font-size:15px}.qual-display-wall{grid-template-columns:1fr;padding:12px}.qual-hall-niche{min-height:292px}.qual-institution-row{grid-template-columns:repeat(2,1fr)}
 .qual-sisters{padding:56px 0}.qual-sister-head{display:block}.qual-sister-head>p{margin-bottom:10px}.qual-sister-grid{grid-template-columns:1fr}.qual-sister-card{min-height:280px}
 .qual-cta-inner{display:block}.qual-cta-actions{margin-top:24px;flex-wrap:wrap}
}
/* Qualifications V1 polish */
.qual-hero{overflow:hidden}
.qual-hero-portrait>img{bottom:-118px;width:min(390px,76%)}
.qual-portrait-case{bottom:-72px}
.qual-logo-plate{height:90px;overflow:hidden;margin-bottom:22px}
.qual-logo-plate img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain}
.qual-logo-plate.logo-duo img{max-height:none}
@media(max-width:800px){.qual-hero-portrait>img{bottom:-78px}.qual-portrait-case{bottom:-48px}}


/* QUALIFICATIONS V1.1 — simplified hero + real illuminated display */
.qual-hero-copy h1{max-width:690px;font-size:clamp(44px,3.8vw,58px)}
.qual-hero-summary{max-width:650px;font-size:18px;line-height:1.55}
.qual-hero-credentials,.qual-hero-plaque{display:none!important}
.qual-hero-portrait{min-height:350px}
.qual-section-head-simple{display:block;grid-template-columns:none;margin-bottom:28px}
.qual-section-head-simple>div{max-width:820px}
.qual-section-head-simple>span{display:none}
.qual-display-wall{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;padding:19px;background:linear-gradient(135deg,#111315,#090b0d 48%,#161312);box-shadow:0 30px 80px rgba(45,29,25,.28),inset 0 1px rgba(255,255,255,.07)}
.qual-hall-niche{position:relative;min-height:292px;padding:66px 20px 23px;background:linear-gradient(180deg,rgba(41,35,30,.92),rgba(21,20,19,.94) 42%,#111214 100%);isolation:isolate}
.qual-hall-niche::before{content:"";position:absolute;z-index:1;left:7%;right:7%;top:18px;height:180px;pointer-events:none;background:radial-gradient(ellipse at 50% 0%,rgba(255,250,221,.48) 0%,rgba(255,229,166,.22) 26%,rgba(236,183,99,.10) 48%,transparent 74%);filter:blur(2px);opacity:0;transform:translateY(-6px) scale(.96);transition:opacity .55s ease var(--delay),transform .55s ease var(--delay)}
.qual-hall-niche.is-lit::before{opacity:1;transform:none}
.qual-lamp{position:absolute;z-index:5;width:66%;height:10px;left:17%;top:13px;border-radius:999px;background:linear-gradient(180deg,#29251f,#0c0d0e);box-shadow:0 2px 4px rgba(0,0,0,.75),0 0 0 1px rgba(255,255,255,.06)}
.qual-lamp::before{content:"";position:absolute;left:5%;right:5%;top:3px;height:4px;border-radius:999px;background:linear-gradient(90deg,#d09b4f,#fff9d9 20%,#fffef0 50%,#fff9d9 80%,#d09b4f);box-shadow:0 0 5px rgba(255,255,235,.95),0 0 18px rgba(255,222,147,.95),0 10px 34px rgba(239,180,88,.62)}
.qual-lamp::after{content:"";position:absolute;left:-26%;right:-26%;top:7px;height:205px;clip-path:polygon(31% 0,69% 0,100% 100%,0 100%);background:linear-gradient(180deg,rgba(255,247,211,.34),rgba(255,218,145,.14) 42%,transparent 84%);filter:blur(5px);opacity:0;transform:scaleY(.72);transform-origin:top;transition:opacity .6s ease var(--delay),transform .6s ease var(--delay)}
.qual-hall-niche.is-lit .qual-lamp::after{opacity:1;transform:scaleY(1)}
.qual-logo-plate{z-index:4;box-shadow:0 10px 28px rgba(0,0,0,.32),0 0 28px rgba(255,225,166,.08),inset 0 1px #fff}
.qual-hall-niche>small,.qual-hall-niche h3,.qual-hall-niche p,.qual-niche-index{z-index:4}
.qual-hall-niche:hover{border-color:rgba(255,221,160,.44);box-shadow:inset 0 1px rgba(255,255,255,.08),inset 0 -24px 48px rgba(0,0,0,.32),0 18px 42px rgba(0,0,0,.25)}
.qual-career-gallery{grid-column:1/-1;margin-top:1px;padding:19px 18px 17px;border:1px solid rgba(248,218,164,.13);border-radius:14px;background:linear-gradient(180deg,rgba(28,27,25,.96),rgba(13,15,16,.98));box-shadow:inset 0 1px rgba(255,255,255,.05)}
.qual-career-gallery-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 3px 14px;color:#fff3df;font:800 10px/1 Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase}
.qual-career-gallery-head b{color:#c8ef35;font-size:9px;letter-spacing:.16em}
.qual-career-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:9px}
.qual-career-niche{position:relative;height:96px;display:grid;place-items:center;padding:24px 10px 10px;border:1px solid rgba(245,214,157,.13);border-radius:10px;background:linear-gradient(180deg,rgba(50,44,36,.58),rgba(20,21,21,.9));overflow:hidden;opacity:.55;transform:translateY(7px);transition:.45s ease var(--delay)}
.qual-career-niche::before{content:"";position:absolute;inset:8px 8px auto;height:65px;background:radial-gradient(ellipse at 50% 0,rgba(255,247,210,.33),rgba(236,182,96,.11) 44%,transparent 76%);opacity:0;transition:.45s ease var(--delay)}
.qual-career-niche.is-lit{opacity:1;transform:none}.qual-career-niche.is-lit::before{opacity:1}
.qual-career-niche img{position:relative;z-index:3;max-width:92%;max-height:54px;object-fit:contain;filter:saturate(.92) brightness(1.05)}
.qual-career-niche.dark-logo{background:#102c4b}.qual-career-niche.dark-logo img{filter:none}
.qual-mini-lamp{position:absolute;z-index:4;left:18%;right:18%;top:9px;height:5px;border-radius:99px;background:#1b1b19;box-shadow:0 1px 3px rgba(0,0,0,.7)}
.qual-mini-lamp::after{content:"";position:absolute;left:7%;right:7%;top:1px;height:2px;border-radius:99px;background:#fffbe1;box-shadow:0 0 4px #fffbe7,0 0 12px rgba(255,215,139,.95),0 8px 22px rgba(239,174,75,.42)}
.qual-institutions{display:none!important}
@media(max-width:1100px){.qual-career-grid{grid-template-columns:repeat(4,1fr)}.qual-display-wall{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.qual-hero-copy h1{font-size:42px}.qual-career-grid{grid-template-columns:repeat(2,1fr)}.qual-display-wall{grid-template-columns:1fr}.qual-career-gallery{grid-column:auto}.qual-career-gallery-head{align-items:flex-start;flex-direction:column;gap:7px}}


/* QUALIFICATIONS V1.2 — complete 4×2 Hall + institution context */
.qual-publication-plate{position:relative;z-index:4;width:112px;height:90px;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:0 auto 22px;border:1px solid rgba(255,244,220,.18);border-radius:12px;background:linear-gradient(155deg,rgba(255,255,255,.96),rgba(240,226,202,.9));box-shadow:0 10px 28px rgba(0,0,0,.32),0 0 32px rgba(255,225,166,.12),inset 0 1px #fff;color:#53142f}
.qual-publication-plate strong{font:500 35px/1 Georgia,serif;letter-spacing:-.04em}
.qual-publication-plate span{margin-top:5px;font:800 9px/1 Arial,sans-serif;letter-spacing:.18em;color:#8a6d43}
.qual-career-niche{height:146px;grid-template-rows:58px auto;align-content:center;gap:9px;padding:27px 9px 11px}
.qual-career-niche img{align-self:center;max-height:52px}
.qual-career-role{position:relative;z-index:3;display:block;min-height:31px;color:rgba(255,246,234,.68);font:700 9.5px/1.3 Arial,sans-serif;letter-spacing:.01em;text-align:center;text-transform:none}
.qual-career-role b{color:#c8ef35;font-weight:900}
.qual-career-niche.is-current{border-color:rgba(200,239,53,.34);background:linear-gradient(180deg,rgba(48,56,37,.72),rgba(18,23,18,.94));box-shadow:inset 0 0 0 1px rgba(200,239,53,.05)}
.qual-career-niche.is-current::before{background:radial-gradient(ellipse at 50% 0,rgba(255,250,221,.38),rgba(200,239,53,.10) 46%,transparent 76%)}
@media(max-width:1100px){.qual-career-niche{height:138px}}
@media(max-width:800px){.qual-career-niche{height:142px}.qual-career-role{font-size:10px}}

/* QUALIFICATIONS V1.3 — premium editorial sister links, no card feel */
.qual-sisters{
  padding:62px 0 70px;
  background:#f6f2eb;
  overflow:hidden;
}
.qual-sister-head{
  margin-bottom:24px;
  align-items:end;
}
.qual-sister-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  border-top:1px solid rgba(63,31,42,.16);
  border-bottom:1px solid rgba(63,31,42,.16);
  background:#26131b;
  overflow:hidden;
}
.qual-sister-card{
  position:relative;
  min-height:350px;
  border-radius:0;
  box-shadow:none;
  overflow:hidden;
  isolation:isolate;
  background:#1e1016;
  color:#fff;
  transform:translateZ(0);
}
.qual-sister-card + .qual-sister-card{
  border-left:1px solid rgba(255,255,255,.22);
}
.qual-sister-card::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(180deg,rgba(10,4,7,.02) 10%,rgba(19,6,12,.14) 42%,rgba(20,6,13,.9) 100%);
  transition:background .65s cubic-bezier(.2,.7,.2,1);
}
.qual-sister-card::after{
  content:"";
  position:absolute;
  z-index:3;
  left:28px;
  right:28px;
  bottom:22px;
  height:1px;
  background:linear-gradient(90deg,#c8ef35 0 52px,rgba(255,255,255,.3) 52px 100%);
  transform-origin:left center;
  transform:scaleX(.28);
  opacity:.72;
  transition:transform .65s cubic-bezier(.2,.7,.2,1),opacity .45s ease;
}
.qual-sister-card img{
  position:absolute;
  inset:-3%;
  width:106%;
  height:106%;
  object-fit:cover;
  transition:transform 1.05s cubic-bezier(.18,.72,.18,1),filter .7s ease;
  will-change:transform;
}
.qual-sister-card:nth-child(1) img{object-position:center 34%;}
.qual-sister-card:nth-child(2) img{object-position:center 24%;}
.qual-sister-card:nth-child(3) img{object-position:center 46%;}
.qual-sister-card>span{display:none;}
.qual-sister-card>div{
  position:absolute;
  z-index:4;
  left:30px;
  right:30px;
  bottom:45px;
  transform:translateY(0);
  transition:transform .65s cubic-bezier(.2,.7,.2,1);
}
.qual-sister-card small{
  display:block;
  color:#d4f451;
  font:800 9px/1 Arial,sans-serif;
  letter-spacing:.15em;
  text-transform:uppercase;
  opacity:.96;
}
.qual-sister-card h3{
  margin:9px 0 8px;
  max-width:360px;
  font:500 clamp(25px,2.15vw,32px)/1.03 Georgia,serif;
  letter-spacing:-.025em;
}
.qual-sister-card p{
  margin:0;
  max-width:360px;
  color:rgba(255,255,255,.77);
  font:500 14px/1.52 Arial,sans-serif;
  transition:color .45s ease;
}
.qual-sister-card b{
  display:inline-flex;
  margin-top:14px;
  align-items:center;
  gap:8px;
  color:#fff;
  font:800 12px/1 Arial,sans-serif;
  opacity:.9;
  transform:translateX(0);
  transition:transform .45s ease,opacity .45s ease;
}
.qual-sister-card:hover img,
.qual-sister-card:focus-visible img{
  transform:scale(1.075) translate3d(-.8%,-.8%,0);
  filter:saturate(1.04) contrast(1.025);
}
.qual-sister-card:hover::before,
.qual-sister-card:focus-visible::before{
  background:linear-gradient(180deg,rgba(10,4,7,0) 8%,rgba(19,6,12,.08) 38%,rgba(20,6,13,.82) 100%);
}
.qual-sister-card:hover::after,
.qual-sister-card:focus-visible::after{
  transform:scaleX(1);
  opacity:1;
}
.qual-sister-card:hover>div,
.qual-sister-card:focus-visible>div{
  transform:translateY(-8px);
}
.qual-sister-card:hover b,
.qual-sister-card:focus-visible b{
  transform:translateX(7px);
  opacity:1;
}
@media (max-width:900px){
  .qual-sister-grid{grid-template-columns:1fr;}
  .qual-sister-card{min-height:300px;}
  .qual-sister-card + .qual-sister-card{border-left:0;border-top:1px solid rgba(255,255,255,.2);}
}

/* QUALIFICATIONS V1.4 — separated premium sister cards with responsive 3D swing */
.qual-sisters{
  padding:58px 0 68px;
  background:#f6f2eb;
  overflow:visible;
}
.qual-sister-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  border:0;
  background:transparent;
  overflow:visible;
  perspective:1200px;
}
.qual-sister-card{
  --rx:0deg;
  --ry:0deg;
  --rz:0deg;
  position:relative;
  min-height:330px;
  border:1px solid rgba(68,36,47,.14);
  border-radius:20px;
  box-shadow:0 14px 34px rgba(45,24,33,.10),0 2px 8px rgba(45,24,33,.06);
  overflow:hidden;
  isolation:isolate;
  background:#1e1016;
  color:#fff;
  transform-style:preserve-3d;
  transform:perspective(1100px) translate3d(0,0,0) rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(var(--rz));
  transition:transform .62s cubic-bezier(.18,.78,.2,1),box-shadow .62s cubic-bezier(.18,.78,.2,1),border-color .45s ease;
  will-change:transform;
}
.qual-sister-card + .qual-sister-card{border-left:1px solid rgba(68,36,47,.14);}
.qual-sister-card.is-tilting{transition:transform .14s linear,box-shadow .35s ease,border-color .35s ease;}
.qual-sister-card:hover,
.qual-sister-card:focus-visible{
  transform:perspective(1100px) translate3d(0,-11px,26px) rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(var(--rz));
  border-color:rgba(128,51,79,.30);
  box-shadow:0 30px 64px rgba(45,24,33,.20),0 10px 24px rgba(45,24,33,.12);
  z-index:5;
}
.qual-sister-card::before{
  background:linear-gradient(180deg,rgba(10,4,7,.01) 8%,rgba(19,6,12,.12) 43%,rgba(20,6,13,.92) 100%);
}
.qual-sister-card::after{
  left:28px;
  right:28px;
  bottom:21px;
}
.qual-sister-card img{
  inset:-2%;
  width:104%;
  height:104%;
  transition:transform .85s cubic-bezier(.18,.72,.18,1),filter .65s ease;
}
.qual-sister-card>div{
  left:28px;
  right:28px;
  bottom:44px;
  transform:translateZ(34px);
  transition:transform .62s cubic-bezier(.18,.78,.2,1);
}
.qual-sister-card:hover>div,
.qual-sister-card:focus-visible>div{
  transform:translate3d(0,-8px,46px);
}
.qual-sister-card:hover img,
.qual-sister-card:focus-visible img{
  transform:scale(1.065) translate3d(-.5%,-.6%,0);
  filter:saturate(1.05) contrast(1.03);
}
.qual-sister-card::selection{background:#c8ef35;color:#1a1115;}
@media (prefers-reduced-motion: reduce){
  .qual-sister-card,.qual-sister-card img,.qual-sister-card>div{transition:none!important;transform:none!important;}
}
@media (max-width:900px){
  .qual-sister-grid{grid-template-columns:1fr;gap:15px;perspective:none;}
  .qual-sister-card{min-height:285px;transform:none!important;}
  .qual-sister-card + .qual-sister-card{border-left:1px solid rgba(68,36,47,.14);border-top:1px solid rgba(68,36,47,.14);}
}


/* ==========================================================
   TEACHING, RESEARCH & MEDIA V1 — EDITORIAL DESK
   ========================================================== */
.teaching-media-site{background:#f2eee7;color:#17382f}
.tm-hero{position:relative;min-height:560px;padding:154px 0 64px;background:radial-gradient(circle at 72% 24%,rgba(185,158,108,.18),transparent 29%),linear-gradient(118deg,#111416 0%,#171313 46%,#3c0b1f 100%);overflow:hidden;color:#f7f1e8}
.tm-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px);background-size:108px 108px;mask-image:linear-gradient(to right,transparent 0%,#000 45%,#000 100%);pointer-events:none}
.tm-hero-glow{position:absolute;width:520px;height:520px;border:1px solid rgba(203,183,133,.18);border-radius:50%;right:-90px;top:-110px;box-shadow:0 0 90px rgba(191,159,98,.08) inset}
.tm-hero-grid{display:grid;grid-template-columns:.86fr 1.14fr;gap:66px;align-items:center;position:relative;z-index:2}
.tm-kicker,.tm-section-head>p{font:800 12px/1.1 Arial,sans-serif;letter-spacing:.22em;text-transform:uppercase;color:#c8f52b;margin:0 0 18px}
.tm-hero-copy h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(50px,5.2vw,78px);line-height:.94;letter-spacing:-.045em;margin:0;color:#fff7eb}
.tm-hero-copy h1 em{font-weight:400;color:#e1bfd0}
.tm-hero-summary{max-width:680px;font:500 18px/1.65 Arial,sans-serif;color:rgba(255,247,235,.78);margin:25px 0 23px}
.tm-hero-facts{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 25px}.tm-hero-facts span{border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:9px 13px;font:700 11px/1 Arial,sans-serif;letter-spacing:.035em;color:#f5eadf;background:rgba(255,255,255,.04)}.tm-hero-facts strong{color:#c8f52b;font-size:13px}
.tm-scroll-link{display:inline-flex;align-items:center;gap:15px;color:#fff;text-decoration:none;font:800 13px/1 Arial,sans-serif}.tm-scroll-link b{display:grid;place-items:center;width:36px;height:36px;border:1px solid rgba(200,245,43,.5);border-radius:50%;color:#c8f52b;transition:.35s}.tm-scroll-link:hover b{transform:translateY(4px);background:#c8f52b;color:#12251f}
.tm-hero-visual{height:430px;position:relative;isolation:isolate}.tm-hero-main{position:absolute;left:2%;top:2%;width:72%;height:92%;margin:0;overflow:hidden;border-radius:26px;border:1px solid rgba(255,255,255,.15);box-shadow:0 34px 70px rgba(0,0,0,.34)}.tm-hero-main:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(11,12,13,.8))}.tm-hero-main img{width:100%;height:100%;object-fit:cover}.tm-hero-main figcaption{position:absolute;left:24px;right:24px;bottom:22px;z-index:2}.tm-hero-main small,.tm-hero-inset span{display:block;color:#c8f52b;font:800 10px/1 Arial,sans-serif;letter-spacing:.16em}.tm-hero-main strong{display:block;margin-top:7px;font:400 25px/1.08 Georgia,serif;color:#fff}
.tm-hero-inset{position:absolute;margin:0;overflow:hidden;border-radius:18px;border:1px solid rgba(255,255,255,.16);background:#151515;box-shadow:0 22px 55px rgba(0,0,0,.38);transition:transform .65s cubic-bezier(.2,.75,.2,1)}.tm-hero-inset img{width:100%;height:100%;object-fit:cover}.tm-hero-inset span{position:absolute;left:15px;bottom:14px;padding:7px 9px;border-radius:999px;background:rgba(15,16,16,.76);backdrop-filter:blur(8px)}.tm-hero-inset-one{width:28%;height:52%;right:1%;top:9%;transform:rotate(2.4deg)}.tm-hero-inset-two{width:35%;height:37%;right:5%;bottom:1%;transform:rotate(-2deg)}.tm-hero-visual:hover .tm-hero-inset-one{transform:translate(4px,-5px) rotate(3.6deg)}.tm-hero-visual:hover .tm-hero-inset-two{transform:translate(-5px,4px) rotate(-3deg)}
.tm-desk{padding:72px 0 74px;background:linear-gradient(180deg,#f6f1e9,#eee9df);position:relative;overflow:hidden}.tm-desk:after{content:"";position:absolute;width:500px;height:500px;border:1px solid rgba(83,45,49,.08);border-radius:50%;right:-230px;bottom:-270px;pointer-events:none}.tm-section-head{display:grid;grid-template-columns:1fr auto;grid-template-areas:"kicker note" "title note";align-items:end;gap:5px 30px;margin:0 0 28px}.tm-section-head>p{grid-area:kicker;color:#8a244c;margin:0}.tm-section-head h2{grid-area:title;font:400 clamp(36px,4vw,56px)/.98 Georgia,serif;letter-spacing:-.035em;margin:0;color:#16392f}.tm-section-head h2 em{color:#932b5a;font-weight:400}.tm-section-head>span{grid-area:note;align-self:center;font:700 12px/1.4 Arial,sans-serif;color:#6e766f;text-transform:uppercase;letter-spacing:.08em}
.tm-editorial-stage{display:grid;grid-template-columns:1.44fr .78fr .78fr;gap:14px;height:520px;transition:grid-template-columns .6s cubic-bezier(.2,.75,.2,1)}.tm-editorial-stage[data-active="1"]{grid-template-columns:.78fr 1.44fr .78fr}.tm-editorial-stage[data-active="2"]{grid-template-columns:.78fr .78fr 1.44fr}.tm-editorial-panel{position:relative;min-width:0;border-radius:24px;overflow:hidden;background:#151515;cursor:pointer;outline:none;box-shadow:0 18px 50px rgba(59,42,34,.12);transition:transform .55s cubic-bezier(.2,.75,.2,1),box-shadow .55s}.tm-editorial-panel:hover,.tm-editorial-panel:focus-visible{transform:translateY(-5px);box-shadow:0 26px 60px rgba(59,42,34,.2)}.tm-editorial-panel img{width:100%;height:100%;object-fit:cover;transition:transform 1s cubic-bezier(.2,.75,.2,1),filter .6s}.tm-editorial-panel:not(.is-active) img{filter:saturate(.65) brightness(.76)}.tm-editorial-panel.is-active img{transform:scale(1.025)}.tm-panel-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,10,10,.06) 20%,rgba(8,9,9,.18) 42%,rgba(24,5,13,.94) 100%);transition:background .6s}.tm-editorial-panel:not(.is-active) .tm-panel-shade{background:linear-gradient(180deg,rgba(8,10,10,.14),rgba(8,9,9,.43) 52%,rgba(15,9,10,.95))}.tm-panel-index{position:absolute;top:22px;left:22px;z-index:2;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:rgba(16,16,16,.62);border:1px solid rgba(255,255,255,.25);color:#c8f52b;font:700 15px/1 Georgia,serif;backdrop-filter:blur(9px)}.tm-panel-copy{position:absolute;left:27px;right:27px;bottom:27px;z-index:2;color:#fff}.tm-panel-copy small{font:800 10px/1 Arial,sans-serif;letter-spacing:.17em;color:#c8f52b}.tm-panel-copy h3{font:400 31px/1.04 Georgia,serif;letter-spacing:-.025em;margin:9px 0 10px;max-width:620px}.tm-panel-copy p{font:500 15px/1.6 Arial,sans-serif;color:rgba(255,255,255,.82);max-width:700px;margin:0 0 14px;opacity:1;transition:opacity .35s}.tm-panel-copy b,.tm-panel-copy a{font:800 11px/1.3 Arial,sans-serif;text-decoration:none;color:#f1eadf;letter-spacing:.03em}.tm-editorial-panel:not(.is-active) .tm-panel-copy p,.tm-editorial-panel:not(.is-active) .tm-panel-copy b,.tm-editorial-panel:not(.is-active) .tm-panel-copy a{opacity:0;pointer-events:none}.tm-editorial-panel:not(.is-active) .tm-panel-copy h3{font-size:25px}.tm-editorial-panel:not(.is-active) .tm-panel-copy{left:20px;right:20px;bottom:24px}
.tm-proof-strip{display:grid;grid-template-columns:repeat(4,1fr);margin-top:15px;border:1px solid rgba(32,56,47,.12);border-radius:18px;overflow:hidden;background:rgba(255,255,255,.62)}.tm-proof-strip div{padding:17px 20px;border-right:1px solid rgba(32,56,47,.1);display:flex;align-items:baseline;gap:10px;min-height:66px}.tm-proof-strip div:last-child{border-right:0}.tm-proof-strip strong{font:400 26px/1 Georgia,serif;color:#86254f}.tm-proof-strip span{font:700 11px/1.35 Arial,sans-serif;color:#405a51}
.tm-featured-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin-top:12px;background:rgba(43,54,48,.12);border-radius:16px;overflow:hidden}.tm-featured-strip>a,.tm-featured-strip>div{padding:17px 18px;background:#f7f3ec;min-height:104px;text-decoration:none;display:flex;flex-direction:column;justify-content:center;transition:background .3s,transform .3s}.tm-featured-strip>a:hover{background:#eef4d6}.tm-featured-strip small{font:800 9px/1 Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#8e2852}.tm-featured-strip strong{font:600 16px/1.2 Arial,sans-serif;color:#173a30;margin:7px 0 5px}.tm-featured-strip span{font:600 11px/1.35 Arial,sans-serif;color:#68736c}
.tm-sisters{padding-top:68px!important;padding-bottom:66px!important}.tm-cta{margin-top:0}
@media(max-width:1100px){.tm-hero-grid{grid-template-columns:1fr 1fr;gap:35px}.tm-hero-visual{height:390px}.tm-editorial-stage{height:500px}.tm-panel-copy h3{font-size:27px}.tm-proof-strip,.tm-featured-strip{grid-template-columns:repeat(2,1fr)}.tm-proof-strip div:nth-child(2){border-right:0}.tm-proof-strip div:nth-child(-n+2){border-bottom:1px solid rgba(32,56,47,.1)}}
@media(max-width:800px){.tm-hero{padding:120px 0 44px;min-height:auto}.tm-hero-grid{grid-template-columns:1fr}.tm-hero-copy h1{font-size:52px}.tm-hero-summary{font-size:16px}.tm-hero-visual{height:390px}.tm-section-head{display:block}.tm-section-head>span{display:none}.tm-section-head h2{font-size:40px}.tm-editorial-stage,.tm-editorial-stage[data-active="1"],.tm-editorial-stage[data-active="2"]{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;height:480px;gap:12px}.tm-editorial-panel{flex:0 0 88%;scroll-snap-align:center}.tm-editorial-panel:not(.is-active) .tm-panel-copy p,.tm-editorial-panel:not(.is-active) .tm-panel-copy b,.tm-editorial-panel:not(.is-active) .tm-panel-copy a{opacity:1}.tm-editorial-panel:not(.is-active) .tm-panel-copy h3{font-size:28px}.tm-proof-strip,.tm-featured-strip{grid-template-columns:1fr 1fr}.tm-hero-inset-one{width:31%}.tm-hero-inset-two{width:42%}}
@media(max-width:540px){.tm-hero-copy h1{font-size:44px}.tm-hero-facts{display:none}.tm-hero-visual{height:330px}.tm-hero-main{width:78%;height:88%}.tm-hero-inset-one{width:32%;height:44%}.tm-hero-inset-two{width:42%;height:34%}.tm-desk{padding:52px 0}.tm-editorial-stage{height:445px}.tm-editorial-panel{flex-basis:92%}.tm-panel-copy h3,.tm-editorial-panel:not(.is-active) .tm-panel-copy h3{font-size:26px}.tm-panel-copy p{font-size:14px}.tm-proof-strip,.tm-featured-strip{grid-template-columns:1fr}.tm-proof-strip div{border-right:0!important;border-bottom:1px solid rgba(32,56,47,.1)}.tm-proof-strip div:last-child{border-bottom:0}}

/* TEACHING MEDIA V1.1 — compact screen-fit editorial stage + consistent hover */
@media (min-width: 1101px) {
  .tm-desk {
    padding: 38px 0 42px;
  }
  .tm-section-head {
    margin-bottom: 18px;
    gap: 4px 24px;
  }
  .tm-section-head > p {
    margin-bottom: 0;
  }
  .tm-section-head h2 {
    font-size: clamp(32px, 3vw, 44px);
    line-height: 1;
  }
  .tm-section-head > span {
    font-size: 11px;
  }
  .tm-editorial-stage,
  .tm-editorial-stage[data-active="0"] {
    grid-template-columns: 1.28fr .86fr .86fr;
    height: 390px;
  }
  .tm-editorial-stage[data-active="1"] {
    grid-template-columns: .86fr 1.28fr .86fr;
  }
  .tm-editorial-stage[data-active="2"] {
    grid-template-columns: .86fr .86fr 1.28fr;
  }
  .tm-editorial-panel {
    border-radius: 20px;
  }
  .tm-panel-index {
    top: 18px;
    left: 18px;
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  .tm-panel-copy {
    left: 24px;
    right: 24px;
    bottom: 22px;
  }
  .tm-panel-copy h3 {
    font-size: 27px;
    margin: 7px 0 8px;
  }
  .tm-panel-copy p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
  }
  .tm-editorial-panel:not(.is-active) .tm-panel-copy h3 {
    font-size: 22px;
  }
  .tm-editorial-panel:not(.is-active) .tm-panel-copy {
    left: 18px;
    right: 18px;
    bottom: 20px;
  }
  /* Keep Prof. Hanna's face framed when the portrait research image expands. */
  .tm-editorial-panel:nth-child(2) img {
    object-position: center 24%;
  }
  .tm-editorial-panel:nth-child(2).is-active img {
    transform: scale(1.008);
    object-position: center 22%;
  }
  .tm-proof-strip {
    margin-top: 11px;
  }
  .tm-proof-strip div {
    min-height: 56px;
    padding: 12px 17px;
  }
  .tm-proof-strip strong {
    font-size: 23px;
  }
  .tm-featured-strip {
    margin-top: 9px;
  }
  .tm-featured-strip > a,
  .tm-featured-strip > div {
    min-height: 86px;
    padding: 13px 16px;
    transition: background .34s ease, transform .34s cubic-bezier(.2,.75,.2,1), box-shadow .34s ease;
  }
  .tm-featured-strip > a:hover,
  .tm-featured-strip > div:hover {
    background: #e9f5c9;
    transform: translateY(-3px);
    box-shadow: inset 0 2px 0 rgba(200,245,43,.75);
  }
}


/* FINAL BUNDLE — Qualifications institution cards: premium cursor-responsive 3D movement */
.qual-career-grid{perspective:1200px}
.qual-career-niche{
  --crx:0deg;--cry:0deg;--crz:0deg;
  transform-style:preserve-3d;
  will-change:transform,box-shadow,border-color;
  transform:perspective(980px) translate3d(0,0,0) rotateX(var(--crx)) rotateY(var(--cry)) rotateZ(var(--crz));
  transition:transform .58s cubic-bezier(.18,.78,.2,1),box-shadow .5s ease,border-color .4s ease,opacity .45s ease var(--delay);
}
.qual-career-niche.is-lit{transform:perspective(980px) translate3d(0,0,0) rotateX(var(--crx)) rotateY(var(--cry)) rotateZ(var(--crz))}
.qual-career-niche.is-career-tilting{transition:transform .12s linear,box-shadow .3s ease,border-color .3s ease}
.qual-career-niche:hover{
  transform:perspective(980px) translate3d(0,-7px,24px) rotateX(var(--crx)) rotateY(var(--cry)) rotateZ(var(--crz));
  border-color:rgba(245,214,157,.3);
  box-shadow:0 22px 38px rgba(0,0,0,.28),inset 0 1px rgba(255,245,220,.08);
  z-index:8;
}
.qual-career-niche.is-current:hover{border-color:rgba(200,239,53,.56);box-shadow:0 22px 42px rgba(0,0,0,.3),0 0 24px rgba(200,239,53,.08),inset 0 0 0 1px rgba(200,239,53,.08)}
.qual-career-niche img,.qual-career-niche .qual-career-role,.qual-career-niche .qual-mini-lamp{transition:transform .5s cubic-bezier(.18,.78,.2,1)}
.qual-career-niche:hover img{transform:translateZ(20px) scale(1.025)}
.qual-career-niche:hover .qual-career-role{transform:translateZ(14px)}
.qual-career-niche:hover .qual-mini-lamp{transform:translateZ(8px)}
@media (prefers-reduced-motion:reduce){.qual-career-niche,.qual-career-niche img,.qual-career-niche .qual-career-role,.qual-career-niche .qual-mini-lamp{transition:none!important;transform:none!important}}
@media (max-width:900px){.qual-career-grid{perspective:none}.qual-career-niche,.qual-career-niche.is-lit,.qual-career-niche:hover{transform:none!important}}


/* ===== KNEE PAIN & CONDITIONS PARENT ===== */
/* Knee Pain & Conditions — Parent master */
.knee-parent-site {
  --kp-paper: #f8f4ed;
  --kp-paper-2: #eee8df;
  --kp-white: #fffdf9;
  --kp-ink: #1c1c20;
  --kp-muted: #68636a;
  --kp-wine: #661c3d;
  --kp-wine-dark: #330b20;
  --kp-wine-soft: #8a3a59;
  --kp-lime: #cdef39;
  --kp-line: rgba(102, 28, 61, .28);
  --kp-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --kp-sans: Inter, "Helvetica Neue", Arial, sans-serif;
  background: var(--kp-paper);
  color: var(--kp-ink);
}

.knee-parent-site main {
  overflow: clip;
}

.kp-shell {
  position: relative;
  width: min(88vw, 1510px);
  margin: 0 auto;
}

.kp-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: var(--kp-wine);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .21em;
  line-height: 1.4;
  text-transform: uppercase;
}

.kp-eyebrow::before {
  width: 38px;
  height: 1px;
  background: currentColor;
  content: "";
}

.kp-eyebrow-lime {
  color: var(--kp-lime);
}

.kp-button {
  --mag-x: 0px;
  --mag-y: 0px;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 800;
  transform: translate(var(--mag-x), var(--mag-y));
  transition: background 220ms ease, box-shadow 220ms ease, transform 160ms ease;
}

.kp-button-lime {
  background: var(--kp-lime);
  box-shadow: 0 18px 40px rgba(205, 239, 57, .17);
  color: #191a1d;
}

.kp-button-lime:hover {
  background: #dcfb59;
  box-shadow: 0 21px 46px rgba(205, 239, 57, .28);
}

.kp-text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(102, 28, 61, .35);
  color: var(--kp-wine);
  font-size: 12px;
  font-weight: 780;
  padding-block: 11px;
}

.kp-text-link span,
.kp-folder-link span,
.kp-final-actions span {
  transition: transform 220ms ease;
}

.kp-text-link:hover span,
.kp-folder-link:hover span,
.kp-button:hover span {
  transform: translateX(4px);
}

.knee-parent-site [data-reveal] {
  opacity: 1;
  transform: none;
}

.has-js .knee-parent-site [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms cubic-bezier(.2, .8, .2, 1), transform 900ms cubic-bezier(.2, .8, .2, 1);
}

.has-js .knee-parent-site [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.knee-parent-site .current-nav-group > .nav-link {
  color: var(--kp-wine);
}

.knee-parent-site .current-nav-group > .nav-link::after {
  transform: scaleX(1);
}

/* Hero */
.kp-hero {
  position: relative;
  min-height: 790px;
  padding: 148px 0 92px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(102, 28, 61, .045) 1px, transparent 1px) 0 0 / 12.5% 100%,
    linear-gradient(180deg, rgba(102, 28, 61, .04) 1px, transparent 1px) 0 0 / 100% 145px,
    var(--kp-paper);
  isolation: isolate;
}

.kp-hero::before {
  position: absolute;
  z-index: -1;
  top: -26vw;
  right: -11vw;
  width: 58vw;
  height: 58vw;
  border: 1px solid rgba(102, 28, 61, .11);
  border-radius: 50%;
  content: "";
}

.kp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .72fr);
  align-items: center;
  gap: clamp(62px, 8vw, 150px);
}

.kp-hero-copy {
  position: relative;
  z-index: 2;
  padding: 30px 0 6px;
}

.kp-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-bottom: clamp(54px, 6vw, 82px);
  color: rgba(28, 28, 32, .54);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.kp-breadcrumbs a {
  transition: color 180ms ease;
}

.kp-breadcrumbs a:hover {
  color: var(--kp-wine);
}

.kp-hero h1 {
  max-width: 890px;
  margin: 0;
  font-family: var(--kp-serif);
  font-size: clamp(59px, 6.1vw, 104px);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .91;
}

.kp-hero h1 em {
  position: relative;
  display: block;
  margin-top: .12em;
  color: var(--kp-wine);
  font-weight: 400;
}

.kp-hero h1 em::after {
  position: absolute;
  right: 3%;
  bottom: .03em;
  width: 23%;
  height: 8px;
  background: var(--kp-lime);
  content: "";
  opacity: .9;
  transform: rotate(-1deg);
  z-index: -1;
}

.kp-hero-lead {
  max-width: 770px;
  margin: 34px 0 0;
  color: var(--kp-muted);
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.82;
}

.kp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.kp-hero-rule {
  display: grid;
  max-width: 650px;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--kp-line);
}

.kp-hero-rule span {
  color: var(--kp-wine);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .17em;
}

.kp-hero-rule p {
  margin: 0;
  color: var(--kp-muted);
  font-size: 11px;
  line-height: 1.65;
}

.kp-hero-rule strong {
  color: var(--kp-ink);
}

.kp-hero-photo {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-height: 560px;
  margin: 0;
  padding: 24px 34px 46px 0;
}

.kp-hero-photo::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 20px;
  left: 32px;
  border: 1px solid var(--kp-wine);
  border-radius: 90px 12px 12px 12px;
  content: "";
  opacity: .42;
}

.kp-photo-window {
  position: absolute;
  top: 42px;
  right: 33px;
  bottom: 72px;
  left: 0;
  overflow: hidden;
  border-radius: 3px 70px 3px 3px;
  background: #ccc;
  box-shadow: 0 38px 85px rgba(43, 14, 28, .2);
}

.kp-photo-window::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(31, 9, 19, .46));
  content: "";
}

.kp-photo-window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 43%;
  transform: scale(1.015);
  transition: transform 1.2s cubic-bezier(.2, .8, .2, 1);
}

.kp-hero-photo:hover .kp-photo-window img {
  transform: scale(1.055);
}

.kp-hero-photo figcaption {
  position: absolute;
  z-index: 2;
  right: 60px;
  bottom: 91px;
  left: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  color: white;
}

.kp-hero-photo figcaption span {
  max-width: 230px;
  font-family: var(--kp-serif);
  font-size: 23px;
  line-height: 1.05;
}

.kp-hero-photo figcaption a {
  color: rgba(255, 255, 255, .7);
  font-size: 7px;
  letter-spacing: .08em;
}

.kp-photo-index {
  position: absolute;
  z-index: 3;
  top: 96px;
  right: 5px;
  display: flex;
  width: 34px;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  padding: 17px 0;
  background: var(--kp-lime);
  color: var(--kp-ink);
}

.kp-photo-index span {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .17em;
  writing-mode: vertical-rl;
}

.kp-photo-index b {
  font-size: 8px;
  letter-spacing: .1em;
  writing-mode: vertical-rl;
}

.kp-hero-trace {
  position: absolute;
  z-index: -1;
  right: 3vw;
  bottom: -180px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(102, 28, 61, .12);
  border-radius: 50%;
}

.kp-hero-trace i,
.kp-hero-trace b,
.kp-hero-trace span {
  position: absolute;
  border: 1px solid rgba(102, 28, 61, .13);
  border-radius: 50%;
}

.kp-hero-trace i { inset: 62px; }
.kp-hero-trace b { inset: 122px; }
.kp-hero-trace span { inset: 181px; background: var(--kp-lime); border: 0; opacity: .55; }

/* Pattern navigator */
.kp-pattern {
  position: relative;
  padding: clamp(100px, 10vw, 168px) 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 12.5% 100%,
    #1d1d22;
  color: white;
}

.kp-pattern::after {
  position: absolute;
  top: -240px;
  left: -180px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(205, 239, 57, .14);
  border-radius: 50%;
  content: "";
}

.kp-pattern-layout {
  display: grid;
  grid-template-columns: minmax(280px, .63fr) minmax(0, 1.37fr);
  align-items: start;
  gap: clamp(65px, 9vw, 150px);
}

.kp-pattern-heading {
  position: sticky;
  top: 120px;
}

.kp-pattern-heading h2 {
  margin: 0;
  font-family: var(--kp-serif);
  font-size: clamp(62px, 6.8vw, 108px);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .9;
}

.kp-pattern-heading > p:not(.kp-eyebrow) {
  max-width: 440px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
  line-height: 1.78;
}

.kp-pattern-legend {
  display: grid;
  max-width: 420px;
  grid-template-columns: 12px 1fr;
  gap: 15px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.kp-pattern-legend span {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border: 1px solid var(--kp-lime);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(205, 239, 57, .08);
}

.kp-pattern-legend p {
  margin: 0;
  color: rgba(255, 255, 255, .5);
  font-size: 10px;
  line-height: 1.65;
}

.kp-pattern-tool {
  position: relative;
}

.kp-pattern-tool::before {
  position: absolute;
  top: -26px;
  right: -26px;
  bottom: 25%;
  left: 20%;
  border: 1px solid rgba(205, 239, 57, .18);
  content: "";
  pointer-events: none;
}

.kp-pattern-tabs {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, .21);
  border-left: 1px solid rgba(255, 255, 255, .21);
  background: #1d1d22;
}

.kp-pattern-tabs button {
  position: relative;
  display: grid;
  min-height: 112px;
  grid-template-columns: 32px 1fr 18px;
  align-items: center;
  gap: 13px;
  padding: 22px 20px;
  border-right: 1px solid rgba(255, 255, 255, .21);
  border-bottom: 1px solid rgba(255, 255, 255, .21);
  background: transparent;
  color: white;
  text-align: left;
  transition: background 220ms ease, color 220ms ease;
}

.kp-pattern-tabs button::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--kp-lime);
  content: "";
  transform: scaleY(0);
  transition: transform 220ms ease;
}

.kp-pattern-tabs button:hover,
.kp-pattern-tabs button.is-active {
  background: var(--kp-lime);
  color: var(--kp-ink);
}

.kp-pattern-tabs button.is-active::before {
  transform: scaleY(1);
}

.kp-pattern-tabs button > span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .15em;
  opacity: .66;
}

.kp-pattern-tabs button strong {
  font-size: 12px;
  line-height: 1.42;
}

.kp-pattern-tabs button i {
  font-family: var(--kp-serif);
  font-size: 17px;
  font-style: normal;
  transition: transform 220ms ease;
}

.kp-pattern-tabs button:hover i {
  transform: translate(3px, -3px);
}

.kp-pattern-result {
  position: relative;
  z-index: 3;
  min-height: 310px;
  margin: 24px 0 0 9%;
  padding: clamp(36px, 4vw, 58px);
  border: 1px solid var(--kp-lime);
  background: var(--kp-wine-dark);
  box-shadow: -30px 30px 0 rgba(102, 28, 61, .28);
  transition: opacity 150ms ease, transform 180ms ease;
}

.kp-pattern-result.is-changing {
  opacity: .18;
  transform: translateY(8px);
}

.kp-result-kicker {
  color: var(--kp-lime);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .2em;
}

.kp-pattern-result h3 {
  max-width: 750px;
  margin: 17px 0 18px;
  font-family: var(--kp-serif);
  font-size: clamp(33px, 3.5vw, 54px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.kp-pattern-result p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
  line-height: 1.75;
}

.kp-pattern-result a {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  margin-top: 25px;
  color: var(--kp-lime);
  font-size: 11px;
  font-weight: 800;
}

.kp-pattern-result a b {
  transition: transform 200ms ease;
}

.kp-pattern-result a:hover b {
  transform: translateX(4px);
}

.kp-pattern-result small {
  display: block;
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .42);
  font-size: 8px;
  letter-spacing: .05em;
}

/* Clinical folders */
.kp-folders {
  position: relative;
  padding: clamp(105px, 11vw, 180px) 0 clamp(135px, 14vw, 225px);
  background:
    linear-gradient(90deg, rgba(102, 28, 61, .045) 1px, transparent 1px) 0 0 / 12.5% 100%,
    var(--kp-paper);
}

.kp-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .62fr);
  align-items: end;
  gap: clamp(60px, 9vw, 145px);
  margin-bottom: clamp(100px, 10vw, 155px);
}

.kp-section-head h2 {
  max-width: 950px;
  margin: 0;
  font-family: var(--kp-serif);
  font-size: clamp(54px, 6.4vw, 98px);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .92;
}

.kp-section-head > p {
  margin: 0;
  color: var(--kp-muted);
  font-size: 13px;
  line-height: 1.85;
}

.kp-folder-stack {
  display: grid;
  gap: clamp(125px, 12vw, 190px);
}

.kp-folder {
  position: relative;
  display: grid;
  width: 92%;
  min-height: 475px;
  align-items: stretch;
  border: 1px solid var(--kp-wine);
  border-radius: 2px 34px 2px 2px;
  background: var(--kp-white);
  color: var(--kp-ink);
  box-shadow: 0 30px 75px rgba(46, 18, 30, .1);
  transition: box-shadow 350ms ease, transform 350ms cubic-bezier(.2, .8, .2, 1);
}

.kp-folder::before {
  position: absolute;
  z-index: 0;
  top: -14px;
  width: 168px;
  height: 14px;
  border: 1px solid var(--kp-wine);
  border-bottom: 0;
  background: inherit;
  content: "";
}

.kp-folder::after {
  position: absolute;
  right: 28px;
  bottom: 22px;
  width: 130px;
  height: 130px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: .08;
}

.kp-folder:hover {
  box-shadow: 0 42px 95px rgba(46, 18, 30, .16);
  transform: translateY(-5px);
}

.kp-folder-image-left {
  grid-template-columns: minmax(340px, .76fr) minmax(0, 1.24fr);
  margin-left: auto;
}

.kp-folder-image-left::before {
  right: -1px;
  border-radius: 18px 18px 0 0;
}

.kp-folder-image-right {
  grid-template-columns: minmax(0, 1.24fr) minmax(340px, .76fr);
  margin-right: auto;
}

.kp-folder-image-right::before {
  left: -1px;
  border-radius: 18px 18px 0 0;
}

.kp-folder-photo {
  position: relative;
  z-index: 3;
  min-height: 470px;
  margin: -58px 0 52px -6.3vw;
  overflow: hidden;
  border: 1px solid currentColor;
  background: #b8b6b2;
  box-shadow: 0 28px 62px rgba(32, 16, 23, .2);
  transition: transform 500ms cubic-bezier(.2, .8, .2, 1), box-shadow 400ms ease;
}

.kp-folder-image-right .kp-folder-photo {
  margin: 52px -6.3vw -58px 0;
}

.kp-folder:hover .kp-folder-photo {
  box-shadow: 0 38px 78px rgba(32, 16, 23, .28);
  transform: translateY(-10px);
}

.kp-folder-image-right:hover .kp-folder-photo {
  transform: translateY(10px);
}

.kp-folder-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20, 9, 14, .52));
  content: "";
  pointer-events: none;
}

.kp-folder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 850ms cubic-bezier(.2, .8, .2, 1), filter 400ms ease;
}

.kp-folder-photo-portrait img {
  object-position: 50% 46%;
}

.kp-folder:hover .kp-folder-photo img {
  transform: scale(1.045);
}

.kp-folder-photo figcaption {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 12px;
  left: 14px;
  text-align: right;
}

.kp-folder-photo figcaption a {
  color: rgba(255, 255, 255, .74);
  font-size: 7px;
  letter-spacing: .05em;
}

.kp-folder-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(46px, 5vw, 76px);
}

.kp-folder-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.kp-folder-meta span {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  background: var(--kp-lime);
  color: var(--kp-ink);
  font-size: 8px;
  font-weight: 850;
}

.kp-folder-meta p {
  margin: 0;
  color: var(--kp-wine);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .19em;
}

.kp-folder h3 {
  margin: 0 0 25px;
  font-family: var(--kp-serif);
  font-size: clamp(47px, 5.4vw, 79px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .92;
}

.kp-folder-copy > p {
  max-width: 690px;
  margin: 0 0 13px;
  color: var(--kp-muted);
  font-size: 12px;
  line-height: 1.75;
}

.kp-clues {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 25px;
  padding: 0;
  list-style: none;
}

.kp-clues li {
  padding: 8px 12px;
  border: 1px solid rgba(102, 28, 61, .25);
  border-radius: 999px;
  color: var(--kp-wine);
  font-size: 8px;
  font-weight: 740;
}

.kp-folder-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 34px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid currentColor;
  color: var(--kp-wine);
  font-size: 10px;
  font-weight: 800;
}

.kp-folder-ink {
  border-color: rgba(205, 239, 57, .72);
  background: #1d1d22;
  color: white;
}

.kp-folder-ink::before,
.kp-folder-wine::before {
  border-color: rgba(205, 239, 57, .72);
}

.kp-folder-ink .kp-folder-meta p,
.kp-folder-wine .kp-folder-meta p,
.kp-folder-ink .kp-folder-link,
.kp-folder-wine .kp-folder-link {
  color: var(--kp-lime);
}

.kp-folder-ink .kp-folder-copy > p,
.kp-folder-wine .kp-folder-copy > p {
  color: rgba(255, 255, 255, .66);
}

.kp-folder-ink .kp-clues li,
.kp-folder-wine .kp-clues li {
  border-color: rgba(255, 255, 255, .23);
  color: rgba(255, 255, 255, .78);
}

.kp-folder-mist {
  background: #ebe7df;
}

.kp-folder-wine {
  border-color: rgba(205, 239, 57, .72);
  background: var(--kp-wine);
  color: white;
}

/* Assessment */
.kp-assessment {
  position: relative;
  padding: clamp(110px, 11vw, 180px) 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 12.5% 100%,
    var(--kp-wine-dark);
  color: white;
}

.kp-assessment::before {
  position: absolute;
  right: -130px;
  bottom: -230px;
  width: 640px;
  height: 640px;
  border: 1px solid rgba(205, 239, 57, .16);
  border-radius: 50%;
  content: "";
}

.kp-assessment-grid {
  display: grid;
  grid-template-columns: minmax(300px, .7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(70px, 10vw, 165px);
}

.kp-assessment-intro {
  position: sticky;
  top: 120px;
}

.kp-assessment-intro h2 {
  max-width: 590px;
  margin: 0;
  font-family: var(--kp-serif);
  font-size: clamp(55px, 6.1vw, 92px);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .93;
}

.kp-assessment-intro > p:not(.kp-eyebrow) {
  max-width: 480px;
  margin: 29px 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  line-height: 1.8;
}

.kp-assessment-alert {
  display: grid;
  max-width: 500px;
  grid-template-columns: 28px 1fr;
  gap: 15px;
  margin-top: 36px;
  padding: 19px;
  border: 1px solid rgba(205, 239, 57, .38);
}

.kp-assessment-alert > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--kp-lime);
  color: var(--kp-ink);
  font-size: 11px;
  font-weight: 850;
}

.kp-assessment-alert p {
  margin: 0;
  color: rgba(255, 255, 255, .64);
  font-size: 9px;
  line-height: 1.68;
}

.kp-assessment-alert strong {
  color: white;
}

.kp-question-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, .25);
  list-style: none;
}

.kp-question-list li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 28px;
  padding: 31px 16px 32px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
  transition: background 220ms ease, padding 220ms ease;
}

.kp-question-list li:hover {
  padding-right: 24px;
  padding-left: 16px;
  background: rgba(255, 255, 255, .055);
}

.kp-question-list li > span {
  color: var(--kp-lime);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .18em;
}

.kp-question-list h3 {
  margin: -4px 0 8px;
  font-family: var(--kp-serif);
  font-size: clamp(27px, 2.3vw, 39px);
  font-weight: 400;
  letter-spacing: -.035em;
}

.kp-question-list p {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, .57);
  font-size: 11px;
  line-height: 1.72;
}

/* Treatment */
.kp-treatment {
  padding: clamp(110px, 11vw, 180px) 0;
  background: var(--kp-white);
}

.kp-treatment-head {
  margin-bottom: 72px;
}

.kp-treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--kp-wine);
  border-left: 1px solid var(--kp-line);
}

.kp-treatment-grid article {
  position: relative;
  min-height: 410px;
  padding: clamp(32px, 4vw, 56px);
  border-right: 1px solid var(--kp-line);
  border-bottom: 1px solid var(--kp-line);
  transition: background 240ms ease, color 240ms ease, transform 300ms ease;
}

.kp-treatment-grid article:hover {
  z-index: 2;
  background: var(--kp-wine);
  color: white;
  transform: translateY(-8px);
}

.kp-treatment-grid article > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--kp-wine);
  border-radius: 50%;
  color: var(--kp-wine);
  font-size: 8px;
  font-weight: 800;
}

.kp-treatment-grid article > p:first-of-type {
  margin: 54px 0 16px;
  color: var(--kp-wine);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .19em;
}

.kp-treatment-grid h3 {
  margin: 0 0 26px;
  font-family: var(--kp-serif);
  font-size: clamp(34px, 3.4vw, 52px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: 1;
}

.kp-treatment-grid article > p:nth-of-type(2) {
  margin: 0;
  color: var(--kp-muted);
  font-size: 12px;
  line-height: 1.75;
}

.kp-treatment-grid small {
  position: absolute;
  right: clamp(32px, 4vw, 56px);
  bottom: 38px;
  left: clamp(32px, 4vw, 56px);
  padding-top: 15px;
  border-top: 1px solid var(--kp-line);
  color: var(--kp-muted);
  font-size: 8px;
}

.kp-treatment-grid article:hover > span {
  border-color: var(--kp-lime);
  color: var(--kp-lime);
}

.kp-treatment-grid article:hover > p:first-of-type {
  color: var(--kp-lime);
}

.kp-treatment-grid article:hover > p:nth-of-type(2),
.kp-treatment-grid article:hover small {
  color: rgba(255, 255, 255, .67);
}

.kp-treatment-grid article:hover small {
  border-color: rgba(255, 255, 255, .22);
}

.kp-treatment-rule {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 20px;
  margin-top: 28px;
  padding: 22px 26px;
  border: 1px solid var(--kp-line);
  background: var(--kp-paper);
}

.kp-treatment-rule span {
  color: var(--kp-wine);
  font-size: 24px;
}

.kp-treatment-rule p {
  margin: 0;
  color: var(--kp-muted);
  font-size: 11px;
  line-height: 1.68;
}

.kp-treatment-rule strong {
  color: var(--kp-ink);
}

/* Cross navigation */
.kp-crossroads {
  position: relative;
  padding: clamp(100px, 10vw, 160px) 0;
  overflow: hidden;
  background: var(--kp-wine);
  color: white;
}

.kp-crossroads::before {
  position: absolute;
  top: -240px;
  right: -180px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  content: "";
}

.kp-crossroads-head {
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 65px;
}

.kp-crossroads-head .kp-eyebrow {
  margin-bottom: 8px;
}

.kp-crossroads-head h2 {
  max-width: 950px;
  margin: 0;
  font-family: var(--kp-serif);
  font-size: clamp(52px, 6vw, 92px);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .93;
}

.kp-crossroads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .34);
  border-left: 1px solid rgba(255, 255, 255, .24);
}

.kp-crossroads-grid a {
  position: relative;
  min-height: 330px;
  padding: clamp(30px, 3.6vw, 50px);
  border-right: 1px solid rgba(255, 255, 255, .24);
  border-bottom: 1px solid rgba(255, 255, 255, .24);
  transition: background 240ms ease, color 240ms ease;
}

.kp-crossroads-grid a:hover {
  background: var(--kp-lime);
  color: var(--kp-ink);
}

.kp-crossroads-grid a > span {
  color: var(--kp-lime);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .17em;
}

.kp-crossroads-grid a > p {
  margin: 64px 0 15px;
  color: rgba(255, 255, 255, .58);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .16em;
}

.kp-crossroads-grid h3 {
  margin: 0 0 17px;
  font-family: var(--kp-serif);
  font-size: clamp(34px, 3.25vw, 50px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .98;
}

.kp-crossroads-grid small {
  display: block;
  max-width: 360px;
  color: rgba(255, 255, 255, .61);
  font-size: 10px;
  line-height: 1.65;
}

.kp-crossroads-grid b {
  position: absolute;
  right: 34px;
  bottom: 31px;
  font-family: var(--kp-serif);
  font-size: 22px;
  font-weight: 400;
  transition: transform 220ms ease;
}

.kp-crossroads-grid a:hover > span,
.kp-crossroads-grid a:hover > p,
.kp-crossroads-grid a:hover small {
  color: rgba(28, 28, 32, .68);
}

.kp-crossroads-grid a:hover b {
  transform: translate(4px, -4px);
}

/* FAQ */
.kp-faq {
  padding: clamp(110px, 11vw, 180px) 0;
  background: var(--kp-paper-2);
}

.kp-faq-grid {
  display: grid;
  grid-template-columns: minmax(280px, .65fr) minmax(0, 1.35fr);
  align-items: start;
  gap: clamp(70px, 10vw, 165px);
}

.kp-faq-intro {
  position: sticky;
  top: 120px;
}

.kp-faq-intro h2 {
  margin: 0;
  font-family: var(--kp-serif);
  font-size: clamp(53px, 5.8vw, 88px);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .93;
}

.kp-faq-intro > p:not(.kp-eyebrow) {
  max-width: 420px;
  margin: 28px 0 0;
  color: var(--kp-muted);
  font-size: 12px;
  line-height: 1.78;
}

.kp-faq-intro > a {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
  color: var(--kp-wine);
  font-size: 11px;
  font-weight: 800;
}

.kp-faq-list {
  border-top: 1px solid var(--kp-wine);
}

.kp-faq-list details {
  border-bottom: 1px solid var(--kp-line);
}

.kp-faq-list summary {
  display: grid;
  min-height: 92px;
  grid-template-columns: 38px 1fr 26px;
  align-items: center;
  gap: 18px;
  padding: 10px 5px;
  cursor: pointer;
  list-style: none;
}

.kp-faq-list summary::-webkit-details-marker {
  display: none;
}

.kp-faq-list summary > span {
  color: var(--kp-wine);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .16em;
}

.kp-faq-list summary strong {
  font-size: 12px;
  line-height: 1.5;
}

.kp-faq-list summary i {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--kp-line);
  border-radius: 50%;
  color: var(--kp-wine);
  font-family: var(--kp-serif);
  font-size: 17px;
  font-style: normal;
  transition: transform 230ms ease, background 230ms ease;
}

.kp-faq-list details[open] summary i {
  background: var(--kp-lime);
  color: var(--kp-ink);
  transform: rotate(45deg);
}

.kp-faq-list details > p {
  max-width: 740px;
  margin: -6px 45px 0 56px;
  padding: 0 0 31px;
  color: var(--kp-muted);
  font-size: 12px;
  line-height: 1.78;
}

.kp-faq-list details > p a {
  color: var(--kp-wine);
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Final CTA */
.kp-final {
  padding: clamp(76px, 8vw, 118px) 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 12.5% 100%,
    #1d1d22;
  color: white;
}

.kp-final-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(350px, .7fr);
  align-items: center;
  gap: clamp(65px, 10vw, 160px);
}

.kp-final h2 {
  max-width: 860px;
  margin: 0;
  font-family: var(--kp-serif);
  font-size: clamp(48px, 5.7vw, 87px);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .93;
}

.kp-final-grid > div:last-child > p {
  margin: 0;
  color: rgba(255, 255, 255, .64);
  font-size: 12px;
  line-height: 1.8;
}

.kp-final-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
}

.kp-phone {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.kp-phone small {
  color: rgba(255, 255, 255, .47);
  font-size: 8px;
  letter-spacing: .08em;
}

.kp-phone strong {
  color: white;
  font-family: var(--kp-serif);
  font-size: 26px;
  font-weight: 400;
}

/* Shared footer refinements for this page */
.knee-parent-site + .site-footer {
  margin-top: 0;
}

@media (max-width: 1260px) {
  .kp-hero {
    min-height: 740px;
  }

  .kp-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, .62fr);
    gap: 58px;
  }

  .kp-hero h1 {
    font-size: clamp(58px, 6.9vw, 88px);
  }

  .kp-folder {
    width: 95%;
  }

  .kp-folder-photo,
  .kp-folder-image-right .kp-folder-photo {
    margin-right: -4vw;
    margin-left: -4vw;
  }
}

@media (max-width: 1000px) {
  .kp-shell {
    width: min(91vw, 900px);
  }

  .kp-hero {
    min-height: 0;
    padding-top: 132px;
  }

  .kp-hero-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .kp-breadcrumbs {
    margin-bottom: 46px;
  }

  .kp-hero-photo {
    width: min(92%, 650px);
    min-height: 610px;
    margin-left: auto;
  }

  .kp-pattern-layout,
  .kp-assessment-grid,
  .kp-faq-grid {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .kp-pattern-heading,
  .kp-assessment-intro,
  .kp-faq-intro {
    position: relative;
    top: auto;
  }

  .kp-section-head,
  .kp-final-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .kp-section-head {
    margin-bottom: 100px;
  }

  .kp-folder-stack {
    gap: 100px;
  }

  .kp-folder,
  .kp-folder-image-left,
  .kp-folder-image-right {
    width: 100%;
    grid-template-columns: 1fr;
    margin: 0;
  }

  .kp-folder-image-right .kp-folder-copy {
    order: 2;
  }

  .kp-folder-image-right .kp-folder-photo {
    order: 1;
  }

  .kp-folder-photo,
  .kp-folder-image-right .kp-folder-photo {
    width: calc(100% - 48px);
    min-height: 430px;
    margin: -54px 24px 0;
  }

  .kp-folder-copy {
    padding: 52px 38px 58px;
  }

  .kp-folder:hover .kp-folder-photo,
  .kp-folder-image-right:hover .kp-folder-photo {
    transform: translateY(-7px);
  }

  .kp-treatment-grid,
  .kp-crossroads-grid {
    grid-template-columns: 1fr;
  }

  .kp-treatment-grid article {
    min-height: 340px;
  }

  .kp-crossroads-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .kp-crossroads-grid a {
    min-height: 280px;
  }
}

@media (max-width: 680px) {
  .kp-shell {
    width: min(91vw, 620px);
  }

  .kp-eyebrow {
    font-size: 8px;
    letter-spacing: .17em;
  }

  .kp-hero {
    padding: 116px 0 68px;
  }

  .kp-hero-copy {
    padding-top: 0;
  }

  .kp-breadcrumbs {
    gap: 8px;
    margin-bottom: 38px;
    font-size: 7.5px;
  }

  .kp-hero h1 {
    font-size: clamp(49px, 14.7vw, 70px);
  }

  .kp-hero-lead {
    font-size: 13px;
    line-height: 1.7;
  }

  .kp-hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
  }

  .kp-button,
  .kp-text-link {
    width: 100%;
    justify-content: space-between;
  }

  .kp-hero-photo {
    width: 100%;
    min-height: 500px;
    padding-right: 22px;
  }

  .kp-photo-window {
    right: 20px;
  }

  .kp-hero-photo figcaption {
    right: 42px;
    left: 20px;
  }

  .kp-hero-photo figcaption span {
    font-size: 19px;
  }

  .kp-photo-index {
    right: 0;
  }

  .kp-pattern-tabs {
    grid-template-columns: 1fr;
  }

  .kp-pattern-tabs button {
    min-height: 86px;
  }

  .kp-pattern-result {
    margin-left: 0;
    padding: 30px 25px;
    box-shadow: -10px 13px 0 rgba(102, 28, 61, .28);
  }

  .kp-section-head {
    margin-bottom: 88px;
  }

  .kp-section-head h2,
  .kp-assessment-intro h2,
  .kp-faq-intro h2,
  .kp-final h2 {
    font-size: clamp(45px, 13.5vw, 64px);
  }

  .kp-folder-stack {
    gap: 82px;
  }

  .kp-folder-photo,
  .kp-folder-image-right .kp-folder-photo {
    width: calc(100% - 28px);
    min-height: 300px;
    margin: -42px 14px 0;
  }

  .kp-folder-copy {
    padding: 40px 25px 44px;
  }

  .kp-folder h3 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .kp-folder-meta {
    align-items: flex-start;
  }

  .kp-folder-meta p {
    padding-top: 5px;
    line-height: 1.55;
  }

  .kp-question-list li {
    grid-template-columns: 34px 1fr;
    gap: 13px;
  }

  .kp-treatment-grid article {
    min-height: 390px;
    padding: 35px 27px;
  }

  .kp-treatment-grid small {
    right: 27px;
    left: 27px;
  }

  .kp-crossroads-grid a {
    min-height: 300px;
    padding: 35px 28px;
  }

  .kp-faq-list summary {
    grid-template-columns: 28px 1fr 24px;
    gap: 10px;
  }

  .kp-faq-list details > p {
    margin-right: 12px;
    margin-left: 38px;
  }

  .kp-final-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

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

  .has-js .knee-parent-site [data-reveal] {
    opacity: 1;
    transform: none;
  }
}


/* ============================================================
   Parent refinement pass — 2026-08-12
   Compact editorial rhythm, lighter assessment, cleaner CTA.
   ============================================================ */

/* HERO — retain impact, fit the story into one desktop view more naturally */
.kp-hero {
  min-height: 650px;
  padding: 112px 0 58px;
}
.kp-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr);
  gap: clamp(46px, 6vw, 100px);
}
.kp-hero-copy { padding: 10px 0 0; }
.kp-breadcrumbs { margin-bottom: clamp(34px, 3.6vw, 48px); }
.kp-hero h1 {
  max-width: 820px;
  font-size: clamp(52px, 5.25vw, 82px);
  line-height: .94;
}
.kp-hero-lead {
  max-width: 720px;
  margin-top: 24px;
  line-height: 1.68;
}
.kp-hero-actions { margin-top: 26px; }
.kp-hero-rule { margin-top: 27px; padding-top: 16px; }
.kp-hero-photo {
  min-height: 470px;
  padding: 18px 28px 30px 0;
}
.kp-hero-photo::before { bottom: 8px; left: 26px; border-radius: 72px 12px 12px; }
.kp-photo-window { top: 26px; right: 27px; bottom: 43px; }
.kp-hero-photo figcaption { right: 49px; bottom: 59px; left: 24px; }
.kp-photo-index { top: 67px; right: 1px; }

/* READ THE PATTERN — one deliberate dark anchor rather than a full-page wall */
.kp-pattern { padding: clamp(76px, 7vw, 104px) 0; }
.kp-pattern-layout {
  grid-template-columns: minmax(250px, .56fr) minmax(0, 1.44fr);
  gap: clamp(52px, 6.5vw, 100px);
}
.kp-pattern-heading { top: 108px; }
.kp-pattern-heading h2 { font-size: clamp(56px, 5.6vw, 82px); line-height: .94; }
.kp-pattern-heading > p:not(.kp-eyebrow) { margin-top: 23px; line-height: 1.68; }
.kp-pattern-legend { margin-top: 27px; padding-top: 17px; }
.kp-pattern-tool::before { top: -18px; right: -18px; }
.kp-pattern-tabs button { min-height: 86px; padding: 16px 18px; }
.kp-pattern-result {
  min-height: 230px;
  margin: 18px 0 0 5%;
  padding: clamp(30px, 3.2vw, 44px);
  box-shadow: -20px 20px 0 rgba(102, 28, 61, .24);
}
.kp-pattern-result h3 { margin: 13px 0 13px; font-size: clamp(31px, 3vw, 46px); }
.kp-pattern-result p { line-height: 1.66; }
.kp-pattern-result a { margin-top: 17px; }
.kp-pattern-result small { margin-top: 17px; padding-top: 13px; }

/* FOUR CLINICAL ROUTES — keep the staggered folders, reduce theatre-sized spacing */
.kp-folders { padding: clamp(78px, 7.4vw, 108px) 0 clamp(94px, 8.4vw, 126px); }
.kp-section-head {
  gap: clamp(45px, 6vw, 95px);
  margin-bottom: clamp(64px, 6vw, 82px);
}
.kp-section-head h2 { max-width: 800px; font-size: clamp(48px, 5.15vw, 78px); line-height: .95; }
.kp-section-head > p { line-height: 1.72; }
.kp-folder-stack { gap: clamp(82px, 7.8vw, 112px); }
.kp-folder { width: 94%; min-height: 390px; }
.kp-folder-photo {
  min-height: 385px;
  margin: -38px 0 36px -5vw;
}
.kp-folder-image-right .kp-folder-photo { margin: 36px -5vw -38px 0; }
.kp-folder-copy { padding: clamp(38px, 4vw, 55px); }
.kp-folder-meta { margin-bottom: 15px; }
.kp-folder h3 { margin-bottom: 17px; font-size: clamp(42px, 4.35vw, 64px); line-height: .95; }
.kp-folder-copy > p { margin-bottom: 9px; line-height: 1.62; }
.kp-clues { margin: 9px 0 18px; }
.kp-folder-link { padding-top: 14px; }

/* CLINICAL QUESTION SET — lighter, warmer, faster to scan */
.kp-assessment {
  padding: clamp(76px, 7vw, 102px) 0;
  background:
    linear-gradient(90deg, rgba(102, 28, 61, .045) 1px, transparent 1px) 0 0 / 12.5% 100%,
    #f1e5e7;
  color: var(--kp-ink);
}
.kp-assessment::before { border-color: rgba(102, 28, 61, .10); }
.kp-assessment-grid {
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(52px, 6.6vw, 105px);
}
.kp-assessment-intro { position: relative; top: auto; }
.kp-assessment .kp-eyebrow-lime { color: var(--kp-wine); }
.kp-assessment-intro h2 { max-width: 540px; font-size: clamp(48px, 5vw, 70px); line-height: .96; }
.kp-assessment-intro > p:not(.kp-eyebrow) { margin-top: 22px; color: var(--kp-muted); line-height: 1.68; }
.kp-assessment-alert {
  margin-top: 25px;
  padding: 16px;
  border-color: rgba(102, 28, 61, .26);
  border-radius: 14px;
  background: rgba(255,253,249,.58);
}
.kp-assessment-alert p { color: var(--kp-muted); }
.kp-assessment-alert strong { color: var(--kp-wine); }
.kp-question-list {
  display: grid;
  gap: 11px;
  border-top: 0;
}
.kp-question-list li {
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 18px 21px;
  border: 1px solid rgba(102, 28, 61, .15);
  border-radius: 16px;
  background: rgba(255,253,249,.72);
  box-shadow: 0 10px 28px rgba(71, 30, 46, .035);
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}
.kp-question-list li:hover {
  padding: 18px 21px;
  border-color: rgba(102, 28, 61, .34);
  background: var(--kp-white);
  transform: translateX(4px);
}
.kp-question-list li > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  background: var(--kp-lime);
  color: var(--kp-ink);
}
.kp-question-list h3 {
  margin: 0 0 5px;
  color: var(--kp-wine-dark);
  font-size: clamp(24px, 2vw, 31px);
  font-weight: 500;
}
.kp-question-list p { color: var(--kp-muted); line-height: 1.62; }

/* TREATMENT — compact decision framework; fix the rule crossing body copy */
.kp-treatment { padding: clamp(76px, 7vw, 102px) 0; }
.kp-treatment-head { margin-bottom: 46px; }
.kp-treatment-head h2 { max-width: 760px; }
.kp-treatment-grid article {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: clamp(29px, 3vw, 40px);
}
.kp-treatment-grid article > p:first-of-type { margin: 28px 0 10px; }
.kp-treatment-grid h3 { margin-bottom: 15px; font-size: clamp(32px, 2.9vw, 44px); }
.kp-treatment-grid article > p:nth-of-type(2) { line-height: 1.62; }
.kp-treatment-grid small {
  position: static;
  margin-top: auto;
  padding-top: 15px;
}
.kp-treatment-rule { margin-top: 18px; padding: 17px 21px; }

/* RELATED PATHWAYS — turn the huge wine wall into a compact light navigation band */
.kp-crossroads {
  padding: clamp(68px, 6vw, 88px) 0;
  background:
    linear-gradient(90deg, rgba(102, 28, 61, .04) 1px, transparent 1px) 0 0 / 12.5% 100%,
    #f6efea;
  color: var(--kp-ink);
}
.kp-crossroads::before { border-color: rgba(102, 28, 61, .10); }
.kp-crossroads-head {
  grid-template-columns: .58fr 1.42fr;
  gap: 44px;
  margin-bottom: 34px;
}
.kp-crossroads-head .kp-eyebrow-lime { color: var(--kp-wine); }
.kp-crossroads-head h2 { max-width: 820px; font-size: clamp(44px, 4.6vw, 64px); line-height: .97; }
.kp-crossroads-grid {
  gap: 14px;
  border: 0;
}
.kp-crossroads-grid a {
  min-height: 220px;
  padding: clamp(25px, 2.6vw, 34px);
  border: 1px solid rgba(102, 28, 61, .18);
  border-radius: 17px;
  background: rgba(255,253,249,.75);
  color: var(--kp-ink);
  box-shadow: 0 14px 32px rgba(57, 22, 35, .04);
}
.kp-crossroads-grid a > span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  background: var(--kp-lime);
  color: var(--kp-ink);
}
.kp-crossroads-grid a > p { margin: 32px 0 11px; color: var(--kp-wine); }
.kp-crossroads-grid h3 { margin-bottom: 11px; font-size: clamp(30px, 2.8vw, 42px); }
.kp-crossroads-grid small { color: var(--kp-muted); line-height: 1.55; }
.kp-crossroads-grid b { right: 26px; bottom: 23px; color: var(--kp-wine); }
.kp-crossroads-grid a:hover { background: var(--kp-wine); color: white; }
.kp-crossroads-grid a:hover > span { background: var(--kp-lime); color: var(--kp-ink); }
.kp-crossroads-grid a:hover > p { color: var(--kp-lime); }
.kp-crossroads-grid a:hover small { color: rgba(255,255,255,.68); }
.kp-crossroads-grid a:hover b { color: var(--kp-lime); }

/* FAQ — retain search/user value without another oversized editorial wall */
.kp-faq { padding: clamp(68px, 6vw, 88px) 0; }
.kp-faq-grid {
  grid-template-columns: minmax(250px, .56fr) minmax(0, 1.44fr);
  gap: clamp(50px, 6vw, 92px);
}
.kp-faq-intro { position: relative; top: auto; }
.kp-faq-intro h2 { max-width: 500px; font-size: clamp(43px, 4.35vw, 62px); line-height: .97; }
.kp-faq-intro > p:not(.kp-eyebrow) { margin-top: 20px; line-height: 1.65; }
.kp-faq-intro > a { margin-top: 20px; }
.kp-faq-list summary { min-height: 70px; }
.kp-faq-list details > p { padding-bottom: 20px; line-height: 1.65; }

/* FINAL CTA — separate the call-to-action from the dark footer */
.kp-final {
  padding: clamp(56px, 5vw, 74px) 0 clamp(66px, 5.6vw, 84px);
  background: var(--kp-paper);
  color: white;
}
.kp-final-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: clamp(45px, 6vw, 90px);
  padding: clamp(38px, 4vw, 56px);
  border: 1px solid rgba(205,239,57,.46);
  border-radius: 26px;
  background:
    radial-gradient(circle at 95% 10%, rgba(205,239,57,.10), transparent 30%),
    var(--kp-wine);
  box-shadow: 0 28px 65px rgba(55, 17, 34, .14);
}
.kp-final h2 { max-width: 700px; font-size: clamp(42px, 4.55vw, 64px); line-height: .96; }
.kp-final-grid > div:last-child > p { line-height: 1.68; }
.kp-final-actions { margin-top: 22px; }

@media (max-width: 1260px) and (min-width: 1001px) {
  .kp-hero { min-height: 620px; }
  .kp-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, .6fr); gap: 48px; }
  .kp-hero h1 { font-size: clamp(52px, 6vw, 76px); }
  .kp-folder { width: 96%; }
}

@media (max-width: 1000px) {
  .kp-hero { padding: 116px 0 64px; }
  .kp-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .kp-pattern-layout, .kp-assessment-grid, .kp-faq-grid { grid-template-columns: 1fr; }
  .kp-section-head { grid-template-columns: 1fr; }
  .kp-folder, .kp-folder-image-left, .kp-folder-image-right { width: 100%; grid-template-columns: 1fr; margin: 0; }
  .kp-hero-photo { width: min(92%, 620px); min-height: 500px; }
  .kp-pattern, .kp-assessment, .kp-treatment, .kp-crossroads, .kp-faq { padding: 72px 0; }
  .kp-pattern-layout, .kp-assessment-grid, .kp-faq-grid { gap: 48px; }
  .kp-section-head { margin-bottom: 70px; }
  .kp-folder-stack { gap: 80px; }
  .kp-folder-photo, .kp-folder-image-right .kp-folder-photo {
    width: calc(100% - 48px);
    min-height: 360px;
    margin: -42px 24px 0;
  }
  .kp-folder-copy { padding: 42px 34px 46px; }
  .kp-treatment-grid article { min-height: 250px; }
  .kp-crossroads-head { grid-template-columns: 1fr; gap: 20px; }
  .kp-crossroads-grid { grid-template-columns: 1fr; }
  .kp-crossroads-grid a { min-height: 190px; }
  .kp-final-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 680px) {
  .kp-pattern-tabs { grid-template-columns: 1fr; }
  .kp-hero { padding: 108px 0 54px; }
  .kp-breadcrumbs { margin-bottom: 30px; }
  .kp-hero h1 { font-size: clamp(45px, 13.5vw, 62px); }
  .kp-hero-lead { margin-top: 20px; }
  .kp-hero-rule { margin-top: 22px; }
  .kp-hero-photo { min-height: 430px; }
  .kp-pattern, .kp-assessment, .kp-treatment, .kp-crossroads, .kp-faq { padding: 58px 0; }
  .kp-pattern-heading h2,
  .kp-section-head h2,
  .kp-assessment-intro h2,
  .kp-crossroads-head h2,
  .kp-faq-intro h2,
  .kp-final h2 { font-size: clamp(40px, 12vw, 55px); }
  .kp-pattern-tabs button { min-height: 74px; }
  .kp-pattern-result { min-height: 0; padding: 27px 22px; }
  .kp-folder-stack { gap: 68px; }
  .kp-folder-photo, .kp-folder-image-right .kp-folder-photo {
    width: calc(100% - 24px);
    min-height: 280px;
    margin: -34px 12px 0;
  }
  .kp-folder-copy { padding: 34px 22px 38px; }
  .kp-folder h3 { font-size: clamp(39px, 11.5vw, 53px); }
  .kp-question-list li { grid-template-columns: 36px 1fr; gap: 12px; padding: 15px 16px; }
  .kp-question-list li:hover { padding: 15px 16px; transform: none; }
  .kp-question-list li > span { width: 28px; height: 28px; }
  .kp-treatment-grid article { min-height: 270px; padding: 28px 24px; }
  .kp-crossroads-grid a { min-height: 180px; padding: 25px 23px; }
  .kp-crossroads-grid a > p { margin-top: 25px; }
  .kp-faq-list summary { min-height: 64px; }
  .kp-final { padding: 48px 0 60px; }
  .kp-final-grid { padding: 32px 24px; border-radius: 20px; }
}

/* ============================================================
   Parent refinement pass 2 — 2026-08-12
   Laptop screen-fit + stronger reading contrast.
   ============================================================ */

/* Global reading refinement: body copy should never look washed out. */
.knee-parent-site {
  --kp-muted: #575159;
}
.kp-hero-lead,
.kp-section-head > p,
.kp-folder-copy > p,
.kp-assessment-intro > p:not(.kp-eyebrow),
.kp-question-list p,
.kp-treatment-head > p,
.kp-treatment-grid article > p:nth-of-type(2),
.kp-treatment-rule p,
.kp-crossroads-grid small,
.kp-faq-intro > p:not(.kp-eyebrow),
.kp-faq-list details > p,
.kp-final-grid > div:last-child > p {
  font-weight: 470;
}

/* Dark copy: raise contrast without turning it into stark white blocks. */
.kp-pattern-heading > p:not(.kp-eyebrow) { color: rgba(255,255,255,.74); font-weight: 470; }
.kp-pattern-legend p { color: rgba(255,255,255,.60); font-weight: 460; }
.kp-pattern-result p { color: rgba(255,255,255,.76); font-weight: 470; }
.kp-folder-ink .kp-folder-copy > p,
.kp-folder-wine .kp-folder-copy > p { color: rgba(255,255,255,.82); font-weight: 470; }
.kp-folder-ink .kp-clues li,
.kp-folder-wine .kp-clues li { color: rgba(255,255,255,.88); }

/* PATTERN: keep the dramatic anchor, but blend charcoal with restrained wine depth. */
.kp-pattern {
  background:
    radial-gradient(circle at 78% 12%, rgba(102,28,61,.24), transparent 34%),
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px) 0 0 / 12.5% 100%,
    #211e23;
}

/* Clinical route cards: fixed editorial image windows prevent portrait images from stretching sections. */
.kp-folder {
  min-height: 0;
}
.kp-folder-photo,
.kp-folder-image-right .kp-folder-photo {
  height: clamp(330px, 27vw, 390px);
  min-height: 0;
  align-self: center;
}
.kp-folder:nth-child(1) .kp-folder-photo { height: clamp(320px, 25vw, 365px); }
.kp-folder:nth-child(2) .kp-folder-photo { height: clamp(350px, 28vw, 395px); }
.kp-folder:nth-child(3) .kp-folder-photo { height: clamp(315px, 24vw, 350px); }
.kp-folder:nth-child(4) .kp-folder-photo { height: clamp(310px, 24vw, 345px); }
.kp-folder:nth-child(3) .kp-folder-photo img { object-position: 50% 38%; }

/* Make question cards and treatment copy read as editorial text, not faint UI labels. */
.kp-assessment-intro > p:not(.kp-eyebrow) {
  color: #5c5158;
  font-size: 13.5px;
  font-weight: 500;
}
.kp-assessment-alert p {
  color: #5b5157;
  font-size: 10px;
  font-weight: 500;
}
.kp-question-list p {
  color: #5a5258;
  font-size: 12px;
  font-weight: 500;
}
.kp-treatment-grid article > p:nth-of-type(2) {
  color: #5a545a;
  font-size: 12.5px;
  font-weight: 480;
}
.kp-treatment-rule p { color: #585258; font-size: 11.5px; font-weight: 480; }
.kp-section-head > p { color: #5a545a; font-weight: 470; }
.kp-folder-copy > p { color: #5a545a; font-size: 12.5px; font-weight: 470; }
.kp-faq-intro > p:not(.kp-eyebrow),
.kp-faq-list details > p { color: #595359; font-weight: 470; }

/* General desktop compression — maintain hierarchy, remove dead air. */
@media (min-width: 1001px) {
  .kp-hero {
    min-height: 590px;
    padding: 92px 0 36px;
  }
  .kp-hero-grid { gap: clamp(40px, 5.2vw, 82px); }
  .kp-hero-copy { padding-top: 4px; }
  .kp-breadcrumbs { margin-bottom: clamp(24px, 2.6vw, 34px); }
  .kp-hero h1 { font-size: clamp(49px, 4.8vw, 74px); line-height: .95; }
  .kp-hero-lead { margin-top: 19px; font-size: clamp(14px, 1vw, 16px); line-height: 1.62; }
  .kp-hero-actions { margin-top: 21px; }
  .kp-button { min-height: 52px; }
  .kp-hero-rule { margin-top: 21px; padding-top: 13px; }
  .kp-hero-photo { min-height: 420px; padding: 12px 25px 22px 0; }
  .kp-hero-photo::before { left: 22px; bottom: 4px; }
  .kp-photo-window { top: 19px; right: 24px; bottom: 31px; }
  .kp-hero-photo figcaption { right: 44px; bottom: 46px; }
  .kp-photo-index { top: 54px; }

  .kp-pattern { padding: 58px 0 62px; }
  .kp-pattern-layout { gap: clamp(40px, 5.2vw, 82px); }
  .kp-pattern-heading { top: 102px; }
  .kp-pattern-heading h2 { font-size: clamp(50px, 4.9vw, 72px); line-height: .95; }
  .kp-pattern-heading > p:not(.kp-eyebrow) { margin-top: 17px; font-size: 13px; line-height: 1.6; }
  .kp-pattern-legend { margin-top: 20px; padding-top: 14px; }
  .kp-pattern-tabs button { min-height: 72px; padding: 13px 16px; }
  .kp-pattern-result { min-height: 190px; margin-top: 14px; padding: 25px 32px 23px; }
  .kp-pattern-result h3 { margin: 9px 0 10px; font-size: clamp(29px, 2.55vw, 40px); line-height: 1.02; }
  .kp-pattern-result p { font-size: 11.5px; line-height: 1.55; }
  .kp-pattern-result a { margin-top: 12px; }
  .kp-pattern-result small { margin-top: 11px; padding-top: 10px; }

  .kp-folders { padding: 60px 0 76px; }
  .kp-section-head { gap: clamp(38px, 5vw, 74px); margin-bottom: 48px; }
  .kp-section-head h2 { max-width: 720px; font-size: clamp(44px, 4.55vw, 68px); line-height: .96; }
  .kp-section-head > p { font-size: 12.5px; line-height: 1.62; }
  .kp-folder-stack { gap: 58px; }
  .kp-folder { width: 95%; }
  .kp-folder-photo { margin: -28px 0 26px -4vw; }
  .kp-folder-image-right .kp-folder-photo { margin: 26px -4vw -28px 0; }
  .kp-folder-copy { padding: 32px 38px; }
  .kp-folder-meta { margin-bottom: 11px; }
  .kp-folder h3 { margin-bottom: 13px; font-size: clamp(38px, 3.75vw, 56px); }
  .kp-folder-copy > p { margin-bottom: 7px; line-height: 1.55; }
  .kp-clues { margin: 7px 0 13px; }
  .kp-clues li { padding: 6px 10px; }
  .kp-folder-link { padding-top: 11px; }

  .kp-assessment { padding: 58px 0 62px; }
  .kp-assessment-grid { gap: clamp(40px, 5.3vw, 82px); }
  .kp-assessment-intro h2 { font-size: clamp(43px, 4.35vw, 62px); }
  .kp-assessment-intro > p:not(.kp-eyebrow) { margin-top: 16px; line-height: 1.58; }
  .kp-assessment-alert { margin-top: 18px; padding: 13px 15px; }
  .kp-question-list { gap: 8px; }
  .kp-question-list li,
  .kp-question-list li:hover { padding: 13px 17px; }
  .kp-question-list h3 { font-size: clamp(22px, 1.75vw, 27px); margin-bottom: 3px; }
  .kp-question-list p { line-height: 1.48; }

  .kp-treatment { padding: 56px 0 62px; }
  .kp-treatment-head { margin-bottom: 32px; }
  .kp-treatment-head h2 { font-size: clamp(43px, 4.35vw, 64px); }
  .kp-treatment-grid article { min-height: 250px; padding: 26px 34px; }
  .kp-treatment-grid article > p:first-of-type { margin: 21px 0 7px; }
  .kp-treatment-grid h3 { margin-bottom: 10px; font-size: clamp(29px, 2.55vw, 39px); }
  .kp-treatment-grid article > p:nth-of-type(2) { line-height: 1.52; }
  .kp-treatment-grid small { padding-top: 11px; }
  .kp-treatment-rule { margin-top: 13px; padding: 13px 18px; }

  .kp-crossroads { padding: 50px 0 58px; }
  .kp-crossroads-head { margin-bottom: 24px; gap: 34px; }
  .kp-crossroads-head h2 { font-size: clamp(39px, 3.9vw, 55px); }
  .kp-crossroads-grid { gap: 11px; }
  .kp-crossroads-grid a { min-height: 178px; padding: 22px 27px; }
  .kp-crossroads-grid a > p { margin: 22px 0 8px; }
  .kp-crossroads-grid h3 { font-size: clamp(27px, 2.35vw, 35px); margin-bottom: 8px; }
  .kp-crossroads-grid small { font-size: 10.5px; line-height: 1.48; }
  .kp-crossroads-grid b { right: 22px; bottom: 18px; }

  .kp-faq { padding: 52px 0 58px; }
  .kp-faq-grid { gap: clamp(38px, 5vw, 72px); }
  .kp-faq-intro h2 { font-size: clamp(39px, 3.85vw, 55px); }
  .kp-faq-intro > p:not(.kp-eyebrow) { margin-top: 15px; line-height: 1.55; }
  .kp-faq-intro > a { margin-top: 15px; }
  .kp-faq-list summary { min-height: 58px; }
  .kp-faq-list details > p { padding-bottom: 15px; font-size: 12px; line-height: 1.55; }

  .kp-final { padding: 42px 0 52px; }
  .kp-final-grid { padding: 31px 38px; gap: 40px; }
  .kp-final h2 { font-size: clamp(38px, 3.8vw, 54px); }
}

/* Extra screen-fit for typical 13–16 inch laptop viewports. */
@media (min-width: 1001px) and (max-height: 850px) {
  .kp-hero { min-height: 555px; padding-top: 82px; padding-bottom: 28px; }
  .kp-hero-photo { min-height: 390px; }
  .kp-hero h1 { font-size: clamp(47px, 4.55vw, 70px); }
  .kp-pattern { padding-top: 48px; padding-bottom: 50px; }
  .kp-pattern-tabs button { min-height: 66px; }
  .kp-pattern-result { min-height: 176px; padding-top: 21px; padding-bottom: 20px; }
  .kp-folders { padding-top: 52px; padding-bottom: 64px; }
  .kp-section-head { margin-bottom: 40px; }
  .kp-folder-stack { gap: 50px; }
  .kp-folder:nth-child(1) .kp-folder-photo { height: 325px; }
  .kp-folder:nth-child(2) .kp-folder-photo { height: 360px; }
  .kp-folder:nth-child(3) .kp-folder-photo { height: 310px; }
  .kp-folder:nth-child(4) .kp-folder-photo { height: 305px; }
  .kp-assessment { padding-top: 50px; padding-bottom: 52px; }
  .kp-treatment { padding-top: 49px; padding-bottom: 54px; }
  .kp-treatment-grid article { min-height: 238px; }
  .kp-crossroads { padding-top: 45px; padding-bottom: 50px; }
  .kp-faq { padding-top: 46px; padding-bottom: 50px; }
  .kp-final { padding-top: 36px; padding-bottom: 44px; }
}

/* Tablet/mobile keep the existing responsive composition, but preserve stronger text. */
@media (max-width: 1000px) {
  .kp-folder-photo,
  .kp-folder-image-right .kp-folder-photo,
  .kp-folder:nth-child(1) .kp-folder-photo,
  .kp-folder:nth-child(2) .kp-folder-photo,
  .kp-folder:nth-child(3) .kp-folder-photo,
  .kp-folder:nth-child(4) .kp-folder-photo {
    height: auto;
    min-height: 360px;
  }
}

@media (max-width: 680px) {
  .kp-folder-photo,
  .kp-folder-image-right .kp-folder-photo,
  .kp-folder:nth-child(1) .kp-folder-photo,
  .kp-folder:nth-child(2) .kp-folder-photo,
  .kp-folder:nth-child(3) .kp-folder-photo,
  .kp-folder:nth-child(4) .kp-folder-photo {
    min-height: 280px;
  }
  .kp-folder-copy > p,
  .kp-question-list p,
  .kp-treatment-grid article > p:nth-of-type(2),
  .kp-faq-list details > p {
    font-size: 12.5px;
  }
}


/* ============================================================
   Knee Surgery & Replacement parent — page-specific composition
   Uses the locked Knee Parent system; only local sections differ.
   ============================================================ */
.knee-parent-site .ksr-hero .kp-photo-window img { object-position: 54% 50%; }
.knee-parent-site .ksr-hero .kp-photo-window { border-radius: 0 72px 0 0; }
.knee-parent-site .ksr-hero-photo figcaption { max-width: 250px; }
.knee-parent-site .ksr-route-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }

.ksr-compare,
.ksr-planning {
  position: relative;
  padding: 58px 0 64px;
  background: #f7f1e9;
  overflow: hidden;
}
.ksr-planning {
  background:
    linear-gradient(90deg, rgba(84,25,50,.045) 1px, transparent 1px) 0 0 / 12.5% 100%,
    #f8f4ee;
  border-top: 1px solid rgba(85,21,47,.12);
}
.ksr-section-head { margin-bottom: 34px; }
.ksr-section-head h2 { max-width: 760px; }

.ksr-compare-card {
  display: grid;
  grid-template-columns: minmax(300px,.78fr) minmax(0,1.55fr);
  align-items: stretch;
  border: 1px solid rgba(85,21,47,.34);
  background: rgba(255,255,255,.66);
  box-shadow: 0 24px 50px rgba(55,39,45,.08);
}
.ksr-compare-copy {
  display: grid;
  grid-template-rows: 1fr 1fr;
  border-right: 1px solid rgba(85,21,47,.22);
}
.ksr-compare-copy article { padding: 27px 30px; }
.ksr-compare-copy article + article { border-top: 1px solid rgba(85,21,47,.18); }
.ksr-compare-copy span,
.ksr-planning-card > div > span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  background: #c9f132;
  color: #251f24;
  font: 800 9px/1 Arial,sans-serif;
  letter-spacing: .12em;
}
.ksr-compare-copy h3,
.ksr-planning-card h3 {
  margin: 13px 0 10px;
  color: #201d22;
  font-family: var(--kp-serif);
  font-weight: 400;
  line-height: .98;
}
.ksr-compare-copy h3 { font-size: clamp(30px,2.7vw,42px); }
.ksr-compare-copy p,
.ksr-planning-card p {
  color: #5a5359;
  font-size: 12.5px;
  font-weight: 470;
  line-height: 1.58;
}
.ksr-compare-copy a,
.ksr-planning-card a {
  display: inline-flex;
  gap: 22px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(85,21,47,.25);
  color: #6e173d;
  font: 700 11px/1.2 Arial,sans-serif;
  text-decoration: none;
}
.ksr-compare-image {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 15px 18px 12px;
  background: #fff;
}
.ksr-compare-image img {
  display: block;
  width: 100%;
  max-height: 490px;
  object-fit: contain;
}
.ksr-compare-image figcaption {
  margin-top: 7px;
  color: #756d72;
  font: 500 9px/1.4 Arial,sans-serif;
  text-align: center;
}

.ksr-planning-grid { display: grid; gap: 18px; }
.ksr-planning-card {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(330px,.92fr);
  min-height: 340px;
  border: 1px solid rgba(85,21,47,.28);
  background: rgba(255,255,255,.72);
  overflow: hidden;
}
.ksr-planning-card.ksr-revision { grid-template-columns: minmax(330px,.92fr) minmax(0,1.08fr); }
.ksr-planning-card figure { margin: 0; min-height: 0; overflow: hidden; }
.ksr-planning-card figure img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.ksr-robotic figure img { object-position: 48% 50%; }
.ksr-revision figure img { object-position: 52% 50%; }
.ksr-planning-card > div { padding: 34px 38px; align-self: center; }
.ksr-planning-card h3 { font-size: clamp(34px,3vw,48px); }

.ksr-assessment { background: #f4e8e8; }
.ksr-assessment .kp-question-list li { background: rgba(255,255,255,.72); }
.ksr-crossroads { background: #5c1736; }
.ksr-crossroads .kp-crossroads-head h2 { color: #fff; }
.ksr-crossroads .kp-crossroads-grid a { background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.22); }
.ksr-crossroads .kp-crossroads-grid a > span,
.ksr-crossroads .kp-crossroads-grid a > p { color: #c9f132; }
.ksr-crossroads .kp-crossroads-grid h3 { color: #fff; }
.ksr-crossroads .kp-crossroads-grid small { color: rgba(255,255,255,.76); }
.ksr-crossroads .kp-crossroads-grid b { color: #c9f132; }
.ksr-final { background: #211e23; }

@media (min-width:1001px) {
  .ksr-hero.kp-hero { min-height: 560px; padding-top: 84px; padding-bottom: 28px; }
  .ksr-hero .kp-hero-photo { min-height: 385px; }
  .ksr-hero .kp-hero h1 { max-width: 760px; }
  .ksr-navigator.kp-pattern { padding-top: 50px; padding-bottom: 54px; }
  .ksr-navigator .kp-pattern-heading { top: 98px; }
  .ksr-compare, .ksr-planning { padding-top: 52px; padding-bottom: 58px; }
  .ksr-assessment.kp-assessment { padding-top: 50px; padding-bottom: 54px; }
  .ksr-crossroads.kp-crossroads { padding-top: 46px; padding-bottom: 50px; }
}

@media (max-width:1000px) {
  .ksr-route-tabs { grid-template-columns: 1fr; }
  .ksr-compare-card,
  .ksr-planning-card,
  .ksr-planning-card.ksr-revision { grid-template-columns: 1fr; }
  .ksr-compare-copy { border-right: 0; border-bottom: 1px solid rgba(85,21,47,.22); }
  .ksr-compare-image img { max-height: none; }
  .ksr-revision > div { order: 2; }
  .ksr-revision > figure { order: 1; }
}

@media (max-width:680px) {
  .ksr-compare, .ksr-planning { padding: 46px 0 50px; }
  .ksr-compare-copy article, .ksr-planning-card > div { padding: 24px 22px; }
  .ksr-planning-card, .ksr-planning-card figure img { min-height: 270px; }
  .ksr-compare-image { padding: 10px 8px; }
}


/* V2 — explicit child-page gateway */
.ksr-child-gateway {
  padding: 58px 0 46px;
  background: #f7f1ea;
  border-top: 1px solid rgba(112, 20, 60, .12);
  border-bottom: 1px solid rgba(112, 20, 60, .12);
}
.ksr-child-gateway-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .65fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 30px;
}
.ksr-child-gateway-head h2 {
  margin: 10px 0 0;
  max-width: 760px;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(38px, 4.1vw, 62px);
  line-height: .98;
  font-weight: 500;
  letter-spacing: -.035em;
  color: #1c1c20;
}
.ksr-child-gateway-head > p {
  margin: 0;
  color: #66616a;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 520;
}
.ksr-child-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  border: 1px solid rgba(112,20,60,.32);
  background: rgba(255,255,255,.68);
}
.ksr-child-card {
  position: relative;
  min-height: 310px;
  padding: 28px 27px 24px;
  color: inherit;
  text-decoration: none;
  border-right: 1px solid rgba(112,20,60,.22);
  transition: background .25s ease, transform .25s ease, color .25s ease;
}
.ksr-child-card:last-child { border-right: 0; }
.ksr-child-card:hover { background: #70143c; color: white; transform: translateY(-3px); z-index: 2; }
.ksr-child-card > span {
  display: inline-grid; place-items:center; width: 36px; height: 36px;
  background: #cff72e; color: #111; font-size: 10px; font-weight: 850;
  margin-bottom: 32px;
}
.ksr-child-card small {
  display:block; color:#70143c; font-size:9px; font-weight:850; letter-spacing:.17em;
  margin-bottom: 10px;
}
.ksr-child-card:hover small { color:#d8fa4a; }
.ksr-child-card h3 {
  margin:0 0 15px; font-family:var(--font-display, Georgia, serif);
  font-size: clamp(27px, 2.25vw, 37px); line-height:1.02; font-weight:500; letter-spacing:-.025em;
}
.ksr-child-card p { margin:0; color:#6a656b; font-size:12.5px; line-height:1.65; font-weight:500; }
.ksr-child-card:hover p { color:rgba(255,255,255,.78); }
.ksr-child-card b {
  position:absolute; left:27px; right:27px; bottom:24px; display:flex; justify-content:space-between; align-items:center;
  padding-top:14px; border-top:1px solid rgba(112,20,60,.25); color:#70143c; font-size:11px; font-weight:800;
}
.ksr-child-card:hover b { color:#d8fa4a; border-top-color:rgba(216,250,74,.38); }
.ksr-child-card i { font-style:normal; font-size:16px; }
.ksr-arthroscopy-route {
  display:flex; justify-content:space-between; align-items:center; gap:28px; margin-top:18px; padding:17px 21px;
  border:1px solid rgba(112,20,60,.2); text-decoration:none; color:inherit; background:rgba(255,255,255,.45);
}
.ksr-arthroscopy-route span { display:grid; grid-template-columns:auto 1fr; column-gap:15px; align-items:baseline; }
.ksr-arthroscopy-route small { color:#70143c; font-size:8.5px; font-weight:850; letter-spacing:.16em; }
.ksr-arthroscopy-route strong { font-family:var(--font-display, Georgia, serif); font-size:23px; font-weight:500; }
.ksr-arthroscopy-route p { grid-column:2; margin:4px 0 0; color:#706a72; font-size:11px; }
.ksr-arthroscopy-route > b { white-space:nowrap; color:#70143c; font-size:11px; }
.ksr-arthroscopy-route i { font-style:normal; }
@media (max-width: 1050px) {
  .ksr-child-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ksr-child-card:nth-child(2) { border-right:0; }
  .ksr-child-card:nth-child(-n+2) { border-bottom:1px solid rgba(112,20,60,.22); }
}
@media (max-width: 720px) {
  .ksr-child-gateway { padding:38px 0 32px; }
  .ksr-child-gateway-head { grid-template-columns:1fr; gap:18px; }
  .ksr-child-grid { grid-template-columns:1fr; }
  .ksr-child-card { min-height:240px; border-right:0; border-bottom:1px solid rgba(112,20,60,.22); }
  .ksr-child-card:last-child { border-bottom:0; }
  .ksr-arthroscopy-route { align-items:flex-start; flex-direction:column; }
  .ksr-arthroscopy-route span { grid-template-columns:1fr; }
  .ksr-arthroscopy-route p { grid-column:1; }
}


/* ============================================================
   V3 FINAL COMPACT PASS — Parent = Knee Pain & Conditions family
   Removes redundant route navigator, shortens custom surgery sections,
   and strengthens body-copy contrast/weight.
   ============================================================ */

/* Body copy should read clearly on laptop screens. */
.knee-parent-site .kp-hero-lead,
.knee-parent-site .kp-hero-rule p,
.knee-parent-site .ksr-child-gateway-head > p,
.knee-parent-site .ksr-child-card p,
.knee-parent-site .ksr-arthroscopy-route p,
.knee-parent-site .kp-section-head > p,
.knee-parent-site .ksr-compare-copy p,
.knee-parent-site .ksr-planning-card p,
.knee-parent-site .kp-assessment-intro > p:not(.kp-eyebrow),
.knee-parent-site .kp-assessment-alert p,
.knee-parent-site .kp-question-list p,
.knee-parent-site .kp-crossroads-grid small,
.knee-parent-site .kp-faq-intro > p:not(.kp-eyebrow),
.knee-parent-site .kp-faq-list details > p,
.knee-parent-site .kp-final-grid > div:last-child > p {
  color: #514b51;
  font-weight: 540;
}
.knee-parent-site .ksr-crossroads .kp-crossroads-grid small { color: rgba(255,255,255,.84); font-weight: 540; }

/* Four child routes = the single primary Parent-to-Child navigator. */
.ksr-child-gateway { padding: 42px 0 38px; }
.ksr-child-gateway-head { gap: 42px; margin-bottom: 22px; }
.ksr-child-gateway-head h2 { font-size: clamp(36px, 3.65vw, 54px); }
.ksr-child-gateway-head > p { font-size: 13px; line-height: 1.58; }
.ksr-child-card { min-height: 248px; padding: 23px 24px 20px; }
.ksr-child-card > span { width: 33px; height: 33px; margin-bottom: 22px; }
.ksr-child-card small { margin-bottom: 8px; }
.ksr-child-card h3 { margin-bottom: 11px; font-size: clamp(25px, 2.05vw, 33px); }
.ksr-child-card p { font-size: 12px; line-height: 1.52; }
.ksr-child-card b { left:24px; right:24px; bottom:18px; padding-top:10px; }
.ksr-arthroscopy-route { margin-top: 12px; padding: 13px 18px; }
.ksr-arthroscopy-route strong { font-size: 21px; }
.ksr-arthroscopy-route p { margin-top:2px; font-size:10.5px; }

/* Compact Partial vs Total — keep the educational comparison prominent without a giant block. */
.ksr-compare { padding: 44px 0 48px; }
.ksr-compare .kp-section-head { margin-bottom: 26px; }
.ksr-compare .kp-section-head h2 { font-size: clamp(39px, 4vw, 57px); max-width: 680px; }
.ksr-compare-card { grid-template-columns: minmax(285px,.72fr) minmax(0,1.5fr); }
.ksr-compare-copy article { padding: 22px 25px; }
.ksr-compare-copy h3 { margin: 10px 0 8px; font-size: clamp(27px,2.4vw,37px); }
.ksr-compare-copy p { font-size: 12px; line-height: 1.5; }
.ksr-compare-copy a { margin-top: 10px; padding-top: 8px; }
.ksr-compare-image { padding: 10px 14px 8px; }
.ksr-compare-image img { max-height: 390px; }

/* Robotic + revision: same editorial rhythm, less vertical dead space. */
.ksr-planning { padding: 44px 0 48px; }
.ksr-planning .kp-section-head { margin-bottom: 26px; }
.ksr-planning .kp-section-head h2 { font-size: clamp(39px, 4vw, 57px); max-width: 700px; }
.ksr-planning-grid { gap: 14px; }
.ksr-planning-card { min-height: 278px; grid-template-columns: minmax(0,1.08fr) minmax(300px,.92fr); }
.ksr-planning-card.ksr-revision { grid-template-columns: minmax(300px,.92fr) minmax(0,1.08fr); }
.ksr-planning-card figure img { min-height: 278px; max-height: 310px; }
.ksr-planning-card > div { padding: 26px 30px; }
.ksr-planning-card h3 { margin: 10px 0 8px; font-size: clamp(30px,2.65vw,41px); }
.ksr-planning-card p { font-size: 12px; line-height: 1.5; }
.ksr-planning-card a { margin-top: 10px; padding-top: 8px; }

/* Use the locked Knee Pain Parent compact dimensions for the remaining shared sections. */
.ksr-assessment.kp-assessment { padding: 44px 0 47px; }
.ksr-assessment .kp-assessment-grid { gap: clamp(34px,4.5vw,68px); }
.ksr-assessment .kp-assessment-intro h2 { font-size: clamp(39px,3.9vw,55px); }
.ksr-assessment .kp-assessment-intro > p:not(.kp-eyebrow) { margin-top: 13px; font-size: 13px; line-height: 1.52; }
.ksr-assessment .kp-assessment-alert { margin-top: 14px; padding: 11px 14px; }
.ksr-assessment .kp-question-list { gap: 6px; }
.ksr-assessment .kp-question-list li,
.ksr-assessment .kp-question-list li:hover { padding: 11px 15px; }
.ksr-assessment .kp-question-list h3 { font-size: clamp(20px,1.55vw,24px); }
.ksr-assessment .kp-question-list p { font-size: 11.5px; line-height: 1.42; }

.ksr-crossroads.kp-crossroads { padding: 40px 0 43px; }
.ksr-crossroads .kp-crossroads-head { margin-bottom: 20px; }
.ksr-crossroads .kp-crossroads-head h2 { font-size: clamp(36px,3.55vw,49px); }
.ksr-crossroads .kp-crossroads-grid a { min-height: 158px; padding: 19px 23px; }
.ksr-crossroads .kp-crossroads-grid a > p { margin: 18px 0 6px; }
.ksr-crossroads .kp-crossroads-grid h3 { font-size: clamp(25px,2.1vw,31px); margin-bottom: 6px; }
.ksr-crossroads .kp-crossroads-grid small { font-size: 10px; line-height: 1.42; }

.knee-parent-site .kp-faq { padding: 43px 0 46px; }
.knee-parent-site .kp-faq-grid { gap: clamp(34px,4.5vw,64px); }
.knee-parent-site .kp-faq-intro h2 { font-size: clamp(36px,3.5vw,49px); }
.knee-parent-site .kp-faq-list summary { min-height: 54px; }
.knee-parent-site .kp-faq-list details > p { padding-bottom: 13px; font-size: 11.5px; line-height: 1.48; }

.ksr-final.kp-final { padding: 32px 0 38px; }
.ksr-final .kp-final-grid { padding: 26px 32px; gap: 32px; }
.ksr-final.kp-final h2 { font-size: clamp(35px,3.4vw,48px); }

@media (min-width:1001px) {
  .ksr-hero.kp-hero { min-height: 525px; padding-top: 78px; padding-bottom: 24px; }
  .ksr-hero .kp-hero-photo { min-height: 360px; }
  .ksr-hero .kp-hero h1 { font-size: clamp(45px,4.25vw,65px); }
  .ksr-hero .kp-hero-lead { margin-top: 16px; font-size: 14px; line-height: 1.55; }
  .ksr-hero .kp-hero-actions { margin-top: 18px; }
  .ksr-hero .kp-hero-rule { margin-top: 17px; padding-top: 11px; }
}

@media (min-width:1001px) and (max-height:850px) {
  .ksr-hero.kp-hero { min-height: 505px; padding-top: 72px; padding-bottom: 20px; }
  .ksr-hero .kp-hero-photo { min-height: 345px; }
  .ksr-child-gateway { padding-top: 36px; padding-bottom: 32px; }
  .ksr-child-card { min-height: 232px; }
  .ksr-compare, .ksr-planning { padding-top: 39px; padding-bottom: 42px; }
  .ksr-planning-card, .ksr-planning-card figure img { min-height: 255px; }
  .ksr-assessment.kp-assessment { padding-top: 40px; padding-bottom: 42px; }
  .ksr-crossroads.kp-crossroads { padding-top: 36px; padding-bottom: 39px; }
  .knee-parent-site .kp-faq { padding-top: 38px; padding-bottom: 41px; }
  .ksr-final.kp-final { padding-top: 28px; padding-bottom: 33px; }
}

@media (max-width:1000px) {
  .ksr-child-card { min-height: 235px; }
  .ksr-compare-image img { max-height: none; }
  .ksr-planning-card,
  .ksr-planning-card.ksr-revision { grid-template-columns: 1fr; }
  .ksr-planning-card figure img { max-height: 360px; }
}


/* ============================================================
   V4 — THREE SURGERY CHILDREN + SURGICAL VISUAL PASS
   Primary / Robotic / Revision. Robotic is intentionally featured.
   ============================================================ */

/* Stronger surgical typography: paragraph copy must remain clearly readable. */
.knee-parent-site .kp-hero-lead,
.knee-parent-site .kp-hero-rule p,
.knee-parent-site .ksr-child-gateway-head > p,
.knee-parent-site .ksr-child-card p,
.knee-parent-site .ksr-arthroscopy-route p,
.knee-parent-site .kp-section-head > p,
.knee-parent-site .ksr-compare-copy p,
.knee-parent-site .ksr-planning-card p,
.knee-parent-site .kp-assessment-intro > p:not(.kp-eyebrow),
.knee-parent-site .kp-assessment-alert p,
.knee-parent-site .kp-question-list p,
.knee-parent-site .kp-faq-intro > p:not(.kp-eyebrow),
.knee-parent-site .kp-faq-list details > p,
.knee-parent-site .kp-final-grid > div:last-child > p {
  font-weight: 590;
}

/* Three child routes only. Cards use flex flow so body copy can NEVER collide with the CTA. */
.ksr-child-gateway {
  padding: 34px 0 31px;
  background:
    linear-gradient(90deg, rgba(86,21,48,.035) 1px, transparent 1px) 0 0 / 12.5% 100%,
    #f7f1ea;
}
.ksr-child-gateway-head { gap: 36px; margin-bottom: 18px; }
.ksr-child-gateway-head h2 { max-width: 660px; font-size: clamp(35px,3.4vw,51px); }
.ksr-child-gateway-head > p { max-width: 470px; font-size: 12.5px; line-height: 1.5; }
.ksr-child-grid-three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.ksr-child-grid-three .ksr-child-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 21px 23px 18px;
}
.ksr-child-grid-three .ksr-child-card > span { width:31px; height:31px; margin-bottom:17px; }
.ksr-child-grid-three .ksr-child-card small { margin-bottom:7px; }
.ksr-child-grid-three .ksr-child-card h3 { margin-bottom:9px; font-size:clamp(26px,2.15vw,35px); }
.ksr-child-grid-three .ksr-child-card p { margin-bottom:14px; font-size:11.8px; line-height:1.47; }
.ksr-child-grid-three .ksr-child-card b {
  position: static;
  left: auto; right: auto; bottom: auto;
  margin-top: auto;
  padding-top: 9px;
}
/* Featured robotics card: precision / operating-room mood, still within the Parent family. */
.ksr-child-card-robotic {
  background:
    radial-gradient(circle at 87% 16%, rgba(201,241,50,.13), transparent 25%),
    linear-gradient(135deg, rgba(255,255,255,.02), transparent 55%),
    #211e23;
  color:#fff;
  box-shadow: inset 0 0 0 2px #c9f132;
}
.ksr-child-card-robotic small,
.ksr-child-card-robotic b { color:#d7f74f; }
.ksr-child-card-robotic p { color:rgba(255,255,255,.82) !important; }
.ksr-child-card-robotic b { border-top-color:rgba(201,241,50,.33); }
.ksr-child-card-robotic:hover { background:#551530; transform:translateY(-3px); }
.ksr-child-card-primary:hover,
.ksr-child-card-revision:hover { background:#641d3b; }

.ksr-arthroscopy-route { margin-top:10px; padding:11px 17px; }
.ksr-arthroscopy-route strong { font-size:20px; }

/* Primary replacement comparison: compact but authoritative. */
.ksr-compare { padding:38px 0 41px; }
.ksr-compare .kp-section-head { margin-bottom:21px; }
.ksr-compare .kp-section-head h2 { font-size:clamp(37px,3.75vw,53px); }
.ksr-compare-card { grid-template-columns:minmax(270px,.69fr) minmax(0,1.52fr); }
.ksr-compare-copy article { padding:19px 23px; }
.ksr-compare-copy h3 { font-size:clamp(26px,2.25vw,35px); }
.ksr-compare-copy p { font-size:11.7px; line-height:1.46; }
.ksr-compare-image img { max-height:350px; }

/* Robotic becomes the signature surgical feature. */
.ksr-planning { padding:38px 0 42px; background:
  linear-gradient(90deg, rgba(201,241,50,.045) 1px, transparent 1px) 0 0 / 10% 100%,
  #211e23; }
.ksr-planning .kp-section-head { margin-bottom:21px; }
.ksr-planning .kp-section-head h2,
.ksr-planning .kp-section-head > div h2 { color:#fff; font-size:clamp(37px,3.75vw,53px); }
.ksr-planning .kp-section-head > p { color:rgba(255,255,255,.78) !important; }
.ksr-planning .kp-eyebrow { color:#c9f132; }
.ksr-planning-card { min-height:250px; border-color:rgba(255,255,255,.18); }
.ksr-planning-card figure img { min-height:250px; max-height:285px; }
.ksr-planning-card > div { padding:22px 27px; }
.ksr-planning-card h3 { font-size:clamp(28px,2.45vw,38px); }
.ksr-planning-card p { font-size:11.8px; line-height:1.47; }
.ksr-robotic { background:#2a242a; border-color:#c9f132; }
.ksr-robotic h3 { color:#fff; }
.ksr-robotic p { color:rgba(255,255,255,.82) !important; }
.ksr-robotic a { color:#d8fa4a; border-top-color:rgba(216,250,74,.35); }
.ksr-revision { background:#f8f3ed; }

/* Remaining Parent sections: even tighter, matching the compact Knee Pain Parent rhythm. */
.ksr-assessment.kp-assessment { padding:38px 0 40px; }
.ksr-assessment .kp-assessment-intro h2 { font-size:clamp(37px,3.65vw,51px); }
.ksr-assessment .kp-question-list li,
.ksr-assessment .kp-question-list li:hover { padding:9px 14px; }
.ksr-crossroads.kp-crossroads { padding:34px 0 36px; }
.ksr-crossroads .kp-crossroads-grid a { min-height:144px; padding:17px 21px; }
.knee-parent-site .kp-faq { padding:37px 0 40px; }
.knee-parent-site .kp-faq-list summary { min-height:50px; }
.ksr-final.kp-final { padding:27px 0 31px; }
.ksr-final .kp-final-grid { padding:22px 29px; }

@media (min-width:1001px) {
  .ksr-hero.kp-hero { min-height:500px; padding-top:72px; padding-bottom:20px; }
  .ksr-hero .kp-hero-photo { min-height:342px; }
  .ksr-hero .kp-hero h1 { font-size:clamp(43px,4vw,61px); }
}

@media (max-width:900px) {
  .ksr-child-grid-three { grid-template-columns:1fr; }
  .ksr-child-grid-three .ksr-child-card { min-height:0; border-right:0; border-bottom:1px solid rgba(112,20,60,.22); }
  .ksr-child-grid-three .ksr-child-card:last-child { border-bottom:0; }
}

@media (max-width:680px) {
  .ksr-child-gateway { padding:30px 0 28px; }
  .ksr-child-grid-three .ksr-child-card { padding:19px 20px 16px; }
  .ksr-child-grid-three .ksr-child-card h3 { font-size:29px; }
  .ksr-compare,.ksr-planning { padding:34px 0 37px; }
  .ksr-planning-card > div { padding:20px 21px; }
}


/* ============================================================
   V5 FINAL SURGERY PARENT CLEANUP
   Light-first Parent rhythm, one dark robotic feature only,
   compact heights, stronger paragraph weight, expert/trust close.
   ============================================================ */
.knee-parent-site { --ksr-ink:#211f22; --ksr-copy:#4a454a; --ksr-line:rgba(102,35,62,.18); --ksr-cream:#f7f2ec; --ksr-paper:#fffdfa; --ksr-lime:#c9f132; }

/* Strong readable body copy everywhere on this Parent. */
.knee-parent-site .kp-hero-lead,
.knee-parent-site .kp-hero-rule p,
.knee-parent-site .ksr-child-gateway-head > p,
.knee-parent-site .ksr-child-card p,
.knee-parent-site .ksr-arthroscopy-route p,
.knee-parent-site .kp-section-head > p,
.knee-parent-site .ksr-compare-copy p,
.knee-parent-site .ksr-planning-card p,
.knee-parent-site .kp-assessment-intro > p:not(.kp-eyebrow),
.knee-parent-site .kp-assessment-alert p,
.knee-parent-site .kp-question-list p,
.knee-parent-site .ksr-related-head > p,
.knee-parent-site .ksr-related-list p,
.knee-parent-site .kp-faq-intro > p:not(.kp-eyebrow),
.knee-parent-site .kp-faq-list details > p,
.knee-parent-site .ksr-specialist-copy > p:not(.kp-eyebrow),
.knee-parent-site .ksr-final-clean-grid > div:last-child > p {
  color:var(--ksr-copy); font-weight:600;
}

/* Child gateway: remove burgundy slabs. */
.ksr-child-gateway-v5 { padding:34px 0 30px; background:var(--ksr-cream); border-top:1px solid var(--ksr-line); border-bottom:1px solid var(--ksr-line); }
.ksr-child-gateway-v5 .ksr-child-gateway-head { margin-bottom:18px; align-items:end; }
.ksr-child-gateway-v5 .ksr-child-gateway-head h2 { font-size:clamp(35px,3.3vw,50px); max-width:650px; }
.ksr-child-gateway-v5 .ksr-child-gateway-head > p { font-size:12.5px; line-height:1.5; }
.ksr-child-gateway-v5 .ksr-child-grid-three { gap:10px; }
.ksr-child-gateway-v5 .ksr-child-card { min-height:218px; border:1px solid var(--ksr-line); background:rgba(255,255,255,.68); color:var(--ksr-ink); border-radius:0; }
.ksr-child-gateway-v5 .ksr-child-card-primary,
.ksr-child-gateway-v5 .ksr-child-card-revision { background:#fffdf9; }
.ksr-child-gateway-v5 .ksr-child-card-primary:hover,
.ksr-child-gateway-v5 .ksr-child-card-revision:hover { background:#fff; transform:translateY(-2px); box-shadow:0 12px 35px rgba(48,34,40,.08); }
.ksr-child-gateway-v5 .ksr-child-card > span { background:var(--ksr-lime); color:#1f1d20; }
.ksr-child-gateway-v5 .ksr-child-card small { color:#782044; }
.ksr-child-gateway-v5 .ksr-child-card p { color:var(--ksr-copy)!important; }
.ksr-child-gateway-v5 .ksr-child-card b { color:#6d173b; border-top-color:var(--ksr-line); }
.ksr-child-gateway-v5 .ksr-child-card-robotic { background:linear-gradient(145deg,#171a20,#26262a); box-shadow:inset 0 0 0 1.5px var(--ksr-lime); color:#fff; }
.ksr-child-gateway-v5 .ksr-child-card-robotic small,
.ksr-child-gateway-v5 .ksr-child-card-robotic b { color:#d9f85e; }
.ksr-child-gateway-v5 .ksr-child-card-robotic p { color:rgba(255,255,255,.84)!important; }
.ksr-child-gateway-v5 .ksr-child-card-robotic:hover { background:linear-gradient(145deg,#11151c,#2a2d31); transform:translateY(-2px); }
.ksr-child-gateway-v5 .ksr-arthroscopy-route { background:transparent; border:1px solid var(--ksr-line); margin-top:10px; }

/* Keep educational sections compact and mostly light. */
.ksr-compare { background:#fffdfa; padding:36px 0 39px; }
.ksr-compare-card { background:#fff; border-color:var(--ksr-line); }
.ksr-compare-copy article { background:#fff; }
.ksr-planning { padding:36px 0 39px; background:#1c1f25; }
.ksr-planning .kp-section-head > p { color:rgba(255,255,255,.82)!important; }
.ksr-planning-card { min-height:238px; }
.ksr-planning-card figure img { min-height:238px; max-height:270px; }
.ksr-planning-card > div { padding:21px 25px; }
.ksr-revision { background:#f8f4ee; }
.ksr-assessment.kp-assessment { padding:36px 0 38px; background:#f6f1ea; }

/* Related routes: editorial rows, no burgundy wall and no card farm. */
.ksr-related { padding:34px 0 36px; background:#fffdfa; border-top:1px solid var(--ksr-line); border-bottom:1px solid var(--ksr-line); }
.ksr-related-head { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr); gap:42px; align-items:end; margin-bottom:16px; }
.ksr-related-head h2 { font-family:var(--font-display, Georgia, serif); font-size:clamp(34px,3.2vw,48px); font-weight:400; letter-spacing:-.035em; line-height:.98; max-width:720px; }
.ksr-related-head > p { margin:0; font-size:12px; line-height:1.5; max-width:460px; }
.ksr-related-list { border-top:1px solid var(--ksr-line); }
.ksr-related-list a { display:grid; grid-template-columns:42px minmax(0,1fr) 30px; gap:18px; align-items:center; padding:15px 4px; color:var(--ksr-ink); text-decoration:none; border-bottom:1px solid var(--ksr-line); transition:.2s ease; }
.ksr-related-list a:hover { padding-left:10px; background:rgba(201,241,50,.08); }
.ksr-related-list > a > span { width:32px; height:32px; display:grid; place-items:center; background:var(--ksr-lime); font-size:10px; font-weight:800; }
.ksr-related-list small { display:block; color:#7a2045; font-size:9px; letter-spacing:.13em; font-weight:800; margin-bottom:2px; }
.ksr-related-list h3 { margin:0; font-family:var(--font-display, Georgia, serif); font-size:clamp(22px,1.8vw,28px); font-weight:400; }
.ksr-related-list p { margin:3px 0 0; font-size:11px; line-height:1.42; }
.ksr-related-list b { color:#7a2045; font-size:18px; font-weight:400; }

/* FAQ: light and tighter. */
.knee-parent-site .kp-faq { padding:35px 0 37px; background:#f6f1ea; }
.knee-parent-site .kp-faq-list summary { min-height:49px; }

/* Expert close: familiar doctor placement with Google + Doctify trust, no oversized block. */
.ksr-specialist { padding:38px 0; background:#fffdfa; border-top:1px solid var(--ksr-line); }
.ksr-specialist-grid { display:grid; grid-template-columns:210px minmax(0,1fr) 330px; gap:30px; align-items:stretch; }
.ksr-specialist-photo { margin:0; overflow:hidden; background:#eee7df; min-height:250px; }
.ksr-specialist-photo img { width:100%; height:100%; object-fit:cover; object-position:50% 18%; display:block; }
.ksr-specialist-copy { padding:8px 0; align-self:center; }
.ksr-specialist-copy h2 { margin:8px 0 12px; font-family:var(--font-display, Georgia, serif); font-size:clamp(35px,3vw,48px); font-weight:400; letter-spacing:-.04em; line-height:.98; }
.ksr-specialist-copy > p:not(.kp-eyebrow) { margin:0; max-width:660px; font-size:12.5px; line-height:1.56; }
.ksr-specialist-actions { display:flex; gap:22px; flex-wrap:wrap; margin-top:17px; }
.ksr-specialist-actions a { color:#711a3e; font-size:11px; font-weight:800; text-decoration:none; border-bottom:1px solid rgba(113,26,62,.25); padding-bottom:4px; }
.ksr-trust { display:flex; flex-direction:column; justify-content:center; gap:10px; padding:18px; border:1px solid var(--ksr-line); background:#f8f4ee; }
.ksr-trust > p { margin:0 0 2px; color:#6f173b; font-size:9px; letter-spacing:.13em; font-weight:800; text-transform:uppercase; }
.ksr-rating { display:grid; grid-template-columns:92px 1fr; gap:14px; align-items:center; min-height:82px; padding:10px 12px; background:#fff; border:1px solid var(--ksr-line); color:var(--ksr-ink); text-decoration:none; }
.ksr-rating img { width:100%; max-height:38px; object-fit:contain; object-position:left center; }
.ksr-rating span { display:flex; flex-direction:column; gap:1px; }
.ksr-rating strong { font-family:var(--font-display, Georgia, serif); font-size:25px; line-height:1; font-weight:500; }
.ksr-rating small { color:#5b555a; font-size:10px; font-weight:700; line-height:1.3; }

/* Final CTA: no giant burgundy block, clean Parent ending. */
.ksr-final-clean { padding:26px 0 30px; background:#f2ede6; border-top:1px solid var(--ksr-line); }
.ksr-final-clean-grid { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:42px; align-items:center; padding:22px 26px; background:#fffdfa; border:1px solid var(--ksr-line); }
.ksr-final-clean-grid h2 { margin:7px 0 0; font-family:var(--font-display, Georgia, serif); font-size:clamp(33px,3vw,46px); font-weight:400; letter-spacing:-.04em; line-height:.98; }
.ksr-final-clean-grid > div:last-child > p { margin:0; font-size:12px; line-height:1.52; }
.ksr-final-clean-actions { display:flex; align-items:center; gap:18px; margin-top:15px; flex-wrap:wrap; }
.ksr-final-clean-actions .kp-button { min-height:46px; padding:0 20px; }
.ksr-phone-clean { display:flex; flex-direction:column; color:var(--ksr-ink); text-decoration:none; }
.ksr-phone-clean small { font-size:8px; text-transform:uppercase; letter-spacing:.12em; font-weight:800; color:#6e183c; }
.ksr-phone-clean strong { font-family:var(--font-display, Georgia, serif); font-size:22px; font-weight:500; }

@media (min-width:1001px) and (max-height:850px) {
  .ksr-child-gateway-v5 { padding:30px 0 27px; }
  .ksr-child-gateway-v5 .ksr-child-card { min-height:205px; }
  .ksr-compare,.ksr-planning,.ksr-assessment.kp-assessment,.ksr-related { padding-top:32px; padding-bottom:34px; }
  .knee-parent-site .kp-faq { padding-top:31px; padding-bottom:33px; }
  .ksr-specialist { padding:32px 0; }
}

@media (max-width:1000px) {
  .ksr-related-head { grid-template-columns:1fr; gap:14px; }
  .ksr-specialist-grid { grid-template-columns:180px 1fr; }
  .ksr-trust { grid-column:1/-1; display:grid; grid-template-columns:1fr 1fr; }
  .ksr-trust > p { grid-column:1/-1; }
}
@media (max-width:680px) {
  .ksr-child-gateway-v5 .ksr-child-grid-three { gap:0; }
  .ksr-related-list a { grid-template-columns:34px minmax(0,1fr) 22px; gap:11px; }
  .ksr-specialist-grid { grid-template-columns:1fr; gap:18px; }
  .ksr-specialist-photo { min-height:290px; max-height:390px; }
  .ksr-trust { grid-template-columns:1fr; }
  .ksr-trust > p { grid-column:auto; }
  .ksr-final-clean-grid { grid-template-columns:1fr; gap:18px; padding:20px; }
}

/* ============================================================
   V6 header / breadcrumb polish — 2026-08-13
   Keep accessibility skip link hidden until keyboard focus and
   make the hero breadcrumb compact, clean and intentionally quiet.
   ============================================================ */
.knee-parent-site .skip-link,
.skip-link {
  position: fixed;
  z-index: 100000;
  top: 0;
  left: 50%;
  width: auto;
  max-width: calc(100vw - 32px);
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  background: #1c1d21;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -120%);
  transition: transform 160ms ease, opacity 160ms ease;
}

.knee-parent-site .skip-link:focus,
.skip-link:focus {
  opacity: 1;
  pointer-events: auto;
  outline: 3px solid #c9f227;
  outline-offset: 2px;
  transform: translate(-50%, 0);
}

.knee-parent-site .kp-breadcrumbs {
  gap: 8px;
  margin-bottom: clamp(20px, 2.1vw, 28px);
  color: rgba(28, 28, 32, .48);
  font-size: 9px;
  font-weight: 720;
  letter-spacing: .105em;
  line-height: 1.25;
  text-transform: uppercase;
}

.knee-parent-site .kp-breadcrumbs span[aria-hidden="true"] {
  color: rgba(102, 28, 61, .42);
  font-weight: 500;
  letter-spacing: 0;
}

.knee-parent-site .kp-breadcrumbs span[aria-current="page"] {
  color: rgba(28, 28, 32, .64);
  font-weight: 780;
}

@media (max-width: 760px) {
  .knee-parent-site .kp-breadcrumbs {
    gap: 6px;
    margin-bottom: 20px;
    font-size: 8px;
    letter-spacing: .08em;
  }
}
