/* Lora & Vine Tokyo
   Warm paper and plum, from the brand's first page. One serif carries the voice; a quiet sans is used
   for small labels, forms and the calendar. Calm, roomy sections: one idea each. */

@font-face {
  font-family: "LV Serif";
  src: url("../fonts/lv-serif.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "LV Serif";
  src: url("../fonts/lv-serif-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --mist: #f7f3ed;        /* page */
  --paper: #fffaf5;       /* cards, form fields */
  --sand: #e8dfd5;        /* picture panels */
  --blush: #ece4e6;       /* call-to-action band */
  --ink: #292625;
  --ink-2: #6b625f;       /* muted text, 5:1 on --mist */
  --rule: rgb(41 38 37 / 0.16);
  --koshu: #c9b4bd;       /* soft mauve accents */
  --berry: #65415a;       /* plum: links, buttons, selected dates */
  --berry-deep: #4e3046;
  --berry-wash: rgb(101 65 90 / 0.08);
  --ok: #2f6b4f;
  --ok-bg: #e7f1ec;
  --warn: #8a5a12;
  --warn-bg: #f6ead2;
  --err: #a3271f;
  --err-bg: #f8e9e7;

  --serif: "LV Serif", Georgia, "Times New Roman", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Noto Sans JP", Roboto, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.35rem;
  --step-2: 1.7rem;
  --step-3: clamp(2rem, 1.5rem + 2vw, 2.9rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.4vw, 4.5rem);

  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --wide: 70rem;
  --measure: 38rem;
  --radius: 6px;
  --radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--step-0);
  line-height: 1.7;
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
/* <picture> only chooses the file: the img inside is laid out as if the picture were not there. */
picture { display: contents; }
/* Focal point from the media library (View::picture()): kept in view when object-fit crops the picture. */
img { object-position: var(--fx, 50%) var(--fy, 50%); }
.fx-0 { --fx: 0%; } .fx-10 { --fx: 10%; } .fx-20 { --fx: 20%; } .fx-30 { --fx: 30%; } .fx-40 { --fx: 40%; } .fx-60 { --fx: 60%; } .fx-70 { --fx: 70%; } .fx-80 { --fx: 80%; } .fx-90 { --fx: 90%; } .fx-100 { --fx: 100%; }
.fy-0 { --fy: 0%; } .fy-10 { --fy: 10%; } .fy-20 { --fy: 20%; } .fy-30 { --fy: 30%; } .fy-40 { --fy: 40%; } .fy-60 { --fy: 60%; } .fy-70 { --fy: 70%; } .fy-80 { --fy: 80%; } .fy-90 { --fy: 90%; } .fy-100 { --fy: 100%; }
a { color: var(--berry); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--berry-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-weight: 400; line-height: 1.12; margin: 0 0 0.55em; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: var(--step-4); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 0.5rem; background: var(--paper); padding: 0.5rem 0.75rem; z-index: 10; }
/* hidden always hides, whatever display a class gives the element (buttons are inline-flex). */
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--wide), 100% - 2 * var(--gutter)); margin-inline: auto; }
.measure { max-width: var(--measure); }
.section { padding-block: clamp(3rem, 1.75rem + 4vw, 5.5rem); }
main > .section + .section { border-top: 1px solid var(--rule); }
.section-head { max-width: 40rem; margin-bottom: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head > :last-child { margin-bottom: 0; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.small { font-family: var(--sans); font-size: var(--step--1); line-height: 1.5; }

/* Small spaced capitals above a heading */
.eyebrow { font: 600 0.7rem/1.4 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--berry); margin: 0 0 1.1rem; }

/* Staging banner, added by lib.js on staging.* and local hosts */
.staging-bar { background: #ffe9a8; color: #3a2c00; font: 600 0.8rem/1.4 var(--sans); text-align: center; padding: 0.35rem var(--gutter); }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; flex-wrap: wrap; padding-block: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 1.75rem; height: 2.3rem; flex: none; color: var(--berry); }
.brand-name { font-family: var(--serif); font-size: 1.2rem; letter-spacing: 0.11em; text-transform: uppercase; line-height: 1.1; white-space: nowrap; }
.brand-name span { display: block; margin-top: 0.3rem; font: 600 0.55rem/1 var(--sans); letter-spacing: 0.42em; color: var(--berry); text-align: center; }
.nav { display: flex; gap: 0.25rem 1.75rem; flex-wrap: wrap; font: 500 0.8rem/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.nav a { color: var(--ink-2); text-decoration: none; padding-block: 0.85rem; border-bottom: 1px solid transparent; white-space: nowrap; }
/* Phones: the menu is one row under the logo (five links fit at 360px); on a narrower screen it scrolls sideways
   rather than wrapping a lone link onto a second row. */
@media (max-width: 47.99rem) {
  .site-header .wrap { padding-block: 0.9rem 0; row-gap: 0.15rem; }
  .nav { width: 100%; flex-wrap: nowrap; justify-content: space-between; gap: 0 1rem; font-size: 0.75rem; letter-spacing: 0.1em; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
}
@media (max-width: 22.5rem) { .nav { gap: 0 0.6rem; font-size: 0.72rem; letter-spacing: 0.05em; } } /* all five still fit at 320px */
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--berry); }

/* Buttons and arrow links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.8rem 1.6rem;
  font: 600 0.78rem/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 999px; border: 1px solid var(--berry);
  background: var(--berry); color: #fff; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn:hover { background: var(--berry-deep); border-color: var(--berry-deep); color: #fff; text-decoration: none; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn-quiet { background: transparent; color: var(--berry); }
.btn-quiet:hover { background: var(--berry-wash); color: var(--berry-deep); }
.btn-block { width: 100%; }
.btn .spinner { width: 1em; height: 1em; border: 2px solid rgb(255 255 255 / 0.45); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.arrow-link { font: 600 0.78rem/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--berry); text-decoration: none; }
/* Small text links get a taller tap area (WCAG 2.2 target size) without moving anything around them. */
a.arrow-link { display: inline-block; padding-block: 0.625rem; margin-block: -0.625rem; }
.arrow-link::after { content: "\2192"; display: inline-block; margin-left: 0.5em; transition: transform 0.2s ease; }
a.arrow-link:hover::after, .card:hover .arrow-link::after { transform: translateX(4px); }
.block-actions { margin-top: 2rem; }

/* Hero */
.hero { padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); } /* the next section adds its own space */
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 4.5rem; } }
.hero h1 { max-width: 15ch; }
/* Tasting names run longer than the home page's line: a little smaller and wider, so no word sits alone on a line. */
.tasting-hero h1 { max-width: 18ch; font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4rem); }
.hero .lead { max-width: 32rem; margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; }
.hero-visual { margin: 0; position: relative; }
.hero-visual figcaption { margin-top: 1rem; font-style: italic; color: var(--ink-2); text-align: center; }

/* The flight: five glasses seen from above, lightest to deepest, on a sand panel with soft rings */
.flight { background: var(--sand); border-radius: var(--radius-lg); padding: clamp(2.5rem, 2rem + 4vw, 5rem) clamp(1.25rem, 1rem + 2vw, 2.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); overflow: hidden; isolation: isolate; }
.flight::before, .flight::after { content: ""; position: absolute; left: 50%; top: 45%; translate: -50% -50%; border: 1px solid rgb(101 65 90 / 0.18); border-radius: 50%; z-index: -1; }
.flight::before { width: min(26rem, 95%); aspect-ratio: 1; }
.flight::after { width: min(20rem, 72%); aspect-ratio: 1; }
.flight ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(0.4rem, 1.5vw, 1rem); }
.flight li { display: grid; justify-items: center; gap: 0.6rem; font: 500 0.8rem/1 var(--sans); color: var(--ink-2); }
.flight svg { width: 100%; max-width: 6rem; height: auto; filter: drop-shadow(0 10px 10px rgb(48 31 43 / 0.08)); }
.flight figcaption { color: #5d4c50; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); background: var(--sand); }

/* Key facts */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: clamp(2.5rem, 2rem + 2vw, 4rem) 0 0; border-bottom: 1px solid var(--rule); }
.facts div { padding: 1.1rem 1rem 1.1rem 0; border-top: 1px solid var(--rule); }
.facts div:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--rule); }
@media (min-width: 48rem) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts div + div { border-left: 1px solid var(--rule); padding-left: 1.25rem; }
}
.facts dt { font: 600 0.68rem/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 0.35rem; }
.facts dd { margin: 0; font-size: var(--step-1); line-height: 1.3; }

/* Calendar: month grid of dates; choosing one opens its details beside (or below) the calendar */
.calendar { display: grid; gap: 1.5rem; }
@media (min-width: 56rem) {
  .calendar.is-ready { grid-template-columns: minmax(0, 25rem) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
  .calendar.is-ready > .cal { position: sticky; top: 1.5rem; } /* stays beside a long list of dates */
}
.cal { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: clamp(1rem, 0.8rem + 1vw, 1.5rem); font-family: var(--sans); }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 1rem; }
.cal-head h3 { font-family: var(--serif); font-size: var(--step-1); margin: 0; }
.cal-nav { display: flex; gap: 0.35rem; }
.cal-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule); background: transparent; color: var(--ink); font: 1.1rem/1 var(--sans); cursor: pointer; }
.cal-nav button:hover:not(:disabled) { border-color: var(--berry); color: var(--berry); }
.cal-nav button:disabled { opacity: 0.3; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.2rem; text-align: center; }
.cal-dow { font: 600 0.65rem/2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
/* A fixed row height, not square cells: a full-width calendar on a tablet would otherwise be 650px tall. */
.cal-cell { height: clamp(2.75rem, 2.3rem + 1.6vw, 3.25rem); display: grid; place-items: center; font-size: 0.95rem; color: #a59c99; position: relative; }
.cal-cell.is-today::before { content: ""; position: absolute; bottom: 14%; width: 4px; height: 4px; border-radius: 50%; background: var(--ink-2); }
.cal-day { width: 100%; max-width: 3rem; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--berry); background: transparent; color: var(--berry); font: 600 0.95rem/1 var(--sans); cursor: pointer; position: relative; transition: background-color 0.15s ease, color 0.15s ease; }
.cal-day:hover { background: var(--berry-wash); }
.cal-day.is-few::after { content: ""; position: absolute; top: 8%; right: 8%; width: 7px; height: 7px; border-radius: 50%; background: #c0793a; border: 1.5px solid var(--paper); }
.cal-day.is-full, .cal-day.is-closed { border-style: dashed; border-color: #b9aeb4; color: #8e8388; }
.cal-day.is-full { text-decoration: line-through; }
.cal-day[aria-pressed="true"] { background: var(--berry); border-style: solid; border-color: var(--berry); color: #fff; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin: 1rem 0 0; padding: 0.9rem 0 0; border-top: 1px solid var(--rule); list-style: none; font-size: 0.8rem; color: var(--ink-2); }
.cal-legend li { display: inline-flex; align-items: center; gap: 0.45rem; }
.cal-legend span { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--berry); }
.cal-legend .lg-few { position: relative; }
.cal-legend .lg-few::after { content: ""; position: absolute; top: -3px; right: -3px; width: 7px; height: 7px; border-radius: 50%; background: #c0793a; }
.cal-legend .lg-full { border-style: dashed; border-color: #b9aeb4; }
.cal-legend .lg-selected { background: var(--berry); }

.cal-detail:focus { outline: none; }
.cal-hint { font-family: var(--sans); color: var(--ink-2); padding: 1.5rem 0; }
.cal-session { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); animation: rise 0.25s ease; }
.cal-session + .cal-session { margin-top: 1rem; }
@keyframes rise { from { transform: translateY(6px); } to { transform: none; } }
.cal-session .when { font: 600 0.7rem/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--berry); margin-bottom: 0.75rem; }
.cal-session h3 { font-size: var(--step-2); margin-bottom: 0.4rem; }
.cal-session .summary { color: var(--ink-2); }
.cal-session dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 0.75rem 1.5rem; margin: 1.25rem 0 1.5rem; padding: 1rem 0; border-block: 1px solid var(--rule); font-family: var(--sans); }
.cal-session dt { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }
.cal-session dd { margin: 0.15rem 0 0; font-size: 1rem; }
.cal-session .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.cal-session .status-note { font-family: var(--sans); color: var(--ink-2); margin: 0; }

/* Dates list: the calendar's no-JavaScript fallback */
.dates { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.date-row { display: grid; grid-template-columns: 4.5rem 1fr; gap: 0.25rem 1.25rem; padding-block: 1.4rem; border-bottom: 1px solid var(--rule); align-items: center; }
@media (min-width: 48rem) { .date-row { grid-template-columns: 6rem 1fr auto; gap: 1.5rem; } }
.date-day { font-size: 2.6rem; line-height: 1; grid-row: span 2; }
.date-day small { display: block; font: 500 0.8rem/1.3 var(--sans); color: var(--ink-2); margin-top: 0.35rem; }
@media (min-width: 48rem) { .date-day { grid-row: auto; } }
.date-main h3 { margin: 0 0 0.15rem; font-size: var(--step-1); }
.date-main p { margin: 0; font-family: var(--sans); font-size: 0.95rem; color: var(--ink-2); }
.date-status { font-family: var(--sans); font-size: 0.95rem; grid-column: 2; margin: 0; }
@media (min-width: 48rem) { .date-status { grid-column: auto; text-align: right; } }

/* Notices */
.notice { border-radius: var(--radius); padding: 1rem 1.15rem; font-family: var(--sans); font-size: 0.95rem; line-height: 1.5; background: var(--paper); border: 1px solid var(--rule); }
.notice-error { background: var(--err-bg); border-color: #e7c1bc; color: #5c140f; }
.notice-ok { background: var(--ok-bg); border-color: #bcd8c9; color: #173d2c; }
.notice p:last-child { margin: 0; }

/* Two columns: text beside a list or a picture */
.split { display: grid; gap: 2.5rem; }
@media (min-width: 56rem) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 4.5rem; align-items: start; } }
.block-image-text .split { align-items: center; }
@media (min-width: 56rem) { .block-image-text .split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
@media (min-width: 56rem) { .split-reverse > :first-child { order: 2; } }
/* With the picture on the right, the narrower column moves right with it: the text stays the wider column. */
@media (min-width: 56rem) { .block-image-text .split-reverse { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }

.evening { list-style: none; margin: 0; padding: 0; }
.evening li { padding: 1.1rem 0 1.1rem 1.75rem; border-bottom: 1px solid var(--rule); position: relative; }
.evening li::before { content: ""; position: absolute; left: 0; top: 1.75rem; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--koshu); }
.evening li:last-child { border-bottom: 0; }

.portrait { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: var(--radius-lg); background: var(--sand); }
.credential { font: 600 0.72rem/1.6 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }

.practical { display: grid; gap: 0; margin: 0; }
@media (min-width: 48rem) { .practical { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
.practical div { padding-block: 1.1rem; border-bottom: 1px solid var(--rule); }
.practical dt { font-weight: 600; }
.practical dd { margin: 0.2rem 0 0; color: var(--ink-2); }
.practical dd p:last-child, .table td p:last-child { margin-bottom: 0; }
.after { margin-top: 2rem; }

/* Picture cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
@media (min-width: 40rem) { .cards { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); } }
.card { position: relative; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.card img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; background: var(--sand); transition: transform 0.5s ease; }
.card:hover img { transform: scale(1.03); }
.card-body { padding: 1.4rem 1.5rem 1.6rem; display: grid; gap: 0.5rem; }
.card h3 { margin: 0; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card is the link */
.card:hover h3 a { color: var(--berry); }
.card p { margin: 0; color: var(--ink-2); }
/* The Tastings page (/tastings): the same cards, with h2 titles (the page has its own h1) and the next date. */
/* auto-fill, not auto-fit: with one or two tastings the cards keep their size instead of filling the row. */
@media (min-width: 40rem) { .tastings-index .cards { grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); } }
.card .card-title { font-size: var(--step-1); letter-spacing: -0.01em; margin: 0; }
.card .card-title a { color: var(--ink); text-decoration: none; }
.card .card-title a::after { content: ""; position: absolute; inset: 0; }
.card:hover .card-title a { color: var(--berry); }
.card .card-next { font: 600 0.82rem/1.4 var(--sans); color: var(--berry); }
/* Breadcrumbs: one quiet line; links keep a 24px tap area without changing the line's height. */
.crumbs { font: 0.82rem/1.4 var(--sans); color: var(--ink-2); margin: 0 0 0.6rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.crumbs li + li::before { content: "›"; margin: 0 0.45rem; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); display: inline-block; padding-block: 0.4rem; margin-block: -0.4rem; }

/* Highlights */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 40rem) { .features { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); } }
.features li { border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 1.75rem 1.5rem; }
.features .number { font-size: 1.4rem; color: var(--berry); }
.features h3 { margin: 1rem 0 0.4rem; }
.features p { margin: 0; color: var(--ink-2); font-size: 1rem; }

/* Guest quotes */
.quotes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .quotes { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); } }
.quotes figure { margin: 0; height: 100%; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 1.75rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; }
.quotes blockquote { margin: 0; font-size: var(--step-1); font-style: italic; line-height: 1.5; }
.quotes blockquote p { margin: 0; }
.quotes figcaption { font: 600 0.72rem/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }

/* Call to action band */
.cta { background: var(--blush); border-radius: var(--radius-lg); padding: clamp(2.75rem, 2rem + 4vw, 4.5rem) clamp(1.25rem, 1rem + 3vw, 3rem); text-align: center; }
.cta h1, .cta h2 { max-width: 20ch; margin-inline: auto; }
.cta p { color: var(--ink-2); max-width: 34rem; margin-inline: auto; }
.cta .block-actions { margin-top: 1.75rem; }
main > .section + .block-cta { border-top: 0; padding-top: 0; }

/* FAQ */
.faq { max-width: 50rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 1.2rem 2.5rem 1.2rem 0; font-size: var(--step-1); line-height: 1.35; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 1.05rem; font-family: var(--sans); font-size: 1.4rem; color: var(--berry); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding-bottom: 1.25rem; color: var(--ink-2); max-width: var(--measure); }

/* Booking page */
.back { font: 600 0.75rem/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; display: inline-block; padding-block: 0.625rem; margin: -0.625rem 0 1.125rem; text-decoration: none; }
.back::before { content: "\2190"; margin-right: 0.5em; }
/* Phones: title, date, facts and summary, then the form, then the description and photos, so the form is
   near the top. Wider: the form sits beside them and stays in view (session.php). */
.session-page { padding-top: clamp(1.25rem, 0.5rem + 3vw, 3rem); }
.session-page .back { margin-bottom: 0.475rem; }
.session-head h1 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.2rem); margin-bottom: 0.4rem; }
.session-head .meta { font-family: var(--sans); color: var(--ink-2); margin-bottom: 1rem; }
.session-head .chips { margin: 0 0 1rem; }
.session-summary { margin: 0; color: var(--ink-2); max-width: var(--measure); }
.session-grid { display: grid; gap: 2rem; grid-template-areas: "head" "card" "about" "photos"; }
.session-head { grid-area: head; }
.booking-card { grid-area: card; }
.session-about { grid-area: about; }
.session-photos { grid-area: photos; }
@media (min-width: 60rem) {
  .session-grid { grid-template-columns: minmax(0, 1fr) 26rem; grid-template-rows: auto auto 1fr; grid-template-areas: "head card" "photos card" "about card"; gap: 2.5rem 4rem; align-items: start; }
  .booking-card { position: sticky; top: 1.5rem; }
  .session-summary { font-size: var(--step-1); line-height: 1.55; }
}
.fold > summary { cursor: pointer; list-style: none; font-size: var(--step-1); padding: 0.85rem 2.5rem 0.85rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); position: relative; min-height: 44px; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.7rem; font-family: var(--sans); font-size: 1.4rem; color: var(--berry); }
.fold[open] > summary { border-bottom: 0; margin-bottom: 0.5rem; }
.fold[open] > summary::after { content: "\2212"; }
.session-about .prose { font-size: 1rem; }
#booking-area { scroll-margin-top: 1.5rem; }
.booking-card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 1vw, 1.9rem); }
.booking-card h2 { font-size: var(--step-2); margin-bottom: 0.3rem; }
.price-line { font-family: var(--sans); margin-bottom: 1.25rem; color: var(--ink-2); }
.price-line strong { color: var(--ink); font-size: 1.15rem; }

/* Forms */
.field { margin-bottom: 1.15rem; }
.field label, .field legend { display: block; font: 600 0.9rem/1.4 var(--sans); margin-bottom: 0.35rem; padding: 0; }
.field .hint { font: 0.85rem/1.45 var(--sans); color: var(--ink-2); margin: -0.15rem 0 0.45rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="password"], .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.85rem;
  font: 1rem/1.4 var(--sans); color: var(--ink);
  background: #fff; border: 1px solid #b3a9a6; border-radius: var(--radius);
}
.field textarea { min-height: 5.5rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid rgb(101 65 90 / 0.22); outline-offset: 0; border-color: var(--berry); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--err); border-width: 2px; }
.booking-card .notice { margin-bottom: 1.15rem; }
.field-error { font: 600 0.85rem/1.4 var(--sans); color: var(--err); margin-top: 0.35rem; }
.field-error:empty { display: none; }
.optional { font-weight: 400; color: var(--ink-2); }

.stepper { display: inline-grid; grid-template-columns: 48px 4rem 48px; border: 1px solid #b3a9a6; border-radius: 999px; overflow: hidden; background: #fff; }
.stepper button { border: 0; background: var(--mist); font: 600 1.3rem/1 var(--sans); color: var(--ink); cursor: pointer; min-height: 48px; }
.stepper button:hover { background: var(--sand); }
.stepper button:disabled { color: #b8b0ad; cursor: not-allowed; }
.stepper input { border: 0; text-align: center; font: 600 1.1rem/1 var(--sans); width: 100%; -moz-appearance: textfield; background: #fff; color: var(--ink); }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.field .check { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.6rem; align-items: start; font: 0.95rem/1.45 var(--sans); margin-bottom: 0.8rem; }
.field .check input { width: 1.25rem; height: 1.25rem; margin: 0.12rem 0 0; accent-color: var(--berry); }
.questions { border-top: 1px solid var(--rule); padding-top: 1rem; margin-top: 0.4rem; }
.questions h3, .checkout h3 { font: 600 0.95rem/1.3 var(--sans); margin: 0 0 0.8rem; }
.choices { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices .check { min-height: 44px; align-items: center; margin-bottom: 0; }
.choices .check input { margin: 0; }
.choices[aria-invalid="true"] .check input { outline: 2px solid var(--err); outline-offset: 1px; }
.link-button { background: none; border: 0; padding: 0.6rem 0; min-height: 44px; font: 600 0.9rem/1.4 var(--sans); color: var(--berry); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
/* Promo code: a quiet link that opens a code field and Apply, joined as one control (same height and corners). */
.promo { border-top: 1px solid var(--rule); padding-top: 0.35rem; margin: 0.4rem 0 1.25rem; }
.promo > .link-button { display: flex; align-items: center; padding: 0; }
.promo-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem; align-items: stretch; margin-top: 0.15rem; }
.promo-row input { text-transform: uppercase; letter-spacing: 0.04em; }
.promo-row input::placeholder { text-transform: none; letter-spacing: 0; }
.promo-row .btn { min-height: 48px; height: 100%; border-radius: var(--radius); padding-inline: 1.25rem; }
.promo-status { font: 0.9rem/1.45 var(--sans); color: var(--ok); margin: 0.5rem 0 0; }
.promo-status.is-note { color: var(--ink-2); }
.promo-status:empty { display: none; }
.promo-status .link-button { min-height: 0; padding: 0; margin-left: 0.25rem; }
.booking-card #form-error .form-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.checkout { background: var(--mist); border-radius: var(--radius); padding: 1rem 1.1rem; margin: 0.4rem 0 1.25rem; font: 0.9rem/1.45 var(--sans); }
.checkout dl { margin: 0; display: grid; gap: 0.55rem; }
.checkout dt { color: var(--ink-2); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.checkout dd { margin: 0.1rem 0 0; }
.form-foot { font: 0.85rem/1.5 var(--sans); color: var(--ink-2); margin: 0.85rem 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.confirm h2 { font-size: var(--step-2); }
.confirm dl { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1rem; font-family: var(--sans); font-size: 0.95rem; margin: 1rem 0 1.25rem; }
.confirm dt { color: var(--ink-2); }
.confirm dd { margin: 0; font-weight: 600; }
.confirm-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin: 0 0 1.25rem; font-family: var(--sans); font-size: 0.95rem; }
.confirm-links a { display: inline-block; padding-block: 0.6rem; }
.ref { font: 700 1.25rem/1 var(--sans); letter-spacing: 0.06em; }

/* Long text */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2em; font-size: var(--step-2); }
/* A section's own heading keeps full size; only headings inside the text are smaller. */
.prose > h2:first-child, .prose > .eyebrow + h2 { font-size: var(--step-3); margin-top: 0; }
.prose > h1 + h2, .prose > .lead + h2, .prose > .credential + h2 { margin-top: 0.5em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4em; }
.table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 0.95rem; }
.table th, .table td { text-align: left; vertical-align: top; padding: 0.85rem 0.75rem 0.85rem 0; border-bottom: 1px solid var(--rule); }
.table th { width: 38%; font-weight: 600; }
.fill { background: #fff0c2; padding: 0 0.2em; border-radius: 3px; }

/* Tasting page */
.tasting-hero .hero-photo img { aspect-ratio: 4 / 5; }
.included h2 { font-size: var(--step-2); }
@media (min-width: 56rem) { .tasting-about .split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.timeline-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.timeline-head h2 { margin: 0; }
.timeline-nav { display: flex; gap: 0.5rem; }
.timeline-nav[hidden] { display: none; }
.timeline-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font: 1.1rem/1 var(--sans); cursor: pointer; }
.timeline-btn:hover:not(:disabled) { border-color: var(--berry); color: var(--berry); }
.timeline-btn:disabled { opacity: 0.3; cursor: default; }
/* Full width, but the first step lines up with the page's text column. */
.timeline-scroller {
  --edge: max(var(--gutter), (100% - var(--wide)) / 2);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); overscroll-behavior-x: contain;
  scrollbar-width: thin; scrollbar-color: var(--koshu) transparent; cursor: grab;
}
.timeline-scroller:focus-visible { outline-offset: -3px; }
.timeline-scroller.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.timeline-scroller.is-dragging * { pointer-events: none; }
.timeline { --gap: clamp(1.25rem, 1rem + 1.5vw, 2rem); list-style: none; margin: 0; padding: 0 var(--edge) 1.5rem; display: flex; gap: var(--gap); width: max-content; }
.timeline-step { width: clamp(15.5rem, 78vw, 22rem); scroll-snap-align: start; position: relative; }
/* The line the steps hang from: each step draws its part, up to the next step's marker. */
.timeline-step:not(:last-child)::before { content: ""; position: absolute; left: 0.4rem; right: calc(-1 * var(--gap)); top: 0.95rem; border-top: 1px solid var(--koshu); }
.timeline-marker { margin: 0 0 1.1rem; display: flex; align-items: center; gap: 0.6rem; }
.timeline-marker::before { content: ""; width: 0.8rem; height: 0.8rem; margin: 0.55rem 0; border-radius: 50%; background: var(--berry); box-shadow: 0 0 0 5px var(--mist); flex: none; position: relative; }
.timeline-time { font: 600 0.75rem/1.9 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--berry); background: var(--mist); padding-right: 0.5rem; position: relative; }
.timeline-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); background: var(--sand); margin-bottom: 1rem; -webkit-user-drag: none; }
.timeline-step h3 { margin: 0 0 0.35rem; }
.timeline-step p { margin: 0; color: var(--ink-2); }
.timeline-progress { height: 2px; background: var(--rule); border-radius: 2px; overflow: hidden; margin-top: 0.5rem; }
.timeline-progress[hidden] { display: none; }
.timeline-progress span { display: block; height: 100%; width: 100%; background: var(--berry); transform-origin: left; transform: scaleX(var(--progress, 0)); transition: transform 0.15s linear; }
.chips { list-style: none; margin: -0.5rem 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { font: 0.85rem/1.3 var(--sans); background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; padding: 0.4rem 0.85rem; }
.chips b { font-weight: 600; color: var(--ink-2); margin-right: 0.25em; }

/* Gallery (gallery.php, gallery.js). Phones: a swipe carousel. Wider: one large tile and up to four small. */
.gallery { position: relative; }
/* "About this tasting" on phones: tighter than the long text elsewhere, at the size chosen in
   Settings > Tasting text (data-text-size). Computers keep the full size. */
@media (max-width: 47.99rem) {
  .tasting-about, .session-about { --about-size: 1rem; }
  [data-text-size="small"] { --about-size: 0.9375rem; }
  [data-text-size="large"] { --about-size: var(--step-0); }
  .tasting-about { padding-block: 2.75rem; }
  .tasting-about .split { gap: 2rem; }
  .tasting-about .prose, .tasting-about .evening, .session-about .prose { font-size: var(--about-size); line-height: 1.6; }
  .tasting-about h2, .tasting-about .prose > h2:first-child { font-size: 1.55rem; margin-bottom: 0.45em; }
  .tasting-about .evening li { padding-block: 0.7rem; }
  .tasting-about .evening li::before { top: calc(0.7rem + 0.8em - 0.275rem); } /* centred on the first line */
}
/* "Good to know": the heading and its short list sit close on phones. */
@media (max-width: 55.99rem) { .tasting-things .split { gap: 0.25rem; } }
.tasting-gallery { padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.gallery-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.gallery-item figure { margin: 0; height: 100%; }
.gallery-open { display: block; height: 100%; border-radius: var(--radius); }
.gallery-media { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); background: var(--sand); }
.gallery figcaption { font: 0.85rem/1.45 var(--sans); color: var(--ink-2); padding-top: 0.45rem; }
.gallery-counter { position: absolute; top: 0.75rem; left: 0.75rem; margin: 0; padding: 0.3rem 0.65rem; border-radius: 999px; background: rgb(41 38 37 / 0.72); color: #fff; font: 600 0.75rem/1.2 var(--sans); pointer-events: none; }
@media (max-width: 47.99rem) {
  .gallery-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .gallery-list::-webkit-scrollbar { display: none; }
  .gallery-item { flex: 0 0 88%; scroll-snap-align: start; } /* the next one peeks in: there is more to swipe */
  .gallery[data-count="1"] .gallery-item { flex-basis: 100%; }
  .gallery-media { aspect-ratio: 4 / 3; height: auto; }
  .gallery-all { display: none; }
}
@media (min-width: 48rem) {
  .gallery-list { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: clamp(9rem, 12vw, 13rem); }
  .gallery-item.is-lead { grid-row: span 2; }
  .gallery-item.is-extra { display: none; }
  #photos:target .gallery-item.is-extra { display: block; } /* "Show all" without JavaScript */
  .gallery figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .gallery-counter { display: none; }
  .gallery .video-frame { height: 100%; }
  .gallery-all { position: absolute; right: 0.75rem; bottom: 0.75rem; background: var(--paper); }
  .gallery[data-count="1"] .gallery-list { grid-template-columns: 1fr; grid-auto-rows: clamp(16rem, 32vw, 30rem); }
  .gallery[data-count="2"] .gallery-list { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(14rem, 24vw, 22rem); }
  .gallery[data-count="1"] .is-lead, .gallery[data-count="2"] .is-lead { grid-row: auto; }
  .gallery[data-count="3"] .gallery-list { grid-template-columns: 2fr 1fr; }
  .gallery[data-count="4"] .gallery-item:nth-child(4) { grid-column: span 2; }
}

/* Videos: a pause/play button on every video that plays by itself, and "open larger" in galleries. */
.video-frame { position: relative; }
.video-toggle, .video-expand { position: absolute; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(41 38 37 / 0.72); color: #fff; font: 600 0.85rem/1 var(--sans); cursor: pointer; display: grid; place-items: center; }
.video-toggle:hover, .video-expand:hover { background: var(--berry); }
.video-toggle { left: 0.6rem; bottom: 0.6rem; }
.video-expand { right: 0.6rem; top: 0.6rem; font-size: 1.1rem; }
.hero-video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); background: var(--sand); }

/* Full-screen viewer */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(22 18 20 / 0.96); color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgb(22 18 20 / 0.9); }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
html:has(.lightbox[open]) { overflow: hidden; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0.75rem 0.6rem 1.25rem; }
.lb-counter { margin: 0; font: 600 0.85rem/1 var(--sans); letter-spacing: 0.08em; }
.lb-stage { display: grid; place-items: center; min-height: 0; padding: 0 3.75rem; touch-action: pan-y; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: calc(100dvh - 8.5rem); width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lb-close, .lb-nav { width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.12); color: #fff; font: 400 1.9rem/1 var(--sans); cursor: pointer; display: grid; place-items: center; }
.lb-close:hover, .lb-nav:hover { background: rgb(255 255 255 / 0.24); }
.lb-close:focus-visible, .lb-nav:focus-visible { outline-color: #fff; }
.lb-nav { position: absolute; top: 50%; translate: 0 -50%; }
.lb-prev { left: 0.5rem; }
.lb-next { right: 0.5rem; }
.lb-caption { margin: 0; padding: 0.75rem 1.25rem 1.25rem; text-align: center; font: 0.95rem/1.5 var(--sans); color: #ece6e8; }
@media (max-width: 40rem) { .lb-stage { padding: 0; } .lb-nav { top: auto; bottom: 0.75rem; translate: none; } }

/* Phone booking bar (bookbar.php) */
.bookbar { position: fixed; inset: auto 0 0 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--rule); box-shadow: 0 -6px 20px rgb(41 38 37 / 0.08); font-family: var(--sans); }
.bookbar[hidden] { display: none; }
.bookbar p { margin: 0; font-size: 0.85rem; line-height: 1.35; color: var(--ink-2); }
.bookbar strong { color: var(--ink); font-size: 1.05rem; }
.bookbar .btn { flex: none; }
@media (min-width: 60rem) { .bookbar { display: none !important; } }
body:has(.bookbar:not([hidden])) .site-footer { padding-bottom: 6rem; }
@media (max-width: 59.99rem) { html:has(.bookbar:not([hidden])) { scroll-padding-bottom: 6rem; } } /* a focused link is never hidden behind the bar */

/* Calendar card picture */
.cal-cover { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--sand); margin-bottom: 1.1rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding-block: 3.5rem 2.5rem; font-family: var(--sans); font-size: 0.92rem; color: var(--ink-2); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.site-footer h2 { font: 600 0.68rem/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: var(--ink); text-decoration-color: var(--rule); }
.brand-footer { margin-bottom: 0.9rem; }
.copyright { margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); font-size: 0.8rem; letter-spacing: 0.03em; }
.copyright + .drinking-age { margin-top: 0.35rem; padding-top: 0; border-top: 0; } /* one block with the line above it */

@media print {
  .site-header, .site-footer, .staging-bar, .no-print { display: none !important; }
  body { background: #fff; font-size: 11pt; }
}

/* Manage booking (manage.php), the waitlist on a full date (session.php) and the enquiry form (blocks/enquiry.php). */
.wrap.narrow { width: min(40rem, 100% - 2 * var(--gutter)); }
.manage-page h1 { font-size: var(--step-3); }
.manage-details { margin: 1.5rem 0; padding: 0; display: grid; gap: 0.9rem; font-family: var(--sans); border-top: 1px solid var(--rule); padding-top: 1.25rem; }
.manage-details dt { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.manage-details dd { margin: 0.15rem 0 0; }
.manage-cancel { border-top: 1px solid var(--rule); margin-top: 2rem; padding-top: 1.5rem; font-family: var(--sans); }
.manage-cancel h2 { font-size: var(--step-1); }
.manage-cancel .form-actions, .waitlist .form-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.btn-danger { background: var(--err); border-color: var(--err); color: #fff; }
.btn-danger:hover { background: #7f1d17; border-color: #7f1d17; color: #fff; }
.waitlist { margin-top: 1rem; }
.waitlist h3 { font: 600 1rem/1.3 var(--sans); margin: 0 0 0.4rem; }
.waitlist p { font: 0.92rem/1.5 var(--sans); }
.waitlist-row { display: grid; grid-template-columns: minmax(0, 1fr) 5.5rem; gap: 0.5rem; }
.waitlist-row select { min-height: 48px; border: 1px solid #b3a9a6; border-radius: var(--radius); background: #fff; font: 1rem var(--sans); padding: 0 0.5rem; }
.enquiry-form { max-width: var(--measure); }
.enquiry-form .grid-2 { display: grid; gap: 0 1rem; }
@media (min-width: 40rem) { .enquiry-form .grid-2 { grid-template-columns: 1fr 1fr; } }
.enquiry-form input[type="number"] { width: 100%; min-height: 48px; padding: 0.7rem 0.85rem; font: 1rem/1.4 var(--sans); background: #fff; border: 1px solid #b3a9a6; border-radius: var(--radius); }

/* ---------- The Journal (ROADMAP Phase 10): the listings, the article, its sections ---------- */
.journal .section-head { max-width: 46rem; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 2rem; font: 600 0.78rem/1.3 var(--sans); }
.topic-chips a { display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0.35rem 0.95rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; }
.topic-chips a:hover { border-color: var(--berry); color: var(--berry); }
.topic-chips a[aria-current="page"] { background: var(--berry); border-color: var(--berry); color: #fff; }
.article-lead, .article-grid { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1.5rem; }
/* At most two to a row ("calm, roomy sections"); three only for the short home and tasting-page rows. */
@media (min-width: 40rem) { .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .article-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.article-card img { aspect-ratio: 3 / 2; }
@media (min-width: 52rem) {
  /* Photo and text side by side. minmax(0, …): the photo's own width can't push the text out of the card. */
  .article-card-lead { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .article-card-lead > picture { display: block; min-width: 0; }
  .article-card-lead picture img, .article-card-lead > img { width: 100%; height: 100%; object-fit: cover; }
  .article-card-lead .card-body { align-content: center; padding: 2rem; }
  .article-card-lead .card-title { font-size: var(--step-2); }
}
.article-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; margin: 0; font: 600 0.7rem/1.5 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.disclosure-label { color: var(--warn); font: 600 0.72rem/1.5 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.pagination { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; justify-content: center; margin-top: 2.5rem; font: 0.9rem/1.4 var(--sans); color: var(--ink-2); }
.pagination a { display: inline-block; padding-block: 0.6rem; }

.article { padding-top: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.article-head, .article-body, .article-end { width: min(var(--measure), 100% - 2 * var(--gutter)); margin-inline: auto; }
.article-head h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); margin-bottom: 0.4em; }
.standfirst { font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); margin: 0; }
.byline { display: flex; gap: 0.85rem; align-items: center; margin-top: 1.6rem; font: 0.85rem/1.5 var(--sans); color: var(--ink-2); }
.byline p { margin: 0; display: flex; flex-wrap: wrap; gap: 0.1rem 0.9rem; }
.byline-name { color: var(--ink); font-weight: 600; }
.byline-photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.article-cover { width: min(var(--wide), 100% - 2 * var(--gutter)); margin: clamp(2rem, 1.5rem + 2vw, 3rem) auto; }
.article-cover img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); }
.article-body { font-size: 1.125rem; line-height: 1.75; }
.article-body > h2 { font-size: var(--step-2); margin-top: 2em; }
.article-body > :first-child { margin-top: 0; }
.article-figure { margin: 2.2rem 0; }
.article-figure img { width: 100%; height: auto; border-radius: var(--radius); }
.article-figure.is-wide { width: min(60rem, calc(100vw - 2 * var(--gutter) - 1rem)); margin-left: 50%; transform: translateX(-50%); }
.article-figure figcaption { margin-top: 0.6rem; font: 0.85rem/1.5 var(--sans); color: var(--ink-2); }
.article-figure .credit { white-space: nowrap; }
.wine-note { margin: 2rem 0; padding: 1.3rem 1.4rem; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-lg); font: 0.95rem/1.55 var(--sans); }
.wine-note p { margin: 0.4rem 0 0; }
.wine-note .wine-name { margin: 0 0 0.8rem; font: var(--step-1)/1.3 var(--serif); }
.wine-note dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 0.7rem 1rem; margin: 0 0 0.6rem; }
.wine-note dt { font: 600 0.66rem/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }
.wine-note dd { margin: 0.15rem 0 0; }
.wine-where span { font-weight: 600; }
.pull-quote { margin: 2.6rem 0; padding-left: 1.25rem; border-left: 3px solid var(--koshu); }
.pull-quote p { margin: 0; font: italic var(--step-2)/1.35 var(--serif); }
.pull-quote footer { margin-top: 0.6rem; font: 0.85rem/1.4 var(--sans); color: var(--ink-2); }
.article-faq { margin-top: 2.5rem; }
.article-faq details { border-top: 1px solid var(--rule); }
.article-faq details:last-child { border-bottom: 1px solid var(--rule); }
.article-faq summary { cursor: pointer; padding: 0.95rem 0; }
.article-faq summary h3 { display: inline; margin: 0; font-size: var(--step-0); font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
.related-tasting { display: grid; gap: 1.1rem; margin: 2.5rem 0; padding: 1.25rem; background: var(--blush); border-radius: var(--radius-lg); font: 0.95rem/1.55 var(--sans); }
@media (min-width: 34rem) { .related-tasting { grid-template-columns: 11rem 1fr; align-items: center; } }
.related-tasting img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.related-tasting p { margin: 0 0 0.5rem; }
.related-tasting .related-name { font: var(--step-1)/1.3 var(--serif); }
.related-name a { color: var(--ink); }
.related-next { font-weight: 600; color: var(--berry); }
.related-tasting .btn { margin-top: 0.4rem; }
.disclosure-note { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); font: italic 0.95rem/1.6 var(--sans); color: var(--ink-2); }
.article-end { padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.share { display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; align-items: center; margin: 2.5rem 0 2rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); font: 0.9rem/1.4 var(--sans); }
.share-title { width: 100%; margin: 0; font-weight: 600; }
.share-link { display: inline-block; min-width: 2.75rem; padding: 0.55rem 0.25rem; text-align: center; }
.share-done { color: var(--ok); }
.author-card { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.3rem; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-lg); font: 0.95rem/1.55 var(--sans); }
.author-card p { margin: 0 0 0.5rem; }
.author-photo { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex: none; }
.author-card .author-name { font: var(--step-1)/1.3 var(--serif); }
.author-name a { color: var(--ink); }
.article-related { border-top: 1px solid var(--rule); }

/* Guests from abroad (ROADMAP Phase 11): their own time under a Tokyo time, and the price in their currency. */
.your-time, .fx-hint { display: block; font: 0.85rem/1.45 var(--sans); color: var(--ink-2); }
.your-time:empty, .fx-hint:empty { display: none; }
.fx-switch { margin: 0.4rem 0 1.4rem; font: 0.85rem/1.4 var(--sans); color: var(--ink-2); }
.fx-select { font: inherit; padding: 0.35rem 0.5rem; min-height: 2.25rem; border: 1px solid #b3a9a6; border-radius: var(--radius); background: var(--paper); color: var(--ink); }
@media (max-width: 47.99rem) { .fx-select { font-size: 1rem; } } /* phones zoom in on smaller fields */

/* Letters from Laura (ROADMAP Phase 12): the sign-up at the end of articles and beside LINE. */
.letters-signup { margin: 2rem 0; padding: 1.3rem; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-lg); font: 0.95rem/1.55 var(--sans); }
.letters-signup.is-compact { margin: 1rem 0 0; padding: 1rem; }
.letters-signup p { margin: 0 0 0.6rem; }
.letters-title { font: var(--step-1)/1.3 var(--serif); }
.letters-signup.is-compact .letters-title { font: 600 0.95rem/1.4 var(--sans); }
.letters-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
/* 16px text, so phones don't zoom in; the same visible border as the booking form's fields. */
.letters-row input { flex: 1 1 14rem; min-width: 0; min-height: 2.75rem; padding: 0.5rem 0.8rem; font: 1rem/1.4 var(--sans); border: 1px solid #b3a9a6; border-radius: var(--radius); background: #fff; }
.letters-done { margin-top: 0.6rem !important; color: var(--ink); }
.letters-done:empty { display: none; }
.letters-privacy { margin: 0.6rem 0 0 !important; font-size: 0.8rem; color: var(--ink-2); }
