:root {
  --ink: #1c2420;
  --ink-soft: #3d4a44;
  --paper: #f3f0e8;
  --paper-2: #e7ebe4;
  --lake: #1f6b73;
  --lake-deep: #0f3d44;
  --timber: #8a5a32;
  --amber: #c9852c;
  --foam: #fffaf2;
  --line: rgba(28, 36, 32, 0.12);
  --shadow: 0 18px 50px rgba(15, 40, 36, 0.18);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(31, 107, 115, 0.12), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(201, 133, 44, 0.12), transparent 55%),
    linear-gradient(180deg, #eef2ec 0%, var(--paper) 35%, #ebe6da 100%);
  line-height: 1.5;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.75rem clamp(1rem, 4vw, 2.5rem);
  backdrop-filter: blur(14px);
  background: rgba(243, 240, 232, 0.82);
  border-bottom: 1px solid var(--line);
}

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

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--lake), var(--lake-deep));
  color: var(--foam);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

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

.logo-text strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.logo-text em {
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--timber);
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a {
  opacity: 0.75;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  opacity: 1;
  color: var(--lake-deep);
}

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

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

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--foam);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 61, 68, 0.25) 0%, rgba(15, 61, 68, 0.55) 45%, rgba(12, 28, 26, 0.88) 100%),
    linear-gradient(90deg, rgba(12, 28, 26, 0.55), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 6vw, 5rem);
  max-width: 760px;
  animation: riseIn 0.9s ease both;
}

.hero-brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f0d9a8;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 250, 242, 0.88);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 560;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--amber);
  color: #1a1408;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 250, 242, 0.45);
  color: var(--foam);
}

.season-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: baseline;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  background: var(--lake-deep);
  color: var(--foam);
}

.season-label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.season-hint {
  margin: 0;
  opacity: 0.8;
  font-size: 0.95rem;
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 4vw, 2.5rem);
}

.section-alt {
  background: linear-gradient(180deg, rgba(31, 107, 115, 0.06), transparent 70%);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--timber);
  font-weight: 600;
}

.section-head h2,
.local-copy h2,
.persona h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.card-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 280px);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.card-rail::-webkit-scrollbar {
  height: 8px;
}

.card-rail::-webkit-scrollbar-thumb {
  background: rgba(31, 107, 115, 0.35);
  border-radius: 999px;
}

.drink-card {
  scroll-snap-align: start;
  border: 0;
  padding: 0;
  text-align: left;
  background: var(--foam);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  color: inherit;
  font: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: riseIn 0.6s ease both;
}

.drink-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15, 40, 36, 0.22);
}

.drink-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #d9e2dc;
}

.drink-card .body {
  padding: 1rem 1.05rem 1.15rem;
}

.drink-card .badge {
  display: inline-block;
  margin-bottom: 0.4rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(31, 107, 115, 0.12);
  color: var(--lake-deep);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.drink-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.15;
}

.drink-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.browse-controls {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.search-wrap input {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem 1.15rem;
  font: inherit;
  font-size: 1.05rem;
  background: var(--foam);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.search-wrap input:focus {
  outline: 2px solid rgba(31, 107, 115, 0.35);
  border-color: var(--lake);
}

.chip-row,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip,
.filter {
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.7);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.chip:hover,
.filter:hover {
  border-color: var(--lake);
}

.chip.active,
.filter.active {
  background: var(--lake-deep);
  border-color: var(--lake-deep);
  color: var(--foam);
}

.results-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.drink-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

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

.persona {
  background: var(--foam);
  border-radius: var(--radius);
  padding: 1.35rem;
  border: 1px solid var(--line);
}

.persona h3 {
  font-size: 1.55rem;
}

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

.mini-list {
  display: grid;
  gap: 0.45rem;
}

.mini-list button {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: var(--paper-2);
  padding: 0.7rem 0.85rem;
  font: inherit;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease;
}

.mini-list button:hover {
  background: #d7e3df;
}

.mini-list strong {
  font-weight: 600;
}

.mini-list span {
  color: var(--timber);
  font-size: 0.8rem;
  white-space: nowrap;
}

.local {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 4vw, 2.5rem);
  align-items: center;
}

.local-media {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.75rem;
  min-height: 420px;
}

.local-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.local-media img:first-child {
  grid-row: 1 / 3;
  min-height: 420px;
  animation: floatSoft 7s ease-in-out infinite;
}

.local-media img:last-child {
  align-self: end;
  min-height: 240px;
  animation: floatSoft 8s ease-in-out infinite reverse;
}

.local-copy p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.local-note {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-style: italic;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 2.5rem) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.drink-modal {
  width: min(920px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  border: 0;
  border-radius: 24px;
  padding: 0;
  background: var(--foam);
  box-shadow: var(--shadow);
  overflow: auto;
}

.drink-modal::backdrop {
  background: rgba(12, 28, 26, 0.62);
  backdrop-filter: blur(4px);
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.92);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.modal-body img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.modal-copy {
  padding: 1.75rem;
}

.modal-copy h2 {
  margin: 0.35rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 2rem;
}

.modal-copy .notes {
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
}

.modal-copy h3 {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--timber);
}

.modal-copy ul {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
}

.modal-copy li {
  margin-bottom: 0.3rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tag-row span {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.empty {
  grid-column: 1 / -1;
  padding: 2rem;
  text-align: center;
  color: var(--ink-soft);
  background: rgba(255, 250, 242, 0.55);
  border-radius: var(--radius);
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 960px) {
  .persona-grid,
  .local,
  .modal-body {
    grid-template-columns: 1fr;
  }

  .local-media {
    grid-template-columns: 1fr 1fr;
    min-height: auto;
  }

  .local-media img:first-child {
    grid-row: auto;
    min-height: 240px;
  }

  .modal-body img {
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(243, 240, 232, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.9rem 1.25rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: 78vh;
  }

  .results-meta {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
