:root {
  --cream: #f3ecdd;
  --paper: #fbf7ef;
  --green-dark: #2e4a2e;
  --green-mid: #556b2f;
  --gold: #b88a2f;
  --rust: #b85d33;
  --ink: #2f261b;
  --border: rgba(47, 38, 27, 0.16);
  --shadow: 0 18px 40px rgba(47, 38, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(184, 138, 47, 0.08), transparent 32%),
    linear-gradient(180deg, #f6efdf 0%, #fdf9f0 100%);
}

body.lightbox-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.site-header,
main,
.site-footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-seal {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.brand h1,
.section h2,
.hero h2,
.feature-card h3 {
  font-family: Cambria, Georgia, serif;
}

.brand h1 {
  margin: 0.15rem 0 0;
  font-size: clamp(1.5rem, 2.3vw, 2.1rem);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.77rem;
  color: var(--green-mid);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover {
  border-color: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0 2.5rem;
}

.hero-copy {
  background: rgba(255, 251, 242, 0.9);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.hero h2 {
  margin: 0.45rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.hero-text {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  background: var(--green-dark);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.button-secondary {
  background: transparent;
  color: var(--green-dark);
  border: 1px solid var(--green-dark);
}

.hero-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "next-market special"
    "hours when"
    "where address";
  gap: 1rem;
  margin: 1.8rem 0 0;
}

.detail-next-market { grid-area: next-market; }


.hero-details div {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
}

.hero-details dt,
.visit-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-mid);
}

.hero-details dd,
.visit-value,
.visit-address {
  margin: 0.35rem 0 0;
}

.hero-art img {
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.section {
  padding: 1.5rem 0 2.5rem;
}

.section-intro {
  max-width: 44rem;
  margin-bottom: 1.25rem;
}

.section h2 {
  margin: 0.3rem 0 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.two-column p {
  margin: 0;
  line-height: 1.8;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.visit-card {
  background: rgba(255, 251, 242, 0.95);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 1.2rem;
}

.feature-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
}

.feature-card p {
  margin: 0;
  line-height: 1.65;
}

.visit-card {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.35rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--paper);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.social-links a:hover {
  border-color: var(--ink);
}

.social-links svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0 2rem;
  font-size: 0.92rem;
  color: rgba(47, 38, 27, 0.8);
}

.footer-home-link {
  text-decoration: none;
}

.footer-home-link:hover {
  text-decoration: underline;
}

.footer-submark-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--paper);
}

.footer-submark-link:hover {
  border-color: var(--ink);
}

.footer-submark {
  height: 20px;
  width: auto;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: flex-start;
  overflow: auto;
  padding: 4vh 0;
  background: rgba(19, 16, 11, 0.88);
  z-index: 1000;
  cursor: zoom-out;
}

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

.lightbox img {
  width: 90vw;
  max-width: 90vw;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

@media (min-width: 1500px) {
  .site-header,
  main,
  .site-footer {
    width: min(1280px, calc(100% - 3rem));
  }

  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2.75rem;
  }

  .hero h2 {
    font-size: clamp(2.6rem, 3.8vw, 4.2rem);
  }
}

@media (max-width: 900px) {
  .hero,
  .two-column,
  .feature-grid,
  .visit-card {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    flex-wrap: wrap;
  }

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

  .hero-copy {
    order: 2;
  }

  .hero-art {
    order: 1;
  }

  .hero-details {
    grid-template-columns: 1fr;
    grid-template-areas:
      "next-market"
      "special"
      "hours"
      "when"
      "where"
      "address";
  }

  .detail-special {
    visibility: visible;
  }
}
