/* ============================================================
   Canoelands Brewery - site styles
   Palette: malt (ink), cream (canvas), royal blue (brand, from the logo),
   amber (beer), red (label stars). Fonts: Platypi (display) + Instrument Sans.
   Bump ?v= on every edit (css is served immutable for a year).
   ============================================================ */
@font-face { font-family: "Platypi"; src: url("/assets/fonts/platypi-var.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Platypi"; src: url("/assets/fonts/platypi-italic-var.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-var.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap; }

:root {
  --malt: #1d150e;
  --malt-2: #2a1f15;
  --ink: #241a12;
  --muted: #6b5a49;
  --cream: #f6efe2;
  --paper: #fbf7ef;
  --foam: #fffdf8;
  --blue: #1f4a9e;
  --blue-d: #163a7e;
  --amber: #e7a136;
  --amber-l: #f6c66f;
  --red: #c7372c;
  --line: rgba(36, 26, 18, .13);
  --line-l: rgba(255, 246, 230, .16);
  --radius: 18px;
  --shadow: 0 1px 2px rgba(29, 21, 14, .06), 0 10px 30px -12px rgba(29, 21, 14, .22);
  --display: "Platypi", Georgia, "Times New Roman", serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-d); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--malt); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 760; letter-spacing: -.03em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--malt); color: var(--foam); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* Lenis (inlined from lenis.css) */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
html.no-motion { scroll-behavior: smooth; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 32px, 780px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }
.dark { background: var(--malt); color: #efe4d2; }
.dark h1, .dark h2, .dark h3 { color: var(--foam); }
.dark a:not(.btn) { color: var(--amber-l); }
.paper { background: var(--paper); }
.eyebrow { display: inline-flex; align-items: center; gap: .55em; font: 600 .78rem/1 var(--body); font-stretch: 78%; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin: 0 0 1.1em; }
.eyebrow::before { content: ""; width: 10px; height: 10px; background: currentColor; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.dark .eyebrow, .hero .eyebrow, .subhero .eyebrow { color: var(--amber); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 60ch; }
.dark .lead { color: #d8c9b2; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head h2 { margin: 0; max-width: 18ch; }
.sec-head p { margin: 0; max-width: 46ch; color: var(--muted); }
.dark .sec-head p { color: #cbbba3; }

/* folk-dot rule: echoes the dotted borders on the beer labels */
.dots { height: 12px; background: radial-gradient(circle, var(--red) 2.2px, transparent 2.6px) 0 50% / 18px 12px repeat-x, radial-gradient(circle, var(--amber) 2.2px, transparent 2.6px) 9px 50% / 18px 12px repeat-x; opacity: .9; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid var(--blue); background: var(--blue); color: #fff; font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.btn:hover { background: var(--blue-d); border-color: var(--blue-d); color: #fff; transform: translateY(-2px); }
.btn-amber { background: var(--amber); border-color: var(--amber); color: var(--malt); }
.btn-amber:hover { background: var(--amber-l); border-color: var(--amber-l); color: var(--malt); }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.dark .btn-ghost, .hero .btn-ghost, .subhero .btn-ghost { color: var(--foam); border-color: rgba(255, 246, 230, .55); }
.dark .btn-ghost:hover, .hero .btn-ghost:hover, .subhero .btn-ghost:hover { background: var(--foam); color: var(--malt); border-color: var(--foam); }
.btn-sm { min-height: 40px; padding: 9px 18px; font-size: .93rem; }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.link-arrow::after { content: "\2192"; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- top bar + header ---------- */
.topbar { background: var(--blue); color: #e7eefc; font-size: .88rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 38px; text-align: center; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar strong { font-weight: 600; text-decoration: underline; text-underline-offset: .18em; margin-left: 6px; }
@media (max-width: 560px) { .topbar { font-size: .84rem; } .topbar strong { display: none; } }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 239, 226, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: transform .35s ease, border-color .3s ease, box-shadow .3s ease; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(29, 21, 14, .5); }
.site-header.is-hidden { transform: translateY(-100%); }
.hdr { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { flex: none; display: block; }
.brand img { width: 214px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: .98rem; text-decoration: none; white-space: nowrap; }
.nav a:hover { background: rgba(31, 74, 158, .08); color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--amber); border-radius: 0; }
.hdr-cta { flex: none; }
.menu-btn { display: none; flex: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; position: relative; }
.menu-btn span:not(.sr) { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--malt); border-radius: 2px; transition: transform .25s ease, top .25s ease; }
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 26px; }
html.menu-open .menu-btn span:nth-child(1) { top: 22px; transform: rotate(45deg); }
html.menu-open .menu-btn span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .hdr-cta { display: none; }
  .menu-btn { display: block; margin-left: auto; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 96px 20px 28px; background: var(--paper); box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .35); transform: translateX(105%); visibility: hidden; transition: transform .35s ease, visibility 0s linear .35s; z-index: 60; overflow-y: auto; }
  html.menu-open .nav { visibility: visible; transition: transform .35s ease; }
  .nav a { font-size: 1.1rem; padding: 14px 14px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--amber); }
  html.menu-open .nav { transform: none; }
  .menu-btn { z-index: 70; }
  /* backdrop-filter / transform on the header would make it the containing block of the fixed menu panel */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
  html.menu-open .site-header { transform: none; }
  html.menu-open body::after { content: ""; position: fixed; inset: 0; background: rgba(29, 21, 14, .45); z-index: 45; }
  .nav .nav-cta { display: flex; margin-top: 18px; border: 0; color: #fff; }
}
@media (min-width: 1081px) { .nav .nav-cta { display: none; } }
@media (max-width: 520px) { .brand img { width: 176px; } .hdr { min-height: 66px; } }

/* ---------- home hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--malt); color: #f1e6d4; min-height: min(86vh, 760px); display: grid; align-items: center; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(23, 16, 10, .94) 0%, rgba(23, 16, 10, .78) 42%, rgba(23, 16, 10, .2) 75%, rgba(23, 16, 10, .05) 100%), linear-gradient(0deg, rgba(23, 16, 10, .55), transparent 40%); }
.hero-inner { padding: clamp(64px, 10vw, 120px) 0; }
.hero h1 { color: var(--foam); max-width: 11ch; margin-bottom: .32em; }
.hero h1 em { font-style: italic; font-weight: 600; color: var(--amber-l); }
.hero-sub { font-size: clamp(1.1rem, 1.7vw, 1.3rem); max-width: 46ch; color: #e2d5bf; margin-bottom: 1.8em; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px 34px; margin: 44px 0 0; padding: 0; list-style: none; }
.hero-stats li { border-left: 2px solid var(--amber); padding-left: 14px; font-size: .92rem; color: #cdbda5; line-height: 1.3; }
.hero-stats strong { display: block; font: 700 1.9rem/1.05 var(--display); color: var(--foam); }
@media (max-width: 720px) {
  .hero { min-height: 0; }
  .hero-media img { object-position: 82% 50%; }
  .hero::before { background: linear-gradient(180deg, rgba(23, 16, 10, .62) 0%, rgba(23, 16, 10, .86) 60%, rgba(23, 16, 10, .95) 100%); }
}

/* ---------- inner page hero ---------- */
.subhero { position: relative; isolation: isolate; overflow: hidden; background: var(--malt); color: #eadfcb; padding: clamp(56px, 8vw, 100px) 0 clamp(48px, 6vw, 80px); }
.subhero-media { position: absolute; inset: 0; z-index: -2; }
.subhero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.subhero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(23, 16, 10, .92), rgba(23, 16, 10, .55)); }
.subhero h1 { color: var(--foam); font-size: clamp(2.3rem, 5vw, 4rem); margin-bottom: .3em; }
.subhero .lead { color: #d9cab3; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; font-size: .88rem; color: #bfae95; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: #e8dcc8; text-decoration: none; }
.crumbs a:hover { color: var(--amber-l); text-decoration: underline; }

/* ---------- label slider (the original home slides) ---------- */
.slider { position: relative; border-radius: var(--radius); overflow: hidden; background: #ddd2bf; box-shadow: var(--shadow); aspect-ratio: 1388 / 434; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease; }
.slide a, .slide img { display: block; width: 100%; height: 100%; }
.slide img { object-fit: cover; }
.slider-ui { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; }
.slider-dot { width: 34px; height: 6px; border-radius: 6px; border: 0; padding: 0; background: rgba(255, 255, 255, .55); cursor: pointer; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.slider-dot[aria-current="true"] { background: var(--amber); }
.slider-arrow { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 253, 248, .88); color: var(--malt); cursor: pointer; display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); opacity: 0; transition: opacity .25s ease; }
.slider:hover .slider-arrow, .slider-arrow:focus-visible { opacity: 1; }
.slider-arrow.prev { left: 14px; }
.slider-arrow.next { right: 14px; }
.slider-arrow svg { width: 20px; height: 20px; }
html:not(.js) .slide:first-child { opacity: 1; visibility: visible; }
@media (max-width: 640px) { .slider { aspect-ratio: 1388 / 600; } .slider-arrow { display: none; } }

/* ---------- cards ---------- */
.grid { display: grid; gap: clamp(16px, 2.2vw, 26px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }

.card { position: relative; background: var(--foam); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .45em; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card p { color: var(--muted); font-size: .98rem; }
.card .link-arrow { margin-top: auto; position: relative; z-index: 1; }
.card-media { margin: -26px -26px 22px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16 / 10; background: #e9dfcd; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(31, 74, 158, .1); color: var(--blue); margin-bottom: 18px; }
.card-icon svg { width: 26px; height: 26px; }

/* beer cards (label art on white) */
.beer-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: relative; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.beer-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.beer-card .art { aspect-ratio: 562 / 392; background: #fff; display: grid; place-items: center; padding: 10px 10px 0; }
.beer-card .art img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.beer-card:hover .art img { transform: scale(1.04) rotate(-1deg); }
.beer-card .body { padding: 6px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.beer-card h3 { margin: 0 0 .3em; font-size: 1.4rem; }
.beer-card h3 a { color: var(--malt); text-decoration: none; }
.beer-card h3 a::after { content: ""; position: absolute; inset: 0; }
.beer-card p { color: var(--muted); font-size: .96rem; margin-bottom: 14px; }
.beer-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: rgba(31, 74, 158, .09); color: var(--blue); font: 600 .78rem/1.4 var(--body); letter-spacing: .02em; }
.chip.amber { background: rgba(231, 161, 54, .18); color: #8a5300; }
.chip.red { background: rgba(199, 55, 44, .1); color: var(--red); }
.price { font: 700 1.5rem/1 var(--display); color: var(--malt); }
.beer-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.beer-card .foot .btn { position: relative; z-index: 1; }

/* ---------- split / media rows ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .split.rev > :first-child { order: 0; } }
.frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #e9dfcd; }
.frame img { width: 100%; height: auto; }
.frame-tilt { transform: rotate(-1.5deg); }
.stack { position: relative; }
.stack .frame + .frame { position: absolute; width: 46%; right: -4%; bottom: -10%; border: 6px solid var(--cream); transform: rotate(3deg); }
@media (max-width: 860px) { .stack .frame + .frame { right: 2%; } }
.checks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .22em; width: 20px; height: 20px; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231d150e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---------- beers page ---------- */
.beer-nav { position: sticky; top: 76px; z-index: 20; background: rgba(251, 247, 239, .95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.beer-nav .wrap { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.beer-nav .wrap::-webkit-scrollbar { display: none; }
.beer-nav a { flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--foam); color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 600; }
.beer-nav a:hover { border-color: var(--blue); color: var(--blue); }
@media (max-width: 520px) { .beer-nav { top: 66px; } }
.beer-row { padding: clamp(48px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 140px; }
.beer-row:nth-child(even) { background: var(--paper); }
.beer-row .label { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.beer-row .label a { display: block; }
.beer-row h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.beer-row .desc { font-size: 1.12rem; }
.pair { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 26px; padding: 14px; border: 1px dashed rgba(36, 26, 18, .25); border-radius: 16px; background: rgba(255, 253, 248, .7); }
.pair img { border-radius: 10px; aspect-ratio: 562 / 392; object-fit: cover; }
.pair strong { display: block; font: 600 .78rem/1.2 var(--body); font-stretch: 80%; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.pair span { color: var(--muted); }
@media (max-width: 480px) { .pair { grid-template-columns: 1fr; } }

/* ---------- product page ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .product { grid-template-columns: minmax(0, 1fr); } }
.product-gallery { display: grid; gap: 14px; }
.product-gallery .main { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.product-gallery .thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.product-gallery .thumbs a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.product-info h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); margin-bottom: .2em; }
.product-info .tag { color: var(--muted); font-size: 1.05rem; margin-bottom: 18px; }
.product-info .price { font-size: 2.2rem; display: block; margin: 8px 0 18px; }
.specs { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: .97rem; }
.specs th, .specs td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 38%; color: var(--muted); font-weight: 500; }
.note { font-size: .92rem; color: var(--muted); background: rgba(231, 161, 54, .12); border-left: 3px solid var(--amber); padding: 12px 16px; border-radius: 0 12px 12px 0; }

/* ---------- prose (posts, legal, faq) ---------- */
.prose { font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose img { border-radius: 14px; }
.prose li { margin-bottom: .45em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--amber); font: italic 500 1.3rem/1.45 var(--display); color: var(--malt); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #cdbda5; font-size: .95rem; margin: 0; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-card { background: var(--foam); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; transition: transform .25s ease, box-shadow .25s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card time { font-size: .88rem; color: var(--muted); }
.post-card h2, .post-card h3 { font-size: 1.6rem; margin: .3em 0 .4em; }
.post-card a { color: var(--malt); text-decoration: none; }
.post-card h2 a::after, .post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.style-list { display: grid; gap: 14px; margin: 1.2em 0 1.6em; padding: 0; list-style: none; }
.style-list li { background: var(--foam); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 0; }
.style-list strong { color: var(--malt); }

/* ---------- gallery + lightbox ---------- */
.gallery { columns: 3 260px; column-gap: 16px; }
.gallery figure { break-inside: avoid; margin: 0 0 16px; background: var(--foam); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.gallery a { display: block; overflow: hidden; }
.gallery img { width: 100%; transition: transform .6s ease; }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption { padding: 10px 14px 12px; font-size: .9rem; color: var(--muted); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1100px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(18, 12, 8, .88); }
.lightbox img { max-width: min(94vw, 1100px); max-height: 80vh; width: auto; margin: 0 auto; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); background: #fff; }
.lightbox p { color: #f1e6d4; text-align: center; margin: 12px 0 0; font-size: .95rem; }
.lightbox button { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--foam); color: var(--malt); font-size: 1.4rem; line-height: 1; cursor: pointer; }

/* ---------- downloads ---------- */
.doc { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line-l); border-radius: 16px; background: rgba(255, 246, 230, .04); text-decoration: none; position: relative; transition: background .2s ease, border-color .2s ease; }
.doc:hover { background: rgba(255, 246, 230, .08); border-color: rgba(231, 161, 54, .55); }
.doc img { border-radius: 10px; width: 88px; aspect-ratio: 197 / 146; object-fit: cover; }
.dark .doc strong { display: block; color: var(--foam); font-weight: 600; }
.dark .doc span { color: #bfae95; font-size: .9rem; }

/* ---------- forms ---------- */
.form-card { background: var(--foam); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3.4vw, 38px); box-shadow: var(--shadow); color: var(--ink); }
.form-card h2, .form-card h3 { color: var(--malt); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .fields { grid-template-columns: minmax(0, 1fr); } }
.field label, .field legend { display: block; font-weight: 600; font-size: .93rem; margin-bottom: 6px; color: var(--malt); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid rgba(36, 26, 18, .22); border-radius: 12px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 74, 158, .15); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { margin: 0; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border: 1px solid rgba(36, 26, 18, .22); border-radius: 999px; background: #fff; cursor: pointer; font-weight: 500; transition: all .2s ease; }
.pills input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.pills input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.qty-list { display: grid; gap: 10px; }
.qty { display: grid; grid-template-columns: 64px minmax(0, 1fr) 96px; gap: 14px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.qty img { border-radius: 8px; aspect-ratio: 562 / 392; object-fit: contain; background: #fff; }
.qty strong { display: block; color: var(--malt); }
.qty small { color: var(--muted); }
.qty input { text-align: center; min-height: 44px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--blue); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 20px; }
.form-status { flex-basis: 100%; margin: 4px 0 0; padding: 12px 16px; border-radius: 12px; background: rgba(31, 74, 158, .08); color: var(--blue-d); font-size: .95rem; }
.form-status.is-ok { background: rgba(46, 125, 50, .1); color: #1e5e22; }
.form-status.is-err { background: rgba(199, 55, 44, .1); color: #8d2119; }
.small { font-size: .88rem; color: var(--muted); }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--foam); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 34px 20px 0; position: relative; font: 600 1.15rem/1.35 var(--display); color: var(--malt); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; font: 400 1.6rem/1 var(--body); color: var(--blue); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; background: var(--blue); color: #e6edfb; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center; }
.cta-band::after { content: ""; position: absolute; left: -90px; bottom: -150px; width: 260px; height: 260px; border-radius: 50%; border: 18px dotted rgba(246, 198, 111, .3); pointer-events: none; }
.cta-band > div:first-child { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: #cfdaf3; max-width: 52ch; }
.cta-band .btn-row { position: relative; z-index: 1; }
@media (max-width: 760px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */
.site-footer { background: var(--malt); color: #cbbca5; padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .97rem; }
.site-footer a { color: #efe4d2; text-decoration: none; }
.site-footer a:hover { color: var(--amber-l); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }
.foot-brand .badge { display: inline-block; background: var(--cream); border-radius: 14px; padding: 10px 14px; margin-bottom: 16px; }
.foot-brand .badge img { width: 190px; }
.site-footer h3 { font: 600 .78rem/1 var(--body); font-stretch: 78%; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin: 6px 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer address { font-style: normal; line-height: 1.6; }
.foot-ack { margin: 44px 0 0; padding-top: 22px; border-top: 1px solid var(--line-l); font-size: .9rem; color: #a8977f; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 16px; font-size: .88rem; color: #a8977f; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ---------- misc ---------- */
.kicker-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: repeating-linear-gradient(to bottom, var(--amber) 0 6px, transparent 6px 12px); }
.timeline li { position: relative; padding: 0 0 22px 36px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--cream); }
.paper .timeline li::before { box-shadow: 0 0 0 4px var(--paper); }
.timeline strong { display: block; font: 700 1.15rem/1.3 var(--display); color: var(--malt); }
.timeline span { color: var(--muted); }
.addr-card { background: var(--foam); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.addr-card address { font-style: normal; font-size: 1.1rem; line-height: 1.55; margin: 6px 0 16px; color: var(--malt); }
.notfound { text-align: center; padding: clamp(80px, 14vw, 160px) 0; }
.notfound .big { font: 800 clamp(5rem, 16vw, 10rem)/1 var(--display); color: var(--amber); margin: 0; }

/* ---------- motion hooks (motion.js reveals .rv; hidden only while JS motion is live) ---------- */
html.js:not(.no-motion) .rv { opacity: 0; }
html.js:not(.no-motion) .hero-reveal { visibility: hidden; }
.split-line { overflow: hidden; padding-bottom: .06em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .rv, .hero-reveal { opacity: 1 !important; visibility: visible !important; }
}
@media print {
  .site-header, .topbar, .site-footer, .menu-btn, .slider-ui, .beer-nav { display: none !important; }
  body { background: #fff; }
}
