:root {
  --paper: #f3dfa2;
  --paper-soft: #f8edc6;
  --green: #194f3f;
  --green-dark: #0f342b;
  --sage: #9dbb76;
  --mint: #d8e4bc;
  --clay: #c96f3a;
  --tomato: #a8372e;
  --ink: #18342c;
  --line: rgba(25, 79, 63, 0.46);
  --shadow: 12px 14px 0 rgba(25, 79, 63, 0.16);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(25, 79, 63, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 79, 63, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  transform: translateY(-140%);
  background: var(--green);
  color: var(--paper-soft);
  padding: 0.65rem 1rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  min-height: 68px;
  padding: 0.75rem clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 90%, white);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-grid;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.1vw, 1.55rem);
  font-weight: 800;
  line-height: 0.84;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3.6rem);
}

.site-header nav a,
footer a {
  position: relative;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.site-header nav a::after,
footer a::after {
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after,
footer a:hover::after,
footer a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-action {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-soft);
  transition: transform 220ms ease, background 220ms ease;
}

.header-action:hover,
.header-action:focus-visible {
  transform: translateY(-2px) rotate(-6deg);
  background: var(--mint);
}

.header-action svg {
  width: 22px;
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-width: 1.8;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1rem, 4vw, 3rem) clamp(2rem, 5vw, 5rem);
}

.crumb,
.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.about h2,
.menu h2,
.visit h2 {
  margin: 0;
  color: var(--green);
  font-family: var(--serif);
  letter-spacing: 0;
  line-height: 0.92;
}

.hero h1 {
  max-width: 8ch;
  font-size: clamp(4.7rem, 13vw, 12rem);
}

.hero-lede {
  max-width: 46rem;
  margin: 1.2rem 0 0;
  font-size: clamp(1rem, 1.65vw, 1.32rem);
  font-weight: 600;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.25rem;
  border: 1px solid var(--green);
  border-radius: 0;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--green-dark);
}

.button-dark {
  background: var(--green);
  color: var(--paper-soft);
}

.button-light {
  background: var(--paper-soft);
}

.hero-board,
.menu-photo {
  position: relative;
  border: 1px solid var(--green);
  background: var(--green);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-board {
  aspect-ratio: 1.28;
}

.hero-board img,
.menu-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-board:hover img,
.menu-photo:hover img {
  transform: scale(1.035);
}

.open-stamp,
.menu-badge {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid var(--paper);
  background: var(--green);
  color: var(--paper-soft);
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.open-stamp {
  right: 1rem;
  bottom: 1rem;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  animation: soft-spin 16s linear infinite;
}

.open-stamp span {
  font-size: 0.73rem;
  letter-spacing: 0.14em;
}

.open-stamp strong {
  margin-top: -1.2rem;
  font-family: var(--serif);
  font-size: 2rem;
}

.collection-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 clamp(1rem, 4vw, 3rem);
  border: 1px solid var(--green);
}

.tab {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 0.7rem;
  border-right: 1px solid var(--green);
  color: var(--green);
  font-family: var(--serif);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: color 220ms ease, background 220ms ease;
}

.tab:last-child {
  border-right: 0;
}

.tab:hover,
.tab:focus-visible,
.tab.active {
  background: var(--green);
  color: var(--paper-soft);
}

.section-grid,
.menu,
.gallery,
.visit {
  padding: clamp(3rem, 7vw, 6.5rem) clamp(1rem, 4vw, 3rem);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr) minmax(280px, 0.7fr);
  gap: clamp(1.25rem, 3vw, 2.2rem);
  align-items: stretch;
}

.about-copy,
.hours-panel,
.visit-card,
.menu-shell {
  border: 1px solid var(--green);
  background: color-mix(in srgb, var(--paper-soft) 82%, white);
}

.about-copy {
  padding: clamp(1.2rem, 3vw, 2.2rem);
}

.about h2,
.menu h2,
.visit h2 {
  font-size: clamp(2.4rem, 5vw, 5.5rem);
}

.about-copy p:not(.eyebrow),
.menu-heading p,
.visit-card p {
  max-width: 56rem;
  margin: 1rem 0 0;
  font-weight: 600;
}

.about-art {
  position: relative;
  display: grid;
  min-height: 420px;
  place-items: center;
  border: 1px solid var(--green);
  background: var(--mint);
  overflow: hidden;
}

.leaf-plate {
  width: min(76%, 280px);
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
  animation: breathe 4.5s ease-in-out infinite;
}

.art-note {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.15rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--green);
  background: var(--paper);
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
}

.art-note strong {
  font-family: var(--serif);
  font-size: 2.2rem;
  line-height: 0.9;
}

.hours-panel {
  padding: 1.1rem;
}

.hours-panel ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hours-panel li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.hours-panel span {
  font-weight: 800;
}

.hours-panel strong {
  text-align: right;
}

.menu {
  border-top: 1px solid var(--green);
  border-bottom: 1px solid var(--green);
  background: color-mix(in srgb, var(--paper) 86%, var(--mint));
}

.menu-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.72fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.menu-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: start;
}

.menu-photo {
  aspect-ratio: 0.78;
}

.menu-badge {
  right: 1rem;
  top: 1rem;
  width: 132px;
  min-height: 132px;
  padding: 0.8rem;
  border-radius: 50%;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}

.menu-shell {
  padding: 1rem;
}

.menu-controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--green);
}

.menu-tab {
  min-height: 52px;
  border: 0;
  border-right: 1px solid var(--green);
  background: transparent;
  color: var(--green);
  cursor: pointer;
  font-weight: 900;
  transition: color 180ms ease, background 180ms ease;
}

.menu-tab:last-child {
  border-right: 0;
}

.menu-tab:hover,
.menu-tab:focus-visible,
.menu-tab.active {
  background: var(--green);
  color: var(--paper-soft);
}

.menu-list {
  display: grid;
  gap: 0;
  margin-top: 1rem;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 1.05rem 0.2rem;
  border-bottom: 1px solid var(--line);
  transition: opacity 180ms ease, transform 180ms ease;
}

.menu-item:first-child {
  border-top: 1px solid var(--line);
}

.menu-item.is-hidden {
  display: none;
}

.menu-item h3 {
  margin: 0;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1;
}

.menu-item p {
  margin: 0.38rem 0 0;
  max-width: 46rem;
  font-size: 0.94rem;
}

.menu-item strong {
  color: var(--tomato);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.gallery {
  background: var(--paper);
}

.gallery-heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.gallery h2 {
  max-width: 12ch;
  margin: 0;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4.8vw, 5rem);
  letter-spacing: 0;
  line-height: 0.92;
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: 1.08fr 0.75fr 0.92fr;
  grid-auto-rows: minmax(180px, 18vw);
  gap: clamp(0.8rem, 1.7vw, 1.25rem);
}

.gallery-tile {
  position: relative;
  min-height: 0;
  margin: 0;
  border: 1px solid var(--green);
  background: var(--green);
  box-shadow: 8px 9px 0 rgba(25, 79, 63, 0.13);
  overflow: hidden;
}

.gallery-tile-large {
  grid-row: span 2;
}

.gallery-tile-wide {
  grid-column: span 2;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 250ms ease;
}

.gallery-tile:hover img,
.gallery-tile:focus-within img {
  filter: saturate(1.05);
  transform: scale(1.05);
}

.gallery-tile figcaption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--green);
  background: color-mix(in srgb, var(--paper-soft) 92%, white);
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  font-weight: 800;
  line-height: 1;
}

.visit {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.6fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: stretch;
}

.visit-card {
  padding: clamp(1.2rem, 3vw, 2.2rem);
}

.visit-card .button {
  margin-top: 1.4rem;
}

.map-illustration {
  display: grid;
  min-height: 300px;
  place-items: center;
  border: 1px solid var(--green);
  background: var(--sage);
}

.map-illustration svg {
  width: min(86%, 380px);
  fill: var(--paper-soft);
  stroke: var(--green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem clamp(1rem, 4vw, 3rem);
  background: var(--green);
  color: var(--paper-soft);
}

.brand-footer {
  color: var(--paper-soft);
}

footer p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 120ms;
}

@keyframes soft-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.045) rotate(-2deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero,
  .about,
  .menu-layout,
  .menu-heading,
  .gallery-heading,
  .visit {
    grid-template-columns: 1fr;
  }

  .gallery-heading {
    display: grid;
  }

  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(170px, 30vw);
  }

  .gallery-tile-large {
    grid-row: span 1;
  }

  .hero {
    min-height: 0;
  }

  .hero-board {
    aspect-ratio: 1.2;
  }

  .about-art {
    min-height: 320px;
  }

  .menu-photo {
    aspect-ratio: 1.05;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-header nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: space-between;
    gap: 0.7rem;
    overflow-x: auto;
    padding-top: 0.2rem;
  }

  .header-action {
    justify-self: end;
  }

  .hero h1 {
    font-size: clamp(4.3rem, 24vw, 7rem);
  }

  .collection-tabs,
  .menu-controls {
    grid-template-columns: repeat(2, 1fr);
  }

  .tab,
  .menu-tab {
    border-bottom: 1px solid var(--green);
  }

  .tab:nth-child(2),
  .menu-tab:nth-child(2) {
    border-right: 0;
  }

  .tab:nth-child(n + 3),
  .menu-tab:nth-child(n + 3) {
    border-bottom: 0;
  }

  .hours-panel li,
  .menu-item,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(220px, 72vw);
  }

  .gallery-tile-wide {
    grid-column: span 1;
  }

  .hours-panel strong {
    text-align: left;
  }
}
