/* Shared by every page under /cocktails/. Same tokens and type as the home page. */
:root {
  --paper: #FAF5ED; --paper-2: #EBE0D2; --card: #FEF9F0; --tint: #F2E4CC;
  --ink: #372C20; --ink-soft: #7A6852; --line: #E2D2BA; --tan: #BBA98E;
  --accent: #A75D3F; --amber: #E39A3A; --gold: #C29A63;
  --deep: #2A2118; --pour: #231B14; --shadow: #372C20; --on-deep: #FAF5ED; --on-deep-soft: #D9CCB7;
  --cta: #E39A3A; --cta-ink: #2A2118; --cta-hover: #F0AE52;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Geist", -apple-system, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font: 600 12px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.mini { font: 700 10.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .72; }
h1, h2 { font-family: var(--serif); font-weight: 350; letter-spacing: -.03em; margin: 0; }
h1 em, h2 em { font-style: italic; color: var(--accent); font-weight: 300; }

/* nav */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--paper) !important; text-decoration: none; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }

.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--ink-soft); padding-top: 22px; padding-bottom: 6px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--ink); }

/* hero: big photo + title */
.d-top { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 18px; padding-bottom: 70px; }
.d-photo { margin: 0; border-radius: 30px; overflow: hidden; background: var(--paper-2); aspect-ratio: 5 / 5.4; border: 1px solid var(--line); box-shadow: 0 0 0 6px color-mix(in srgb, var(--card) 70%, transparent), 0 40px 70px -34px color-mix(in srgb, var(--shadow) 55%, transparent); }
.d-photo img { width: 100%; height: 100%; object-fit: cover; }
.d-title { display: grid; gap: 22px; }
.d-title h1 { font-size: clamp(54px, 7.4vw, 112px); line-height: .92; }
.lead { font: 300 21px/1.55 var(--serif); color: var(--ink-soft); margin: 0; max-width: 40ch; }
.facts-row { display: grid; grid-template-columns: repeat(4, auto); gap: 0; margin: 6px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-row div { padding: 14px 18px 14px 0; } .facts-row div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.facts-row dt { font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.facts-row dd { margin: 4px 0 0; font: 400 18px/1.25 var(--serif); }
@media (max-width: 900px) {
  .d-top { grid-template-columns: 1fr; gap: 28px; padding-bottom: 40px; }
  .facts-row { grid-template-columns: 1fr 1fr; }
  .facts-row div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-row div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
/* tablets: photo and title side by side, so the photo doesn't fill the whole screen */
@media (min-width: 641px) and (max-width: 900px) { .d-top { grid-template-columns: 1fr 1fr; gap: 32px; } .d-title h1 { font-size: clamp(44px, 7vw, 64px); } }
@media (min-width: 600px) and (max-width: 860px) { .spin-card > img { aspect-ratio: 16 / 10; } }

/* three columns */
/* two columns: ingredients + method stacked on the left, serve / taste / good to know on the right */
.d-cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 64px; padding-top: 56px; padding-bottom: 80px; border-top: 1px solid var(--line); }
.col > section + section { margin-top: 44px; }
.d-cols h2 { font-size: 32px; border-top: 2px solid var(--ink); padding-top: 14px; margin-bottom: 18px; }
@media (max-width: 980px) { .d-cols { grid-template-columns: 1fr; gap: 40px; padding-top: 36px; } }

.tools { display: grid; gap: 12px; margin-bottom: 8px; } .tools[hidden] { display: none; }
.seg { display: inline-flex; background: var(--paper-2); border-radius: 999px; padding: 3px; justify-self: start; }
.seg button, .serv button { all: unset; cursor: pointer; font: 600 13px var(--sans); color: var(--ink-soft); }
.seg button { padding: 6px 13px; border-radius: 999px; color: #6E5C48; } /* darker grey on the beige pill track */
.seg button.on { background: var(--ink); color: var(--card); }
.serv { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.serv button { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); }
.serv button.on { background: var(--ink); color: var(--card); }
.seg button:focus-visible, .serv button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.ings { list-style: none; padding: 0; margin: 0; }
.ing { border-top: 1px solid var(--line); } .ing:first-child { border-top: 0; }
.ing-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; list-style: none; }
summary.ing-row { cursor: pointer; } summary.ing-row::-webkit-details-marker { display: none; }
.ing-amt { min-width: 70px; font: 700 15px var(--sans); color: #A15A5A; }
.ing-name { flex: 1; font-size: 16px; }
.tag-sm { font: 700 10.5px var(--sans); color: var(--ink-soft); background: var(--paper-2); padding: 2px 7px; border-radius: 5px; margin-left: 6px; }
.swap { font: 700 11px var(--sans); color: #815E1E; background: #F3E3C6; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
details[open] .swap { background: var(--ink); color: var(--card); }
.subs { display: grid; gap: 7px; padding-bottom: 14px; }
.sub { background: var(--card); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.sub-top { display: flex; align-items: center; gap: 8px; } .sub-top b { flex: 1; }
.pips { display: flex; gap: 2px; } .pips i { width: 5px; height: 5px; border-radius: 50%; background: var(--line); } .pips i.on { background: #8A6420; }
.sub small { font-weight: 700; font-size: 11px; color: var(--ink-soft); text-transform: capitalize; }
.sub p { margin: 5px 0 0; color: #7A5A44; } .sub .adj { color: #8A6420; font-weight: 700; }

.tech { background: var(--ink); color: var(--card); border-radius: 18px; padding: 16px 18px; margin-bottom: 8px; }
.tech b { display: block; font-size: 17px; margin: 4px 0; } .tech p { margin: 0; font-size: 14px; opacity: .78; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: st; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; }
.steps li:first-child { border-top: 0; }
.steps li::before { content: counter(st); width: 26px; height: 26px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font: 700 12px var(--sans); color: #7A5A44; }
.steps.js li { cursor: pointer; }
.steps li.done { color: var(--tan); text-decoration: line-through; } .steps li.done::before { background: var(--ink); color: var(--card); }

.serve-row { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 8px 0; }
.serve-row + .serve-row { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 6px; }
.serve-row .lbl { align-self: start; padding-top: 2px; font: 600 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.serve-row b { display: block; font-size: 15px; font-weight: 600; } .serve-row span { font-size: 13.5px; color: var(--ink-soft); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.stats div { background: var(--card); border-radius: 14px; padding: 12px; text-align: center; }
.stats b { display: block; font-size: 20px; } .stats small { font-size: 12px; color: var(--ink-soft); }
.axis { margin-top: 14px; } .axis-top { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; } .axis-top span { color: var(--ink-soft); }
.meter { position: relative; height: 6px; border-radius: 3px; }
.meter.boozy { background: linear-gradient(90deg, #E7CE97, #A4551F); } .meter.dry { background: linear-gradient(90deg, #D98BA0, #8FAE6A); }
.meter i { position: absolute; top: 50%; width: 13px; height: 13px; border-radius: 50%; background: var(--ink); border: 2px solid var(--card); translate: -50% -50%; }
.fine { font-size: 12px; color: var(--ink-soft); margin: 14px 0 0; }
.tips { list-style: none; padding: 0; margin: 0; }
.tips li { padding: 11px 0 11px 16px; font-size: 15.5px; border-left: 2px solid var(--accent); }
.tips li + li { margin-top: 10px; }

/* history band */
.hist { padding: 20px 0 0; }
.hist .wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: 50px; width: min(1192px, calc(100% - 48px)); }
.hist h2 { font-size: 52px; margin-bottom: 22px; }
.hist .facts { display: flex; gap: 30px; flex-wrap: wrap; } .hist .facts b { display: block; font: 400 19px var(--serif); margin-top: 3px; }
.hist p { margin: 0; font: 300 22px/1.6 var(--serif); }
@media (max-width: 800px) { .hist .wrap { grid-template-columns: 1fr; gap: 20px; padding: 30px 22px; border-radius: 24px; width: calc(100% - 32px); } .hist p { font-size: 19px; } }

/* prev / next */
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.pn { text-decoration: none; display: grid; } .pager .pn:last-child { text-align: right; }
.pn small { color: var(--ink-soft); font-size: 13px; } .pn b { font: 400 24px var(--serif); }
.pn:hover b { color: var(--accent); }
.all { font-weight: 600; font-size: 14px; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; }
@media (max-width: 640px) { .pager { grid-template-columns: 1fr 1fr; } .all { grid-column: 1 / -1; grid-row: 2; justify-self: center; } }

/* app band (the header and footer live in /site.css) */
/* index: collections + tools */
.idx-head { padding: 30px 0 34px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.idx-head h1 { font-size: clamp(52px, 8vw, 110px); line-height: .92; margin-top: 14px; }
@media (max-width: 860px) { .idx-head { grid-template-columns: 1fr; gap: 16px; } }

.card2 { display: block; text-decoration: none; }
.card2 figure { margin: 0; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--paper-2); position: relative; }
.card2 img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.card2:hover img { transform: scale(1.05); }
.card2 b { display: block; font: 400 20px/1.15 var(--serif); margin-top: 10px; } .card2 span { font-size: 13.5px; color: var(--ink-soft); }
.card2 .badge { position: absolute; top: 10px; left: 10px; background: var(--card); color: var(--ink); font: 600 12px var(--sans); padding: 4px 10px; border-radius: 999px; }
.card2:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 20px; }
.g4 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 24px 16px; }
@media (max-width: 520px) { .g4 { grid-template-columns: 1fr 1fr; gap: 18px 12px; } }
.kick { font: italic 300 20px var(--serif); color: var(--ink-soft); margin: 0 0 18px; }

/* the two tools on /cocktails/ (no icons): the shaker's three reels, and "Host a night" (party shopping list) */
.tool-sec { padding: 10px 0 70px; }
.tool-sec[hidden] { display: none; }
.tool-sec .sc { font: 600 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.tool-sec .num { font-variant-numeric: tabular-nums; }
.tool-sec .lnk { font: 600 14px var(--sans); color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.tool-sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 34px; }
.tool-sec-head h1, .tool-sec-head h2 { font-size: clamp(40px, 5.4vw, 72px); line-height: .98; } .tool-sec-head p { margin: 0; color: var(--ink-soft); font-size: 18px; }
@media (max-width: 860px) { .tool-sec-head { grid-template-columns: 1fr; gap: 14px; } .tool-sec-head .eyebrow { margin-bottom: 10px; } }
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
.reel { border: 1px solid var(--line); border-radius: 22px; background: var(--card); padding: 14px 16px 16px; position: relative; overflow: hidden; }
.reel .win { height: 64px; overflow: hidden; position: relative; margin: 8px 0 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reel .strip { display: grid; } .reel .strip span { height: 64px; display: grid; place-items: center; font: 350 30px var(--serif); }
.reel .lock { all: unset; cursor: pointer; font: 600 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.reel.locked { border-color: var(--ink); } .reel.locked .lock { color: var(--accent); }
.reelbar { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 34px; }
.pool { font: italic 300 17px var(--serif); color: var(--ink-soft); } .pool b { font-style: normal; color: var(--ink); }
@media (max-width: 700px) { .reels { grid-template-columns: 1fr; } }
.tool-sec .btn-solid { all: unset; cursor: pointer; font: 600 15px var(--sans); padding: 14px 26px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.tool-sec .btn-solid:hover { background: #000; } .tool-sec .btn-acc { background: var(--accent); } .tool-sec .btn-acc:hover { background: var(--accent); }
.tool-sec .btn-line { all: unset; cursor: pointer; font: 600 14px var(--sans); padding: 11px 20px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); }
.tool-sec .btn-line:hover { background: var(--ink); color: var(--paper); }
.spin-band button:focus-visible, .spin-band a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.spin-card { display: grid; grid-template-columns: 1fr 1.05fr; background: var(--card); border-radius: 30px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 0 0 6px color-mix(in srgb, var(--card) 70%, transparent), 0 40px 70px -40px color-mix(in srgb, var(--shadow) 55%, transparent); }
.spin-card > img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.spin-card .in { padding: 34px 36px; display: grid; gap: 14px; align-content: start; }
.spin-card h3, .spin-card h2 { font: 350 clamp(38px, 4vw, 54px)/1 var(--serif); letter-spacing: normal; margin: 0; } .spin-card .d { margin: 0; color: var(--ink-soft); font: 300 18px/1.5 var(--serif); }
.facts4 { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts4 div { padding: 10px 0; } .facts4 div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.facts4 b { display: block; font: 400 17px/1.2 var(--serif); }
.spin-card .why { font: italic 300 17px/1.5 var(--serif); margin: 0; padding-left: 14px; border-left: 2px solid var(--accent); }
.ingl { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 20px; font-size: 14.5px; } .ingl li { padding: 3px 0; break-inside: avoid; }
.meter2 { height: 4px; border-radius: 2px; position: relative; }
.meter2 i { position: absolute; top: 50%; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 2px solid var(--card); translate: -50% -50%; }
.m-boozy { background: linear-gradient(90deg, #E7CE97, #A4551F); } .m-dry { background: linear-gradient(90deg, #D98BA0, #8FAE6A); }
.mrow { display: grid; grid-template-columns: 90px 1fr 80px; gap: 12px; align-items: center; font-size: 13px; margin-top: 10px; } .mrow span:last-child { color: var(--ink-soft); text-align: right; }
.spin-card .acts { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
.in-anim { animation: pin .6s cubic-bezier(.2,.8,.2,1); } @keyframes pin { from { opacity: 0; transform: translateY(24px); } }
@media (max-width: 860px) { .spin-card { grid-template-columns: 1fr; } .spin-card > img { min-height: 0; aspect-ratio: 5 / 4; } .spin-card .in { padding: 24px 20px; } .facts4 { grid-template-columns: 1fr 1fr; } .facts4 div:nth-child(3) { padding-left: 0; border-left: 0; } }

.host { display: grid; grid-template-columns: 360px 1fr; gap: 50px; align-items: start; }
.host-l h3, .host-l h2 { font: 400 24px var(--serif); letter-spacing: normal; margin: 26px 0 4px; } .host-l h3:first-child, .host-l h2:first-child { margin-top: 0; }
.host-l > p { margin: 0 0 12px; font-size: 14px; color: var(--ink-soft); }
.step { display: inline-grid; grid-template-columns: 46px 90px 46px; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.step button { all: unset; cursor: pointer; text-align: center; font: 400 24px/44px var(--serif); } .step button:hover { background: var(--paper-2); }
.step input { all: unset; box-sizing: border-box; width: 100%; text-align: center; font: 400 26px var(--serif); color: var(--ink); -moz-appearance: textfield; }
.step input::-webkit-inner-spin-button, .step input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.step input:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 6px; }
.picked { list-style: none; margin: 0 0 12px; padding: 0; }
.picked li { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.picked img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; } .picked b { font: 400 18px var(--serif); }
.picked button { all: unset; cursor: pointer; font: 600 12.5px var(--sans); color: var(--accent); }
.combo { position: relative; margin-top: 18px; } .combo .sc { display: block; margin-bottom: 8px; }
.combo-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; max-height: 320px; overflow: auto;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 40px -24px color-mix(in srgb, var(--shadow) 50%, transparent); }
.combo-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 12px; border-radius: 12px; cursor: pointer; }
.combo-list li b { font: 400 17px var(--serif); } .combo-list li span { font-size: 12.5px; color: var(--ink-soft); white-space: nowrap; }
.combo-list li[aria-selected="true"], .combo-list li[role=option]:hover { background: var(--paper-2); }
.combo-list li.none { cursor: default; font: italic 300 16px var(--serif); color: var(--ink-soft); }
.srch:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.srch { width: 100%; font: 15px var(--sans); padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); }
.sheet { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 34px 38px; box-shadow: 0 30px 60px -36px color-mix(in srgb, var(--shadow) 45%, transparent); }
.sheet .hd { display: flex; justify-content: space-between; gap: 20px; align-items: end; border-bottom: 2px solid var(--ink); padding-bottom: 14px; }
.sheet h3 { font: 350 36px/1.05 var(--serif); margin: 6px 0 0; } .sheet h3 em { color: var(--accent); }
.sheet .split { font-size: 14px; color: var(--ink-soft); margin: 12px 0 0; }
.sheet h4 { font: 600 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 26px 0 6px; }
.li { display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: baseline; padding: 9px 0; border-bottom: 1px dotted var(--line); font-size: 15px; }
.li b { font: 400 18px var(--serif); } .li .q { color: var(--ink-soft); font-size: 13.5px; text-align: right; } .li .buy { font-weight: 600; min-width: 120px; text-align: right; }
.batch { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 8px; }
.batch div { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 14px; } .batch b { font: 400 19px var(--serif); display: block; margin-bottom: 6px; }
.batch p { margin: 0; color: var(--ink-soft); line-height: 1.55; }
.sheet .act { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; align-items: center; } .sheet .act small { color: var(--ink-soft); font-size: 12.5px; }
@media (max-width: 900px) { .host { grid-template-columns: 1fr; } .sheet { padding: 24px 20px; } .li { grid-template-columns: 1fr auto; } .li .q { grid-column: 1 / -1; grid-row: 2; text-align: left; margin-top: -10px; } .li .buy { grid-column: 2; grid-row: 1; min-width: 0; } }

/* the chip row (jump_bar() in the generator): sticky, scrolls sideways, an arrow on each end */
.jump-bar { position: sticky; top: 64px; z-index: 10; display: flex; align-items: center; gap: 8px; padding: 10px 0; margin-bottom: 30px;
  background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.jump { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; padding: 2px 0; }
.jump::-webkit-scrollbar { display: none; }
.jb { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; font-size: 14px; }
.jb:hover { background: var(--ink); color: var(--paper); } .jb:disabled { opacity: .35; cursor: default; background: var(--card); color: var(--ink); }
.jump a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.jump a { flex: none; text-decoration: none; font: 500 14px var(--sans); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); }
.jump a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.coll { margin-bottom: 70px; scroll-margin-top: 130px; }
.coll-head { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; border-top: 2px solid var(--ink); padding-top: 16px; margin-bottom: 20px; }
.coll-head h2 { font-size: clamp(32px, 4vw, 50px); }
.coll-head p { margin: 6px 0 0; color: var(--ink-soft); max-width: 56ch; } .cnt { font: italic 16px var(--serif); margin-left: 6px; }
.coll-nav { display: flex; align-items: end; gap: 8px; }
.coll-nav .n { font: italic 300 64px/.8 var(--serif); color: var(--line); margin-right: 12px; }
.coll-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-size: 16px; color: var(--ink); }
.coll-nav button:hover { background: var(--ink); color: var(--paper); }
.coll-nav button:disabled { opacity: .35; cursor: default; background: var(--card); color: var(--ink); }
/* phones: keep the arrows (they tell people the row swipes), drop the big number to make room */
@media (max-width: 640px) { .coll-head { gap: 12px; } .coll-nav .n { display: none; } .coll-nav { gap: 6px; } .coll-nav button { width: 38px; height: 38px; font-size: 15px; } }
.collrow { list-style: none; padding: 0 0 6px; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 200px; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.collrow::-webkit-scrollbar { display: none; } .collrow li { scroll-snap-align: start; }
@media (max-width: 520px) { .collrow { grid-auto-columns: 62vw; } }
.lnk { font: 600 14px var(--sans); color: var(--accent); text-decoration: none; } .lnk:hover { text-decoration: underline; text-underline-offset: 3px; }
.show-all { display: inline-block; margin-top: 10px; font: 600 14px var(--sans); color: var(--accent); text-decoration: none; } .show-all:hover { text-decoration: underline; text-underline-offset: 3px; }

/* /cocktails/: the A-Z teaser that leads to /cocktails/a-z */
.az-teaser { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: end; border-top: 2px solid var(--ink); padding-top: 16px; margin-bottom: 90px; scroll-margin-top: 130px; }
.az-teaser h2 { font-size: clamp(32px, 4vw, 50px); } .az-teaser p { margin: 6px 0 0; color: var(--ink-soft); }
.az-teaser .btn { grid-column: 2; grid-row: 1; }
.az-letters { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.az-letters a, .az-bar a { display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--card);
  text-decoration: none; font: italic 400 20px var(--serif); color: var(--accent); }
.az-letters a:hover, .az-bar a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (max-width: 640px) { .az-teaser { grid-template-columns: 1fr; } .az-teaser .btn { grid-column: 1; grid-row: auto; justify-self: center; } .az-letters { justify-content: center; } }

/* list pages (/cocktails/list/<key>) and /cocktails/a-z: every drink as a card grid */
.list-head h1 { font-size: clamp(46px, 7vw, 96px); }
.cgrid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 30px 18px; }
@media (max-width: 520px) { .cgrid { grid-template-columns: 1fr 1fr; gap: 24px 12px; } .cgrid .card2 b { font-size: 18px; } }
.list-guide { display: grid; grid-template-columns: 1fr auto; gap: 4px 30px; align-items: center; margin: 0 0 36px; padding: 22px 26px; border-radius: 24px; background: var(--tint); border: 1px solid var(--line); text-decoration: none; }
.list-guide small { font: 600 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.list-guide b { grid-column: 1; font: 400 28px/1.15 var(--serif); } .list-guide b em { color: var(--accent); font-weight: 300; }
.list-guide span { grid-column: 1; color: var(--ink-soft); font-size: 15px; } .list-guide i { grid-column: 2; grid-row: 1 / span 3; font: 600 14px var(--sans); color: var(--accent); white-space: nowrap; }
.list-guide:hover b { color: var(--accent); }
@media (max-width: 640px) { .list-guide { grid-template-columns: 1fr; padding: 20px; } .list-guide i { grid-column: 1; grid-row: auto; margin-top: 8px; } }
.list-back { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin: 40px 0 70px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .list-back { justify-content: center; } }
.az-tools { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.az-tools input { flex: 1; max-width: 420px; font: 16px var(--sans); padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.az-bar { position: sticky; top: 64px; z-index: 10; display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0; margin-bottom: 30px;
  background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
@media (max-width: 640px) { .az-bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .az-bar::-webkit-scrollbar { display: none; } .az-bar a { flex: none; min-width: 36px; height: 36px; } }
.az-sec { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); scroll-margin-top: 140px; }
.az-sec[hidden] { display: none; }
.az-big { font: italic 300 64px/1 var(--serif); color: var(--accent); }
@media (max-width: 640px) { .az-sec { grid-template-columns: 1fr; gap: 6px; } .az-big { font-size: 46px; } }
/* 404 page */
.nf-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin: 0 0 60px; }
.nf-h { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 18px; padding-top: 16px; border-top: 2px solid var(--ink); }
@media (min-width: 900px) { .nf-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .nf-acts { flex-direction: column; } }
.az-none { color: var(--ink-soft); font: italic 300 20px var(--serif); }
.az-lists { margin: 60px 0 70px; } .az-lists h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 16px; } .az-lists .jump-bar { position: static; }

/* "800+ recipes in the app" promo: a card in the recipe side column, a wide band on /cocktails/ (app_promo() in the generator) */
.ap-k { display: block; font: 600 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--amber); }
.ap-tiles { position: relative; display: flex; justify-content: center; padding: 14px 0 24px; }
.ap-tiles::before { content: ""; position: absolute; inset: 0 -10%; background: radial-gradient(ellipse at center, color-mix(in srgb, var(--gold) 35%, transparent), transparent 65%); }
.ap-tile { position: relative; margin: 0; width: 46%; aspect-ratio: 1206 / 2120; border-radius: 18px; overflow: hidden; background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--card) 25%, transparent), 0 24px 40px -20px rgba(0,0,0,.6); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.ap-tile img { width: 100%; height: 100%; object-fit: cover; object-position: bottom; }
.ap-tile.a { rotate: -5deg; margin-right: -8%; margin-top: 22px; z-index: 1; } .ap-tile.b { rotate: 4deg; z-index: 2; }
.ap-card:hover .ap-tile.a, .ap-band:hover .ap-tile.a { transform: translate(-8px, -4px); } .ap-card:hover .ap-tile.b, .ap-band:hover .ap-tile.b { transform: translate(8px, -8px); }
.ap-card { margin-top: 34px; border-radius: 24px; padding: 22px; overflow: hidden; }
.ap-card p { margin: 6px 0 0; font: 400 20px/1.3 var(--serif); }
.ap-card .btn { width: 100%; justify-content: center; position: relative; z-index: 3; }
.ap-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; margin: 70px 0 64px; padding: 46px 50px 30px; border-radius: 34px; overflow: hidden; }
.ap-band h2 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1; margin: 12px 0 22px; } .ap-band h2 em { color: var(--amber); }
.ap-band ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.ap-band li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-soft); } .ap-band li b { display: block; font: 400 19px var(--serif); color: var(--ink); margin-bottom: 2px; }
.ap-band .ap-tiles { padding-bottom: 10px; } .ap-band .ap-tile { width: min(42%, 220px); }
@media (max-width: 900px) { .ap-band { grid-template-columns: 1fr; padding: 34px 24px 20px; } .ap-band ul { grid-template-columns: 1fr; } }
