/* Dr. Shrinath Barathan: site styles for design version v4 ("Health Care").
   An original stylesheet in the manner of a bright clinic template: a bento grid of
   rounded colour panels (violet, sky blue, pink), huge pale words behind headings,
   pale grey sections and pill buttons. No template code or assets are used.
   Layout uses logical properties (inline-start/end) so Arabic mirrors itself. */

/* ── Fonts ────────────────────────────────────────────────────────────────── */

/* DM Sans (SIL OFL), Latin. Russian pages use PT Sans; Arabic text uses Noto Sans
   Arabic, with DM Sans for Latin runs inside it. Licences are in assets/fonts/. */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pt-sans-400-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pt-sans-400-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pt-sans-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pt-sans-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/pt-sans-700-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/pt-sans-700-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/pt-sans-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/pt-sans-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans Arabic";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/noto-sans-arabic-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* ── Tokens ───────────────────────────────────────────────────────────────── */

:root {
  --ink: #0c171a;
  --body: #5f6663;
  --muted: #6b716e;
  --line: #e6e6e3;
  --paper: #f5f5f3;
  --field: #f5f5f3;

  --violet: #4b168c;        /* 11.7:1 with white */
  --violet-hover: #360c68;
  --violet-soft: #efe7f9;
  --lilac: #a978e6;
  --on-violet: #e3d4f5;     /* body text on violet, 8.4:1 */
  --sky: #1a6fd6;           /* 4.9:1 with white */
  --sky-deep: #0d4fb3;
  --sky-bright: #48b3ff;    /* decoration only */
  --sky-soft: #e3effc;
  --pink: #f1aafa;
  --pink-soft: #fbe8fd;
  --yellow: #ffe81a;
  --yellow-soft: #fff7bf;
  --green: #1f7a4f;         /* 5.3:1 with white */
  --green-soft: #e0f2e8;
  --error: #b3261e;

  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tracking: -0.025em;

  --edge: clamp(8px, 1.4vw, 20px);         /* panels inset from the window */
  --pad: clamp(18px, 3.4vw, 50px);         /* content inset */
  --max: 1240px;
  --radius: 16px;
  --radius-sm: 12px;
  --space: clamp(70px, 8.4vw, 130px);      /* between sections */

  /* Booking widget */
  --cb-ink: var(--ink);
  --cb-muted: var(--muted);
  --cb-rule: var(--line);
  --cb-surface: #fff;
  --cb-accent: var(--violet);
  --cb-font: 400 16px/1.6 var(--sans);
}
:lang(ru) {
  --sans: "PT Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tracking: -0.005em;
}
:lang(ar) {
  --sans: "DM Sans", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  /* Letter-spacing breaks the joins between Arabic letters. */
  --tracking: 0;
}
:lang(en) {
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tracking: -0.025em;
}

/* ── Base ─────────────────────────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
/* Anchor targets and form fields stop below the sticky logo bar: a margin on them, not
   scroll-padding on html, so focusing the sticky menu button never scrolls the page. */
[id],
input,
select,
textarea {
  scroll-margin-top: 110px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--violet);
}
:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}
:where(ul[role="list"], ol[role="list"]) {
  margin: 0;
  padding: 0;
  list-style: none;
}
[hidden] {
  display: none !important;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.ltr {
  direction: ltr;
  unicode-bidi: isolate;
}
.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--violet);
  color: #fff;
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
}
.tile--violet :focus-visible,
.tile--sky :focus-visible,
.duo :focus-visible,
.appoint__card :focus-visible,
.approach > .wrap > .head :focus-visible,
.stat--violet :focus-visible,
.stat--green :focus-visible,
.banner :focus-visible,
.profile-card :focus-visible,
.box--cta :focus-visible,
.call-card :focus-visible,
.testi-hero :focus-visible,
.site-footer :focus-visible {
  outline-color: #fff;
}

.icon {
  flex: none;
}
.icon .a {
  stroke: var(--sky);
}

/* ── Layout ───────────────────────────────────────────────────────────────── */

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin-inline: auto;
  padding-inline: var(--pad);
}
.wrap-edge {
  margin-inline: var(--edge);
}
main > * + * {
  margin-top: var(--space);
}
.head {
  max-width: 46rem;
}
.head--center {
  margin-inline: auto;
  text-align: center;
}
.stack {
  display: grid;
  gap: 16px;
}
.mt-s {
  margin-top: 14px;
}
.mt-l {
  margin-top: 34px;
}

/* ── Type ─────────────────────────────────────────────────────────────────── */

.h1,
.h2,
.h3,
.h4,
.h5 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: var(--tracking);
  text-wrap: balance;
}
.h1 {
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 1.04;
  font-weight: 700;
}
.h2 {
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.12;
}
.h3 {
  font-size: clamp(25px, 2.4vw, 36px);
  line-height: 1.15;
}
.h4 {
  font-size: clamp(19px, 1.5vw, 22px);
  line-height: 1.3;
}
.h5 {
  font-size: 19px;
  line-height: 1.3;
}
:lang(ar) .h1,
:lang(ar) .h2,
:lang(ar) .h3 {
  line-height: 1.35;
}
.h1--light,
.h2--light,
.h3--light {
  color: #fff;
}
.h3--violet {
  color: var(--violet);
}
.eyebrow {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}
.eyebrow--light {
  color: #fff;
}
.eyebrow--violet {
  color: var(--violet);
}
.body {
  color: var(--body);
  font-size: 17px;
  line-height: 1.7;
}
.body--lg {
  font-size: clamp(18px, 1.5vw, 20px);
}
.body--sm {
  font-size: 15.5px;
  line-height: 1.65;
}
.note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.pill {
  display: inline-flex;
  align-self: start;
  justify-self: start;
  width: fit-content;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--violet-soft);
  color: var(--violet);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
}
.checks {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
}
.checks .i-check {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 4px;
}
.checks--light li {
  color: #fff;
}
.ticks {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ticks li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--body);
  font-size: 15.5px;
  line-height: 1.5;
}
.ticks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--violet);
  transform: rotate(45deg);
}
.star-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.star-list li {
  position: relative;
  padding-inline-start: 26px;
  color: var(--body);
  font-size: 16px;
  line-height: 1.6;
}
.star-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 3px;
  top: 0.5em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--sky);
  transform: rotate(45deg);
}
.i-arrow {
  flex: none;
  transition: transform 0.25s ease;
}
[dir="rtl"] .i-arrow {
  transform: scaleX(-1);
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.actions--center {
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 28px;
  border: 1.5px solid var(--violet);
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font: 600 15.5px/1.2 var(--sans);
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover {
  border-color: var(--violet-hover);
  background: var(--violet-hover);
  color: #fff;
}
.btn:hover .i-arrow {
  transform: translate(2px, -2px);
}
[dir="rtl"] .btn:hover .i-arrow {
  transform: scaleX(-1) translate(2px, -2px);
}
.btn--sm {
  min-height: 46px;
  padding: 10px 22px;
  font-size: 14.5px;
}
.btn--xs {
  min-height: 44px;
  padding: 8px 18px;
  font-size: 14px;
}
.btn--sky {
  border-color: var(--sky);
  background: var(--sky);
}
.btn--sky:hover {
  border-color: #fff;
  background: #fff;
  color: var(--violet);
}
.btn--white {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}
.btn--white:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.75);
  background: transparent;
  color: #fff;
}
.btn--ghost:hover {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}
.btn--line {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}
.btn--line:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.btn--line-violet {
  border-color: var(--violet);
  background: transparent;
  color: var(--violet);
}
.btn--line-violet:hover {
  background: var(--violet);
  color: #fff;
}

/* ── Top bar and masthead ─────────────────────────────────────────────────── */

.topbar {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 400 14px/1.4 "DM Sans", system-ui, sans-serif;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 22px;
  min-height: 46px;
  padding-inline: calc(var(--edge) + 12px);
}
.topbar__views {
  margin-inline-end: auto;
}
.topbar__places,
.topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.topbar .icon {
  width: 17px;
  height: 17px;
  color: var(--violet);
}
.topbar .icon .a {
  stroke: var(--violet);
}
.topbar__phone {
  color: var(--ink);
  font-weight: 600;
}
.langs {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Each language link is a 44 px tap target; the visible pill is drawn smaller behind it. */
.langs a {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  color: var(--ink);
  /* The same fonts on every page, so the switcher never changes with the language. */
  font: 500 13px/1.2 "DM Sans", system-ui, -apple-system, "Segoe UI", "Geeza Pro", Tahoma, sans-serif;
}
.langs a::before {
  content: "";
  position: absolute;
  inset: 10px 0;
  z-index: -1;
  border-radius: 999px;
}
.langs a:hover {
  color: var(--violet);
}
.langs a:hover::before {
  background: var(--violet-soft);
}
.langs a[aria-current="true"] {
  color: #fff;
}
.langs a[aria-current="true"]::before {
  background: var(--violet);
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
}
.masthead__bar {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 78px;
  padding-block: 12px;
  padding-inline: calc(var(--edge) + 12px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand:hover {
  color: var(--ink);
}
/* The practice's three-hexagon mark, the same logo as every other version. */
.brand img {
  flex: none;
  width: auto;
  height: 42px;
}
.brand__text {
  display: grid;
  line-height: 1.12;
}
.brand__name {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: var(--tracking);
  white-space: nowrap;
}
.brand__post {
  color: var(--muted);
  font: 500 12px/1.5 "DM Sans", system-ui, sans-serif;
  letter-spacing: 0.04em;
}
.menu-button {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-inline-start: auto;
  border: 0;
  border-radius: 14px;
  background: var(--violet);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.menu-button:hover {
  background: var(--violet-hover);
}
[dir="rtl"] .menu-button svg {
  transform: scaleX(-1);
}
html:not(.js) .menu-button {
  display: none;
}

/* ── Menu ─────────────────────────────────────────────────────────────────────
   With site.js: a dialog fixed to the top of the window, wherever the page is
   scrolled, over a translucent backdrop. Without it: a plain block of links under
   the logo bar, so every link stays reachable. */

.menu {
  padding: 0 var(--edge) 12px;
  background: #fff;
}
.menu__inner {
  padding: 18px var(--pad) 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
html:not(.js) .menu__head {
  display: none;
}
.js .menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 210;
  max-height: 100vh;
  max-height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 0 6px;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 30px 70px rgba(28, 8, 56, 0.28);
}
.js .menu:not(.is-open) {
  display: none;
}
.js .menu__inner {
  padding: 0;
  border: 0;
}
.js .menu__head {
  border-bottom: 1px solid var(--line);
}
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(28, 8, 56, 0.55);
}
.menu-open,
.menu-open body {
  overflow: hidden;
}
.menu-open body {
  padding-right: var(--scrollbar, 0px);
}
.menu__body {
  display: grid;
  gap: 22px;
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin-inline: auto;
  padding: 18px var(--pad) 24px;
}
html:not(.js) .menu__body {
  padding: 0;
}
.menu__links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu__links a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(21px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: var(--tracking);
}
.menu__links a:hover,
.menu__links a[aria-current="page"] {
  color: var(--violet);
}
.menu__links a[aria-current="page"]::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-inline-start: 14px;
  border-radius: 3px;
  background: var(--sky);
  transform: rotate(45deg);
}
.menu__cta {
  width: 100%;
  margin-top: 18px;
}
.menu__side {
  display: grid;
  align-content: start;
  gap: 14px;
}
.menu__label {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.menu__group .langs {
  flex-wrap: wrap;
  gap: 8px;
}
.menu__group .langs a {
  padding-inline: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 14.5px;
}
.menu__group .langs a::before {
  display: none;
}
.menu__group .langs a:hover {
  border-color: var(--violet);
}
.menu__group .langs a[aria-current="true"] {
  border-color: var(--violet);
  background: var(--violet);
  color: #fff;
}
.menu__group .views button {
  min-height: 40px;
  padding-inline: 14px;
  background: #fff;
}
.menu__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: #cfc4dd;
  text-underline-offset: 5px;
}
.menu__legal a:hover,
.menu__legal a[aria-current="page"] {
  color: var(--violet);
  text-decoration-color: currentColor;
}
@media (min-width: 900px) {
  .menu__body {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(28px, 4vw, 64px);
    padding-block: 30px 36px;
  }
  .menu__cta {
    width: auto;
    margin-top: 26px;
  }
  .menu__side {
    gap: 20px;
    padding: 26px 28px;
    border-radius: var(--radius);
    background: var(--violet-soft);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .js .menu.is-open .menu__body {
    animation: menu-in 0.28s ease-out both;
  }
  .js .menu-backdrop:not([hidden]) {
    animation: fade-in 0.2s ease-out both;
  }
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}

/* Region: US visitors on an English page get no language switcher (site.js sets geo-us). */
html.geo-us[lang="en"] [data-langs] {
  display: none !important;
}

.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 25;
  height: 3px;
  pointer-events: none;
}

/* Device views (Full / Laptop / Tablet / Mobile). site.js unhides them on desktops. */
.views {
  display: flex;
  align-items: center;
  gap: 4px;
}
.views button {
  display: flex;
  align-items: center;
  padding: 5px 9px;
  border: 0;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.views .views__full {
  padding: 5px 11px;
  font: 600 11.5px/1.2 "DM Sans", system-ui, -apple-system, "Segoe UI", "Geeza Pro", Tahoma, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.views button:hover {
  background: var(--violet-soft);
}
.views button[aria-pressed="true"] {
  background: var(--violet);
  color: #fff;
}
.is-framed body {
  overflow: hidden;
}
.is-framed body > :not(.device-desk) {
  display: none !important;
}
.device-desk {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  overflow: auto;
  background: #e3dcec;
}
.device-frame {
  flex: none;
  max-width: none;
  height: 100%;
  border: 0;
  background: #fff;
  box-shadow: 0 18px 60px rgba(28, 8, 56, 0.24);
}
.in-frame .progress {
  display: none;
}
@media (max-width: 960px) {
  .topbar__inner {
    justify-content: space-between;
  }
  .topbar__views,
  .topbar__places {
    display: none;
  }
}
@media (max-width: 420px) {
  .brand__name {
    font-size: 17px;
  }
  .brand img {
    width: auto;
    height: 34px;
  }
  .masthead__bar {
    min-height: 68px;
  }
}

/* ── Home: hero bento ─────────────────────────────────────────────────────── */

.bento {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.tile--violet {
  background: var(--violet);
  color: #fff;
}
.tile--sky {
  background: var(--sky);
  color: #fff;
}
.tile--pink {
  background: var(--pink);
  color: var(--violet);
}
.ghost-word {
  position: absolute;
  top: clamp(10px, 1.6vw, 26px);
  inset-inline-start: clamp(22px, 4vw, 64px);
  margin: 0;
  color: rgba(255, 255, 255, 0.13);
  font: 700 clamp(84px, 13.5vw, 212px)/0.9 "DM Sans", sans-serif;
  letter-spacing: -0.05em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.ghost-word--pink {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(72px, 10vw, 150px);
}
.bento__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: end;
  gap: 34px clamp(24px, 4vw, 60px);
  min-height: clamp(520px, 44vw, 660px);
  padding: clamp(150px, 15vw, 230px) clamp(22px, 4.4vw, 64px) clamp(28px, 4vw, 60px);
}
.bento__lead,
.bento__side {
  position: relative;
}
.badge-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.badge-line__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}
.badge-line .icon {
  width: 26px;
  height: 26px;
}
.badge-line .icon .a {
  stroke: var(--pink);
}
.who {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--on-violet);
  font-size: 15px;
  line-height: 1.4;
}
.who img {
  width: 52px;
  height: 52px;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
}
.who strong {
  display: block;
  color: #fff;
  font-size: 18px;
}
.bento__statement {
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 600;
  line-height: 1.45;
}
.bento__side .checks {
  margin-bottom: 28px;
}
.bento__photo {
  min-height: 360px;
  background: var(--paper);
}
.bento__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}
.bento__book {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 16px;
  padding: clamp(26px, 3vw, 44px);
}
/* Large faint rounded crosses, drawn inline. */
.bento__book::before,
.approach::before,
.approach::after {
  content: "";
  position: absolute;
  top: -24px;
  inset-inline-end: -24px;
  width: 210px;
  height: 210px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M40 4h20a6 6 0 0 1 6 6v24h24a6 6 0 0 1 6 6v20a6 6 0 0 1-6 6H66v24a6 6 0 0 1-6 6H40a6 6 0 0 1-6-6V66H10a6 6 0 0 1-6-6V40a6 6 0 0 1 6-6h24V10a6 6 0 0 1 6-6z' fill='%23fff' fill-opacity='.11'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}
.tile__icon .icon {
  width: 60px;
  height: 60px;
  color: #fff;
}
.tile__icon .icon .a {
  stroke: var(--yellow);
}
.bento__book .h3,
.bento__book .tile__body {
  position: relative;
}
.tile__body {
  max-width: 26em;
  color: #fff;
  font-size: 17px;
  line-height: 1.6;
}
.bento__book .btn {
  margin-top: 8px;
}
.bento__reach {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}
.bento__book {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}
@media (min-width: 961px) {
  .bento {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  }
  .bento__hero {
    grid-column: 1 / 3;
  }
  .bento__photo {
    grid-column: 3 / 4;
  }
  .bento__book {
    grid-column: 1 / 2;
  }
  .bento__reach {
    grid-column: 2 / 4;
  }
}
.bento__reach {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 30%);
  column-gap: clamp(18px, 2.4vw, 34px);
  padding: 0 clamp(22px, 3vw, 44px);
}
.bento__reach-items {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: end;
  gap: 24px;
  padding-block: clamp(110px, 10vw, 150px) clamp(26px, 3vw, 44px);
}
.reach {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 10px;
}
.reach .h3 {
  font-size: clamp(22px, 1.9vw, 28px);
}
.reach p {
  color: #3a1070;
  font-size: 15.5px;
  line-height: 1.55;
}
.reach .btn {
  margin-top: 6px;
}
.reach__icon .icon {
  width: 42px;
  height: 42px;
  color: var(--violet);
}
.reach__icon .icon .a {
  stroke: var(--violet);
}
.bento__reach-photo {
  position: relative;
  align-self: end;
  padding-top: 24px;
}
.bento__reach-photo img {
  width: 100%;
  max-height: 420px;
  aspect-ratio: 2 / 3;
  border: 6px solid #fff;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  object-fit: cover;
  object-position: 50% 0;
  background: #fff;
}

@media (max-width: 960px) {
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }
  .bento__hero,
  .bento__photo,
  .bento__book,
  .bento__reach {
    grid-column: auto;
    grid-row: auto;
  }
  .bento__hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .bento__photo {
    aspect-ratio: 4 / 5;
    max-height: 640px;
  }
}
@media (max-width: 640px) {
  .bento__reach {
    grid-template-columns: minmax(0, 1fr);
  }
  .bento__reach-items {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 96px;
  }
  .bento__reach-photo {
    width: 62%;
    margin-inline: auto;
    padding-top: 0;
  }
}

/* ── Home: about ──────────────────────────────────────────────────────────── */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
}
.collage {
  position: relative;
  padding-block: 50px 70px;
  padding-inline: clamp(40px, 6vw, 80px) clamp(60px, 9vw, 120px);
}
.collage__main img {
  width: 100%;
  aspect-ratio: 5 / 6;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: 50% 10%;
  background: var(--paper);
}
.collage__small {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  width: 46%;
  padding: 8px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(28, 8, 56, 0.12);
}
.collage__small img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  object-fit: cover;
}
.collage__badge {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  display: grid;
  gap: 4px;
  width: min(300px, 80%);
  padding: 24px 26px;
  border-radius: 0 0 var(--radius) var(--radius);
  border-start-start-radius: var(--radius);
  border-start-end-radius: var(--radius);
  background: var(--violet);
  color: var(--on-violet);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}
.collage__badge-top {
  color: #fff;
  font-size: clamp(19px, 2vw, 26px);
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.collage__badge-mark {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
}
.collage__badge-mark .icon {
  width: 30px;
  height: 30px;
  color: #fff;
}
.collage__badge-mark .icon .a {
  stroke: var(--pink);
}
.collage__badge-top {
  padding-inline-end: 38px;
}
.about__text {
  display: grid;
  gap: 18px;
  justify-items: start;
}
.about__text .eyebrow {
  margin-bottom: -6px;
}
.rows {
  width: 100%;
  margin: 8px 0 12px;
  border-top: 1px solid var(--line);
}
.rows > div {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 20px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}
.rows dt {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: var(--tracking);
}
.rows dd {
  color: var(--body);
  font-size: 16px;
  line-height: 1.6;
}
@media (max-width: 960px) {
  .about {
    grid-template-columns: minmax(0, 1fr);
  }
  .collage {
    max-width: 560px;
  }
}
@media (max-width: 480px) {
  .rows > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

/* ── Home: departments ────────────────────────────────────────────────────── */

.departments,
.team,
.endorse {
  padding-block: var(--space);
  background-color: var(--paper);
}
.departments {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66L0 50V17L28 1l28 16v33L28 66zm0 32V66' fill='none' stroke='%234b168c' stroke-opacity='.06' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 98px;
  background-repeat: repeat-x;
  background-position: 0 0;
}
.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: clamp(36px, 4vw, 56px);
}
.dept {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px 10px 30px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}
.dept > :not(.dept__top) {
  margin-inline: 18px;
}
.dept__top {
  position: relative;
  height: 150px;
  margin-bottom: 44px;
  border-radius: var(--radius-sm);
}
.dept__top--violet { background: var(--violet-soft); --dot: var(--lilac); }
.dept__top--sky { background: var(--sky-soft); --dot: var(--sky); }
.dept__top--green { background: var(--green-soft); --dot: #2f9e66; }
.dept__top--pink { background: var(--pink-soft); --dot: #d57be3; }
.dept__top--yellow { background: var(--yellow-soft); --dot: #f2cf00; }
.dept__tag {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  padding: 3px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.dept__icon {
  position: absolute;
  bottom: -40px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border: 6px solid #fff;
  border-radius: 50%;
  background: var(--dot);
  transform: translateX(-50%);
}
.dept__icon .icon {
  width: 40px;
  height: 40px;
  color: #fff;
}
.dept__icon .icon .a {
  stroke: #fff;
}
.dept__top--yellow .dept__icon .icon,
.dept__top--yellow .dept__icon .icon .a {
  color: var(--ink);
  stroke: var(--ink);
}
.dept .h4 {
  text-align: center;
}
.dept > .body {
  text-align: center;
}
.dept .ticks {
  margin-top: 6px;
  padding: 18px 18px;
  border-radius: var(--radius-sm);
  background: var(--paper);
}
@media (max-width: 1000px) {
  .dept-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .dept-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ── Home: two blue panels ────────────────────────────────────────────────── */

.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.departments + .duo {
  margin-top: 10px;
}
.duo__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 18px;
  overflow: hidden;
  min-height: 420px;
  padding: 0 clamp(22px, 3.4vw, 50px);
  border-radius: var(--radius);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66L0 50V17L28 1l28 16v33L28 66zm0 32V66' fill='none' stroke='%23ffffff' stroke-opacity='.08' stroke-width='1'/%3E%3C/svg%3E") 0 0 / 56px 98px,
    linear-gradient(160deg, var(--sky) 0%, var(--sky-deep) 100%);
  color: #fff;
}
.duo__panel--deep {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66L0 50V17L28 1l28 16v33L28 66zm0 32V66' fill='none' stroke='%23ffffff' stroke-opacity='.08' stroke-width='1'/%3E%3C/svg%3E") 0 0 / 56px 98px,
    linear-gradient(160deg, var(--sky-deep) 0%, #0a3c8c 100%);
}
.duo__text {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 16px;
  padding-block: clamp(34px, 4vw, 60px);
}
.duo__text .eyebrow {
  margin-bottom: -6px;
}
.duo__text .h3 {
  font-size: clamp(24px, 2.2vw, 34px);
}
.duo__text .checks {
  margin-block: 4px 10px;
}
.duo__body {
  color: #fff;
  font-size: 16.5px;
  line-height: 1.6;
}
.duo__text .btn {
  margin-top: 6px;
}
.duo__photo {
  align-self: end;
}
.duo__photo img {
  width: 100%;
  max-height: 360px;
  aspect-ratio: 2 / 3;
  border-radius: 999px 999px 0 0;
  object-fit: cover;
  object-position: 50% 0;
  background: #eef0f2;
}
@media (max-width: 1100px) {
  .duo {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .duo__panel {
    grid-template-columns: minmax(0, 1fr);
  }
  .duo__photo {
    width: 58%;
    margin-inline: auto;
  }
  .duo__text {
    padding-bottom: 8px;
  }
}

/* ── Home: the physician ──────────────────────────────────────────────────── */

.team__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(36px, 4vw, 56px);
}
.doctor,
.fact {
  display: grid;
  align-content: start;
  gap: 8px;
}
.doctor__photo img,
.fact__icon {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-sm);
  object-fit: cover;
  object-position: 50% 10%;
}
.doctor__photo {
  margin-bottom: 14px;
}
.doctor .h4 {
  font-size: 22px;
}
.doctor__post {
  margin-top: -6px;
  color: var(--muted);
  font-size: 15px;
}
.doctor .btn {
  justify-self: start;
  margin-top: 8px;
}
.doctor__links {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.doctor__links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--violet);
  text-decoration: underline;
  text-decoration-color: #cfc4dd;
  text-underline-offset: 4px;
}
.fact__icon {
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.fact__icon .icon {
  width: 96px;
  height: 96px;
  color: #fff;
}
.fact__icon .icon .a {
  stroke: #fff;
}
.fact--violet .fact__icon { background: var(--violet); }
.fact--sky .fact__icon { background: var(--sky); }
.fact--pink .fact__icon { background: var(--pink); }
.fact--pink .fact__icon .icon,
.fact--pink .fact__icon .icon .a {
  color: var(--violet);
  stroke: var(--violet);
}
.fact__label {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: var(--tracking);
}
.fact__body {
  color: var(--body);
  font-size: 15.5px;
  line-height: 1.6;
}
@media (max-width: 1100px) {
  .team__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .team__row {
    grid-template-columns: minmax(0, 1fr);
  }
  .fact__icon {
    aspect-ratio: 16 / 9;
  }
}

/* ── Home: appointment ────────────────────────────────────────────────────── */

.team + .appoint {
  margin-top: 10px;
}
.appoint {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}
.appoint__photo {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: var(--radius);
  background: var(--paper);
}
.appoint__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.appoint__card {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 16px;
  padding: clamp(28px, 4vw, 60px);
  border-radius: var(--radius);
  background: var(--violet);
  color: #fff;
}
.appoint__card .eyebrow {
  margin-bottom: -6px;
}
.appoint__body {
  color: var(--on-violet);
  font-size: 17px;
  line-height: 1.65;
}
.appoint__note {
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: var(--on-violet);
  font-size: 14.5px;
  line-height: 1.55;
}
.appoint__card .actions {
  margin-top: 8px;
}
@media (max-width: 900px) {
  .appoint {
    grid-template-columns: minmax(0, 1fr);
  }
  .appoint__photo {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}

/* ── Home: care across borders ────────────────────────────────────────────── */

.approach {
  position: relative;
  overflow: hidden;
  padding-block: clamp(60px, 7vw, 110px);
  border-radius: var(--radius);
  background: var(--sky);
}
.approach::before {
  top: 34px;
  inset-inline-end: 6%;
  width: 180px;
  height: 180px;
}
.approach::after {
  top: auto;
  bottom: -40px;
  inset-inline-end: auto;
  inset-inline-start: 4%;
  width: 120px;
  height: 120px;
}
.approach .head {
  position: relative;
}
.approach__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: clamp(36px, 4vw, 56px);
}
.card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: #fff;
}
.card__icon .icon {
  width: 52px;
  height: 52px;
  margin-bottom: 8px;
  color: var(--violet);
}
@media (max-width: 1100px) {
  .approach__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .approach__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ── Home: numbers ────────────────────────────────────────────────────────── */

.stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  gap: 20px;
}
.stats__col {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}
.stat {
  display: grid;
  align-content: end;
  gap: 4px;
  min-height: 220px;
  padding: 30px;
  border-radius: var(--radius);
}
.stat__icon {
  margin-bottom: auto;
}
.stat__icon .icon {
  width: 46px;
  height: 46px;
}
.stat__value {
  margin-top: 18px;
  font-size: clamp(44px, 4.2vw, 60px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat__label {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}
.stat--yellow {
  background: var(--yellow);
  color: var(--violet);
}
.stat--yellow .icon,
.stat--yellow .icon .a {
  color: var(--violet);
  stroke: var(--violet);
}
.stat--violet {
  background: var(--violet);
  color: #fff;
}
.stat--violet .icon .a {
  stroke: var(--pink);
}
.stat--green {
  background: var(--green);
  color: #fff;
}
.stat--green .icon .a {
  stroke: var(--yellow);
}
.stat--pink {
  align-content: center;
  background: var(--pink);
  color: var(--violet);
}
.stat--pink .eyebrow {
  margin-bottom: 8px;
  font-size: 15px;
}
.stat__title {
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: var(--tracking);
}
.stats__photo {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: var(--radius);
  background: var(--paper);
}
.stats__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
}
@media (max-width: 960px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats__photo {
    grid-column: 1 / -1;
    grid-row: 1;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}
@media (max-width: 520px) {
  .stats,
  .stats__col {
    gap: 12px;
  }
  .stat {
    min-height: 190px;
    padding: 22px;
  }
}

/* ── Home: record and committees ──────────────────────────────────────────── */

.record__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: clamp(30px, 3.4vw, 48px);
}
.shot {
  display: grid;
  align-content: start;
}
.shot__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: 55% 20%;
  background: var(--paper);
}
.shot__card {
  position: relative;
  display: grid;
  gap: 10px;
  margin: -110px 14px 0;
  padding: 24px;
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: 0 18px 44px rgba(28, 8, 56, 0.12);
}
.rail {
  margin-top: clamp(50px, 6vw, 80px);
  padding: clamp(26px, 3.4vw, 50px);
  border-radius: var(--radius);
  background: var(--paper);
}
.rail__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 30px;
}
.rail__buttons {
  display: flex;
  gap: 10px;
}
.rail__button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--violet);
  border-radius: 50%;
  background: #fff;
  color: var(--violet);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.rail__button:hover:not(:disabled) {
  background: var(--violet);
  color: #fff;
}
.rail__button:disabled {
  opacity: 0.35;
  cursor: default;
}
[dir="rtl"] .rail__button svg {
  transform: scaleX(-1);
}
.rail__track {
  display: grid;
  grid-auto-columns: minmax(250px, calc((100% - 3 * 16px) / 4));
  grid-auto-flow: column;
  gap: 16px;
  margin-top: 28px;
  padding-bottom: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.rail-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius-sm);
  background: #fff;
  scroll-snap-align: start;
}
.rail-card__icon .icon {
  width: 40px;
  height: 40px;
  color: var(--violet);
}
.rail-card__years {
  justify-self: start;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--violet-soft);
  color: var(--violet);
  font-size: 13.5px;
  font-weight: 600;
}
.rail-card__name {
  color: var(--ink);
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.45;
}
@media (max-width: 960px) {
  .record__grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
  }
  .shot__photo img {
    aspect-ratio: 16 / 11;
  }
  .shot__card {
    margin-top: -70px;
  }
}
@media (max-width: 480px) {
  .rail__track {
    grid-auto-columns: 82%;
  }
}

/* ── Home: in his words ───────────────────────────────────────────────────── */

.words__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr);
  gap: 22px;
  margin-top: clamp(36px, 4vw, 56px);
}
.words__portrait {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
}
.words__portrait img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: 50% 15%;
}
.words__portrait figcaption {
  position: absolute;
  bottom: 16px;
  inset-inline: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  line-height: 1.4;
}
.words__portrait strong {
  display: block;
  font-size: 16px;
}
.words__quote,
.quote-card {
  position: relative;
  display: grid;
  align-content: center;
  gap: 24px;
  overflow: hidden;
  padding: clamp(28px, 4.4vw, 64px);
  border-radius: var(--radius);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66L0 50V17L28 1l28 16v33L28 66zm0 32V66' fill='none' stroke='%234b168c' stroke-opacity='.07' stroke-width='1'/%3E%3C/svg%3E");
  background-position: right bottom;
  background-size: 56px 98px;
}
.words__mark .icon {
  width: 56px;
  height: 56px;
  color: var(--violet);
}
.words__quote blockquote,
.quote-card blockquote {
  margin: 0;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: var(--tracking);
}
.quote-card blockquote {
  font-size: clamp(19px, 1.7vw, 23px);
}
.words__quote figcaption,
.quote-card figcaption {
  color: var(--violet);
  font-size: 16px;
  font-weight: 700;
}
@media (max-width: 860px) {
  .words__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .words__portrait img {
    aspect-ratio: 4 / 4.2;
    height: auto;
  }
}

/* ── Home: affiliations and publications ──────────────────────────────────── */

.affiliations__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 52px;
  padding: clamp(28px, 3.4vw, 48px) clamp(20px, 4vw, 60px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.affiliations__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3f4643;
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-align: center;
}
.affiliations__list li.affiliations__name::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--pink);
  transform: rotate(45deg);
}
/* Institutional logos (the same files as v2's about page). Names without a logo file
   stay as text. Permission for the marks: see CONTENT-REVIEW.md. */
.affiliations__list img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 56px;
  object-fit: contain;
}
/* Optical balance: the Cedars-Sinai wordmark is wide with no padding; the seal is round. */
.affiliations__list .affiliations__logo--wide img {
  height: 32px;
}
.affiliations__list .affiliations__logo--seal img {
  height: 66px;
}
@media (max-width: 620px) {
  .affiliations__list {
    gap: 20px 32px;
  }
  .affiliations__list img {
    height: 46px;
  }
  .affiliations__list .affiliations__logo--wide img {
    height: 26px;
  }
  .affiliations__list .affiliations__logo--seal img {
    height: 54px;
  }
}
.papers__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
}
.papers__head > div {
  max-width: 44rem;
}
.papers__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(30px, 3.4vw, 48px);
}
.paper {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
  justify-items: start;
  gap: 14px;
}
.paper__top {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 4px;
  border-radius: var(--radius);
  background: var(--violet-soft);
}
.papers__grid .paper:nth-child(2) .paper__top {
  background: var(--sky-soft);
}
.papers__grid .paper:nth-child(3) .paper__top {
  background: var(--pink-soft);
}
.paper__icon .icon {
  width: 72px;
  height: 72px;
  color: var(--violet);
}
.paper__source {
  width: 100%;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--violet);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.paper__title {
  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
@media (max-width: 960px) {
  .papers__grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
  }
}

/* ── Inner pages: banner ──────────────────────────────────────────────────── */

.banner {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: clamp(260px, 30vw, 420px);
  margin-top: 10px;
  border-radius: var(--radius);
  background: #1c0838;
}
.banner__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 30%;
}
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 8, 56, 0.86) 0%, rgba(28, 8, 56, 0.62) 42%, rgba(28, 8, 56, 0.08) 80%);
}
[dir="rtl"] .banner::after {
  background: linear-gradient(270deg, rgba(28, 8, 56, 0.86) 0%, rgba(28, 8, 56, 0.62) 42%, rgba(28, 8, 56, 0.08) 80%);
}
[dir="rtl"] .banner__photo {
  object-position: 20% 30%;
}
.banner__text {
  position: relative;
  z-index: 1;
  padding-block: 40px;
}
.banner .h1 {
  max-width: 13em;
  font-size: clamp(36px, 4.6vw, 64px);
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}
.crumbs li + li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-inline: 14px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}
.crumbs a {
  color: #fff;
}
.crumbs a:hover {
  color: var(--pink);
}
@media (max-width: 640px) {
  .banner::after,
  [dir="rtl"] .banner::after {
    background: linear-gradient(0deg, rgba(28, 8, 56, 0.88) 0%, rgba(28, 8, 56, 0.55) 55%, rgba(28, 8, 56, 0.15) 100%);
  }
  .banner {
    align-items: flex-end;
    min-height: 300px;
  }
  .banner__photo,
  [dir="rtl"] .banner__photo {
    object-position: 72% 30%;
  }
}

/* ── About ────────────────────────────────────────────────────────────────── */

.profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  align-items: start;
  gap: clamp(28px, 4vw, 56px);
}
.profile__side {
  display: grid;
  gap: 10px;
}
.profile__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: 50% 12%;
  background: var(--paper);
}
.profile-card {
  display: grid;
  gap: 10px;
  padding: 28px 26px;
  border-radius: var(--radius);
  background-color: var(--violet);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66L0 50V17L28 1l28 16v33L28 66zm0 32V66' fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 98px;
  color: var(--on-violet);
  text-align: center;
}
.profile-card__name {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: var(--tracking);
}
.profile-card__post {
  color: #fff;
  font-size: 14.5px;
}
.profile-card__lede {
  margin-top: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 15px;
  line-height: 1.65;
}
.profile-card__links-h {
  margin-top: 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.profile-card__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.profile-card__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--violet);
  font-size: 14px;
  font-weight: 600;
}
.profile-card__links a:hover {
  background: var(--pink);
  color: var(--violet);
}
.profile__main {
  display: grid;
  gap: 26px;
}
.box {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.box__title {
  font-size: clamp(21px, 1.8vw, 26px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: var(--tracking);
}
.box--tint {
  overflow: hidden;
  padding-top: 0;
  border: 0;
  background: var(--sky-soft);
}
.box__photo {
  margin-inline: calc(-1 * clamp(24px, 3vw, 40px));
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.box__photo img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: 50% 30%;
}
.cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px clamp(24px, 3vw, 44px);
  margin-top: -30px;
}
.cols .box__title {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(12, 23, 26, 0.12);
}
.entries {
  display: grid;
  gap: 14px;
}
.entries li {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}
.entries__years {
  justify-self: start;
  padding: 1px 10px;
  border-radius: 999px;
  background: var(--violet-soft);
  color: var(--violet);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.8;
  white-space: nowrap;
}
.box--tint .entries__years {
  background: #fff;
}
.entries__title {
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.45;
}
.entries__place {
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.5;
}
.glance-list {
  display: grid;
  gap: 0;
}
.glance-list > div {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
  gap: 20px;
  padding-block: 14px;
  border-top: 1px solid var(--line);
}
.glance-list dt {
  color: var(--violet);
  font-size: 15px;
  font-weight: 700;
}
.glance-list dd {
  color: var(--body);
  font-size: 15.5px;
  line-height: 1.55;
}
.pubs {
  display: grid;
  gap: 0;
}
.pubs article {
  display: grid;
  gap: 6px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
}
.pubs h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}
.pubs p {
  color: var(--body);
  font-size: 14.5px;
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--violet);
  font-size: 15px;
  font-weight: 600;
}
.offices {
  display: grid;
  gap: 10px;
}
.offices--row {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.address {
  font-style: normal;
  line-height: 1.55;
}
.box--cta {
  border: 0;
  background: var(--violet);
  color: var(--on-violet);
}
.box--cta p {
  font-size: 16.5px;
  line-height: 1.6;
}
.box--cta .offices {
  margin-top: 6px;
  font-size: 15px;
}
.box--wide {
  grid-template-columns: minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 20px 40px;
}
.box--wide > div:first-child {
  display: grid;
  gap: 10px;
}
@media (max-width: 900px) {
  .profile {
    grid-template-columns: minmax(0, 1fr);
  }
  .profile__side {
    position: static;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
  }
  .profile__photo img {
    height: 100%;
  }
  .box--wide {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .profile__side {
    grid-template-columns: minmax(0, 1fr);
  }
  .cols {
    grid-template-columns: minmax(0, 1fr);
    margin-top: -10px;
  }
  .glance-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}
@media (max-width: 420px) {
  .entries li {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

/* ── Testimonials ─────────────────────────────────────────────────────────── */

.testi-hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.testi-hero__text {
  position: relative;
  overflow: hidden;
  padding: clamp(130px, 13vw, 200px) clamp(22px, 4.4vw, 64px) clamp(28px, 4vw, 56px);
  border-radius: var(--radius);
  background: var(--violet);
  color: var(--on-violet);
}
.testi-hero__text > :not(.ghost-word) {
  position: relative;
}
.testi-hero .h1 {
  max-width: 15em;
  font-size: clamp(34px, 4.2vw, 58px);
}
.testi-hero__body {
  display: grid;
  gap: 16px;
  max-width: 44rem;
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.7;
}
.testi-hero__lede {
  color: #fff;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  line-height: 1.5;
}
.testi-hero .crumbs ol {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 15px;
}
.testi-hero__photo {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--radius);
  background: var(--paper);
}
.testi-hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
}
.endorse__empty {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 640px;
  margin: clamp(30px, 3.4vw, 48px) auto 0;
  padding: clamp(32px, 4vw, 56px) 28px;
  border: 2px dashed #d4c3ea;
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
}
.endorse__icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--pink-soft);
}
.endorse__icon .icon {
  width: 40px;
  height: 40px;
  color: var(--violet);
}
.endorse__empty p {
  color: var(--body);
  font-size: 18px;
  line-height: 1.6;
}
.endorse__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 22px;
  margin-top: clamp(30px, 3.4vw, 48px);
}
.endorse__item figure {
  display: grid;
  gap: 16px;
  height: 100%;
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
}
.endorse__item blockquote {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}
.endorse__item figcaption span {
  display: block;
  color: var(--muted);
  font-size: 14.5px;
}
.endorse + section {
  margin-top: clamp(40px, 5vw, 70px);
}
@media (max-width: 960px) {
  .testi-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .testi-hero__photo {
    aspect-ratio: 1;
    min-height: 0;
    max-height: 520px;
  }
}

/* ── Contact ──────────────────────────────────────────────────────────────── */

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: clamp(32px, 4vw, 52px);
}
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--body);
  font-size: 15.5px;
  line-height: 1.6;
}
.info-card h2 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
}
.info-card a {
  color: var(--ink);
  font-weight: 700;
}
.info-card__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: var(--violet-soft);
}
.info-card__icon--sky {
  background: var(--sky-soft);
}
.info-card__icon--pink {
  background: var(--pink-soft);
}
.info-card__icon .icon {
  width: 32px;
  height: 32px;
  color: var(--violet);
}
.contact-main {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}
.contact-main > .oval:last-child {
  margin-top: 80px;
}
.oval {
  overflow: hidden;
  border-radius: 999px;
  background: var(--sky-soft);
}
.oval--pink {
  background: var(--pink-soft);
}
.oval img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: 50% 10%;
  mix-blend-mode: multiply;
}
.contact-card {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 3.4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 60px rgba(28, 8, 56, 0.06);
  text-align: center;
}
.notice {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--body);
  font-size: 15px;
  line-height: 1.6;
  text-align: start;
}
#clinic-booking {
  text-align: start;
}
@media (max-width: 1000px) {
  .info-cards {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin-inline: auto;
  }
  .contact-main {
    grid-template-columns: minmax(0, 1fr);
  }
  .oval {
    display: none;
  }
}

/* ── Request an appointment ───────────────────────────────────────────────── */

.request-panel {
  position: relative;
  overflow: hidden;
  padding-block: clamp(50px, 6vw, 90px);
  border-radius: var(--radius);
  background: var(--sky-soft);
}
.request-panel__ghost {
  position: absolute;
  top: clamp(20px, 3vw, 40px);
  inset-inline: 0;
  overflow: hidden;
  color: rgba(26, 111, 214, 0.08);
  font: 700 clamp(56px, 9vw, 140px)/1 "DM Sans", "PT Sans", "Noto Sans Arabic", sans-serif;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}
.request-panel .head {
  position: relative;
}
.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: clamp(30px, 4vw, 50px);
}
.request-aside {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 16px;
}
.request-aside__photo {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: var(--radius);
  background: #fff;
}
.request-aside__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}
.call-card {
  display: grid;
  gap: 6px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--violet);
  color: #fff;
}
.call-card__icon .icon {
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
  color: #fff;
}
.call-card__icon .icon .a {
  stroke: var(--pink);
}
.call-card p {
  color: var(--on-violet);
  font-size: 14.5px;
}
.call-card a {
  justify-self: start;
  color: #fff;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.call-card a:hover {
  color: var(--pink);
}
@media (max-width: 900px) {
  .request-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .request-aside {
    grid-template-rows: auto;
  }
  .request-aside__photo {
    display: none;
  }
}

.request-form {
  padding: clamp(22px, 3.2vw, 44px);
  border-radius: var(--radius);
  background: #fff;
}
.request-form__title {
  font-size: clamp(23px, 2vw, 30px);
  font-weight: 700;
  letter-spacing: var(--tracking);
}
.request-form__intro {
  margin: 6px 0 24px;
  color: var(--body);
  font-size: 14.5px;
}
.request-form__intro a {
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.request-form__fields {
  display: grid;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.request-form__fields:disabled {
  opacity: 0.55;
}
.request-form__summary {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fdecea;
  color: #8f1d15;
  font-size: 15px;
  font-weight: 600;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
}
/* Floating labels: the label sits inside the field until there is a value or focus. */
.field {
  position: relative;
  min-width: 0;
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 58px;
  padding: 24px 18px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--field);
  color: var(--ink);
  font: 400 16px/1.4 var(--sans);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea {
  min-height: 150px;
  line-height: 1.55;
  resize: vertical;
}
.field input:hover,
.field textarea:hover {
  border-color: #d2c6e0;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--violet);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(75, 22, 140, 0.12);
}
.field label {
  position: absolute;
  top: 18px;
  inset-inline: 19px;
  overflow: hidden;
  color: var(--muted);
  font: 400 15px/1.3 var(--sans);
  white-space: nowrap;
  text-overflow: ellipsis;
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.18s ease, color 0.18s ease;
}
[dir="rtl"] .field label {
  transform-origin: right top;
}
.field__hint {
  color: #858b88;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field input[type="date"] + label,
.field input[type="time"] + label {
  transform: translateY(-11px) scale(0.78);
  color: var(--violet);
}
.field.is-invalid input,
.field.is-invalid textarea,
.field--phone.is-invalid {
  border-color: var(--error);
}
.field.is-invalid label {
  color: var(--error);
}
.field__error {
  margin-top: 6px;
  color: var(--error);
  font-size: 14px;
  font-weight: 600;
}
.field__error--phone {
  margin-top: -8px;
}
.field__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: -4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.field__note svg {
  flex: none;
  margin-top: 3px;
  color: var(--violet);
}
.field__note--wide {
  grid-column: 1 / -1;
  margin-top: -6px;
}
.field--phone {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--field);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.field--phone:focus-within {
  border-color: var(--violet);
  background: #fff;
}
.field--phone select,
.field--phone input {
  border: 0;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none !important;
}
.field--phone select {
  height: 100%;
  padding: 0 30px 0 16px;
  border-inline-end: 1px solid var(--line);
  appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%234b168c' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  font: 600 15px/1 var(--sans);
  cursor: pointer;
}
.field--phone input:focus {
  background: transparent;
}
.field--phone select:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: -4px;
}
.choice {
  min-width: 0;
  margin: 6px 0 0;
  padding: 0;
  border: 0;
}
.choice legend,
.request-form__question {
  margin-bottom: 10px;
  padding: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}
.choice__options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}
.choice__option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--body);
  font-size: 15.5px;
  cursor: pointer;
}
.choice__option input {
  display: grid;
  flex: none;
  place-content: center;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1.5px solid #858b88;
  border-radius: 50%;
  background: #fff;
  appearance: none;
  cursor: pointer;
}
.choice__option input::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--violet);
  transform: scale(0);
  transition: transform 0.18s ease;
}
.choice__option input:checked {
  border-color: var(--violet);
}
.choice__option input:checked::before {
  transform: scale(1);
}
.choice__schedule {
  margin-top: 16px;
}
.field--area {
  margin-top: 6px;
}
.field--area > .field__note {
  margin-top: 8px;
}
.request-form__submit {
  width: 100%;
  margin-top: 10px;
}
.request-form__done {
  display: grid;
  gap: 18px;
  justify-items: start;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500;
  line-height: 1.5;
}
.request-form__done:focus {
  outline: none;
}

/* ── Privacy Policy and Terms ─────────────────────────────────────────────── */

.legal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  align-items: start;
  gap: clamp(28px, 4vw, 60px);
}
.legal__side {
  position: sticky;
  top: 100px;
}
.legal__toc {
  display: grid;
  gap: 12px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--paper);
}
.legal__toc-h {
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
}
.legal__toc ol {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}
.legal__toc li {
  counter-increment: toc;
}
.legal__toc a {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.4;
}
.legal__toc li:last-child a {
  border-bottom: 0;
}
.legal__toc a::before {
  content: counter(toc, decimal-leading-zero);
  flex: none;
  min-width: 1.8em;
  color: var(--violet);
  font-weight: 700;
}
.legal__toc a:hover {
  color: var(--violet);
}
.legal__main {
  display: grid;
  gap: clamp(22px, 2.6vw, 34px);
  max-width: 50rem;
  counter-reset: legal;
}
.legal__section {
  display: grid;
  gap: 14px;
  padding-top: clamp(22px, 2.6vw, 34px);
  border-top: 1px solid var(--line);
  counter-increment: legal;
  scroll-margin-top: 110px;
}
.legal__h {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(21px, 1.8vw, 26px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: var(--tracking);
  text-wrap: balance;
}
/* Section numbers match the contents list. */
.legal__h::before {
  content: counter(legal, decimal-leading-zero);
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--violet-soft);
  color: var(--violet);
  font-size: 14px;
  font-weight: 700;
}
@media (max-width: 900px) {
  .legal {
    grid-template-columns: minmax(0, 1fr);
  }
  .legal__side {
    position: static;
  }
}

/* ── Footer ───────────────────────────────────────────────────────────────── */

.site-footer {
  margin-top: var(--space);
  padding-block: clamp(46px, 5.4vw, 80px) 26px;
  background: var(--violet);
  color: var(--on-violet);
  font-size: 15.5px;
}
.site-footer a {
  color: #fff;
}
.site-footer a:hover {
  color: var(--pink);
}
.site-footer .btn--white {
  color: var(--violet);
}
.site-footer .btn--white:hover {
  border-color: var(--pink);
  background: var(--pink);
  color: var(--violet);
}
.site-footer .btn--ghost:hover {
  color: var(--violet);
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding-bottom: clamp(32px, 4vw, 54px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.site-footer__eyebrow {
  margin-bottom: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.site-footer__title {
  max-width: 20em;
  color: #fff;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: var(--tracking);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 36px clamp(24px, 3vw, 50px);
  padding-block: clamp(32px, 4vw, 54px);
}
.brand--light,
.brand--light:hover {
  color: #fff;
}
.brand--light .brand__post {
  color: var(--on-violet);
}
.brand--light img {
  height: 46px;
}
.site-footer__about > p {
  max-width: 24em;
  margin-top: 18px;
  line-height: 1.7;
}
.site-footer__h {
  margin-bottom: 14px;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
}
.site-footer__about .site-footer__h {
  margin-top: 22px;
  margin-bottom: 10px;
  font-size: 16px;
}
.site-footer__links {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--on-violet);
}
.site-footer__links a:hover,
.site-footer__links a[aria-current="page"] {
  color: #fff;
}
.site-footer__profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__profiles a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 14px;
}
.site-footer__profiles a:hover {
  background: #fff;
  color: var(--violet);
}
.site-footer__contact {
  align-self: start;
  display: grid;
  justify-items: start;
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
}
.site-footer__contact .site-footer__h {
  margin-bottom: 0;
}
.contact-lines {
  display: grid;
  gap: 14px;
}
.contact-lines li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.55;
}
.contact-lines .icon {
  width: 24px;
  height: 24px;
  margin-top: 1px;
  color: #fff;
}
.contact-lines .icon .a {
  stroke: var(--pink);
}
.contact-lines strong {
  color: #fff;
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14.5px;
}
.site-footer__legal nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__legal nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-violet);
}
.site-footer__legal nav a:hover,
.site-footer__legal nav a[aria-current="page"] {
  color: #fff;
}
@media (max-width: 1100px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ── Motion ───────────────────────────────────────────────────────────────── */

/* GSAP (motion.js) runs the scroll animation. site.js adds .motion to <html>
   (never with reduced motion) so animated blocks start hidden instead of flashing,
   and it comes off again once motion.js is ready or has failed. */
.motion [data-up],
.motion [data-line],
.motion [data-stat] {
  opacity: 0;
}
.motion [data-wipe] {
  clip-path: inset(100% 0 0 0);
}
@media (prefers-reduced-motion: no-preference) {
  [data-hero-bit] {
    animation: rise 1s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
  }
  [data-hero-bit]:nth-child(2) { animation-delay: 0.09s; }
  [data-hero-bit]:nth-child(3) { animation-delay: 0.18s; }
  [data-hero-bit]:nth-child(4) { animation-delay: 0.27s; }
  .banner__photo {
    animation: settle 1.6s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
}
@keyframes settle {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
}
.progress span {
  display: block;
  height: 100%;
  background: var(--sky);
  transform: scaleX(0);
  transform-origin: left center;
}
[dir="rtl"] .progress span {
  transform-origin: right center;
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .progress span {
      animation: progress 1s linear both;
      animation-timeline: scroll(root block);
    }
  }
}
@keyframes progress {
  to {
    transform: scaleX(1);
  }
}

@media print {
  .topbar,
  .masthead,
  .menu,
  .menu-backdrop,
  .progress,
  .site-footer,
  .rail__buttons {
    display: none;
  }
  [data-hero-bit],
  [data-up],
  [data-line],
  [data-stat],
  [data-wipe] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}
