:root {
  --ink: #17241e;
  --ink-soft: #3d5147;
  --pine: #1e4d3a;
  --pine-deep: #123228;
  --leaf: #2f6d50;
  --mist: #e6f0ea;
  --paper: #f7f4ee;
  --card: #fffcf7;
  --line: #ddd4c6;
  --gold: #8d6b32;
  --gold-soft: #f3e6c4;
  --crisis: #8d2e3a;
  --crisis-soft: #f8ecee;
  --shadow: 0 18px 40px rgba(18, 50, 40, 0.08);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --wrap: 1120px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html[data-font="lg"] { font-size: 112.5%; }
html[data-font="xl"] { font-size: 125%; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 100% -10%, rgba(47, 109, 80, 0.08), transparent 55%),
    var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; }
a { color: var(--pine); }
a:hover { color: var(--leaf); }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--pine-deep);
  color: white;
  padding: 0.7rem 1rem;
  z-index: 20;
  border-radius: 8px;
}
.skip:focus { top: 1rem; color: white; }

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.util {
  background: var(--pine-deep);
  color: #e7f2ec;
  font-size: 0.92rem;
}
.util a { color: white; text-decoration: none; }
.util a:hover { text-decoration: underline; }
.util-inner, .header-inner, .footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.util-inner { min-height: 46px; }
.util-actions, .a11y-mini, .brand, .nav, .header-tools {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.crisis-link {
  background: var(--crisis);
  color: white !important;
  text-decoration: none !important;
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font-weight: 600;
}
.a11y-mini button, .icon-btn, .menu-btn {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: white;
  border-radius: 999px;
  min-width: 2rem;
  height: 2rem;
  cursor: pointer;
  font: inherit;
}
.header-tools .icon-btn, .menu-btn {
  border-color: var(--line);
  color: var(--pine-deep);
  background: white;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(221, 212, 198, 0.8);
}
.header-inner { min-height: 84px; }
.brand {
  color: inherit;
  text-decoration: none;
  gap: 0.8rem;
  min-width: 0;
}
.brand svg { width: 46px; height: 46px; color: var(--pine); flex: none; }
.brand strong {
  display: block;
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.brand small {
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.nav { gap: 0.15rem; }
.nav > a, .nav summary {
  color: var(--ink);
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
}
.nav > a[aria-current="page"], .nav details[open] > summary, .nav > a:hover, .nav summary:hover {
  background: var(--mist);
  color: var(--pine-deep);
}
.nav summary::-webkit-details-marker { display: none; }
.nav details { position: relative; }
.nav-panel {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 280px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 0.5rem;
  display: none;
}
.nav details[open] .nav-panel { display: grid; }
.nav-panel a {
  text-decoration: none;
  color: var(--ink);
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
}
.nav-panel a:hover { background: var(--mist); }

.menu-btn { display: none; }

.hero { padding: 3.2rem 0 2rem; }
.hero-grid, .split, .news-layout, .two {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  hyphens: manual;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1.02; margin: 0 0 1rem; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.15; margin: 0 0 0.8rem; }
h3 { font-size: 1.35rem; margin: 0 0 0.4rem; }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 40rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
}
.btn-primary { background: var(--pine); color: white; }
.btn-primary:hover { background: var(--pine-deep); color: white; }
.btn-ghost { background: transparent; border-color: var(--pine); color: var(--pine-deep); }
.btn-ghost:hover { background: var(--mist); }
.btn-crisis { background: var(--crisis); color: white; }
.btn-crisis:hover { background: #6f222c; color: white; }

.appt {
  background: var(--pine);
  color: #f4faf6;
  border-radius: 28px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.appt::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 18px solid rgba(243, 230, 196, 0.16);
  border-radius: 50%;
  right: -50px;
  bottom: -60px;
}
.appt p { margin: 0.2rem 0; position: relative; }
.appt .label { letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; color: var(--gold-soft); }
.appt .phone {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1;
  margin: 0.4rem 0;
  color: white;
  text-decoration: none;
  display: inline-block;
}
.appt a { color: white; }

.section { padding: 3.2rem 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.3rem;
}
.section-head a { font-weight: 600; }

.quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.quick a, .card, .loc, .news-card, .stat, .person, .price, .room {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.quick a {
  text-decoration: none;
  color: inherit;
  padding: 1rem 1rem 1.05rem;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.quick a:hover { transform: translateY(-2px); border-color: #b7c9be; }
.quick .tag {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mist);
  color: var(--pine);
  font-weight: 650;
}
.quick a strong { display: block; line-height: 1.3; color: var(--ink); }
.quick a .quiet { color: var(--ink-soft); font-size: 0.92rem; }
.quick a.alert { background: var(--crisis-soft); border-color: #efd3d7; }
.quick a.alert .tag { background: white; color: var(--crisis); }

.cards, .locs, .stats, .people, .prices, .rooms {
  display: grid;
  gap: 0.9rem;
}
.cards { grid-template-columns: repeat(3, 1fr); }
.card, .loc, .news-card, .person, .room { padding: 1.2rem 1.2rem 1.3rem; }
.card p, .loc p, .person p, .room p { color: var(--ink-soft); margin: 0.35rem 0 0; }
.card a, .text-link { font-weight: 600; }

.news-list { display: grid; gap: 0.75rem; }
.news-card {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  align-items: center;
}
.news-card time {
  color: var(--gold);
  font-weight: 650;
  font-size: 0.92rem;
}
.news-card:hover h3 { color: var(--leaf); }
.article { padding-bottom: 1.6rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.article p { max-width: 46rem; }

.band {
  background: var(--pine-deep);
  color: #f4faf6;
}
.band a { color: var(--gold-soft); }
.stats { grid-template-columns: repeat(4, 1fr); }
.stat {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.14);
  padding: 1.1rem;
}
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 560;
  letter-spacing: -0.03em;
}
.stat span { color: #d5e6dc; }

.motto {
  background: var(--gold-soft);
  border-radius: 28px;
  padding: 1.8rem;
}
.motto blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.2;
}
.motto cite { display: block; margin-top: 0.8rem; font-style: normal; color: var(--ink-soft); font-family: var(--sans); font-size: 1rem; }

.page-hero { padding: 2.4rem 0 0.4rem; }
.page-hero .lead { margin-top: 0; }
.crumbs { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 0.8rem; }
.crumbs a { color: var(--ink-soft); }

.prose { max-width: 46rem; }
.prose h2 { margin-top: 2rem; }
.note, .callout {
  border-radius: 16px;
  padding: 1rem 1.1rem;
  background: var(--mist);
  border: 1px solid #d5e4db;
}
.callout.warm { background: var(--crisis-soft); border-color: #efd3d7; }
.callout strong { display: block; }

.locs { grid-template-columns: repeat(2, 1fr); }
.loc h3 { margin-bottom: 0.2rem; }
.people { grid-template-columns: repeat(2, 1fr); }
.prices, .rooms { grid-template-columns: repeat(3, 1fr); }
.price, .room { padding: 1rem; }
.price b { display: block; font-family: var(--serif); font-size: 1.7rem; }

.accordion details {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}
.accordion summary {
  cursor: pointer;
  font-weight: 620;
  font-size: 1.08rem;
}
.accordion summary:hover { color: var(--pine); }
.accordion details p { color: var(--ink-soft); }

.form {
  display: grid;
  gap: 0.85rem;
  max-width: 40rem;
}
label { font-weight: 600; display: grid; gap: 0.35rem; }
input, select, textarea {
  font: inherit;
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}
textarea { min-height: 140px; resize: vertical; }
.help { color: var(--ink-soft); font-weight: 400; font-size: 0.92rem; }
.error { color: var(--crisis); font-size: 0.92rem; }

.test {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  padding: 1rem 1rem 1.2rem;
  margin: 1rem 0 1.4rem;
}
.q { padding: 0.85rem 0; border-top: 1px solid var(--line); }
.q p { margin: 0 0 0.45rem; font-weight: 600; }
.scale { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.scale label {
  font-weight: 500;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: white;
}
.scale input { margin-right: 0.3rem; }
.result {
  margin-top: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: var(--mist);
}

dialog {
  border: none;
  border-radius: 20px;
  padding: 0;
  width: min(560px, calc(100% - 1.5rem));
  box-shadow: var(--shadow);
}
dialog::backdrop { background: rgba(18, 34, 28, 0.45); }
.search-box { padding: 1rem; display: grid; gap: 0.7rem; }
.search-box input { font-size: 1.05rem; }
.search-hit {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 0.65rem 0.3rem;
  border-top: 1px solid var(--line);
}
.search-hit small { color: var(--ink-soft); display: block; }

.site-footer {
  background: #10261e;
  color: #d7e6de;
  padding: 2.6rem 0 6.2rem;
  margin-top: 2rem;
}
.site-footer a { color: white; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid {
  align-items: start;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1.4rem;
}
.site-footer h2 { font-size: 1.15rem; color: white; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.legal {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #b7c9c0;
  font-size: 0.92rem;
}

.mobile-crisis {
  display: none;
}

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 0.7rem 0.4rem; border-bottom: 1px solid var(--line); vertical-align: top; }

:focus-visible {
  outline: 3px solid #c9862a;
  outline-offset: 2px;
}

html[data-contrast="high"] body {
  background: white;
  color: black;
}
html[data-contrast="high"] .util,
html[data-contrast="high"] .appt,
html[data-contrast="high"] .band,
html[data-contrast="high"] .site-footer {
  background: black;
  color: white;
}
html[data-contrast="high"] .card,
html[data-contrast="high"] .quick a,
html[data-contrast="high"] .news-card,
html[data-contrast="high"] .loc,
html[data-contrast="high"] .test {
  background: white;
  border-color: black;
}

@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; padding: 0 0.9rem; }
  body.nav-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1rem 1rem;
    max-height: calc(100vh - 130px);
    overflow: auto;
  }
  .nav details, .nav > a { width: 100%; }
  .nav-panel { position: static; box-shadow: none; min-width: 0; border: none; padding-left: 0.4rem; }
  .hero-grid, .split, .news-layout, .two, .cards, .stats, .quick, .footer-grid, .locs, .people, .prices, .rooms {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid, .hero-grid, .split, .news-layout, .two { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .util-copy { display: none; }
  .quick, .cards, .stats, .locs, .people, .prices, .rooms, .news-card { grid-template-columns: 1fr; }
  .brand strong { font-size: 0.98rem; }
  .mobile-crisis {
    display: block;
    position: fixed;
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.7rem;
    background: var(--crisis);
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 999px;
    padding: 0.85rem 1rem;
    font-weight: 650;
    z-index: 12;
    box-shadow: var(--shadow);
  }
  .site-footer { padding-bottom: 6.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .quick a { transition: none; }
}
