:root {
  --bg-paper: #eff6ff;
  --bg-surface: #fff;
  --bg-subtle: #e0edff;
  --navy-900: #0a2a50;
  --navy-700: #164b85;
  --accent-blue: #2165a8;
  --text-primary: #142c47;
  --text-muted: #415a74;
  --border-hairline: #c8d9ec;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --gutter: clamp(1.125rem, 4vw, 3rem);
  --section-space: clamp(3.75rem, 8vw, 7rem);

  /* Motion tokens from Transitions.dev. */
  --duration-stagger: 40ms;
  --duration-quick: 150ms;
  --duration-fast: 250ms;
  --duration-medium: 350ms;
  --duration-very-slow: 500ms;
  --ease-smooth-out: cubic-bezier(0.22, 1, 0.36, 1);
  --distance-medium: 12px;
  --scale-medium: 0.97;
}

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

html {
  scroll-padding-top: 6.5rem;
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg-paper);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.55;
}

[hidden] { display: none !important; }

h1, h2, h3, p, figure, ul, dl, dd { margin: 0; }

h1, h2, h3 {
  color: var(--navy-900);
  font-family: var(--font-body);
  font-weight: 650;
  line-height: 1.09;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.55rem, 5.15vw, 4.65rem);
  letter-spacing: -0.037em;
}

h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  letter-spacing: -0.028em;
}

h3 { font-size: clamp(1.55rem, 2.5vw, 2.05rem); }

a { color: inherit; }

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

address { font-style: normal; }

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

.skip-link {
  position: fixed;
  inset: .5rem auto auto .5rem;
  z-index: 10;
  padding: .75rem 1rem;
  transform: translateY(-150%);
  background: var(--bg-surface);
  color: var(--navy-900);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  border-bottom: 1px solid var(--border-hairline);
  background: var(--bg-paper);
}

.header-inner {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: grid;
  flex-shrink: 0;
  align-content: center;
  min-height: 2.75rem;
  color: var(--navy-900);
  text-decoration: none;
}

.wordmark strong {
  font: 700 1.55rem/1.06 var(--font-body);
  letter-spacing: -.026em;
}

.wordmark span {
  font-size: .69rem;
  font-weight: 600;
  letter-spacing: .035em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(.8rem, 2.1vw, 1.6rem);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--navy-900);
  font-size: .955rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover { text-decoration: underline; text-underline-offset: .28em; }

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .65rem 1rem;
  border: 1px solid transparent;
  border-radius: .25rem;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition:
    background-color var(--duration-quick) var(--ease-smooth-out),
    border-color var(--duration-quick) var(--ease-smooth-out);
}

.button--solid {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: white;
}

.button--solid:hover {
  background: var(--navy-700);
  border-color: var(--navy-700);
}

.button--outline {
  border-color: var(--navy-700);
  color: var(--navy-900);
}

.button--outline:hover { background: var(--bg-subtle); }
.button-arrow { font-weight: 400; }
.header-action { min-height: 2.75rem; white-space: nowrap; }
.menu-toggle { display: none; }
.site-nav .menu-action { display: none; }

.hero {
  padding-block: clamp(3rem, 7.4vw, 6.5rem);
  background: linear-gradient(120deg, #0b3160 12%, #1762a8 100%);
  color: #e5effc;
  text-align: center;
}

.hero h1 {
  max-width: 23ch;
  margin-inline: auto;
  color: white;
  font-size: clamp(2.45rem, 5.2vw, 4.6rem);
  font-weight: 700;
  text-wrap: balance;
}

.hero-lead {
  max-width: 65ch;
  margin: 1rem auto 0;
  color: #e5effc;
}

.booking-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.55rem;
}

.hero .button--solid { background: #f4f8ff; border-color: #f4f8ff; color: var(--navy-900); }
.hero .button--solid:hover { background: #d9eaff; border-color: #d9eaff; }
.hero .button--outline { border-color: #9ebfe5; color: white; }
.hero .button--outline:hover { background: #163c67; }
.hero :focus-visible { outline-color: white; }

.intro-band { background: var(--bg-subtle); }
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(9rem, 11rem);
  align-items: center;
  gap: clamp(1.4rem, 5vw, 4rem);
  padding-block: clamp(1.6rem, 4vw, 3rem);
}

.hero-credentials {
  color: var(--navy-900);
  font-size: 1rem;
}

.hero-credentials strong { display: inline-block; font-size: 1.15rem; }
ul { padding: 0; list-style: none; }
.hero-credentials ul { margin-top: .35rem; }
.credential-number, .nowrap { white-space: nowrap; }

.hero-location {
  max-width: 70ch;
  margin-top: .85rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border-hairline);
  color: var(--text-muted);
  font-size: .95rem;
}

.portrait {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid #a9c4e3;
  border-radius: .6rem;
  background: #a6c9f1;
}

.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.talk { margin-top: 1.5rem; }
.talk img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid #a9c4e3;
  border-radius: .6rem;
  background: #a6c9f1;
}
.talk figcaption { margin-top: .5rem; font-size: .95rem; color: var(--text-muted); }

.section {
  padding-block: var(--section-space);
  border-top: 1px solid var(--border-hairline);
}

.section--white { background: var(--bg-surface); }
.section--subtle { background: var(--bg-subtle); }
.section-intro > p { max-width: 62ch; margin-top: .9rem; }
.section-intro > p:not(.biography-id) { color: var(--text-muted); }

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.125rem;
  margin-top: 2rem;
}

.practice {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2.1rem);
  border: 1px solid var(--border-hairline);
}

.practice::before {
  display: block;
  width: 1.7rem;
  height: 2px;
  margin-bottom: 1.125rem;
  background: var(--accent-blue);
  content: "";
}

.practice p { margin-top: .6rem; max-width: 56ch; }

.practice-procedures {
  max-width: 56ch;
  margin-top: .65rem;
  padding-inline-start: 1.2em;
  list-style: disc;
}

.practice-procedures li + li { margin-top: .35rem; }

.biography-grid, .clinic-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.13fr);
  align-items: start;
  gap: clamp(2rem, 7vw, 6.25rem);
}

.biography-id { font-weight: 650; }

.registry-list {
  margin-block: .8rem 2.15rem;
  border-top: 1px solid var(--border-hairline);
}

.registry-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem;
  padding-block: .65rem;
  border-bottom: 1px solid var(--border-hairline);
}

.registry-list strong { font-size: .925rem; white-space: nowrap; }
.registry-list small { display: block; font-size: .92rem; color: var(--text-muted); }
.training-list { margin-top: .8rem; border-top: 1px solid var(--border-hairline); }

.training-list div, .clinic-details div {
  padding-block: .6rem;
  border-bottom: 1px solid var(--border-hairline);
}

.training-list dt, .clinic-details dt {
  color: var(--navy-900);
  font-weight: 650;
}

.training-list dd, .clinic-details dd { font-size: 1rem; }
.clinic-details { margin-top: 1.35rem; border-top: 1px solid var(--border-hairline); }

.clinic-card {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--border-hairline);
  background: var(--bg-surface);
}

.clinic-card address { margin-top: .5rem; }

.map-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  color: var(--navy-700);
  font-weight: 650;
  text-decoration: none;
}

.t-learn-text { text-decoration: underline; text-underline-offset: .2em; }

.clinic-contacts {
  display: grid;
  gap: 1.05rem;
  margin-top: .85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-hairline);
}

.clinic-contacts p { margin-top: .3rem; font-size: .925rem; color: var(--text-muted); }

.faq { max-width: 48.75rem; }
.faq-list { margin-top: 1.6rem; border-top: 1px solid var(--border-hairline); }
.t-acc { border-bottom: 1px solid var(--border-hairline); }

.t-acc-head {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.06rem .15rem;
  border: 0;
  background: transparent;
  color: var(--navy-900);
  font: 650 1.08rem/1.32 var(--font-body);
  text-align: start;
  cursor: pointer;
}

.t-acc-head:focus-visible { outline-offset: -2px; }
.t-acc-head:disabled { cursor: default; }
.t-acc-head:disabled .t-acc-chevron { display: none; }

.t-acc-panel-inner > p {
  max-width: 66ch;
  padding: .1rem 1.6rem 1.1rem .15rem;
}

.site-footer {
  padding-block: 2.75rem 2rem;
  background: var(--navy-900);
  color: #e3e8ef;
  font-size: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr);
  gap: 1.5rem;
}

.footer-name {
  color: white;
  font: 500 clamp(1.5rem, 3vw, 2.25rem)/1.15 var(--font-body);
}

.site-footer ul { margin-top: .4rem; }
.site-footer address a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
}
.site-footer a { text-underline-offset: .2em; }
.site-footer a[href^="tel:"] { display: inline-block; padding-block: .6rem; margin-block: -.6rem; }
.site-footer a:focus-visible { outline-color: #fff; }

.footer-note {
  margin-top: 1.5rem;
  padding-top: 1.05rem;
  border-top: 1px solid #415a74;
  color: #d4dce7;
  font-size: .9rem;
}

/* Texts reveal, Accordion expand and Learn more hover — Transitions.dev. */
.t-stagger-line {
  animation: hero-reveal var(--duration-very-slow) var(--ease-smooth-out) backwards;
}

.t-stagger-line--2 { animation-delay: var(--duration-stagger); }

@keyframes hero-reveal {
  from { opacity: 0; transform: translateY(var(--distance-medium)); }
}

.t-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration-fast) var(--ease-smooth-out);
}

.t-acc[data-open="true"] .t-acc-panel { grid-template-rows: 1fr; }
.t-acc-panel-inner { min-height: 0; overflow: hidden; }

.t-acc-chevron {
  position: relative;
  flex: 0 0 1rem;
  height: 1rem;
  transition: transform var(--duration-fast) var(--ease-smooth-out);
}

.t-acc-chevron::before {
  position: absolute;
  top: 3px;
  left: 4px;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  content: "";
}

.t-acc[data-open="true"] .t-acc-chevron { transform: scaleY(-1); }

.t-learn-chevron {
  display: inline-block;
  font-size: 1.3em;
  line-height: 1;
  transition: transform var(--duration-medium) var(--ease-smooth-out);
}

.t-learn:is(:hover, :focus-visible) .t-learn-chevron { transform: translateX(2px); }

@media (max-width: 63rem) {
  .site-header { position: static; }
  .site-header[data-menu-ready] { position: sticky; }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
    min-height: 4.35rem;
    row-gap: 0;
  }

  .header-action { display: none; }

  .site-nav {
    flex: 0 0 100%;
    flex-wrap: wrap;
    gap: 0 1rem;
  }

  [data-menu-ready] .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .35rem .85rem;
    border: 1px solid var(--border-hairline);
    background: var(--bg-surface);
    box-shadow: 0 .75rem 1.5rem #0a2a5011;
  }

  [data-menu-ready] .site-nav a + a { border-top: 1px solid var(--border-hairline); }

  [data-menu-ready] .site-nav .menu-action {
    display: flex;
    justify-content: center;
    margin-top: .6rem;
    border: 1px solid var(--navy-900);
    border-radius: .25rem;
    background: var(--navy-900);
    color: white;
    font-weight: 650;
  }

  [data-menu-ready] .site-nav .menu-action:hover { background: var(--navy-700); }

  [data-menu-ready] .site-nav:not([hidden]) {
    animation: menu-dropdown-in var(--duration-fast) var(--ease-smooth-out);
    transform-origin: top right;
    will-change: transform, opacity;
  }

  @keyframes menu-dropdown-in {
    from { opacity: 0; transform: scale(var(--scale-medium)); }
  }

  .menu-toggle {
    display: inline-flex;
    gap: .4rem;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: .35rem .55rem;
    border: 1px solid var(--border-hairline);
    border-radius: .25rem;
    background: transparent;
    color: var(--navy-900);
    font: 650 .925rem/1 var(--font-body);
  }

  .menu-icon {
    width: .7rem;
    height: .5rem;
    border-block: 1px solid currentColor;
  }
}

@media (max-width: 44rem) {
  html { scroll-padding-top: 5.15rem; }

  .biography-grid, .clinic-grid, .practice-grid, .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero { padding-block: 2.7rem; }
  .hero-lead { margin-top: .8rem; }
  .intro-grid { grid-template-columns: minmax(0, 1fr); }
  .portrait { width: min(100%, 10rem); }
  .hero-credentials strong { display: block; }
  .id-sep { display: none; }
}

@media (max-width: 30rem) {
  .wordmark { flex-shrink: 1; }
  .wordmark strong { font-size: clamp(1.23rem, 5.4vw, 1.45rem); }
  .wordmark span { font-size: .65rem; letter-spacing: 0; }
  .header-inner { gap: .25rem; }
  .hero { padding-top: 2rem; }
  .hero h1 { font-size: clamp(2.22rem, 10vw, 2.55rem); }
  .hero-lead { font-size: 1.0625rem; line-height: 1.45; }
  .booking-actions { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: stretch; }
  .clinic-contacts .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .t-stagger-line { animation: none; }
  .site-nav { animation: none !important; }
  .button, .t-acc-panel, .t-acc-chevron, .t-learn-chevron { transition: none; }
}
