:root {
  --ink: #211b18;
  --charcoal: #14110f;
  --muted: #706760;
  --paper: #fbf8f1;
  --panel: #fffdf8;
  --wash: #f4eee5;
  --burgundy: #642b36;
  --plum: #3d202b;
  --blue-dark: #1f5f9e;
  --blue-deep: #0b1f3a;
  --copper: #ad7b42;
  --sage: #5b7068;
  --line: rgba(33, 27, 24, 0.14);
  --fine-line: rgba(33, 27, 24, 0.08);
  --shadow: 0 28px 80px rgba(33, 27, 24, 0.13);
  font-family: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

body.is-nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(251, 248, 241, 0.9);
  border-bottom: 1px solid var(--fine-line);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--panel);
  background: var(--blue-dark);
  border: 1px solid rgba(173, 123, 66, 0.46);
  border-radius: 50%;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brand-text {
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  white-space: nowrap;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(16px, 2.5vw, 34px);
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 900;
}

.site-nav a[aria-current="page"]::after {
  height: 2px;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

main > section,
.feature-band,
.appointment-band,
.site-footer {
  scroll-margin-top: 104px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(310px, 1.05fr);
  gap: clamp(34px, 7vw, 104px);
  align-items: center;
  width: min(1220px, calc(100% - 36px));
  min-height: calc(100vh - 84px);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px) 0 clamp(64px, 8vw, 106px);
}

.hero-copy {
  transform: translateY(-24px);
}

.kicker,
.eyebrow {
  margin: 0 0 16px;
  color: var(--copper);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 820;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
span,
strong,
dd {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.45rem, 4.6vw, 4.9rem);
  line-height: 1.02;
}

.hero h1 {
  max-width: none;
  font-size: clamp(2.4rem, 4.4vw, 4.7rem);
  white-space: nowrap;
}

h2 {
  font-size: clamp(2.28rem, 4.8vw, 5.1rem);
  line-height: 1;
}

h3 {
  font-size: clamp(1.38rem, 2vw, 1.75rem);
  line-height: 1.14;
}

.subsection-heading {
  margin-top: 28px;
}

.credentials {
  margin: 22px 0 0;
  color: var(--burgundy);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.role {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: clamp(1.18rem, 1.8vw, 1.48rem);
}

.statement {
  max-width: 610px;
  margin: 36px 0 0;
  color: var(--muted);
  font-size: clamp(1.14rem, 1.7vw, 1.28rem);
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 2px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button.primary {
  color: var(--panel);
  background: var(--blue-deep);
  border: 1px solid var(--blue-deep);
}

.button.secondary {
  color: var(--panel);
  background: var(--blue-dark);
  border: 1px solid var(--blue-dark);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero-portrait {
  position: relative;
  margin: 0;
  padding: clamp(12px, 1.8vw, 18px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.hero-portrait::before {
  position: absolute;
  inset: -18px 24px auto;
  height: 1px;
  content: "";
  background: var(--copper);
}

.hero-portrait::after {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 42%;
  height: 34%;
  content: "";
  border-right: 1px solid var(--copper);
  border-bottom: 1px solid var(--copper);
  z-index: -1;
}

.hero-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.94) contrast(1.03);
}

.clinic-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  filter: saturate(0.94) contrast(1.03);
}

.natural-image {
  justify-self: center;
}

.natural-image img {
  width: auto;
  max-width: 100%;
}

.quote-band {
  padding: clamp(52px, 8vw, 96px) clamp(20px, 8vw, 120px);
  text-align: center;
  background: var(--blue-deep);
  border-top: 1px solid rgba(173, 123, 66, 0.32);
  border-bottom: 1px solid rgba(173, 123, 66, 0.32);
}

.quote-band p {
  max-width: 1050px;
  margin: 0 auto;
  color: var(--panel);
  font-size: clamp(1.72rem, 3.7vw, 3.8rem);
  line-height: 1.14;
}

.quote-band span {
  display: block;
  margin-top: 26px;
  color: rgba(255, 253, 248, 0.68);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-hero {
  display: grid;
  justify-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(80px, 12vw, 148px) 0 clamp(48px, 8vw, 84px);
  text-align: center;
}

.page-hero h1 {
  max-width: none;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  font-size: clamp(2.8rem, 5.8vw, 6rem);
}

.compact-page-hero h1 {
  font-size: clamp(2.35rem, 4.2vw, 4.4rem);
}

.page-hero p:last-child {
  max-width: 760px;
  margin: 32px auto 0;
  color: var(--muted);
  font-size: clamp(1.14rem, 2vw, 1.34rem);
  line-height: 1.74;
}

.page-hero-text {
  max-width: 760px;
  margin: 32px auto 0;
  color: var(--muted);
  font-size: clamp(1.14rem, 2vw, 1.34rem);
  line-height: 1.74;
}

.surgery-hero-image {
  display: block;
  width: min(380px, 100%);
  max-width: calc(100vw - 36px);
  height: auto;
  margin: 28px auto 0;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.centered-page-hero {
  width: 100%;
  padding-right: clamp(18px, 5vw, 72px);
  padding-left: clamp(18px, 5vw, 72px);
}

.centered-page-hero h1,
.centered-page-hero .kicker,
.centered-page-hero p {
  justify-self: center;
  text-align: center;
}

.page-hero-image {
  display: block;
  width: min(260px, 70vw);
  height: auto;
  margin: 0 auto 28px;
}

.inline-feature-image {
  display: block;
  width: min(360px, 100%);
  height: auto;
  margin-top: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.image-caption-text {
  max-width: 520px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.fundraising-section {
  display: block;
  text-align: center;
}

.fundraising-section .inline-feature-image,
.fundraising-section .image-caption-text {
  margin-right: auto;
  margin-left: auto;
}

.fundraising-section .prose {
  max-width: 520px;
  margin: 24px auto 0;
}

.fundraising-highlight {
  margin: 28px auto 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.45;
}

.fundraising-highlight p {
  margin: 0 0 8px;
}

.membership-with-logo {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.membership-with-logo img {
  width: min(180px, 100%);
  height: auto;
}

.gmc-registration {
  color: var(--ink);
}

.membership-logo-row {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.membership-logo-row .gmc-logo {
  width: auto;
  height: 76px;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(78px, 10vw, 126px) 0;
}

.split,
.clinic-story,
.publication-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.clinic-story {
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
}

.text-only-story {
  display: block;
  max-width: 920px;
}

.prose {
  color: var(--muted);
  font-size: 1.13rem;
  line-height: 1.86;
}

.prose p {
  margin: 0 0 22px;
}

.clinic-info .prose {
  max-width: 900px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.clinic-info-list {
  border-top: 1px solid var(--line);
}

.info-with-image {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 280px);
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
}

.info-with-image img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: var(--panel);
}

.feature-band,
.appointment-band {
  background: var(--wash);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title {
  max-width: 760px;
  margin-bottom: 36px;
}

.procedure-grid,
.appointment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.procedure-grid article,
.appointment-grid article {
  min-height: 284px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--panel);
}

.procedure-grid p,
.appointment-grid p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.66;
}

.procedure-grid a {
  display: inline-flex;
  margin-top: 28px;
  color: var(--burgundy);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.clinic-image {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  gap: 0;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: clinic-step;
  border-top: 1px solid var(--line);
}

.steps li {
  position: relative;
  min-height: 94px;
  padding: 22px 0 22px 78px;
  border-bottom: 1px solid var(--line);
  counter-increment: clinic-step;
}

.steps li::before {
  position: absolute;
  top: 22px;
  left: 0;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--panel);
  content: counter(clinic-step);
  background: var(--sage);
  border-radius: 50%;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 820;
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}

.appointment-grid {
  grid-template-columns: repeat(2, 1fr);
}

dl {
  display: grid;
  gap: 0;
  margin: 32px 0 0;
  border-top: 1px solid var(--line);
}

dl div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--fine-line);
}

dt,
.resource-list span,
.publication-list span {
  color: var(--burgundy);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

dd a {
  color: var(--ink);
  font-weight: 700;
}

.secretary-with-photo {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.secretary-with-photo img {
  width: 108px;
  height: 108px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.resource-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.resource-list a {
  display: grid;
  grid-template-columns: minmax(170px, 0.32fr) minmax(0, 0.68fr);
  gap: 26px;
  align-items: center;
  min-height: 118px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: color 180ms ease, padding-left 180ms ease;
}

.resource-list a:hover,
.resource-list a:focus-visible {
  padding-left: 14px;
}

.resource-list strong {
  color: var(--ink);
  font-size: clamp(1.25rem, 2.3vw, 2.12rem);
  font-weight: 400;
  line-height: 1.16;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: clamp(42px, 7vw, 78px);
  background: var(--line);
  border: 1px solid var(--line);
}

.testimonial-grid article {
  min-height: 210px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--panel);
}

.testimonial-grid p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.7vw, 1.36rem);
  line-height: 1.42;
}

.doctify-panel {
  margin-bottom: clamp(42px, 7vw, 78px);
  padding: clamp(24px, 4vw, 42px);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.doctify-panel-header {
  text-align: center;
  margin-bottom: 28px;
}

.doctify-panel-header h2 {
  font-size: clamp(2rem, 3.5vw, 3.4rem);
}

.doctify-panel-header p:not(.eyebrow) {
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--muted);
  line-height: 1.7;
}

.doctify-pages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.doctify-pages img {
  display: block;
  width: 100%;
  height: auto;
  background: white;
  border: 1px solid var(--line);
}

.phin-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(220px, 0.32fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: end;
  margin: 0 0 clamp(42px, 7vw, 78px);
  padding: clamp(28px, 5vw, 48px);
  color: var(--panel);
  background: var(--charcoal);
  border: 1px solid rgba(173, 123, 66, 0.34);
}

.phin-panel h2 {
  max-width: 760px;
  color: var(--panel);
  font-size: clamp(1.8rem, 3.4vw, 3.6rem);
}

.phin-panel p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 253, 248, 0.72);
  line-height: 1.7;
}

.phin-actions {
  display: grid;
  gap: 12px;
}

.publication-layout {
  grid-template-columns: minmax(270px, 0.34fr) minmax(0, 0.66fr);
  border-top: 1px solid var(--line);
}

.publication-summary {
  position: sticky;
  top: 124px;
}

.publication-summary p:last-child {
  color: var(--muted);
  line-height: 1.74;
}

.publication-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.publication-list article {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.publication-list span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--copper);
}

.publication-list h3 {
  font-size: clamp(1.32rem, 2.4vw, 1.92rem);
}

.publication-list p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.privacy-notice {
  max-width: 920px;
}

.privacy-notice article {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.privacy-notice article:last-child {
  border-bottom: 1px solid var(--line);
}

.privacy-notice h2 {
  font-size: clamp(1.75rem, 3vw, 2.65rem);
}

.privacy-notice p,
.privacy-notice li {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.78;
}

.privacy-notice p {
  margin: 18px 0 0;
}

.privacy-notice ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 24px;
}

.publication-list .gmc-registration {
  color: var(--muted);
  font-weight: inherit;
  text-transform: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 54px clamp(18px, 5vw, 72px);
  color: var(--panel);
  background: var(--blue-deep);
  border-top: 1px solid rgba(173, 123, 66, 0.36);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 253, 248, 0.7);
}

.footer-name {
  color: var(--panel);
  font-size: 2rem;
}

.site-footer .footer-copyright {
  margin-top: 14px;
  font-size: 0.82rem;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: 2px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .clinic-story,
  .phin-panel,
  .publication-layout {
    grid-template-columns: 1fr;
  }

  .publication-summary {
    position: static;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    text-align: center;
  }

  .statement {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-portrait {
    width: min(560px, 100%);
    margin: 0 auto;
  }

  .procedure-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 76px;
  }

  .brand {
    min-width: 0;
  }

  .brand-text {
    max-width: none;
    letter-spacing: 0.08em;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 76px 14px auto;
    z-index: 40;
    display: none;
    padding: 10px;
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    gap: 0;
  }

  .site-nav a {
    padding: 15px;
    border-bottom: 1px solid var(--fine-line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .hero-actions a,
  .button,
  .procedure-grid,
  .appointment-grid,
  .info-with-image,
  .testimonial-grid,
  .resource-list a {
    grid-template-columns: 1fr;
    width: 100%;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    display: grid;
  }

  .doctify-pages {
    grid-template-columns: 1fr;
  }

  .footer-actions {
    justify-content: flex-start;
  }

  .footer-actions a {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-text {
    max-width: none;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
  }

  h1 {
    font-size: 2.72rem;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 2.72rem);
  }

  .quote-band p {
    font-size: 1.52rem;
  }

  .procedure-grid article,
  .appointment-grid article {
    min-height: auto;
    padding: 22px;
  }

  .resource-list a {
    min-height: auto;
  }
}
