:root {
  --cream: #f3efdf;
  --paper: #fbfaf4;
  --sage: #92a182;
  --sage-dark: #60705a;
  --ink: #171914;
  --muted: #66675f;
  --line: rgba(23, 25, 20, .14);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

.test-banner,
.local-banner {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #b91c1c;
  color: #fff;
  padding: 12px 20px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.local-banner { background: #eab308; color: var(--ink); }

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

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

header {
  border-bottom: 1px solid var(--line);
  background: rgba(243, 239, 223, .96);
}

.topbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: .95rem;
}

nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: .92rem;
}

nav a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

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

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 650px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 7vw 70px max(20px, calc((100vw - var(--max)) / 2));
}

.hero-logo {
  width: min(610px, 100%);
  margin-bottom: 36px;
}

.kicker {
  margin: 0 0 13px;
  color: var(--sage-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -.035em;
}

.hero p.lead {
  max-width: 660px;
  margin: 24px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2.1vw, 1.42rem);
}

.hero-photo {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  min-height: 650px;
}

.hero-photo-frame {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.notice {
  background: var(--sage-dark);
  color: white;
}

.notice .wrap {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 22px;
}

.notice strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight: 500;
}

.notice span {
  font-size: .98rem;
  opacity: .94;
}

section {
  padding: 82px 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 46px;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.025em;
}

.section-head p {
  margin: 4px 0 0;
  max-width: 680px;
  font-size: 1.08rem;
  color: var(--muted);
}

.section-head .products-note {
  margin-top: 18px;
  padding: 16px 20px;
  border-left: 4px solid var(--sage);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 600;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}

.product-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sage);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.015);
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 116px;
  padding: 20px;
}

.product-body h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.15;
  font-weight: 500;
}

.product-price {
  margin: auto 0 0;
  color: var(--sage-dark);
  font-size: .96rem;
  font-weight: 800;
}

.visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}

.visit-photo {
  min-height: 520px;
  overflow: hidden;
  border-radius: 2px;
}

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

.visit-card {
  background: var(--paper);
  padding: clamp(34px, 5vw, 62px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.visit-card h2 { margin-bottom: 30px; }

.details {
  display: grid;
  gap: 24px;
  margin: 0;
}

.detail {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.detail dt {
  margin-bottom: 5px;
  color: var(--sage-dark);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.detail dd {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
}

.detail a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.social {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.social-title {
  margin: 0 0 13px;
  color: var(--sage-dark);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sage-dark);
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 4px;
}

.social-link:hover {
  color: var(--ink);
}

.social-link:focus-visible {
  outline: 2px solid var(--sage-dark);
  outline-offset: 4px;
}

.social-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-icon-dot {
  fill: currentColor;
  stroke: none;
}

.social-icon-facebook {
  fill: currentColor;
  stroke: none;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
}

.button.primary {
  background: var(--ink);
  color: white;
}

.landmarks {
  margin-top: 76px;
}

.landmarks-head {
  max-width: 720px;
  margin-bottom: 34px;
}

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

.landmark-card {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}

.landmark-card img {
  width: 100%;
  height: auto;
}

.landmark-card figcaption {
  padding: 16px 18px 18px;
  color: var(--muted);
  font-size: .94rem;
}

.about {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 60px;
  align-items: center;
}

.about-copy p {
  max-width: 700px;
  margin: 26px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.about-photo {
  min-height: 440px;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}

.legal-page {
  min-height: calc(100vh - 160px);
}

.legal-content {
  max-width: 920px;
}

.legal-page h1 {
  margin: 0 0 48px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.03em;
}

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

.legal-block {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.legal-block-wide {
  grid-column: 1 / -1;
}

.legal-block h2 {
  margin: 0 0 18px;
  font-size: 1.45rem;
  line-height: 1.15;
}

.legal-block p {
  margin: 0;
}

.legal-block p + p {
  margin-top: 16px;
}

.legal-block address {
  margin: 0 0 16px;
  font-style: normal;
}

.legal-block a,
.legal-back a {
  text-underline-offset: 4px;
}

.legal-back {
  margin: 34px 0 0;
}

footer {
  padding: 34px 0;
  color: var(--muted);
  font-size: .86rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-contact a,
.footer-socials a {
  text-decoration: none;
  text-underline-offset: 4px;
}

.footer-contact a:hover,
.footer-socials a:hover {
  text-decoration: underline;
}

.footer-socials {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

@media (max-width: 860px) {
  .hero,
  .visit,
  .about,
  .section-head,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy { padding: 54px 20px; }
  .hero-photo { min-height: 0; height: 560px; }

  .notice .wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .landmarks { margin-top: 58px; }
}

@media (max-width: 640px) {
  .products,
  .landmark-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .hero-photo { height: 480px; }
  section { padding: 62px 0; }
  .visit { gap: 20px; }
  .visit-photo { min-height: 430px; }
  .buttons { flex-direction: column; }
  .button { width: 100%; }
  .landmarks { margin-top: 48px; }
}

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

.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gallery-card { margin: 0; min-width: 0; }
.gallery-card a { display: block; border-radius: 16px; overflow: hidden; }
.gallery-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .2s; }
.gallery-card a:hover img { transform: scale(1.03); }
.gallery-card figcaption { display: grid; gap: 4px; padding: 10px 0; overflow-wrap: anywhere; }
.gallery-card time { font-size: .85em; color: var(--muted); }
.gallery-dialog { max-width: min(1000px, 94vw); max-height: 94vh; border: 0; border-radius: 16px; padding: 16px; }
.gallery-dialog::backdrop { background: rgb(0 0 0 / 75%); }
.gallery-dialog img { display: block; max-width: 100%; max-height: 75vh; margin: 12px auto; object-fit: contain; }
.gallery-viewer { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 8px; }
.gallery-viewer img { grid-column: 2; grid-row: 1; }
.gallery-viewer button { min-height: 44px; padding: 8px; }
.gallery-prev { grid-column: 1; grid-row: 1; }
.gallery-next { grid-column: 3; grid-row: 1; }
.gallery-dialog p { overflow-wrap: anywhere; }
.gallery-dialog button { cursor: pointer; padding: 8px 16px; }
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  [data-gallery-preview] > .gallery-card:nth-child(n + 3) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .gallery-card img { transition: none; } }

.hero-photo[data-count="2"] { grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hero-photo img { object-position: var(--hero-desktop-x, 50%) var(--hero-desktop-y, 42%); }
@media (max-width: 860px) {
  .hero-photo img { object-position: var(--hero-mobile-x, 50%) var(--hero-mobile-y, 42%); }
}
