:root {
  color-scheme: light;
  --canvas: #f5f7f4;
  --paper: #fff;
  --ink: #182a23;
  --secondary: #4b6057;
  --green: #193b31;
  --green-active: #285446;
  --line: #dce5dc;
  --soft: #e9f0ea;
  --accent: #946632;
  font-family: "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--canvas);
}

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

body { margin: 0; line-height: 1.65; }

::selection { background: #dbeadf; color: var(--ink); }

a { color: inherit; }

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

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

.shell { width: min(72rem, calc(100% - 5rem)); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 2;
  inset: .6rem auto auto .6rem;
  padding: .65rem 1rem;
  color: white;
  background: var(--green);
  transform: translateY(-180%);
}

.skip-link:focus { transform: none; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }

.header-inner, .footer-inner, .identity, .site-nav, .profile-actions {
  display: flex;
  align-items: center;
}

.header-inner { min-height: 4.8rem; justify-content: space-between; gap: .75rem; }

.identity { gap: .7rem; text-decoration: none; font-weight: 750; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: .45rem;
  background: var(--green);
  color: #f4e7cb;
  font-size: 1.23rem;
  line-height: 1;
}

.site-nav { gap: 2rem; font-size: .875rem; }
.site-nav a { padding-block: .65rem; color: var(--secondary); text-decoration: none; }
.site-nav a:hover { color: var(--green); text-decoration: underline; text-underline-offset: .35em; }

main { padding-block: 3.25rem 4.5rem; }

.profile {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: var(--paper);
}

.profile-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5.1vw, 4.65rem);
  padding-bottom: clamp(1rem, 3vw, 2.8rem);
}

.location-label { color: var(--secondary); font-size: .875rem; letter-spacing: .1em; font-weight: 700; }

h1 {
  margin: .5rem 0 1.75rem;
  font-size: clamp(2.15rem, 4.4vw, 4.05rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.18;
}

.profile-facts { border-top: 1px solid var(--line); }
.profile-facts > div { display: grid; grid-template-columns: 5.3rem minmax(0, 1fr); gap: .6rem; align-items: baseline; padding-block: .7rem; border-bottom: 1px solid var(--line); }
.profile-facts dt, .visit-facts dt { color: var(--secondary); font-weight: 650; font-size: .875rem; }
.profile-facts dd { overflow-wrap: anywhere; }
.profile-facts .phone-row { padding-block: .6rem; }

.phone-number {
  font-family: "Bahnschrift", "Aptos", system-ui, sans-serif;
  font-size: clamp(1.55rem, 3.35vw, 2.65rem);
  color: var(--green);
  font-weight: 740;
  font-variant-numeric: tabular-nums;
  letter-spacing: .015em;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
}

.phone-number:hover { text-decoration: underline; text-underline-offset: .16em; }
.profile-actions { flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .69rem 1.2rem;
  min-height: 2.85rem;
  border: 1px solid transparent;
  border-radius: .5rem;
  font: inherit;
  font-size: .92rem;
  font-weight: 680;
  line-height: 1.35;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.button[hidden] { display: none; }
.button-primary { color: white; background: var(--green); }
.button-primary:hover { background: var(--green-active); }
.button-secondary { color: var(--green); background: var(--paper); border-color: #c6d7ca; }
.button-secondary:hover { background: var(--soft); border-color: #a7c1ae; }
.copy-status { min-height: 1.35rem; margin-top: .3rem; color: var(--secondary); font-size: .875rem; }

.profile-figure { position: relative; min-height: 26rem; background: var(--green); }
.profile-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 59%; }
.profile-figure figcaption { position: absolute; inset: auto 1.1rem 1.05rem auto; padding: .2rem .5rem; border-radius: .2rem; color: white; background: #152d25; font-size: .8rem; }

.details-grid { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr); gap: clamp(1.8rem, 5vw, 4.8rem); margin-top: 3.2rem; align-items: start; }
.details-grid section { scroll-margin-top: 1.5rem; }
h2 { margin-bottom: 1rem; font-size: clamp(1.4rem, 2.45vw, 2rem); font-weight: 760; line-height: 1.3; }
.service-list > div { display: grid; grid-template-columns: 8.3rem minmax(0, 1fr); gap: .65rem; padding-block: .9rem; border-bottom: 1px solid var(--line); }
.service-list dt { font-weight: 700; }
.service-list dd, .visit-facts dd { color: var(--secondary); }
.visit { padding: 1.65rem 1.85rem 1.85rem; border: 1px solid #d7e3d9; border-radius: .75rem; background: var(--soft); }
.visit-facts > div { margin-bottom: 1rem; }
.visit-facts dt { margin-bottom: .25rem; }
.visit .button { margin-top: .35rem; }
.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer-inner { justify-content: space-between; gap: 1rem; padding-block: 1.45rem; color: var(--secondary); font-size: .875rem; }
.footer-inner a { font-variant-numeric: tabular-nums; text-underline-offset: .2em; }

@media (max-width: 53rem) {
  .shell { width: calc(100% - 3rem); }
  .profile-info { padding-inline: 1.65rem; }
  .profile-facts > div { grid-template-columns: 4.25rem minmax(0, 1fr); }
  .details-grid { gap: 2rem; }
  .service-list > div { grid-template-columns: 1fr; gap: .2rem; }
}

@media (max-width: 39rem) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { min-height: 4.1rem; }
  .identity { gap: .45rem; font-size: .9rem; }
  .brand-mark { width: 1.9rem; height: 1.9rem; font-size: 1rem; }
  .site-nav { gap: .7rem; font-size: .875rem; }
  main { padding-block: 1.35rem 2.7rem; }
  .profile, .details-grid { grid-template-columns: minmax(0, 1fr); }
  .profile-info { padding: 1.55rem 1.15rem .85rem; }
  h1 { margin-bottom: 1.3rem; }
  .profile-facts > div { grid-template-columns: 4.15rem minmax(0, 1fr); }
  .profile-figure { min-height: 14rem; }
  .profile-figure img { object-position: 58% 52%; }
  .details-grid { margin-top: 2rem; }
  .visit { padding: 1.3rem; }
}

@media (max-width: 22rem) {
  .site-nav a { font-size: .8rem; }
  .identity { font-size: .83rem; }
  .profile-facts > div { gap: .3rem; }
}
