:root {
  --pine-950: #152617;
  --pine-800: #24472b;
  --pine-700: #2d5c37;
  --pine-600: #3d7445;
  --moss-400: #8fb26b;
  --moss-200: #d9e3c3;
  --sand-50: #f8f2e7;
  --sand-100: #efe5d2;
  --sand-200: #dbcdb2;
  --clay-300: #c99669;
  --ink: #1f241d;
  --muted: #5d6857;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(21, 38, 23, 0.12);
  --radius: 24px;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font: 16px/1.6 "Trebuchet MS", Verdana, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(143, 178, 107, 0.22), transparent 28%),
    linear-gradient(180deg, #f4efe4 0%, #f7f2e8 35%, #eef2e1 100%);
}

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

a {
  color: var(--pine-700);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--pine-600);
}

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(248, 242, 231, 0.9);
  border-bottom: 1px solid rgba(36, 71, 43, 0.08);
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0 4px;
  color: var(--muted);
  font-size: 0.84rem;
}

.topbar strong {
  color: var(--pine-800);
}

.mainbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0 12px;
}

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

.brand-mark {
  display: block;
  width: 250px;
  max-width: 100%;
  height: auto;
  flex: 0 0 auto;
}

.brand-copy h1,
.brand-copy p {
  margin: 0;
}

.brand-copy h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-copy p {
  margin-top: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(36, 71, 43, 0.1);
  color: var(--pine-800);
  font-weight: 700;
}

.nav-list a.is-current,
.nav-list a:hover,
.nav-list a:focus {
  background: var(--pine-800);
  color: var(--white);
}

.hero,
.page-hero {
  padding: 36px 0 24px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(21, 38, 23, 0.92), rgba(45, 92, 55, 0.9)),
    linear-gradient(180deg, rgba(201, 150, 105, 0.35), transparent);
  box-shadow: var(--shadow);
  color: var(--white);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h2,
.page-hero h2 {
  margin: 0 0 16px;
  font: 700 clamp(2.2rem, 5vw, 4.25rem) / 0.96 "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.hero p,
.page-hero p {
  margin: 0 0 18px;
  max-width: 62ch;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-media {
  position: relative;
  min-height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: 240px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(248, 242, 231, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-badge strong,
.hero-badge span {
  display: block;
}

.hero-badge strong {
  font-size: 1.1rem;
  color: var(--pine-800);
}

.hero-badge span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
}

.button-primary {
  background: var(--sand-50);
  color: var(--pine-950);
}

.button-primary:hover,
.button-primary:focus {
  background: var(--white);
}

.button-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.button-secondary:hover,
.button-secondary:focus {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.metric {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.metric strong {
  display: block;
  font: 700 1.6rem/1 "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.metric span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.section {
  padding: 22px 0 18px;
}

.section-head {
  margin-bottom: 20px;
}

.section-head h3 {
  margin: 0 0 10px;
  font: 700 clamp(1.6rem, 2.3vw, 2.2rem) / 1.05 "Palatino Linotype", "Book Antiqua", Georgia, serif;
  color: var(--pine-950);
}

.section-head p {
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
}

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

.card,
.sidebar-card,
.content-card {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(36, 71, 43, 0.08);
  box-shadow: var(--shadow);
}

.card,
.content-card,
.sidebar-card {
  padding: 22px;
}

.card h4,
.content-card h3,
.content-card h4,
.sidebar-card h4 {
  margin: 0 0 10px;
  color: var(--pine-950);
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.content-card h3 {
  font-size: 1.75rem;
}

.content-card h4,
.card h4,
.sidebar-card h4 {
  font-size: 1.2rem;
}

.card p,
.content-card p,
.sidebar-card p,
.sidebar-card li,
.content-card li {
  margin: 0;
  color: var(--muted);
}

.card ul,
.content-card ul,
.sidebar-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.card li + li,
.content-card li + li,
.sidebar-card li + li {
  margin-top: 8px;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.85fr);
  gap: 20px;
  padding-bottom: 34px;
}

.stack > * + * {
  margin-top: 16px;
}

.note {
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--sand-50), var(--sand-100));
  border: 1px solid rgba(201, 150, 105, 0.24);
}

.split-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.9fr);
  gap: 18px;
  align-items: center;
}

.media-frame,
.gallery figure,
.map-frame {
  overflow: hidden;
  border-radius: 22px;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.gallery figure {
  margin: 0;
  background: var(--sand-100);
}

.gallery img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery figcaption {
  padding: 10px 12px 12px;
  font-size: 0.95rem;
  color: var(--muted);
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-links a {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--moss-200);
  color: var(--pine-800);
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(36, 71, 43, 0.08);
}

thead th {
  background: var(--pine-800);
  color: var(--white);
}

tbody tr.section-row td {
  background: rgba(143, 178, 107, 0.16);
  color: var(--pine-950);
  font-weight: 700;
}

.small-text {
  font-size: 0.92rem;
  color: var(--muted);
}

.calculator-form {
  display: grid;
  gap: 14px;
  max-width: 420px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: var(--pine-800);
}

.field input,
.field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(36, 71, 43, 0.18);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.result-box {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(61, 116, 69, 0.09);
  border: 1px solid rgba(61, 116, 69, 0.14);
}

.result-box strong,
.result-box span {
  display: block;
}

.result-box strong {
  color: var(--pine-800);
  font-size: 0.95rem;
}

.result-box span {
  margin-top: 4px;
  font: 700 1.65rem/1 "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

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

.hours-card {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(239, 229, 210, 0.75));
  border: 1px solid rgba(36, 71, 43, 0.08);
}

.hours-card strong {
  display: block;
  color: var(--pine-800);
  margin-bottom: 6px;
}

.site-footer {
  padding: 24px 0 44px;
}

.footer-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--pine-950);
  color: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.footer-card a {
  color: var(--white);
}

.footer-card p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.map-frame iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
}

@media (max-width: 980px) {
  .mainbar,
  .page-layout,
  .hero-card,
  .split-highlight {
    grid-template-columns: 1fr;
  }

  .mainbar {
    display: block;
  }

  .brand {
    margin-bottom: 18px;
    align-items: flex-start;
  }

  .nav-list {
    justify-content: flex-start;
  }

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

@media (max-width: 720px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .topbar {
    flex-direction: column;
    gap: 6px;
  }

  .hero-card,
  .content-card,
  .sidebar-card,
  .card {
    padding: 20px;
  }

  .brand {
    gap: 12px;
  }

  .brand-mark {
    width: 210px;
  }

  .metrics,
  .card-grid,
  .hours-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .nav-list a,
  .button {
    width: 100%;
  }

  .hero h2,
  .page-hero h2 {
    font-size: clamp(2rem, 9vw, 2.9rem);
  }
}
