:root {
  color-scheme: light;
  --ink: #101510;
  --muted: #6d756b;
  --paper: #111a14;
  --surface: #f3ead8;
  --surface-2: #e6dac3;
  --line: rgba(214, 197, 166, 0.44);
  --moss: #2b4d39;
  --moss-2: #769069;
  --deep-green: #0e1812;
  --cinnabar: #a84532;
  --ochre: #c7a15c;
  --blue: #315e62;
  --shadow: 0 18px 50px rgba(8, 14, 10, 0.18);
  --deep-shadow: 0 34px 90px rgba(5, 10, 7, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% -10%, rgba(199, 161, 92, 0.14), transparent 28rem),
    radial-gradient(circle at 110% 18%, rgba(118, 144, 105, 0.1), transparent 32rem),
    linear-gradient(180deg, #0e1812 0%, #142219 42%, #efe4d0 42%, #f4ead8 100%);
  color: var(--ink);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.6;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(14, 24, 18, 0.78);
  border-bottom: 1px solid rgba(214, 197, 166, 0.18);
  color: #fff5e4;
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(199, 161, 92, 0.16);
  color: #fffaf0;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 250, 240, 0.22), 0 8px 22px rgba(23, 38, 31, 0.18);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: rgba(255, 245, 228, 0.64);
  font-size: 12px;
}

.top-nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  color: rgba(255, 245, 228, 0.74);
  font-size: 15px;
}

.top-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.top-nav a:hover {
  border-color: var(--ochre);
}

.top-nav a[aria-current="page"] {
  color: #fff5e4;
  border-color: var(--ochre);
}

.nav-cta,
.primary-btn,
.secondary-btn,
.appointment-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 2px;
  font-weight: 700;
  cursor: pointer;
}

.nav-cta,
.primary-btn,
.appointment-form button {
  padding: 0 18px;
  background: var(--ochre);
  color: #101510;
  border: 1px solid var(--ochre);
}

.label-short {
  display: none;
}

.secondary-btn {
  padding: 0 18px;
  background: rgba(255, 245, 228, 0.08);
  color: #fff5e4;
  border: 1px solid rgba(255, 245, 228, 0.28);
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: calc(100vh - 76px);
  padding: clamp(80px, 12vh, 140px) clamp(18px, 4vw, 56px) clamp(44px, 7vh, 78px);
  background:
    linear-gradient(90deg, rgba(8, 14, 10, 0.92) 0%, rgba(8, 14, 10, 0.62) 45%, rgba(8, 14, 10, 0.22) 100%),
    linear-gradient(180deg, rgba(8, 14, 10, 0.14), rgba(8, 14, 10, 0.76)),
    url("assets/photos/clinic-counter.jpg") center / cover no-repeat;
  color: #fff5e4;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(199, 161, 92, 0.18) 0 1px, transparent 1px 10%),
    linear-gradient(180deg, rgba(255, 245, 228, 0.08) 0 1px, transparent 1px 12%);
  opacity: 0.16;
}

.hero-copy {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--ochre);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(52px, 9vw, 112px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 680px;
  color: rgba(255, 245, 228, 0.78);
  font-size: clamp(17px, 2vw, 21px);
}

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

.hero-visual {
  position: absolute;
  inset: auto clamp(18px, 4vw, 56px) clamp(24px, 4vh, 44px) auto;
  width: min(360px, 30vw);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 245, 228, 0.22);
  border-radius: 0;
  box-shadow: var(--deep-shadow);
  aspect-ratio: 3 / 4;
  background: #e3d8c5;
  opacity: 0.9;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.04);
}

.hero-visual figcaption,
.photo-tile figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 250, 240, 0.22);
  border-radius: 2px;
  background: rgba(25, 35, 28, 0.72);
  color: #fffaf0;
  font-size: 13px;
  backdrop-filter: blur(10px);
}

.alert-band,
.guide-shell,
.constitution,
.services,
.seasonal,
.appointment,
.site-footer {
  padding: clamp(46px, 7vw, 92px) clamp(18px, 4vw, 56px);
}

.guide-shell,
.constitution,
.services,
.seasonal {
  position: relative;
  overflow: hidden;
}

.guide-shell {
  background:
    linear-gradient(180deg, rgba(14, 24, 18, 0.96), rgba(18, 32, 23, 0.98)),
    var(--deep-green);
  color: #fff5e4;
}

.guide-shell .section-heading h2,
.guide-shell .section-heading p {
  color: #fff5e4;
}

.guide-shell .section-heading p {
  color: rgba(255, 245, 228, 0.72);
}

.guide-shell .section-kicker {
  color: var(--ochre);
}

.alert-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  gap: 34px;
  background:
    linear-gradient(135deg, rgba(23, 38, 31, 0.98), rgba(37, 58, 45, 0.98)),
    var(--deep-green);
  color: #fffaf0;
}

.alert-band .section-kicker {
  color: #efc483;
}

.alert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.alert-grid article {
  padding: 20px;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 2px;
  background: rgba(255, 250, 240, 0.07);
}

.alert-grid p,
.appointment-copy p,
.section-heading p {
  color: var(--muted);
}

.page-directory .section-heading p,
.alert-band .section-heading p,
.photo-section .section-heading p,
.appointment-copy p {
  color: rgba(255, 245, 228, 0.72);
}

.alert-grid p {
  color: rgba(255, 250, 240, 0.78);
}

.quick-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(214, 197, 166, 0.22);
  border-bottom: 1px solid rgba(214, 197, 166, 0.22);
  background: #0e1812;
  color: #fff5e4;
}

.page-directory {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 7vw, 92px) clamp(18px, 4vw, 56px);
  background: #111a14;
  color: #fff5e4;
}

.page-directory::before,
.guide-shell::before,
.constitution::before,
.services::before,
.seasonal::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: min(520px, 52vw) auto;
  opacity: 0.12;
  mix-blend-mode: multiply;
}

.page-directory::before {
  background-image: linear-gradient(90deg, rgba(17, 26, 20, 0.82), rgba(17, 26, 20, 0.34)), url("assets/photos/herb-market.jpg");
  background-position: right top;
  opacity: 0.28;
  mix-blend-mode: normal;
}

.guide-shell::before {
  background-image: linear-gradient(90deg, rgba(244, 239, 227, 0.9), rgba(244, 239, 227, 0.56)), url("assets/photos/herb-scale.jpg");
  background-position: right 3rem top 7rem;
  opacity: 0.1;
}

.constitution::before {
  background-image: linear-gradient(90deg, rgba(238, 243, 233, 0.92), rgba(238, 243, 233, 0.6)), url("assets/photos/herb-jars.jpg");
  background-position: left bottom;
  opacity: 0.1;
}

.services::before {
  background-image: linear-gradient(90deg, rgba(255, 250, 240, 0.74), rgba(255, 250, 240, 0.98)), url("assets/photos/herbalist-preparing.jpg");
  background-position: right center;
  opacity: 0.1;
}

.seasonal::before {
  background-image: linear-gradient(90deg, rgba(244, 237, 221, 0.9), rgba(244, 237, 221, 0.62)), url("assets/photos/tea-ritual.jpg");
  background-position: left 2rem center;
  opacity: 0.09;
}

.page-directory > *,
.guide-shell > *,
.constitution > *,
.services > *,
.seasonal > * {
  position: relative;
  z-index: 1;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.directory-card {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  padding: 14px 18px 20px;
  border: 1px solid rgba(214, 197, 166, 0.24);
  border-radius: 2px;
  background: rgba(255, 245, 228, 0.06);
  box-shadow: 0 24px 70px rgba(5, 10, 7, 0.26);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.directory-media {
  position: relative;
  height: 150px;
  margin: 0 -4px 16px;
  overflow: hidden;
  border-radius: 1px;
  background: #dfd4c2;
}

.directory-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(17, 27, 22, 0.32));
}

.directory-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
  transition: transform 220ms ease;
}

.directory-card:hover .directory-media img {
  transform: scale(1.04);
}

.directory-card:hover {
  transform: translateY(-3px);
  border-color: rgba(199, 161, 92, 0.62);
  box-shadow: var(--deep-shadow);
}

.directory-card span {
  color: var(--ochre);
  font-weight: 900;
}

.directory-card p {
  margin-top: auto;
  margin-bottom: 0;
  color: rgba(255, 245, 228, 0.68);
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 68px;
  height: 3px;
  margin-top: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cinnabar), var(--ochre));
}

.alert-band .section-heading h2::after,
.photo-section .section-heading h2::after,
.appointment .section-heading h2::after {
  background: linear-gradient(90deg, #efc483, rgba(255, 250, 240, 0.38));
}

.subhero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.72fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(54px, 8vw, 108px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(214, 197, 166, 0.26);
  color: #fff5e4;
}

.subhero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: min(46vw, 520px);
  height: min(46vw, 520px);
  pointer-events: none;
  background: url("assets/photos/mortar-herbs.jpg") center / cover no-repeat;
  opacity: 0.08;
  mix-blend-mode: multiply;
  mask-image: radial-gradient(circle, #000 0 48%, transparent 72%);
}

.subhero > * {
  position: relative;
  z-index: 1;
}

.subhero-copy {
  max-width: 900px;
}

.subhero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 76px);
}

.subhero p:not(.eyebrow) {
  max-width: 820px;
  color: rgba(255, 245, 228, 0.72);
  font-size: clamp(17px, 2vw, 21px);
}

.subhero-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 245, 228, 0.22);
  border-radius: 2px;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
  background: #e9dfcf;
}

.subhero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.symptoms-theme {
  background:
    linear-gradient(90deg, rgba(14, 24, 18, 0.96), rgba(14, 24, 18, 0.76)),
    url("assets/photos/clinic-counter.jpg") center / cover no-repeat;
}

.male-theme {
  background:
    linear-gradient(90deg, rgba(14, 24, 18, 0.96), rgba(14, 24, 18, 0.72)),
    url("assets/photos/herb-scale.jpg") center / cover no-repeat;
}

.photo-section {
  padding: clamp(46px, 7vw, 92px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(135deg, rgba(23, 38, 31, 0.98), rgba(38, 56, 44, 0.98)),
    var(--deep-green);
  color: #fffaf0;
}

.photo-section .section-kicker {
  color: #efc483;
}

.photo-section .section-heading p {
  color: rgba(255, 250, 240, 0.72);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
}

.photo-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: 2px;
  background: rgba(255, 250, 240, 0.08);
}

.photo-tile.is-wide {
  grid-column: span 2;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.photo-tile:hover img {
  transform: scale(1.035);
}

.female-theme {
  background:
    linear-gradient(90deg, rgba(14, 24, 18, 0.96), rgba(14, 24, 18, 0.72)),
    url("assets/photos/herbalist-preparing.jpg") center / cover no-repeat;
}

.senior-theme {
  background:
    linear-gradient(90deg, rgba(14, 24, 18, 0.96), rgba(14, 24, 18, 0.72)),
    url("assets/photos/herb-jars.jpg") center / cover no-repeat;
}

.compact-alert {
  padding-top: clamp(34px, 5vw, 56px);
  padding-bottom: clamp(34px, 5vw, 56px);
}

.standalone-guide {
  padding-top: clamp(42px, 6vw, 72px);
}

.audience-jump {
  position: sticky;
  top: 76px;
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(14, 24, 18, 0.92);
  color: #fff5e4;
  backdrop-filter: blur(12px);
}

.audience-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 245, 228, 0.08);
  color: rgba(255, 245, 228, 0.76);
  font-size: 14px;
  font-weight: 800;
}

.audience-jump a:hover {
  border-color: var(--ochre);
  color: #fff5e4;
}

.health-group {
  padding: clamp(46px, 7vw, 86px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: #f3ead8;
}

.health-group:nth-of-type(odd) {
  background: #e8dfcb;
}

.health-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.health-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(222, 215, 198, 0.9);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(255, 248, 234, 0.96), rgba(238, 226, 204, 0.96));
  box-shadow: 0 14px 34px rgba(31, 42, 31, 0.055);
}

.health-card > p {
  color: #414b42;
}

.metric {
  padding: 26px clamp(18px, 4vw, 56px);
  border-right: 1px solid rgba(214, 197, 166, 0.18);
}

.metric strong {
  display: block;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
}

.metric span {
  color: rgba(255, 245, 228, 0.64);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.guide-toolbar {
  position: sticky;
  top: 76px;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  background: rgba(243, 234, 216, 0.86);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.search-box {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.search-box input,
.appointment-form input,
.appointment-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  outline: none;
}

.search-box input {
  padding: 0 14px;
}

.search-box input:focus,
.appointment-form input:focus,
.appointment-form textarea:focus {
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(73, 104, 74, 0.14);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
  color: #3f493f;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.chip.is-active {
  background: var(--moss);
  border-color: var(--moss);
  color: #fffaf0;
}

.guide-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

.visit-card {
  position: sticky;
  top: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(31, 42, 31, 0.06);
}

.visit-card ol {
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--muted);
}

.visit-card li + li {
  margin-top: 10px;
}

.text-link {
  color: var(--blue);
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

.symptom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.symptom-card,
.constitution-grid article,
.service-list article,
.timeline article,
.appointment-form {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(243, 234, 216, 0.94);
}

.symptom-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  min-width: 0;
  color: var(--ink);
}

.card-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.card-topline span {
  color: var(--cinnabar);
  font-size: 13px;
  font-weight: 800;
}

.presentation {
  color: #414b42;
}

details {
  border-top: 1px solid #ebe4d4;
  padding-top: 10px;
}

summary {
  color: var(--moss);
  font-weight: 800;
  cursor: pointer;
}

details p,
details ul {
  margin: 8px 0 0;
  color: var(--muted);
}

details ul {
  padding-left: 20px;
}

.red-flag {
  margin-top: auto;
  padding: 12px;
  border-left: 4px solid var(--cinnabar);
  border-radius: 2px;
  background: #f5dfd4;
}

.red-flag strong {
  color: #773323;
}

.red-flag p {
  margin: 4px 0 0;
  color: #6b4439;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px dashed var(--line);
  border-radius: 2px;
  background: rgba(255, 253, 247, 0.7);
}

.constitution {
  background: #e8dfcb;
}

.constitution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.constitution-grid article,
.timeline article {
  padding: 22px;
}

.constitution-grid p,
.service-list p,
.timeline p {
  margin-bottom: 0;
  color: var(--muted);
}

.services {
  background: #f3ead8;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-list article {
  padding: 22px;
}

.service-list span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--ochre);
  font-weight: 900;
}

.seasonal {
  background: #e7dbc4;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--line);
}

.timeline article {
  border: 0;
  border-radius: 0;
}

.appointment {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 0.7fr);
  gap: clamp(26px, 5vw, 76px);
  align-items: start;
  background:
    linear-gradient(90deg, rgba(14, 24, 18, 0.94), rgba(14, 24, 18, 0.74)),
    url("assets/photos/tea-ritual.jpg") center / cover no-repeat;
  color: #fffaf0;
}

.appointment > * {
  position: relative;
  z-index: 1;
}

.appointment .section-kicker {
  color: #efc483;
}

.appointment-copy p {
  color: rgba(255, 250, 240, 0.76);
}

.appointment-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  color: var(--ink);
  background: rgba(243, 234, 216, 0.94);
  backdrop-filter: blur(10px);
}

.appointment-form label {
  display: grid;
  gap: 6px;
  color: #3f493f;
  font-weight: 800;
}

.appointment-form input,
.appointment-form textarea {
  padding: 10px 12px;
  resize: vertical;
}

.appointment-form button {
  width: 100%;
  margin-top: 2px;
  font-size: 16px;
}

.appointment-form.is-sent button {
  background: var(--moss);
  border-color: var(--moss);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 0.9fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  background: var(--deep-green);
  color: #fffaf0;
}

.site-footer p {
  margin-bottom: 0;
  color: rgba(255, 250, 240, 0.72);
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}

.source-links a {
  padding: 8px 10px;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 999px;
  color: rgba(255, 250, 240, 0.82);
  font-size: 13px;
}

/* Global contrast guardrails for dark image sections. */
.hero h1,
.hero h2,
.hero h3,
.subhero h1,
.subhero h2,
.subhero h3,
.alert-band h1,
.alert-band h2,
.alert-band h3,
.photo-section h1,
.photo-section h2,
.photo-section h3,
.page-directory h1,
.page-directory h2,
.page-directory h3,
.guide-shell > .section-heading h1,
.guide-shell > .section-heading h2,
.guide-shell > .section-heading h3,
.appointment h1,
.appointment h2,
.appointment h3,
.site-footer strong {
  color: #fff5e4;
}

.hero p,
.subhero p,
.alert-band p,
.photo-section .section-heading p,
.page-directory .section-heading p,
.guide-shell > .section-heading p,
.appointment-copy p,
.site-footer p {
  color: rgba(255, 245, 228, 0.76);
}

.guide-shell > .section-heading .section-kicker,
.page-directory .section-kicker,
.alert-band .section-kicker,
.photo-section .section-kicker,
.appointment .section-kicker,
.subhero .eyebrow,
.hero .eyebrow {
  color: var(--ochre);
}

.symptom-card,
.visit-card,
.health-card,
.constitution-grid article,
.service-list article,
.timeline article,
.appointment-form,
.guide-toolbar {
  color: var(--ink);
}

.symptom-card h1,
.symptom-card h2,
.symptom-card h3,
.visit-card h1,
.visit-card h2,
.visit-card h3,
.health-card h1,
.health-card h2,
.health-card h3,
.constitution-grid article h3,
.service-list article h3,
.timeline article h3,
.appointment-form label {
  color: var(--ink);
}

.guide-toolbar label,
.guide-toolbar span,
.guide-toolbar input,
.chip {
  color: var(--ink);
}

@media (max-width: 1100px) {
  .subhero,
  .alert-band,
  .guide-layout,
  .appointment {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 78vh;
    background:
      linear-gradient(180deg, rgba(8, 14, 10, 0.88), rgba(8, 14, 10, 0.66)),
      url("assets/photos/clinic-counter.jpg") center / cover no-repeat;
  }

  .hero-visual {
    display: none;
  }

  .subhero-photo {
    max-height: 420px;
  }

  .visit-card {
    position: static;
  }

  .service-list,
  .timeline,
  .directory-grid,
  .health-card-grid,
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-grid {
    grid-auto-rows: 220px;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: sticky;
    flex-wrap: wrap;
    gap: 10px;
    min-height: auto;
    padding: 10px 12px 8px;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .brand strong {
    font-size: 15px;
    line-height: 1.1;
  }

  .brand small {
    font-size: 10px;
    line-height: 1.15;
  }

  .top-nav {
    order: 3;
    width: 100%;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    font-size: 13px;
  }

  .top-nav::-webkit-scrollbar {
    display: none;
  }

  .top-nav a {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 245, 228, 0.18);
    border-radius: 999px;
    background: rgba(255, 245, 228, 0.06);
    color: rgba(255, 245, 228, 0.82);
    line-height: 1;
    white-space: nowrap;
  }

  .top-nav a[aria-current="page"] {
    color: #101510;
    background: var(--ochre);
    border-color: var(--ochre);
  }

  .top-nav a[href="#appointment"] {
    display: none;
  }

  .nav-cta {
    flex: 0 0 auto;
    min-height: 36px;
    min-width: 68px;
    padding: 0 14px;
    font-size: 12px;
    white-space: nowrap;
  }

  .nav-cta .label-full {
    display: none;
  }

  .nav-cta .label-short {
    display: inline;
  }

  .hero {
    padding-top: 28px;
    gap: 22px;
  }

  h1 {
    font-size: 48px;
  }

  .alert-grid,
  .quick-panel,
  .guide-toolbar,
  .symptom-grid,
  .constitution-grid,
  .service-list,
  .timeline,
  .directory-grid,
  .health-card-grid,
  .photo-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .guide-toolbar {
    position: static;
  }

  .audience-jump {
    position: static;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .photo-tile.is-wide {
    grid-column: span 1;
  }
}

@media (max-width: 460px) {
  .brand strong {
    font-size: 14px;
  }

  .brand small,
  .nav-cta {
    font-size: 11px;
  }

  .site-header {
    padding: 8px 10px 7px;
  }

  .brand {
    gap: 8px;
  }

  .nav-cta {
    min-height: 34px;
    min-width: 62px;
    padding: 0 12px;
  }

  .top-nav {
    gap: 6px;
    font-size: 12px;
  }

  .top-nav a {
    min-height: 32px;
    padding: 6px 9px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-visual {
    display: none;
  }

  h2 {
    font-size: 30px;
  }

  .symptom-card,
  .visit-card,
  .appointment-form {
    padding: 16px;
  }
}
