:root {
  color-scheme: light;
  --navy: #111e2b;
  --navy-raised: #1a2b3a;
  --ivory: #f7f4ed;
  --paper: #fffdf8;
  --ink: #172632;
  --muted: #4d565c;
  --gold: #e6c995;
  --bronze: #78532b;
  --line: #d9cdb7;
  --display: Georgia, "Times New Roman", serif;
  --body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font: 100%/1.6 var(--body);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, ol { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.22em; }
a:focus-visible { outline: 3px solid #a06a37; outline-offset: 4px; }
address { font-style: normal; }
[id] { scroll-margin-top: 1rem; }

.container { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.site-header, .hero, .closing, .site-footer { background: var(--navy); color: var(--paper); }
.site-header { border-bottom: 1px solid #ffffff29; }
.masthead { min-height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.94rem; font-weight: 650; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid #d5b57d99;
  color: var(--gold);
  font: 1.05rem/1 var(--display);
}
.site-nav { display: none; }
.icon-definitions { position: absolute; width: 0; height: 0; }
.icon { width: 1.23rem; height: 1.23rem; flex: none; }

.hero { padding-block: clamp(1.7rem, 5.7vw, 4.5rem) clamp(2rem, 5.7vw, 4.5rem); }
.hero-grid { display: grid; align-items: center; gap: clamp(1.6rem, 4.7vw, 4rem); }
.hero-content::before { content: ""; display: block; background: var(--gold); width: 2.6rem; height: 2px; margin-bottom: 1rem; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.04; letter-spacing: -0.046em; }
h1 { font-size: clamp(2.32rem, 7.3vw, 4.85rem); text-wrap: pretty; }
.hero h1 span { display: block; color: var(--gold); }
h2 { font-size: clamp(2.15rem, 5.8vw, 3.7rem); text-wrap: balance; }
.hero-subtitle { margin-block: 1rem 1.25rem; color: #e1e5e7; max-width: 42ch; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.2rem;
  padding: 0.7rem 0.82rem;
  border: 1px solid transparent;
  border-radius: 0.24rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 730;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
.button:hover { background: #f1deb8; }
.credentials {
  display: grid;
  gap: 0.16rem;
  max-width: max-content;
  margin-top: 1.25rem;
  padding-top: 0.9rem;
  border-top: 1px solid #ffffff36;
  color: #ede7dc;
  font-size: 0.85rem;
  line-height: 1.5;
}
.hero-photo {
  display: block;
  width: 100%;
  outline: 1px solid #d9bd8877;
  outline-offset: 4px;
  background: #d1bca6;
}
.hero-photo img { width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; }

.section { padding-block: clamp(2.8rem, 7vw, 5.75rem); }
.care-layout, .about-grid, .closing-grid, .footer-grid { display: grid; gap: 1.5rem; }
.care-layout h2 { text-wrap: pretty; }
.care-grid, .qualifications ul { list-style: none; padding: 0; }
.care-grid {
  display: grid;
  border-top: 1px solid var(--line);
}
.care-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 3.75rem;
  padding: 0.65rem 0.1rem;
  border-bottom: 1px solid var(--line);
  font-weight: 620;
}
.care-icon {
  width: 1.65rem;
  height: 1.65rem;
  flex: none;
  color: var(--bronze);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.consultation { background: var(--ivory); border-block: 1px solid var(--line); }
.steps {
  display: grid;
  gap: 0.85rem;
  list-style: decimal inside;
  padding: 0;
  margin-top: 1.5rem;
}
.steps li { padding: 1rem 0.1rem 0; border-top: 1px solid var(--line); color: var(--muted); }
.steps li::marker { color: var(--bronze); font-weight: 740; }
.about-grid { grid-template-areas: "copy" "image"; }
.about-content { grid-area: copy; }
.about-content > p { color: var(--muted); margin-top: 1.05rem; max-width: 58ch; }
.about-photo { grid-area: image; width: 100%; max-height: 26rem; object-fit: cover; object-position: center 27%; }
.qualifications { margin-top: 1.4rem; padding-block: 1rem; border-block: 1px solid var(--line); }
.qualifications h3 { margin-bottom: 0.35rem; font-size: 0.9rem; font-weight: 720; }
.qualifications li + li { margin-top: 0.25rem; }
.qualifications li { font-size: 0.94rem; }
.location { background: var(--ivory); border-top: 1px solid var(--line); }
.location-details address { margin-block: 0.8rem 1.12rem; font-weight: 640; }
.button-directions { border-color: #9b784e; background: transparent; color: var(--ink); }
.button-directions:hover { background: #eee5d4; }
.office-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.office-gallery img { width: 100%; height: auto; }
.office-reception { grid-column: 1 / -1; }
.office-portrait { aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; }
.closing { padding-block: clamp(2.7rem, 6vw, 4.75rem); background: var(--navy-raised); }
.closing-grid { align-items: center; justify-items: start; }
.closing h2 { max-width: 21ch; text-wrap: pretty; }
.site-footer { padding-block: 1.65rem calc(6.25rem + env(safe-area-inset-bottom, 0px)); font-size: 0.875rem; color: #ede7dc; }
.footer-grid { gap: 0.9rem; }
.footer-identity p + p { margin-top: 0.28rem; }
.footer-grid a { justify-self: start; align-self: start; padding-block: 0.4rem; color: var(--gold); }
.mobile-contact {
  position: fixed;
  z-index: 2;
  inset: auto 0 0;
  padding: 0.6rem 1.25rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
  background: var(--navy);
  border-top: 1px solid #e6c99555;
}
.mobile-contact .button { width: 100%; }
.privacy-content { width: min(100% - 2.5rem, 42rem); padding-block: clamp(2.5rem, 7vw, 5rem); }
.privacy-content h1 { margin-bottom: 1.2rem; }
.privacy-content p + p { margin-top: 0.85rem; }

@media (width < 54rem) {
  html { scroll-padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px)); }
}
@media (width >= 54rem) {
  .container { width: min(100% - 5rem, 72rem); }
  .masthead { min-height: 4.5rem; }
  .site-nav { display: flex; align-items: center; gap: clamp(1.1rem, 3vw, 2.5rem); font-size: 0.92rem; }
  .site-nav a { text-decoration: none; }
  .site-nav a:hover { color: var(--gold); text-decoration: underline; }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
  .hero-photo img { aspect-ratio: 9 / 10; object-position: center 36%; }
  .hero-subtitle { font-size: 1.08rem; }
  .button { padding-inline: 1.1rem; }
  .care-layout { grid-template-columns: .85fr 1.5fr; align-items: start; }
  .care-grid { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
  .care-card { min-height: 4.65rem; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 2rem; }
  .about-grid { grid-template-areas: "image copy"; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); align-items: center; gap: clamp(2.5rem, 6vw, 6rem); }
  .about-photo { max-height: 31rem; }
  .office-gallery { grid-template-columns: minmax(0, 2.37fr) repeat(2, minmax(0, 1fr)); gap: 0.85rem; margin-top: 1.5rem; }
  .office-reception { grid-column: auto; }
  .closing-grid, .footer-grid { grid-template-columns: 1fr auto; }
  .site-footer { padding-bottom: 1.65rem; }
  .mobile-contact { display: none; }
}
@media (width <= 22rem) {
  .container { width: calc(100% - 1.75rem); }
  h1 { font-size: 2.12rem; }
  .button { font-size: 0.88rem; }
}
