/* ==========================================================================
   King Dental & Associates — "L'Orange"
   Hermès-inspired: warm cream, one confident orange, flat editorial
   imagery, hairlines, monumental whitespace. Grounded in dental care.
   ========================================================================== */

:root {
  /* Colour */
  --cream: #F6F1E7;          /* page background — warm Hermès cream */
  --paper: #FDFBF6;          /* alternate band */
  --ink: #1C1B18;            /* near-black */
  --body-c: #524E46;
  --muted: #948C7D;
  --orange: #1E4A72;         /* the signature — deep marine blue */
  --orange-deep: #163A5C;
  --line: #E2D9C6;           /* warm hairline */
  --line-dark: rgba(28, 27, 24, 0.22);
  --on-orange: #EAF1F7;

  /* Type */
  --display: "Cormorant Garamond", Georgia, serif;
  --text: "Jost", "Segoe UI", sans-serif;

  /* Layout */
  --max: 1280px;
  --gutter: 22px;
  --sect: 84px;
}

@media (min-width: 900px) {
  :root { --sect: 148px; --gutter: 48px; }
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--body-c);
  font-family: var(--text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 900px) {
  body { font-size: 16.5px; }
}

img { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; }
::selection { background: var(--orange); color: var(--on-orange); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; }
.section { padding: var(--sect) 0; }

/* Bands: light throughout, orange for the statement moments */
.band-dark { background: var(--orange); }
.band-tint { background: var(--paper); border-block: 1px solid var(--line); }
.band-surface { background: var(--paper); border-block: 1px solid var(--line); }

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: 0.005em;
  margin: 0 0 24px;
}

h1 { font-size: clamp(46px, 10vw, 98px); }
h2 { font-size: clamp(34px, 6vw, 62px); }
h3 { font-size: clamp(22px, 3.4vw, 28px); }

p { margin: 0 0 16px; }
.lede { font-size: clamp(16px, 2.4vw, 19px); font-weight: 300; max-width: 58ch; }

/* Small-caps atelier label */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink);
  background: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 28px;
}
.kicker::before { content: none; }

.band-dark .kicker { color: var(--on-orange); background: none; }
.band-dark h1, .band-dark h2, .band-dark h3 { color: var(--on-orange); }
.band-dark p { color: rgba(255, 246, 236, 0.88); }
.band-dark a { color: var(--on-orange); }

/* ==========================================================================
   Buttons — maison: squared, small caps, decisive
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 16px 38px;
  border-radius: 0;
  border: 1px solid transparent;
  font-family: var(--text);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-primary { background: var(--orange); color: var(--on-orange); }
.btn-primary:hover { background: var(--ink); color: var(--cream); }

.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--orange); color: var(--on-orange); }

.btn-ghost {
  background: transparent;
  border-color: var(--line-dark);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--cream); }

.band-dark .btn-ghost { border-color: rgba(255, 246, 236, 0.55); color: var(--on-orange); }
.band-dark .btn-ghost:hover { background: var(--on-orange); border-color: var(--on-orange); color: var(--orange); }

.btn-light, .band-dark .btn-light { background: var(--on-orange); color: var(--orange-deep); }
.btn-light:hover, .band-dark .btn-light:hover { background: var(--ink); color: var(--cream); }

/* Hermès text link: quiet, underlined */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 5px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.text-link:hover { color: var(--orange); border-color: var(--orange); }
.text-link .arr { transition: transform 0.25s ease; }
.text-link:hover .arr { transform: translateX(5px); }

/* ==========================================================================
   Header — centred maison lockup over a small-caps nav row
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
  background: rgba(246, 241, 231, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-pill {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
  padding: 10px var(--gutter);
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
@media (min-width: 1020px) {
  .header-pill {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "phone logo actions" "nav nav nav";
    row-gap: 0;
    padding-top: 20px;
    padding-bottom: 0;
    min-height: 0;
  }
  .header-pill > .logo { grid-area: logo; justify-self: center; text-align: center; }
  .header-pill > .main-nav { grid-area: nav; justify-self: center; }
  .header-pill > .header-actions { grid-area: actions; justify-self: end; }
}

.logo {
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--ink);
  white-space: nowrap;
  line-height: 1;
}
.logo em {
  display: block;
  font-family: var(--text);
  font-style: normal;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: 6px;
  text-align: center;
}

.main-nav { display: none; }
@media (min-width: 1020px) {
  .main-nav { display: flex; gap: 42px; margin: 14px 0 0; }
  .main-nav a {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 0 0 16px;
    border-radius: 0;
    border-bottom: 1px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease;
  }
  .main-nav a:hover { color: var(--orange); background: none; }
  .main-nav a.active { color: var(--orange); background: none; border-bottom-color: var(--orange); }
}

/* Treatments dropdown */
.nav-drop { position: relative; }
.nav-drop > a::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: 8px;
  margin-bottom: 2px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}
.nav-drop:hover > a::after, .nav-drop:focus-within > a::after { transform: rotate(225deg) translate(-2px, -2px); }

.drop-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  width: 560px;
  padding: 30px 36px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--orange);
  box-shadow: 0 18px 40px rgba(20, 30, 42, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 120;
}
.nav-drop:hover .drop-panel, .nav-drop:focus-within .drop-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.drop-col { display: flex; flex-direction: column; min-width: 130px; }
.drop-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.main-nav .drop-panel a {
  font-family: var(--text);
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--body-c);
  padding: 5px 0;
  border: 0;
  transition: color 0.2s ease;
}
.main-nav .drop-panel a:hover { color: var(--orange); }
.main-nav .drop-panel .drop-all {
  flex-basis: 100%;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav .drop-panel .drop-all:hover { color: var(--orange); }
.main-nav .drop-panel .drop-all .arr { color: var(--orange); }

.header-actions { display: none; }
@media (min-width: 1020px) {
  .header-actions { display: flex; align-items: center; gap: 26px; }
  .header-phone {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 0;
    border-bottom: 1px solid var(--line-dark);
    padding-bottom: 4px;
  }
  .header-phone:hover { color: var(--orange); border-color: var(--orange); background: none; }
  .btn-header { min-height: 42px; padding: 10px 26px; font-size: 10.5px; }
}
@media (min-width: 1020px) {
  .header-pill > .mobile-controls { display: none; }
  .header-pill::before { content: ""; grid-area: phone; }
}

.mobile-controls { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.icon-btn {
  width: 46px; height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.icon-btn:hover { border-color: var(--orange); color: var(--orange); }
.icon-btn svg { stroke: currentColor; }

/* Mobile menu — cream atelier index */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  padding: 16px 22px 26px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  overflow-y: auto;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.mobile-menu nav { margin-top: 28px; display: flex; flex-direction: column; }
.mobile-menu nav > a,
.mobile-treatment-toggle {
  font-family: var(--display);
  font-weight: 500;
  font-size: 34px;
  letter-spacing: 0.01em;
  color: var(--ink);
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-treatment-toggle {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.mobile-menu nav > a.active,
.mobile-treatment-toggle.active { color: var(--orange); }
.mobile-menu nav > a::after {
  content: "→";
  font-family: var(--text);
  font-size: 18px;
  color: var(--orange);
}
.mobile-treatment-icon {
  color: var(--orange);
  font-family: var(--text);
  font-size: 25px;
  font-weight: 300;
  line-height: 1;
  transition: transform .25s ease;
}
.mobile-treatment-toggle[aria-expanded="true"] .mobile-treatment-icon { transform: rotate(45deg); }
.mobile-treatment-links {
  padding: 8px 0 18px 18px;
  border-bottom: 1px solid var(--line);
}
.mobile-treatment-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 7px 2px;
  border-bottom: 1px solid rgba(226, 217, 198, .7);
  color: var(--body-c);
  font-family: var(--text);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .035em;
  line-height: 1.35;
}
.mobile-treatment-links a::after { content: "›"; color: var(--orange); font-size: 18px; }
.mobile-treatment-links .mobile-view-all { color: var(--orange); font-weight: 500; }
.mobile-treatment-heading {
  display: block;
  margin: 16px 0 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.mobile-menu .menu-foot { margin-top: 28px; display: grid; gap: 12px; }

/* Homepage new-patient notice */
.new-patient-popup {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 145;
  width: min(380px, calc(100vw - 32px));
  padding: 28px 54px 28px 28px;
  background: var(--orange);
  color: var(--on-orange);
  border: 1px solid rgba(234, 241, 247, .22);
  box-shadow: 0 22px 60px rgba(22, 58, 92, .28);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .28s ease, transform .28s ease;
}
.new-patient-popup.show { opacity: 1; transform: translateY(0); }
.new-patient-popup .kicker { margin-bottom: 10px; color: rgba(234, 241, 247, .76); }
.new-patient-popup h2 { margin: 0 0 10px; color: var(--on-orange); font-size: 32px; line-height: 1.05; }
.new-patient-popup p { margin: 0 0 20px; color: rgba(234, 241, 247, .88); font-size: 14px; font-weight: 300; line-height: 1.6; }
.new-patient-popup .btn { min-height: 44px; padding: 11px 18px; }
.new-patient-popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(234, 241, 247, .3);
  background: transparent;
  color: var(--on-orange);
  cursor: pointer;
  font: 300 25px/1 var(--text);
}
.new-patient-popup-close:hover { background: rgba(234, 241, 247, .1); }
@media (min-width: 700px) {
  .new-patient-popup { right: 28px; bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .new-patient-popup { transition: none; transform: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { padding: 64px 0 var(--sect); }
.hero .wrap { display: grid; gap: 52px; }
@media (min-width: 900px) {
  .hero { padding: 112px 0 var(--sect); }
  .hero .wrap { grid-template-columns: 1.08fr 1fr; align-items: center; gap: 104px; }
}

/* Split hero — solid ink panel for text, full-bleed photo alongside.
   Text never sits on the image, so legibility never depends on a gradient. */
.hero-split {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .hero-split { grid-template-columns: minmax(420px, 40%) 1fr; }
  .hero-photo-led { grid-template-columns: minmax(440px, 46%) 1fr; }
}

.hero-split-panel {
  background: var(--orange-deep);
  display: flex;
  align-items: center;
  order: 1;
}
@media (min-width: 900px) { .hero-split-panel { order: 1; } }

.hero-split-inner {
  padding: 56px var(--gutter) 60px;
  max-width: 480px;
  margin: 0 auto;
}
@media (min-width: 900px) { .hero-split-inner { padding: 0 56px; margin: 0; max-width: none; } }

.hero-split-inner .kicker { color: var(--on-orange); }
.hero-split-inner .kicker::before { content: none; }
.hero-split-inner h1 { color: #fff; font-size: clamp(38px, 5.6vw, 60px); }
.hero-split-inner .lede { color: rgba(234, 241, 247, 0.82); max-width: 40ch; }
.hero-split-inner .hero-meta { color: rgba(234, 241, 247, 0.68); flex-wrap: wrap; }
.hero-split-inner .hero-meta strong { color: #fff; }

.hero-split-inner .btn-ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.hero-split-inner .btn-ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }

.hero-split-media { order: 2; aspect-ratio: 16 / 10; max-height: 46vh; }
@media (min-width: 900px) { .hero-split-media { order: 2; aspect-ratio: 4 / 3.3; max-height: none; } }
.hero-split-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(0.9) contrast(1.02);
  display: block;
}

/* Patient-led hero with the interactive implant retained as a smaller inset */
.hero-photo-media {
  position: relative;
  overflow: hidden;
  background: #e7ddd0;
}
.hero-patient-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}
.hero-patient-photo img { object-position: center 28%; }
.hero-patient-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 48%, rgba(21, 32, 40, 0.08) 100%);
  pointer-events: none;
}
.hero-patient-photo figcaption {
  position: absolute;
  left: auto;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  padding: 11px 14px;
  background: rgba(253, 251, 246, 0.9);
  backdrop-filter: blur(8px);
  color: var(--ink);
  pointer-events: none;
}
.hero-patient-photo figcaption span,
.hero-patient-photo figcaption strong { display: block; }
.hero-patient-photo figcaption span {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--orange);
}
.hero-patient-photo figcaption strong {
  margin-top: 2px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}
.home-implant-feature {
  padding: 56px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.home-implant-feature-grid { display: grid; gap: 32px; align-items: center; }
.home-implant-copy h2 { max-width: 11ch; font-size: clamp(34px, 4.4vw, 52px); }
.home-implant-copy .lede { max-width: 38ch; }
.home-implant-copy .text-link { margin-top: 14px; }
.home-implant-model-wrap { min-width: 0; }
.home-implant-model {
  position: relative;
  height: 430px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d9e3e8;
  background: #edf2f4;
}
.home-implant-model .tooth-orbit {
  background: radial-gradient(ellipse 78% 70% at 50% 43%, #fff 0%, #f3f6f7 58%, #e2e9ec 100%);
}
.home-implant-model .implant-model-title { top: 18px; bottom: auto; left: 18px; }
.home-implant-model .implant-model-title span { display: none; }
.home-implant-model .implant-model-title strong { font-size: 23px; }
.home-implant-model .implant-expand-toggle { white-space: nowrap; }
.home-implant-instruction {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}
.home-implant-instruction svg { flex: 0 0 auto; color: var(--orange); }

@media (min-width: 900px) {
  .home-implant-feature { padding: 72px 0; }
  .home-implant-feature-grid {
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    gap: 64px;
    max-width: 1120px;
  }
  .home-implant-model { height: 500px; }
}

@media (max-width: 899px) {
  .hero-patient-photo {
    position: absolute;
    inset: 0;
  }
  .hero-patient-photo figcaption { left: 14px; right: auto; bottom: 14px; }
}

@media (max-width: 599px) {
  .home-implant-model { height: auto; aspect-ratio: 4 / 3.15; }
  .home-implant-model .implant-model-title { top: 13px; left: 13px; }
  .home-implant-model .implant-model-title strong { font-size: 18px; }
  .home-implant-instruction { gap: 7px; margin-top: 11px; font-size: 7.5px; letter-spacing: 0.12em; }
}

.hero-ctas { display: grid; gap: 12px; margin-top: 38px; }
@media (min-width: 600px) { .hero-ctas { display: flex; gap: 18px; } }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta .stars { color: var(--orange); letter-spacing: 4px; }
.hero-meta strong { color: var(--ink); font-weight: 500; }

/* Flat editorial image — no frame, no shadow, no radius */
.media-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  aspect-ratio: 4 / 4.6;
  background: var(--paper);
}
.media-card::before { content: none; }
.media-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.86) contrast(0.97) sepia(0.03); }

.float-chip {
  position: absolute;
  left: 0;
  bottom: 0;
  right: auto;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--cream);
  backdrop-filter: none;
  border: 0;
  border-top: 2px solid var(--orange);
  border-radius: 0;
  padding: 18px 24px;
  font-size: 12px;
  letter-spacing: 0.05em;
  line-height: 1.6;
  color: var(--body-c);
  box-shadow: none;
  max-width: 330px;
}
.float-chip .dot {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 0;
  background: var(--orange);
  border: 0;
  color: var(--on-orange);
  display: flex;
  align-items: center;
  justify-content: center;
}
.float-chip strong {
  display: block;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

/* ==========================================================================
   Trust strip
   ========================================================================== */

.trust-strip { border-block: 1px solid var(--line); background: var(--cream); }
.trust-strip .wrap { display: grid; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .trust-strip .wrap { grid-template-columns: repeat(4, 1fr); } }
.trust-cell { padding: 30px 14px; text-align: center; }
.trust-cell + .trust-cell { border-left: 1px solid var(--line); }
@media (max-width: 899px) {
  .trust-cell:nth-child(3) { border-left: 0; }
  .trust-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.trust-cell strong {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.trust-cell span {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================================
   Section head
   ========================================================================== */

.section-head { margin-bottom: 60px; }
.section-head.centered { text-align: center; }
.section-head.centered .kicker { justify-content: center; }
.section-head.centered .lede { margin-inline: auto; }
.section-head.split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 26px; }

/* ==========================================================================
   Cards — borderless editorial: image, caption, hairline
   ========================================================================== */

.card-grid { display: grid; gap: 28px; }
@media (min-width: 720px) { .card-grid.cols-2 { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (min-width: 900px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 36px; } .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 30px; } }
@media (min-width: 720px) and (max-width: 899px) { .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr 1fr; } }

.card {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: none;
  overflow: visible;
}
a.card { display: block; color: inherit; }
.card:hover { transform: none; box-shadow: none; }

.photo-card .card-media { aspect-ratio: 16 / 11; overflow: hidden; position: relative; }
.photo-card .card-media::before { content: none; }
.photo-card .card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: saturate(0.86) contrast(0.97) sepia(0.03); transition: transform 0.7s ease; }
.photo-card:hover .card-media img { transform: scale(1.03); }
.photo-card .card-body { padding: 26px 0 0; }
.photo-card h3 { margin-bottom: 10px; }
.photo-card h3 { transition: color 0.25s ease; }
.photo-card:hover h3 { color: var(--orange); }
.photo-card p { font-size: 15px; font-weight: 300; color: var(--body-c); margin-bottom: 20px; }

/* Icon tiles — boxed cards; link tiles carry a visible "Learn more" cue */
.tile {
  padding: 32px 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: border-color 0.25s ease;
}
.tile .tile-icon {
  width: auto; height: auto;
  border-radius: 0;
  background: none;
  color: var(--orange);
  display: block;
  margin-bottom: 20px;
}
.tile h3 { font-size: 22px; margin-bottom: 8px; transition: color 0.25s ease; }
.tile p { font-size: 14.5px; font-weight: 300; color: var(--body-c); margin: 0; }
a.tile { display: flex; flex-direction: column; }
a.tile:hover { border-color: var(--orange); }
a.tile:hover h3 { color: var(--orange); }
a.tile::after {
  content: "Learn more \2192";
  margin-top: 20px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
}

/* ==========================================================================
   Split feature
   ========================================================================== */

.feature .wrap { display: grid; gap: 48px; }
@media (min-width: 900px) {
  .feature .wrap { grid-template-columns: 1fr 1fr; align-items: center; gap: 108px; }
  .feature.flip .split-media { order: -1; }
}

.check-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 0; }
.check-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  font-size: 15.5px;
  font-weight: 300;
  color: var(--body-c);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.check-list li:first-child { border-top: 1px solid var(--line); }
.check-list .tick {
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 5px;
  border-radius: 0;
  background: none;
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}
.band-dark .check-list li { color: rgba(255, 246, 236, 0.9); border-color: rgba(255, 246, 236, 0.25); }
.band-dark .check-list .tick { background: none; color: var(--on-orange); }

.stat-row { display: flex; gap: 52px; margin-top: 38px; }
.stat-row strong {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(30px, 4.5vw, 46px);
  letter-spacing: 0.01em;
  color: var(--ink);
  line-height: 1;
}
.band-dark .stat-row strong { color: var(--on-orange); }
.stat-row span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
}
.band-dark .stat-row span { color: rgba(255, 246, 236, 0.75); }

.feature .actions { display: grid; gap: 12px; margin-top: 36px; }
@media (min-width: 600px) { .feature .actions { display: flex; gap: 18px; } }

/* ==========================================================================
   Steps — numbered, hairline-ruled, no boxes
   ========================================================================== */

.steps { display: grid; gap: 34px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 44px; } }
.step {
  counter-increment: step;
  background: none;
  border: 0;
  border-top: 1px solid var(--line-dark);
  border-radius: 0;
  padding: 28px 0 0;
}
.step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-style: italic;
  font-size: 30px;
  color: var(--orange);
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-bottom: 14px;
}
.step h3 { font-size: 23px; margin-bottom: 8px; }
.step p { font-size: 14.5px; font-weight: 300; color: var(--body-c); margin: 0; }

/* ==========================================================================
   Emergency strip
   ========================================================================== */

.sos {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 0;
  box-shadow: none;
  padding: 32px 28px;
  display: grid;
  gap: 20px;
}
@media (min-width: 800px) {
  .sos { grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; padding: 38px 46px; }
}
.sos .sos-icon {
  width: 54px; height: 54px;
  border-radius: 0;
  background: var(--orange);
  border: 0;
  color: var(--on-orange);
  display: flex; align-items: center; justify-content: center;
}
.sos h3 { margin-bottom: 6px; }
.sos p { margin: 0; font-size: 15px; font-weight: 300; color: var(--body-c); }

/* ==========================================================================
   Team — borderless portraits with captions
   ========================================================================== */

.person .card-media { aspect-ratio: 3 / 3.6; overflow: hidden; position: relative; }
.person .card-media::before { content: none; }
.person .card-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82) contrast(0.97) sepia(0.03); transition: transform 0.7s ease; }
.person:hover .card-media img { transform: scale(1.03); }
.person .card-body { padding: 18px 0 0; text-align: center; }
.person .p-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 21px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.person .p-role {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: 6px;
}

/* Team directory — designed to work without portrait photography */
.team-directory { padding-top: 64px; }
.team-directory-head {
  display: grid;
  gap: 24px;
  align-items: end;
  margin-bottom: 52px;
}
.team-directory-head h2 { margin-bottom: 0; }
.team-directory-head .lede { margin: 0; }

.team-leads {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  margin-bottom: 72px;
}
.team-lead-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  padding: 28px;
  background: var(--orange);
  color: var(--on-orange);
  display: flex;
  align-items: flex-end;
}
.team-lead-card:nth-child(2) { background: var(--orange-deep); }
.team-lead-monogram {
  position: absolute;
  top: -44px;
  left: 18px;
  font-family: var(--display);
  font-size: clamp(150px, 30vw, 250px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.08em;
  color: rgba(234, 241, 247, 0.09);
  pointer-events: none;
}
.team-lead-copy { position: relative; z-index: 1; }
.team-lead-copy p {
  margin: 0 0 14px;
  color: rgba(234, 241, 247, 0.78);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.team-lead-copy h3 {
  margin: 0;
  color: var(--on-orange);
  font-size: clamp(42px, 10vw, 68px);
  line-height: 0.9;
}

.team-rosters { display: grid; gap: 68px; }
.team-roster-group { border-top: 2px solid var(--ink); padding-top: 26px; }
.team-roster-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  min-height: 126px;
}
.team-roster-head .kicker { margin-bottom: 13px; color: var(--orange); }
.team-roster-head h3 { margin: 0; font-size: clamp(28px, 4.5vw, 38px); }
.team-roster-label {
  flex: 0 0 auto;
  padding-top: 4px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.team-roster-list { border-bottom: 1px solid var(--line); }
.team-person-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 19px 0;
  border-top: 1px solid var(--line);
}
.team-person-initials {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.team-person-row h4 {
  margin: 0 0 3px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 27px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.01em;
}
.team-person-row p {
  margin: 0;
  color: var(--orange);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.26em;
  line-height: 1.4;
  text-transform: uppercase;
}
.team-person-row.is-manager .team-person-initials {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--on-orange);
}
.team-registration {
  margin: 42px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 300;
}

@media (min-width: 700px) {
  .team-directory-head { grid-template-columns: 1.08fr 0.92fr; gap: 80px; margin-bottom: 70px; }
  .team-leads { grid-template-columns: 1fr 1fr; }
  .team-lead-card { min-height: 410px; padding: 42px; }
  .team-lead-monogram { left: 28px; font-size: clamp(190px, 24vw, 300px); }
}

@media (min-width: 960px) {
  .team-directory { padding-top: 92px; }
  .team-leads { margin-bottom: 110px; }
  .team-rosters { grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
  .team-person-row { grid-template-columns: 52px minmax(0, 1fr); gap: 22px; padding: 22px 0; }
  .team-person-initials { width: 46px; height: 46px; }
}

/* Homepage team preview — concise and photography-independent */
.home-team-layout { display: grid; gap: 54px; align-items: start; }
.home-team-copy h2 { max-width: 10ch; }
.home-team-copy .lede { max-width: 42ch; }
.home-team-copy .btn { margin-top: 20px; }
.home-team-board { border-top: 2px solid var(--ink); }
.home-team-board-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.home-team-board-head strong { color: var(--orange); font-weight: 600; }
.home-team-principals { display: grid; }
.home-team-principals article {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.home-team-principals article > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: var(--on-orange);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
}
.home-team-principals strong,
.home-team-principals small { display: block; }
.home-team-principals strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.05;
}
.home-team-principals small {
  margin-top: 5px;
  color: var(--orange);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.home-team-groups > div {
  display: grid;
  gap: 4px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.home-team-groups span {
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.home-team-groups strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

@media (min-width: 680px) {
  .home-team-principals { grid-template-columns: 1fr 1fr; }
  .home-team-principals article { padding: 30px 18px 30px 0; }
  .home-team-principals article + article { padding-left: 24px; border-left: 1px solid var(--line); }
  .home-team-groups { display: grid; grid-template-columns: 1.45fr 0.8fr 0.75fr; }
  .home-team-groups > div { padding: 20px 18px 20px 0; }
  .home-team-groups > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
}

@media (min-width: 960px) {
  .home-team-layout { grid-template-columns: 0.78fr 1.22fr; gap: 100px; }
}

/* ==========================================================================
   Reviews — serif pull-quotes over hairlines
   ========================================================================== */

.review { padding: 30px 0 0; border-top: 1px solid var(--line-dark); display: flex; flex-direction: column; }
.review .stars { color: var(--orange); letter-spacing: 5px; font-size: 12px; margin-bottom: 18px; }
.review p {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
  flex: 1;
}
.review .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.review .avatar {
  width: 34px; height: 34px;
  border-radius: 0;
  background: none;
  border: 1px solid var(--orange);
  color: var(--orange);
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.review .who strong { font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink); }
.review .who span { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); display: block; }

.rating-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.rating-line .num { font-family: var(--display); font-weight: 600; font-size: 26px; color: var(--ink); }
.rating-line .stars { color: var(--orange); letter-spacing: 4px; }

/* ==========================================================================
   Fees
   ========================================================================== */

.fees-grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .fees-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
.fees-panel {
  background: var(--cream);
  border: 1px solid var(--line-dark);
  border-radius: 0;
  padding: 34px 30px;
}
@media (min-width: 600px) { .fees-panel { padding: 46px 48px; } }
.fees-panel.highlight { border-color: var(--orange); box-shadow: none; border-top: 3px solid var(--orange); }
.fees-panel .panel-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--orange);
  background: none;
  border-radius: 0;
  padding: 0 0 10px;
  margin-bottom: 8px;
}
.fee-table { width: 100%; border-collapse: collapse; }
.fee-table td { padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 300; }
.fee-table tr:last-child td { border-bottom: 0; }
.fee-table td:last-child {
  text-align: right;
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
}

/* Full price list: category bar + row list, as supplied by the practice */
.fee-list { display: flex; flex-direction: column; gap: 40px; }
.fee-block-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  background: var(--orange-deep);
  color: var(--on-orange);
  padding: 16px 22px;
}
@media (min-width: 600px) { .fee-block-head { padding: 18px 30px; } }
.fee-block-head h3 { color: var(--on-orange); margin: 0; font-size: clamp(20px, 3vw, 24px); }
.fee-block-head span { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; }
.fee-rows { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-top: 0; }
.fee-rows td { padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 300; }
@media (min-width: 600px) { .fee-rows td { padding: 15px 30px; } }
.fee-rows tr:last-child td { border-bottom: 0; }
.fee-rows td:last-child {
  text-align: right;
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq { display: grid; gap: 0; max-width: 800px; margin: 0 auto; }
.faq details {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  border-radius: 0;
  padding: 0;
}
.faq details:first-child { border-top: 1px solid var(--line-dark); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px 2px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.01em;
  color: var(--ink);
  transition: color 0.25s ease;
}
.faq summary:hover { color: var(--orange); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--display);
  font-weight: 500;
  font-size: 28px;
  color: var(--orange);
  line-height: 1;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { font-size: 15px; font-weight: 300; padding: 0 2px 26px; margin: 0; }

/* ==========================================================================
   Location / contact
   ========================================================================== */

.location-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .location-grid { grid-template-columns: 1.05fr 1fr; align-items: start; gap: 96px; } }

.map-card {
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: none;
  aspect-ratio: 4 / 3;
  background: var(--paper);
}
.map-card iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(0.18); }

.info-list { display: grid; gap: 0; margin: 28px 0; }
.info-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 18px 2px;
}
.info-item:first-child { border-top: 1px solid var(--line); }
.info-item .dot {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 0;
  background: none;
  border: 1px solid var(--orange);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
}
.info-item strong {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.info-item span, .info-item a { font-size: 14px; font-weight: 300; color: var(--body-c); }

.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 300; }
.hours tr:first-child td { border-top: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-family: var(--display); font-weight: 600; font-size: 16.5px; color: var(--ink); }
.hours tr.today td { color: var(--orange); font-weight: 500; }
.hours tr.today td:last-child { color: var(--orange); }

/* Contact form */
.form-card {
  background: var(--cream);
  border: 1px solid var(--line-dark);
  border-top: 3px solid var(--orange);
  border-radius: 0;
  padding: 32px 26px;
  box-shadow: none;
}
@media (min-width: 600px) { .form-card { padding: 46px 48px; } }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 600px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.field label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--text);
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 15px;
  outline: none;
  transition: border-color 0.25s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--orange);
  box-shadow: none;
}
.field textarea { resize: vertical; min-height: 120px; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */

.page-hero { padding: 56px 0 68px; }
@media (min-width: 900px) { .page-hero { padding: 92px 0 104px; } }
.page-hero .lede { margin-top: 6px; }
.page-hero .hero-ctas { margin-top: 32px; }

.crumb {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  display: block;
}
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--orange); }

/* ==========================================================================
   CTA band — the orange box
   ========================================================================== */

.cta-band { text-align: center; overflow: hidden; }
.cta-band .actions { display: grid; gap: 12px; margin-top: 38px; }
@media (min-width: 600px) { .cta-band .actions { display: flex; justify-content: center; gap: 18px; } }
.cta-band .halo { display: none; }

/* ==========================================================================
   Footer — cream, quiet, precise
   ========================================================================== */

.site-footer {
  background: var(--cream);
  color: var(--body-c);
  font-size: 14px;
  font-weight: 300;
  border-top: 1px solid var(--line-dark);
  padding: 68px 0 0;
}
@media (min-width: 900px) { .site-footer { padding-top: 92px; } }
.footer-grid { display: grid; gap: 44px; padding-bottom: 56px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 64px; } }
.site-footer .logo { color: var(--ink); }
.site-footer .logo em { text-align: left; }
.site-footer .col-title {
  font-family: var(--text);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 20px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 12px; }
.site-footer a { color: var(--body-c); border-bottom: 1px solid transparent; transition: color 0.25s ease, border-color 0.25s ease; }
.site-footer a:hover { color: var(--orange); border-bottom-color: var(--orange); }
.footer-about p { margin-top: 18px; max-width: 34ch; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-bottom a { color: var(--muted); border: 0; }
.footer-bottom a:hover { color: var(--orange); }
.footer-bottom .legal { display: flex; gap: 24px; }

/* ==========================================================================
   Reveal
   ========================================================================== */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .photo-card:hover .card-media img, .person:hover .card-media img { transform: none; }
}

/* ==========================================================================
   "Now accepting new patients" popup
   ========================================================================== */

.np-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.np-modal.open { opacity: 1; visibility: visible; }

.np-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 30, 42, 0.6);
  backdrop-filter: blur(2px);
}

.np-modal-panel {
  position: relative;
  z-index: 1;
  background: var(--cream);
  border-top: 3px solid var(--orange);
  max-width: 420px;
  width: 100%;
  padding: 40px 32px 36px;
  text-align: center;
  transform: translateY(14px);
  transition: transform 0.35s ease;
}
.np-modal.open .np-modal-panel { transform: translateY(0); }

.np-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line-dark);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.np-modal-close:hover { border-color: var(--orange); color: var(--orange); }

.np-modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin: 0 auto 18px;
  background: var(--orange);
  color: var(--on-orange);
}

.np-modal-panel .kicker { display: block; margin-bottom: 10px; }
.np-modal-panel h3 { margin-bottom: 12px; }
.np-modal-panel p { font-size: 14.5px; font-weight: 300; color: var(--body-c); max-width: 32ch; margin: 0 auto 26px; }

.np-modal-actions { display: grid; gap: 10px; }
.np-modal-actions .btn { width: 100%; }

/* ==========================================================================
   Interactive assembled dental implant
   ========================================================================== */

.tooth-orbit {
  --explode-progress: 0;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  perspective: 1000px;
  background:
    radial-gradient(ellipse 75% 64% at 50% 42%, #ffffff 0%, #edf6f7 55%, #d9e8ea 100%);
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}
.tooth-orbit.engaged { cursor: grabbing; }

.tooth-orbit-stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

.tooth-orbit-stage canvas { display: block; width: 100%; height: 100%; }
.tooth-orbit-stage canvas { touch-action: none; }

.implant-model-title {
  position: absolute;
  top: auto;
  bottom: 24px;
  left: 22px;
  z-index: 6;
  color: var(--ink);
  pointer-events: none;
}
.implant-model-title span,
.implant-model-title strong { display: block; }
.implant-model-title span {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.implant-model-title strong {
  font-family: var(--display);
  font-size: clamp(21px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.implant-expand-toggle {
  position: absolute;
  top: auto;
  bottom: 20px;
  right: auto;
  left: 50%;
  transform: translateX(-50%);
  z-index: 7;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 9px 18px 9px 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 10px 28px rgba(15, 38, 52, 0.24);
  backdrop-filter: blur(8px);
  color: #fff;
  font: inherit;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.implant-toggle-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}
.implant-expand-toggle:hover { background: var(--orange-deep); transform: translateX(-50%) translateY(-2px); box-shadow: 0 14px 34px rgba(15, 38, 52, 0.3); }
.implant-expand-toggle:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.implant-labels {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  visibility: hidden;
}
.implant-leader-lines { display: none; }
.tooth-orbit.show-labels .implant-labels { visibility: visible; }
.implant-label {
  position: absolute;
  width: max-content;
  max-width: 190px;
  padding: 8px 11px;
  border: 1px solid rgba(25, 64, 70, 0.16);
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 6px 18px rgba(28, 65, 71, 0.1);
  backdrop-filter: blur(7px);
  color: var(--ink);
  opacity: var(--explode-progress);
  transform: translate(26px, -50%);
}
.implant-label::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  width: 26px;
  border-top: 1px solid rgba(25, 64, 70, 0.48);
}
.implant-label::after {
  content: "";
  position: absolute;
  top: calc(50% - 3px);
  right: calc(100% + 23px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.implant-label.is-left { transform: translate(calc(-100% - 26px), -50%); }
.implant-label.is-left::before { right: auto; left: 100%; }
.implant-label.is-left::after { right: auto; left: calc(100% + 23px); }
.implant-label strong,
.implant-label small { display: block; }
.implant-label strong { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.implant-label small { margin-top: 2px; color: var(--muted); font-size: 10px; letter-spacing: 0.02em; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.tooth-orbit-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 72%, transparent 40%, rgba(49, 82, 88, 0.1) 100%);
  pointer-events: none;
}

.tooth-orbit-hint {
  position: absolute;
  left: 50%;
  top: 20px;
  bottom: auto;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: rgba(8, 13, 20, 0.35);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(19, 56, 63, 0.18);
  pointer-events: none;
  transition: opacity 0.6s ease;
  z-index: 3;
}
.tooth-orbit-hint svg { flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  .tooth-orbit-stage { transform: none !important; }
  .implant-expand-toggle { transition: none; }
}

@media (max-width: 599px) {
  .implant-model-title { top: 13px; bottom: auto; left: 13px; }
  .implant-model-title span { display: none; }
  .implant-model-title strong { font-size: 18px; }
  .implant-expand-toggle { top: auto; bottom: 10px; right: 10px; left: auto; transform: none; min-height: 42px; padding: 6px 12px 6px 6px; font-size: 8px; }
  .implant-expand-toggle:hover { transform: translateY(-1px); }
  .implant-toggle-icon { width: 28px; height: 28px; flex-basis: 28px; font-size: 18px; }
  .implant-labels {
    inset: auto 10px 68px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }
  .implant-leader-lines {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    opacity: var(--explode-progress);
    visibility: hidden;
  }
  .tooth-orbit.show-labels .implant-leader-lines { visibility: visible; }
  .implant-leader-lines line {
    stroke: rgba(196, 85, 48, 0.72);
    stroke-width: 1.25;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
  }
  .implant-label {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: auto;
    min-width: 0;
    padding: 7px 5px;
    text-align: center;
    transform: none !important;
  }
  .implant-label[data-implant-label="crown"] { order: 1; }
  .implant-label[data-implant-label="fixture"] { order: 2; }
  .implant-label[data-implant-label="abutment"] { order: 3; }
  .implant-label::before,
  .implant-label::after,
  .implant-label small { display: none; }
  .implant-label strong { font-size: 8px; letter-spacing: 0.04em; }
  .tooth-orbit-hint { display: none; }
}

/* ========================================================================== 
   Legal, privacy and patient-information pages
   ========================================================================== */

.legal-hero .legal-reviewed {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.legal-section { padding-top: 64px; }
.legal-layout { display: grid; gap: 54px; align-items: start; max-width: 1120px; }
.legal-index {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ink);
}
.legal-index strong,
.legal-index a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.legal-index strong {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.legal-index a { color: var(--ink); font-family: var(--display); font-size: 19px; }
.legal-index a:hover { color: var(--orange); }
.legal-copy { min-width: 0; }
.legal-copy section {
  scroll-margin-top: 110px;
  padding: 0 0 42px;
  margin: 0 0 42px;
  border-bottom: 1px solid var(--line);
}
.legal-copy section:last-child { margin-bottom: 0; }
.legal-copy h2 { margin-bottom: 18px; font-size: clamp(30px, 4vw, 42px); }
.legal-copy h3 { margin: 28px 0 12px; font-size: 23px; }
.legal-copy p,
.legal-copy li { color: var(--body-c); font-size: 15.5px; font-weight: 300; line-height: 1.85; }
.legal-copy p { margin: 0 0 16px; }
.legal-copy ul,
.legal-copy ol { display: grid; gap: 8px; margin: 18px 0 20px; padding-left: 22px; }
.legal-copy a { color: var(--orange); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-copy a:hover { color: var(--ink); }
.legal-callout {
  margin-bottom: 46px;
  padding: 26px 28px;
  border-left: 3px solid var(--orange);
  background: var(--cream);
}
.legal-callout strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.legal-callout p { margin: 0; color: var(--body-c); }
.legal-table-wrap { margin: 22px 0; overflow-x: auto; border: 1px solid var(--line); }
.legal-table { width: 100%; min-width: 620px; border-collapse: collapse; background: var(--paper); }
.legal-table th,
.legal-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th {
  color: var(--ink);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.legal-table td { color: var(--body-c); font-size: 13.5px; font-weight: 300; line-height: 1.65; }
.legal-table tr:last-child td { border-bottom: 0; }
.cookie-table { min-width: 760px; }

@media (min-width: 900px) {
  .legal-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 88px; }
  .legal-index { position: sticky; top: 112px; }
}

/* Contact appointment enquiry */
.contact-form-intro { margin: 10px 0 26px; color: var(--body-c); font-size: 14.5px; font-weight: 300; }
.contact-form-row { margin-top: 18px; }
.field label span { color: var(--muted); font-weight: 300; letter-spacing: 0; text-transform: none; }
.contact-address { margin: 24px 0 0; padding: 22px; border: 1px solid var(--line); }
.contact-address legend {
  padding: 0 10px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.contact-address legend span { color: var(--muted); font-weight: 300; letter-spacing: 0; text-transform: none; }
.contact-address > p { margin: -2px 0 18px; color: var(--muted); font-size: 12px; font-weight: 300; }
.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.form-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  margin-top: 20px;
  color: var(--body-c);
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.55;
}
.form-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--orange); }
.form-consent a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
.contact-submit { width: 100%; margin-top: 22px; }
.contact-submit:disabled { cursor: wait; opacity: .68; }
.form-status { min-height: 20px; margin: 12px 0 0; color: var(--orange); font-size: 12px; text-align: center; }
.contact-choice-note { margin-top: 18px; color: var(--muted); font-size: 12px; line-height: 1.6; }

.footer-compliance {
  margin-top: 20px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.65;
}
.footer-compliance a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 14px 22px; }
