/* Acorn Beverage
   Layout: a walk through the store. Storefront (navy hero), aisles, the cave,
   the register, then the parking lot. Shelf-tag yellow is the one loud color.
   Palette pulled from the building itself: navy siding, fieldstone, acorn copper, paper-bag kraft. */
:root {
  --navy: #15233a;
  --navy-deep: #0d1726;
  --siding: #223552;
  --stone: #ece8e1;
  --paper: #f8f6f2;
  --kraft: #c8a57a;
  --kraft-light: #e6d6bd;
  --copper: #a85a26;
  --copper-hi: #c8743a;
  --oak: #4a2e1c;
  --ink: #18202b;
  --muted: #586271;
  --on-dark: #eef0f3;
  --on-dark-muted: #a9b3c2;
  --tag: #f4d03f;
  --tag-ink: #1b1b14;
  --rule: rgba(21, 35, 58, .14);
  --rule-dark: rgba(255, 255, 255, .14);
  --good: #3fae6a;
  --bad: #d4553b;

  --f-display: "Zilla Slab", "Rockwell", "Roboto Slab", Georgia, serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --step--1: .875rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.8rem, 1.3rem + 2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.4rem + 4vw, 4.4rem);

  --radius: 6px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--navy);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0; }
svg { width: 1.15em; height: 1.15em; flex: none; }
:focus-visible { outline: 3px solid var(--tag); outline-offset: 3px; border-radius: 3px; }
[hidden] { display: none !important; }

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
@media (min-width: 720px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

.skip { position: absolute; left: -999px; top: 8px; background: var(--tag); color: var(--tag-ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 16px; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 500;
}
.eyebrow--light { color: var(--kraft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 1rem/1 var(--f-body);
  padding: .95em 1.4em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn--sm { font-size: .9rem; padding: .7em 1.05em; }
.btn--block { width: 100%; }
.btn--copper { background: var(--copper); color: #fff; }
.btn--copper:hover { background: var(--copper-hi); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: var(--on-dark); }
.btn--ghost:hover { border-color: var(--on-dark); }
.btn--ghost-dark { border-color: var(--rule); color: var(--ink); background: transparent; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }

/* ---------- Ticker (shelf-tag strip) ---------- */
.ticker {
  background: var(--tag);
  color: var(--tag-ink);
  font-family: var(--f-mono);
  font-size: .8rem;
  overflow: hidden;
  border-bottom: 2px solid var(--tag-ink);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
.ticker__track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; }
.ticker__group span { padding: .55em 1.6em; white-space: nowrap; border-right: 1px dashed rgba(27,27,20,.4); }
.ticker__group b { font-weight: 500; text-transform: uppercase; letter-spacing: .06em; margin-right: .5em; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--navy);
  color: var(--on-dark);
  border-bottom: 1px solid var(--rule-dark);
}
.header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; color: var(--kraft-light); }
.logo__word { font-family: var(--f-display); font-weight: 700; font-size: 2rem; display: inline-flex; align-items: flex-end; letter-spacing: -.02em; }
.logo__acorn { width: .86em; height: .86em; margin: 0 .01em .03em; --cap: #6b3f1f; --nut: var(--copper-hi); color: var(--kraft); }
.logo__sub { font-family: var(--f-body); font-weight: 700; font-size: .68rem; letter-spacing: .42em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 3px; padding-left: 2px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  text-decoration: none; font-weight: 500; font-size: .95rem;
  padding: .5em .8em; border-radius: var(--radius); color: var(--on-dark-muted);
  transition: color .15s, background-color .15s;
}
.nav a:hover, .nav a.is-active { color: var(--on-dark); background: rgba(255,255,255,.07); }
.header__right { display: flex; align-items: center; gap: 14px; }
.status {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--f-mono); font-size: .76rem; color: var(--on-dark-muted); white-space: nowrap;
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--on-dark-muted); }
.status.is-open .status__dot { background: var(--good); box-shadow: 0 0 0 4px rgba(63,174,106,.2); }
.status.is-closed .status__dot { background: var(--bad); }
.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--on-dark); margin: 5px 0; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .status { display: none; }
}
@media (max-width: 960px) {
  .burger { display: block; }
  .header__call { display: none; }
  .header__right { margin-left: auto; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    background: var(--navy);
    padding: 8px var(--gutter-r) 20px var(--gutter-l);
    border-bottom: 1px solid var(--rule-dark);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .9em .4em; font-size: 1.1rem; border-bottom: 1px solid var(--rule-dark); border-radius: 0; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(200,116,58,.16), transparent 60%),
    var(--navy);
  color: var(--on-dark);
  padding-block: 56px 0;
  position: relative;
  overflow: hidden;
}
.hero::after {
  /* a band of fieldstone color at the base, like the building */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 92px;
  background: var(--paper);
}
.hero__inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero__copy { min-width: 0; display: grid; gap: 22px; padding-bottom: 40px; }
.hero h1 { font-size: var(--step-4); color: #fff; }
.hero h1 span { color: var(--kraft); display: block; }
.hero__lede { font-size: 1.12rem; color: var(--on-dark-muted); max-width: 52ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.today {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  border-top: 1px solid var(--rule-dark); padding-top: 18px; margin-top: 4px;
}
.today__label {
  font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em;
  background: var(--tag); color: var(--tag-ink); padding: .35em .7em; border-radius: 3px;
}
.today__msg { color: var(--on-dark); font-weight: 500; min-width: 0; flex: 1 1 260px; }

.hero__photo { margin: 0; position: relative; align-self: end; }
.hero__photo img {
  /* tall frame on desktop; tablet and phone get wider frames below */
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 60%;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
}
.tag {
  font-family: var(--f-mono);
  background: var(--tag); color: var(--tag-ink);
  display: grid; text-align: center;
  border-radius: 4px;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.45);
}
.tag--hero {
  position: absolute; left: -26px; bottom: 120px;
  padding: 12px 18px 10px; transform: rotate(-4deg);
  border: 2px solid var(--tag-ink);
}
.tag__top, .tag__foot { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.tag__price { font-family: var(--f-display); font-size: 2.3rem; font-weight: 700; line-height: 1; margin: 4px 0; }
.tag__price small { font-size: .45em; margin-left: 2px; }

.facts {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  box-shadow: 0 18px 40px -24px rgba(13,23,38,.4);
  padding-block: 0;
  padding-left: 0; padding-right: 0;
  max-width: calc(1240px - 64px);
  width: calc(100% - 32px);
}
.fact { padding: 22px 24px; display: grid; gap: 2px; border-left: 1px solid var(--rule); color: var(--ink); }
.fact:first-child { border-left: 0; }
.fact strong { font-family: var(--f-display); font-size: 2.2rem; line-height: 1; color: var(--copper); font-variant-numeric: tabular-nums; }
.fact span { font-size: .92rem; color: var(--muted); }

@media (max-width: 960px) {
  .hero { padding-top: 36px; }
  .hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .hero__photo img { aspect-ratio: 3 / 2; }
  .hero__copy { padding-bottom: 0; }
  .tag--hero { left: auto; right: 14px; bottom: auto; top: -18px; }
  .hero::after { height: 70px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 420px) {
  .fact { padding: 16px; }
  .fact strong { font-size: 1.8rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section__head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 760px; }
.section__head--row { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; }
.section__head--row .section__lede { max-width: 42ch; }
.section__lede { color: var(--muted); font-size: 1.08rem; max-width: 60ch; }
@media (max-width: 760px) {
  .section__head--row { grid-template-columns: 1fr; }
}

/* shelf label chip */
.shelf {
  display: inline-block;
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  background: var(--tag); color: var(--tag-ink);
  padding: .3em .6em; border-radius: 2px;
}

/* ---------- Aisles ---------- */
.aisles { padding-top: clamp(56px, 7vw, 96px); }
.aisle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.aisle {
  position: relative; overflow: hidden; border-radius: 8px;
  min-height: 340px;
  display: flex; align-items: flex-end;
  color: #fff; text-decoration: none;
  background: var(--navy);
  isolation: isolate;
}
.aisle img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform .5s ease;
}
.aisle::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13,23,38,0) 25%, rgba(13,23,38,.88) 78%);
}
a.aisle:hover img { transform: scale(1.04); }
.aisle__body { padding: 24px; display: grid; gap: 8px; justify-items: start; min-width: 0; }
.aisle h3 { font-size: 1.75rem; }
.aisle p { color: rgba(255,255,255,.82); font-size: .96rem; max-width: 46ch; }
.aisle__deal { font-family: var(--f-mono); font-size: .78rem; color: var(--tag); text-transform: uppercase; letter-spacing: .08em; }
.aisle--wide { grid-column: span 2; grid-row: span 1; }
.aisle--kraft {
  background: var(--kraft-light);
  color: var(--ink);
  align-items: stretch;
  background-image: repeating-linear-gradient(90deg, rgba(74,46,28,.04) 0 2px, transparent 2px 7px);
}
.aisle--kraft::before { display: none; }
.aisle--kraft .aisle__body { align-content: start; width: 100%; }
.aisle--kraft .aisle__body > div { display: grid; gap: 8px; justify-items: start; }
.checklist { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.checklist li { padding-left: 1.4em; position: relative; font-weight: 500; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .55em; width: .6em; height: .6em; border-radius: 50%; background: var(--copper); }
@media (max-width: 960px) {
  .aisle-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .aisle-grid { grid-template-columns: 1fr; }
  .hero__lede { font-size: 1.02rem; }
  .hero__ctas .btn { flex: 1 1 auto; padding-inline: 1em; }
  .aisle--wide { grid-column: auto; }
  .aisle { min-height: 280px; }
}

/* ---------- Beer cave ---------- */
.cave {
  background: var(--navy-deep);
  color: var(--on-dark);
  padding-block: clamp(64px, 8vw, 112px);
  position: relative;
  overflow: hidden;
}
.cave::before {
  /* frost along the top edge */
  content: ""; position: absolute; inset: 0 0 auto; height: 6px;
  background: repeating-linear-gradient(90deg, #cfe3f2 0 14px, #9ec1db 14px 16px);
  opacity: .6;
}
.cave__inner { display: grid; grid-template-columns: .85fr 1fr; gap: 64px; align-items: center; }
.cave__photo { position: relative; }
.cave__photo img { border-radius: 8px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.cave__temp {
  position: absolute; right: -14px; top: 28px;
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--f-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em;
  background: #d9ebf7; color: var(--navy); padding: .6em .9em; border-radius: 4px;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.6);
}
.cave__copy { display: grid; gap: 20px; min-width: 0; }
.cave__copy h2 { color: #fff; font-size: var(--step-3); }
.cave__copy > p { color: var(--on-dark-muted); font-size: 1.08rem; max-width: 56ch; }
.cave__list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule-dark); border: 1px solid var(--rule-dark); border-radius: 8px; overflow: hidden; }
.cave__list li { background: var(--navy-deep); padding: 18px 20px; display: grid; gap: 4px; }
.cave__list strong { font-family: var(--f-display); font-size: 1.25rem; color: var(--kraft-light); }
.cave__list span { color: var(--on-dark-muted); font-size: .92rem; }
.cave__list a { color: var(--tag); }
@media (max-width: 860px) {
  .cave__inner { grid-template-columns: 1fr; gap: 36px; }
  .cave__photo img { aspect-ratio: 4 / 3; }
  .cave__temp { right: 12px; }
}
@media (max-width: 480px) {
  .cave__list { grid-template-columns: 1fr; }
}

/* ---------- Deals ---------- */
.deal-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 18px; }
.deal {
  position: relative;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 22px 22px 24px;
  display: grid; gap: 8px; align-content: start;
}
.deal::before {
  /* the hole punched in a hang tag */
  content: ""; position: absolute; top: 14px; right: 14px; width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--paper);
}
.deal__when { font-family: var(--f-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.deal__big { font-family: var(--f-display); font-weight: 700; font-size: 4rem; line-height: .9; color: var(--copper); letter-spacing: -.03em; }
.deal__big small { font-size: .38em; letter-spacing: 0; margin-left: 4px; }
.deal__big--word { font-size: 3.2rem; }
.deal h3 { font-size: 1.35rem; }
.deal p:last-child { color: var(--muted); font-size: .95rem; }
.deal--yellow { background: var(--tag); }
.deal--yellow .deal__big, .deal--yellow .deal__when, .deal--yellow p:last-child { color: var(--tag-ink); }
.deal--gift { background: var(--navy); color: var(--on-dark); border-color: var(--navy); }
.deal--gift::before { border-color: var(--kraft); background: var(--navy); }
.deal--gift .deal__big { color: var(--kraft); }
.deal--gift .deal__when, .deal--gift p:last-child { color: var(--on-dark-muted); }
.deal.is-today { box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--copper); }
.deal.is-today::after {
  content: "Today"; position: absolute; top: -12px; left: 18px;
  background: var(--copper); color: #fff; font: 500 .7rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em;
  padding: .45em .6em; border-radius: 3px;
}
/* Build-your-own 6-pack: a wide card built like the store's own shelf strip */
.deal--sixpack {
  grid-column: span 2;
  background: var(--navy); color: var(--on-dark); border-color: var(--navy);
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 36px);
}
.deal--sixpack::before { border-color: var(--kraft); background: var(--navy); }
.deal__body { display: grid; gap: 10px; align-content: center; min-width: 0; }
.deal--sixpack .deal__when { color: var(--kraft); }
.deal--sixpack h3 { font-size: 2rem; color: #fff; }
.deal--sixpack .deal__body > p { color: var(--on-dark-muted); font-size: .98rem; max-width: 58ch; }
.shelfstrip {
  display: flex; flex-wrap: wrap; margin-top: 8px;
  background: var(--tag); color: var(--tag-ink);
  border-radius: 3px;
  font-family: var(--f-mono); font-size: .9rem;
  box-shadow: 0 8px 18px -10px rgba(0,0,0,.6);
}
.shelfstrip span { flex: 1 1 200px; padding: .6em 1em; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.shelfstrip span + span { border-left: 1px dashed rgba(27,27,20,.45); }
.shelfstrip b { font-family: var(--f-display); font-size: 2rem; font-weight: 700; line-height: 1; }
@media (max-width: 1000px) { .deal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .deal-grid { grid-template-columns: 1fr; }
  .deal--sixpack { grid-column: auto; }
  .shelfstrip span + span { border-left: 0; border-top: 1px dashed rgba(27,27,20,.45); }
}

/* ---------- Shelf notes ---------- */
.notes { padding-top: 0; }
.notes__rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.note { margin: 0; display: grid; gap: 12px; align-content: start; }
.note img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.note figcaption { display: grid; gap: 2px; color: var(--muted); font-size: .93rem; }
.note strong { color: var(--ink); font-family: var(--f-display); font-size: 1.2rem; }
.note__tag { font-family: var(--f-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--copper); }
@media (max-width: 960px) {
  .notes__rail {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(230px, 62%);
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px;
  }
  .note { scroll-snap-align: start; }
}

/* ---------- Party planner ---------- */
.planner { background: var(--kraft-light); background-image: repeating-linear-gradient(90deg, rgba(74,46,28,.035) 0 2px, transparent 2px 8px); }
.planner__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.planner__form { display: grid; gap: 26px; background: var(--paper); border-radius: 8px; padding: 28px; border: 1px solid rgba(74,46,28,.18); }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .95rem; display: flex; justify-content: space-between; align-items: baseline; padding: 0; }
.field output { font-family: var(--f-display); font-size: 1.6rem; color: var(--copper); font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; accent-color: var(--copper); height: 28px; }
.seg { display: flex; flex-wrap: wrap; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; background: #fff; margin-top: 8px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { flex: 1 1 auto; text-align: center; padding: .75em .8em; cursor: pointer; font-weight: 500; font-size: .92rem; border-left: 1px solid var(--rule); display: block; }
.seg label:first-of-type { border-left: 0; }
.seg input:checked + label { background: var(--navy); color: #fff; }
.seg input:focus-visible + label { outline: 3px solid var(--tag); outline-offset: -3px; }
.check { display: flex; gap: .7em; align-items: center; font-weight: 500; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--copper); }
.planner__fine { font-size: .85rem; color: var(--muted); }

.planner__out { display: grid; gap: 16px; min-width: 0; }
.receipt {
  background: #fff;
  font-family: var(--f-mono);
  font-size: .9rem;
  padding: 26px 24px 30px;
  box-shadow: 0 20px 40px -24px rgba(74,46,28,.6);
  position: relative;
  /* torn bottom edge */
  -webkit-mask: conic-gradient(from -45deg at bottom, transparent, #000 1deg 89deg, transparent 90deg) bottom / 16px 51% repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat;
  mask: conic-gradient(from -45deg at bottom, transparent, #000 1deg 89deg, transparent 90deg) bottom / 16px 51% repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat;
}
.receipt__head { display: grid; justify-items: center; gap: 2px; text-align: center; border-bottom: 1px dashed var(--rule); padding-bottom: 14px; margin-bottom: 8px; }
.receipt__head strong { font-family: var(--f-display); font-size: 1.4rem; }
.receipt__head span { color: var(--muted); font-size: .8rem; }
.receipt__lines { list-style: none; margin: 0; padding: 0; }
.receipt__lines li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: baseline; padding: 10px 0; border-bottom: 1px dotted var(--rule); font-variant-numeric: tabular-nums; }
.receipt__lines li b { font-size: 1.15rem; font-weight: 500; min-width: 2.2ch; text-align: right; color: var(--copper); }
.receipt__lines li small { color: var(--muted); font-size: .75rem; text-align: right; }
.receipt__keg { margin-top: 14px; font-size: .82rem; color: var(--ink); background: var(--stone); padding: 10px 12px; border-radius: 4px; font-family: var(--f-body); }
.receipt__keg:empty { display: none; }
.receipt__foot { margin-top: 16px; text-align: center; color: var(--muted); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.planner__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .planner__grid { grid-template-columns: 1fr; gap: 28px; }
  .planner__form { padding: 22px 18px; }
  .receipt__lines li { grid-template-columns: auto 1fr; }
  .receipt__lines li small { grid-column: 2; text-align: left; }
}

/* ---------- Orders ---------- */
.orders { background: var(--navy); color: var(--on-dark); }
.orders__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.orders__copy { display: grid; gap: 18px; min-width: 0; }
.orders__copy h2 { color: #fff; }
.orders__copy > p { color: var(--on-dark-muted); font-size: 1.06rem; max-width: 52ch; }
.orders__copy a { color: var(--tag); }
.kegs { margin: 8px 0; display: grid; gap: 1px; background: var(--rule-dark); border-radius: 8px; overflow: hidden; border: 1px solid var(--rule-dark); }
.kegs div { background: var(--navy); display: grid; grid-template-columns: 7rem 1fr; gap: 12px; padding: 14px 18px; align-items: baseline; }
.kegs dt { font-family: var(--f-display); font-size: 1.4rem; font-weight: 700; color: var(--kraft-light); }
.kegs dd { margin: 0; color: var(--on-dark-muted); font-family: var(--f-mono); font-size: .85rem; }
.orders__fine { font-size: .9rem !important; }
.orders__panel { background: var(--paper); color: var(--ink); border-radius: 10px; padding: 8px 28px 28px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); min-width: 0; }
.tabs { display: flex; border-bottom: 1px solid var(--rule); margin-bottom: 22px; }
.tabs__btn {
  flex: 1; background: none; border: 0; padding: 18px 8px 14px; cursor: pointer;
  font: 600 1rem var(--f-body); color: var(--muted);
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.tabs__btn[aria-selected="true"] { color: var(--ink); border-color: var(--copper); }
.order-form { display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.order-form input, .order-form select, .order-form textarea {
  width: 100%; font: 400 1rem var(--f-body); color: var(--ink);
  padding: .75em .85em; border: 1px solid #c9c4ba; border-radius: var(--radius); background: #fff;
}
.order-form input:focus, .order-form select:focus, .order-form textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(168,90,38,.18); }
.order-form .is-invalid { border-color: var(--bad); }
.form-status { font-size: .92rem; min-height: 1.4em; }
.form-status.is-ok { color: #1f7a45; font-weight: 600; }
.form-status.is-err { color: var(--bad); font-weight: 600; }
@media (max-width: 860px) {
  .orders__inner { grid-template-columns: 1fr; gap: 36px; }
  .orders__panel { padding: 4px 18px 22px; }
}
@media (max-width: 480px) { .row2 { grid-template-columns: 1fr; } }

/* ---------- Visit ---------- */
.visit__grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 18px; align-items: stretch; }
.visit__card { background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 24px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.visit__card h3 { font-size: 1.2rem; display: flex; gap: .45em; align-items: center; }
.visit__card h3 svg { color: var(--copper); }
.visit__card h3:not(:first-child) { margin-top: 12px; }
address { font-style: normal; font-size: 1.15rem; line-height: 1.45; }
.visit__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.visit__phone { font-family: var(--f-display); font-size: 1.7rem; font-weight: 700; }
.visit__phone a { text-decoration: none; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: .5em 0; border-bottom: 1px dotted var(--rule); text-align: left; font-weight: 400; font-size: .97rem; }
.hours td { text-align: right; font-family: var(--f-mono); font-size: .88rem; white-space: nowrap; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; color: var(--copper); }
.hours tr.is-today th::after { content: " · today"; font-family: var(--f-mono); font-size: .72rem; font-weight: 400; }
.hours__chip { display: inline-block; font-family: var(--f-mono); font-size: .66rem; background: var(--tag); color: var(--tag-ink); padding: .1em .45em; border-radius: 2px; margin-left: 4px; vertical-align: 2px; font-weight: 400; }
.hours__note { font-size: .85rem; color: var(--muted); }
.visit__photo { margin: 0; border-radius: 8px; overflow: hidden; min-height: 280px; }
.visit__photo img { width: 100%; height: 100%; object-fit: cover; }
.amenities { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.amenities li { display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: var(--stone); border-radius: 8px; }
.amenities svg { width: 28px; height: 28px; color: var(--copper); margin-top: 2px; }
.amenities div { display: grid; gap: 2px; min-width: 0; }
.amenities strong { font-weight: 700; }
.amenities span { font-size: .9rem; color: var(--muted); }
@media (max-width: 1000px) {
  .visit__grid { grid-template-columns: 1fr 1fr; }
  .visit__photo { grid-column: 1 / -1; min-height: 0; aspect-ratio: 16 / 9; }
  .amenities { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .visit__grid, .amenities { grid-template-columns: 1fr; }
}

/* ---------- Story ---------- */
.story {
  background: var(--oak);
  color: var(--kraft-light);
  padding-block: clamp(56px, 7vw, 96px);
  background-image: repeating-linear-gradient(176deg, rgba(0,0,0,.08) 0 2px, transparent 2px 11px);
}
.story__inner { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; max-width: 1000px; }
.story__mark { width: 140px; height: 140px; --cap: #2e1b0e; --nut: var(--copper-hi); color: var(--kraft); }
.story h2 { font-size: var(--step-4); color: #fff; margin: 8px 0 16px; }
.story p:last-child { font-size: 1.1rem; max-width: 62ch; color: var(--kraft-light); }
@media (max-width: 700px) {
  .story__inner { grid-template-columns: 1fr; gap: 20px; }
  .story__mark { width: 80px; height: 80px; }
}

/* ---------- FAQ ---------- */
.faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq__list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--f-display); font-size: 1.3rem; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--f-body); font-size: 1.6rem; font-weight: 400; color: var(--copper); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 62ch; }
.faq details a { color: var(--copper); }
@media (max-width: 860px) { .faq__inner { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: var(--on-dark-muted); padding-block: 64px 24px; font-size: .95rem; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand { display: grid; gap: 16px; align-content: start; }
.footer h4 { font-family: var(--f-mono); font-weight: 500; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; color: var(--kraft); margin: 0 0 12px; }
.footer p + p { margin-top: 8px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--rule-dark); color: var(--on-dark); }
.social a:hover { background: var(--copper); border-color: var(--copper); }
.footer__base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule-dark); font-size: .82rem; }
@media (max-width: 860px) { .footer__inner { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Mobile action bar ---------- */
.actionbar { display: none; }
@media (max-width: 760px) {
  .actionbar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--navy);
    border-top: 1px solid var(--rule-dark);
    padding: 6px var(--gutter-r) calc(6px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
  }
  .actionbar a { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; color: var(--on-dark); text-decoration: none; font-size: .78rem; font-weight: 600; }
  .actionbar svg { width: 22px; height: 22px; color: var(--kraft); }
  .actionbar a:first-child svg { color: var(--tag); }
  body { padding-bottom: 72px; }
}

/* ---------- Age gate ---------- */
.agegate {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(13,23,38,.86);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  padding: 16px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px));
}
.agegate__card {
  background: var(--paper); border-radius: 10px; padding: 40px 32px 32px;
  max-width: 440px; width: 100%; text-align: center; display: grid; gap: 12px; justify-items: center;
  border-top: 8px solid var(--tag);
}
.agegate__mark { width: 64px; height: 64px; --cap: #6b3f1f; --nut: var(--copper); color: var(--oak); }
.agegate h2 { font-size: 2rem; }
.agegate__note { color: var(--muted); }
.agegate__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.agegate__sorry { font-weight: 600; color: var(--copper); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: .8em 1.2em; border-radius: 6px; z-index: 95;
  font-weight: 500; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); max-width: calc(100% - 32px);
}
@media (max-width: 760px) { .toast { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); } }

/* ==========================================================
   Phone layout. Tighter rhythm, compact cards, no text laid
   over photos, and short rows instead of tall stacked tiles.
   ========================================================== */
@media (max-width: 600px) {
  :root { --header-h: 60px; }
  body { font-size: .97rem; }
  h2 { font-size: 1.85rem; }

  /* chrome: slimmer ticker, header and action bar */
  .ticker { font-size: .72rem; }
  .ticker__group span { padding: .5em 1.2em; }
  .logo__word { font-size: 1.6rem; }
  .logo__sub { font-size: .56rem; letter-spacing: .38em; margin-top: 2px; }
  .actionbar { padding-top: 4px; padding-bottom: calc(4px + env(safe-area-inset-bottom, 0px)); }
  .actionbar a { padding: 6px 4px; font-size: .74rem; }
  .actionbar svg { width: 20px; height: 20px; }
  body { padding-bottom: 60px; }

  /* sections */
  .section, .cave, .orders, .story { padding-block: 52px; }
  .section__head { margin-bottom: 24px; gap: 10px; }
  .section__lede { font-size: 1rem; }
  .eyebrow { font-size: .7rem; }

  /* hero: shorter copy block, buttons side by side, photo framed whole */
  .hero { padding-top: 28px; }
  .hero__inner { gap: 24px; grid-template-columns: minmax(0, 1fr); }
  .hero__copy { gap: 16px; }
  .hero h1 { font-size: 2.35rem; }
  .hero__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero__ctas .btn { font-size: .92rem; padding: .85em .5em; white-space: normal; text-align: center; min-width: 0; }
  .today { gap: 10px; padding-top: 14px; }
  .today__msg { font-size: .93rem; flex-basis: 100%; }
  .hero__photo img { aspect-ratio: 4 / 3; object-position: 30% 62%; border-radius: 8px 8px 0 0; }
  .tag--hero { top: auto; right: auto; left: 12px; bottom: 12px; padding: 7px 12px 6px; transform: rotate(-3deg); }
  .tag__price { font-size: 1.55rem; margin: 2px 0; }
  .tag__top, .tag__foot { font-size: .6rem; }
  .hero::after { height: 56px; }

  .fact { padding: 14px 16px; }
  .fact strong { font-size: 1.6rem; }
  .fact span { font-size: .82rem; line-height: 1.35; }

  /* aisles: compact rows, photo beside the text instead of under it */
  .aisle-grid { gap: 12px; }
  .aisle, .aisle--wide {
    min-height: 0; display: grid; grid-template-columns: 112px 1fr; align-items: stretch;
    background: #fff; color: var(--ink); border: 1px solid var(--rule); border-radius: 8px;
  }
  .aisle::before { display: none; }
  .aisle img { position: static; height: 100%; min-height: 128px; z-index: auto; }
  a.aisle:hover img { transform: none; }
  .aisle__body { padding: 14px 16px; gap: 4px; align-content: center; }
  .aisle h3 { font-size: 1.3rem; }
  .aisle p { color: var(--muted); font-size: .86rem; line-height: 1.45; }
  .aisle__deal { color: var(--copper); font-size: .7rem; }
  .shelf { font-size: .62rem; }
  .aisle--kraft { grid-template-columns: 1fr; background: var(--kraft-light); border-color: transparent; }
  .aisle--kraft .aisle__body { padding: 18px; }
  .checklist { grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: .88rem; }

  /* beer cave */
  .cave__inner { gap: 24px; }
  .cave__photo img { aspect-ratio: 16 / 10; }
  .cave__temp { top: 12px; right: 12px; font-size: .7rem; }
  .cave__copy { gap: 14px; }
  .cave__copy h2 { font-size: 1.7rem; }
  .cave__copy > p { font-size: .97rem; }
  .cave__list { grid-template-columns: 1fr 1fr; }
  .cave__list li { padding: 14px; }
  .cave__list strong { font-size: 1.05rem; }
  .cave__list span { font-size: .8rem; line-height: 1.4; }

  /* deals: number on the left, words on the right */
  .deal-grid { gap: 12px; }
  .deal:not(.deal--sixpack) {
    grid-template-columns: 92px 1fr; grid-template-areas: "big when" "big title" "big text";
    column-gap: 14px; row-gap: 2px; padding: 16px 16px 16px 18px; align-items: start;
  }
  .deal:not(.deal--sixpack) > .deal__when { grid-area: when; font-size: .66rem; padding-right: 20px; }
  .deal__big { grid-area: big; font-size: 2.7rem; align-self: center; }
  .deal__big small { display: block; font-size: .36em; margin: 4px 0 0; }
  .deal__big--word { font-size: 2.1rem; }
  .deal:not(.deal--sixpack) h3 { grid-area: title; font-size: 1.15rem; }
  .deal:not(.deal--sixpack) > p:last-child { grid-area: text; font-size: .86rem; line-height: 1.45; }
  .deal::before { top: 12px; right: 12px; width: 10px; height: 10px; }
  .deal.is-today::after { top: -10px; left: 14px; }
  .deal--sixpack { padding: 20px 18px; }
  .deal--sixpack h3 { font-size: 1.5rem; }
  .shelfstrip b { font-size: 1.55rem; }

  /* shelf notes */
  .notes__rail { grid-auto-columns: 74%; gap: 12px; }
  .note img { aspect-ratio: 1; }
  .note figcaption { font-size: .86rem; }

  /* planner and orders */
  .planner__form { gap: 20px; padding: 18px 16px; }
  .receipt { padding: 20px 16px 26px; font-size: .84rem; }
  .planner__actions .btn { flex: 1 1 auto; }
  .orders__panel { padding: 0 16px 18px; }
  .kegs div { grid-template-columns: 5.5rem 1fr; padding: 12px 14px; }
  .kegs dt { font-size: 1.2rem; }
  .kegs dd { font-size: .78rem; }

  /* visit */
  .visit__grid { gap: 12px; }
  .visit__card { padding: 18px; }
  .visit__phone { font-size: 1.45rem; }
  .amenities { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
  .amenities li { flex-direction: column; gap: 8px; padding: 14px; }
  .amenities svg { width: 24px; height: 24px; margin: 0; }
  .amenities strong { font-size: .9rem; line-height: 1.3; }
  .amenities span { font-size: .8rem; line-height: 1.4; }

  /* story, faq, footer */
  .story__inner { gap: 14px; }
  .story__mark { width: 56px; height: 56px; }
  .story h2 { font-size: 2rem; margin: 6px 0 12px; }
  .story p:last-child { font-size: 1rem; }
  .faq summary { font-size: 1.1rem; padding: 16px 36px 16px 0; }
  .footer { padding-block: 44px 20px; }
  .footer__inner { gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
  .ticker { overflow-x: auto; }
  *, *::before, *::after { transition: none !important; }
}
