/* ---------- DRINKS MENU PAGE ----------
   Typography and colour sampled from the printed InDesign menu:
   paper #F1EDE2 · headings #501624 · item names #2E2A2B · notes #86827D   */
:root{
  --paper:#F1EDE2;
  --ink:#2E2A2B;
  --ink-soft:#86827D;
  --head:#501624;
  --tag:#B07A67;
  --hair:rgba(80,22,36,.14);
}

/* this sheet is only linked from the drinks menu, so the bare html rule is page-scoped */
html{scroll-padding-top:170px}
/* overflow-x:clip (not hidden) — hidden turns body into a scroll container and kills position:sticky */
body.menupage{background:var(--paper);color:var(--ink);overflow-x:clip;overflow-y:visible;height:auto}

/* ---- wine cover band ---- */
.mhead{position:relative;background:var(--wine);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:190px 24px 74px}
.mhead::after{content:"";position:absolute;inset:0;background:radial-gradient(80% 80% at 50% 50%,transparent 40%,rgba(44,12,16,.45) 100%);pointer-events:none}
.mhead>*{position:relative;z-index:2}
.mhead .mcrest{width:clamp(64px,6vw,92px);opacity:.95}
.mhead .mwm{font-family:var(--logo);font-weight:400;color:var(--rose-soft);font-size:clamp(26px,3.4vw,44px);letter-spacing:.5em;text-indent:.5em;margin-top:20px}
.mhead .mrule{width:clamp(150px,18vw,260px);height:1px;background:var(--rose);opacity:.7;margin-top:14px}
.mhead h1{font-family:var(--serif);font-style:italic;font-weight:300;color:var(--white);font-size:clamp(40px,6vw,78px);line-height:1;margin-top:26px}
.mhead .msub{color:var(--rose-2);text-transform:uppercase;letter-spacing:.34em;text-indent:.34em;font-size:clamp(10px,.9vw,13px);margin-top:18px}

/* ---- sticky category rail ---- */
.mnav{position:sticky;top:81px;z-index:90;background:rgba(241,237,226,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--hair);display:flex;justify-content:center;gap:8px;flex-wrap:wrap;padding:15px 18px}
.mnav a{color:var(--head);text-decoration:none;text-transform:uppercase;letter-spacing:.18em;font-size:13px;padding:10px 20px;border:1px solid transparent;border-radius:30px;transition:.3s var(--ease);white-space:nowrap}
.mnav a:hover{border-color:var(--hair);background:rgba(80,22,36,.05)}

/* ---- groups ---- */
.dgroup{max-width:1180px;margin:0 auto;padding:58px 24px 0}
.dgroup:first-of-type{padding-top:74px}
.dgroup-t{display:flex;align-items:center;gap:18px;margin-bottom:34px}
.dgroup-t::before,.dgroup-t::after{content:"";flex:1;height:1px;background:var(--hair)}
.dgroup-t span{font-family:var(--serif);font-style:italic;font-weight:400;color:var(--head);font-size:clamp(22px,2.6vw,32px);line-height:1}
.dcols{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:clamp(26px,3vw,52px);align-items:start}

/* ---- one menu block ---- */
.dblock{break-inside:avoid}
.dblock+.dblock{margin-top:clamp(30px,3vw,46px)}
.dbh{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin-bottom:14px}
.dbh h2{font-family:var(--serif);font-weight:400;color:var(--head);text-transform:uppercase;font-size:clamp(17px,1.5vw,21px);letter-spacing:.05em;line-height:1.15}
.dbh .meas{color:var(--tag);text-transform:uppercase;letter-spacing:.16em;font-size:9px;white-space:nowrap;font-weight:400}

/* ---- items ---- */
.dl{list-style:none;margin:0;padding:0}
.dl li{display:grid;grid-template-columns:1fr auto;column-gap:16px;align-items:baseline;padding:7px 0}
.dl .n{font-family:var(--serif);font-weight:400;color:var(--ink);text-transform:uppercase;font-size:15px;letter-spacing:.045em;line-height:1.3}
.dl .p{font-family:var(--serif);font-weight:400;color:var(--ink);font-size:14px;font-variant-numeric:oldstyle-nums;font-feature-settings:"onum" 1;white-space:nowrap}
.dl .d{grid-column:1/-1;font-family:var(--sans);font-weight:300;color:var(--ink-soft);font-size:11.5px;line-height:1.6;margin-top:3px;letter-spacing:.01em}
.dl .ct{color:var(--tag);text-transform:uppercase;letter-spacing:.1em;font-family:var(--sans);font-weight:400;font-size:8.5px;vertical-align:.35em;margin-left:5px;white-space:nowrap}
/* tight list: spirits and soft drinks carry no tasting note */
.dl.tight li{padding:5px 0}
.dl.tight .n{font-size:14px}

.dnote{margin-top:20px;text-align:center;color:var(--ink-soft);font-size:11.5px;line-height:1.7;font-style:italic}

/* ---- foot: pdf + booking ---- */
.mfoot{display:flex;flex-direction:column;align-items:center;gap:22px;text-align:center;padding:88px 24px 96px;margin-top:70px;border-top:1px solid var(--hair)}
.mfoot .mcrest{width:56px;opacity:.85}
.mfoot p{color:var(--ink-soft);font-size:12px;letter-spacing:.16em;text-transform:uppercase}
.mfoot .macts{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;margin-top:4px}
.btn-ink{display:inline-flex;align-items:center;gap:10px;font-family:var(--sans);font-weight:400;line-height:1;background:transparent;color:var(--head);text-transform:uppercase;letter-spacing:.2em;font-size:11px;padding:15px 30px;text-decoration:none;border-radius:30px;border:1px solid rgba(80,22,36,.35);transition:.4s var(--ease)}
.btn-ink:hover{background:var(--head);color:var(--paper);border-color:var(--head)}
.btn-ink svg{width:13px;height:13px;flex:none}
.btn-wine{background:var(--head);color:var(--paper);border-color:var(--head)}
.btn-wine:hover{background:#3A1016;border-color:#3A1016}

/* legal footer sits on paper here, not wine */
body.menupage .legalfoot{border-top:1px solid var(--hair);margin-top:0;background:var(--paper)}
body.menupage .legalfoot a{color:var(--head);opacity:.75}
body.menupage .legalfoot a:hover{opacity:1}
body.menupage .legalfoot .cr{color:var(--ink-soft);opacity:.9}

@media (min-width:1680px){
  .dgroup{max-width:min(64vw,1560px)}
  /* 340px keeps three columns at 1680-2000px; 380 dropped it to two */
  .dcols{grid-template-columns:repeat(auto-fit,minmax(340px,1fr))}
  .dl .n{font-size:18px}
  .dl .p{font-size:17px}
  .dl .d{font-size:13.5px}
  .dbh h2{font-size:clamp(21px,1.3vw,27px)}
  .dbh .meas{font-size:11px}
  /* the topbar grows to 99px on this tier, so the sticky rail has to follow */
  html{scroll-padding-top:204px}
  .mnav{top:99px;gap:12px;padding:18px}
  .mnav a{font-size:clamp(15px,0.85vw,19px);padding:13px 26px;letter-spacing:.16em}
}

@media (max-width:900px){
  html{scroll-padding-top:150px}
  .mhead{padding:150px 22px 60px}
  .mnav{top:74px;gap:4px;padding:11px 12px;justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .mnav::-webkit-scrollbar{display:none}
  .mnav a{font-size:11.5px;padding:9px 14px;letter-spacing:.14em}
  .dgroup{padding:46px 22px 0}
  .dcols{grid-template-columns:1fr;gap:34px}
  .mfoot{padding:70px 22px 80px;margin-top:56px}
}

@media (max-width:600px){
  html{scroll-padding-top:134px}
  .mnav{top:58px}
}

@media (prefers-reduced-motion:reduce){
  .btn-ink,.mnav a{transition:none}
}

/* ---------- PRINT ----------
   For a guest who hits Ctrl+P on a menu page. The downloadable PDFs in /menus
   are the venue's own artwork and owe nothing to these rules. Sizes are in
   pt/mm here — the screen clamp()s are keyed to vw, which means nothing on a
   fixed A4 page. */
@media print{
  /* no side margin on the sheet: the wine cover and the section rules run to
     the trim, and each block sets its own 14mm text inset instead */
  @page{size:A4;margin:15mm 0 17mm}

  /* the wine cover and the paper ground are the menu, not decoration */
  html,body.menupage{background:var(--paper);overflow:visible;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  p{orphans:2;widows:2}

  /* Chrome leaves the @page margin unpainted, so the sheet would show white
     round the paper. A fixed box repeats on every page and bleeds past the
     margin on all four sides. */
  body.menupage::before{content:"";position:fixed;inset:-20mm;background:var(--paper);z-index:-1}

  /* screen furniture: none of it survives on paper */
  .topbar,.mnav,.legalfoot,.mfoot .macts{display:none}

  /* ---- cover: a band at the head of page one, not a full screen ---- */
  .mhead{padding:19mm 14mm 13mm;break-after:avoid}
  .mhead::after{display:none}   /* the vignette only muddies flat ink */
  .mhead .mcrest{width:17mm}
  .mhead .mwm{font-size:19pt;margin-top:5mm}
  .mhead .mrule{width:44mm;margin-top:3.5mm}
  .mhead h1{font-size:30pt;margin-top:5mm}
  .mhead .msub{font-size:8pt;margin-top:4.5mm}

  /* ---- groups ---- */
  /* keep a section whole where it fits; Chrome falls back to splitting
     the ones that are taller than a page */
  .dgroup{max-width:none;padding:7mm 14mm 0;break-inside:avoid}
  .dgroup:first-of-type{padding-top:8mm}
  .dgroup-t{margin-bottom:5mm;break-after:avoid}
  .dgroup-t span{font-size:16pt}

  /* multicol fragments across pages cleanly; a grid does not. Leave the fill
     balanced — column-fill:auto runs each section down one full column first
     and turns a four-page menu into five. */
  .dcols{display:block;column-count:2;column-gap:9mm}
  .dblock+.dblock{margin-top:6mm}
  .dbh{margin-bottom:2.5mm}
  .dbh h2{font-size:11pt}
  .dbh .meas{font-size:6.5pt}

  /* ---- items ---- */
  .dl li{padding:1.5mm 0;break-inside:avoid}
  .dl .n{font-size:9.5pt}
  .dl .p{font-size:9pt}
  .dl .d{font-size:7.2pt;line-height:1.5;margin-top:.5mm}
  .dl .ct{font-size:5.5pt}
  .dl.tight li{padding:1mm 0}
  .dl.tight .n{font-size:9pt}
  .dnote{font-size:7.5pt;margin-top:5mm}

  /* ---- small print closes the document; the buttons go with the screen ---- */
  .mfoot{display:block;padding:8mm 14mm 0;margin-top:8mm;break-inside:avoid}
  .mfoot .mcrest{width:12mm;margin:0 auto 4mm}
  .mfoot p{font-size:7pt;line-height:1.7;letter-spacing:.06em;text-transform:none}
  .mfoot p+p{margin-top:2mm}
}
