:root {
  --fog: #edf1f4;
  --mist: #d5dde4;
  --slate: #2a3640;
  --ink: #161d24;
  --peat: #5f7168;
  --amber: #c17a3a;
  --honey: #e0b57a;
  --glass: rgba(255, 255, 255, 0.42);
  --line: rgba(42, 54, 64, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 85% -10%, rgba(193, 122, 58, 0.18), transparent 55%),
    radial-gradient(90% 60% at -10% 20%, rgba(95, 113, 104, 0.16), transparent 50%),
    linear-gradient(180deg, #f7f9fb 0%, var(--fog) 40%, #e8eef2 100%);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.045;
  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;
  padding: 1.1rem clamp(1.25rem, 4vw, 3.5rem);
  backdrop-filter: blur(14px);
  background: rgba(18, 14, 12, 0.35);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
  color: #f3ebe0;
}

.site-header .logo,
.site-header .nav a {
  color: inherit;
}

.site-header .nav a {
  color: rgba(243, 235, 224, 0.82);
}

.site-header .nav a:hover {
  color: var(--honey);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(237, 241, 244, 0.9);
  color: var(--ink);
}

.site-header.is-scrolled .nav a {
  color: var(--slate);
}

.site-header.is-scrolled .nav a:hover {
  color: var(--amber);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--slate);
}

.nav a:hover {
  color: var(--amber);
}

/* —— Barrel landing (first scroll panel) —— */
.barrel-landing {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: clamp(5.5rem, 10vh, 7rem) clamp(1.25rem, 4vw, 3.5rem) clamp(2rem, 5vh, 3.5rem);
  overflow: hidden;
  color: #f3ebe0;
  background: #120e0c;
}

.barrel-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.barrel-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.04);
  animation: barrel-ken 18s ease-in-out infinite alternate;
}

.barrel-photo-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 9, 7, 0.82) 0%, rgba(12, 9, 7, 0.55) 38%, rgba(12, 9, 7, 0.18) 68%, rgba(12, 9, 7, 0.35) 100%),
    linear-gradient(180deg, rgba(12, 9, 7, 0.35) 0%, transparent 28%, transparent 55%, rgba(12, 9, 7, 0.72) 100%);
}

.barrel-landing-copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  animation: rise 1.1s var(--ease) both;
}

.barrel-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: #f7efe4;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.barrel-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(224, 181, 122, 0.9);
}

.barrel-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
}

.barrel-name {
  display: inline-block;
  color: rgba(247, 239, 228, 0.92);
  transition: filter 0.4s ease;
}

.barrel-name.is-blurred {
  filter: blur(9px);
  user-select: none;
  pointer-events: none;
}

.barrel-lede {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  font-size: 1.02rem;
  font-weight: 300;
  color: rgba(243, 235, 224, 0.78);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 2rem;
  max-width: 28rem;
}

.countdown-unit {
  display: grid;
  gap: 0.25rem;
  justify-items: center;
  padding: 0.75rem 0.35rem;
  border-top: 1px solid rgba(224, 181, 122, 0.4);
  border-bottom: 1px solid rgba(224, 181, 122, 0.18);
  background: rgba(8, 6, 5, 0.45);
  backdrop-filter: blur(8px);
}

.countdown-unit strong {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.5vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #f7efe4;
  font-variant-numeric: tabular-nums;
}

.countdown-unit span {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(224, 181, 122, 0.8);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(243, 235, 224, 0.82);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-cue:hover {
  color: var(--honey);
}

.scroll-cue i {
  width: 1px;
  height: 2.2rem;
  background: linear-gradient(180deg, rgba(224, 181, 122, 0.9), transparent);
  position: relative;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--honey);
  transform: translateX(-50%);
  animation: cue-drop 1.8s var(--ease) infinite;
}

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

@keyframes cue-drop {
  0% { top: 0; opacity: 1; }
  80% { top: 85%; opacity: 0; }
  100% { top: 85%; opacity: 0; }
}

.scroll-intro {
  scroll-margin-top: 0;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: clamp(5.5rem, 10vh, 7rem) clamp(1.25rem, 4vw, 3.5rem) clamp(2.5rem, 6vh, 4.5rem);
  overflow: hidden;
  color: #f3ebe0;
  background: #0a0807;
}

.pour-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.pour-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 42%;
  transform: scale(1.05);
  animation: pour-ken 20s ease-in-out infinite alternate;
}

.pour-photo-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 6, 5, 0.9) 0%, rgba(8, 6, 5, 0.72) 36%, rgba(8, 6, 5, 0.22) 62%, rgba(8, 6, 5, 0.45) 100%),
    linear-gradient(180deg, rgba(8, 6, 5, 0.42) 0%, transparent 30%, transparent 52%, rgba(8, 6, 5, 0.78) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  animation: rise 1s var(--ease) both;
}

.brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 11vw, 7.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: #f7efe4;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 400;
  line-height: 1.2;
  color: rgba(247, 239, 228, 0.92);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.45);
}

.lede {
  margin: 0 0 2rem;
  max-width: 28rem;
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(243, 235, 224, 0.78);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.pour-hero .btn-primary {
  background: #f3ebe0;
  color: #161d24;
}

.pour-hero .btn-primary:hover {
  background: var(--honey);
  color: #161d24;
}

.pour-hero .btn-ghost {
  border-color: rgba(243, 235, 224, 0.35);
  color: rgba(243, 235, 224, 0.92);
  background: rgba(8, 6, 5, 0.28);
  backdrop-filter: blur(6px);
}

.pour-hero .btn-ghost:hover {
  border-color: var(--honey);
  color: var(--honey);
}

@keyframes pour-ken {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.2%, 1.4%, 0); }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

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

.btn-primary {
  background: var(--ink);
  color: var(--fog);
}

.btn-primary:hover {
  background: var(--amber);
  color: var(--ink);
}

.btn-ghost {
  border-color: rgba(42, 54, 64, 0.28);
  background: transparent;
  color: var(--slate);
}

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

.section-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--peat);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.recommend-page {
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3.5rem) clamp(4rem, 8vw, 6rem);
}

.recommend-hero {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.recommend-hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.recommend-form-wrap {
  margin-bottom: 3rem;
}

.recommend-form {
  display: grid;
  gap: 1.25rem;
  max-width: 52rem;
}

.fav-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.fav-field {
  display: grid;
  gap: 0.4rem;
}

.fav-field span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--peat);
}

.fav-field input {
  width: 100%;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(42, 54, 64, 0.2);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  font: inherit;
}

.fav-field input:focus {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.recommend-status {
  margin: 0;
  font-size: 0.9rem;
  color: var(--peat);
}

.matched-row,
.rec-list {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

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

.matched-card,
.rec-card {
  padding: 1.1rem 1rem 1.2rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.4);
}

.matched-query,
.matched-meta,
.rec-why {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  color: var(--peat);
}

.matched-card h3,
.rec-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.rec-top {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 0.75rem;
  align-items: start;
  margin-bottom: 0.65rem;
}

.rec-top .rank {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--peat);
}

.rec-top .score {
  color: var(--amber);
  font-weight: 600;
}

.rec-notes {
  margin: 0 0 0.55rem;
  color: rgba(22, 29, 36, 0.8);
}

@media (max-width: 900px) {
  .fav-fields,
  .matched-row {
    grid-template-columns: 1fr;
  }
}

.pour-report {
  padding: clamp(3.5rem, 9vw, 7rem) clamp(1.25rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
}

.pour-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

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

.tier-card {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.tier-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tier-card .tier-blurb {
  margin: 0.25rem 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--peat);
}

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

.tier-bottle {
  width: 100%;
  display: grid;
  grid-template-columns: 1.6rem 1fr auto;
  gap: 0.55rem;
  align-items: baseline;
  padding: 0.7rem 0.55rem;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}

.tier-bottle:hover,
.tier-bottle:focus-visible {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(193, 122, 58, 0.35);
}

.tier-bottle.is-active {
  background: rgba(193, 122, 58, 0.12);
  border-color: rgba(193, 122, 58, 0.55);
}

.tier-bottle .rank {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--peat);
}

.tier-bottle .bottle-name {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.25;
}

.tier-bottle .score {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber);
}

.flavor-panel {
  position: sticky;
  top: 5rem;
  padding: 1.35rem 1.25rem 1.5rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.7), rgba(237, 241, 244, 0.92)),
    radial-gradient(circle at 90% 0%, rgba(193, 122, 58, 0.12), transparent 45%);
}

.flavor-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--peat);
}

.flavor-score {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.flavor-score-value {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}

.flavor-score-label {
  font-size: 0.8rem;
  color: var(--peat);
}

.flavor-photo {
  margin: 0 0 1rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(42, 54, 64, 0.08);
}

.flavor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.45s var(--ease);
}

.flavor-photo img.is-loaded {
  opacity: 1;
}

.flavor-tier {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--peat);
}

.flavor-panel h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.flavor-note {
  margin: 0 0 1.15rem;
  color: rgba(22, 29, 36, 0.78);
  font-size: 0.95rem;
}

.flavor-bars {
  margin-bottom: 1.25rem;
}

.flavor-bars li {
  cursor: default;
}

.flavor-bars li span::after {
  content: none;
}

.flavor-bars li[data-tip] span {
  position: relative;
}

.flavor-bars .bar-value {
  justify-self: end;
  font-size: 0.72rem;
  color: var(--peat);
  min-width: 2rem;
  text-align: right;
}

.flavor-bars li {
  grid-template-columns: 5.5rem 1fr 2rem;
}

.flavor-radar-wrap {
  display: flex;
  justify-content: center;
}

.flavor-radar {
  width: min(100%, 220px);
  height: auto;
}

.flavor-radar polygon.axis {
  fill: none;
  stroke: rgba(42, 54, 64, 0.12);
  stroke-width: 1;
}

.flavor-radar polygon.plot {
  fill: rgba(193, 122, 58, 0.22);
  stroke: var(--amber);
  stroke-width: 2;
  transition: all 0.45s var(--ease);
}

.flavor-radar text {
  fill: var(--peat);
  font-size: 9px;
  font-family: var(--font-body);
}

@media (max-width: 1100px) {
  .pour-grid {
    grid-template-columns: 1fr;
  }

  .flavor-panel {
    position: static;
  }

  .tier-columns {
    grid-template-columns: 1fr;
  }
}

.featured,
.drams,
.thoughts,
.about {
  padding: clamp(3.5rem, 9vw, 7rem) clamp(1.25rem, 4vw, 3.5rem);
}

.featured {
  border-top: 1px solid var(--line);
}

.featured-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) 1.2fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
}

.featured-photo {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(42, 54, 64, 0.08);
}

.featured-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dram-photo {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(42, 54, 64, 0.08);
  text-decoration: none;
}

.dram-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease);
}

.dram-photo:hover img {
  transform: scale(1.04);
}

.dram-item {
  display: grid;
  grid-template-columns: minmax(96px, 140px) minmax(0, 1.4fr) minmax(180px, 0.9fr);
  gap: 1.5rem 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.7s var(--ease) forwards;
}

.region {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--peat);
}

.featured h2,
.drams h2,
.thoughts h2,
.about h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.verdict {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--slate);
}

.note {
  margin: 0 0 1.75rem;
  max-width: 38rem;
  color: rgba(22, 29, 36, 0.82);
}

.meta {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.meta span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--peat);
}

.profile {
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--line);
}

.profile h3 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.taste-bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.95rem;
}

.taste-bars li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.85rem;
  align-items: center;
}

.taste-bars span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate);
}

.taste-bars i {
  position: relative;
  display: block;
  height: 0.55rem;
  overflow: hidden;
  background: rgba(42, 54, 64, 0.08);
}

.taste-bars i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, var(--honey), var(--amber));
  transition: width 1.1s var(--ease);
}

.taste-bars.is-inview i::after {
  width: calc(var(--level) * 1%);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-intro {
  margin: 0;
  color: rgba(22, 29, 36, 0.75);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter {
  appearance: none;
  border: 1px solid rgba(42, 54, 64, 0.2);
  background: transparent;
  color: var(--slate);
  padding: 0.55rem 0.95rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--fog);
}

.dram-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

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

.dram-item .name {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.dram-item .tags {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--peat);
}

.dram-item .blurb {
  margin: 0 0 0.75rem;
  color: rgba(22, 29, 36, 0.8);
}

.dram-item .rec {
  margin: 0;
  font-size: 0.9rem;
  color: var(--slate);
}

.dram-item .rec strong {
  font-weight: 600;
  color: var(--ink);
}

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

.mini-profile li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.72rem;
  color: var(--slate);
}

.mini-profile i {
  position: relative;
  display: block;
  height: 0.35rem;
  overflow: hidden;
  background: rgba(42, 54, 64, 0.08);
}

.mini-profile i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--level) * 1%);
  background: linear-gradient(90deg, var(--honey), var(--amber));
}

.ig-status {
  margin: 0 0 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--peat);
}

.ig-headers {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.ig-post {
  display: grid;
  grid-template-columns: minmax(96px, 140px) 1fr;
  gap: 1.25rem 1.75rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.25s ease, transform 0.25s var(--ease);
}

.ig-post:hover {
  color: inherit;
  background: rgba(255, 255, 255, 0.35);
}

.ig-post figure {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(42, 54, 64, 0.08);
}

.ig-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.ig-post:hover img {
  transform: scale(1.04);
}

.ig-post .index {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--peat);
}

.ig-post h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.ig-post .excerpt {
  margin: 0;
  max-width: 40rem;
  font-size: 0.95rem;
  color: rgba(22, 29, 36, 0.72);
}

.ig-post.is-fresh {
  animation: rise 0.65s var(--ease) both;
}

.instagram {
  padding: clamp(3.5rem, 9vw, 7rem) clamp(1.25rem, 4vw, 3.5rem);
}

.instagram-panel {
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.25rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.instagram h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.instagram-handle {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--amber);
}

.instagram-copy {
  margin: 0 auto 1.75rem;
  max-width: 30rem;
  color: rgba(22, 29, 36, 0.78);
}

.instagram-copy code {
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  background: rgba(42, 54, 64, 0.08);
}

.about-social {
  margin: 1.5rem 0 0;
}

.about-social a {
  font-weight: 500;
  text-decoration: none;
  color: var(--amber);
}

.about-social a:hover {
  text-decoration: underline;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

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

.about {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

.brand-mark {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.about p {
  margin: 0 auto;
  max-width: 34rem;
  color: rgba(22, 29, 36, 0.78);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1.25rem, 4vw, 3.5rem) 2.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--peat);
}

.site-footer p {
  margin: 0;
}

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

@media (max-width: 980px) {
  .featured-layout,
  .dram-item {
    grid-template-columns: 1fr;
  }

  .dram-item {
    gap: 1rem;
  }

  .ig-post {
    grid-template-columns: 88px 1fr;
  }
}

@media (max-width: 720px) {
  .nav {
    gap: 1rem;
  }

  .nav a {
    font-size: 0.72rem;
  }

  .taste-bars li {
    grid-template-columns: 5.5rem 1fr;
  }

  .barrel-landing {
    align-items: end;
  }

  .barrel-photo {
    object-position: 70% center;
    animation: none;
    transform: scale(1.08);
  }

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

  .hero {
    min-height: 100dvh;
    align-items: end;
  }

  .pour-photo {
    object-position: 68% 40%;
    animation: none;
    transform: scale(1.08);
  }

  .pour-photo-veil {
    background:
      linear-gradient(180deg, rgba(8, 6, 5, 0.55) 0%, rgba(8, 6, 5, 0.28) 38%, rgba(8, 6, 5, 0.82) 100%),
      linear-gradient(90deg, rgba(8, 6, 5, 0.72) 0%, rgba(8, 6, 5, 0.35) 55%, rgba(8, 6, 5, 0.5) 100%);
  }
}

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

  .hero-copy,
  .dram-item,
  .barrel-photo,
  .pour-photo,
  .scroll-cue i::after,
  .barrel-landing-copy {
    animation: none !important;
  }

  .taste-bars i::after {
    transition: none;
    width: calc(var(--level) * 1%);
  }
}

/* ═══════════ Message in a Bottle ═══════════
   High-contrast palette: light text on dark ink. No gray-on-gray. */
[hidden] { display: none !important; }

.bottle-fab {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 900;
  display: grid;
  place-items: center;
  padding: 8px 9px 6px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  animation: bottle-bob 5s ease-in-out infinite;
}
.bottle-fab:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5), 0 0 18px rgba(201, 162, 39, 0.3);
  transform: translateY(-2px);
}
.bottle-fab:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@keyframes bottle-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.bottle-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}
.bottle-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 5, 0.78);
  backdrop-filter: blur(3px);
}
.bottle-modal-card {
  position: relative;
  width: min(540px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 36px 34px 30px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  animation: bottle-card-in 0.28s ease-out;
  font-family: Sora, sans-serif;
  color: #f6f1e6;
}
@keyframes bottle-card-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.bottle-modal-rule {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 18px;
}
.bottle-modal-x {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: 0;
  color: #e9e0cd;
  font-size: 17px;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
}
.bottle-modal-x:hover { color: #ffffff; }
.bottle-modal-title {
  font-family: Fraunces, Georgia, serif;
  font-weight: 400;
  text-align: center;
  color: var(--gold);
  font-size: 23px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.bottle-modal-lede {
  text-align: center;
  color: #f6f1e6;
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 24px;
}

.bottle-lanes { border: 0; padding: 0; margin: 0 0 18px; }
.bottle-lanes legend {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.bottle-lane {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  margin-top: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.bottle-lane:hover { border-color: var(--gold-soft); }
.bottle-lane input { position: absolute; opacity: 0; pointer-events: none; }
.bottle-lane:has(input:checked) {
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.1);
  box-shadow: inset 0 0 0 1px var(--gold);
}
.bottle-lane-icon {
  color: #d8cba8;
  display: grid;
  place-items: center;
  flex: none;
  transition: color 0.2s;
}
.bottle-lane:has(input:checked) .bottle-lane-icon { color: var(--gold); }
.bottle-lane-text { flex: 1; }
.bottle-lane-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.03em;
}
.bottle-lane:has(input:checked) .bottle-lane-name { color: var(--gold-soft); }
.bottle-lane-desc {
  display: block;
  font-size: 12.5px;
  color: #e2d8c2;
  margin-top: 2px;
}

/* ── Voice recorder ── */
.bottle-recorder {
  border: 1px solid var(--line);
  background: var(--ink);
  padding: 14px 16px 16px;
  margin-bottom: 16px;
}
.bottle-recorder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.bottle-recorder-title {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.bottle-recorder-timer {
  font-family: Sora, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #ffffff;
}
.bottle-recorder-body {
  display: flex;
  align-items: center;
  gap: 16px;
}
.bottle-rec-btn {
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--gold);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  position: relative;
}
.bottle-rec-btn:hover { background: rgba(201, 162, 39, 0.14); }
.bottle-rec-btn.is-recording {
  background: var(--gold);
  color: var(--ink);
  animation: rec-pulse 1.4s ease-in-out infinite;
}
@keyframes rec-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.45); }
  50% { box-shadow: 0 0 0 14px rgba(201, 162, 39, 0); }
}
.bottle-rec-status {
  font-size: 13.5px;
  color: #f6f1e6;
  line-height: 1.5;
}
.bottle-rec-status.is-recording { color: #ffffff; font-weight: 500; }
.bottle-rec-preview { margin-top: 14px; }
.bottle-rec-preview audio {
  width: 100%;
  height: 38px;
}
.bottle-rec-actions {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}
.bottle-rec-link {
  background: none;
  border: 0;
  padding: 0;
  font-family: Sora, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bottle-rec-link:hover { color: var(--gold-soft); }
.bottle-rec-link-danger { color: #e0655a; }
.bottle-rec-link-danger:hover { color: #f08880; }

#bottle-message {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line);
  color: #ffffff;
  padding: 13px 14px;
  font-family: Sora, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  resize: vertical;
  min-height: 96px;
}
#bottle-message:focus { outline: none; border-color: var(--gold); }
#bottle-message::placeholder { color: #cfc2ab; }
.bottle-hp { display: none; }

.bottle-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
}
.bottle-count {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #e2d8c2;
}
.bottle-submit {
  background: #e9c68f; /* bright tan */
  color: #14100a;
  border: 0;
  padding: 12px 22px;
  font-family: Sora, sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.bottle-submit:hover { background: #f4d9a8; }
.bottle-submit:disabled { opacity: 0.5; cursor: default; }

.bottle-error {
  color: #ff8f86;
  font-size: 13.5px;
  text-align: center;
  margin: 12px 0 0;
}

.bottle-success { text-align: center; padding: 8px 0 2px; }
.bottle-success-art { margin-bottom: 14px; }
.bottle-success h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 400;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 19px;
  margin: 0 0 8px;
}
.bottle-success p {
  color: #f6f1e6;
  font-size: 14px;
  margin: 0 0 20px;
}

@media (max-width: 620px) {
  .bottle-modal-card { padding: 30px 18px 24px; }
  .bottle-fab { left: 12px; bottom: 12px; padding: 7px 8px 5px; border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .bottle-fab { animation: none; }
  .bottle-modal-card { animation: none; }
  .bottle-rec-btn.is-recording { animation: none; }
}

.footer-download { margin-top: 6px; font-size: 13px; }
.footer-download a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.footer-download a:hover { color: var(--gold); }
