:root {
  --bg: #eef2f1;
  --bg-alt: #e2e8e6;
  --surface: #ffffff;
  --ink: #14201e;
  --ink-soft: #3d4a47;
  --muted: #6a7572;
  --line: #c9d2cf;
  --accent: #0b3d3a;
  --accent-hover: #0f524e;
  --gold: #8f7340;
  --gold-soft: #d9c9a4;
  --danger: #8a3b2c;
  --radius: 4px;
  --shadow: 0 8px 28px rgba(20, 32, 30, 0.08);
  --max: 1100px;
  --header-h: 72px;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(168, 135, 77, 0.12), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(11, 61, 58, 0.1), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-hover);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(238, 242, 241, 0.92);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.brand img,
.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.brand-tag {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
}

.nav .btn-primary {
  color: #fff;
  background: var(--accent);
}

.nav .btn-primary:hover {
  color: #fff;
  background: var(--accent-hover);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: #fff;
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: flex-end;
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.25rem, 5vw, 2.75rem) clamp(2.2rem, 5vw, 3.5rem);
  overflow: hidden;
}

.hero .container {
  width: min(100%, var(--max));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

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

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(14, 32, 30, 0.88) 0%, rgba(14, 32, 30, 0.62) 48%, rgba(14, 32, 30, 0.28) 100%),
    linear-gradient(0deg, rgba(14, 32, 30, 0.55) 0%, transparent 42%);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: end;
  width: 100%;
}

.hero .hero-kicker,
.hero h1,
.hero p.lead {
  color: #f7f4ef;
}

.hero p.lead {
  color: rgba(247, 244, 239, 0.9);
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.hero p.lead {
  font-size: 1.12rem;
  max-width: 38ch;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero .btn-secondary {
  border-color: rgba(247, 244, 239, 0.7);
  color: #f7f4ef;
  background: transparent;
}

.hero .btn-secondary:hover {
  background: #f7f4ef;
  color: var(--accent);
  border-color: #f7f4ef;
}

.hero-panel {
  background: linear-gradient(160deg, var(--accent) 0%, #164d49 100%);
  color: #f7f4ef;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% 40%;
  height: 180px;
  background: radial-gradient(circle, rgba(184, 151, 90, 0.35), transparent 65%);
  pointer-events: none;
}

.hero-panel h2 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.hero-panel p {
  color: rgba(247, 244, 239, 0.88);
  margin: 0;
}

.hero-meta {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-size: 0.92rem;
}

.section {
  padding: clamp(2.2rem, 5vw, 3.8rem) 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.45);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.section-head p {
  margin-bottom: 0;
}

.grid-3 {
  display: grid;
  gap: 1rem;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}

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

.feature-body {
  padding: 1.15rem 1.25rem 1.3rem;
}

.feature h3 {
  margin-bottom: 0.45rem;
}

.feature p:last-child {
  margin-bottom: 0;
}

.locations {
  display: grid;
  gap: 1rem;
}

.location {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.location-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}

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

.location-body {
  padding: 1.1rem 1.25rem 1.25rem;
}

.location h3 {
  margin-bottom: 0.35rem;
}

.location address {
  font-style: normal;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}

.media-frame {
  margin: 0 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-alt);
}

.media-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.hours-table th,
.hours-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.hours-table th {
  width: 40%;
  color: var(--ink);
  background: var(--bg-alt);
}

.hours-table tr:last-child th,
.hours-table tr:last-child td {
  border-bottom: 0;
}

.hours-note {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.accordion {
  display: grid;
  gap: 0.65rem;
}

.accordion-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.accordion-trigger:hover {
  background: var(--bg-alt);
}

.accordion-trigger .chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.accordion-item.is-open .accordion-trigger .chevron {
  transform: rotate(180deg);
}

.accordion-panel {
  display: none;
  padding: 0 1.1rem 1.1rem;
  color: var(--ink-soft);
}

.accordion-item.is-open .accordion-panel {
  display: block;
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.contact-card h3 {
  margin-bottom: 0.5rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.contact-list a {
  font-weight: 600;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.form {
  display: grid;
  gap: 0.85rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.65rem 0.8rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid rgba(11, 61, 58, 0.25);
  border-color: var(--accent);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.form-status {
  font-size: 0.92rem;
  color: var(--accent);
  margin: 0;
}

.form-status.is-error {
  color: var(--danger);
}

.legal-page {
  padding: clamp(2rem, 5vw, 3.5rem) 0 4rem;
}

.legal-page .prose {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.prose h2 {
  margin-top: 1.75rem;
  font-size: 1.35rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.prose li {
  margin-bottom: 0.4rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #102624;
  color: rgba(247, 244, 239, 0.85);
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.site-footer a {
  color: rgba(247, 244, 239, 0.9);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-soft);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 520px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner p {
  margin-bottom: 0.9rem;
  font-size: 0.92rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 32, 30, 0.55);
}

.modal-dialog {
  position: relative;
  width: min(100%, 480px);
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.35rem;
}

.modal-dialog h2 {
  font-size: 1.35rem;
}

.modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: 1.35fr 0.9fr;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .locations {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(var(--header-h) + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(238, 242, 241, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a,
  .nav .btn {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0.7rem 0.35rem;
  }
}

@media (min-width: 981px) {
  .nav .btn {
    margin-left: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
