/* =============================================================
   Dr. Ye Xiuyu — inner page framework
   Shared by about.html / method.html / results.html / landing.html
   Visual system follows assets/clinic-home.css:
   full-bleed dark mast, teal accent, light type, square geometry.
   ============================================================= */

:root {
  color-scheme: light;
  --teal: #4299a9;
  --teal-deep: #317c8a;
  --teal-dark: #276874;
  --teal-soft: #edf5f6;
  --night: #0b1718;
  --night-soft: #122324;
  --ink: #12191a;
  --body: #55605f;
  --muted: #6f7877;
  --line: #e3e7e7;
  --paper: #ffffff;
  --cream: #f7f7f4;
  --danger: #9b2c2c;
  --sans: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --gutter: clamp(20px, 4.6vw, 72px);
  --space: clamp(64px, 8vw, 132px);
  --mast-h: 68px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--mast-h) + 64px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.lock { overflow: hidden; }

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .3em; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }

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

.shell {
  width: min(1320px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--teal); color: #fff; padding: .8rem 1.2rem;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- Masthead ---------- */
.mast {
  position: fixed; inset: 0 0 auto; z-index: 40; color: #fff;
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.mast::after {
  content: ""; position: absolute; inset: auto 0 0; height: 1px;
  background: rgba(255, 255, 255, .16); transition: opacity .35s var(--ease);
}
.mast.solid {
  background: rgba(11, 23, 24, .95);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.mast.solid::after { opacity: .3; }

.mast-inner {
  position: relative; z-index: 36;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.2rem; min-height: var(--mast-h);
}

.wordmark {
  display: flex; align-items: center; gap: .75rem;
  text-decoration: none; color: inherit; flex: none;
}
.mark { width: 26px; height: 26px; color: var(--teal); flex: none; }
.wordmark-text {
  display: flex; flex-direction: column;
  font-size: 1rem; line-height: 1.05;
  letter-spacing: .24em; text-transform: uppercase;
}
.wordmark-text small {
  font-size: .52rem; letter-spacing: .32em; opacity: .7; margin-top: .45rem;
}

.mast-tools {
  display: flex; align-items: center; gap: clamp(.55rem, 1.5vw, 1.9rem);
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
}
.mast-tools a { text-decoration: none; }
.mast-meta { opacity: .86; white-space: nowrap; transition: opacity .25s var(--ease); }
.mast-meta:hover { opacity: 1; }

.chip {
  border: 1px solid rgba(255, 255, 255, .42);
  padding: .82em 1.2em;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.chip:hover { background: #fff; color: var(--night); }

.langs { display: flex; gap: .38rem; }
.langs a {
  padding: .7em .8em; border: 1px solid rgba(255, 255, 255, .42);
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.langs a[aria-current] { background: var(--teal); border-color: var(--teal); }
.langs a:not([aria-current]):hover { background: rgba(255, 255, 255, .14); }

.menu {
  display: inline-flex; align-items: center; gap: .7rem;
  background: none; border: 0; color: inherit;
  font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
  padding: .4rem 0;
}
.burger {
  width: 20px; height: 9px;
  border-top: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transition: opacity .25s var(--ease), transform .3s var(--ease);
}
body.nav-open .burger { opacity: 0; transform: scaleX(.4); }

/* ---------- Full-screen navigation ---------- */
nav.site-nav {
  position: fixed; inset: 0; z-index: 35;
  display: grid; align-content: center; justify-items: center;
  gap: clamp(.85rem, 2vw, 1.3rem);
  padding: 6.5rem 1.5rem 4rem;
  background: rgba(8, 17, 18, .97); color: #fff;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
nav.site-nav.open { opacity: 1; visibility: visible; }
nav.site-nav a {
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  letter-spacing: .14em; text-decoration: none; text-transform: uppercase;
  opacity: .86;
  transition: opacity .2s var(--ease), color .2s var(--ease);
}
nav.site-nav a:hover,
nav.site-nav a:focus-visible,
nav.site-nav a[aria-current] { opacity: 1; color: var(--teal); }
nav.site-nav .nav-book {
  margin-top: .8rem;
  border: 1px solid rgba(255, 255, 255, .5);
  padding: .55em 1.5em;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  letter-spacing: .12em;
}
nav.site-nav .nav-book:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
nav.site-nav .nav-note {
  margin-top: 1.6rem; font-size: .66rem; letter-spacing: .24em;
  text-transform: uppercase; color: rgba(255, 255, 255, .42);
}

/* ---------- Page head ---------- */
.pagehead {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--night); color: #fff;
  padding: calc(var(--mast-h) + clamp(3.2rem, 7vw, 5.8rem)) 0 clamp(3rem, 6vw, 5rem);
}
.pagehead::before { content: none; }
.pagehead-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 72% 38%;
  opacity: .82; filter: brightness(1.15);
  -webkit-mask-image: linear-gradient(90deg, transparent 2%, #000 50%);
  mask-image: linear-gradient(90deg, transparent 2%, #000 50%);
  pointer-events: none;
}
.pagehead::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(11, 23, 24, .95) 0%, rgba(11, 23, 24, .78) 44%, rgba(11, 23, 24, .15) 100%),
    radial-gradient(90% 120% at 12% 100%, rgba(66, 153, 169, .18), transparent 60%);
  pointer-events: none;
}
.pagehead .shell { position: relative; z-index: 2; }

.crumbs {
  display: flex; align-items: center; flex-wrap: wrap; gap: .55rem;
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
  margin-bottom: clamp(2rem, 4.5vw, 3.2rem);
}
.crumbs a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.crumbs a:hover { color: var(--teal); }
.crumbs [aria-current] { color: rgba(255, 255, 255, .9); }

.kicker {
  display: flex; align-items: center; gap: .8rem;
  font-size: .68rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1.1rem;
}
.kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; flex: none; }
.section--night .kicker, .cta .kicker { color: #7dc0cc; }

.pagehead h1 {
  max-width: 17ch;
  font-size: clamp(2.5rem, 6vw, 5.1rem);
  font-weight: 300; line-height: 1.06; letter-spacing: .005em;
  text-wrap: balance;
}
.pagehead--long h1 { font-size: clamp(2.2rem, 4.6vw, 4rem); max-width: 21ch; }
.h2-nowrap { white-space: nowrap; }
@media (max-width: 700px) { .h2-nowrap { white-space: normal; } }
.pagehead .lede {
  max-width: 46ch; margin-top: clamp(1.3rem, 2.6vw, 1.9rem);
  font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 1.9;
  color: rgba(255, 255, 255, .74); text-wrap: pretty;
}
.head-meta {
  display: flex; flex-wrap: wrap; gap: 1.1rem 2.8rem;
  margin-top: clamp(2.2rem, 4.5vw, 3.2rem); padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.head-meta .k {
  display: block; font-size: .62rem; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(255, 255, 255, .6);
}
.head-meta .v {
  display: block; margin-top: .4rem;
  font-size: .84rem; letter-spacing: .06em; color: rgba(255, 255, 255, .92);
}
.page-no {
  position: absolute; right: var(--gutter); bottom: -.15em; z-index: 1;
  font-size: clamp(6rem, 16vw, 12rem); font-weight: 300; line-height: .8;
  letter-spacing: -.04em; color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .13);
  pointer-events: none; user-select: none;
}

/* ---------- Sticky section nav ---------- */
.subnav {
  position: sticky; top: var(--mast-h); z-index: 30;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.subnav .shell {
  display: flex; gap: clamp(1rem, 2.4vw, 2.2rem);
  overflow-x: auto; scrollbar-width: none;
}
.subnav .shell::-webkit-scrollbar { display: none; }
.subnav a {
  flex: none; padding: 1.05rem 0 1rem;
  border-bottom: 1px solid transparent;
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.subnav a:hover, .subnav a.active { color: var(--ink); border-color: var(--teal); }

/* ---------- Type & utilities ---------- */
h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.95rem);
  font-weight: 300; line-height: 1.22; letter-spacing: .005em;
  text-wrap: balance;
}
h3 { font-size: 1.28rem; font-weight: 400; line-height: 1.35; }
h4 { font-size: 1rem; font-weight: 500; line-height: 1.4; }
.eyebrow {
  font-size: .68rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--teal-deep); margin-bottom: 1rem;
}
.section--night .eyebrow, .cta .eyebrow { color: #7dc0cc; }
.lede {
  font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.85;
  color: var(--body); max-width: 58ch;
}
.section--night .lede, .section--night p { color: rgba(255, 255, 255, .72); }
.muted { color: var(--muted); }

.section { padding-block: var(--space); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 92px); }
.section--cream { background: var(--cream); }
.section--night { background: var(--night); color: #fff; }
.section--night h2 { color: #fff; }
.section--night h3, .section--night h4 { color: #fff; }
.section--night .eyebrow { color: #7dc0cc; }
.section--night .split-copy p { color: rgba(255, 255, 255, .72); }
.section--night .textlink { color: #9ad3dc; border-color: rgba(154, 211, 220, .4); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.6rem 3rem; flex-wrap: wrap;
  padding-bottom: 1.35rem; margin-bottom: clamp(2rem, 3.6vw, 3.2rem);
  border-bottom: 1px solid var(--line);
}
.section-head .head-copy { max-width: 62ch; }
.section-head h2 { margin-top: .1em; }
.section-head p { margin-top: .9rem; color: var(--body); max-width: 56ch; }
.section--night .section-head { border-color: rgba(255, 255, 255, .16); }
.section--night .section-head p { color: rgba(255, 255, 255, .68); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 2rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 clamp(1.4rem, 2.4vw, 2.1rem);
  border: 1px solid rgba(18, 25, 26, .5); background: transparent; color: var(--ink);
  text-decoration: none; font-size: .84rem; letter-spacing: .1em;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.button.primary { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.button.primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.button.light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.button.light:hover { background: #fff; color: var(--night); border-color: #fff; }

.textlink {
  display: inline-block; color: var(--teal-deep); text-decoration: none;
  border-bottom: 1px solid rgba(66, 153, 169, .4); padding-bottom: .08em;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.textlink:hover { color: var(--teal); border-color: var(--teal); }

/* ---------- Media ---------- */
figure.media { margin: 0; min-width: 0; }
figure.media img { width: 100%; height: auto; }
figure.media.portrait img {
  aspect-ratio: 4 / 5; object-fit: cover; object-position: top center;
  background: var(--cream);
}
figure.media.landscape img { aspect-ratio: 4 / 3; object-fit: cover; background: var(--cream); }
figure.media.contain img { aspect-ratio: 4 / 3; object-fit: contain; background: var(--cream); }
figure.media figcaption, figcaption {
  margin-top: .8rem; font-size: .66rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}
.section--night figure.media figcaption { color: rgba(255, 255, 255, .45); }

/* ---------- Split ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(2.4rem, 6vw, 6rem);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split.reverse .split-copy { order: 1; }
.split-copy > * + * { margin-top: 1.1rem; }
.split-copy > .actions { margin-top: 2rem; }
.split-copy > .note { margin-top: 1.6rem; }
.split-copy h2 + p { margin-top: .4rem; }
.split-copy p { color: var(--body); max-width: 52ch; }
.split-copy .pullquote { margin-top: 2rem; }

.pullquote {
  border-left: 2px solid var(--teal); padding-left: clamp(1.2rem, 2.4vw, 2rem);
  font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.5;
  font-weight: 300; color: var(--ink); max-width: 34ch;
}
.pullquote cite {
  display: block; margin-top: 1rem; font-style: normal;
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.signature {
  display: flex; flex-direction: column; gap: .25rem;
  margin-top: 1.4rem; font-size: 1.02rem; letter-spacing: .04em;
}
.signature span {
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Facts ---------- */
.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(2.6rem, 5vw, 4.4rem);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.fact { padding: 1.6rem clamp(1rem, 2vw, 2rem) 1.6rem 0; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact dt {
  font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.fact dd { margin-top: .45rem; font-size: .95rem; letter-spacing: .02em; color: var(--ink); }

/* ---------- Cards ---------- */
.cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}
.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  padding: clamp(1.5rem, 2.6vw, 2.2rem);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover {
  transform: translateY(-4px); border-color: rgba(66, 153, 169, .55);
  box-shadow: 0 18px 44px rgba(18, 25, 26, .07);
}
.card .num {
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal-deep); margin-bottom: 1rem;
}
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .92rem; line-height: 1.75; color: var(--body); }
.card img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  background: var(--cream); margin-bottom: 1.3rem;
}
.card .textlink { margin-top: 1.2rem; align-self: flex-start; font-size: .8rem; }

/* ---------- Numbered index rows ---------- */
.index-list { border-top: 1px solid var(--line); }
.index-row {
  display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) auto;
  gap: 1.1rem; align-items: baseline;
  padding: 1.45rem 0; border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.index-row .n {
  font-size: .66rem; letter-spacing: .18em; color: var(--teal-deep);
  position: relative; top: -.2em;
}
.index-row h3 { font-weight: 300; }
.index-row p { margin-top: .35rem; font-size: .9rem; color: var(--body); max-width: 52ch; }
.index-row .arrow { color: var(--teal-deep); transition: transform .25s var(--ease); }
a.index-row:hover .arrow { transform: translateX(4px); }

/* ---------- Steps & timeline ---------- */
.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.4rem, 2.6vw, 2.4rem);
}
.step { padding-top: 1.15rem; border-top: 1px solid var(--line); }
.step .n {
  font-size: .64rem; letter-spacing: .2em; color: var(--teal-deep);
  text-transform: uppercase;
}
.step h3 { margin: .6rem 0 .4rem; font-size: 1.1rem; }
.step p { font-size: .88rem; line-height: 1.75; color: var(--body); }
.section--night .step { border-color: rgba(255, 255, 255, .18); }
.section--night .step p { color: rgba(255, 255, 255, .68); }

.timeline {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.4rem, 2.6vw, 2.4rem);
}
.phase { border-top: 2px solid var(--teal); padding-top: 1.2rem; }
.phase .when {
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal-deep);
}
.phase h3 { margin: .55rem 0 .45rem; font-size: 1.15rem; }
.phase p { font-size: .9rem; line-height: 1.78; color: var(--body); }

/* ---------- Checklist ---------- */
.check-list { list-style: none; margin-top: 1.6rem; border-top: 1px solid var(--line); }
.check-list li {
  display: flex; gap: .9rem; align-items: baseline;
  padding: .9rem 0; border-bottom: 1px solid var(--line);
  font-size: .92rem; color: var(--ink);
}
.check-list li::before { content: "—"; color: var(--teal); flex: none; }
.section--night .check-list, .section--night .check-list li { border-color: rgba(255, 255, 255, .16); }
.section--night .check-list li { color: rgba(255, 255, 255, .82); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.8rem);
}
.gallery--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery figure {
  display: flex; flex-direction: column;
  background: var(--cream); border: 1px solid var(--line); padding: .65rem;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.gallery figure:hover { border-color: rgba(66, 153, 169, .5); box-shadow: 0 16px 38px rgba(18, 25, 26, .07); }
.gallery img {
  width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain;
  background: #fff; cursor: zoom-in;
}
.gallery--two img { aspect-ratio: 4 / 3; }
.gallery--masonry { display: block; columns: 2; column-gap: clamp(1rem, 2vw, 1.8rem); }
.gallery--masonry figure {
  break-inside: avoid; margin: 0 0 clamp(1rem, 2vw, 1.8rem);
}
.gallery--masonry img { width: 100%; height: auto; aspect-ratio: auto; }
@media (max-width: 700px) { .gallery--masonry { columns: 1; } }
.gallery figcaption {
  display: flex; justify-content: space-between; gap: .8rem;
  padding: .85rem .2rem .2rem; font-size: .62rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.gallery figcaption b { font-weight: 400; color: var(--ink); letter-spacing: .12em; }
.gallery .tag { color: var(--teal-deep); white-space: nowrap; }

.filters {
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
  margin: 0 0 clamp(1.6rem, 3vw, 2.4rem);
}
.filters button {
  border: 1px solid var(--line); background: #fff; color: var(--body);
  padding: .65em 1.1em; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.filters button:hover { border-color: var(--teal); color: var(--teal-deep); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters .count {
  margin-left: auto; font-size: .66rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}

.wide-figure { margin-top: clamp(2.4rem, 5vw, 4rem); }
.wide-figure img { width: 100%; height: auto; background: var(--cream); }
.wide-figure--portrait { max-width: 900px; margin-inline: auto; }
[data-zoom] { cursor: zoom-in; }
.wide-figure figcaption {
  margin-top: .9rem; text-align: center;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
}
.faq-list details { border-bottom: 1px solid var(--line); padding: 1.3rem 0; }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  font-size: 1.02rem; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex: none; color: var(--teal-deep);
  font-size: 1.2rem; font-weight: 300; line-height: 1;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p {
  margin-top: .9rem; font-size: .92rem; line-height: 1.8; color: var(--body);
}
.section--night .faq-list, .section--night .faq-list details { border-color: rgba(255, 255, 255, .16); }
.section--night .faq-list summary { color: #fff; }
.section--night .faq-list details p { color: rgba(255, 255, 255, .7); }

/* ---------- Note / disclaimer ---------- */
.note {
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  font-size: .76rem; line-height: 1.8; color: var(--muted);
  max-width: 76ch;
}
.disclaimer {
  background: var(--cream); border-top: 1px solid var(--line);
  padding-block: 2.6rem;
}
.disclaimer p {
  font-size: .74rem; line-height: 1.9; color: var(--muted); max-width: 96ch;
}

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--night); color: #fff;
  padding-block: clamp(3.6rem, 7vw, 6.4rem);
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80% 130% at 88% 10%, rgba(66, 153, 169, .22), transparent 58%),
    radial-gradient(60% 100% at 4% 100%, rgba(66, 153, 169, .1), transparent 60%);
}
.cta-inner {
  display: grid; grid-template-columns: minmax(0, 1.25fr) auto;
  gap: 2rem clamp(2rem, 5vw, 5rem); align-items: end;
}
.cta h2 { font-size: clamp(2rem, 4vw, 3.4rem); color: #fff; max-width: 20ch; }
.cta p { margin-top: 1rem; color: rgba(255, 255, 255, .68); max-width: 48ch; }
.cta .actions { margin-top: 0; justify-content: flex-end; }

/* ---------- Footer ---------- */
.site-foot {
  background: var(--night); color: rgba(255, 255, 255, .62);
  padding-block: clamp(3rem, 6vw, 4.6rem) 4.8rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.foot-grid {
  display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: 2.4rem clamp(2rem, 4vw, 4rem);
}
.foot-brand .wordmark { color: #fff; }
.foot-brand .wordmark-text small { opacity: .55; }
.foot-brand p {
  margin-top: 1.2rem; max-width: 34ch;
  font-size: .8rem; line-height: 1.8; color: rgba(255, 255, 255, .55);
}
.foot-col h5 {
  font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255, 255, 255, .58); font-weight: 400; margin-bottom: 1.1rem;
}
.foot-col a, .foot-col p {
  display: block; font-size: .8rem; line-height: 1.9;
  color: rgba(255, 255, 255, .72); text-decoration: none; margin-bottom: .35rem;
}
.foot-col a:hover { color: var(--teal); }
.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem;
  margin-top: clamp(2.4rem, 4vw, 3.4rem); padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .66rem; letter-spacing: .1em; color: rgba(255, 255, 255, .42);
}

/* ---------- Floating consultation ---------- */
.text-us {
  position: fixed; z-index: 45;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  background: var(--teal-deep); color: #fff; text-decoration: none;
  font-size: .8rem; letter-spacing: .07em;
  padding: .95em 1.5em;
  box-shadow: 0 12px 30px rgba(8, 30, 34, .3);
  transition: background .25s var(--ease), transform .25s var(--ease), opacity .25s var(--ease), visibility .25s var(--ease);
}
.text-us:hover { background: var(--teal-dark); color: #fff; transform: translateY(-2px); }
.text-us.is-hidden { opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none; }

/* ---------- Lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 90;
  display: none; place-items: center;
  padding: 4vmin;
  background: rgba(6, 14, 15, .95);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.lb.open { display: grid; }
.lb img {
  max-width: 100%; max-height: 84vh; width: auto; height: auto;
  object-fit: contain; background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
}
.lb .lb-cap {
  position: absolute; left: 0; right: 0; bottom: 2.2rem;
  text-align: center; padding-inline: 1.5rem;
  font-size: .72rem; letter-spacing: .1em; color: rgba(255, 255, 255, .72);
}
.lb .lb-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  background: none; border: 0; color: #fff;
  font-size: 2rem; font-weight: 300; line-height: 1;
}
.lb .lb-close:hover { color: var(--teal); }

/* ---------- Reveal ---------- */
html.js .reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .chip { display: none; }
  .mast-meta.optional { display: none; }
  .page-no { font-size: clamp(5rem, 18vw, 9rem); bottom: 0; opacity: .8; }
}

@media (max-width: 900px) {
  :root { --mast-h: 60px; }
  .subnav .shell {
    -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent);
    mask-image: linear-gradient(90deg, #000 90%, transparent);
  }
  .mast-tools { gap: .55rem; font-size: .68rem; letter-spacing: .12em; }
  .mast-tools .mast-meta { display: none; }
  .wordmark-text { font-size: .88rem; letter-spacing: .2em; }
  .wordmark-text small { font-size: .46rem; letter-spacing: .26em; }

  .pagehead { padding-top: calc(var(--mast-h) + 2.8rem); }
  .pagehead h1 { max-width: 20ch; }
  .head-meta { gap: 1rem 2rem; }

  .split, .split.reverse { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; }
  .split-media { max-width: 620px; width: 100%; }

  .cards, .steps, .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-list { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(2n) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .cta-inner { grid-template-columns: 1fr; align-items: start; }
  .cta .actions { justify-content: flex-start; }

  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }

  .text-us { font-size: .74rem; padding: .8em 1.15em; }
}

@media (max-width: 620px) {
  :root { --space: 44px; }
  html { scroll-behavior: auto; scroll-padding-top: calc(var(--mast-h) + 54px); }
  .pagehead { padding-top: calc(var(--mast-h) + 1.75rem); }
  .pagehead-bg { mask-image: none; -webkit-mask-image: none; }
  .pagehead::after {
    background: linear-gradient(90deg, rgba(11, 23, 24, .82), rgba(11, 23, 24, .38));
  }
  .section--tight { padding-block: 32px; }
  .subnav .shell { mask-image: none; -webkit-mask-image: none; }
  .subnav a { display: flex; align-items: center; min-height: 44px; padding-block: .65rem; }
  .filters button, .lb-close { min-width: 44px; min-height: 44px; }
  .gallery--two img { aspect-ratio: auto; height: auto; object-fit: contain; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .pagehead h1 { font-size: clamp(2.1rem, 9.6vw, 3rem); letter-spacing: .01em; }
  .pagehead .lede { font-size: .92rem; }
  .pagehead .head-meta { display: grid; grid-template-columns: 1fr 1fr; }
  .page-no { display: none; }

  .section-head { gap: 1rem; }
  .cards, .steps, .timeline { grid-template-columns: 1fr; }
  .gallery, .gallery--two { grid-template-columns: 1fr; }
  .gallery figure > img { aspect-ratio: auto; }

  .filters { gap: .4rem; }
  .filters .count { width: 100%; margin-left: 0; }

  .pullquote { font-size: 1.2rem; }
  .cta .actions { flex-direction: column; align-items: stretch; }
  .cta .button { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-brand { grid-column: auto; }
  .foot-bottom { display: grid; }
}
