/* ==========================================================================
   Dr. Kishore Karumuri: custom identity layered on Bootstrap 5 grid
   Direction: editorial medical publication. Ink, ivory, one brass accent.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --color-ink: #101816;
  --color-ink-2: #17221f;
  --color-moss: #1f3630;
  --color-ivory: #f5f1e8;
  --color-paper: #fbf9f4;
  --color-sand: #e7e0d0;
  --color-brass: #8d7043;         /* accent on light (AA on ivory) */
  --color-brass-light: #c9ad78;   /* accent on dark */
  --color-text: #1b2622;
  --color-muted: #5a6761;
  --color-muted-dark: #a3b0a9;
  --color-line: rgba(27, 38, 34, .16);
  --color-line-dark: rgba(245, 241, 232, .16);

  --font-display: "Tenor Sans", "Times New Roman", serif;      /* titles, statements, the doctor's name */
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;   /* everything else */

  --ease: cubic-bezier(.22, .61, .36, 1);
  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  --section-y: clamp(5rem, 11vw, 10rem);
  --header-h: 76px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: .005em;
  color: var(--color-text);
  background: var(--color-ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--color-brass-light); color: var(--color-ink); }

:focus-visible { outline: 2px solid var(--color-brass); outline-offset: 3px; }
.section--ink :focus-visible, .section--moss :focus-visible, .hero :focus-visible,
.site-header :focus-visible, .site-footer :focus-visible, .lightbox :focus-visible { outline-color: var(--color-brass-light); }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 2000;
  background: var(--color-ivory); color: var(--color-ink);
  padding: .6rem 1rem; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.site-gutter { padding-inline: var(--gutter); }
.container-xxl { max-width: 1520px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.012em; line-height: 1.12; margin: 0; }

.eyebrow {
  display: flex; align-items: center; gap: .9rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--color-brass); margin: 0 0 1.75rem;
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; }
.section--ink .eyebrow, .section--moss .eyebrow, .hero .eyebrow { color: var(--color-brass-light); }

.section-title {
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  font-weight: 300;
  max-width: 17ch;
  margin-bottom: 2rem;
}
.section-title--wide { max-width: 22ch; }
.block-title { font-size: clamp(1.4rem, 2vw, 1.85rem); font-weight: 400; margin-bottom: 1.1rem; max-width: 20ch; }
.block-title--inline { max-width: none; margin-bottom: 1.5rem; }

.lede { font-size: 1.125rem; color: var(--color-muted); max-width: 46ch; }
.section--ink .lede, .section--moss .lede, .contact .lede { color: var(--color-muted-dark); }
.muted { color: var(--color-muted); font-size: 1rem; max-width: 52ch; }
.section--ink .muted, .section--moss .muted { color: var(--color-muted-dark); }

.prose p { max-width: 62ch; margin-bottom: 1.4rem; }
.prose .lead-p, .lead-p { font-family: var(--font-display); font-size: clamp(1.2rem, 1.6vw, 1.5rem); line-height: 1.5; font-weight: 300; }
.note-after { margin-top: 2rem; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--ivory { background: var(--color-ivory); }
.section--paper { background: var(--color-paper); }
.section--ink { background: var(--color-ink); color: var(--color-ivory); }
.section--moss { background: var(--color-moss); color: var(--color-ivory); }
.block { position: relative; margin-top: clamp(4.5rem, 9vw, 8rem); padding-top: clamp(2.5rem, 4vw, 3.5rem); }
.block::before { content: ""; position: absolute; top: 0; left: calc(var(--bs-gutter-x) * .5); right: calc(var(--bs-gutter-x) * .5); height: 1px; background: var(--color-line); }
.section--ink .block::before, .section--moss .block::before { background: var(--color-line-dark); }
.block--closing { padding-top: 0; margin-top: clamp(3rem, 6vw, 5rem); }
.block--closing::before { display: none; }
.sticky-col { position: sticky; top: calc(var(--header-h) + 2.5rem); }
@media (min-width: 992px) {
  .block > .col-lg-4:first-child,
  .section > .container-xxl > .row:first-child > .col-lg-5:first-child { position: sticky; top: calc(var(--header-h) + 2.5rem); align-self: flex-start; }
  .recognition-head > .col-lg-5:first-child { position: static; }
}
@media (max-width: 991.98px) { .sticky-col { position: static; } .block > [class*="col-"] + [class*="col-"] { margin-top: 1.5rem; } }

/* ---------- Buttons & links ---------- */
.btn-cta {
  --btn-bg: var(--color-brass-light); --btn-fg: var(--color-ink); --btn-hover: var(--color-ivory);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 1rem;
  padding: 1.05rem 1.6rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  color: var(--btn-fg); background: var(--btn-bg); border-radius: 2px;
}
.btn-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-hover); transform: translateX(-101%); transition: transform .6s var(--ease);
}
.btn-cta:hover, .btn-cta:focus-visible { color: var(--btn-fg); }
.btn-cta:hover::before, .btn-cta:focus-visible::before { transform: none; }
.btn-cta--sm { padding: .8rem 1.15rem; font-size: .72rem; }

.arrow { position: relative; display: inline-block; width: 1.4rem; height: 1px; background: currentColor; transition: transform .5s var(--ease); flex: none; }
.arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); transform-origin: 100% 0; }
.arrow--left { transform: scaleX(-1); }
.btn-cta:hover .arrow, .channel:hover .arrow, .lb-next:hover .arrow { transform: translateX(6px); }
.arrow--left { transform: scaleX(-1); }
.lb-prev:hover .arrow--left { transform: scaleX(-1) translateX(6px); }

.link-line {
  position: relative; display: inline-block; padding-bottom: .3rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
}
.link-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .6s var(--ease); }
.link-line:hover::after { transform: scaleX(.35); transform-origin: left; }
.link-line--sm { font-size: .7rem; color: var(--color-brass); }

/* ---------- Header / navigation ---------- */
#scroll-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 80px; pointer-events: none; }
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; color: var(--color-ivory);
  border-bottom: 1px solid transparent;
  transition: background-color .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.site-header.is-scrolled, .site-header.menu-open { background: var(--color-ink); border-bottom-color: var(--color-line-dark); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
.site-header .navbar { min-height: var(--header-h); padding: 0; }
.navbar-brand { display: flex; align-items: center; height: var(--header-h); color: var(--color-ivory); padding: 0; margin: 0; }
.navbar-brand:hover { color: var(--color-ivory); }
.brand-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 400; letter-spacing: -.005em; }

.site-header .nav-link {
  position: relative; color: rgba(245, 241, 232, .78); padding: .5rem .95rem;
  font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  transition: color .4s var(--ease);
}
.site-header .nav-link::after { content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .25rem; height: 1px; background: var(--color-brass-light); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--color-ivory); }
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
.nav-cta-item { margin-left: 1rem; }

/* Burger */
.navbar-toggler { display: flex; align-items: center; height: var(--header-h); border: 0; padding: 0 .75rem; margin-right: -.75rem; box-shadow: none !important; }
.burger { position: relative; display: block; width: 26px; height: 12px; }
.burger i { position: absolute; left: 0; width: 100%; height: 1px; background: var(--color-ivory); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger i:first-child { top: 0; }
.burger i:last-child { top: 11px; }
.navbar-toggler[aria-expanded="true"] .burger i:first-child { top: 5.5px; transform: rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .burger i:last-child { top: 5.5px; transform: rotate(-45deg); }

@media (max-width: 991.98px) {
  .site-header .navbar-collapse { padding-bottom: 1.75rem; max-height: calc(100svh - var(--header-h)); overflow-y: auto; }
  .site-header .navbar-nav { padding-top: .75rem; border-top: 1px solid var(--color-line-dark); }
  .site-header .nav-link { font-size: 1rem; padding: .85rem 0; letter-spacing: .08em; }
  .site-header .nav-link::after { left: 0; right: auto; width: 2rem; bottom: .55rem; }
  .nav-cta-item { margin: 1.25rem 0 0; }
  .nav-cta-item .btn-cta { width: 100%; justify-content: space-between; padding: 1.1rem 1.4rem; }
  .navbar-collapse.show .nav-item, .navbar-collapse.collapsing .nav-item { animation: navIn .7s var(--ease) both; }
  .navbar-collapse .nav-item:nth-child(2) { animation-delay: .05s; }
  .navbar-collapse .nav-item:nth-child(3) { animation-delay: .1s; }
  .navbar-collapse .nav-item:nth-child(4) { animation-delay: .15s; }
  .navbar-collapse .nav-item:nth-child(5) { animation-delay: .2s; }
  .navbar-collapse .nav-item:nth-child(6) { animation-delay: .25s; }
  .navbar-collapse .nav-item:nth-child(7) { animation-delay: .3s; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Hero (cinematic video) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--color-ink); color: var(--color-ivory);
  min-height: 100svh; display: flex; align-items: stretch;
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--color-ink); }
.hero-poster, .hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%;
  filter: saturate(.8) contrast(1.06) brightness(.92);
}
.hero-video { --zoom-start: 1.06; --zoom-end: 1; opacity: 0; transform: scale(var(--zoom-start)); transition: opacity 2.2s var(--ease), transform 14s var(--ease); }
.hero-video.is-playing { opacity: 1; transform: scale(var(--zoom-end)); }
/* The footage includes a pillarboxed split-screen shot; on landscape screens a fixed zoom keeps its black bars out of view */
@media (min-aspect-ratio: 1/1) { .hero-video { --zoom-start: 1.28; --zoom-end: 1.2; } .hero-poster, .hero-video { object-position: 50% 40%; } }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 24, 22, .93) 0%, rgba(16, 24, 22, .76) 30%, rgba(16, 24, 22, .3) 66%, rgba(16, 24, 22, .1) 100%),
    linear-gradient(0deg, rgba(16, 24, 22, .94) 0%, rgba(16, 24, 22, 0) 36%),
    linear-gradient(180deg, rgba(16, 24, 22, .6) 0%, rgba(16, 24, 22, 0) 22%),
    rgba(31, 54, 48, .16);
}
.hero-inner { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-h) + 3rem); padding-bottom: 0; width: 100%; }
.hero-row { flex: 1; padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.hero-copy { position: relative; z-index: 2; }
.hero-title { font-size: clamp(3.1rem, 7.2vw, 7rem); font-weight: 300; line-height: .98; letter-spacing: -.028em; margin-bottom: 2.25rem; text-shadow: 0 2px 40px rgba(0, 0, 0, .35); }
.hero-title em { font-style: italic; color: var(--color-brass-light); font-weight: 300; margin-right: .1em; }
.hero-title .line > span { display: inline-block; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-role { max-width: 44ch; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1.8; color: rgba(245, 241, 232, .9); margin-bottom: 1.75rem; }
.hero-lede { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.3rem, 2vw, 1.75rem); color: var(--color-brass-light); max-width: 26ch; line-height: 1.35; margin-bottom: 2.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.25rem; }

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 7.5rem; z-index: 2;
  display: none; flex-direction: column; align-items: center; gap: 1rem; text-decoration: none;
  font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: rgba(245, 241, 232, .8);
}
.scroll-cue span { writing-mode: vertical-rl; }
.scroll-cue i { position: relative; width: 1px; height: 4.5rem; background: rgba(245, 241, 232, .28); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 45%; background: var(--color-brass-light); animation: cue 2.6s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 70%, 100% { transform: translateY(230%); } }
@media (min-width: 992px) { .scroll-cue { display: flex; } }

.hero-index {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid rgba(245, 241, 232, .22);
}
.hero-index li { flex: 1 1 auto; }
.hero-index a {
  display: flex; align-items: baseline; gap: .8rem; padding: 1.35rem 1rem 1.5rem 0;
  font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: rgba(245, 241, 232, .8);
  transition: color .4s var(--ease), transform .5s var(--ease);
}
.hero-index a span { color: var(--color-brass-light); font-size: .7rem; letter-spacing: .1em; }
.hero-index a:hover { color: var(--color-ivory); transform: translateY(-2px); }

@media (max-width: 991.98px) {
  .hero-veil {
    background:
      linear-gradient(0deg, rgba(16, 24, 22, .96) 0%, rgba(16, 24, 22, .8) 42%, rgba(16, 24, 22, .35) 100%),
      linear-gradient(180deg, rgba(16, 24, 22, .6) 0%, rgba(16, 24, 22, 0) 20%),
      rgba(31, 54, 48, .16);
  }
  .hero-poster, .hero-video { object-position: 58% 35%; }
}
@media (max-width: 767.98px) {
  .hero-inner { padding-top: calc(var(--header-h) + 2rem); }
  .hero-title { margin-bottom: 1.75rem; }
  .hero-actions .btn-cta { width: 100%; justify-content: space-between; }
  .hero-index { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-index li:last-child { grid-column: 1 / -1; }
  .hero-index a { padding: 1.1rem .5rem 1.1rem 0; }
}

/* ---------- Treatments index ---------- */
.index-list { border-top: 1px solid var(--color-line); }
.index-row {
  display: grid; grid-template-columns: 3.5rem minmax(9rem, 1fr) minmax(0, 1.6fr) auto; gap: 1.5rem 2rem; align-items: start;
  padding: 2.5rem 0; border-bottom: 1px solid var(--color-line); position: relative;
}
.index-row::before { content: ""; position: absolute; inset: 0 -1.25rem; background: var(--color-sand); opacity: 0; z-index: -1; transition: opacity .5s var(--ease); }
.index-row:hover::before { opacity: .45; }
.index-num { font-size: .78rem; font-weight: 600; letter-spacing: .12em; color: var(--color-brass); padding-top: .9rem; }
.index-name { font-size: clamp(1.75rem, 2.6vw, 2.5rem); font-weight: 300; transition: transform .6s var(--ease); }
.index-row:hover .index-name { transform: translateX(6px); }
.index-items { list-style: none; margin: 0; padding: 0; font-size: 1rem; color: var(--color-text); }
.index-items li { padding: .38rem 0; border-bottom: 1px solid var(--color-line); }
.index-items li:last-child { border-bottom: 0; }
.index-row .link-line { align-self: end; }
@media (max-width: 767.98px) {
  .index-row { grid-template-columns: 2.25rem 1fr; padding: 2rem 0; }
  .index-items, .index-row .link-line { grid-column: 2; }
  .index-row::before { inset: 0 -.75rem; }
}

/* ---------- Knee ---------- */
.figures { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(3.5rem, 7vw, 6rem); border-top: 1px solid var(--color-ink); border-bottom: 1px solid var(--color-line); }
.figure-item { padding: 2.5rem 2.5rem 2.75rem 0; }
.figure-item + .figure-item { padding-left: 2.5rem; border-left: 1px solid var(--color-line); }
.figure-value { font-family: var(--font-display); font-weight: 300; font-size: clamp(3.75rem, 8vw, 7.5rem); line-height: 1; letter-spacing: -.03em; margin: 0 0 1rem; color: var(--color-moss); }
.figure-value small { font-size: .38em; letter-spacing: 0; margin-left: .2em; color: var(--color-brass); font-style: italic; }
.figure-label { max-width: 34ch; color: var(--color-muted); margin: 0; font-size: 1rem; }
@media (max-width: 767.98px) {
  .figures { grid-template-columns: 1fr; }
  .figure-item, .figure-item + .figure-item { padding: 2rem 0; border-left: 0; }
  .figure-item + .figure-item { border-top: 1px solid var(--color-line); }
}

.techniques { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.technique { padding: 0 2rem 0 0; }
.technique + .technique { padding-left: 2rem; border-left: 1px solid var(--color-line); }
.technique-num { display: block; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--color-brass); margin-bottom: 1.5rem; }
.technique h4 { font-size: 1.4rem; margin-bottom: 1rem; }
.technique-fact { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--color-moss); padding-bottom: 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--color-line); }
.technique p:last-child { font-size: .98rem; color: var(--color-muted); margin: 0; }
@media (max-width: 1199.98px) {
  .techniques { grid-template-columns: 1fr; }
  .technique, .technique + .technique { padding: 2rem 0; border-left: 0; border-top: 1px solid var(--color-line); }
  .technique:first-child { border-top: 0; padding-top: 0; }
}

/* ---------- Lists ---------- */
.ruled-list { list-style: none; margin: 0; padding: 0; counter-reset: rl; border-top: 1px solid var(--color-line); }
.ruled-list li { counter-increment: rl; position: relative; padding: 1.35rem 0 1.35rem 3.5rem; border-bottom: 1px solid var(--color-line); max-width: 72ch; }
.ruled-list li::before { content: counter(rl, decimal-leading-zero); position: absolute; left: 0; top: 1.55rem; font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--color-brass); }
.ruled-list--plain li { padding-left: 0; }
.ruled-list--plain li::before { display: none; }
.ruled-list--titled li strong { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; margin-bottom: .25rem; }
.ruled-list--titled li { color: var(--color-muted); }
.ruled-list--titled li strong { color: var(--color-text); }

.tag-list { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.tag-list li { padding: .5rem 1rem; font-size: .9rem; border: 1px solid var(--color-line-dark); border-radius: 2px; color: var(--color-ivory); }
.tag-list--light li { border-color: var(--color-line); color: var(--color-text); }

.def-list { margin: 0; border-top: 1px solid var(--color-line-dark); }
.def-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 1rem 2.5rem; padding: 1.75rem 0; border-bottom: 1px solid var(--color-line-dark); }
.def-row dt { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; line-height: 1.25; }
.def-row dd { margin: 0; color: var(--color-muted-dark); max-width: 52ch; }
.def-list--stacked .def-row { grid-template-columns: 1fr; gap: .6rem; }
.def-list--stacked .def-row dt { color: var(--color-brass-light); }
.def-list--stacked .def-row dd { color: rgba(245, 241, 232, .82); }
@media (max-width: 767.98px) { .def-row { grid-template-columns: 1fr; gap: .6rem; } }

/* ---------- Arthroscopy tabs ---------- */
.joint-tablist { display: flex; gap: 2rem; border-bottom: 1px solid var(--color-line); overflow-x: auto; scrollbar-width: none; }
.joint-tablist::-webkit-scrollbar { display: none; }
.joint-tab {
  position: relative; background: none; border: 0; padding: 0 0 1rem; white-space: nowrap;
  font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted);
  transition: color .4s var(--ease);
}
.joint-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--color-brass); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.joint-tab:hover, .joint-tab.active { color: var(--color-text); }
.joint-tab.active::after { transform: scaleX(1); }
.tab-content { padding-top: 2.5rem; min-height: 11rem; }
.tab-pane h4 { font-size: 1.75rem; font-weight: 300; margin-bottom: 1rem; }
.tab-pane p { max-width: 58ch; margin: 0; color: var(--color-muted); }
.tab-pane.fade { transition: opacity .6s var(--ease); }

/* ---------- Accordions (contraindications + FAQ) ---------- */
.accordion { --bs-accordion-bg: transparent; --bs-accordion-border-width: 0; --bs-accordion-border-radius: 0; --bs-accordion-inner-border-radius: 0; --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-active-bg: transparent; --bs-accordion-active-color: var(--color-text); --bs-accordion-btn-padding-x: 0; --bs-accordion-body-padding-x: 0; }
.accordion-item { background: transparent; border: 0; border-bottom: 1px solid var(--color-line); border-radius: 0; }
.accordion--ruled, .accordion--faq { border-top: 1px solid var(--color-line); }
.accordion-button {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; line-height: 1.3; color: var(--color-text);
  padding-block: 1.35rem; background: transparent; box-shadow: none; gap: 1rem; letter-spacing: -.005em;
  transition: color .4s var(--ease), padding-left .5s var(--ease);
}
.accordion-button:not(.collapsed) { color: var(--color-moss); box-shadow: none; }
.accordion-button:hover { padding-left: .35rem; }
.accordion-button::after {
  width: 14px; height: 14px; flex: none; background-image: none;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
  transition: transform .5s var(--ease);
}
.accordion-button:not(.collapsed)::after { transform: rotate(45deg); background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor); }
.acc-num { font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--color-brass); margin-right: .5rem; min-width: 1.6rem; }
.accordion-body { padding-top: 0; padding-bottom: 1.6rem; color: var(--color-muted); font-size: 1rem; max-width: 60ch; }
.accordion--ruled .accordion-body { padding-left: 2.6rem; }
.faq-pending { font-style: italic; }
.accordion-collapse { transition: height .55s var(--ease); }
.accordion--faq .accordion-button { font-size: 1.12rem; }

.closing-statement { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.4; max-width: 46ch; padding-left: 1.75rem; border-left: 1px solid var(--color-brass); }

/* ---------- Recognition ---------- */
.recognition-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.feature-award { margin-bottom: clamp(3rem, 6vw, 5rem); }
.award-caption h3 { font-size: 1.6rem; font-weight: 400; margin-bottom: .9rem; }
.award-caption p { color: var(--color-muted); max-width: 40ch; margin: 0; }
@media (max-width: 991.98px) { .award-caption { margin-top: 1.5rem; } }

.award { position: relative; margin: 0; }
.award-trigger { display: block; width: 100%; padding: 0; border: 0; background: var(--color-sand); overflow: hidden; cursor: zoom-in; }
.award img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.award-trigger:hover img { transform: scale(1.035); }
.award figcaption { margin-top: 1rem; font-size: .9rem; line-height: 1.55; color: var(--color-muted); max-width: 36ch; }
.award figcaption strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; color: var(--color-text); margin-bottom: .2rem; }

.award-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.75rem, 3vw, 3rem) clamp(1rem, 2vw, 2rem); align-items: start; }
.award-gallery .award { margin: 0; }
.award-gallery .award-trigger { aspect-ratio: 4 / 5; }               /* one proportion for every tile */
.award-gallery .award img { width: 100%; height: 100%; object-fit: cover; }
.award--wide { grid-column: span 2; }
.award--wide .award-trigger { aspect-ratio: 1.7 / 1; }                /* matches the height of two neighbouring tiles */
.award--wide figcaption { max-width: 48ch; }
@media (max-width: 1199.98px) {
  .award-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .award--wide { grid-column: 1 / -1; }
  .award--wide .award-trigger { aspect-ratio: 21 / 9; }
}
@media (max-width: 767.98px) {
  .award-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; }
  .award--wide .award-trigger { aspect-ratio: 4 / 3; }
  .award figcaption { font-size: .82rem; }
  .award figcaption strong { font-size: 1rem; }
}
@media (max-width: 479.98px) { .award-gallery { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { padding-block: clamp(6rem, 13vw, 11rem); }
.contact-title { font-size: clamp(2.6rem, 6vw, 5.5rem); font-weight: 300; letter-spacing: -.025em; margin-bottom: 1.75rem; }
.contact-channels { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--color-line-dark); }
.contact-channels li { border-bottom: 1px solid var(--color-line-dark); }
.channel { display: flex; justify-content: space-between; align-items: center; padding: 1.35rem 0; text-decoration: none; font-family: var(--font-display); font-size: 1.5rem; transition: color .4s var(--ease), padding-left .5s var(--ease); }
.channel:hover { color: var(--color-brass-light); padding-left: .5rem; }
.contact-pending { margin: 0; padding-top: 1.25rem; color: var(--color-muted-dark); border-top: 1px solid var(--color-line-dark); font-style: italic; }
.contact-channels:not([hidden]) ~ .contact-pending { display: none; }
@media (max-width: 991.98px) { .contact-channels, .contact-pending { margin-top: 2.5rem; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-ink); color: var(--color-muted-dark); padding: 4rem 0 2rem; border-top: 1px solid var(--color-line-dark); font-size: .95rem; }
.footer-name { font-family: var(--font-display); font-size: 1.75rem; color: var(--color-ivory); margin: 0 0 .5rem; }
.footer-role { max-width: 34ch; margin: 0; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { position: relative; text-decoration: none; color: var(--color-muted-dark); transition: color .4s var(--ease); }
.footer-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--color-brass-light); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.footer-links a:hover { color: var(--color-ivory); }
.footer-links a:hover::after { transform: scaleX(1); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 3.5rem; padding-top: 1.75rem; border-top: 1px solid var(--color-line-dark); font-size: .82rem; }
.footer-base p { margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: rgba(9, 14, 12, .96); color: var(--color-ivory); width: 100%; max-width: none; height: 100%; max-height: none; }
.lightbox[open] { display: grid; grid-template-columns: 4.5rem 1fr 4.5rem; align-items: center; animation: lbIn .5s var(--ease); }
.lightbox::backdrop { background: rgba(9, 14, 12, .96); }
.lightbox figure { margin: 0; text-align: center; padding: 3.5rem 0 2rem; min-width: 0; }
.lightbox img { max-height: 78vh; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; }
.lightbox figcaption { margin-top: 1.25rem; font-size: .9rem; color: var(--color-muted-dark); max-width: 60ch; margin-inline: auto; padding-inline: 1rem; }
.lb-close { position: absolute; top: 1rem; right: 1.25rem; width: 3rem; height: 3rem; background: none; border: 0; color: var(--color-ivory); font-size: 2.2rem; line-height: 1; transition: color .3s; }
.lb-close:hover { color: var(--color-brass-light); }
.lb-nav { background: none; border: 0; color: var(--color-ivory); height: 100%; display: grid; place-items: center; }
.lb-nav .arrow { width: 2rem; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 575.98px) {
  .lightbox[open] { grid-template-columns: 2.75rem 1fr 2.75rem; }
  .lb-nav .arrow { width: 1.2rem; }
}

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

.js .img-reveal .award-trigger, .js .img-reveal .clip-target { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease); }
.js .img-reveal.is-in .award-trigger, .js .img-reveal.is-in .clip-target { clip-path: inset(0); }
.js .img-reveal figcaption { opacity: 0; transition: opacity 1s var(--ease) .5s; }
.js .img-reveal.is-in figcaption { opacity: 1; }

.js .hero-in { opacity: 0; transform: translateY(22px); animation: heroIn 1.1s var(--ease) forwards; animation-delay: calc(.15s + var(--i, 0) * .11s); }
.js .hero-figure.hero-in { transform: translateY(0); animation-name: heroFade; animation-duration: 1.6s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@keyframes heroFade { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .hero-in { opacity: 1; transform: none; }
  .js .img-reveal .award-trigger, .js .img-reveal .clip-target { clip-path: none; }
  .js .img-reveal figcaption { opacity: 1; }
}


/* ==========================================================================
   Upgrade layer: image breaks, layered frames, page transitions
   ========================================================================== */

/* ---------- Full-bleed image breaks ---------- */
.image-break { position: relative; isolation: isolate; overflow: hidden; background: var(--color-ink); color: var(--color-ivory); min-height: clamp(26rem, 62vh, 40rem); display: flex; align-items: flex-end; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.image-break--tall { min-height: clamp(30rem, 78vh, 52rem); }
.image-break-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.image-break-media img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; filter: saturate(.8) contrast(1.05) brightness(.85); will-change: transform; }
.image-break-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 24, 22, .88) 0%, rgba(16, 24, 22, .55) 42%, rgba(16, 24, 22, .12) 100%), linear-gradient(0deg, rgba(16, 24, 22, .7) 0%, rgba(16, 24, 22, 0) 45%); }
.image-break-copy { width: 100%; }
.image-break-copy--end { display: flex; justify-content: flex-end; }
.image-break-copy .eyebrow { color: var(--color-brass-light); }
.break-statement { font-size: clamp(2rem, 4.6vw, 4.25rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.06; max-width: 15ch; margin-bottom: 1.5rem; }
.break-note { max-width: 40ch; color: rgba(245, 241, 232, .8); margin: 0; }
.break-quote { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.8rem, 3.8vw, 3.4rem); line-height: 1.16; max-width: 22ch; margin: 0 0 1.25rem; }
.break-cite { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--color-brass-light); }

/* ---------- Layered / offset frame ---------- */
.frame-figure { position: relative; margin: 2.75rem 0 0 0; max-width: 340px; }
.frame-figure .frame::before { content: ""; position: absolute; inset: 0; transform: translate(16px, 16px); border: 1px solid var(--color-brass-light); pointer-events: none; }
.frame-figure .clip-target { position: relative; background: var(--color-ink-2); overflow: hidden; }
.frame-figure img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: transform 1.4s var(--ease); }
.frame-figure:hover img { transform: scale(1.04); }
.frame-figure figcaption { margin-top: 2rem; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-muted-dark); }
@media (max-width: 991.98px) { .frame-figure { margin-bottom: 1rem; max-width: 300px; } }

/* ---------- Contact background ---------- */
.contact { overflow: hidden; isolation: isolate; }
.contact-bg { position: absolute; inset: 0; z-index: -1; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(.4) contrast(1.05); }
.contact-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--color-ink) 8%, rgba(16, 24, 22, .78) 60%, rgba(16, 24, 22, .6) 100%); }

/* ---------- Page transitions ---------- */
html:not(.preload-on) body { animation: pageIn .8s var(--ease) both; }
body.is-leaving { opacity: 0; transition: opacity .35s ease; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   Inner pages (About, Treatments, Contact)
   ========================================================================== */

/* ---------- Page hero: calm, editorial ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--color-ink); color: var(--color-ivory); min-height: clamp(30rem, 76vh, 46rem); display: flex; align-items: flex-end; padding: calc(var(--header-h) + 4rem) 0 clamp(3rem, 7vw, 5.5rem); }
.page-hero--short { min-height: clamp(26rem, 62vh, 36rem); }
.page-hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.05) brightness(.8); animation: slowZoom 3s var(--ease) both; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 24, 22, .92) 0%, rgba(16, 24, 22, .62) 45%, rgba(16, 24, 22, .2) 100%), linear-gradient(0deg, rgba(16, 24, 22, .85) 0%, rgba(16, 24, 22, 0) 45%), linear-gradient(180deg, rgba(16, 24, 22, .6) 0%, rgba(16, 24, 22, 0) 24%); }
@keyframes slowZoom { from { transform: scale(1.09); } to { transform: scale(1); } }
.page-hero-inner { width: 100%; }
.crumbs { margin-bottom: 2.25rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.crumbs li + li::before { content: "/"; margin-right: .6rem; color: var(--color-brass-light); }
.crumbs a { color: rgba(245, 241, 232, .75); text-decoration: none; transition: color .4s var(--ease); }
.crumbs a:hover { color: var(--color-ivory); }
.crumbs [aria-current] { color: var(--color-brass-light); }
.page-title { font-size: clamp(2.6rem, 6.2vw, 5.75rem); font-weight: 300; letter-spacing: -.026em; line-height: 1; max-width: 15ch; margin-bottom: 1.75rem; text-shadow: 0 2px 40px rgba(0, 0, 0, .35); }
.page-title--wide { max-width: 19ch; }
.page-lede { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.15rem, 1.7vw, 1.55rem); line-height: 1.5; color: rgba(245, 241, 232, .88); max-width: 46ch; margin: 0; }
@media (max-width: 767.98px) { .page-hero { padding-top: calc(var(--header-h) + 2.5rem); } .crumbs { margin-bottom: 1.5rem; } }

.btn-cta--dark { --btn-bg: var(--color-ink); --btn-fg: var(--color-ivory); --btn-hover: var(--color-moss); }
.link-line--light { color: var(--color-brass-light); }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }

/* ---------- Treatments page ---------- */
.treat-index { position: sticky; top: var(--header-h); z-index: 900; background: var(--color-ivory); border-bottom: 1px solid var(--color-line); }
.treat-index ul { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scrollbar-width: none; }
.treat-index ul::-webkit-scrollbar { display: none; }
.treat-index li { flex: 0 0 auto; }
.treat-index a { position: relative; display: flex; align-items: baseline; gap: .7rem; padding: 1.15rem 2rem 1.15rem 0; white-space: nowrap; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--color-muted); transition: color .4s var(--ease); }
.treat-index a span { font-size: .68rem; color: var(--color-brass); }
.treat-index a::after { content: ""; position: absolute; left: 0; right: 2rem; bottom: -1px; height: 2px; background: var(--color-brass); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.treat-index a:hover, .treat-index a.active { color: var(--color-text); }
.treat-index a.active::after { transform: scaleX(1); }

.treat { padding-block: var(--section-y); position: relative; }
.treat--ivory { background: var(--color-ivory); }
.treat--paper { background: var(--color-paper); }
.treat--ink { background: var(--color-ink); color: var(--color-ivory); }
.treat--moss { background: var(--color-moss); color: var(--color-ivory); }
.treat--ink .eyebrow, .treat--moss .eyebrow { color: var(--color-brass-light); }
.treat-visual { position: relative; }
.treat-figure { position: relative; margin: 0 0 0 0; }
.treat-figure .frame::before { content: ""; position: absolute; inset: 0; transform: translate(-18px, 18px); border: 1px solid var(--color-brass); pointer-events: none; }
.treat--ink .treat-figure .frame::before, .treat--moss .treat-figure .frame::before { border-color: var(--color-brass-light); }
.treat-figure--flip .frame::before { transform: translate(18px, 18px); }
.treat-figure .clip-target { position: relative; overflow: hidden; background: var(--color-ink-2); }
.treat-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.6s var(--ease); filter: saturate(.85) contrast(1.04); }
.treat-figure--wide img { aspect-ratio: 5 / 4; }
/* .treat-figure--xray img { filter: grayscale(1) contrast(1.1); } */
.treat-figure:hover img { transform: scale(1.035); }
.treat-figure figcaption { margin-top: 2rem; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-muted); }
.treat--ink .treat-figure figcaption, .treat--moss .treat-figure figcaption { color: var(--color-muted-dark); }

.treat-panel { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 4 / 5; padding: clamp(1.75rem, 3vw, 2.75rem); background: var(--color-ink); color: var(--color-ivory); overflow: hidden; }
.treat--ink .treat-panel { background: var(--color-moss); }
.treat-panel::before { content: ""; position: absolute; inset: 1.1rem; border: 1px solid rgba(201, 173, 120, .35); pointer-events: none; }
.treat-panel-num { font-family: var(--font-display); font-weight: 300; font-size: clamp(7rem, 15vw, 13rem); line-height: .85; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--color-brass-light); }
.treat-panel-name { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.15; max-width: 12ch; }
.treat-panel-name small { display: block; margin-bottom: .8rem; font-family: var(--font-body); font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--color-brass-light); }

.treat-num { display: block; font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 1.25rem; color: var(--color-brass); margin-bottom: 1.25rem; }
.treat--ink .treat-num, .treat--moss .treat-num { color: var(--color-brass-light); }
.treat-title { font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 300; letter-spacing: -.024em; line-height: 1.02; margin-bottom: 1.75rem; }
.treat-copy { max-width: 52ch; color: var(--color-muted); margin-bottom: 2.25rem; }
.treat--ink .treat-copy, .treat--moss .treat-copy { color: var(--color-muted-dark); }
.treat-list { list-style: none; padding: 0; margin: 0 0 2.5rem; border-top: 1px solid var(--color-line); }
.treat--ink .treat-list, .treat--moss .treat-list { border-top-color: var(--color-line-dark); }
.treat-list li { position: relative; padding: .8rem 0 .8rem 1.75rem; border-bottom: 1px solid var(--color-line); font-size: 1rem; transition: padding-left .5s var(--ease), color .4s var(--ease); }
.treat--ink .treat-list li, .treat--moss .treat-list li { border-bottom-color: var(--color-line-dark); }
.treat-list li::before { content: ""; position: absolute; left: 0; top: 50%; width: .85rem; height: 1px; background: var(--color-brass); transition: width .5s var(--ease); }
.treat--ink .treat-list li::before, .treat--moss .treat-list li::before { background: var(--color-brass-light); }
.treat-list li:hover { padding-left: 2.25rem; }
.treat-list li:hover::before { width: 1.35rem; }
.treat-sub { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 1rem; }
.treat--ink .treat-sub, .treat--moss .treat-sub { color: var(--color-muted-dark); }
.treat-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.25rem; }
@media (min-width: 768px) { .treat-list--cols { columns: 2; column-gap: 2.5rem; } .treat-list--cols li { break-inside: avoid; } }
@media (max-width: 991.98px) { .treat-visual { margin-bottom: 3rem; } .treat-figure .frame::before, .treat-figure--flip .frame::before { transform: translate(10px, 10px); } .treat-panel { aspect-ratio: 16 / 10; } .treat-panel-num { font-size: clamp(5rem, 22vw, 8rem); } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--color-ink); color: var(--color-ivory); padding-block: clamp(5rem, 11vw, 9rem); }
.cta-band-media { position: absolute; inset: 0; z-index: -1; }
.cta-band-media img { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: grayscale(.35); }
.cta-band-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--color-ink) 10%, rgba(16, 24, 22, .72) 62%, rgba(16, 24, 22, .5) 100%); }
.cta-band .eyebrow { color: var(--color-brass-light); }
.cta-title { font-size: clamp(2.4rem, 5.4vw, 4.75rem); font-weight: 300; letter-spacing: -.024em; line-height: 1.03; max-width: 14ch; margin-bottom: 1.5rem; }
.cta-band .lede { color: rgba(245, 241, 232, .8); }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.25rem; margin-top: 2.5rem; }
@media (max-width: 575.98px) { .cta-actions .btn-cta { width: 100%; justify-content: space-between; } }

/* ---------- About page ---------- */
.portrait { position: relative; margin: 0; }
.portrait .frame::before { content: ""; position: absolute; inset: 0; transform: translate(-20px, 20px); border: 1px solid var(--color-brass); pointer-events: none; }
.portrait .clip-target { position: relative; overflow: hidden; background: var(--color-ink-2); }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 72% 30%; filter: saturate(.85) contrast(1.04); transition: transform 1.6s var(--ease); }
.portrait:hover img { transform: scale(1.035); }
.portrait figcaption { margin-top: 2.25rem; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-muted); }
.intro-title { font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.08; max-width: 16ch; margin-bottom: 2.25rem; }
.intro-sign { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-line); max-width: 30rem; }
.intro-sign strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; }
.intro-sign span { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--color-muted); line-height: 1.8; }
@media (max-width: 991.98px) { .portrait { max-width: 420px; margin: 0 0 3.5rem 20px; } .portrait .frame::before { transform: translate(-12px, 12px); } .portrait { margin-left: 12px; } }

.expertise { border-top: 1px solid var(--color-line-dark); }
.expertise-row { position: relative; display: grid; grid-template-columns: 4rem minmax(0, 1.2fr) minmax(0, 1fr) 2rem; gap: 1.5rem 2rem; align-items: center; padding: clamp(1.75rem, 3vw, 2.5rem) 0; border-bottom: 1px solid var(--color-line-dark); text-decoration: none; color: var(--color-ivory); transition: color .5s var(--ease), padding-left .6s var(--ease); }
.expertise-row:hover { color: var(--color-brass-light); padding-left: 1rem; }
.expertise-num { font-size: .78rem; font-weight: 600; letter-spacing: .12em; color: var(--color-brass-light); }
.expertise-name { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.9rem, 4.2vw, 3.6rem); line-height: 1.05; letter-spacing: -.02em; }
.expertise-desc { color: var(--color-muted-dark); margin: 0; max-width: 40ch; font-size: 1rem; }
.expertise-row .arrow { justify-self: end; }
.expertise-row:hover .arrow { transform: translateX(6px); }
@media (max-width: 767.98px) { .expertise-row { grid-template-columns: 2.5rem 1fr 1.5rem; } .expertise-desc { grid-column: 2 / 3; grid-row: 2; } .expertise-row .arrow { grid-row: 1; grid-column: 3; } }

.def-list--light { border-top-color: var(--color-line); }
.def-list--light .def-row { border-bottom-color: var(--color-line); }
.def-list--light .def-row dt { color: var(--color-text); }
.def-list--light .def-row dd { color: var(--color-muted); }
.def-list--numbered { counter-reset: dl; }
.def-list--numbered .def-row dt { position: relative; padding-left: 3.25rem; }
.def-list--numbered .def-row dt::before { counter-increment: dl; content: counter(dl, decimal-leading-zero); position: absolute; left: 0; top: .35rem; font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--color-brass); }
@media (max-width: 767.98px) { .def-list--numbered .def-row dd { padding-left: 3.25rem; } }

.side-figure { position: relative; margin: 3rem 0 0; max-width: 360px; }
.side-figure .clip-target { overflow: hidden; background: var(--color-ink-2); }
.side-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 50%; filter: saturate(.85); transition: transform 1.6s var(--ease); }
.side-figure:hover img { transform: scale(1.035); }
.side-figure figcaption { margin-top: 1.25rem; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-muted); max-width: 30ch; line-height: 1.7; }

.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-line); }
.timeline-item { display: grid; grid-template-columns: minmax(6rem, 11rem) minmax(0, 1fr) 9.5rem; gap: 1.5rem 3rem; align-items: start; padding: clamp(2rem, 3.5vw, 3rem) 0; border-bottom: 1px solid var(--color-line); }
.timeline-year { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.4rem, 4.6vw, 4.25rem); line-height: 1; letter-spacing: -.03em; color: var(--color-moss); }
.timeline-year--undated { font-size: 1rem; font-family: var(--font-body); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--color-brass); padding-top: .75rem; }
.timeline-body h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 400; margin-bottom: .75rem; }
.timeline-body p { color: var(--color-muted); margin: 0; max-width: 54ch; }
.timeline-thumb { margin: 0; overflow: hidden; background: var(--color-sand); }
.timeline-thumb img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1.2s var(--ease); }
.timeline-item:hover .timeline-thumb img { transform: scale(1.06); }
.timeline-thumb--land img { aspect-ratio: 4 / 3; }
@media (max-width: 767.98px) { .timeline-item { grid-template-columns: 1fr 6.5rem; gap: 1rem 1.25rem; } .timeline-year { grid-column: 1 / -1; } .timeline-thumb { grid-column: 2; grid-row: 2; } .timeline-body { grid-column: 1; grid-row: 2; } }

/* ---------- Contact page ---------- */
.contact-main { padding-block: var(--section-y); background: var(--color-paper); }
.contact-heading { font-size: clamp(2.2rem, 4.4vw, 4rem); font-weight: 300; letter-spacing: -.022em; line-height: 1.04; max-width: 13ch; margin-bottom: 1.5rem; }
.info-list { list-style: none; padding: 0; margin: 2.5rem 0 0; border-top: 1px solid var(--color-line); }
.info-list[hidden] { display: none; }
.info-list li { border-bottom: 1px solid var(--color-line); }
.info-list li[hidden] { display: none; }
.info-row { display: grid; grid-template-columns: 7.5rem 1fr auto; gap: 1rem; align-items: baseline; padding: 1.25rem 0; text-decoration: none; color: var(--color-text); transition: color .4s var(--ease), padding-left .5s var(--ease); }
a.info-row:hover { color: var(--color-moss); padding-left: .5rem; }
.info-label { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--color-brass); }
.info-value { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.35; white-space: pre-line; }
.info-pending { margin: 2rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--color-line); font-style: italic; color: var(--color-muted); }
.info-list:not([hidden]) ~ .info-pending { display: none; }
.info-row .arrow { color: var(--color-brass); }
a.info-row:hover .arrow { transform: translateX(6px); }

.appt-form { position: relative; padding: clamp(1.75rem, 4vw, 3.5rem); background: var(--color-ivory); border: 1px solid var(--color-line); }
.appt-form::before { content: ""; position: absolute; left: -1px; top: -1px; width: 3.5rem; height: 3px; background: var(--color-brass); }
.form-title { font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 300; margin-bottom: .6rem; }
.form-intro { color: var(--color-muted); font-size: .98rem; margin-bottom: 2.25rem; max-width: 40ch; }
.field { position: relative; margin-bottom: 1.75rem; }
.field label { display: block; margin-bottom: .2rem; font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--color-muted); transition: color .4s var(--ease); }
.field input, .field select, .field textarea {
  width: 100%; padding: .6rem 0 .75rem; font: inherit; font-family: var(--font-display); font-size: 1.25rem; color: var(--color-text);
  background: transparent; border: 0; border-bottom: 1px solid rgba(27, 38, 34, .35); border-radius: 0; outline: 0; appearance: none; -webkit-appearance: none;
  transition: border-color .4s var(--ease);
}
.field textarea { resize: vertical; min-height: 6.5rem; line-height: 1.5; }
.field select { padding-right: 1.5rem; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--color-brass) 50%), linear-gradient(135deg, var(--color-brass) 50%, transparent 50%); background-position: calc(100% - 9px) 55%, calc(100% - 4px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-brass); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); pointer-events: none; }
.field:focus-within::after { transform: scaleX(1); }
.field:focus-within label { color: var(--color-brass); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 0; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-bottom-color: #9a3b2e; }
.field-error { display: none; margin-top: .4rem; font-size: .82rem; color: #9a3b2e; }
.field.has-error .field-error { display: block; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.25rem; }
.form-note { font-size: .82rem; color: var(--color-muted); max-width: 32ch; margin: 0; }
.form-status { margin-top: 1.5rem; padding-left: 1rem; border-left: 2px solid var(--color-brass); font-size: .95rem; color: var(--color-text); }
.form-status:empty { display: none; }
@media (max-width: 575.98px) { .info-row { grid-template-columns: 1fr auto; } .info-label { grid-column: 1 / -1; } .form-foot .btn-cta { width: 100%; justify-content: space-between; } }

@media (prefers-reduced-motion: reduce) {
  .scroll-cue i::after { animation: none; }
  .page-hero-media img { animation: none; }
  html:not(.preload-on) body { animation: none; }
  .hero-video { transform: scale(var(--zoom-end)); }
}

.footer-links [hidden] { display: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.25rem; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 575.98px) { .form-grid { grid-template-columns: 1fr; } }

.frame { position: relative; }

.contact-main .side-figure { margin-top: 3.5rem; max-width: 380px; }
@media (max-width: 991.98px) { .contact-main .col-lg-5 { margin-bottom: 3.5rem; } .contact-main .side-figure { display: none; } }


/* ==========================================================================
   Preloader: quiet, choreographed opening. Name rises through a mask, a
   hairline draws with real load progress, then the curtain lifts.
   ========================================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 3000; display: none; place-items: center;
  background: var(--color-ink); color: var(--color-ivory); overflow: hidden;
  animation: plBg .3s ease both;
  transition: transform 1.05s cubic-bezier(.76, 0, .24, 1) .32s;
  will-change: transform;
}
.preload-on .preloader { display: grid; }
.preloader[hidden] { display: none !important; }
.preload-hold body { overflow: hidden; }
.preload-hold .hero-in, .preload-hold .page-hero-media img { animation-play-state: paused; }

/* barely-there light + grain */
.preloader-light { position: absolute; inset: -20%; background: radial-gradient(closest-side at 50% 46%, rgba(47, 84, 72, .32), transparent 70%); animation: plLight 9s ease-in-out infinite alternate; pointer-events: none; }
.preloader-grain { position: absolute; inset: 0; opacity: .06; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes plBg { from { opacity: 0; } to { opacity: 1; } }
@keyframes plLight { from { transform: translate3d(-2%, 1%, 0); } to { transform: translate3d(2%, -1%, 0); } }

.preloader-stage { position: relative; text-align: center; padding-inline: 1.5rem; transition: opacity .45s ease, transform .6s var(--ease); }
.preloader-name { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.75rem, 4.4vw, 3rem); letter-spacing: .04em; line-height: 1.2; }
.pl-word { display: inline-block; overflow: hidden; vertical-align: top; padding: .05em .12em .16em; margin: 0 -.05em; }
.pl-word > span { display: inline-block; transform: translateY(110%); animation: plUp 1.1s var(--ease) forwards; animation-delay: calc(.3s + var(--w) * .09s); }
.pl-word em { font-style: italic; color: var(--color-brass-light); }
@keyframes plUp { to { transform: none; } }
.preloader-role { margin: 1.1rem 0 0; font-size: .68rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--color-muted-dark); opacity: 0; animation: plFade 1s var(--ease) .95s forwards; }
@keyframes plFade { to { opacity: 1; } }
.preloader-line { position: relative; width: min(20rem, 58vw); height: 1px; margin: 2.25rem auto 0; background: rgba(245, 241, 232, .14); opacity: 0; animation: plFade .8s ease .9s forwards; }
.preloader-line i { position: absolute; inset: 0; background: var(--color-brass-light); transform: scaleX(0); transform-origin: left; }

.preloader-count { position: absolute; left: var(--gutter); bottom: 2.25rem; margin: 0; font-size: .7rem; font-weight: 500; letter-spacing: .3em; font-variant-numeric: tabular-nums; color: var(--color-muted-dark); opacity: 0; animation: plFade .8s ease 1s forwards; transition: opacity .4s ease; }

/* curtain edge */
.preloader::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-brass-light); opacity: 0; transition: opacity .3s ease .32s; }
.preloader.is-exiting { transform: translateY(-100%); }
.preloader.is-exiting::after { opacity: .7; }
.preloader.is-exiting .preloader-stage { opacity: 0; transform: translateY(-16px); }
.preloader.is-exiting .preloader-count { opacity: 0 !important; animation: none; }

@media (max-width: 575.98px) {
  .preloader-role { letter-spacing: .26em; }
  .preloader-count { bottom: 1.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .preloader, .preloader-stage { transition: opacity .25s ease !important; }
  .preloader.is-exiting { transform: none; opacity: 0; }
  .preloader-light { animation: none; }
  .pl-word > span { transform: none; animation: none; }
  .preloader-role, .preloader-line, .preloader-count { animation: none; opacity: 1; }
}

/* ==========================================================================
   Homepage doctor introduction
   ========================================================================== */
.portrait-plate { position: absolute; right: -2.25rem; bottom: 2.75rem; z-index: 2; margin: 0 !important; padding: 1.4rem 1.6rem; max-width: 19rem; background: var(--color-ink); color: var(--color-ivory); letter-spacing: 0 !important; text-transform: none !important; }
.portrait-plate strong { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; line-height: 1.2; margin-bottom: .55rem; color: var(--color-ivory); }
.portrait-plate span { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.7; color: var(--color-brass-light); }
.intro-title--name { max-width: none; }
.doc-intro .portrait img { aspect-ratio: 4 / 5; }
.doc-stats { display: grid; grid-template-columns: 1fr 1fr; margin: 2.75rem 0 3rem; border-top: 1px solid var(--color-ink); }
.doc-stat { padding: 1.6rem 1.5rem 1.7rem 0; border-bottom: 1px solid var(--color-line); }
.doc-stat:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--color-line); }
.doc-stat dt { margin: 0 0 .5rem; font-weight: 400; }
.doc-stat dd { margin: 0; font-size: .95rem; color: var(--color-muted); }
.doc-stat-num { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -.03em; color: var(--color-moss); }
.doc-stat-text { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.4rem, 2.1vw, 1.85rem); line-height: 1.15; color: var(--color-moss); display: block; padding-top: .35rem; }
@media (max-width: 991.98px) { .portrait-plate { right: -.5rem; bottom: 1.5rem; max-width: 15.5rem; padding: 1.1rem 1.25rem; } .doc-intro .portrait { margin-bottom: 4rem; } }
@media (max-width: 575.98px) { .doc-stat, .doc-stat:nth-child(even) { padding: 1.3rem .75rem 1.4rem 0; } .doc-stat:nth-child(even) { padding-left: 1rem; } }

/* ---------- Map ---------- */
.map-section { padding-top: var(--section-y); background: var(--color-ivory); }
.map-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.map-frame { position: relative; background: var(--color-sand); }
.map-frame iframe { display: block; width: 100%; height: clamp(22rem, 55vh, 34rem); border: 0; filter: grayscale(.85) contrast(1.05) sepia(.12); transition: filter .8s var(--ease); }
.map-frame:hover iframe, .map-frame:focus-within iframe { filter: none; }


/* ==========================================================================
   Typography system: Marcellus SC (display) + Outfit (text)
   Marcellus SC is a single-weight small-caps face, so it is reserved for
   titles, statements and the doctor's name; running text stays in Outfit.
   ========================================================================== */
body { font-synthesis: none; font-weight: 300; letter-spacing: .01em; line-height: 1.75; }
strong, b { font-weight: 500; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: .012em; line-height: 1.18; }
h4 { font-family: var(--font-body); font-weight: 500; letter-spacing: .005em; line-height: 1.3; }

/* Marcellus SC: titles + statements */
.hero-title { font-size: clamp(2.6rem, 5.8vw, 5.6rem); font-weight: 400; letter-spacing: .012em; line-height: 1.04; }
.hero-title em { font-style: normal; }
.section-title { font-size: clamp(1.75rem, 2.9vw, 2.75rem); font-weight: 400; max-width: 20ch; }
.section-title--wide { max-width: 26ch; }
.page-title { font-size: clamp(2.2rem, 4.8vw, 4.5rem); font-weight: 400; letter-spacing: .01em; line-height: 1.08; max-width: 18ch; }
.page-title--wide { max-width: 24ch; }
.contact-title, .cta-title { font-size: clamp(2rem, 4.4vw, 4rem); font-weight: 400; letter-spacing: .012em; line-height: 1.1; }
.contact-heading, .treat-title, .intro-title { font-weight: 400; letter-spacing: .012em; line-height: 1.12; }
.contact-heading { font-size: clamp(1.9rem, 3.4vw, 3.2rem); }
.treat-title { font-size: clamp(2rem, 4vw, 3.6rem); }
.intro-title { font-size: clamp(1.75rem, 3.2vw, 2.9rem); max-width: 20ch; }
.intro-title--name { max-width: none; }
.break-statement { font-size: clamp(1.7rem, 3.5vw, 3.3rem); font-weight: 400; letter-spacing: .012em; line-height: 1.14; max-width: 18ch; }
.break-quote { font-family: var(--font-display); font-style: normal; font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.7rem); letter-spacing: .012em; line-height: 1.25; max-width: 24ch; }
.block-title { font-size: clamp(1.15rem, 1.6vw, 1.5rem); letter-spacing: .02em; max-width: 24ch; }
.brand-name { font-size: 1.05rem; letter-spacing: .05em; font-weight: 400; }
.preloader-name { font-size: clamp(1.4rem, 3.6vw, 2.4rem); letter-spacing: .12em; font-weight: 400; }
.pl-word em { font-style: normal; }
.footer-name { font-size: 1.35rem; letter-spacing: .05em; }
.portrait-plate strong, .intro-sign strong { font-size: 1.05rem; letter-spacing: .04em; font-weight: 400; }
.expertise-name { font-size: clamp(1.5rem, 3.3vw, 2.8rem); font-weight: 400; letter-spacing: .015em; line-height: 1.12; }
.index-name { font-size: clamp(1.5rem, 2.2vw, 2.1rem); font-weight: 400; letter-spacing: .02em; }
.treat-panel-name { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 400; letter-spacing: .02em; }
.figure-value, .timeline-year, .doc-stat-num, .treat-panel-num { font-weight: 400; letter-spacing: .01em; }
.figure-value { font-size: clamp(3rem, 6.4vw, 6rem); }
.doc-stat-num { font-size: clamp(2.2rem, 3.8vw, 3.3rem); }
.doc-stat-text { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.1rem, 1.6vw, 1.4rem); letter-spacing: .03em; line-height: 1.25; }
.timeline-year { font-size: clamp(2rem, 3.6vw, 3.4rem); }
.timeline-year--undated { font-family: var(--font-body); font-weight: 500; }
.treat-num, .technique-num { font-style: normal; letter-spacing: .1em; font-size: 1rem; }
.channel { font-size: 1.3rem; letter-spacing: .03em; }
.timeline-body h3, .award figcaption strong, .ruled-list--titled li strong { font-size: 1.1rem; letter-spacing: .03em; font-weight: 400; }
.award-caption h3 { font-size: 1.3rem; letter-spacing: .03em; }
.form-title { font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 400; letter-spacing: .03em; }
.hero-title .line { padding-bottom: .1em; }

/* Outfit: reading text, UI and supporting statements */
.lead-p, .prose .lead-p, .hero-lede, .page-lede, .closing-statement, .lede, .treat-copy { font-family: var(--font-body); font-style: normal; font-weight: 300; }
.lead-p, .prose .lead-p { font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.6; }
.hero-lede { font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.5; letter-spacing: .015em; max-width: 30ch; }
.page-lede { font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.6; }
.closing-statement { font-size: clamp(1.25rem, 1.9vw, 1.7rem); line-height: 1.55; }
.accordion-button, .def-row dt, .info-value, .field input, .field select, .field textarea, .doc-stat-text--plain { font-family: var(--font-body); font-weight: 400; letter-spacing: .005em; }
.accordion-button { font-size: 1.1rem; }
.accordion--faq .accordion-button { font-size: 1.05rem; }
.def-row dt { font-size: 1.2rem; font-weight: 500; }
.info-value { font-size: 1.15rem; font-weight: 400; }
.field input, .field select, .field textarea { font-size: 1.1rem; }
.technique h4 { font-size: 1.2rem; }
.tab-pane h4 { font-size: 1.4rem; font-weight: 400; }
.accordion-body, .index-items, .treat-list li { font-weight: 300; }
.muted, .lede, .figure-label, .technique p:last-child, .doc-stat dd, .def-row dd, .timeline-body p, .award figcaption { font-weight: 300; }
.eyebrow, .btn-cta, .link-line, .nav-link, .hero-role, .hero-index a, .crumbs, .field label, .treat-sub, .info-label { font-weight: 500; }
.tag-list li { font-weight: 400; }

@media (max-width: 767.98px) {
  .hero-title { font-size: clamp(2.3rem, 10vw, 3.2rem); }
  .page-title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
}

/* ---------- Hero: calmer type scale ---------- */
.hero-title { font-size: clamp(2rem, 3.7vw, 3.5rem); line-height: 1.1; letter-spacing: .03em; margin-bottom: 1.6rem; }
.hero .eyebrow { margin-bottom: 1.25rem; font-size: .7rem; }
.hero-role { font-size: .7rem; letter-spacing: .2em; line-height: 1.9; max-width: 38ch; margin-bottom: 1.25rem; }
.hero-lede { font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.6; max-width: 34ch; margin-bottom: 2.1rem; }
.hero-actions .btn-cta { padding: .95rem 1.4rem; font-size: .72rem; }
.hero-index a { font-size: .72rem; padding-block: 1.15rem 1.3rem; }
.hero-row { padding-bottom: clamp(2rem, 4.5vw, 3.75rem); }
@media (max-width: 767.98px) {
  .hero-title { font-size: clamp(1.9rem, 8vw, 2.5rem); margin-bottom: 1.25rem; }
  .hero-lede { margin-bottom: 1.75rem; }
}

/* ==========================================================================
   Weight pass: Outfit at Regular for reading, Medium/SemiBold for emphasis
   ========================================================================== */
body { font-weight: 400; }
strong, b { font-weight: 600; }

/* reading text: Light -> Regular */
.lead-p, .prose .lead-p, .hero-lede, .page-lede, .closing-statement, .lede, .treat-copy,
.accordion-body, .index-items, .treat-list li, .muted, .figure-label, .technique p:last-child,
.doc-stat dd, .def-row dd, .timeline-body p, .award figcaption, .award-caption p, .prose p,
.break-note, .footer-role, .form-intro, .form-note, .info-pending, .contact-pending { font-weight: 400; }
.hero-lede, .page-lede, .lead-p, .prose .lead-p, .closing-statement { font-weight: 400; }
.page-lede, .break-note, .cta-band .lede { color: rgba(245, 241, 232, .92); }
.muted, .lede, .figure-label, .doc-stat dd, .def-row dd, .timeline-body p, .treat-copy { color: var(--color-text); opacity: .82; }
.section--ink .muted, .section--ink .lede, .section--moss .muted, .section--moss .lede, .contact .lede,
.treat--ink .treat-copy, .treat--moss .treat-copy, .def-row dd, .section--ink .def-row dd { color: var(--color-ivory); opacity: .82; }
.def-list--light .def-row dd { color: var(--color-text); opacity: .82; }

/* emphasis: Medium / SemiBold */
.eyebrow, .btn-cta, .link-line, .hero-role, .crumbs, .treat-sub, .info-label, .field label, .treat-index a, .joint-tab,
.hero-index a, .portrait-plate span, .intro-sign span, .technique-fact { font-weight: 600; }
.nav-link, .footer-links a, .doc-stat dd, .index-num, .acc-num, .expertise-num, .tag-list li { font-weight: 500; }
.doc-stat dd, .figure-label { font-weight: 500; }
.index-items li, .treat-list li, .ruled-list li { font-weight: 500; }
.def-row dt, .accordion-button, .technique h4, .tab-pane h4, .info-value, .channel { font-weight: 500; }
.technique p:last-child, .def-row dd, .accordion-body { font-weight: 400; }
.preloader-role, .preloader-count { font-weight: 600; }



/* ---------- Icons ---------- */
.icon { width: 1.6rem; height: 1.6rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.doc-stat > .icon { display: block; color: var(--color-brass); margin-bottom: 1.1rem; }
.def-list--stacked dt { display: flex; align-items: center; gap: 1rem; }
.def-list--stacked dt .icon { color: var(--color-brass-light); width: 1.5rem; height: 1.5rem; }
.channel-label { display: inline-flex; align-items: center; gap: 1rem; }
.channel-label .icon { width: 1.35rem; height: 1.35rem; color: var(--color-brass-light); }

/* ---------- Framed side images ---------- */
.side-figure .frame::before { content: ""; position: absolute; inset: 0; transform: translate(12px, 12px); border: 1px solid var(--color-brass); pointer-events: none; }
.side-figure--dark .frame::before { border-color: var(--color-brass-light); }
.side-figure { margin-top: 2.5rem; max-width: 340px; }
.side-figure figcaption { margin-top: 1.75rem; }
.side-figure--dark figcaption { color: var(--color-muted-dark); }
.section--moss .side-figure img { object-position: 50% 40%; }
.block .side-figure { max-width: 300px; }
@media (max-width: 991.98px) { .side-figure, .block .side-figure { max-width: 300px; margin-bottom: 1rem; } }


/* ---------- KPI band ---------- */
.kpi-band { background: var(--color-ink); color: var(--color-ivory); padding-block: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--color-line-dark); }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.kpi { padding: .5rem 2rem 0; border-left: 1px solid var(--color-line-dark); }
.kpi:first-child { padding-left: 0; border-left: 0; }
.kpi-value { margin: 0 0 1rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1; letter-spacing: .01em; color: var(--color-ivory); white-space: nowrap; }
.kpi-value small { font-size: .45em; margin-left: .08em; letter-spacing: .02em; color: var(--color-brass-light); vertical-align: .55em; }
.kpi-label { margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--color-muted-dark); line-height: 1.7; }
@media (max-width: 991.98px) {
  .kpi-grid { grid-template-columns: 1fr 1fr; row-gap: 2.75rem; }
  .kpi:nth-child(odd) { padding-left: 0; border-left: 0; }
  .kpi:nth-child(even) { padding-left: 1.5rem; }
}

/* ---------- Hero: wider column, more confident type ---------- */
.hero-title { font-size: clamp(2.5rem, 5vw, 4.75rem); line-height: 1.08; letter-spacing: .03em; margin-bottom: 2rem; }
.hero .eyebrow { font-size: .78rem; margin-bottom: 1.5rem; }
.hero-role { font-size: .85rem; letter-spacing: .2em; max-width: 60ch; line-height: 1.9; margin-bottom: 1.6rem; }
.hero-lede { font-size: clamp(1.2rem, 1.7vw, 1.6rem); line-height: 1.55; max-width: 44ch; font-weight: 500; margin-bottom: 2.5rem; }
.hero-actions { gap: 1.25rem 2.5rem; }
.hero-actions .btn-cta { padding: 1.1rem 1.75rem; font-size: .8rem; }
.hero-actions .link-line { font-size: .82rem; }
.hero-index a { font-size: .8rem; }
.hero-veil { background:
    linear-gradient(90deg, rgba(16, 24, 22, .94) 0%, rgba(16, 24, 22, .8) 38%, rgba(16, 24, 22, .34) 72%, rgba(16, 24, 22, .12) 100%),
    linear-gradient(0deg, rgba(16, 24, 22, .94) 0%, rgba(16, 24, 22, 0) 36%),
    linear-gradient(180deg, rgba(16, 24, 22, .6) 0%, rgba(16, 24, 22, 0) 22%),
    rgba(31, 54, 48, .16); }
@media (max-width: 991.98px) { .hero-title { font-size: clamp(2.3rem, 7vw, 3.6rem); } .hero-role { max-width: 44ch; } }
@media (max-width: 767.98px) {
  .hero-title { font-size: clamp(2.1rem, 9vw, 2.8rem); margin-bottom: 1.5rem; }
  .hero-role { font-size: .75rem; }
  .hero-lede { font-size: 1.15rem; margin-bottom: 2rem; }
}


/* ==========================================================================
   Logo: a "K" drawn as a jointed limb (stem + two arms meeting at a pivot),
   set beside a two-line wordmark
   ========================================================================== */
.logo-mark { width: 2.75rem; height: 2.75rem; flex: none; color: var(--color-ivory); overflow: visible; }
.lm-ring { stroke: var(--color-brass-light); stroke-width: 1; }
.lm-joint { fill: var(--color-brass-light); stroke: none; }
.lm-end { fill: var(--color-ivory); stroke: none; }
.navbar-brand { gap: .95rem; }
.brand-text { display: flex; flex-direction: column; justify-content: center; gap: .3rem; line-height: 1; }
.brand-name { font-size: .95rem; letter-spacing: .05em; line-height: 1.1; white-space: nowrap; }
.brand-sub { font-family: var(--font-body); font-size: .58rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--color-brass-light); white-space: nowrap; }
.navbar-brand .logo-mark { transition: transform .8s var(--ease); }
.navbar-brand:hover .logo-mark { transform: rotate(-8deg); }
.navbar-brand:hover .lm-k { stroke: var(--color-brass-light); }
.lm-k { transition: stroke .5s var(--ease); }
@media (max-width: 1199.98px) { .brand-sub { display: none; } .logo-mark { width: 2.4rem; height: 2.4rem; } }
@media (max-width: 400px) { .brand-name { font-size: .82rem; letter-spacing: .03em; } .navbar-brand { gap: .7rem; } }

.footer-name { display: flex; align-items: center; gap: 1rem; font-size: 1.15rem; letter-spacing: .05em; }
.footer-name .logo-mark { width: 2.75rem; height: 2.75rem; }

/* preloader: the mark draws itself, then the name follows */
.preloader-mark { margin: 0 auto 1.9rem; width: 3.6rem; height: 3.6rem; }
.preloader-mark .logo-mark { width: 100%; height: 100%; }
.preloader-mark .lm-ring, .preloader-mark .lm-k { stroke-dasharray: 1; stroke-dashoffset: 1; animation: plDraw 1.3s var(--ease) .1s forwards; }
.preloader-mark .lm-k { animation-delay: .45s; }
.preloader-mark .lm-joint, .preloader-mark .lm-end { opacity: 0; animation: plFade .6s ease 1.1s forwards; }
@keyframes plDraw { to { stroke-dashoffset: 0; } }
.preloader-name { font-size: clamp(1.15rem, 3vw, 2rem); }
@media (prefers-reduced-motion: reduce) {
  .preloader-mark .lm-ring, .preloader-mark .lm-k { animation: none; stroke-dashoffset: 0; }
  .preloader-mark .lm-joint, .preloader-mark .lm-end { animation: none; opacity: 1; }
}


/* ---------- Tenor Sans as the heading face (mixed case, single weight) ---------- */
h1, h2, h3 { letter-spacing: .005em; line-height: 1.16; }
.hero-title { letter-spacing: .01em; line-height: 1.08; }
.page-title, .contact-title, .cta-title, .break-statement, .break-quote, .treat-title, .intro-title, .contact-heading { letter-spacing: .005em; }
.section-title { font-size: clamp(1.9rem, 3.2vw, 3rem); }
.brand-name { letter-spacing: .03em; font-size: .98rem; }
.preloader-name { letter-spacing: .06em; }
.footer-name, .portrait-plate strong, .intro-sign strong { letter-spacing: .02em; }
.block-title, .index-name, .expertise-name, .treat-panel-name, .doc-stat-text, .form-title { letter-spacing: .01em; }
.timeline-body h3, .award figcaption strong, .award-caption h3, .ruled-list--titled li strong { letter-spacing: .01em; }
.kpi-value, .figure-value, .doc-stat-num, .timeline-year, .treat-panel-num { letter-spacing: 0; }


/* Manrope runs a touch wider and denser than Outfit: ease the tracking and leading */
body { letter-spacing: 0; line-height: 1.7; }
.eyebrow, .btn-cta, .link-line, .hero-role, .crumbs, .treat-sub, .info-label, .field label, .treat-index a, .joint-tab, .hero-index a, .kpi-label, .technique-fact, .brand-sub { letter-spacing: .14em; }
.nav-link { letter-spacing: .07em; }
.hero-role { letter-spacing: .16em; }
.hero-lede { font-weight: 600; }
.eyebrow, .btn-cta, .link-line, .hero-role, .crumbs, .treat-sub, .info-label, .field label, .treat-index a, .joint-tab, .hero-index a, .kpi-label { font-weight: 700; }
.def-row dt, .accordion-button, .technique h4, .info-value, .channel { font-weight: 600; }


/* ---------- Font hygiene: Tenor Sans has one upright weight; never synthesise italic/bold ---------- */
html { font-synthesis: none; }
h1, h2, h3, .hero-title, .hero-title em, .pl-word em, .break-quote, .treat-num, .technique-num, .figure-value small,
.preloader-name, .brand-name, .footer-name, .kpi-value, .timeline-year, .doc-stat-num, .doc-stat-text, .treat-panel-num, .treat-panel-name { font-style: normal; font-weight: 400; }


/* ---------- Floating call / WhatsApp (left edge) ---------- */
.float-contact { position: fixed; left: clamp(.75rem, 1.6vw, 1.5rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 1500; display: flex; flex-direction: column; gap: .75rem; }
.float-contact > span[hidden] { display: none; }
.float-btn { position: relative; display: grid; place-items: center; width: 3.35rem; height: 3.35rem; border-radius: 50%; color: #fff; text-decoration: none; box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .55); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.float-btn .icon { width: 1.5rem; height: 1.5rem; }
.float-btn--call { background: var(--color-moss); border: 1px solid var(--color-brass-light); color: var(--color-brass-light); }
.float-btn--wa { background: #1f9d55; }
.float-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -10px rgba(0, 0, 0, .6); color: #fff; }
.float-btn--call:hover { color: var(--color-brass-light); }
.float-tip { position: absolute; left: calc(100% + .75rem); top: 50%; transform: translate(-6px, -50%); padding: .4rem .75rem; background: var(--color-ink); color: var(--color-ivory); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.float-btn:hover .float-tip, .float-btn:focus-visible .float-tip { opacity: 1; transform: translate(0, -50%); }
.float-btn--wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid #1f9d55; animation: floatPulse 3.2s ease-out infinite; pointer-events: none; }
@keyframes floatPulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
@media (max-width: 575.98px) { .float-btn { width: 3rem; height: 3rem; } .float-tip { display: none; } }
@media (prefers-reduced-motion: reduce) { .float-btn--wa::after { animation: none; display: none; } }
.float-contact { top: 50%; bottom: auto; transform: translateY(-50%); left: .5rem; }
.float-btn { width: 2.9rem; height: 2.9rem; }
.float-btn .icon { width: 1.3rem; height: 1.3rem; }
@media (max-width: 575.98px) { .float-contact { left: .4rem; } .float-btn { width: 2.75rem; height: 2.75rem; } }
@media (max-width: 767.98px) {
  .float-contact { top: auto; bottom: 1rem; left: .9rem; transform: none; flex-direction: row; gap: .6rem; }
}

/* ---------- Floating contact: right edge, vertical stack ---------- */
.float-contact { left: auto; right: .5rem; top: 50%; bottom: auto; transform: translateY(-50%); flex-direction: column; }
.float-tip { left: auto; right: calc(100% + .75rem); transform: translate(6px, -50%); }
@media (max-width: 767.98px) {
  .float-contact { left: auto; right: .6rem; top: auto; bottom: 1rem; transform: none; flex-direction: column; gap: .6rem; }
}
.guides-intro { padding: var(--section-y) 0 clamp(1rem, 3vw, 2rem); background: var(--color-paper); }
.guides-intro + .section { padding-top: clamp(2.5rem, 5vw, 4rem); }


/* ---------- Robot-assisted split ---------- */
.robot-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--color-ink); color: var(--color-ivory); min-height: clamp(28rem, 70vh, 40rem); }
.robot-split-copy { display: flex; align-items: center; padding: clamp(3rem, 6vw, 6rem) clamp(1.25rem, 4.5vw, 4rem) clamp(3rem, 6vw, 6rem) var(--gutter); }
.robot-split-inner { max-width: 32rem; }
.robot-split .eyebrow { color: var(--color-brass-light); }
.robot-split-title { font-size: clamp(1.8rem, 3vw, 2.9rem); font-weight: 400; line-height: 1.16; letter-spacing: .005em; margin-bottom: 1.5rem; }
.robot-split-note { color: var(--color-ivory); opacity: .82; margin-bottom: 2rem; max-width: 40ch; }
.robot-split-media { margin: 0; position: relative; overflow: hidden; min-height: 18rem; }
.robot-split-media .clip-target { position: absolute; inset: 0; }
.robot-split-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.04); transition: transform 1.6s var(--ease); }
.robot-split-media:hover img { transform: scale(1.03); }
@media (max-width: 991.98px) {
  .robot-split { grid-template-columns: 1fr; min-height: 0; }
  .robot-split-media { order: -1; height: clamp(15rem, 48vw, 22rem); min-height: 0; }
  .robot-split-copy { padding: 3rem var(--gutter) 3.5rem; }
}


/* ---------- Robot-assisted benefits band ---------- */
.benefits-band { align-items: center; }
.benefits-band .image-break-media::after { background: linear-gradient(90deg, rgba(16, 24, 22, .94) 0%, rgba(16, 24, 22, .82) 38%, rgba(16, 24, 22, .25) 75%, rgba(16, 24, 22, .1) 100%), linear-gradient(0deg, rgba(16, 24, 22, .55) 0%, rgba(16, 24, 22, 0) 40%); }
.benefits-title { font-size: clamp(1.7rem, 3vw, 2.8rem); margin-bottom: 2rem; max-width: 16ch; }
.benefit-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(245, 241, 232, .28); max-width: 30rem; }
.benefit-list li { display: flex; align-items: baseline; gap: 1.25rem; padding: 1rem 0; border-bottom: 1px solid rgba(245, 241, 232, .28); font-size: 1.1rem; font-weight: 500; }
.benefit-list li span { font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--color-brass-light); }
@media (max-width: 767.98px) { .benefits-band .image-break-media::after { background: linear-gradient(0deg, rgba(16, 24, 22, .95) 0%, rgba(16, 24, 22, .75) 60%, rgba(16, 24, 22, .45) 100%); } .benefit-list li { font-size: 1rem; } }
.benefit-list li span { min-width: 1.6rem; }


/* ---------- Treatments: compact numeral panel + framed figures ---------- */
.treat-panel--compact { aspect-ratio: 1 / 1; }
.treat-figure .frame { position: relative; }
.treat-figure .frame .clip-target img { aspect-ratio: 4 / 5; }
.treat-figure--wide .frame .clip-target img { aspect-ratio: 5 / 4; }
.treat-figure figcaption { margin-top: 2rem; }
@media (max-width: 991.98px) { .treat-panel--compact { aspect-ratio: 16 / 9; } }

/* ==========================================================================
   Type scale (final): one set of sizes for hero, section and statement titles.
   Tenor Sans is wide, so display sizes stay modest.
   ========================================================================== */
:root {
  --fs-hero: clamp(2.4rem, 4.3vw, 3.9rem);        /* ~62px at 1440 */
  --fs-h2: clamp(1.75rem, 2.6vw, 2.5rem);          /* ~37px section titles */
  --fs-statement: clamp(1.8rem, 2.9vw, 2.7rem);    /* ~41px band statements */
  --fs-h3: clamp(1.15rem, 1.5vw, 1.4rem);
  --fs-kpi: clamp(2.6rem, 4.4vw, 3.9rem);
}
.hero-title { font-size: var(--fs-hero); line-height: 1.08; letter-spacing: .005em; margin-bottom: 1.75rem; }
.hero-title em { margin-right: .16em; }
.hero .eyebrow { font-size: .75rem; margin-bottom: 1.4rem; }
.hero-role { font-size: .8rem; letter-spacing: .18em; margin-bottom: 1.4rem; }
.hero-lede { font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.55; margin-bottom: 2.25rem; }

.section-title, .intro-title, .intro-title--name { font-size: var(--fs-h2); line-height: 1.16; letter-spacing: .005em; max-width: 20ch; }
.section-title--wide { max-width: 26ch; }
.intro-title--name { max-width: none; }
.robot-split-title, .benefits-title, .break-statement, .contact-title, .cta-title { font-size: var(--fs-statement); line-height: 1.14; letter-spacing: .005em; }
.robot-split-title { max-width: 15ch; }
.benefits-title { max-width: 16ch; }
.block-title { font-size: var(--fs-h3); }
.kpi-value { font-size: var(--fs-kpi); }
.index-name { font-size: clamp(1.4rem, 2vw, 1.9rem); }
.lead-p, .prose .lead-p { font-size: clamp(1.1rem, 1.35vw, 1.28rem); }

@media (max-width: 767.98px) {
  :root { --fs-hero: clamp(2.05rem, 8.4vw, 2.5rem); --fs-h2: clamp(1.6rem, 6.6vw, 1.95rem); --fs-statement: clamp(1.65rem, 6.8vw, 2rem); --fs-kpi: clamp(2.3rem, 10vw, 2.9rem); }
  .hero-role { font-size: .72rem; }
}
