/* =========================================================================
   SLADENT — Editorial design system
   Serif: Fraunces · Sans: Manrope · Mono: JetBrains Mono
   Palette: ivory · ink · clinical teal · refined brass
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght,SOFT@0,9..144,300..700,0..100;1,9..144,300..700,0..100&family=Manrope:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* -------------------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------------------- */
:root {
  /* Cool clinical surfaces — pair with navy */
  --ivory:        #F2F4F8;
  --ivory-warm:   #E5EAF1;
  --paper:        #F8FAFC;
  --cream:        #EAEEF4;

  /* Frost (used for inverted/section breaks) */
  --frost:        #DDE6EF;
  --frost-deep:   #C4D2E2;

  --ink:          #0A1A2E;
  --ink-2:        #1E2D45;
  --ink-mute:     #5A6A80;
  --ink-soft:     #95A0B0;

  --rule:         #C7D2DF;
  --rule-soft:    #DCE3EC;
  --rule-blue:    #B6CADD;
  --rule-faint:   rgba(10, 26, 46, 0.08);

  /* Primary palette — clinical navy blue */
  --blue:         #1956A8;
  --blue-deep:    #0A2540;
  --blue-soft:    #6E94C4;
  --blue-tint:    rgba(25, 86, 168, 0.07);
  --blue-glow:    #4F86D6;
  --blue-bright:  #2D74C9;

  /* Legacy --teal* tokens alias to --blue* */
  --teal:         var(--blue);
  --teal-deep:    var(--blue-deep);
  --teal-soft:    var(--blue-soft);
  --teal-tint:    var(--blue-tint);

  /* Champagne accent — quieter, cooler than brass; used only for italic display */
  --brass:        #A1845B;
  --brass-deep:   #7D6536;
  --brass-soft:   #C9B189;
  --brass-tint:   rgba(161, 132, 91, 0.10);

  --serif:        'Fraunces', 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --sans:         'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono:         'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;

  --t-mega:       clamp(3.5rem, 11vw, 9rem);
  --t-display:    clamp(2.75rem, 7.5vw, 6rem);
  --t-h1:         clamp(2.25rem, 5.5vw, 4.25rem);
  --t-h2:         clamp(1.875rem, 4vw, 3rem);
  --t-h3:         clamp(1.25rem, 2.4vw, 1.75rem);
  --t-h4:         1.0625rem;
  --t-body:       1.0625rem;
  --t-body-lg:    1.1875rem;
  --t-small:      0.875rem;
  --t-mini:       0.75rem;
  --t-eyebrow:    0.6875rem;

  --container:        1320px;
  --container-narrow: 920px;
  --gutter:           clamp(1.25rem, 4vw, 3.5rem);
  --section-y:        clamp(5rem, 10vw, 9rem);

  --tx-fast:      180ms cubic-bezier(0.4, 0, 0.2, 1);
  --tx-base:      380ms cubic-bezier(0.22, 0.61, 0.36, 1);
  --tx-slow:      700ms cubic-bezier(0.22, 0.61, 0.36, 1);
  --tx-glide:     1200ms cubic-bezier(0.22, 0.61, 0.36, 1);

  --shadow-1:     0 1px 0 var(--rule);
  --shadow-2:     0 14px 40px -22px rgba(14, 79, 92, 0.28);
  --shadow-3:     0 24px 60px -28px rgba(14, 79, 92, 0.34);
}

/* -------------------------------------------------------------------------
   2. Reset / base
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;     /* iOS 26 — ensure body extends into safe-area */
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

button {
  font-family: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  color: inherit;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color var(--tx-fast);
}
a:hover { color: var(--teal); }

ul, ol { margin: 0; padding: 0; list-style: none; }

::selection {
  background: var(--teal);
  color: var(--ivory);
}

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

/* -------------------------------------------------------------------------
   3. Typography
   ------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 350;
  letter-spacing: -0.015em;
  line-height: 1.04;
  color: var(--ink);
  margin: 0 0 1.25rem;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
}

h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.15; }
h4 {
  font-size: var(--t-h4);
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: var(--ink); }
em, i { font-style: italic; }

.serif-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-variation-settings: 'opsz' 144, 'SOFT' 60;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--sans);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 1.5rem;
}
.eyebrow::before {
  content: '';
  width: 1.75rem;
  height: 1px;
  background: var(--brass);
}

.mono {
  font-family: var(--mono);
  font-weight: 400;
  letter-spacing: 0;
  font-feature-settings: 'tnum';
}

.section-subtitle {
  font-family: var(--sans);
  font-size: var(--t-body-lg);
  color: var(--ink-mute);
  font-weight: 300;
  max-width: 52ch;
  line-height: 1.55;
  margin: 0 0 2.5rem;
}

blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  line-height: 1.35;
  color: var(--ink);
  font-variation-settings: 'opsz' 144, 'SOFT' 70;
}
cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: var(--t-small);
  font-style: normal;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* -------------------------------------------------------------------------
   4. Layout primitives
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: var(--section-y) 0;
  position: relative;
}

.rule {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0;
}

/* -------------------------------------------------------------------------
   5. Header / navigation
   ------------------------------------------------------------------------- */
header[role="banner"] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid var(--rule-soft);
  transition: background 320ms ease, border-color 320ms ease, box-shadow 320ms ease, padding var(--tx-base);
}
header.scrolled {
  box-shadow: 0 1px 12px rgba(15, 24, 37, 0.06);
}

/* Homepage only: navbar starts transparent over the dark hero, then
   becomes solid white once the user scrolls past it. */
body:has(.hero-section) header[role="banner"]:not(.scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

/* Light navbar contents while transparent over the dark hero */
body:has(.hero-section) header[role="banner"]:not(.scrolled) .logo-link,
body:has(.hero-section) header[role="banner"]:not(.scrolled) .logo-link span {
  color: var(--ivory);
}
body:has(.hero-section) header[role="banner"]:not(.scrolled) .sladent-logo {
  filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}
body:not(.menu-open):has(.hero-section) header[role="banner"]:not(.scrolled) .hamburger span {
  background: var(--ivory);
}
body:has(.hero-section) header[role="banner"]:not(.scrolled) .cta-btn {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.95);
}
body:has(.hero-section) header[role="banner"]:not(.scrolled) .cta-btn:hover {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--ivory);
}

@media (min-width: 961px) {
  body:has(.hero-section) header[role="banner"]:not(.scrolled) .nav-links > li > a {
    color: rgba(242, 244, 248, 0.88);
  }
  body:has(.hero-section) header[role="banner"]:not(.scrolled) .nav-links > li > a::after {
    background: var(--brass-soft);
  }
  body:has(.hero-section) header[role="banner"]:not(.scrolled) .nav-links > li > a.active {
    color: var(--ivory);
  }
}

/* When the mobile menu opens (ivory overlay), force dark logo + icons
   even though the navbar is still "not scrolled" technically. */
body.menu-open header[role="banner"] .logo-link,
body.menu-open header[role="banner"] .logo-link span {
  color: var(--ink);
}
body.menu-open header[role="banner"] .sladent-logo {
  filter: none;
}

.navbar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.1rem var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  transition: padding var(--tx-base);
}
header.scrolled .navbar { padding-top: 0.85rem; padding-bottom: 0.85rem; }

.logo-area { display: flex; align-items: center; }
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.sladent-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.25rem;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  position: relative;
  padding: 0.35rem 0;
}
.nav-links a span { position: relative; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--teal);
  transition: right var(--tx-base);
}
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--teal); }

.cta-btn {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  color: var(--ivory);
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 999px;
  position: relative;
  transition: background var(--tx-base), color var(--tx-base);
}
/* Hide mobile-only items on desktop */
.nav-links__phone { display: none; }

/* Language toggle */
.nav-links__lang { margin-right: 0.25rem; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 32px;
  padding: 0 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid currentColor;
  border-radius: 999px;
  text-decoration: none;
  transition: background var(--tx-base), color var(--tx-base), border-color var(--tx-base);
}
.lang-toggle:hover { background: var(--ink); color: var(--ivory); }
body:has(.hero-section) header[role="banner"]:not(.scrolled) .lang-toggle {
  color: var(--ivory);
}
body:has(.hero-section) header[role="banner"]:not(.scrolled) .lang-toggle:hover {
  background: var(--ivory);
  color: var(--ink);
}

.cta-btn::after {
  content: '→';
  margin-left: 0.6rem;
  display: inline-block;
  transition: transform var(--tx-base);
}
.cta-btn:hover { background: var(--teal-deep); }
.cta-btn:hover::after { transform: translateX(3px); }

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1000;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.hamburger span {
  position: absolute;
  left: 50%;
  margin-left: -11px;
  width: 22px;
  height: 1.75px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 200ms ease, top 200ms ease;
}
.hamburger span:nth-child(1) { top: calc(50% - 6px); }
.hamburger span:nth-child(2) { top: calc(50% - 1px); }
.hamburger span:nth-child(3) { top: calc(50% + 4px); }
.hamburger.active span:nth-child(1) {
  top: calc(50% - 1px);
  transform: rotate(45deg);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  top: calc(50% - 1px);
  transform: rotate(-45deg);
}

@media (max-width: 960px) {
  .navbar { grid-template-columns: 1fr auto; gap: 1rem; }
  .cta-btn { display: none; }
  .hamburger { display: block; }

  /* Bulletproof full-screen mobile menu */
  .nav-links {
    display: flex !important;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    z-index: 999;
    padding: 5.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    pointer-events: none;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 280ms ease, transform 360ms cubic-bezier(0.22, 0.61, 0.36, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.show {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
  }
  body.menu-open { overflow: hidden; }
  .nav-links a {
    font-family: var(--serif);
    font-size: clamp(1.75rem, 6.5vw, 2.5rem);
    font-weight: 350;
    letter-spacing: -0.01em;
    color: var(--ink);
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 360ms ease, transform 400ms cubic-bezier(0.22, 0.61, 0.36, 1), color var(--tx-fast);
  }
  .nav-links li:not(:last-child) {
    border-bottom: 1px solid var(--rule-soft);
  }
  .nav-links.show a {
    opacity: 1;
    transform: translateY(0);
  }
  .nav-links.show li:nth-child(1) a { transition-delay: 80ms; }
  .nav-links.show li:nth-child(2) a { transition-delay: 130ms; }
  .nav-links.show li:nth-child(3) a { transition-delay: 180ms; }
  .nav-links.show li:nth-child(4) a { transition-delay: 230ms; }
  .nav-links.show li:nth-child(5) a { transition-delay: 280ms; }
  .nav-links.show li:nth-child(6) a { transition-delay: 330ms; }
  .nav-links a::after { display: none; }
  .nav-links a.active {
    color: var(--blue);
    font-style: italic;
    font-variation-settings: 'opsz' 144, 'SOFT' 80;
  }
  .nav-links li { text-align: left; }

  /* Phone link inside mobile nav — pushed to bottom of menu */
  .nav-links__phone {
    display: block;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 0;
    text-align: left;
  }
  .nav-links li.nav-links__phone { border-bottom: 0; }
  .nav-links__phone-label {
    display: block;
    font-family: var(--mono);
    font-size: var(--t-mini);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 0.5rem;
  }
  .nav-links__phone-num {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--blue);
    font-style: italic;
  }

  /* Language toggle on mobile: pinned to top-right of the overlay menu */
  .nav-links__lang {
    order: -1;
    align-self: flex-end;
    margin: 0 0 1.5rem;
    text-align: right;
    border-bottom: 0 !important;
  }
  .nav-links li.nav-links__lang { border-bottom: 0; }

  /* Override the huge serif .nav-links a styling for the chip */
  .nav-links a.lang-toggle {
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    height: 40px;
    padding: 0 1rem;
    border: 1px solid var(--ink);
    border-radius: 999px;
    opacity: 1;
    transform: none;
    transition: background var(--tx-base), color var(--tx-base);
  }
  .nav-links a.lang-toggle:hover { background: var(--ink); color: var(--ivory); }

  /* When the menu is OPEN, the overlay has its own light background — beat the
     hero-page transparent-navbar rule and force the chip to be dark so it's
     visible regardless of scroll position. */
  body.menu-open .nav-links a.lang-toggle,
  body.menu-open:has(.hero-section) header[role="banner"]:not(.scrolled) .nav-links a.lang-toggle {
    color: var(--ink);
    border-color: var(--ink);
    background: transparent;
  }
}

/* -------------------------------------------------------------------------
   Sticky mobile action bar (bottom)
   ------------------------------------------------------------------------- */
.sticky-cta {
  display: none;
}
@media (max-width: 720px) {
  .sticky-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: linear-gradient(90deg, var(--ink) 0 50%, var(--blue) 50% 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    transform: translateY(120%);
    transition: transform 400ms cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  body.scrolled .sticky-cta { transform: translateY(0); }
  .sticky-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.1rem 0.75rem;
    color: var(--ivory);
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    min-height: 60px;
    background: transparent; /* bar's gradient shows through */
    -webkit-tap-highlight-color: transparent;
  }
  .sticky-cta a:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }
  .sticky-cta__icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
  }
  /* leave room for sticky bar above footer */
  footer[role="contentinfo"] { padding-bottom: calc(env(safe-area-inset-bottom) + 64px); }
  .final-cta-section { padding-bottom: calc(env(safe-area-inset-bottom) + 88px); }
}

/* -------------------------------------------------------------------------
   6. Buttons
   ------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1.05rem 1.85rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition: color var(--tx-base), border-color var(--tx-base), transform var(--tx-base);
  -webkit-tap-highlight-color: transparent;
  min-height: 48px;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateY(101%);
  transition: transform 500ms cubic-bezier(0.65, 0, 0.35, 1);
  background: currentColor;
}
.btn::after {
  content: '';
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--tx-base);
  margin-left: 0.25rem;
}
.btn:hover::before { transform: translateY(0); }
.btn:hover::after { transform: rotate(45deg) translate(2px, -2px); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--teal);
  color: var(--ivory);
  border-color: var(--teal);
}
.btn-primary::before { background: var(--teal-deep); }
.btn-primary:hover {
  color: var(--ivory);
  border-color: var(--teal-deep);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline::before { background: var(--ink); }
.btn-outline:hover {
  color: var(--ivory);
  border-color: var(--ink);
}

.btn-secondary {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(242, 244, 248, 0.45);
}
.btn-secondary::before { background: var(--ivory); }
.btn-secondary:hover {
  color: var(--ink);
  border-color: var(--ivory);
}

.btn-large {
  padding: 1.2rem 2.35rem;
  font-size: 0.875rem;
  min-height: 54px;
}

.btn-ghost {
  border: 0;
  border-radius: 0;
  padding: 0.5rem 0;
  color: var(--teal);
  background: none;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: none;
  font-weight: 500;
  min-height: auto;
}
.btn-ghost::before { display: none; }

/* -------------------------------------------------------------------------
   7. Hero (index)
   ------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(8rem, 16vh, 12rem) 0 clamp(6rem, 12vh, 8rem);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #0E1217;
}

/* Scroll indicator — tells users there's more below */
.hero-scroll {
  position: absolute;
  bottom: clamp(1.25rem, 3vh, 2rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  color: rgba(242, 244, 248, 0.7);
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--tx-base);
  animation: hero-scroll-in 800ms cubic-bezier(0.22, 0.61, 0.36, 1) 1.6s both;
  opacity: 0;
}
.hero-scroll:hover { color: var(--ivory); }
.hero-scroll__line {
  width: 1px;
  height: 36px;
  background: rgba(242, 244, 248, 0.3);
  position: relative;
  overflow: hidden;
}
.hero-scroll__line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: var(--brass-soft);
  animation: scroll-tick 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes hero-scroll-in {
  to { opacity: 1; }
}
@keyframes scroll-tick {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(250%); }
  100% { transform: translateY(250%); }
}
@media (max-width: 720px) {
  .hero-section {
    min-height: 100vh;
    min-height: 100dvh;
    align-items: center;
    /* asymmetric padding shifts content below the optical centre,
       leaving room above the image to breathe */
    padding: 12rem 0 5rem;
  }
  /* Keep the scroll cue but make it smaller + tighter to the bottom */
  .hero-scroll {
    bottom: calc(1.1rem + env(safe-area-inset-bottom));
    gap: 0.45rem;
    font-size: 0.5625rem;
    letter-spacing: 0.24em;
  }
  .hero-scroll__line { height: 26px; }
  /* Sticky CTA appears on scroll; fade the cue out so they don't fight */
  body.scrolled .hero-scroll { opacity: 0; pointer-events: none; }
}

.carousel-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.carousel-track {
  position: absolute;
  inset: 0;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.85) contrast(1.02);
  /* Continuous ken-burns on every image at all times — never starts or
     stops based on .active, so nothing can snap. Linear easing means
     constant velocity (no slow-down at extremes, which previously made
     the reverse feel "step by step"). */
  animation: ken-burns 20s linear infinite alternate;
  transform: translateZ(0);
  backface-visibility: hidden;
}
@keyframes ken-burns {
  from { transform: translate3d(0, 0, 0) scale(1.02); }
  to   { transform: translate3d(0, 0, 0) scale(1.10); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Neutral dark tint — no blue cast. Image keeps its true colours,
     subtle bottom-weighted gradient just enough for text contrast. */
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.50) 100%),
    linear-gradient(95deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0) 55%);
}

/* Subtle top sheen so the WHITE logo/menu icons over the transparent navbar
   always have contrast against any carousel slide. Fades out on scroll
   together with the transparent navbar state. */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  color: var(--ivory);
  max-width: min(var(--container), 60rem);
}

.eyebrow--hero {
  color: var(--brass-soft);
}
.eyebrow--hero::before { background: var(--brass-soft); }

.hero-content h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ivory);
  margin: 0 0 2rem;
  max-width: 16ch;
}
.hero-content h1 em.serif-italic {
  display: inline-block;
  color: var(--brass-soft);
  font-variation-settings: 'opsz' 144, 'SOFT' 90;
  font-weight: 350;
}

.hero-cta-group {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}
.hero-content .btn-primary {
  background: var(--ivory);
  color: var(--ink);
  border-color: var(--ivory);
}
.hero-content .btn-primary::before { background: var(--brass); }
.hero-content .btn-primary:hover {
  color: var(--ivory);
  border-color: var(--brass);
}
.btn--phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.btn__phone-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.btn__phone-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-stats {
  font-family: var(--sans);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: rgba(242, 244, 248, 0.7);
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
}
.hero-stats strong {
  color: var(--ivory);
  font-weight: 600;
}
.hero-stats__star {
  color: var(--brass-soft);
  font-size: 1rem;
  display: inline-block;
  margin-right: 0.15rem;
}
.hero-stats__sep {
  color: rgba(242, 244, 248, 0.3);
}
.hero-stats__muted {
  color: rgba(242, 244, 248, 0.55);
}

.hero-stats__group {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .hero-cta-group { width: 100%; }
  .hero-cta-group .btn { width: 100%; justify-content: center; }
  .hero-content h1 { margin-bottom: 1.5rem; }
  .hero-content .eyebrow,
  .eyebrow--hero { margin-bottom: 1.25rem; }
  .hero-cta-group { margin-bottom: 1.5rem; }
  .hero-stats {
    font-size: 0.8125rem;
    gap: 0.35rem 0.55rem;
    line-height: 1.4;
  }
  .hero-stats__addr,
  .hero-stats__sep--addr { display: none; }
}

/* -------------------------------------------------------------------------
   8. Trust strip
   ------------------------------------------------------------------------- */
.trust-bar {
  background: var(--ivory);
  color: var(--ink);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--rule);
}
.trust-bar-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--sans);
  font-size: var(--t-small);
  color: var(--ink-mute);
  letter-spacing: 0.02em;
  position: relative;
}
.trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 25%;
  bottom: 25%;
  width: 1px;
  background: var(--rule);
}
.trust-item__num {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(2rem, 3.5vw, 2.625rem);
  color: var(--ink);
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.trust-item__num sup {
  font-size: 0.55em;
  color: var(--brass);
  font-weight: 400;
  vertical-align: 0.6em;
  margin-left: 0.05em;
}
.trust-item__num small {
  font-size: 0.55em;
  color: var(--ink-mute);
  margin-left: 0.1em;
}
.trust-item__label {
  flex: 1;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  line-height: 1.45;
  text-transform: uppercase;
  font-family: var(--mono);
  color: var(--ink-mute);
}
@media (max-width: 720px) {
  .trust-bar { padding: 1.75rem 0; }
  .trust-bar-container { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1rem; }
  .trust-item { gap: 0.75rem; }
  .trust-item__num { font-size: 1.625rem; }
  .trust-item__label { font-size: 0.6rem; letter-spacing: 0.1em; }
  .trust-item:not(:last-child)::after { display: none; }
  .trust-item:nth-child(2n)::after { display: none; }
  .trust-item:nth-child(odd):not(:last-child)::after {
    content: '';
    display: block;
    position: absolute;
    right: -0.5rem;
    top: 25%;
    bottom: 25%;
    width: 1px;
    background: var(--rule);
  }
}

/* -------------------------------------------------------------------------
   9. Services grid (index)
   ------------------------------------------------------------------------- */
.we-care-section > h2,
.we-care-section > .section-subtitle {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--gutter);
}
.we-care-section > h2 {
  font-size: var(--t-h2);
  text-align: center;
  max-width: 22ch;
  margin: 0 auto 1rem;
}
.we-care-section > .section-subtitle {
  text-align: center;
  margin: 0 auto 3rem;
}

.services-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}
.service-card {
  display: block;
  padding: 2.5rem 2rem 2.25rem;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: background var(--tx-base);
}
.service-card:nth-child(3n) { border-right: 0; }
.service-card:hover { background: var(--paper); }

.service-card .service-icon {
  font-family: var(--mono);
  font-size: var(--t-mini);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1.5rem;
  display: block;
}
.service-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  font-weight: 350;
  line-height: 1.1;
  margin: 0 0 0.85rem;
  font-variation-settings: 'opsz' 144, 'SOFT' 40;
}
.service-card p {
  font-size: 0.9375rem;
  color: var(--ink-mute);
  line-height: 1.55;
  margin: 0 0 1.5rem;
}
.service-link {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.service-link::after {
  content: '→';
  transition: transform var(--tx-base);
}
.service-card:hover .service-link::after { transform: translateX(4px); }

@media (max-width: 880px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(3n) { border-right: 1px solid var(--rule); }
  .service-card:nth-child(2n) { border-right: 0; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: 0 !important; }
}

.section-cta {
  max-width: var(--container);
  margin: 4rem auto 0;
  padding: 0 var(--gutter);
  text-align: center;
}

/* -------------------------------------------------------------------------
   10. Team gallery (index)
   ------------------------------------------------------------------------- */
.team-section {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.team-section > h2,
.team-section > .section-subtitle {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--gutter);
}
.team-section > h2 {
  font-size: var(--t-h2);
  text-align: center;
  max-width: 22ch;
  margin: 0 auto 1rem;
}
.team-section > .section-subtitle {
  text-align: center;
  margin: 0 auto 2rem;
  max-width: 60ch;
}

.team-intro {
  max-width: 64ch;
  margin: 0 auto 3rem;
  padding: 0 var(--gutter);
  text-align: center;
  font-size: var(--t-body-lg);
  color: var(--ink-mute);
  font-weight: 300;
  line-height: 1.6;
}

.team-gallery {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.team-card {
  display: block;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  border: 0;
  background: transparent;
  text-align: left;
  width: 100%;
}
.team-card__portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-bottom: 1.25rem;
  overflow: hidden;
  background: var(--ink);
}
.team-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.05) brightness(0.92);
  transition: transform var(--tx-glide), filter var(--tx-slow);
}
.team-card:hover .team-card__portrait img {
  transform: scale(1.05);
  filter: grayscale(0) contrast(1.05) brightness(1);
}
.team-card__portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14, 24, 28, 0.78) 100%);
  pointer-events: none;
  transition: opacity var(--tx-base);
}
.team-card__num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--mono);
  font-size: var(--t-mini);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory);
  z-index: 2;
  background: rgba(20, 24, 28, 0.5);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.75rem;
}
.team-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.25rem;
  z-index: 2;
  color: var(--ivory);
}
.team-card__overlay-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-variation-settings: 'opsz' 144, 'SOFT' 80;
  line-height: 1.1;
  margin: 0;
  color: var(--ivory);
}
.team-card__role {
  font-family: var(--sans);
  font-size: var(--t-mini);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin: 0.5rem 0 0;
}
.team-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.25rem 0 0;
}
.team-card__title {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}
.team-card__exp {
  font-family: var(--mono);
  font-size: var(--t-mini);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  white-space: nowrap;
}

@media (max-width: 880px) {
  .team-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .team-gallery { grid-template-columns: 1fr; max-width: 26rem; gap: 1.5rem; }
}

/* -------------------------------------------------------------------------
   11. Testimonials
   ------------------------------------------------------------------------- */
.testimonials-section { text-align: center; }
.testimonials-section > h2,
.testimonials-section > .section-subtitle {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--gutter);
}
.testimonials-section > h2 {
  text-align: center;
  font-size: var(--t-h2);
  margin: 0 auto 1rem;
}
.testimonials-section > .section-subtitle {
  text-align: center;
  margin: 0 auto 3rem;
}

.testimonials-slider {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}
.testimonials-track {
  position: relative;
  min-height: 18rem;
}
.testimonial-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--tx-slow);
  pointer-events: none;
  padding: 0 clamp(0rem, 6vw, 4rem);
}
.testimonial-card.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}
.testimonial-stars {
  color: var(--brass);
  font-size: 1rem;
  letter-spacing: 0.3em;
  margin-bottom: 1.5rem;
}
.testimonial-text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  line-height: 1.4;
  font-variation-settings: 'opsz' 144, 'SOFT' 80;
  color: var(--ink);
  margin: 0 auto 2rem;
  max-width: 50ch;
}
.testimonial-author {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
  margin: 0;
}
.testimonial-service {
  font-family: var(--mono);
  font-size: var(--t-mini);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0.5rem 0 0;
}

.slider-btn {
  position: absolute;
  top: 40%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink);
  font-size: 1.5rem;
  font-family: var(--serif);
  cursor: pointer;
  transition: background var(--tx-base), color var(--tx-base), border-color var(--tx-base);
  z-index: 2;
}
.slider-btn:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.slider-btn-prev { left: -1rem; }
.slider-btn-next { right: -1rem; }

@media (max-width: 720px) {
  .slider-btn { display: none; }
}

/* -------------------------------------------------------------------------
   12. Location preview (index)
   ------------------------------------------------------------------------- */
.location-preview {
  background: var(--ink);
  color: var(--ivory);
  border-top: 1px solid var(--ink-2);
  border-bottom: 1px solid var(--ink-2);
}
.location-content-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.location-info h2 {
  color: var(--ivory);
  font-size: var(--t-h2);
}
.location-info .section-subtitle {
  color: rgba(242, 244, 248, 0.7);
  margin-bottom: 2.5rem;
}
.location-details {
  display: flex;
  flex-direction: column;
  margin-bottom: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.location-detail-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.detail-icon {
  font-family: var(--mono);
  font-size: var(--t-mini);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-soft);
  padding-top: 0.25rem;
  min-width: 5rem;
}
.detail-text strong {
  display: block;
  font-family: var(--serif);
  font-weight: 350;
  font-size: 1.25rem;
  color: var(--ivory);
  margin-bottom: 0.25rem;
}
.detail-text p {
  font-size: 0.9375rem;
  color: rgba(242, 244, 248, 0.78);
  margin: 0;
  line-height: 1.55;
}
.detail-text a {
  color: var(--ivory);
  border-bottom: 1px solid rgba(242, 244, 248, 0.3);
  transition: border-color var(--tx-fast);
}
.detail-text a:hover { border-color: var(--brass-soft); color: var(--brass-soft); }

.location-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.location-info .btn-outline {
  color: var(--ivory);
  border-color: var(--ivory);
}
.location-info .btn-outline:hover {
  background: var(--ivory);
  color: var(--ink);
}
.location-info .btn-primary {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--ivory);
}
.location-info .btn-primary:hover {
  background: var(--brass-deep);
  border-color: var(--brass-deep);
}

.map-container {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.4) contrast(1.05);
}

@media (max-width: 900px) {
  .location-content-grid { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------
   13. Final CTA
   ------------------------------------------------------------------------- */
.final-cta-section {
  text-align: center;
  background: var(--ivory);
  padding: clamp(6rem, 12vw, 10rem) 0;
  position: relative;
}
.final-cta-section::before,
.final-cta-section::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(60px, 8vw, 100px);
  height: 1px;
  background: var(--brass);
}
.final-cta-section::before { top: clamp(3rem, 6vw, 5rem); }
.final-cta-section::after { bottom: clamp(3rem, 6vw, 5rem); }

.final-cta-content {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.final-cta-content h2 {
  font-size: var(--t-display);
  font-weight: 300;
  line-height: 1.02;
  font-variation-settings: 'opsz' 144, 'SOFT' 60;
  margin-bottom: 1.5rem;
}
.final-cta-content p {
  font-size: var(--t-body-lg);
  color: var(--ink-mute);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* -------------------------------------------------------------------------
   14. Footer
   ------------------------------------------------------------------------- */
footer[role="contentinfo"] {
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(4rem, 8vw, 6rem) 0 0;
  position: relative;
}
.footer-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.footer-wordmark {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(3rem, 7vw, 5rem);
  letter-spacing: -0.02em;
  line-height: 0.95;
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  color: var(--ivory);
  margin: 0;
}
.footer-wordmark em {
  font-style: italic;
  color: var(--brass-soft);
  font-variation-settings: 'opsz' 144, 'SOFT' 80;
}
.footer-tagline {
  font-family: var(--mono);
  font-size: var(--t-mini);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin: 0;
}
.footer-description {
  font-size: 0.9375rem;
  color: rgba(242, 244, 248, 0.7);
  max-width: 38ch;
  margin: 0;
  line-height: 1.6;
}
.footer-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.9);
  margin-bottom: 0.5rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}
.footer-column h4 {
  font-family: var(--mono);
  font-size: var(--t-mini);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin: 0 0 1.5rem;
  font-weight: 500;
}
.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer-column li {
  font-size: 0.9375rem;
  color: rgba(242, 244, 248, 0.78);
  line-height: 1.5;
}
.footer-column a {
  color: rgba(242, 244, 248, 0.78);
  transition: color var(--tx-fast);
}
.footer-column a:hover { color: var(--brass-soft); }

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.5rem var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-family: var(--mono);
  font-size: var(--t-mini);
  letter-spacing: 0.08em;
  color: rgba(242, 244, 248, 0.5);
  margin: 0;
}

@media (max-width: 900px) {
  .footer-container { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .footer-links { grid-template-columns: 1fr 1fr; }
}

/* -------------------------------------------------------------------------
   15. Page hero (all internal pages)
   ------------------------------------------------------------------------- */
.page-hero,
.about-hero-section,
.services-hero-section,
.team-hero-section,
.reviews-hero-section,
.contact-hero-section {
  padding: clamp(10rem, 18vh, 14rem) 0 clamp(4rem, 8vh, 6rem);
  background: var(--ivory);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.about-hero-content,
.services-hero-content,
.team-hero-content,
.reviews-hero-content,
.contact-hero-content,
.page-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}
.about-hero-content h1,
.services-hero-content h1,
.team-hero-content h1,
.reviews-hero-content h1,
.contact-hero-content h1,
.page-hero h1 {
  font-size: var(--t-display);
  font-weight: 300;
  line-height: 1;
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  max-width: 18ch;
  margin: 0 0 1.5rem;
}
.about-hero-content h1 em,
.services-hero-content h1 em,
.team-hero-content h1 em,
.reviews-hero-content h1 em,
.contact-hero-content h1 em {
  color: var(--teal);
  font-variation-settings: 'opsz' 144, 'SOFT' 80;
}
.about-hero-section .hero-subtitle,
.services-hero-section .hero-subtitle,
.team-hero-section .hero-subtitle,
.reviews-hero-section .hero-subtitle,
.contact-hero-section .hero-subtitle,
.page-hero p {
  font-family: var(--sans);
  font-size: var(--t-body-lg);
  font-weight: 300;
  color: var(--ink-mute);
  max-width: 56ch;
  line-height: 1.55;
  margin: 0;
}

.about-hero-badge,
.services-hero-badge,
.team-hero-badge,
.reviews-hero-badge,
.contact-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--sans);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 1.5rem;
}
.about-hero-badge::before,
.services-hero-badge::before,
.team-hero-badge::before,
.reviews-hero-badge::before,
.contact-hero-badge::before {
  content: '';
  width: 1.75rem;
  height: 1px;
  background: var(--brass);
}

/* -------------------------------------------------------------------------
   16. About page
   ------------------------------------------------------------------------- */
.our-story-section { background: var(--ivory); }
.story-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.story-text h2 {
  margin-bottom: 2rem;
  font-size: var(--t-h2);
}
.story-intro {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.45;
  font-variation-settings: 'opsz' 144, 'SOFT' 80;
  color: var(--ink);
  margin-bottom: 1.75rem;
}
.story-text p {
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 1.25rem;
}
.story-quote {
  margin: 2.5rem 0;
  padding: 2rem 2.25rem;
  border-left: 1px solid var(--brass);
  background: var(--paper);
}
.story-quote blockquote { margin: 0 0 1rem; }
.story-image { position: sticky; top: 6rem; }
.story-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: saturate(0.9);
}
.image-caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--ink-mute);
  margin-top: 1rem;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .story-container { grid-template-columns: 1fr; }
  .story-image { position: relative; top: 0; }
}

.values-section {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.values-section > h2,
.values-section > .section-subtitle {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--gutter);
  text-align: center;
}
.values-section > h2 { max-width: 24ch; margin: 0 auto 1rem; font-size: var(--t-h2); }
.values-section > .section-subtitle { margin: 0 auto 3rem; }

.values-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.value-card {
  padding: 2.25rem 2rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  transition: background var(--tx-base);
}
.value-card:hover { background: var(--ivory-warm); }
.value-card h3 {
  font-size: 1.375rem;
  margin: 1rem 0 0.85rem;
  font-weight: 400;
}
.value-card p {
  font-size: 0.9375rem;
  color: var(--ink-mute);
  line-height: 1.6;
  margin: 0;
}
.value-icon {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-variation-settings: 'opsz' 144, 'SOFT' 80;
  font-size: 2.5rem;
  color: var(--brass);
  line-height: 1;
}
@media (max-width: 880px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }

.why-choose-section .why-choose-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.why-choose-content h2 { margin-bottom: 2.5rem; font-size: var(--t-h2); }
.why-choose-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}
.why-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.why-icon {
  font-family: var(--mono);
  font-size: var(--t-small);
  color: var(--brass);
  width: 1.5rem;
  padding-top: 0.25rem;
}
.why-text h4 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}
.why-text p {
  color: var(--ink-mute);
  font-size: 0.9375rem;
  margin: 0;
  line-height: 1.55;
}

.why-choose-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  background: var(--paper);
}
.stat-card {
  padding: 2.25rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stat-number {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-variation-settings: 'opsz' 144, 'SOFT' 90;
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-family: var(--mono);
  font-size: var(--t-mini);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
@media (max-width: 900px) {
  .why-choose-section .why-choose-container { grid-template-columns: 1fr; }
}

.faq-section { background: var(--paper); border-top: 1px solid var(--rule); }
.faq-container {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.faq-header { text-align: center; margin-bottom: 3rem; }
.faq-header h2 { font-size: var(--t-h2); margin-bottom: 1rem; }
.faq-header p { color: var(--ink-mute); font-weight: 300; max-width: 50ch; margin: 0 auto; }

.faq-list {
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--tx-base);
}
.faq-item.active::before { transform: scaleY(1); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.75rem 0.5rem 1.75rem 1.5rem;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 400;
  color: var(--ink);
  cursor: pointer;
  transition: color var(--tx-fast), padding-left var(--tx-base);
  line-height: 1.25;
  min-height: 56px;
  -webkit-tap-highlight-color: transparent;
}
.faq-item.active .faq-question { color: var(--teal); padding-left: 1.5rem; }
.faq-question:hover { color: var(--teal); }
.faq-question span:first-child { flex: 1; }
.faq-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--rule-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--blue);
  transition: transform var(--tx-base), background var(--tx-base), color var(--tx-base), border-color var(--tx-base);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--blue);
  color: var(--ivory);
  border-color: var(--blue);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 480ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 320ms ease;
}
.faq-item.active .faq-answer {
  max-height: 800px;
  opacity: 1;
}
.faq-answer p {
  font-size: var(--t-body);
  color: var(--ink-mute);
  line-height: 1.65;
  padding: 0 1.5rem 1.75rem;
  margin: 0;
  max-width: 60ch;
}

.about-cta-section,
.services-final-cta,
.team-cta-section,
.contact-cta-section,
.reviews-cta-section {
  text-align: center;
  background: var(--ink);
  color: var(--ivory);
}
.about-cta-section h2,
.services-final-cta h2,
.team-cta-section h2,
.contact-cta-section h2,
.reviews-cta-section h2 {
  font-size: var(--t-display);
  font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 60;
  color: var(--ivory);
  max-width: 22ch;
  margin: 0 auto 1.5rem;
  line-height: 1.04;
}
.about-cta-section p,
.services-final-cta p,
.team-cta-section p,
.contact-cta-section p,
.reviews-cta-section p {
  font-size: var(--t-body-lg);
  color: rgba(242, 244, 248, 0.75);
  font-weight: 300;
  margin: 0 auto 2.5rem;
  max-width: 50ch;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.about-cta-section .btn-primary,
.services-final-cta .btn-primary,
.team-cta-section .btn-primary,
.contact-cta-section .btn-primary,
.reviews-cta-section .btn-primary {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--ivory);
}
.about-cta-section .btn-primary:hover,
.services-final-cta .btn-primary:hover,
.team-cta-section .btn-primary:hover,
.contact-cta-section .btn-primary:hover,
.reviews-cta-section .btn-primary:hover {
  background: var(--brass-deep);
  border-color: var(--brass-deep);
}
.about-cta-section .btn-outline,
.services-final-cta .btn-outline,
.team-cta-section .btn-outline,
.contact-cta-section .btn-outline,
.reviews-cta-section .btn-outline {
  color: var(--ivory);
  border-color: var(--ivory);
}
.about-cta-section .btn-outline:hover,
.services-final-cta .btn-outline:hover,
.team-cta-section .btn-outline:hover,
.contact-cta-section .btn-outline:hover,
.reviews-cta-section .btn-outline:hover {
  background: var(--ivory);
  color: var(--ink);
}

/* -------------------------------------------------------------------------
   17. Services page
   ------------------------------------------------------------------------- */
.services-intro-section .services-intro-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.services-intro-container h2 {
  font-size: var(--t-h2);
  max-width: 24ch;
  margin-bottom: 3rem;
}
.services-intro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.intro-benefit {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.intro-benefit-icon {
  font-family: var(--mono);
  font-size: var(--t-mini);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
  display: block;
}
.intro-benefit h4 {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 400;
  margin: 0 0 0.5rem;
}
.intro-benefit p {
  font-size: 0.875rem;
  color: var(--ink-mute);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 900px) { .services-intro-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services-intro-grid { grid-template-columns: 1fr; } }

.main-services-section {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.main-services-section > h2,
.main-services-section > .section-subtitle {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--gutter);
}
.main-services-section > h2 { font-size: var(--t-h2); margin: 0 auto 1rem; text-align: center; }
.main-services-section > .section-subtitle { text-align: center; margin: 0 auto 3rem; }

.main-services-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2rem);
}
.main-service-card {
  background: var(--ivory);
  border: 1px solid var(--rule);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--tx-base), box-shadow var(--tx-base);
}
.main-service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
}
.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.service-card-icon {
  font-family: var(--mono);
  font-size: var(--t-mini);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}
.service-card-badge {
  font-family: var(--mono);
  font-size: var(--t-mini);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--teal);
}
.main-service-card h3 {
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  margin: 0 0 0.4rem;
  font-weight: 400;
}
.service-card-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--brass);
  margin: 0 0 1.25rem;
  font-variation-settings: 'opsz' 144, 'SOFT' 80;
}
.service-card-description {
  font-size: 0.9375rem;
  color: var(--ink-mute);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.service-card-features h4 {
  font-family: var(--mono);
  font-size: var(--t-mini);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1rem;
}
.service-card-features ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}
.service-card-features li {
  font-size: 0.9375rem;
  color: var(--ink-2);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.55;
}
.service-card-features li::before {
  content: '·';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brass);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
}
.service-card-features strong { font-weight: 600; color: var(--ink); }

.service-card-benefits {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 1.5rem;
}
.benefit-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: var(--t-mini);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.benefit-item svg {
  width: 14px;
  height: 14px;
  color: var(--brass);
}
.btn-service-card {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 900px) { .main-services-grid { grid-template-columns: 1fr; } }

.additional-services-section,
.technology-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}
.additional-services-section h2,
.technology-section h2 { font-size: var(--t-h2); margin-bottom: 1rem; text-align: center; }
.additional-services-section .section-subtitle,
.technology-section .section-subtitle { text-align: center; margin: 0 auto 3rem; }

.additional-services-grid,
.technology-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.additional-service-card,
.technology-card {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--ivory);
  transition: background var(--tx-base);
}
.additional-service-card:hover,
.technology-card:hover { background: var(--paper); }

.additional-service-icon,
.technology-icon {
  font-family: var(--mono);
  font-size: var(--t-mini);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
  display: block;
}
.additional-service-card h4,
.technology-card h4 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0 0 0.75rem;
}
.additional-service-card p,
.technology-card p {
  font-size: 0.9375rem;
  color: var(--ink-mute);
  line-height: 1.6;
  margin: 0 0 1rem;
}

@media (max-width: 900px) {
  .additional-services-grid,
  .technology-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .additional-services-grid,
  .technology-grid { grid-template-columns: 1fr; }
}

.pricing-philosophy-section {
  background: var(--ink);
  color: var(--ivory);
  text-align: center;
}
.pricing-content {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.pricing-philosophy-section h2 {
  color: var(--ivory);
  font-size: var(--t-h2);
  margin-bottom: 1rem;
}
.pricing-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--brass-soft);
  margin-bottom: 3rem;
  font-variation-settings: 'opsz' 144, 'SOFT' 80;
}
.pricing-principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255,255,255,0.12);
  border-left: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 3rem;
}
.pricing-principle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  text-align: left;
  padding: 1.75rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  align-items: start;
}
.pricing-principle svg {
  width: 22px;
  height: 22px;
  color: var(--brass-soft);
  margin-top: 0.25rem;
}
.pricing-principle h4 {
  color: var(--ivory);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}
.pricing-principle p {
  color: rgba(242, 244, 248, 0.72);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}
.pricing-philosophy-section .btn-primary {
  background: var(--brass);
  border-color: var(--brass);
}
.pricing-philosophy-section .btn-primary:hover {
  background: var(--brass-deep);
  border-color: var(--brass-deep);
}
@media (max-width: 720px) { .pricing-principles { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------
   18. Team page
   ------------------------------------------------------------------------- */
.team-intro-section .team-intro-container {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}
.team-intro-section h2 { font-size: var(--t-h2); margin-bottom: 2rem; }
.team-intro-text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  line-height: 1.55;
  color: var(--ink-2);
  font-variation-settings: 'opsz' 144, 'SOFT' 80;
  margin-bottom: 1.5rem;
}

.doctor-profiles-section {
  background: var(--paper);
  border-top: 1px solid var(--rule);
}
.doctor-profiles-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: clamp(4rem, 8vw, 7rem);
}
.doctor-profile {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.doctor-profile:nth-child(even) {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.doctor-profile:nth-child(even) .doctor-profile-image { order: 2; }
.doctor-profile:nth-child(even) .doctor-profile-content { order: 1; }

.doctor-profile-image {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.doctor-profile-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 25%;
  filter: saturate(0.82) contrast(1.04) brightness(0.96);
  transition: transform var(--tx-glide);
}
.doctor-profile:hover .doctor-profile-image img { transform: scale(1.04); }

/* Soft vignette draws the eye to the doctor, de-emphasises the clinic
   equipment behind. Subtle — barely visible at the centre. */
.doctor-profile-image::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 70% at 50% 35%,
                    transparent 0%,
                    rgba(15, 24, 37, 0.0) 55%,
                    rgba(15, 24, 37, 0.35) 100%);
  z-index: 1;
}
.doctor-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  font-family: var(--mono);
  font-size: var(--t-mini);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory);
  background: rgba(20, 24, 28, 0.85);
  padding: 0.5rem 0.85rem;
  backdrop-filter: blur(4px);
}

.doctor-profile-content h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 60;
  margin: 0 0 0.5rem;
}
.doctor-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--teal);
  margin: 0 0 0.25rem;
  font-variation-settings: 'opsz' 144, 'SOFT' 80;
}
.doctor-experience {
  font-family: var(--mono);
  font-size: var(--t-small);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.75rem;
}
.doctor-bio p {
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 1.25rem;
}
.doctor-specializations,
.doctor-credentials { margin: 1.75rem 0; }
.doctor-specializations h4,
.doctor-credentials h4 {
  font-family: var(--mono);
  font-size: var(--t-mini);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1rem;
}
.doctor-specializations ul,
.doctor-credentials ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.doctor-specializations li,
.doctor-credentials li {
  font-size: 0.9375rem;
  color: var(--ink-2);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}
.doctor-specializations li::before,
.doctor-credentials li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--brass);
}

@media (max-width: 880px) {
  .doctor-profile,
  .doctor-profile:nth-child(even) { grid-template-columns: 1fr; }
  .doctor-profile:nth-child(even) .doctor-profile-image,
  .doctor-profile:nth-child(even) .doctor-profile-content { order: initial; }
  .doctor-profile-image img { aspect-ratio: 4/5; }
}

.team-philosophy-section { background: var(--ivory); }
.philosophy-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.philosophy-container h2 { font-size: var(--t-h2); margin-bottom: 3rem; text-align: center; }
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.philosophy-item {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.philosophy-icon {
  font-family: var(--mono);
  font-size: var(--t-mini);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
  display: block;
}
.philosophy-item h4 {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 400;
  margin: 0 0 0.65rem;
}
.philosophy-item p {
  font-size: 0.9375rem;
  color: var(--ink-mute);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 900px) { .philosophy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .philosophy-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------
   19. Reviews page
   ------------------------------------------------------------------------- */
.reviews-stats-section {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 0;
}
.stats-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 3rem var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
}
.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stat-icon {
  font-family: var(--mono);
  font-size: var(--t-mini);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.85rem;
  display: block;
}
.stat-item .stat-number {
  margin: 0 auto 0.4rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
}
.stat-item .stat-label {
  font-family: var(--mono);
  font-size: var(--t-mini);
}
@media (max-width: 700px) { .stats-container { grid-template-columns: repeat(2, 1fr); } }

.all-reviews-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}
.all-reviews-container { text-align: center; }
.all-reviews-container h2 { font-size: var(--t-h2); margin-bottom: 1rem; }

/* -------------------------------------------------------------------------
   20. Contact page
   ------------------------------------------------------------------------- */
.contact-info-section { background: var(--ivory); }
.contact-info-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.contact-card {
  padding: 2.25rem 1.5rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--ivory);
  transition: background var(--tx-base);
}
.contact-card:hover { background: var(--paper); }
.contact-card-icon {
  font-family: var(--mono);
  font-size: var(--t-mini);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.5rem;
  display: block;
}
.contact-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 1rem;
}
.contact-card-value {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}
.contact-card-value a {
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color var(--tx-fast), color var(--tx-fast);
}
.contact-card-value a:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}
.contact-card-description {
  font-family: var(--sans);
  font-size: var(--t-small);
  color: var(--ink-mute);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 900px) { .contact-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .contact-cards-grid { grid-template-columns: 1fr; } }

.map-section { background: var(--paper); border-top: 1px solid var(--rule); }
.map-section .map-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  aspect-ratio: auto;
  overflow: visible;
  border: 0;
}
.map-section h2 { font-size: var(--t-h2); margin-bottom: 2rem; }
.map-wrapper {
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 1px solid var(--rule);
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.3) contrast(1.03);
}

.directions-section { background: var(--ivory); border-top: 1px solid var(--rule); }
.directions-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.directions-section h2 { font-size: var(--t-h2); margin-bottom: 3rem; }
.directions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.direction-card {
  padding: 2.25rem 2rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.direction-icon {
  font-family: var(--mono);
  font-size: var(--t-mini);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
  display: block;
}
.direction-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 1.25rem;
}
.direction-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.direction-list li {
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.55;
  padding-left: 1.25rem;
  position: relative;
}
.direction-list li::before {
  content: '·';
  color: var(--brass);
  position: absolute;
  left: 0;
  font-size: 1.5rem;
  line-height: 1;
}
.direction-list strong { font-weight: 600; color: var(--ink); }

.accessibility-note {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--paper);
  border-left: 2px solid var(--brass);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
}
.accessibility-icon {
  font-family: var(--mono);
  font-size: var(--t-mini);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  white-space: nowrap;
  padding-top: 0.25rem;
}
.accessibility-content h4 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0 0 0.5rem;
}
.accessibility-content p {
  margin: 0;
  color: var(--ink-mute);
  font-size: 0.9375rem;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .directions-grid { grid-template-columns: 1fr; }
  .accessibility-note { grid-template-columns: 1fr; gap: 0.5rem; }
}

.contact-form-section { background: var(--paper); border-top: 1px solid var(--rule); }
.contact-form-container {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}
.contact-form-container h2 { font-size: var(--t-h2); margin-bottom: 1rem; }

/* -------------------------------------------------------------------------
   21. 404 page
   ------------------------------------------------------------------------- */
.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--ivory);
  padding: 8rem var(--gutter) 4rem;
}
.error-content { max-width: 36rem; }
.error-number {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 200;
  font-size: clamp(8rem, 24vw, 16rem);
  line-height: 0.9;
  color: var(--teal);
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}
.error-content h1 {
  font-size: var(--t-h2);
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.error-content p {
  color: var(--ink-mute);
  font-size: var(--t-body-lg);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* -------------------------------------------------------------------------
   22. Photo modal
   ------------------------------------------------------------------------- */
.photo-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 24, 28, 0.94);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.photo-modal-content {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}
.photo-modal .close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--ivory);
  font-size: 2.5rem;
  font-family: var(--serif);
  font-weight: 200;
  cursor: pointer;
  line-height: 1;
}

/* -------------------------------------------------------------------------
   23. Animations
   ------------------------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--tx-slow), transform var(--tx-slow);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.scale-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--tx-slow), transform var(--tx-slow);
}
.scale-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.scale-in:nth-child(2) { transition-delay: 80ms; }
.scale-in:nth-child(3) { transition-delay: 160ms; }
.scale-in:nth-child(4) { transition-delay: 240ms; }
.scale-in:nth-child(5) { transition-delay: 320ms; }
.scale-in:nth-child(6) { transition-delay: 400ms; }

.hero-content > * {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-in 1100ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.hero-content > *:nth-child(1) { animation-delay: 250ms; }
.hero-content > *:nth-child(2) { animation-delay: 500ms; }

@keyframes hero-in {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* -------------------------------------------------------------------------
   24. Utility
   ------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.text-center { text-align: center; }

/* -------------------------------------------------------------------------
   Final mobile overflow patch — keep this LAST so it wins specificity
   ------------------------------------------------------------------------- */
@media (max-width: 720px) {
  /* Sub-page hero h1s were clipping at the right edge. Allow word-break,
     give them the full container width, and dial the size down a touch. */
  .about-hero-content h1,
  .services-hero-content h1,
  .team-hero-content h1,
  .reviews-hero-content h1,
  .contact-hero-content h1,
  .page-hero h1 {
    font-size: clamp(1.875rem, 8.5vw, 2.625rem);
    line-height: 1.05;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
  }

  /* Hard cap: ensure body never exceeds viewport width */
  html { overflow-x: hidden; }
  body { width: 100vw; max-width: 100vw; overflow-x: hidden; }

  /* Allow long buttons to wrap on mobile (default is white-space: nowrap) */
  .btn {
    white-space: normal;
    max-width: 100%;
    text-align: center;
    line-height: 1.25;
    word-break: keep-all;
  }

  /* Reviews section — entire section constrained */
  .reviews-stats-section,
  .reviews-hero-section,
  .reviews-hero-content,
  .stats-container {
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  .stats-container {
    display: flex !important;
    flex-wrap: wrap !important;
    grid-template-columns: none !important;
    width: 100% !important;
    padding: 1.5rem 0.75rem !important;
    margin: 0 !important;
  }
  .stat-item {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    box-sizing: border-box !important;
    padding: 1rem 0.5rem !important;
    min-width: 0;
    overflow: hidden;
  }
  .stat-item .stat-number {
    font-size: clamp(1.25rem, 5.5vw, 1.875rem) !important;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .stat-icon { font-size: 0.5625rem !important; letter-spacing: 0.1em; }
  .stat-item .stat-label { font-size: 0.5625rem; letter-spacing: 0.08em; }

  /* 404 — h1 was clipping + buttons exceeded viewport width */
  .error-page { padding: 7rem 1rem 3rem; }
  .error-content { max-width: 100%; width: 100%; }
  .error-number { font-size: clamp(5rem, 22vw, 9rem); }
  .error-content h1 {
    font-size: clamp(1.5rem, 7vw, 2rem);
    line-height: 1.15;
    overflow-wrap: break-word;
  }
  .error-content p { font-size: 1rem; }
  .error-page .cta-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 22rem;
    margin: 0 auto;
    gap: 0.65rem;
  }
  .error-page .cta-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.25rem;
  }
}

/* -------------------------------------------------------------------------
   25. Section eyebrow (centered, reusable)
   ------------------------------------------------------------------------- */
.section-eyebrow {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.section-eyebrow__inner {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--sans);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.section-eyebrow__inner::before,
.section-eyebrow__inner::after {
  content: '';
  width: 1.5rem;
  height: 1px;
  background: var(--brass);
}

/* -------------------------------------------------------------------------
   26. Mobile polish — focused breakpoints
   ------------------------------------------------------------------------- */
@media (max-width: 720px) {
  :root {
    --section-y: clamp(3.5rem, 12vw, 5rem);
    --gutter: 1.25rem;
  }

  /* Mobile hero — only typography overrides; layout is owned by the rule above */
  .hero-content { grid-template-columns: 1fr; gap: 0; }
  .hero-content h1 {
    font-size: clamp(2.25rem, 9vw, 3.25rem);
    line-height: 1.02;
    margin-bottom: 1.5rem;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.25rem;
  }
  .hero-cta-group .btn { justify-content: center; width: 100%; }

  /* Nav padding */
  .navbar { padding: 0.875rem var(--gutter); }
  .logo-link { font-size: 1.125rem; letter-spacing: 0.15em; gap: 0.5rem; }
  .logo-link span { display: none; }
  .sladent-logo { height: 34px; }

  /* Trust bar */
  .trust-bar { padding: 1.25rem 0; }
  .trust-bar-container { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1rem; }
  .trust-item__num { font-size: 1.625rem; }
  .trust-item__label { font-size: 0.625rem; }

  /* Section headings */
  .we-care-section > h2,
  .team-section > h2,
  .testimonials-section > h2,
  .final-cta-content h2,
  .faq-header h2 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .section-subtitle { font-size: 1rem; margin-bottom: 2rem; }

  /* Service cards */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: 0 !important; padding: 2rem 1.25rem; }
  .service-card h3 { font-size: 1.5rem; }

  /* Team */
  .team-section { padding: 4rem 0; }
  .team-gallery { gap: 1.25rem; }
  .team-intro { font-size: 1rem; margin-bottom: 2rem; }

  /* Testimonials */
  .testimonials-slider { padding: 0 var(--gutter); }
  .testimonials-track { min-height: 22rem; }
  .testimonial-text { font-size: 1.125rem; line-height: 1.45; }
  .slider-btn { display: none; }

  /* Location preview */
  .location-content-grid { grid-template-columns: 1fr; gap: 2rem; }
  .location-info h2 { font-size: 1.875rem; }
  .location-detail-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .detail-icon { min-width: auto; }
  .location-cta-group { flex-direction: column; align-items: stretch; }
  .location-cta-group .btn { width: 100%; justify-content: center; }

  /* Final CTA */
  .final-cta-content h2 { font-size: clamp(2.25rem, 9vw, 3rem); }

  /* FAQ */
  .faq-question { font-size: 1.0625rem; padding: 1.25rem 0.5rem 1.25rem 1rem; gap: 1rem; }
  .faq-item.active .faq-question { padding-left: 1rem; }
  .faq-answer p { padding: 0 1rem 1.25rem; font-size: 0.9375rem; }
  .faq-icon { width: 36px; height: 36px; font-size: 1rem; }

  /* Footer */
  .footer-container { grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
  .footer-wordmark { font-size: clamp(2.25rem, 10vw, 3.5rem); }
  .footer-links { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 1.25rem var(--gutter); }
  .footer-bottom p { font-size: 0.625rem; }

  /* Internal page heroes */
  .page-hero,
  .about-hero-section,
  .services-hero-section,
  .team-hero-section,
  .reviews-hero-section,
  .contact-hero-section {
    padding: 7rem 0 3rem;
  }
  .about-hero-content h1,
  .services-hero-content h1,
  .team-hero-content h1,
  .reviews-hero-content h1,
  .contact-hero-content h1 {
    font-size: clamp(2.25rem, 9vw, 3rem);
  }

  /* Story */
  .story-container { gap: 2rem; }
  .story-intro { font-size: 1.0625rem; }
  .story-quote { padding: 1.5rem 1.25rem; }

  /* Values, philosophy, intro grids — already collapsed at 560px */
  .values-grid,
  .philosophy-grid,
  .additional-services-grid,
  .technology-grid,
  .services-intro-grid,
  .directions-grid,
  .contact-cards-grid { grid-template-columns: 1fr; }

  /* Main services cards */
  .main-services-grid { grid-template-columns: 1fr; }
  .main-service-card { padding: 2rem 1.5rem; }

  /* Doctor profiles */
  .doctor-profiles-container { gap: 4rem; }

  /* About CTA */
  .about-cta-section h2,
  .services-final-cta h2,
  .team-cta-section h2,
  .contact-cta-section h2,
  .reviews-cta-section h2 { font-size: clamp(2rem, 8.5vw, 2.75rem); }
  .cta-buttons { flex-direction: column; align-items: stretch; max-width: 22rem; margin: 0 auto; }
  .cta-buttons .btn { width: 100%; justify-content: center; }

  /* Hero meta on mobile is below subtitle */
  .hero-meta__value { font-size: 0.8125rem; }

  /* Buttons */
  .btn { padding: 0.95rem 1.5rem; font-size: 0.75rem; }
  .btn-large { padding: 1.05rem 1.85rem; font-size: 0.8125rem; }

  /* Map */
  .map-section .map-container { padding: 0; }
  .map-wrapper { aspect-ratio: 1/1; border: 0; }
  .map-section h2 { padding: 0 var(--gutter); font-size: 1.75rem; }

  /* Stats — kept in dedicated patch at end of file (search "Reviews stats") */
}

/* Tiny phones */
@media (max-width: 380px) {
  :root { --gutter: 1rem; }
  .hero-content h1 { font-size: 2.25rem; }
  .footer-wordmark { font-size: 2rem; }
}

/* Tablet */
@media (min-width: 721px) and (max-width: 960px) {
  .hero-content { grid-template-columns: 1fr; gap: 2rem; }
  .hero-content h1 { font-size: clamp(2.75rem, 6vw, 3.5rem); }
  .trust-bar-container { grid-template-columns: repeat(4, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* Smooth scroll-driven reveal upgrade */
@supports (animation-timeline: view()) {
  .fade-in,
  .scale-in {
    opacity: 0;
    transform: translateY(28px);
    animation: reveal-in linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 50%;
    transition: none;
  }
  @keyframes reveal-in {
    to { opacity: 1; transform: translateY(0); }
  }
}
