@import url("../fonts/abd25c5e40.css");

:root {
  --ink: #292d31;
  --charcoal: #515153;
  --blue: #016087;
  --blue-dark: #003f59;
  --cyan: #4db3d0;
  --sky: #addfea;
  --sage: #a7d59e;
  --lime: #e6efbc;
  --mint: #cfe4a7;
  --paper: #f7f7f1;
  --white: #fff;
  --line: #b8c9c9;
  --soft-line: #dce5e2;
  --font-display: 'Newsreader', Georgia, serif;
  --font-sans: 'Public Sans', Arial, sans-serif;
  --page: min(92vw, 1840px);
  --measure: 68ch;
  --shadow: 0 22px 70px rgba(0, 63, 89, .11);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(173, 223, 234, .1) 0 12%, transparent 12% 100%) 0 0 / 48px 48px,
    var(--paper);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: .2em; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

:focus-visible {
  outline: 3px solid #f0ad00;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: .75rem 1rem;
  background: var(--blue-dark);
  color: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.wrap { width: var(--page); margin-inline: auto; }
.measure { max-width: var(--measure); }
.serif { font-family: var(--font-display); }
.muted { color: #5e696b; }
.small { font-size: .86rem; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(247, 247, 241, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: var(--page);
  min-height: 92px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(230px, 340px) 1fr auto;
  gap: 2rem;
  align-items: center;
}

.brand img { width: min(100%, 300px); height: auto; }

.primary-nav ul,
.footer-nav,
.plain-list,
.service-index,
.doctor-list,
.day-pills {
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav ul {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2.2vw, 2.4rem);
}

.primary-nav a {
  color: var(--ink);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}

.primary-nav a[aria-current='page'], .primary-nav a:hover { color: var(--blue); }

.header-actions { display: flex; gap: .55rem; }

.button {
  min-height: 48px;
  padding: .7rem 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 1px solid var(--blue);
  border-radius: 0;
  background: var(--blue);
  color: white;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.button:hover { background: var(--blue-dark); transform: translateY(-2px); }
.button-outline { background: transparent; color: var(--blue-dark); }
.button-outline:hover { color: white; }
.button-light { border-color: white; background: white; color: var(--blue-dark); }
.button-light:hover { background: var(--lime); color: var(--blue-dark); }
.arrow::after { content: '↗'; font-weight: 400; }
.phone::before { content: 'Call'; font-size: .72em; font-weight: 500; opacity: .8; }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--blue);
  background: transparent;
  color: var(--blue-dark);
  font-weight: 700;
}

.mobile-call { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(2.2rem, 4vw, 5rem) 0 clamp(2rem, 4vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  overflow: clip;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 32vw;
  aspect-ratio: 1;
  rotate: 45deg;
  opacity: .55;
}
.hero::before { top: -22vw; left: -13vw; background: var(--sky); }
.hero::after { right: -18vw; bottom: -26vw; background: var(--lime); }

.hero-grid {
  width: var(--page);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(420px, .88fr) minmax(520px, 1.12fr);
  min-height: min(650px, calc(100vh - 150px));
  align-items: stretch;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 4vw, 4.6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy::after {
  content: '';
  width: 42px;
  height: 42px;
  position: absolute;
  right: -21px;
  bottom: -21px;
  rotate: 45deg;
  background: var(--cyan);
  border: 8px solid var(--paper);
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }

h1 {
  max-width: 9ch;
  margin-bottom: 1rem;
  color: var(--blue-dark);
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 6.2vw, 7rem);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: .88;
}

.hero-descriptor {
  max-width: 27ch;
  margin-bottom: 1.8rem;
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.15;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 2.2rem; }

.hero-facts {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  border-top: 1px solid var(--line);
}
.hero-fact { padding: 1rem 1rem .2rem 0; }
.hero-fact + .hero-fact { padding-left: 1rem; border-left: 1px solid var(--line); }
.fact-label {
  display: block;
  margin-bottom: .12rem;
  color: #687477;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.fact-value { display: block; color: var(--blue-dark); font-weight: 700; line-height: 1.35; }
.fact-detail { display: block; margin-top: .22rem; color: #5b696c; font-size: .78rem; line-height: 1.35; }

.hero-images {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  grid-template-rows: 1fr .47fr;
  gap: 12px;
  padding: clamp(1rem, 2vw, 2rem) 0 clamp(1rem, 2vw, 2rem) clamp(1rem, 2vw, 2rem);
}
.hero-images figure { margin: 0; min-height: 0; overflow: hidden; background: var(--sky); }
.hero-images figure:first-child { grid-row: 1 / 3; }
.hero-images img { width: 100%; height: 100%; object-fit: cover; }
.hero-images figure:first-child img { object-position: 47% center; }
.hero-images figure:nth-child(2) img { object-position: left center; }
.hero-stamp {
  display: grid;
  place-content: center;
  padding: 1.4rem;
  color: var(--blue-dark);
  background: var(--lime);
  border: 1px solid #bdca8c;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.8vw, 2rem);
  line-height: 1.1;
}

.quick-ledger {
  width: var(--page);
  margin: clamp(1.5rem, 3vw, 2.7rem) auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--blue-dark);
  border: 1px solid var(--blue-dark);
}
.quick-ledger a {
  min-height: 68px;
  padding: 1rem clamp(.8rem, 2vw, 1.7rem);
  display: grid;
  grid-template-columns: 16px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: .75rem;
  row-gap: .1rem;
  color: white;
  font-weight: 700;
  text-decoration: none;
}
.quick-ledger a + a { border-left: 1px solid rgba(255,255,255,.32); }
.quick-ledger a:hover { background: var(--blue); }
.quick-ledger b { grid-column: 2; align-self: end; }
.quick-ledger small { grid-column: 2; color: #cde5eb; font-size: .72rem; font-weight: 500; }
.quick-ledger .quick-mark { grid-row: 1 / 3; width: 9px; height: 9px; align-self: center; rotate: 45deg; background: var(--cyan); }

.section { padding: clamp(5rem, 9vw, 10rem) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section-title {
  position: relative;
  display: inline-block;
  margin: 0 0 clamp(2rem, 4vw, 4rem);
  color: var(--blue-dark);
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.8vw, 6.8rem);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: .95;
}
.section-lead { max-width: 34ch; font-family: var(--font-display); font-size: clamp(1.4rem, 2vw, 2.1rem); line-height: 1.25; }

.appointments-grid {
  display: grid;
  grid-template-columns: .85fr 1.2fr .75fr;
  align-items: start;
  gap: clamp(2rem, 5vw, 7rem);
}
.appointments-photo { margin: 0; align-self: stretch; min-height: 410px; overflow: hidden; }
.appointments-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.steps { border-top: 1px solid var(--blue-dark); }
.step {
  padding: 1.15rem 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}
.step strong { color: var(--blue-dark); }
.step span { color: #607174; }

.fees-section { background: var(--blue-dark); color: white; }
.fees-section .section-title { color: white; }
.fees-section .section-title::after { border-color: var(--blue-dark); background: var(--lime); }
.fee-ledger {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) 1.45fr;
  gap: clamp(3rem, 7vw, 9rem);
  align-items: end;
}
.fee-ledger .section-lead { color: white; }
.fee-table-home { border-top: 1px solid rgba(255,255,255,.55); }
.fee-row {
  padding: 1.35rem 0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: baseline;
  border-bottom: 1px solid rgba(255,255,255,.35);
}
.fee-row strong { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 4rem); font-weight: 400; }
.fee-row small { display: block; color: #cfe7ed; }
.fee-note { margin-top: 1rem; color: #d9edf2; font-size: .88rem; }
.gap-summary {
  margin-top: 1.4rem;
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.15fr;
  gap: clamp(.65rem, 2vw, 1.7rem);
  align-items: center;
  border: 1px solid rgba(255,255,255,.35);
}
.gap-summary span { display: grid; gap: .05rem; }
.gap-summary > span[aria-hidden] { display: block; color: var(--sky); font-size: 1.35rem; }
.gap-summary small { color: #cfe7ed; }
.gap-summary strong { font-family: var(--font-display); font-size: clamp(1.65rem, 2.5vw, 2.8rem); font-weight: 500; line-height: 1; }
.gap-summary .gap-result { padding: .75rem; background: var(--lime); color: var(--blue-dark); }
.gap-summary .gap-result small { color: var(--blue-dark); }

.doctors-intro {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(3rem, 8vw, 10rem);
  align-items: end;
  margin-bottom: 3rem;
}
.doctor-list { border-top: 1px solid var(--blue-dark); }
.doctor-list li {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) .75fr auto 44px;
  gap: 1.5rem;
  align-items: center;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}
.doctor-list strong { color: var(--blue-dark); font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 2rem); font-weight: 500; line-height: 1.1; }
.doctor-role { color: #606d6f; font-size: .88rem; }
.doctor-days { font-weight: 600; }
.doctor-list a { min-width: 44px; min-height: 44px; display: grid; place-items: center; border: 1px solid var(--blue); text-decoration: none; }
.doctor-list a:hover { background: var(--blue); color: white; }

.doctor-board { border-top: 2px solid var(--blue-dark); border-left: 1px solid var(--line); }
.doctor-board-head,
.doctor-board-row {
  display: grid;
  grid-template-columns: minmax(230px, 1.45fr) repeat(6, minmax(86px, .72fr));
}
.doctor-board-head {
  min-height: 48px;
  align-items: center;
  background: var(--blue-dark);
  color: white;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.doctor-board-head span,
.doctor-board-row > * { padding: .75rem clamp(.55rem, 1vw, 1rem); border-right: 1px solid var(--line); }
.doctor-board-row { min-height: 76px; border-bottom: 1px solid var(--line); }
.doctor-ident { display: flex; flex-direction: column; justify-content: center; color: var(--blue-dark); text-decoration: none; }
.doctor-ident strong { font-family: var(--font-display); font-size: clamp(1.15rem, 1.6vw, 1.65rem); font-weight: 500; line-height: 1.05; }
.doctor-ident small { margin-top: .25rem; color: #627073; font-size: .7rem; }
.doctor-ident:hover { background: var(--lime); }
.slot { display: flex; flex-direction: column; justify-content: center; background: rgba(173,223,234,.18); color: var(--blue-dark); font-size: .75rem; line-height: 1.25; }
.slot b { display: none; }
.slot.empty { background: transparent; color: #9ba6a5; }

.week-roster { display: grid; grid-template-columns: minmax(170px, .32fr) 1fr; border: 1px solid var(--line); background: white; }
.roster-tabs { display: flex; flex-direction: column; background: var(--blue-dark); }
.roster-tabs button { min-height: 64px; padding: .8rem 1.2rem; border: 0; border-bottom: 1px solid rgba(255,255,255,.25); background: transparent; color: white; text-align: left; font-weight: 700; cursor: pointer; }
.roster-tabs button[aria-selected='true'] { background: var(--lime); color: var(--blue-dark); }
.roster-tabs button:hover { background: var(--blue); color: white; }
.roster-panels { min-width: 0; padding: clamp(1.5rem, 3vw, 3rem); }
.roster-panels section[hidden] { display: none; }
.roster-panels h3 { margin-bottom: 1.1rem; color: var(--blue-dark); font-family: var(--font-display); font-size: clamp(2rem, 3vw, 3.4rem); font-weight: 500; }
.roster-panels ul { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; border-top: 1px solid var(--blue-dark); }
.roster-panels li { min-width: 0; padding: .85rem 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; border-bottom: 1px solid var(--line); }
.roster-panels li:nth-child(odd) { padding-right: 1.25rem; }
.roster-panels li:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.roster-panels a { color: var(--blue-dark); font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; text-decoration-thickness: 1px; }
.roster-panels li span { color: #59686a; font-size: .78rem; font-weight: 600; text-align: right; }

.services-section { padding-bottom: 0; }
.services-grid {
  display: grid;
  grid-template-columns: .68fr 1.32fr;
  gap: clamp(3rem, 8vw, 9rem);
}
.service-index {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--blue-dark);
}
.service-index li { padding: .85rem .7rem .85rem 0; border-bottom: 1px solid var(--line); }
.service-index li:nth-child(even) { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.care-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--blue-dark); border-left: 1px solid var(--line); }
.care-index article { position: relative; padding: clamp(1.35rem, 2.5vw, 2.5rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.care-index article::before { content: ''; position: absolute; top: 1.5rem; right: 1.5rem; width: 9px; height: 9px; rotate: 45deg; background: var(--sage); }
.care-index h3 { margin-bottom: 1rem; padding-right: 1.5rem; color: var(--blue-dark); font-family: var(--font-display); font-size: clamp(1.45rem, 2vw, 2rem); font-weight: 500; }
.care-index ul { margin: 0; padding: 0; list-style: none; }
.care-index li { padding: .38rem 0; border-bottom: 1px solid var(--soft-line); font-size: .9rem; }
.care-index li:last-child { border-bottom: 0; }
.care-index-links { grid-column: 1 / -1; display: grid; grid-template-columns: .42fr 1fr; background: rgba(230,239,188,.48); }
.care-index-links ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.care-index-links li { font-weight: 700; }
.photo-ribbon {
  width: 100%;
  margin-top: clamp(4rem, 8vw, 8rem);
  display: grid;
  grid-template-columns: 1.05fr .8fr 1.15fr;
  gap: 10px;
  overflow: hidden;
}
.photo-ribbon figure { margin: 0; height: clamp(260px, 30vw, 550px); overflow: hidden; }
.photo-ribbon img { width: 100%; height: 100%; object-fit: cover; }
.photo-ribbon figure:nth-child(1) img { object-position: 20% center; }
.photo-ribbon figure:nth-child(2) img { object-position: 50% center; }
.photo-ribbon figure:nth-child(3) img { object-position: 75% center; }

.skin-section { background: #153f48; color: white; }
.skin-grid { display: grid; grid-template-columns: .8fr 1fr .65fr; gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.skin-section .section-title { color: white; }
.skin-section .section-title::after { border-color: #153f48; background: var(--cyan); }
.skin-photo { margin: 0; min-height: 480px; overflow: hidden; }
.skin-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 56% center; }
.skin-list { columns: 2; column-gap: 2.5rem; padding-left: 1.2rem; }
.skin-list li { break-inside: avoid; margin-bottom: .65rem; }
.skin-fees { border-top: 1px solid rgba(255,255,255,.45); }
.skin-fees p { padding: 1rem 0; margin: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.skin-fees strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }

.allied-layout {
  display: grid;
  grid-template-columns: 1.1fr .8fr .8fr;
  grid-template-areas: 'diet physio hearing' 'diet podiatry hearing';
  border-top: 1px solid var(--blue-dark);
  border-left: 1px solid var(--line);
}
.allied-card { padding: clamp(1.5rem, 3vw, 3rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.allied-card h3 { margin-bottom: .4rem; color: var(--blue-dark); font-family: var(--font-display); font-size: clamp(1.6rem, 2.4vw, 2.6rem); font-weight: 500; line-height: 1; }
.allied-card p:last-child { margin-bottom: 0; }
.allied-diet { grid-area: diet; display: grid; grid-template-columns: .85fr 1fr; gap: 1.5rem; }
.allied-diet img { width: min(100%, 355px); max-height: 473px; object-fit: cover; object-position: top; }
.allied-physio { grid-area: physio; background: var(--lime); }
.allied-podiatry { grid-area: podiatry; }
.allied-hearing { grid-area: hearing; background: var(--sky); align-content: end; }

.location-section { background: white; }
.location-layout {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { padding: .9rem 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours-table th { padding-right: 1rem; color: var(--blue-dark); font-weight: 600; }
.location-visual { position: relative; padding-bottom: 5rem; }
.location-layout > div:last-child { width: 100%; max-width: 1440px; justify-self: end; }
.location-visual .main-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.address-card {
  width: min(430px, 78%);
  position: absolute;
  right: -1px;
  bottom: 0;
  padding: clamp(1.5rem, 3vw, 2.7rem);
  background: var(--lime);
  border: 1px solid #bdca8c;
  color: var(--blue-dark);
}
.address-card h3 { font-family: var(--font-display); font-size: 2rem; font-weight: 500; }
.address-card p { margin-bottom: .65rem; }

.after-hours { padding: clamp(3rem, 6vw, 6rem) 0; background: #e6efbc; }
.after-grid { display: grid; grid-template-columns: .65fr 1.35fr auto; gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.after-grid h2 { margin: 0; color: var(--blue-dark); font-family: var(--font-display); font-size: clamp(3rem, 5vw, 5.5rem); font-weight: 500; line-height: .9; }
.emergency { color: #722424; font-weight: 700; }

.acknowledgement { padding: 2.5rem 0; background: var(--blue-dark); color: white; }
.acknowledgement p { max-width: 80ch; margin: 0; font-family: var(--font-display); font-size: clamp(1.15rem, 1.7vw, 1.55rem); line-height: 1.35; }

.site-footer { padding: clamp(3rem, 6vw, 6rem) 0 2rem; background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .75fr .75fr; gap: clamp(3rem, 7vw, 8rem); }
.footer-logo { width: min(100%, 330px); height: auto; }
.footer-brand p { margin-top: 1.2rem; color: #576467; }
.site-footer h2 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; }
.site-footer a { color: var(--blue-dark); }
.footer-nav li + li { margin-top: .65rem; }
.footer-base { margin-top: 4rem; padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); color: #586669; font-size: .82rem; }

/* Inner pages */
.page-hero { padding: clamp(3rem, 7vw, 8rem) 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 10rem); align-items: end; }
.page-kicker { position: relative; }
.page-kicker h1 { max-width: 12ch; font-size: clamp(4rem, 8vw, 9rem); }
.page-hero-copy { max-width: 48ch; font-family: var(--font-display); font-size: clamp(1.35rem, 2.1vw, 2.15rem); line-height: 1.28; }
.page-photo-strip { margin-top: clamp(2.5rem, 6vw, 6rem); display: grid; grid-template-columns: .7fr 1.1fr .8fr; gap: 10px; }
.page-photo-strip figure { margin: 0; height: clamp(190px, 22vw, 420px); overflow: hidden; }
.page-photo-strip img { width: 100%; height: 100%; object-fit: cover; }

.jump-nav { position: sticky; z-index: 10; top: 92px; background: var(--blue-dark); color: white; }
.jump-nav .wrap { min-height: 58px; display: flex; align-items: center; gap: 1.8rem; overflow-x: auto; scrollbar-width: thin; }
.jump-nav a { flex: 0 0 auto; padding: .8rem 0; color: white; font-size: .86rem; font-weight: 700; text-decoration: none; }

.record-section { padding: clamp(4rem, 8vw, 8rem) 0; }
.record-section + .record-section { border-top: 1px solid var(--line); }
.record-heading { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(2rem, 7vw, 8rem); margin-bottom: clamp(2rem, 4vw, 4rem); }
.record-heading h2 { margin: 0; color: var(--blue-dark); font-family: var(--font-display); font-size: clamp(3rem, 6vw, 6.2rem); font-weight: 500; letter-spacing: -.01em; line-height: .95; }
.record-heading p { max-width: 48ch; align-self: end; }

.doctor-records { border-top: 1px solid var(--blue-dark); }
.doctor-record {
  display: grid;
  grid-template-columns: minmax(280px, .65fr) 1.35fr;
  gap: clamp(2rem, 7vw, 8rem);
  padding: clamp(2.2rem, 5vw, 5rem) 0;
  border-bottom: 1px solid var(--line);
}
.doctor-record h3 { margin: 0 0 .65rem; color: var(--blue-dark); font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 3.25rem); font-weight: 500; line-height: 1; }
.qualifications { color: #59676a; font-size: .88rem; font-weight: 600; }
.role-label { display: inline-block; margin-bottom: 1.4rem; padding: .28rem .55rem; background: var(--lime); color: var(--blue-dark); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.availability { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.availability strong { display: block; margin-bottom: .6rem; color: var(--blue-dark); }
.day-pills { display: flex; flex-wrap: wrap; gap: .42rem; }
.day-pills li { padding: .35rem .6rem; border: 1px solid var(--line); background: white; font-size: .8rem; font-weight: 600; }
.bio p:last-child { margin-bottom: 0; }
.bio summary { display: none; }

.skin-detail { background: #153f48; color: white; }
.skin-detail .record-heading h2 { color: white; }
.skin-detail .record-heading { margin-bottom: 2rem; }
.skin-detail-grid { display: grid; grid-template-columns: .72fr 1fr .72fr; gap: clamp(2rem, 6vw, 7rem); }
.skin-detail-grid figure { margin: 0; min-height: 520px; overflow: hidden; }
.skin-detail-grid img { width: 100%; height: 100%; object-fit: cover; }
.skin-detail .availability strong { color: white; }
.skin-detail .day-pills li { border-color: rgba(230,239,188,.75); background: transparent; color: white; }

.allied-records { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--blue-dark); border-left: 1px solid var(--line); }
.allied-record { padding: clamp(1.5rem, 4vw, 4rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.allied-record h3 { color: var(--blue-dark); font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 3rem); font-weight: 500; }
.grace-record { display: grid; grid-template-columns: minmax(150px, .55fr) 1fr; gap: 2rem; }
.grace-record img { width: min(100%, 355px); max-width: 355px; max-height: 473px; object-fit: cover; object-position: top; }

.staff-columns { display: grid; grid-template-columns: .45fr 1fr 1.4fr; gap: clamp(2rem, 5vw, 6rem); }
.staff-block { padding-top: 1.3rem; border-top: 1px solid var(--blue-dark); }
.staff-block h3 { color: var(--blue-dark); font-family: var(--font-display); font-size: 2rem; font-weight: 500; }
.name-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem 1.5rem; }
.name-grid span { padding: .5rem 0; border-bottom: 1px solid var(--soft-line); }

/* Fees page */
.fees-hero-board { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 8rem); align-items: end; }
.fee-status {
  padding: clamp(1.5rem, 4vw, 4rem);
  background: var(--blue-dark);
  color: white;
  box-shadow: var(--shadow);
}
.fee-status strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 4.5rem); font-weight: 500; line-height: 1; }
.fee-status span { display: block; margin-top: .8rem; }
.fee-status-gap { margin-top: 1.2rem; padding-top: 1.1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-top: 1px solid rgba(255,255,255,.35); }
.fee-status-gap span { margin: 0; color: #d4e8ed; font-size: .78rem; }
.fee-status-gap b { color: white; font-family: var(--font-display); font-size: 1.55rem; font-weight: 500; }
.date-stamp { display: inline-block; margin-bottom: 1rem; padding: .35rem .6rem; border: 1px solid currentColor; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }

.pricing-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--blue-dark); }
.pricing-table th, .pricing-table td { padding: 1.2rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.pricing-table thead th { color: #5e6a6d; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.pricing-table tbody th { color: var(--blue-dark); font-weight: 600; }
.pricing-table td strong { color: var(--blue-dark); font-family: var(--font-display); font-size: clamp(1.4rem, 2.3vw, 2.3rem); font-weight: 500; white-space: nowrap; }
.pricing-table caption { padding: 0 0 1.2rem; text-align: left; color: var(--blue-dark); font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 3rem); }

.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--blue-dark); border-left: 1px solid var(--line); }
.policy { padding: clamp(1.5rem, 3vw, 3rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.policy h3 { color: var(--blue-dark); font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; }
.policy p:last-child { margin-bottom: 0; }

.appointment-board { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem, 8vw, 9rem); }
.appointment-callout { padding: clamp(2rem, 4vw, 4rem); background: var(--sky); color: var(--blue-dark); }
.appointment-callout h3 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 4rem); font-weight: 500; line-height: 1; }
.appointment-callout .section-title { margin-bottom: 1.25rem; }
.appointment-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin-top: 1.5rem; }
.appointment-actions .button { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.appointment-actions .button span { font-size: .7rem; font-weight: 500; opacity: .8; }
.appointment-rules { border-top: 1px solid var(--blue-dark); }
.appointment-rule { padding: 1.3rem 0; display: grid; grid-template-columns: minmax(170px, .42fr) 1fr; gap: 2rem; border-bottom: 1px solid var(--line); }
.appointment-rule strong { color: var(--blue-dark); }

.reveal { transform: translateY(18px); transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { transform: none; }

@media (min-width: 1900px) {
  :root { --page: min(88vw, 3000px); }
  .header-inner { grid-template-columns: 390px 1fr auto; }
  .hero { padding-block: clamp(2.5rem, 4vh, 5rem); }
  .hero-grid { grid-template-columns: minmax(700px, .72fr) minmax(1100px, 1.28fr); min-height: clamp(660px, 42vh, 900px); }
  .hero-images { grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr); }
  .hero-copy { width: 100%; }
  .hero-copy > * { max-width: 760px; }
  .appointments-grid { grid-template-columns: .7fr 1fr .9fr; }
  .photo-ribbon { width: var(--page); margin-inline: auto; }
  .skin-grid { grid-template-columns: .7fr 1.05fr .7fr; }
  .section { padding-block: clamp(7rem, 8vw, 12rem); }
  .allied-diet { grid-template-columns: 355px 1fr; }
}

@media (max-width: 1100px) {
  :root { --page: min(92vw, 960px); }
  .header-inner { grid-template-columns: minmax(210px, 270px) 1fr auto; gap: 1rem; }
  .primary-nav { display: none; position: absolute; inset: 92px 0 auto; padding: 1rem 4vw 1.5rem; background: var(--paper); border-bottom: 1px solid var(--line); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; gap: 0; }
  .primary-nav a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr 1fr; min-height: auto; }
  .hero-copy { padding: 2.5rem; }
  h1 { font-size: clamp(3.4rem, 7.5vw, 5.5rem); }
  .hero-images { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .hero-images figure:first-child { grid-row: auto; }
  .hero-images figure:nth-child(2) { display: none; }
  .hero-stamp { min-height: 110px; }
  .appointments-grid { grid-template-columns: 1fr 1fr; }
  .appointments-grid > :first-child { grid-column: 1 / -1; }
  .fee-ledger, .doctors-intro, .services-grid, .location-layout { grid-template-columns: 1fr; }
  .skin-grid { grid-template-columns: 1fr 1fr; }
  .skin-grid > :first-child { grid-column: 1 / -1; }
  .allied-layout { grid-template-columns: 1fr 1fr; grid-template-areas: 'diet diet' 'physio podiatry' 'hearing hearing'; }
  .after-grid { grid-template-columns: 1fr 1.6fr; }
  .after-grid .button { grid-column: 2; justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .page-hero-grid, .record-heading { grid-template-columns: 1fr; }
  .doctor-record { grid-template-columns: .75fr 1.25fr; }
  .skin-detail-grid { grid-template-columns: 1fr 1fr; }
  .skin-detail-grid figure { grid-column: 1 / -1; min-height: 360px; }
  .staff-columns { grid-template-columns: 1fr 1fr; }
  .staff-columns > :first-child { grid-column: 1 / -1; }
  .policy-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 701px) and (max-width: 900px) {
  .hero-facts { grid-template-columns: 1fr; }
  .hero-fact + .hero-fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .quick-ledger { grid-template-columns: repeat(2, 1fr); }
  .quick-ledger a:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.32); }
  .quick-ledger a:nth-child(4) { border-top: 1px solid rgba(255,255,255,.32); }
}

@media (max-width: 700px) {
  :root { --page: calc(100vw - 32px); }
  html { scroll-padding-top: 80px; }
  body { font-size: 16px; line-height: 1.58; background-size: 34px 34px; }
  .site-header { position: relative; }
  .header-inner { min-height: 78px; grid-template-columns: minmax(0, 1fr) auto auto; gap: .5rem; }
  .brand img { width: min(220px, 100%); }
  .header-actions { display: none; }
  .mobile-call { min-width: 48px; min-height: 48px; display: grid; place-items: center; border: 1px solid var(--blue); color: var(--blue-dark); font-size: .78rem; font-weight: 700; text-decoration: none; }
  .primary-nav { inset: 78px 0 auto; }
  .hero { padding-top: 1rem; }
  .hero-grid { width: 100%; display: flex; flex-direction: column; }
  .hero-copy { width: var(--page); margin-inline: auto; padding: 1.8rem 1.35rem 1.4rem; box-shadow: 0 14px 40px rgba(0, 63, 89, .1); }
  .hero-copy::after { width: 28px; height: 28px; right: -5px; bottom: -14px; border-width: 5px; }
  h1 { max-width: 8ch; margin-bottom: .8rem; font-size: clamp(3.2rem, 15vw, 4.5rem); line-height: .86; }
  .hero-descriptor { margin-bottom: 1.15rem; font-size: 1.25rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 1.25rem; }
  .hero-actions .button { padding-inline: .5rem; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-fact { padding: .7rem 0; }
  .hero-fact + .hero-fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .hero-fact:first-child .fact-value { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; }
  .hero-images { width: var(--page); margin-inline: auto; padding: 1.2rem 0 0; display: block; }
  .hero-images figure:first-child { height: 210px; }
  .hero-images figure:first-child img { object-position: 45% center; }
  .hero-stamp { display: none; }
  .quick-ledger { grid-template-columns: repeat(2, 1fr); }
  .quick-ledger a { min-height: 70px; padding: .75rem; grid-template-columns: 10px 1fr; column-gap: .55rem; }
  .quick-ledger a:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.32); }
  .quick-ledger a:nth-child(4) { border-top: 1px solid rgba(255,255,255,.32); }
  .section { padding: 4.5rem 0; }
  .section-title { margin-bottom: 2rem; font-size: clamp(3.2rem, 15vw, 4.8rem); }
  .section-lead { font-size: 1.35rem; }
  .appointments-grid { display: flex; flex-direction: column; gap: 2rem; }
  .appointments-photo { order: 3; width: 100%; min-height: 240px; }
  .appointments-photo img { object-position: 58% center; }
  .step { grid-template-columns: 1fr; gap: .1rem; }
  .fee-ledger { gap: 2.5rem; }
  .fee-row { grid-template-columns: 1fr 1fr; gap: .5rem 1rem; }
  .fee-row > :first-child { grid-column: 1 / -1; }
  .fee-row strong { font-size: 2.15rem; }
  .gap-summary { grid-template-columns: 1fr 1fr; }
  .gap-summary > span[aria-hidden] { display: none; }
  .gap-summary .gap-result { grid-column: 1 / -1; }
  .doctors-intro { gap: 1rem; }
  .doctor-list li { grid-template-columns: 1fr auto; gap: .55rem 1rem; }
  .doctor-role { grid-column: 1; }
  .doctor-days { grid-column: 1; }
  .doctor-list a { grid-column: 2; grid-row: 1 / 4; }
  .doctor-board { border-left: 0; }
  .doctor-board-head { display: none; }
  .doctor-board-row { display: grid; grid-template-columns: repeat(2, 1fr); min-height: 0; padding: 1rem 0; }
  .doctor-board-row > * { border-right: 0; }
  .doctor-ident { grid-column: 1 / -1; padding: 0 0 .75rem; border-bottom: 1px solid var(--line); }
  .doctor-ident strong { font-size: 1.5rem; }
  .slot { min-height: 48px; padding: .55rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .slot:nth-child(odd) { border-right: 0; }
  .slot b { display: block; margin-bottom: .1rem; color: #637174; font-size: .62rem; letter-spacing: .05em; text-transform: uppercase; }
  .slot.empty { display: none; }
  .week-roster { grid-template-columns: 1fr; }
  .roster-tabs { display: grid; grid-template-columns: repeat(3, 1fr); }
  .roster-tabs button { min-height: 52px; padding: .55rem .35rem; text-align: center; font-size: .78rem; border-right: 1px solid rgba(255,255,255,.25); }
  .roster-panels { padding: 1.2rem; }
  .roster-panels ul { grid-template-columns: 1fr; }
  .roster-panels li:nth-child(odd), .roster-panels li:nth-child(even) { padding: .75rem 0; border-left: 0; }
  .roster-panels a { font-size: 1.08rem; }
  .service-index { grid-template-columns: 1fr; }
  .service-index li:nth-child(even) { padding-left: 0; border-left: 0; }
  .care-index { grid-template-columns: 1fr; }
  .care-index-links { grid-column: auto; display: block; }
  .care-index-links ul { grid-template-columns: 1fr; gap: 0; }
  .photo-ribbon { grid-template-columns: 1.2fr .8fr; gap: 6px; }
  .photo-ribbon figure { height: 230px; }
  .photo-ribbon figure:nth-child(3) { display: none; }
  .skin-grid { grid-template-columns: 1fr; }
  .skin-grid > :first-child { grid-column: auto; }
  .skin-photo { min-height: 290px; }
  .skin-list { columns: 1; }
  .allied-layout { display: block; border-top: 1px solid var(--blue-dark); }
  .allied-diet { display: block; }
  .allied-diet img { width: 150px; max-width: 100%; margin-bottom: 1.2rem; }
  .location-layout { gap: 2.5rem; }
  .location-visual { padding-bottom: 11rem; }
  .location-visual .main-photo { aspect-ratio: 4 / 3; object-position: 25% center; }
  .address-card { width: calc(100% - 24px); }
  .after-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .after-grid .button { grid-column: auto; justify-self: stretch; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-base { display: block; }
  .page-hero { padding: 3.5rem 0 0; }
  .page-kicker h1 { font-size: clamp(4rem, 19vw, 6rem); }
  .page-photo-strip { width: 100vw; margin-left: calc((100vw - var(--page)) / -2); grid-template-columns: 1.2fr .8fr; gap: 6px; }
  .page-photo-strip figure { height: 190px; }
  .page-photo-strip figure:nth-child(3) { display: none; }
  .jump-nav { position: relative; top: auto; }
  .jump-nav .wrap { padding-block: .55rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem; overflow: visible; }
  .jump-nav a { min-width: 0; padding: .55rem .65rem; border: 1px solid rgba(255,255,255,.35); text-align: center; white-space: normal; line-height: 1.25; }
  .record-section { padding: 4.5rem 0; }
  .record-heading { gap: 1rem; }
  .doctor-record { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.8rem 0; }
  .doctor-record h3 { font-size: 2.2rem; }
  .doctor-record details.bio { align-self: start; }
  .bio summary { min-height: 48px; padding: .7rem 2.5rem .7rem .85rem; display: flex; align-items: center; border: 1px solid var(--blue); color: var(--blue-dark); font-weight: 700; cursor: pointer; list-style: none; }
  .bio summary::-webkit-details-marker { display: none; }
  .bio summary::after { content: '+'; margin-left: auto; font-size: 1.4rem; font-weight: 400; }
  .bio[open] summary::after { content: '−'; }
  .bio[open] summary { margin-bottom: 1rem; background: var(--blue-dark); color: white; }
  .skin-detail-grid { grid-template-columns: 1fr; }
  .skin-detail-grid figure { grid-column: auto; min-height: 270px; }
  .allied-records { grid-template-columns: 1fr; }
  .grace-record { grid-template-columns: 1fr; gap: 1.5rem; }
  .grace-record img { width: min(100%, 240px); }
  .staff-columns { grid-template-columns: 1fr; }
  .staff-columns > :first-child { grid-column: auto; }
  .fees-hero-board, .appointment-board { grid-template-columns: 1fr; }
  .fee-status { padding: 1.5rem; }
  .fee-status strong { font-size: 3rem; }
  .pricing-table, .pricing-table tbody, .pricing-table tr, .pricing-table th, .pricing-table td { display: block; }
  .pricing-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pricing-table tr { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .pricing-table th, .pricing-table td { padding: .35rem 0; border: 0; }
  .pricing-table td::before { content: attr(data-label); display: block; color: #667477; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
  .pricing-table td strong { font-size: 1.8rem; }
  .policy-grid { grid-template-columns: 1fr; }
  .appointment-callout { min-width: 0; padding: 1.35rem; }
  .appointment-callout .section-title { max-width: 100%; font-size: clamp(2.3rem, 11vw, 3.2rem); letter-spacing: -.02em; white-space: nowrap; }
  .appointment-actions { grid-template-columns: 1fr; }
  .appointment-actions .button { width: 100%; }
  .appointment-rule { grid-template-columns: 1fr; gap: .35rem; }
}

@media (max-width: 360px) {
  :root { --page: calc(100vw - 24px); }
  .brand img { width: min(170px, 100%); }
  .hero-copy { padding-inline: 1rem; }
  .hero-actions { grid-template-columns: 1fr; }
  .quick-ledger { grid-template-columns: repeat(2, 1fr); }
  .quick-ledger a + a { border-left: 1px solid rgba(255,255,255,.32); }
  .quick-ledger a:nth-child(3) { border-left: 0; }
  .quick-ledger b { font-size: .78rem; }
  .quick-ledger small { font-size: .63rem; }
  .grace-record { grid-template-columns: 1fr; }
  .grace-record img { width: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { transform: none; }
}
