/* ==========================================================================
   Harvest & Hearth — The Seasonal Journal
   style.css : ALL custom styles (components, season themes, animations)
   --------------------------------------------------------------------------
   1. Variables
   2. Season themes
   3. Base, paper texture and typography
   4. Editorial grid and layout
   5. Components
   6. Dashboard
   7. Animations
   8. Reduced-motion rules
   ========================================================================== */


/* ==========================================================================
   1. VARIABLES (base colors, fonts, easing)
   ========================================================================== */
:root {
  /* Paper and ink */
  --paper: #F4EFE6;
  --paper-2: #EDE5D6;
  --paper-3: #E4DAC7;
  --card: #FAF7F1;
  --ink: #2B241E;
  --ink-soft: #5A4E43;
  --ink-faint: #7A6D60;
  --rule: rgba(43, 36, 30, .18);
  --rule-strong: rgba(43, 36, 30, .42);

  /* Stable brand color: muted sage / olive */
  --sage: #6B7A58;
  --sage-deep: #4A5640;
  --sage-soft: #DCE1D0;

  /* Botanical line color */
  --line: #3B342C;

  /* Season accent (overridden in section 2) */
  --accent: #D2691E;
  --accent-ink: #A4480F;     /* accessible text version of the accent */
  --accent-2: #5B5E2A;
  --accent-soft: #F3DCC7;
  --on-accent: #FFFDF8;

  /* Shadows like printed paper */
  --shadow-paper: 0 1px 0 rgba(43, 36, 30, .05), 0 12px 30px -18px rgba(43, 36, 30, .35);
  --shadow-lift: 0 2px 0 rgba(43, 36, 30, .04), 0 28px 50px -28px rgba(43, 36, 30, .45);

  /* Fonts */
  --font-display: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --font-body: "Jost", "Futura", "Segoe UI", system-ui, sans-serif;
  --font-hand: "Caveat", "Segoe Script", cursive;

  /* Easing and timing */
  --ease-out: cubic-bezier(.22, 1, .36, 1);          /* expo-like out */
  --ease-soft: cubic-bezier(.33, 1, .68, 1);         /* power2 out */
  --ease-inout: cubic-bezier(.65, 0, .35, 1);
  --dur-hover: .35s;
  --dur-reveal: 1.1s;

  /* Layout */
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --header-h: 64px;
}


/* ==========================================================================
   2. SEASON THEMES (Spring, Summer, Autumn, Winter variables)
   ========================================================================== */
[data-season="spring"] {
  --accent: #D9809A;          /* blossom pink */
  --accent-ink: #A23F5C;
  --accent-2: #7E9B5E;        /* soft green */
  --accent-soft: #F5DDE3;
  --on-accent: #2B241E;
}
[data-season="summer"] {
  --accent: #E7B12E;          /* sunflower yellow */
  --accent-ink: #8C5E00;
  --accent-2: #C4442C;        /* tomato red */
  --accent-soft: #F7E7B8;
  --on-accent: #2B241E;
}
[data-season="autumn"] {
  --accent: #D2691E;          /* pumpkin orange */
  --accent-ink: #A4480F;
  --accent-2: #5B5E2A;        /* deep olive */
  --accent-soft: #F3DCC7;
  --on-accent: #FFFDF8;
}
[data-season="winter"] {
  --accent: #9E2A3F;          /* berry red */
  --accent-ink: #8A2236;
  --accent-2: #2F5240;        /* pine green */
  --accent-soft: #EBD3D7;
  --on-accent: #FFFDF8;
}

/* Only the botanical artwork of the active season is shown */
[data-season="spring"] [data-for-season]:not([data-for-season="spring"]),
[data-season="summer"] [data-for-season]:not([data-for-season="summer"]),
[data-season="autumn"] [data-for-season]:not([data-for-season="autumn"]),
[data-season="winter"] [data-for-season]:not([data-for-season="winter"]) {
  display: none;
}


/* ==========================================================================
   3. BASE, PAPER TEXTURE AND TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: clip;
  transition: background-color .6s var(--ease-soft), color .6s var(--ease-soft);
  -webkit-font-smoothing: antialiased;
}

/* Subtle paper grain (SVG noise) laid over everything, very light */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .32;
  mix-blend-mode: multiply;
  background-image: url("../images/paper-grain.svg");
  background-size: 260px 260px;
}

/* Keep page content above the grain layer */
body > * { position: relative; z-index: 2; }

img, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }  /* the hidden attribute always wins over component display rules */
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent-soft); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.012em;
  margin: 0;
}
h1 em, h2 em, h3 em, .display em, .serif em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent-ink);
}
p { margin: 0 0 1em; }

.display-xxl { font-size: clamp(3.4rem, 11.2vw, 11.5rem); line-height: .88; }
.display-xl  { font-size: clamp(2.8rem, 8vw, 7.6rem); line-height: .92; }
.display-l   { font-size: clamp(2.4rem, 5.6vw, 5.2rem); }
.display-m   { font-size: clamp(2rem, 3.7vw, 3.3rem); }
.display-s   { font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.15; }
.serif { font-family: var(--font-display); }
.hand  { font-family: var(--font-hand); font-weight: 500; }
.lede  { font-family: var(--font-display); font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.45; font-weight: 500; }
.muted { color: var(--ink-soft); }

/* Small uppercase label with letter spacing */
.label {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.label--accent { color: var(--accent-ink); }

/* Thin rules */
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.rule--double { border-top: 3px double var(--rule-strong); }

/* Accessibility helpers */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 9999;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem;
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
  border-radius: 2px;
}


/* ==========================================================================
   4. EDITORIAL GRID AND LAYOUT
   ========================================================================== */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(52px, 6.5vw, 100px); position: relative; overflow-x: clip; }
.section--tight { padding-block: clamp(36px, 4.5vw, 64px); }
.section--paper2 { background: var(--paper-2); }

/* 12-column editorial grid */
.ed-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(14px, 2vw, 32px); row-gap: 28px; }
.ed-grid > * { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .c-1-5 { grid-column: 1 / 6; }  .c-1-6 { grid-column: 1 / 7; } .c-1-7 { grid-column: 1 / 8; } .c-1-8 { grid-column: 1 / 9; }
  .c-6-13 { grid-column: 6 / 13; } .c-7-13 { grid-column: 7 / 13; } .c-8-13 { grid-column: 8 / 13; } .c-9-13 { grid-column: 9 / 13; }
  .c-2-12 { grid-column: 2 / 12; } .c-3-11 { grid-column: 3 / 11; } .c-2-8 { grid-column: 2 / 8; } .c-5-13 { grid-column: 5 / 13; }
  .c-1-4 { grid-column: 1 / 4; } .c-4-13 { grid-column: 4 / 13; } .c-4-10 { grid-column: 4 / 10; }
}

/* Section head: page number + label + rule, like a journal folio */
.folio {
  display: flex; align-items: baseline; gap: 14px;
  padding-bottom: 12px; margin-bottom: clamp(20px, 2.6vw, 36px);
  border-bottom: 1px solid var(--rule);
}
.folio__num { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--accent-ink); }
.folio__spacer { flex: 1; }

.caption { font-size: .8rem; color: var(--ink-faint); font-style: italic; font-family: var(--font-display); margin-top: 10px; }
.cols-2 { columns: 2 280px; column-gap: 40px; }
.dropcap::first-letter {
  float: left; font-family: var(--font-display); font-size: 4.3em; line-height: .82;
  padding: .06em .1em 0 0; color: var(--accent-ink); font-style: italic;
}


/* ==========================================================================
   5. COMPONENTS
   ========================================================================== */

/* ---------- 5.1 Buttons (ink-fill hover from the cursor side) ---------- */
.btn {
  --x: 50%; --y: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 46px; padding: .7rem 1.35rem;
  font-family: var(--font-body); font-weight: 600; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  border-radius: 2px;
  transition: color var(--dur-hover) var(--ease-soft), border-color var(--dur-hover);
}
.btn::before {
  content: ""; position: absolute; z-index: -1;
  left: var(--x); top: var(--y); width: 260%; aspect-ratio: 1;
  border-radius: 50%; background: var(--ink);
  transform: translate(-50%, -50%) scale(0);
  transition: transform .5s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translate(-50%, -50%) scale(1); }
.btn:hover, .btn:focus-visible { color: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink::before { background: var(--accent); }
.btn--ink:hover, .btn--ink:focus-visible { color: var(--on-accent); border-color: var(--accent); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--accent::before { background: var(--ink); }
.btn--accent:hover { color: var(--paper); border-color: var(--ink); }
.btn--sm { min-height: 38px; padding: .45rem .95rem; font-size: .72rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn .arrow { transition: transform var(--dur-hover) var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* Loading state */
.btn.is-loading { color: transparent !important; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--paper); border-right-color: transparent;
  animation: spin .8s linear infinite;
}

/* Text link with hand-drawn underline */
.link-draw {
  position: relative; text-decoration: none; display: inline-block; padding-bottom: 4px;
}
.link-draw::after {
  /* hand-drawn stroke used as a mask so it takes the season accent color */
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 7px;
  background-color: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M1 5.5C18 2.5 32 6.5 50 4S82 2 99 4.5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M1 5.5C18 2.5 32 6.5 50 4S82 2 99 4.5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  transform: scaleX(0); transform-origin: left center;
  transition: transform .45s var(--ease-out);
}
.link-draw:hover::after, .link-draw:focus-visible::after, .link-draw.is-active::after { transform: scaleX(1); }

/* ---------- 5.2 Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo__mark { width: 34px; height: 44px; flex: none; }
.logo__mark .wheat { stroke: var(--ink); }
.logo__mark .flame { stroke: var(--accent); }
.logo__word { font-family: var(--font-display); font-size: 1.55rem; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.logo__word em { font-style: italic; color: var(--accent-ink); font-weight: 400; padding-inline: .06em; }
.logo__sub { display: block; font-family: var(--font-body); font-size: .58rem; letter-spacing: .32em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }
.logo--lg .logo__mark { width: 46px; height: 60px; }
.logo--lg .logo__word { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }

/* ---------- 5.3 Header / masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border-bottom: 1px solid var(--rule);
  transition: transform .55s var(--ease-out), background-color .6s;
  will-change: transform;
}
.masthead__top {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 18px var(--gutter) 14px; max-width: var(--max); margin-inline: auto;
  border-bottom: 1px solid var(--rule);
  transition: opacity .4s var(--ease-soft);
}
.masthead__top > :last-child { justify-self: end; text-align: end; }
.masthead__meta { display: flex; flex-direction: column; gap: 2px; }
.masthead__bar {
  display: flex; align-items: center; gap: 18px;
  min-height: var(--header-h); padding: 0 var(--gutter);
  max-width: var(--max); margin-inline: auto;
}
.masthead__mini-logo { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease-out); pointer-events: none; }
.masthead__mini-logo .logo__word { font-size: 1.2rem; }
.masthead__mini-logo .logo__mark { width: 24px; height: 32px; }

/* Compact state: the tall top row slides off, only the bar stays */
.masthead.is-compact { transform: translateY(calc(-1 * var(--top-h, 0px))); }
.masthead.is-compact .masthead__top { opacity: 0; }
.masthead.is-compact .masthead__mini-logo { opacity: 1; transform: none; pointer-events: auto; }
.masthead.is-hidden { transform: translateY(-110%); }

.mainnav ul { display: flex; gap: clamp(12px, 1.6vw, 26px); list-style: none; margin: 0; padding: 0; }
.mainnav a { font-size: .9rem; text-decoration: none; padding: 6px 0; }
.mainnav a[aria-current="page"] { color: var(--accent-ink); }
.mainnav a[aria-current="page"]::before {
  content: "•"; position: absolute; left: 50%; top: -10px; transform: translateX(-50%); color: var(--accent); font-size: .7rem;
}
.mainnav > ul > li > a.is-active { color: var(--accent-ink); }

/* Home dropdown (Home 1 / Home 2) */
.nav-drop-wrap { position: relative; display: flex; align-items: center; gap: 2px; }
.nav-drop-toggle { width: 22px; height: 22px; display: inline-grid; place-items: center; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; border-radius: 50%; }
.nav-drop-toggle svg { width: 10px; height: 8px; transition: transform .35s var(--ease-out); }
.nav-drop-wrap.is-open .nav-drop-toggle svg { transform: rotate(180deg); }
.nav-drop {
  position: absolute; top: calc(100% + 12px); inset-inline-start: -18px; z-index: 70; min-width: 250px;
  display: grid !important; gap: 0 !important; padding: 8px !important;
  background: var(--card); border: 1px solid var(--rule); box-shadow: var(--shadow-paper);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease-soft), transform .35s var(--ease-out), visibility 0s .35s;
}
.nav-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.nav-drop-wrap.is-open .nav-drop { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease-soft), transform .35s var(--ease-out), visibility 0s; }
@media (hover: hover) { .nav-drop-wrap:hover .nav-drop { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease-soft), transform .35s var(--ease-out), visibility 0s; } }
.nav-drop a { display: flex; align-items: baseline; gap: 12px; padding: 10px 12px !important; border-radius: 4px; white-space: nowrap; transition: background-color var(--dur-hover); }
.nav-drop a:hover, .nav-drop a:focus-visible { background: var(--paper-2); }
.nav-drop a em { display: block; font-family: var(--font-display); font-size: .95rem; color: var(--ink-soft); }
.nav-drop a[aria-current="page"]::before { content: none; }
.nav-drop a[aria-current="page"] em { color: var(--accent-ink); }

.masthead__tools { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.masthead__tools > * { flex-shrink: 0; }
.masthead__nav-wrap { display: none; }
@media (min-width: 1180px) { .masthead__nav-wrap { display: block; } }

.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center;
  border: 1px solid var(--rule); background: transparent; border-radius: 50%;
  transition: border-color var(--dur-hover), background-color var(--dur-hover), transform var(--dur-hover) var(--ease-out);
}
.icon-btn:hover { border-color: var(--ink); transform: rotate(-6deg); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn .i-sun { display: none; }
.rtl-label { font-size: .64rem; font-weight: 700; letter-spacing: .06em; line-height: 1; }
.icon-btn { flex-shrink: 0; }

/* Supper club evening page (event.html) */
.event-detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
@media (min-width: 1000px) { .event-detail { grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: clamp(40px, 5vw, 80px); } }
.event-courses, .event-schedule { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.event-courses li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) auto; gap: 14px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.event-courses__dish { font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; }
.event-courses .muted { font-size: .85rem; }
.event-schedule li { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--rule); margin-top: 0; }
.event-schedule .label { color: var(--accent-ink); }
.event-detail__side .summary-card { top: 100px; }
.event-more { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.event-card { display: block; text-decoration: none; color: inherit; }
.event-card .photo { aspect-ratio: 4 / 3; margin-bottom: 14px; }
.event-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.event-card:hover .photo img, .event-card:focus-visible .photo img { transform: scale(1.04); }
.event-card .label { margin: 0 0 6px; }
.event-card h3 { font-size: 1.5rem; margin: 0 0 4px; }
.event-card .muted { margin: 0; font-size: .9rem; }

/* Profile page */
.profile-form { display: grid; gap: 22px; }
.profile-dl { display: grid; grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr); gap: 10px 16px; margin: 16px 0 0; }
.profile-dl dt { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); padding-top: 3px; }
.profile-dl dd { margin: 0; min-width: 0; text-align: end; font-family: var(--font-display); overflow-wrap: break-word; }
.profile-dl dd[data-guest-email] { font-size: .92rem; }
@media (min-width: 1100px) { .page-dash[data-page="profile"] .booking { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }

/* Season switcher: four small illustrated icons */
.season-switch {
  display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--rule); border-radius: 999px;
  position: relative;
}
.season-switch button {
  position: relative; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent;
  display: grid; place-items: center; color: var(--ink-soft);
  transition: color var(--dur-hover), transform var(--dur-hover) var(--ease-out), background-color var(--dur-hover);
}
.season-switch button svg { width: 20px; height: 20px; }
.season-switch button:hover { transform: translateY(-2px); color: var(--ink); }
.season-switch button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.season-switch--lg button { width: 46px; height: 46px; }
.season-switch--lg button svg { width: 24px; height: 24px; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; padding: 8px 0;
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
}
.menu-toggle__lines { width: 26px; height: 10px; position: relative; }
.menu-toggle__lines::before, .menu-toggle__lines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .4s var(--ease-out);
}
.menu-toggle__lines::before { top: 0; } .menu-toggle__lines::after { bottom: 0; right: 6px; }
.menu-toggle:hover .menu-toggle__lines::after { transform: translateX(6px); }
@media (min-width: 1180px) { .menu-toggle { display: none; } }
/* tablet and mobile: icon only; the word "Contents" stays for screen readers */
.menu-toggle span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.menu-toggle { width: 40px; height: 40px; justify-content: center; padding: 0; flex-shrink: 0; }
@media (max-width: 359px) { .masthead__bar { gap: 6px; } }

/* Login icon button in the masthead (Register lives on the login page and footer) */
.login-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 10px; border: 1px solid var(--rule); border-radius: 999px;
  text-decoration: none; font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  transition: border-color var(--dur-hover), background-color var(--dur-hover), color var(--dur-hover);
}
.login-btn svg { width: 18px; height: 18px; flex: none; }
.login-btn:hover, .login-btn.is-active { border-color: var(--ink); background: var(--ink); color: var(--paper); }
@media (max-width: 1279px) { .login-btn { width: 40px; padding: 0; justify-content: center; } .login-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.header-cta { display: none; white-space: nowrap; flex-shrink: 0; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }
.masthead__mini-logo { flex-shrink: 0; }
.hide-sm { display: none !important; }
@media (min-width: 760px) { .hide-sm { display: inline-flex !important; } .icon-btn.hide-sm { display: inline-grid !important; } }

/* Mobile: compact masthead */
@media (max-width: 759px) {
  .masthead__top { grid-template-columns: 1fr auto; padding-block: 12px 10px; }
  .masthead__top .masthead__meta { display: none; }
  .masthead__top > :nth-child(2) { justify-self: start; }
  .masthead__top .logo__mark { width: 28px; height: 36px; }
  .masthead__top .logo__word { font-size: 1.3rem; }
  .masthead__top .logo__sub { display: none; }
  .masthead__bar { gap: 8px; min-height: 56px; }
  /* the top row (with the logo) slides away on scroll, so the compact bar
     swaps the season switch (also in the Contents menu) for the small logo */
  .masthead__mini-logo { display: none; }
  .masthead.is-compact .masthead__mini-logo { display: block; margin-inline-end: auto; }
  .masthead.is-compact .masthead__bar .season-switch { display: none; }
  .masthead__mini-logo .logo__word { font-size: 1.08rem; }
  .masthead__mini-logo .logo__mark { width: 20px; height: 28px; }
  .season-switch button { width: 30px; height: 30px; }
  .season-switch button svg { width: 17px; height: 17px; }
}

/* ---------- 5.4 Mobile menu: journal contents page ----------
   [data-contents] raises specificity above Tailwind's `.contents { display: contents }`
   utility, which otherwise drops this overlay into the page flow as a tall blank block */
.contents[data-contents] {
  position: fixed; inset: 0; z-index: 90; background: var(--paper);
  display: grid; grid-template-rows: auto 1fr auto; overflow-y: auto;
  padding: 20px var(--gutter) 28px;
  visibility: hidden; clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-out), visibility 0s .8s;
}
.contents.is-open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .8s var(--ease-out), visibility 0s; }
.contents__head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--rule); padding-bottom: 14px; }
.contents__list { list-style: none; margin: 24px 0; padding: 0; counter-reset: c; }
.contents__list li { border-bottom: 1px solid var(--rule); overflow: hidden; }
.contents__list a {
  display: flex; align-items: baseline; gap: 16px; padding: 12px 0; text-decoration: none;
  font-family: var(--font-display); font-size: clamp(1.7rem, 7vw, 2.6rem); line-height: 1.1;
}
.contents__list a span:first-child { font-size: .9rem; font-style: italic; color: var(--accent-ink); min-width: 2ch; }
.contents__list a .dots { flex: 1; border-bottom: 1px dotted var(--rule-strong); transform: translateY(-6px); }
.contents__list a .pg { font-size: .9rem; font-family: var(--font-body); color: var(--ink-faint); }
.contents__list a[aria-current="page"] { color: var(--accent-ink); font-style: italic; }
.contents .contents__item { transform: translateY(105%); transition: transform .7s var(--ease-out); }
.contents.is-open .contents__item { transform: none; }
.contents__foot { display: grid; gap: 18px; font-size: .92rem; }

/* ---------- 5.5 Botanicals, stamps, polaroids, notes ---------- */
.botanical { pointer-events: none; color: var(--line); }
.botanical path, .botanical circle, .botanical ellipse, .botanical line, .ink-path {
  fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.botanical .fill-accent { fill: var(--accent); stroke: none; opacity: .85; }
.botanical .stroke-accent { stroke: var(--accent); }
.botanical .leaf-sway { transform-box: fill-box; transform-origin: 50% 100%; }

.stamp {
  --rot: -8deg;
  display: inline-grid; place-items: center; text-align: center;
  width: 128px; aspect-ratio: 1; border-radius: 50%;
  border: 2px solid var(--accent-ink); color: var(--accent-ink);
  outline: 1px solid var(--accent-ink); outline-offset: -8px;
  font-family: var(--font-body); font-weight: 700; font-size: .66rem; line-height: 1.25;
  letter-spacing: .18em; text-transform: uppercase; padding: 18px;
  transform: rotate(var(--rot));
  mix-blend-mode: multiply;
  background: radial-gradient(circle at 30% 30%, transparent 60%, color-mix(in srgb, var(--accent) 8%, transparent));
}
.stamp strong { display: block; font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 0; font-weight: 500; font-style: italic; text-transform: none; line-height: 1; margin: 4px 0; }
.stamp--rect { border-radius: 4px; width: auto; aspect-ratio: auto; padding: 10px 16px; outline-offset: -5px; }
.stamp--sm { width: 96px; font-size: .56rem; padding: 12px; }
.stamp--sm strong { font-size: 1.15rem; }
/* stamps that sit on photos get paper behind them, so dark images never swallow the ink */
.hero-split__stamp, .cover__stamp { mix-blend-mode: normal; background: color-mix(in srgb, var(--paper) 90%, transparent); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .45); }

.polaroid {
  --rot: 3deg;
  background: var(--card); padding: 10px 10px 44px; box-shadow: var(--shadow-lift);
  transform: rotate(var(--rot)); position: relative;
  transition: transform .5s var(--ease-out);
}
.polaroid img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; filter: sepia(.12) saturate(1.05) contrast(.98); }
.polaroid figcaption { position: absolute; left: 14px; right: 14px; bottom: 8px; font-family: var(--font-hand); font-size: 1.35rem; line-height: 1.1; color: var(--ink); }
.polaroid::before {
  /* the pin / tape */
  content: ""; position: absolute; top: -12px; left: 50%; width: 76px; height: 24px;
  transform: translateX(-50%) rotate(-3deg);
  background: color-mix(in srgb, var(--accent-soft) 80%, transparent);
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.polaroid:hover { transform: rotate(0deg) translateY(-4px); }

.note {
  background: var(--card); padding: 22px 24px; box-shadow: var(--shadow-paper);
  font-family: var(--font-hand); font-size: 1.5rem; line-height: 1.25; color: var(--ink);
  background-image: repeating-linear-gradient(transparent 0 29px, var(--rule) 29px 30px);
  background-position: 0 14px;
}

/* Photo frames with warm, film-like grading */
.photo { position: relative; overflow: hidden; background: var(--paper-3); }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.14) saturate(1.06) contrast(.97) brightness(1.01); }
.photo::after { /* soft film vignette */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 120px rgba(60, 35, 10, .18);
}
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 10; }
.photo--square { aspect-ratio: 1; }

/* Seed packet ingredient labels */
.seed-packet {
  position: relative; flex: none; width: 168px; padding: 16px 16px 18px;
  background: var(--card); border: 1px solid var(--rule-strong);
  box-shadow: var(--shadow-paper); text-align: center;
  clip-path: polygon(0 10px, 10px 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.seed-packet::before { content: ""; position: absolute; top: 10px; left: 10px; right: 10px; border-top: 1px dashed var(--rule-strong); }
.seed-packet .label { display: block; margin-top: 10px; font-size: .6rem; }
.seed-packet h3 { font-size: 1.3rem; margin: 6px 0 4px; font-style: italic; }
.seed-packet svg { width: 56px; height: 56px; margin: 8px auto 0; color: var(--accent-ink); }
.seed-packet small { display: block; font-size: .75rem; color: var(--ink-soft); }

/* ---------- 5.6 Marquee ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--rule); padding-block: 18px;
  font-family: var(--font-display); font-size: clamp(2rem, 4.8vw, 4rem); font-weight: 500;
  white-space: nowrap; user-select: none;
}
.marquee__track { display: inline-flex; gap: .6em; padding-inline-end: .6em; animation: marquee 48s linear infinite; }
.marquee__track span:nth-child(even) { font-style: italic; color: var(--accent-ink); }
.marquee__track .sep { color: var(--sage); font-style: normal !important; }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- 5.7 Home hero (magazine cover) ---------- */
.cover { position: relative; padding-top: clamp(20px, 3vw, 36px); padding-bottom: clamp(40px, 5vw, 72px); overflow: hidden; }
.cover__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-bottom: 3px double var(--rule-strong); padding-bottom: 12px; }
.cover__grid { display: grid; gap: 28px; margin-top: clamp(20px, 3vw, 40px); position: relative; }
.cover__title { position: relative; z-index: 3; }
.cover__title .line { display: block; }
.cover__photo { position: relative; aspect-ratio: 4 / 5; }
.cover__photo .photo { height: 100%; }
.cover__polaroid { position: absolute; width: 44%; max-width: 230px; left: -8%; bottom: -10%; z-index: 4; --rot: -6deg; }
.cover__stamp { position: absolute; right: -26px; bottom: 16%; z-index: 5; }
.cover__lines { display: grid; gap: 16px; align-content: start; }
.cover__lines li { list-style: none; border-top: 1px solid var(--rule); padding-top: 10px; }
.cover__lines li b { font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: 1.1rem; display: block; }
.cover__lines ul { padding: 0; margin: 0; display: grid; gap: 14px; }
.cover__botanical { position: absolute; width: clamp(110px, 12vw, 190px); z-index: 1; opacity: .9; }
.cover__botanical--tl { top: 96px; right: -26px; transform: rotate(14deg) scaleX(-1); }
.cover__botanical--br { bottom: -20px; right: 22%; transform: rotate(18deg) scaleX(-1); }
.cover__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cover__pageno { position: absolute; bottom: 18px; left: var(--gutter); }

@media (min-width: 900px) {
  .cover__grid { grid-template-columns: 1.15fr .85fr .5fr; align-items: start; }
  .cover__title { grid-column: 1 / 3; grid-row: 1; }
  .cover__photo { grid-column: 2 / 3; grid-row: 1 / 3; margin-top: clamp(110px, 11vw, 170px); }
  .cover__copy { grid-column: 1 / 2; grid-row: 2; padding-inline-end: 8%; }
  .cover__lines { grid-column: 3 / 4; grid-row: 1 / 3; padding-top: clamp(110px, 11vw, 170px); }
}
@media (max-width: 899px) {
  .cover__photo { width: 86%; margin-inline-start: auto; margin-top: 24px; }
  .cover__polaroid { left: -12%; bottom: -8%; width: 46%; }
  .cover__stamp { right: -8px; bottom: 12%; top: auto; }
  .cover__lines ul { grid-template-columns: 1fr 1fr; }
  .cover__botanical--tl { display: none; }
  .cover__botanical--br { right: -30px; bottom: 30px; opacity: .6; }
}

/* ---------- 5.8 Philosophy (word by word) ---------- */
.philosophy p { font-family: var(--font-display); font-size: clamp(1.7rem, 3.9vw, 3.6rem); line-height: 1.16; font-weight: 500; letter-spacing: -.01em; }
.philosophy em { color: var(--accent-ink); font-style: italic; }
.philosophy .w { opacity: 1; }

/* ---------- 5.9 Farm-to-plate map ---------- */
.farmmap { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1000px) { .farmmap { grid-template-columns: .8fr 1.2fr; min-height: calc(100vh - 140px); } }
.farmmap__canvas { position: relative; aspect-ratio: 1 / .82; background: var(--card); box-shadow: var(--shadow-paper); border: 1px solid var(--rule); }
.farmmap__canvas > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.farmmap .terrain { stroke: var(--line); opacity: .45; fill: none; stroke-width: 1; }
.farmmap .river { stroke: var(--sage); fill: none; stroke-width: 2.4; opacity: .75; }
.farmmap .route { stroke: var(--accent-ink); fill: none; stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
.farmmap .map-label { font-family: var(--font-hand); font-size: 20px; fill: var(--ink-soft); }
.farmmap .compass { stroke: var(--line); fill: none; }
.farm-pin {
  position: absolute; transform: translate(-50%, -100%); z-index: 3;
  border: 0; background: none; padding: 0; display: grid; justify-items: center;
}
.farm-pin__dot {
  width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--accent); border: 2px solid var(--card); box-shadow: 0 6px 14px -6px rgba(0,0,0,.5);
  display: grid; place-items: center; transition: transform .35s var(--ease-out);
}
.farm-pin__dot span { transform: rotate(45deg); font-family: var(--font-display); font-size: .8rem; color: var(--on-accent); font-weight: 600; }
.farm-pin:hover .farm-pin__dot, .farm-pin[aria-expanded="true"] .farm-pin__dot { transform: rotate(-45deg) scale(1.15); }
.farm-pin--home .farm-pin__dot { background: var(--ink); width: 38px; height: 38px; }
.farm-pin--home .farm-pin__dot span { color: var(--paper); }
.farm-card {
  position: absolute; z-index: 6; width: min(250px, 70%);
  background: var(--paper); border: 1px solid var(--rule-strong); box-shadow: var(--shadow-lift);
  padding: 14px 16px; font-size: .9rem; pointer-events: none;
  opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .35s var(--ease-soft), transform .45s var(--ease-out);
}
.farm-card.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.farm-card h3 { font-size: 1.3rem; margin: 2px 0 6px; }
.farm-card .km { font-family: var(--font-display); font-style: italic; color: var(--accent-ink); font-size: 1.6rem; }
.farm-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.farm-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.farm-list .n { font-family: var(--font-display); font-style: italic; color: var(--accent-ink); }
.farm-list .km { font-family: var(--font-display); font-size: 1.15rem; }
.avg-distance { display: flex; align-items: baseline; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.avg-distance .num { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5rem); line-height: 1; color: var(--accent-ink); font-style: italic; }

/* ---------- 5.10 Horizontal scroll (growers, gallery) ---------- */
.hscroll { position: relative; overflow-x: auto; scrollbar-width: thin; }
.hscroll.is-driven { overflow: hidden; }
.hscroll__track { display: flex; gap: clamp(20px, 3vw, 48px); padding: 24px var(--gutter) 36px; width: max-content; }
.hscroll--native { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.hscroll--native .hscroll__track > * { scroll-snap-align: center; }
.grower { width: clamp(240px, 26vw, 340px); flex: none; }
.grower:nth-child(odd) { margin-top: 40px; }
.grower .polaroid { --rot: -2.5deg; }
.grower:nth-child(even) .polaroid { --rot: 2.5deg; }
.grower blockquote { margin: 26px 6px 0; font-family: var(--font-display); font-style: italic; font-size: 1.12rem; line-height: 1.4; }
.grower cite { display: block; margin-top: 8px; font-style: normal; }
.gallery-item { width: clamp(260px, 38vw, 560px); flex: none; }
.gallery-item:nth-child(even) { margin-top: 70px; width: clamp(220px, 28vw, 420px); }

/* ---------- 5.11 Dish list with hover-reveal image ---------- */
.dish-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule-strong); }
.dish-row {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: baseline;
  padding: 22px 4px; border-bottom: 1px solid var(--rule); position: relative;
  transition: padding .45s var(--ease-out), color .3s;
}
.dish-row__num { font-family: var(--font-display); font-style: italic; color: var(--accent-ink); grid-row: span 2; }
.dish-row__name { font-family: var(--font-display); font-size: clamp(1.6rem, 3.6vw, 3rem); line-height: 1.05; font-weight: 400; }
.dish-row__meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--ink-soft); }
.dish-row:hover { padding-inline-start: 18px; }
.dish-row:hover .dish-row__name { font-style: italic; }
@media (min-width: 900px) {
  .dish-row { grid-template-columns: 60px 1fr 1fr; }
  .dish-row__meta { grid-column: 3; grid-row: 1; justify-content: flex-end; text-align: end; }
  .dish-row__num { grid-row: auto; }
}
/* the photo that follows the cursor */
.hover-img {
  position: fixed; left: 0; top: 0; z-index: 70; width: 260px; aspect-ratio: 4 / 5;
  pointer-events: none; opacity: 0; overflow: hidden;
  clip-path: inset(100% 0 0 0); box-shadow: var(--shadow-lift);
  transition: opacity .3s var(--ease-soft), clip-path .6s var(--ease-out);
}
.hover-img.is-visible { opacity: 1; clip-path: inset(0 0 0 0); }
.hover-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform .9s var(--ease-out); filter: sepia(.12) saturate(1.05); }
.hover-img.is-visible img { transform: scale(1); }
.hover-img figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; background: linear-gradient(transparent, rgba(20,14,8,.65)); color: #fff; font-size: .78rem; }

/* ---------- 5.12 Kitchen / chef ---------- */
.signature { width: min(260px, 70%); color: var(--ink); }
.signature path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.video-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #1d1813; transform-origin: center; }
.video-frame img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.play-btn {
  position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.8); background: rgba(20,14,8,.25); color: #fff;
  display: grid; place-items: center; backdrop-filter: blur(2px);
  transition: transform .4s var(--ease-out), background-color .3s;
}
.play-btn:hover { transform: scale(1.08); background: var(--accent); }
.play-btn svg { width: 26px; height: 26px; margin-inline-start: 4px; }

/* ---------- 5.13 Seasons wheel ---------- */
.wheel-wrap { display: grid; gap: 30px; align-items: center; overflow-x: clip; padding-top: 24px; }
@media (min-width: 1000px) { .wheel-wrap { grid-template-columns: 1fr 1fr; min-height: calc(100vh - 120px); } }
.wheel { position: relative; width: min(560px, 92vw); aspect-ratio: 1; margin-inline: auto; }
.wheel__disc { position: absolute; inset: 0; }
.wheel__disc svg { width: 100%; height: 100%; overflow: visible; }
.wheel .seg-text { font-family: var(--font-display); font-style: italic; font-size: 26px; fill: var(--ink); }
.wheel .seg-small { font-family: var(--font-body); font-size: 11px; letter-spacing: .14em; fill: var(--ink-soft); text-transform: uppercase; }
.wheel__pointer { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); width: 22px; color: var(--accent-ink); }
.wheel__center { position: absolute; inset: 32%; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--paper); border: 1px solid var(--rule); padding: 10px; }
.harvest-list { display: grid; gap: 18px; }
.harvest-item { border-top: 1px solid var(--rule); padding-top: 14px; transition: opacity .5s var(--ease-soft); }
.harvest-item h3 { font-size: 1.6rem; }
.harvest-item.is-dim { opacity: .35; }

/* ---------- 5.14 Editorial event list ---------- */
.event-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule-strong); }
.event-row {
  display: grid; gap: 10px 26px; padding: 26px 0; border-bottom: 1px solid var(--rule); align-items: center;
  grid-template-columns: 74px 1fr;
}
.event-row__date { font-family: var(--font-display); text-align: center; line-height: 1; border-inline-end: 1px solid var(--rule); padding-inline-end: 18px; }
.event-row__date b { display: block; font-size: 2.6rem; font-weight: 400; }
.event-row__date span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }
.event-row__title { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.1; }
.event-row__aside { grid-column: 2; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
@media (min-width: 900px) {
  .event-row { grid-template-columns: 96px 1.4fr 1fr auto; }
  .event-row__aside { grid-column: auto; }
}
.seats { min-width: 150px; font-size: .82rem; }
.seats__bar { height: 4px; background: var(--rule); margin-top: 6px; position: relative; overflow: hidden; }
.seats__bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; }

/* ---------- 5.15 Counters ---------- */
.counter-row { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--rule-strong); }
@media (min-width: 900px) { .counter-row { grid-template-columns: repeat(4, 1fr); } }
.counter { padding: 26px 18px 30px; border-bottom: 1px solid var(--rule); border-inline-end: 1px solid var(--rule); }
.counter__num { font-family: var(--font-display); font-size: clamp(3rem, 6.5vw, 5.6rem); line-height: 1; font-weight: 400; }
.counter__num em { font-size: .45em; color: var(--accent-ink); }

/* ---------- 5.16 Guest notes (testimonials) ---------- */
.notes-stage { position: relative; min-height: 380px; max-width: 640px; margin-inline: auto; }
.guest-note { position: absolute; inset: 0; margin: auto; height: fit-content; --rot: -2deg; transform: rotate(var(--rot)); }
.guest-note:nth-child(2) { --rot: 2deg; } .guest-note:nth-child(3) { --rot: -1deg; } .guest-note:nth-child(4) { --rot: 1.5deg; }
.guest-note .note { font-size: clamp(1.5rem, 3vw, 2.05rem); padding: 36px 34px 30px; }
.guest-note .who { display: block; margin-top: 12px; font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.guest-note[hidden] { display: block !important; visibility: hidden; opacity: 0; }
.notes-nav { display: flex; gap: 10px; justify-content: center; align-items: center; margin-top: 30px; }
.notes-nav .dots { display: flex; gap: 8px; }
.notes-nav .dots button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; padding: 0; }
.notes-nav .dots button[aria-current="true"] { background: var(--ink); }

/* Without JS every note is shown stacked */
html:not(.js) .notes-stage { min-height: 0; display: grid; gap: 24px; }
html:not(.js) .guest-note { position: relative; }
html:not(.js) .guest-note[hidden] { visibility: visible; opacity: 1; }

/* ---------- 5.17 Big CTA with candlelight glow ---------- */
.big-cta { text-align: center; position: relative; overflow: hidden; }
.big-cta__title { position: relative; display: inline-block; cursor: default; }
.big-cta__title::before {
  content: ""; position: absolute; inset: -20% -10%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 38%, transparent), transparent 72%);
  opacity: 0; transform: scale(.7); transition: opacity .8s var(--ease-soft), transform 1.2s var(--ease-out);
}
.big-cta__title:hover::before { opacity: 1; transform: scale(1); }

/* ---------- 5.18 FAQ / accordion (printed Q&A column) ---------- */
.qa { border-top: 1px solid var(--rule-strong); }
.qa details { border-bottom: 1px solid var(--rule); }
.qa summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: baseline;
  padding: 20px 2px; font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.5rem);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .q { font-style: italic; color: var(--accent-ink); }
.qa summary .pm { position: relative; width: 16px; height: 16px; }
.qa summary .pm::before, .qa summary .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .4s var(--ease-out); }
.qa summary .pm::after { transform: rotate(90deg); }
.qa details[open] summary .pm::after { transform: rotate(0deg); }
.qa .answer { padding: 0 2px 22px 44px; color: var(--ink-soft); max-width: 70ch; }
.qa .answer p { margin: 0; }

/* ---------- 5.19 Forms ---------- */
.field { position: relative; display: grid; gap: 6px; }
.field label, .field .field-label { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.input, .select, .textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--rule-strong); background: transparent;
  padding: 10px 2px; font-size: 1.05rem; border-radius: 0; outline: none;
  transition: border-color .3s;
}
.textarea { min-height: 96px; resize: vertical; border: 1px solid var(--rule-strong); padding: 10px; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235A4E43' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-inline-end: 24px; }
.select option { background: var(--paper); color: var(--ink); }
/* drawn underline on focus */
.field .underline { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); pointer-events: none; }
.field:focus-within .underline { transform: scaleX(1); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: #B3261E; }
.field-error { font-size: .82rem; color: #9B1C14; display: flex; gap: 6px; align-items: center; min-height: 0; }
.field-error:not(:empty)::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; border: 1px solid currentColor; font-size: .7rem; font-weight: 700; flex: none; }
.field-error.is-shown { animation: errIn .45s var(--ease-out); }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap .input { padding-inline-end: 64px; }
.pw-toggle { position: absolute; right: 0; background: none; border: 0; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); padding: 8px; }

/* custom checkbox with hand-drawn tick */
.check { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .95rem; position: relative; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.check .box { width: 22px; height: 22px; flex: none; border: 1.5px solid var(--ink); border-radius: 3px; display: grid; place-items: center; transition: background-color .3s; margin-top: 1px; }
.check .box svg { width: 16px; height: 16px; }
.check .box path { fill: none; stroke: var(--accent-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .45s var(--ease-out); }
.check input:checked + .box path { stroke-dashoffset: 0; }
.check input:focus-visible + .box { outline: 2px solid var(--accent-ink); outline-offset: 2px; }

/* toggle switch */
.toggle { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; position: relative; }
.toggle input { position: absolute; opacity: 0; width: 46px; height: 26px; margin: 0; }
.toggle .track { width: 46px; height: 26px; border-radius: 999px; border: 1.5px solid var(--ink); position: relative; transition: background-color .35s; flex: none; }
.toggle .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: var(--ink); transition: transform .4s var(--ease-out), background-color .3s; }
.toggle input:checked + .track { background: var(--accent); border-color: var(--accent); }
.toggle input:checked + .track::after { transform: translateX(20px); background: var(--card); }
.toggle input:focus-visible + .track { outline: 2px solid var(--accent-ink); outline-offset: 2px; }

/* strength meter */
.strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 6px; }
.strength i { height: 3px; background: var(--rule); transform-origin: left; transition: background-color .3s; }
.strength[data-level="1"] i:nth-child(-n+1) { background: #B3261E; }
.strength[data-level="2"] i:nth-child(-n+2) { background: #C67A12; }
.strength[data-level="3"] i:nth-child(-n+3) { background: var(--sage); }
.strength[data-level="4"] i { background: var(--sage-deep); }

/* ---------- 5.20 Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--rule-strong);
  border-radius: 999px; background: transparent; font-size: .85rem; line-height: 1.2;
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease-out);
}
.chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip[aria-pressed="true"]::before { content: "✓"; font-size: .8em; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
label.chip:has(input:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
label.chip:has(input:focus-visible) { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border: 1px solid var(--rule-strong); border-radius: 3px; font-size: .72rem; font-weight: 600; letter-spacing: .06em; }
.tag abbr { text-decoration: none; }
.tag--accent { border-color: var(--accent-ink); color: var(--accent-ink); }
.tag button { border: 0; background: none; padding: 0 2px; font-size: 1rem; line-height: 1; }

/* ---------- 5.21 Tabs with sliding indicator ---------- */
.tabs { position: relative; display: flex; gap: 4px; border-bottom: 1px solid var(--rule); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] { border: 0; background: none; padding: 12px 16px; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink-soft); white-space: nowrap; transition: color .3s; }
.tabs [role="tab"][aria-selected="true"] { color: var(--ink); font-style: italic; }
.tabs__ink { position: absolute; bottom: -1px; left: 0; height: 2px; width: 0; background: var(--accent); transition: transform .5s var(--ease-out), width .5s var(--ease-out); }

/* ---------- 5.22 Menu card (printed menu) ---------- */
.menu-card { background: var(--card); box-shadow: var(--shadow-lift); padding: clamp(24px, 5vw, 72px); position: relative; border: 1px solid var(--rule); }
.menu-card::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--rule); pointer-events: none; }
.menu-section + .menu-section { margin-top: clamp(40px, 6vw, 72px); }
.menu-section__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.menu-section__head h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-style: italic; }
.menu-section__head::after { content: ""; flex: 1; border-bottom: 1px solid var(--rule); }
.menu-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
@media (min-width: 900px) { .menu-items { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.menu-item { position: relative; }
.menu-item.is-filtered { display: none; }
.menu-item button {
  width: 100%; text-align: start; background: none; border: 0; padding: 14px 0; display: grid; gap: 4px;
  border-bottom: 1px dashed var(--rule);
}
.menu-item__top { display: flex; align-items: baseline; gap: 10px; }
.menu-item__name { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.15; transition: color .3s; }
.menu-item__dots { flex: 1; border-bottom: 1px dotted var(--rule-strong); transform: translateY(-5px); min-width: 20px; }
.menu-item__price { font-family: var(--font-display); font-size: 1.15rem; }
.menu-item__desc { font-size: .92rem; color: var(--ink-soft); }
.menu-item__foot { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: .78rem; color: var(--ink-faint); }
.menu-item button:hover .menu-item__name { color: var(--accent-ink); font-style: italic; }
.menu-empty { padding: 30px 0; font-family: var(--font-display); font-style: italic; color: var(--ink-soft); }

/* Tasting menu vertical timeline */
.tasting { position: relative; padding-inline-start: 46px; }
.tasting__line { position: absolute; left: 14px; top: 8px; bottom: 8px; width: 2px; background: var(--rule); }
.tasting__line i { position: absolute; inset: 0; background: var(--accent); transform-origin: top; }
.course { position: relative; padding: 0 0 46px; }
.course::before { content: attr(data-n); position: absolute; left: -46px; top: 2px; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--accent-ink); display: grid; place-items: center; font-family: var(--font-display); font-style: italic; font-size: .9rem; color: var(--accent-ink); }
.course h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.course__grid { display: grid; gap: 16px; align-items: center; }
@media (min-width: 760px) { .course__grid { grid-template-columns: 1fr 180px; } }
.course .photo { aspect-ratio: 1; border-radius: 50%; }

.season-strip { display: flex; gap: 22px; overflow-x: auto; padding: 16px 4px 26px; scroll-snap-type: x proximity; }
.season-strip > * { scroll-snap-align: start; }
/* centred when the cards fit; still scrolls from the first card when they don't */
.season-strip > :first-child { margin-inline-start: auto; }
.season-strip > :last-child { margin-inline-end: auto; }

/* ---------- 5.23 Panels, modals ---------- */
.overlay { position: fixed; inset: 0; z-index: 95; background: rgba(28, 22, 16, .45); opacity: 0; visibility: hidden; transition: opacity .45s var(--ease-soft), visibility 0s .45s; }
.overlay.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease-soft), visibility 0s; }
.side-panel {
  position: fixed; top: 0; bottom: 0; right: 0; z-index: 100; width: min(560px, 100%);
  background: var(--paper); box-shadow: -30px 0 60px -30px rgba(0,0,0,.4);
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(105%); visibility: hidden;
  transition: transform .7s var(--ease-out), visibility 0s .7s;
}
.side-panel.is-open { transform: none; visibility: visible; transition: transform .7s var(--ease-out), visibility 0s; }
.side-panel__head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; background: var(--paper); border-bottom: 1px solid var(--rule); }
.side-panel__body { padding: 24px; }
.side-panel__body .photo { aspect-ratio: 16 / 11; margin-bottom: 22px; }
.side-panel dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 18px 0; }
.side-panel dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); padding-top: 3px; }
.side-panel dd { margin: 0; }

.modal {
  position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px;
  visibility: hidden; pointer-events: none;
}
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal__card {
  position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--card); box-shadow: var(--shadow-lift); border: 1px solid var(--rule);
  padding: clamp(24px, 4vw, 40px);
  opacity: 0; transform: translateY(26px) rotate(-1deg); transition: opacity .45s var(--ease-soft), transform .6s var(--ease-out);
}
.modal.is-open .modal__card { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 12px; right: 12px; }
.modal--video .modal__card { width: min(920px, 100%); padding: 0; background: #120e0a; }
.modal--video .video-canvas { aspect-ratio: 16 / 9; display: grid; place-items: center; color: #f3e9d6; text-align: center; padding: 24px; position: relative; overflow: hidden; }
.modal--video .video-canvas--embed { padding: 0; display: block; background: #000; }
.modal--video .video-canvas--embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal--video .modal__close { z-index: 2; background: rgba(18, 14, 10, .7); }

/* ---------- 5.24 Tables ---------- */
.table-wrap { position: relative; width: 100%; overflow-x: auto; border: 1px solid var(--rule); background: var(--card); }
.journal-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.journal-table th { text-align: start; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); padding: 12px 14px; border-bottom: 1px solid var(--rule-strong); }
.journal-table td { padding: 14px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.journal-table tr:last-child td { border-bottom: 0; }

/* ---------- 5.25 Calendar ---------- */
.calendar { background: var(--card); border: 1px solid var(--rule); padding: 18px; }
.calendar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.calendar__head h3 { font-size: 1.4rem; font-style: italic; }
.calendar__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.calendar__dow { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; text-align: center; color: var(--ink-faint); padding: 4px 0; }
.cal-day {
  position: relative; min-height: 44px; border: 1px solid transparent; background: transparent; padding: 4px;
  font-family: var(--font-display); font-size: 1rem; display: grid; place-items: center; border-radius: 2px;
  transition: background-color .25s, border-color .25s, color .25s;
}
.cal-day:hover:not([disabled]) { border-color: var(--ink); }
.cal-day[disabled] { color: var(--ink-faint); opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.cal-day.is-empty { visibility: hidden; }
.cal-day.is-today { border-color: var(--rule-strong); }
.cal-day[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.cal-day.has-event::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); transform: translateX(-50%); }
.cal-day.has-event.is-booked::after { background: var(--sage-deep); width: 14px; border-radius: 3px; }
.calendar--events .cal-day { min-height: 78px; place-items: start; text-align: start; border-color: var(--rule); font-size: .95rem; }
.calendar--events .cal-day .ev { display: block; font-family: var(--font-body); font-size: .68rem; line-height: 1.2; margin-top: 4px; padding: 2px 4px; background: var(--accent-soft); color: var(--ink); width: 100%; border-inline-start: 2px solid var(--accent-ink); }
@media (max-width: 640px) { .calendar--events .cal-day { min-height: 54px; } .calendar--events .cal-day .ev { font-size: 0; padding: 0; height: 5px; } }

/* View switch (list / calendar) */
.view-switch { display: inline-flex; border: 1px solid var(--ink); position: relative; border-radius: 999px; padding: 3px; }
.view-switch button { position: relative; z-index: 1; border: 0; background: none; padding: 7px 16px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; transition: color .35s; border-radius: 999px; }
.view-switch button[aria-pressed="true"] { color: var(--paper); }
.view-switch__ink { position: absolute; top: 3px; bottom: 3px; left: 3px; border-radius: 999px; background: var(--ink); transition: transform .5s var(--ease-out), width .5s var(--ease-out); }

/* ---------- 5.26 Toasts (small paper notes) ---------- */
.toast-stack { position: fixed; z-index: 130; right: 16px; bottom: 16px; display: grid; gap: 10px; width: min(360px, calc(100vw - 32px)); pointer-events: none; }
.toast {
  pointer-events: auto; background: var(--card); color: var(--ink); border: 1px solid var(--rule-strong);
  box-shadow: var(--shadow-lift); padding: 14px 16px 14px 18px; display: flex; gap: 12px; align-items: flex-start;
  transform: rotate(-.6deg); position: relative; animation: toastIn .6s var(--ease-out) both;
}
.toast::before { content: ""; position: absolute; top: -8px; left: 22px; width: 54px; height: 16px; background: color-mix(in srgb, var(--accent-soft) 85%, transparent); transform: rotate(-4deg); }
.toast__icon { width: 22px; height: 22px; flex: none; color: var(--accent-ink); }
.toast__title { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.2; }
.toast__msg { font-size: .88rem; color: var(--ink-soft); }
.toast.is-leaving { animation: toastOut .45s var(--ease-soft) forwards; }

/* ---------- 5.27 Footer (back page of the journal) ---------- */
.journal-footer { border-top: 3px double var(--rule-strong); padding-top: clamp(48px, 7vw, 90px); background: var(--paper-2); overflow: hidden; position: relative; }
.footer-border { width: 100%; height: 60px; color: var(--line); margin-bottom: 30px; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.3fr .8fr .9fr .9fr; } }
.footer-grid h2 { font-size: .72rem; font-family: var(--font-body); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-grid a { text-decoration: none; }
.invite {
  background: var(--card); border: 1px solid var(--rule-strong); padding: 22px; position: relative; box-shadow: var(--shadow-paper);
  outline: 1px solid var(--rule); outline-offset: -8px;
}
.invite .hand { font-size: 1.6rem; line-height: 1.1; }
.invite form { display: flex; gap: 8px; align-items: end; margin-top: 10px; }
.invite .field { flex: 1; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--rule-strong); border-radius: 50%; display: grid; place-items: center; transition: transform .4s var(--ease-out), background-color .3s, color .3s; }
.socials a:hover { transform: translateY(-3px) rotate(-8deg); background: var(--ink); color: var(--paper); }
.socials svg { width: 17px; height: 17px; }
.footer-word { font-family: var(--font-display); font-size: clamp(2.8rem, 12.4vw, 13rem); line-height: .82; letter-spacing: -.04em; white-space: nowrap; text-align: center; margin: clamp(40px, 6vw, 80px) 0 0; font-weight: 400; }
.footer-word em { color: var(--accent-ink); font-weight: 400; }
.footer-word .char { display: inline-block; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; border-top: 1px solid var(--rule); padding: 18px 0 26px; font-size: .82rem; color: var(--ink-soft); }

/* Back-to-top: a small leaf */
.back-to-top {
  position: fixed; z-index: 55; right: 18px; bottom: 18px; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--rule-strong); background: var(--card); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease-out), visibility 0s .4s;
  box-shadow: var(--shadow-paper);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .4s, transform .5s var(--ease-out), visibility 0s; }
.back-to-top svg { width: 22px; height: 22px; color: var(--sage-deep); transition: transform .5s var(--ease-out); }
.back-to-top:hover svg { transform: translateY(-5px) rotate(-14deg); }
.back-to-top.is-floating svg { animation: leafUp 1s var(--ease-out); }

/* ---------- 5.28 Vine scroll progress ---------- */
.vine-progress { position: fixed; z-index: 50; left: 10px; top: 0; bottom: 0; width: 26px; pointer-events: none; display: none; }
@media (min-width: 1024px) { .vine-progress { display: block; } }
.vine-progress svg { width: 100%; height: 100%; overflow: visible; color: var(--sage); }
.vine-progress .vine-stem { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.vine-progress .vine-leaf { fill: var(--accent); opacity: 0; transform-box: fill-box; transform-origin: 0% 50%; transform: scale(0); transition: transform .6s var(--ease-out), opacity .4s; }
.vine-progress .vine-leaf.is-on { opacity: .9; transform: scale(1); }

/* ---------- 5.29 Page heroes (inner pages) ---------- */
.page-hero { padding-top: clamp(24px, 3.5vw, 48px); padding-bottom: clamp(36px, 4.5vw, 64px); position: relative; overflow: hidden; }
.page-hero__meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-bottom: 3px double var(--rule-strong); padding-bottom: 12px; margin-bottom: clamp(20px, 3vw, 40px); }
.page-hero .botanical { position: absolute; width: clamp(110px, 14vw, 210px); right: 2%; top: 120px; opacity: .9; }
@media (max-width: 759px) { .page-hero .botanical { width: 84px; top: 70px; right: -14px; opacity: .4; } }

/* Split page hero: headline column + photo collage (menu, supper club) */
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
@media (min-width: 900px) { .hero-split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 4vw, 64px); } }
.hero-split__media { position: relative; max-width: 520px; width: 88%; margin-inline: auto 0; }
.hero-split__media .photo { aspect-ratio: 4 / 4.6; }
.hero-split__polaroid { position: absolute; width: 40%; max-width: 200px; left: -14%; bottom: -8%; --rot: -6deg; z-index: 3; }
.hero-split__stamp { position: absolute; top: -22px; right: -14px; z-index: 4; }
@media (max-width: 899px) { .hero-split__media { width: 84%; } .hero-split__polaroid { left: -10%; } }
@media (max-width: 599px) { .hero-split__stamp { right: 4px; top: -16px; } }

/* Steps (how it works) */
.how { counter-reset: how; display: grid; gap: 0; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule-strong); }
@media (min-width: 900px) { .how { grid-template-columns: repeat(5, 1fr); } }
.how li { padding: 22px 18px 26px; border-bottom: 1px solid var(--rule); position: relative; }
@media (min-width: 900px) { .how li { border-bottom: 0; border-inline-end: 1px solid var(--rule); } .how li:last-child { border-inline-end: 0; } }
.how li::before { counter-increment: how; content: "0" counter(how); font-family: var(--font-display); font-style: italic; color: var(--accent-ink); font-size: 1.05rem; }
.how h3 { font-size: 1.45rem; margin: 10px 0 6px; }

/* Countdown */
.countdown { display: flex; gap: clamp(12px, 3vw, 34px); flex-wrap: wrap; }
.countdown div { text-align: center; min-width: 64px; }
.countdown b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.countdown--sm b { font-size: 1.8rem; }
.countdown--sm div { min-width: 44px; }
.countdown--sm { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 320px; }

/* Candle glow (used on supper club + home 2) */
.candle-glow { position: relative; }
.candle-glow::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 65%, rgba(255, 176, 74, .28), transparent 70%);
  animation: flicker 4.5s ease-in-out infinite; mix-blend-mode: screen;
}

/* Filter bar */
.filter-bar { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: end; padding: 18px 0; border-block: 1px solid var(--rule); margin-bottom: 26px; }
.filter-bar .field { min-width: 160px; flex: 1; }

/* ---------- 5.30 Home 2 : The Long Table ---------- */
.evening { background: #172019; color: #EDE3CF; --rule: rgba(237, 227, 207, .16); --rule-strong: rgba(237, 227, 207, .34); --ink-soft: #CDBFA6; --ink-faint: #A99A82; --card: #1F2A22; --paper: #172019; --ink: #EDE3CF; --line: #B89B5E; }
.evening h1 em, .evening h2 em, .evening h3 em { color: color-mix(in srgb, var(--accent) 75%, #F6E2B8); }
.evening .btn { border-color: #EDE3CF; color: #EDE3CF; }
.evening .btn::before { background: #EDE3CF; }
.evening .btn:hover { color: #172019; }
.evening .btn--accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.evening .label { color: #CDBFA6; }
.evening .label--accent { color: color-mix(in srgb, var(--accent) 70%, #F6E2B8); }

.longtable { position: relative; height: 100vh; min-height: 560px; overflow: hidden; }
.longtable__strip { position: absolute; inset: 0; display: flex; width: max-content; height: 100%; }
.longtable__strip img { height: 100%; width: auto; max-width: none; object-fit: cover; filter: sepia(.2) saturate(1.1) brightness(.72); }
.longtable__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,32,25,.75) 0%, rgba(23,32,25,.2) 35%, rgba(23,32,25,.3) 60%, rgba(23,32,25,.92) 100%); pointer-events: none; }
.longtable__title { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(30px, 7vh, 80px); z-index: 3; max-width: var(--max); margin-inline: auto; }
.longtable__dishes { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.plate-tag {
  position: absolute; background: rgba(23, 32, 25, .82); border: 1px solid rgba(237,227,207,.35); color: #EDE3CF;
  padding: 10px 14px; max-width: 220px; font-size: .82rem; backdrop-filter: blur(3px);
}
.plate-tag b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; font-style: italic; }
.plate-tag::before { content: ""; position: absolute; left: -26px; top: 50%; width: 22px; border-top: 1px dashed rgba(237,227,207,.6); }
.flame { display: inline-block; width: 10px; height: 16px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 50% 70%, #FFE7A8, #F59E2C 60%, transparent 70%); box-shadow: 0 0 18px 6px rgba(255, 170, 60, .35); animation: flame 2.4s ease-in-out infinite; vertical-align: middle; }

.night { display: grid; gap: 30px; }
@media (min-width: 1000px) { .night { grid-template-columns: 1fr 1fr; min-height: 100vh; align-items: center; } }
.night__plates { position: relative; aspect-ratio: 1; width: min(520px, 90vw); margin-inline: auto; }
.night__plate { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); border: 10px solid #EFE6D2; }
.night__plate img { width: 100%; height: 100%; object-fit: cover; }
.night__courses { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.night__courses li { padding: 16px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 56px 1fr; gap: 8px; transition: opacity .5s; }
.night__courses li .t { font-family: var(--font-display); font-style: italic; color: color-mix(in srgb, var(--accent) 70%, #F6E2B8); }
.night__courses li h3 { font-size: clamp(1.4rem, 2.6vw, 2.2rem); }
.night__courses li p { grid-column: 2; margin: 0; font-size: .92rem; color: var(--ink-soft); }
.night__courses.is-driven li { opacity: .35; }
.night__courses.is-driven li.is-current { opacity: 1; }

.paper-stack { position: relative; }
.paper-stack__page {
  position: sticky; top: calc(var(--header-h) + 30px); background: var(--card); color: var(--ink); box-shadow: var(--shadow-lift);
  padding: clamp(26px, 5vw, 60px); margin-bottom: 18vh; border: 1px solid var(--rule); min-height: 46vh;
  max-width: 820px; margin-inline: auto;
}
.paper-stack__page:last-child { margin-bottom: 0; }
.paper-stack__page:nth-child(2) { top: calc(var(--header-h) + 50px); }
.paper-stack__page:nth-child(3) { top: calc(var(--header-h) + 70px); }
.paper-stack__page:nth-child(4) { top: calc(var(--header-h) + 90px); }
.paper-stack__page ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.paper-stack__page li { display: flex; gap: 10px; align-items: baseline; border-bottom: 1px dashed var(--rule); padding-bottom: 10px; }
.paper-stack__page li span:first-child { font-family: var(--font-display); font-size: 1.3rem; }
.paper-stack__page li .dots { flex: 1; border-bottom: 1px dotted var(--rule-strong); }

.wide-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.wide-row { display: grid; gap: 8px 30px; padding: clamp(24px, 4vw, 44px) 0; border-bottom: 1px solid var(--rule); align-items: center; text-decoration: none; position: relative; }
@media (min-width: 900px) { .wide-row { grid-template-columns: 140px 1fr auto; } }
.wide-row__title { font-family: var(--font-display); font-size: clamp(2rem, 5.4vw, 5rem); line-height: 1; font-weight: 400; transition: transform .6s var(--ease-out), color .3s; }
.wide-row:hover .wide-row__title { transform: translateX(18px); font-style: italic; }

.gift-card {
  aspect-ratio: 1.6; width: min(440px, 100%); padding: 24px 26px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #2A3A2E, #1C271F); color: #EFE4CC; border: 1px solid rgba(239,228,204,.3);
  box-shadow: 0 40px 70px -40px rgba(0,0,0,.8); display: flex; flex-direction: column; justify-content: space-between;
  transform: rotate(-4deg);
}
.gift-card::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(239,228,204,.25); pointer-events: none; }
.gift-card .amt { font-family: var(--font-display); font-size: 3rem; font-style: italic; line-height: 1; }

.invitation {
  background: #F5EEDF; color: #2B241E; max-width: 680px; margin-inline: auto; padding: clamp(28px, 5vw, 56px);
  position: relative; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); text-align: center; transform: rotate(-1deg);
  --rule: rgba(43,36,30,.18); --rule-strong: rgba(43,36,30,.4); --ink: #2B241E; --ink-soft: #5A4E43; --paper: #F5EEDF; --card: #FAF7F1;
}
.invitation::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--rule-strong); pointer-events: none; }
.invitation .hand { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; }
.invitation .label { color: #5A4E43; }

/* ---------- 5.31 About ---------- */
.old-photo { position: relative; }
.old-photo img { filter: sepia(1) contrast(.95) brightness(.95); transition: filter 1.6s var(--ease-soft); }
.old-photo.is-colored img { filter: sepia(.12) saturate(1.05); }
.vine-timeline { position: relative; display: grid; gap: clamp(40px, 7vw, 90px); padding-block: 20px; }
.vine-timeline__svg { position: absolute; left: 50%; top: 0; bottom: 0; width: 60px; transform: translateX(-50%); height: 100%; color: var(--sage-deep); }
.vine-timeline__svg path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.milestone { position: relative; display: grid; gap: 10px; width: calc(50% - 50px); }
.milestone:nth-child(even of .milestone) { margin-inline-start: auto; }
.milestone .year { font-family: var(--font-display); font-style: italic; font-size: clamp(2.4rem, 5vw, 4rem); color: var(--accent-ink); line-height: 1; }
.milestone .leaf { position: absolute; top: 14px; width: 34px; height: 34px; color: var(--sage-deep); }
.milestone:nth-child(odd of .milestone) .leaf { right: -67px; }
.milestone:nth-child(even of .milestone) .leaf { left: -67px; transform: scaleX(-1); }
.milestone .leaf path { fill: color-mix(in srgb, var(--accent) 55%, transparent); stroke: currentColor; stroke-width: 1.2; }
@media (max-width: 759px) {
  .vine-timeline__svg { left: 18px; transform: none; }
  .milestone, .milestone:nth-child(even of .milestone) { width: auto; margin-inline-start: 62px; }
  .milestone .leaf, .milestone:nth-child(odd of .milestone) .leaf, .milestone:nth-child(even of .milestone) .leaf { left: -56px; right: auto; transform: none; }
}
.principles { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--rule-strong); }
@media (min-width: 760px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .principles { grid-template-columns: repeat(5, 1fr); } }
.principles li { padding: 24px 18px 30px; border-bottom: 1px solid var(--rule); border-inline-end: 1px solid var(--rule); }
.principles svg { width: 74px; height: 96px; color: var(--line); margin-bottom: 14px; }
.principles h3 { font-size: 1.55rem; font-style: italic; margin-bottom: 8px; }
.team { display: grid; gap: 34px; }
@media (min-width: 760px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .team { grid-template-columns: repeat(4, 1fr); } }
.member__photo { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.member__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease-soft), transform 1.1s var(--ease-out); filter: sepia(.15); }
.member__photo img + img { opacity: 0; transform: scale(1.06); }
.member:hover .member__photo img + img, .member:focus-within .member__photo img + img { opacity: 1; transform: scale(1); }
.member h3 { font-size: 1.5rem; margin-top: 14px; }
.member .hand { font-size: 1.6rem; color: var(--accent-ink); line-height: 1; }
.press-strip { display: grid; border-block: 1px solid var(--rule-strong); }
@media (min-width: 760px) { .press-strip { grid-template-columns: repeat(4, 1fr); } }
.press-strip figure { margin: 0; padding: 28px 22px; border-bottom: 1px solid var(--rule); border-inline-end: 1px solid var(--rule); }
.press-strip blockquote { margin: 0 0 12px; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; line-height: 1.35; }
.press-strip figcaption { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; }

/* ---------- 5.32 Auth (login / register) ---------- */
.auth { display: grid; grid-template-columns: minmax(0, 1fr); min-height: calc(100vh - 100px); }
@media (min-width: 1000px) { .auth { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.auth__visual { position: relative; overflow: hidden; min-height: 300px; background: #1d1813; }
.auth__visual img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; filter: sepia(.2) brightness(.7); }
.auth__visual .note { position: absolute; left: 8%; bottom: 8%; max-width: 330px; transform: rotate(-3deg); }
.auth__form-side { display: grid; place-items: center; padding: clamp(28px, 6vw, 72px) var(--gutter); }
.res-card {
  width: min(520px, 100%); min-width: 0; background: var(--card); border: 1px solid var(--rule-strong); box-shadow: var(--shadow-lift);
  padding: clamp(24px, 4vw, 44px); position: relative;
}
.res-card::before { content: ""; position: absolute; inset: 8px; border: 1px dashed var(--rule); pointer-events: none; }
.res-card__head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 3px double var(--rule-strong); padding-bottom: 12px; margin-bottom: 22px; gap: 10px; }
.form-stack { display: grid; gap: 20px; }
.form-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.portal-note { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: .9rem; color: var(--ink-soft); }
.portal-note ul { padding-inline-start: 18px; margin: 8px 0 0; }
.welcome-stamp { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; pointer-events: none; }
.welcome-stamp .stamp { width: 220px; font-size: .8rem; background: var(--paper); }
.welcome-stamp .stamp strong { font-size: 2.3rem; }

/* Recipe-style step indicator */
.steps { list-style: none; display: flex; gap: 0; margin: 0 0 26px; padding: 0; counter-reset: st; }
.steps li { flex: 1; position: relative; padding-top: 44px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); text-align: center; }
.steps li::before {
  counter-increment: st; content: counter(st); position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--rule-strong); display: grid; place-items: center;
  font-family: var(--font-display); font-style: italic; font-size: 1.05rem; text-transform: none; letter-spacing: 0; background: var(--card);
  transition: background-color .4s, color .4s, border-color .4s;
}
.steps li::after { content: ""; position: absolute; top: 17px; left: calc(50% + 22px); right: calc(-50% + 22px); border-top: 1px dashed var(--rule-strong); }
.steps li:last-child::after { display: none; }
.steps li { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  /* keep only the current step's name visible on small screens (all names remain readable to screen readers) */
  .steps li { font-size: 0; letter-spacing: 0; }
  .steps li.is-current { font-size: .64rem; letter-spacing: .08em; }
  .steps li::before { font-size: 1rem; }
}
.steps li.is-done::before { background: var(--sage-deep); color: #fff; border-color: var(--sage-deep); content: "✓"; }
.steps li.is-current { color: var(--ink); font-weight: 600; }
.steps li.is-current::before { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.step-pane[hidden] { display: none; }
html:not(.js) .step-pane[hidden] { display: block !important; }

/* ---------- 5.33 404 and coming soon ---------- */
.torn { background: var(--card); box-shadow: var(--shadow-lift); padding: clamp(30px, 6vw, 70px); position: relative; max-width: 860px; margin-inline: auto; text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 94%, 96% 97%, 92% 94%, 87% 98%, 82% 95%, 76% 99%, 70% 95%, 64% 98%, 58% 94%, 52% 98%, 46% 95%, 40% 99%, 34% 95%, 28% 98%, 22% 94%, 16% 98%, 10% 95%, 5% 98%, 0 95%); }
.torn .big { font-family: var(--font-display); font-size: clamp(7rem, 26vw, 17rem); line-height: .8; font-weight: 400; letter-spacing: -.05em; }
.torn .big em { color: var(--accent-ink); }
.plate-ill { width: min(260px, 70%); margin: 10px auto 20px; color: var(--line); }
.plate-ill circle, .plate-ill path { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }


/* ==========================================================================
   6. DASHBOARD (guest dining journal)
   ========================================================================== */
.dash { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 100vh; }
@media (min-width: 1024px) { .dash { grid-template-columns: 260px minmax(0, 1fr); } }
.dash-side {
  position: fixed; z-index: 80; top: 0; bottom: 0; left: 0; width: 280px; background: var(--paper-2);
  border-inline-end: 1px solid var(--rule-strong); padding: 22px 0 22px 18px; display: flex; flex-direction: column; gap: 24px;
  transform: translateX(-105%); transition: transform .6s var(--ease-out); overflow-y: auto;
}
.dash-side.is-open { transform: none; }
@media (min-width: 1024px) { .dash-side { position: sticky; height: 100vh; transform: none; width: auto; } }
.dash-side .logo { padding-inline-end: 18px; }
.dash-tabs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dash-tabs a, .dash-tabs button {
  position: relative; display: flex; align-items: center; gap: 12px; width: 100%; text-align: start;
  padding: 11px 16px; text-decoration: none; background: var(--paper-3); border: 1px solid var(--rule); border-inline-end: 0;
  border-radius: 6px 0 0 6px; font-family: var(--font-display); font-size: 1.05rem; color: var(--ink-soft);
  transition: background-color .3s, color .3s, transform .4s var(--ease-out);
}
.dash-tabs a:hover, .dash-tabs button:hover { transform: translateX(-4px); color: var(--ink); }
.dash-tabs a[aria-current="page"] { background: var(--paper); color: var(--ink); font-style: italic; transform: translateX(1px); box-shadow: -6px 0 0 var(--accent) inset; }
.dash-tabs svg { width: 18px; height: 18px; flex: none; }
.dash-tabs .count { margin-inline-start: auto; font-family: var(--font-body); font-size: .7rem; background: var(--accent); color: var(--on-accent); padding: 1px 7px; border-radius: 99px; }
.dash-main { min-width: 0; }
.dash-top {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px var(--gutter); background: color-mix(in srgb, var(--paper) 94%, transparent); border-bottom: 1px solid var(--rule);
}
.dash-top__who { display: flex; flex-direction: column; line-height: 1.2; margin-inline-end: auto; }
.dash-top__who b { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; }
@media (max-width: 520px) { .season-badge, .dash-top__who .label { display: none; } .dash-top .icon-btn { width: 36px; height: 36px; } }
.season-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--accent-ink); color: var(--accent-ink); border-radius: 99px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.bell { position: relative; }
.bell .dot { position: absolute; top: 6px; right: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); border: 2px solid var(--paper); }
.notif-pop {
  position: absolute; right: var(--gutter); top: calc(100% + 6px); width: min(360px, calc(100vw - 32px)); background: var(--card);
  border: 1px solid var(--rule-strong); box-shadow: var(--shadow-lift); padding: 8px 0; z-index: 50;
  transform-origin: top right; opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98);
  transition: opacity .3s, transform .45s var(--ease-out), visibility 0s .45s;
}
.notif-pop.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .45s var(--ease-out), visibility 0s; }
.notif-pop h2 { font-size: 1.1rem; font-style: italic; padding: 6px 16px 10px; border-bottom: 1px solid var(--rule); }
.notif-list { list-style: none; margin: 0; padding: 0; }
.notif-list li { padding: 12px 16px; border-bottom: 1px solid var(--rule); font-size: .9rem; display: grid; gap: 2px; }
.notif-list li:last-child { border-bottom: 0; }
.notif-list li.is-unread { box-shadow: 3px 0 0 var(--accent) inset; }
.notif-list time { font-size: .74rem; color: var(--ink-faint); }

.dash-body { padding: clamp(20px, 3.5vw, 44px) var(--gutter) 70px; max-width: 1280px; }
.dash-title { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; border-bottom: 3px double var(--rule-strong); padding-bottom: 14px; margin-bottom: 28px; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
@media (min-width: 900px) { .dash-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } .span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; } }
.sheet { background: var(--card); border: 1px solid var(--rule); box-shadow: var(--shadow-paper); padding: clamp(18px, 2.4vw, 28px); position: relative; min-width: 0; }
.sheet__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--rule); padding-bottom: 10px; margin-bottom: 16px; }
.sheet__head h2 { font-size: 1.4rem; font-style: italic; }
.sheet--accent { background: var(--accent-soft); }
.welcome-note { font-family: var(--font-hand); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1; }
.welcome-svg { width: min(520px, 100%); height: auto; color: var(--ink); overflow: visible; }
.welcome-svg text { font-family: var(--font-hand); font-size: 64px; fill: transparent; stroke: currentColor; stroke-width: 1; }
.loyalty-vine { width: 100%; height: 70px; color: var(--sage-deep); }
.loyalty-vine .track { stroke: var(--rule-strong); stroke-dasharray: 3 5; fill: none; stroke-width: 1.5; }
.loyalty-vine .grow { stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; }
.loyalty-vine .lv-leaf { fill: var(--accent); }
.loyalty-vine .lv-leaf.is-off { fill: none; stroke: var(--rule-strong); }
.quick-actions { display: grid; gap: 10px; }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; }
.mini-list li { padding: 10px 0; border-bottom: 1px dashed var(--rule); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.mini-list li:last-child { border-bottom: 0; }
.status { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding: 3px 8px; border: 1px solid currentColor; border-radius: 3px; white-space: nowrap; }
.status--ok { color: var(--sage-deep); }
.status--warn { color: var(--accent-ink); }
.status--muted { color: var(--ink-faint); }

.booking { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
@media (min-width: 1100px) { .booking { grid-template-columns: minmax(0, 1fr) 340px; } }
.summary-card { position: sticky; top: 90px; }
.summary-card dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0; }
.summary-card dt { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); padding-top: 3px; }
.summary-card dd { margin: 0; text-align: end; font-family: var(--font-display); }
.summary-card .total { font-size: 2rem; color: var(--accent-ink); font-style: italic; }
.flash { animation: softFlash 1s var(--ease-soft); }
.option-cards { display: grid; gap: 12px; }
@media (min-width: 640px) { .option-cards { grid-template-columns: 1fr 1fr; } }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; }
.option__body { display: grid; gap: 4px; padding: 18px; border: 1px solid var(--rule-strong); background: var(--paper); transition: border-color .3s, box-shadow .4s, transform .4s var(--ease-out); height: 100%; }
.option__body b { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; }
.option__body .price { font-family: var(--font-display); font-style: italic; color: var(--accent-ink); }
.option input:checked + .option__body { border-color: var(--ink); box-shadow: 4px 4px 0 var(--accent); transform: translate(-2px, -2px); }
.option input:focus-visible + .option__body { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--rule-strong); }
.stepper button { width: 42px; height: 42px; border: 0; background: none; font-size: 1.2rem; }
.stepper output { min-width: 44px; text-align: center; font-family: var(--font-display); font-size: 1.4rem; }
.guest-diet { padding: 14px 0; border-bottom: 1px dashed var(--rule); }
.step-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--rule); }
.preview-course { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--rule); align-items: baseline; transition: background-color .5s; }
.preview-course .n { font-family: var(--font-display); font-style: italic; color: var(--accent-ink); }
.preview-course.is-adapted { background: color-mix(in srgb, var(--accent-soft) 55%, transparent); }
.allergy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.allergy-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--rule); background: var(--paper); flex-wrap: wrap; }
.sev { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; }
.sev--severe { color: #9B1C14; }
.sev--mild { color: var(--sage-deep); }
.tag-input { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; border-bottom: 1px solid var(--rule-strong); padding: 6px 0; }
.tag-input input { border: 0; background: transparent; flex: 1; min-width: 120px; padding: 6px 2px; outline: none; }
.profile-card { border: 1px solid var(--rule); padding: 16px; background: var(--paper); }
.dash-overlay { z-index: 75; }

/* page turn between dashboard pages handled by global page transition */


/* ==========================================================================
   7. ANIMATIONS
   (keyframes, reveal states, ink draw, stamps, candle flicker, cursor,
    preloader, page transition, marquee)
   ========================================================================== */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes errIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) rotate(2deg); } to { opacity: 1; transform: rotate(-.6deg); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px) rotate(3deg); } }
@keyframes softFlash { 0% { background-color: var(--accent-soft); } 100% { background-color: transparent; } }
@keyframes leafUp { 0% { transform: translateY(0); } 50% { transform: translateY(-10px) rotate(-18deg); } 100% { transform: none; } }
@keyframes sway { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }
@keyframes flicker {
  0%, 100% { opacity: .85; } 18% { opacity: .7; } 33% { opacity: .95; } 47% { opacity: .78; } 62% { opacity: 1; } 80% { opacity: .82; }
}
@keyframes flame { 0%, 100% { transform: scale(1) rotate(-2deg); } 50% { transform: scale(1.08, .94) rotate(2deg); } }
@keyframes stampPress {
  0% { opacity: 0; transform: scale(1.8) rotate(calc(var(--rot) - 18deg)); }
  55% { opacity: 1; transform: scale(.94) rotate(var(--rot)); }
  70% { transform: scale(1.02) rotate(calc(var(--rot) + 1.5deg)); }
  85% { transform: scale(.99) rotate(calc(var(--rot) - 1deg)); }
  100% { opacity: 1; transform: scale(1) rotate(var(--rot)); }
}
@keyframes growSlow { from { transform: scaleY(.92); } to { transform: scaleY(1.04); } }

/* Leaves sway gently once drawn */
.botanical.is-drawn .leaf-sway { animation: sway 6s ease-in-out infinite; }
.botanical.is-drawn .leaf-sway:nth-of-type(2n) { animation-duration: 7.5s; animation-delay: -2s; }

/* Stamps: CSS-driven press, triggered by .is-pressed */
.js .stamp[data-stamp] { opacity: 0; }
.js .stamp[data-stamp].is-pressed { animation: stampPress .7s var(--ease-out) forwards; }

/* Custom cursor replaces the native arrow (text inputs keep theirs) */
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: auto; }

/* Long table on small screens: dish tags become a swipeable row */
@media (max-width: 899px) {
  .longtable { height: 92vh; }
  .longtable__dishes { top: 88px; bottom: auto; display: flex; gap: 12px; overflow-x: auto; padding: 0 var(--gutter) 8px; pointer-events: auto; }
  .plate-tag { position: static; flex: none; }
  .plate-tag::before { display: none; }
}

/* Line mask for split headlines */
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-line__inner { display: block; will-change: transform; }

/* Custom cursor (desktop only) */
.cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--ink); }
.cursor__ring {
  position: absolute; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%;
  border: 1px solid var(--ink); display: grid; place-items: center;
  transition: width .4s var(--ease-out), height .4s var(--ease-out), margin .4s var(--ease-out), background-color .3s, border-color .3s;
}
.cursor__label { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--paper); opacity: 0; transition: opacity .25s; }
.cursor__leaf { position: absolute; width: 22px; height: 22px; color: var(--paper); opacity: 0; transition: opacity .25s; }
.cursor.is-label .cursor__ring { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: var(--ink); border-color: var(--ink); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-image .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: color-mix(in srgb, var(--accent) 85%, transparent); border-color: transparent; }
.cursor.is-image .cursor__leaf { opacity: 1; }
.cursor.is-down .cursor__ring { transform: scale(.86); }

/* Preloader (created by JS on first visit) */
.preloader { position: fixed; inset: 0; z-index: 300; background: var(--paper); display: grid; place-items: center; }
.preloader svg { width: 120px; height: 160px; color: var(--ink); overflow: visible; }
.preloader path, .preloader circle, .preloader line { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.preloader .seed { fill: var(--accent); stroke: none; }
.preloader__word { font-family: var(--font-display); font-size: 1.6rem; text-align: center; margin-top: 18px; opacity: 0; }
.preloader__word em { color: var(--accent-ink); }
.preloader__sheet-edge { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; background: linear-gradient(transparent, rgba(43,36,30,.08)); }

/* Season ink-wash wipe (created by JS) */
.season-wash { position: fixed; inset: 0; z-index: 240; pointer-events: none; visibility: hidden; }
.season-wash svg { width: 100%; height: 100%; }
.season-wash .wash { fill: var(--wash, var(--accent)); }

/* Candle glow expanding from the theme toggle */
.theme-glow { position: fixed; z-index: 235; pointer-events: none; border-radius: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; background: radial-gradient(circle, rgba(255, 200, 120, .55), rgba(255, 170, 70, .15) 45%, transparent 70%); }

/* Lenis smooth scroll: required base styles */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Pinned sections keep their own paper behind them while fixed */
.pin-spacer > .section { background-color: var(--paper); }
.pin-spacer > .section--paper2 { background-color: var(--paper-2); }

/* Image curtain reveal helper (only gated when JS + GSAP present) */
.reveal-img { overflow: hidden; }


/* ==========================================================================
   8. REDUCED-MOTION RULES
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .marquee__track { animation: none; flex-wrap: wrap; white-space: normal; }
  .marquee { white-space: normal; }
  .candle-glow::after, .flame { animation: none; }
  .botanical.is-drawn .leaf-sway { animation: none; }
  .js .stamp[data-stamp] { opacity: 1; }
  .cursor { display: none !important; }
  .paper-stack__page { position: relative; top: auto !important; margin-bottom: 30px; }
}
/* Also applied when JS detects reduced motion */
.reduced-motion .marquee__track { animation: none; }
.reduced-motion .stamp[data-stamp] { opacity: 1; }

/* About hero: keep the title beside the photo instead of far below it */
.about-hero .old-photo { aspect-ratio: 4 / 4.4; max-height: min(72vh, 640px); width: 100%; }

/* Responsive polish */
/* footer: leave room for the floating back-to-top leaf so it never covers the last line */
@media (max-width: 899px) { .footer-bottom { padding-bottom: 84px; } }
/* tags inside definition lists (event booking card) wrap instead of being cut off */
.profile-dl dd:has(.tag) { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
/* Home 2 menu stack: cards sized to their dishes on tall tablet/phone screens */
@media (max-width: 1023px) {
  .paper-stack__page { min-height: min(46vh, 340px); margin-bottom: 10vh; }
}

/* Login / Register: minimal header (logo + dark mode + RTL only) */
.masthead--auth .masthead__bar { justify-content: space-between; min-height: 68px; }
.masthead--auth .logo__mark { width: 26px; height: 34px; }
.masthead--auth .logo__word { font-size: 1.35rem; }

/* ---------- Small-screen alignment fixes ---------- */
@media (max-width: 899px) {
  /* Home 2 hero: dish tags and the title stack in flow instead of overlapping */
  .longtable { height: auto; min-height: min(92vh, 760px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 96px 0 clamp(32px, 7vh, 64px); }
  .longtable__dishes { position: relative; inset: auto; top: auto; flex: none; }
  .longtable__title { position: relative; left: auto; right: auto; bottom: auto; width: 100%; padding-inline: var(--gutter); margin: 0; }
  /* hero photos sit centred on phones and tablets */
  .hero-split__media { margin-inline: auto; }
  .cover__photo { margin-inline: auto; }
}
@media (max-width: 599px) {
  .hero-split__media, .cover__photo { width: 82%; }
  .hero-split__stamp, .cover__stamp { right: -10px; top: -18px; bottom: auto; }
  .hero-split__polaroid, .cover__polaroid { left: -9%; }
  /* folio rows (page number, label, switches) wrap instead of running off screen */
  .folio { flex-wrap: wrap; row-gap: 10px; }
  .folio .view-switch { margin-inline-start: auto; }
}

/* Contents (hamburger) menu never repeats what the header already shows:
   Reserve a Table is in the header from 640px, the RTL button from 760px */
@media (min-width: 640px) { .contents__list .menu-only-xs { display: none !important; } }
@media (min-width: 760px) { .contents__foot .menu-only-sm { display: none !important; } }
