/* Soul Bistro. The bistro's green menu card under a paperclip (DESIGN.md).
   Three voices: Libre Baskerville is what is printed on the card, Courier Prime is what gets
   written in, Archivo is the interface. Green 0/89/77 from the logomanual. */

@font-face { font-family: "Libre Baskerville"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/libre-baskerville-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Libre Baskerville"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/libre-baskerville-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Libre Baskerville"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/libre-baskerville-400i-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Libre Baskerville"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/libre-baskerville-400i-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Libre Baskerville"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/libre-baskerville-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Libre Baskerville"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/libre-baskerville-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-weight: 400; font-display: swap; src: url("../fonts/archivo-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-weight: 400; font-display: swap; src: url("../fonts/archivo-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Courier Prime"; font-weight: 400; font-display: swap; src: url("../fonts/courier-prime-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Courier Prime"; font-weight: 400; font-display: swap; src: url("../fonts/courier-prime-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Courier Prime"; font-weight: 700; font-display: swap; src: url("../fonts/courier-prime-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Courier Prime"; font-weight: 700; font-display: swap; src: url("../fonts/courier-prime-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --green: #00594d;
  --green-deep: #00423a;
  --paper: #f4eee1;
  --paper-deep: #e9e0cd;
  --kraft: #c9a778;
  --kraft-deep: #a8804f;
  --kraft-ink: #4a3a22;
  --ink: #17150f;
  --ink-soft: #565248;
  --linen: #ece5d6;
  --metal: #8f9096;
  --hairline: rgba(23, 21, 15, .18);
  --hairline-green: rgba(236, 229, 214, .28);
  --error: #8f2a1f;
  --font-brand: "Libre Baskerville", Baskerville, Georgia, serif;
  --font-write: "Courier Prime", "Courier New", monospace;
  --font-ui: "Archivo", "Segoe UI", Arial, sans-serif;
  --fs-micro: .68rem;
  --fs-meta: .82rem;
  --tracking: .12em;
  --space-1: .5rem; --space-2: 1rem; --space-3: 1.5rem; --space-4: 2.5rem; --space-5: 4rem; --space-6: 6.5rem;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --edge-start: max(var(--gutter), env(safe-area-inset-left));
  --edge-end: max(var(--gutter), env(safe-area-inset-right));
  --top-h: 4.5rem;
  --gap: 1.5rem;
  --col: calc((100vw - var(--edge-start) - var(--edge-end) - 11 * var(--gap)) / 12);
  --section: clamp(4rem, 6.7vw, 6rem);
  --card-shadow: 0 34px 70px -34px rgba(0, 0, 0, .55), 0 2px 0 rgba(255, 255, 255, .06) inset;
  --slip-shadow: 0 14px 30px -16px rgba(0, 0, 0, .5);
  --ease: cubic-bezier(.22, .61, .21, 1);
  --paper-grain: radial-gradient(circle at 18% 23%, rgba(23, 21, 15, .035) 0 .55px, transparent .7px), radial-gradient(circle at 71% 64%, rgba(23, 21, 15, .03) 0 .5px, transparent .65px);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font-family: var(--font-ui); line-height: 1.55; overflow-x: clip; scroll-padding-top: var(--top-h); }
body { min-width: 20rem; margin: 0; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
body.is-veiled { overflow: hidden; }
a { color: inherit; }
svg { display: block; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 90; top: 0; left: 0; padding: .75rem 1rem; background: var(--ink); color: var(--linen); font: 700 var(--fs-micro)/1 var(--font-write); letter-spacing: var(--tracking); text-transform: uppercase; transform: translateY(-120%); }
.skip-link:focus-visible { transform: translateY(0); }

/* the label voice: small caps in the typewriter face */
.kicker, .top__nav, .top__lang, .burger, .veil__lang, .rf-legend, .rf-label, .button, .slip__kicker, .year__when, .more, .aside__lead {
  font-family: var(--font-write); font-size: var(--fs-micro); font-weight: 700; letter-spacing: var(--tracking); text-transform: uppercase;
}
.kicker { margin: 0 0 .5rem; color: var(--green); }
.title { margin: 0; font-family: var(--font-brand); font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 700; letter-spacing: .005em; line-height: 1.1; }
.title--2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.subtitle { margin: 0 0 var(--space-3); font-family: var(--font-brand); font-size: 1.3rem; font-weight: 700; }
.intro { max-width: 46ch; margin: .75rem 0 0; font-family: var(--font-brand); font-size: 1.05rem; line-height: 1.5; color: var(--ink-soft); }

/* --- top bar and the veil ------------------------------------------------------------ */
.top {
  position: sticky; z-index: 40; top: 0;
  display: grid; align-items: center; column-gap: var(--space-3);
  min-height: var(--top-h); padding: 0 var(--edge-end) 0 var(--edge-start);
  background: var(--green); color: var(--linen);
  border-bottom: 1px solid var(--hairline-green);
  grid-template-columns: auto 1fr auto auto;
}
.top a { text-decoration: none; }
.top a:hover, .top a:focus-visible { text-decoration: underline; text-underline-offset: .3em; }
.top__brand { display: inline-flex; align-items: center; min-height: 2.75rem; }
.top__mark { height: calc(var(--top-h) / 2); }
.top__nav { display: flex; gap: var(--space-2); min-width: 0; }
.top__nav a, .top__lang a, .top__lang span[aria-current] { display: inline-flex; align-items: center; min-height: 2.75rem; white-space: nowrap; }
.top__nav a[aria-current] { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 2px; }
.top__cta, .top__ghost { padding: 0 .9rem; border: 1px solid var(--linen); border-radius: 2px; }
.top__cta { margin-left: auto; }
.top__cta { background: var(--linen); color: var(--green); }
.top__cta:hover, .top__cta:focus-visible, .top__ghost:hover, .top__ghost:focus-visible { text-decoration: none; }
.top__cta:hover, .top__cta:focus-visible { background: var(--paper); }
.top__ghost:hover, .top__ghost:focus-visible { background: rgba(244, 238, 225, .12); }
.top__nav a.top__cta[aria-current], .top__nav a.top__ghost[aria-current] { text-decoration: none; box-shadow: 0 2px 0 var(--linen); }
.top__lang { display: flex; align-items: center; gap: .35rem; }
.top__lang a, .top__lang span[aria-current] { min-width: 2rem; justify-content: center; }
.top__lang a { font-weight: 400; }
.burger { display: none; align-items: center; gap: .6rem; min-height: 2.75rem; padding: 0 .25rem; border: 0; background: none; color: inherit; cursor: pointer; }
.burger__lines { position: relative; width: 1.35rem; height: 2px; background: currentColor; }
.burger__lines::before, .burger__lines::after { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; content: ""; transition: transform .3s var(--ease); }
.burger__lines::before { top: -6px; } .burger__lines::after { top: 6px; }
.burger[aria-expanded="true"] .burger__lines { background: transparent; }
.burger[aria-expanded="true"] .burger__lines::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines::after { transform: translateY(-6px) rotate(-45deg); }
.veil { position: fixed; z-index: 30; inset: var(--top-h) 0 0; display: grid; align-content: center; justify-items: start; gap: .25rem; padding: var(--space-4) var(--edge-start); background: var(--green); color: var(--linen); }
.veil a { font-family: var(--font-brand); font-size: clamp(2rem, 8vw, 3rem); font-weight: 700; line-height: 1.25; text-decoration: none; }
.veil a[aria-current] { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 3px; }
.veil__lang { margin-top: var(--space-3); font: 700 var(--fs-micro)/1 var(--font-write) !important; letter-spacing: var(--tracking); }

/* --- the buttons: printed labels ---------------------------------------------------- */
.button { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; padding: .75rem 1.1rem; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; letter-spacing: .1em; text-decoration: none; }
.button::after { content: "→"; }
.button--paper { background: var(--linen); color: var(--green); border-color: var(--linen); }
.button--paper:hover, .button--paper:focus-visible { background: var(--paper); }
.button--green { background: var(--green); color: var(--linen); border-color: var(--green); }
.button--green:hover, .button--green:focus-visible { background: var(--green-deep); border-color: var(--green-deep); }

/* --- the card, the paperclip, the slip ------------------------------------------------ */
.card { position: relative; background: var(--green); color: var(--linen); box-shadow: var(--card-shadow); }
.card::after { position: absolute; inset: 0; pointer-events: none; content: ""; background: linear-gradient(115deg, rgba(255, 255, 255, .06), transparent 40%, rgba(0, 0, 0, .08)); }
.card > * { position: relative; z-index: 1; }
.card__lockup { height: clamp(72px, 9vw, 104px); max-width: 100%; }
.card__brand { margin: 0; }
.card__line { margin: .5rem 0 0; font-family: var(--font-write); font-size: var(--fs-meta); opacity: .85; }

.slip { position: relative; }
.slip__paper { position: relative; padding: 1.35rem 1.25rem 1rem; background-color: var(--paper); background-image: var(--paper-grain); background-size: 11px 13px, 17px 19px; color: var(--ink); box-shadow: var(--slip-shadow); }
.clip { position: absolute; z-index: 2; top: -1.4rem; left: 1.4rem; width: 1.45rem; height: auto; color: var(--metal); filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35)); transform-origin: 50% 20%; }
.slip__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem .75rem; margin: 0 0 .75rem; padding: 0 0 .5rem 1.9rem; border-bottom: 1px solid var(--hairline); }
.slip__title { margin: 0; font-family: var(--font-brand); font-size: 1.3rem; font-weight: 700; line-height: 1.1; }
.slip__date { margin: 0; font-family: var(--font-write); font-size: var(--fs-meta); color: var(--ink-soft); }
.slip__section + .slip__section { margin-top: .85rem; }
.slip__kicker { margin: 0 0 .35rem; color: var(--green); }
.slip__list { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.slip__item { display: grid; align-items: baseline; column-gap: .5rem; grid-template-columns: minmax(0, auto) 1fr auto; }
.slip__name { font-family: var(--font-brand); font-size: .98rem; line-height: 1.3; }
.slip__veg { margin-left: .2rem; font: 700 .6rem/1 var(--font-write); color: var(--green); text-decoration: none; vertical-align: super; }
.slip__lead { border-bottom: 2px dotted var(--hairline); min-width: 1rem; transform: translateY(-.2em); }
.slip__price { font-family: var(--font-write); font-weight: 700; font-size: .92rem; white-space: nowrap; }
.slip__desc, .slip__all { grid-column: 1 / -1; }
.slip__desc { font-family: var(--font-brand); font-style: italic; font-size: .84rem; line-height: 1.35; color: var(--ink-soft); }
.slip__all { font-family: var(--font-write); font-size: .66rem; color: var(--ink-soft); }
.slip__more { margin: .5rem 0 0; font-family: var(--font-write); font-size: var(--fs-meta); color: var(--ink-soft); }
.slip__note { margin: .85rem 0 0; font-family: var(--font-write); font-size: var(--fs-meta); line-height: 1.45; color: var(--ink-soft); }
.slip__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem .85rem; margin-top: .9rem; padding-top: .6rem; border-top: 1px solid var(--hairline); font-family: var(--font-write); font-size: .7rem; color: var(--ink-soft); }
.slip__sample { padding: .1rem .4rem; border: 1px solid var(--hairline); text-transform: uppercase; letter-spacing: .08em; font-size: .6rem; }
.slip__links { display: flex; gap: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .66rem; }
.slip__links a { color: var(--green); text-underline-offset: .25em; }
.slip__empty { font-family: var(--font-brand); }
.slip__empty p { margin: 0; }
.slip__how, .events__how { margin-top: .35rem !important; font-family: var(--font-write); font-size: var(--fs-meta); color: var(--ink-soft); }

/* --- the grid every page shares: one gutter, twelve columns, the same section rhythm ------- */
.section { padding: var(--section) var(--edge-end) var(--section) var(--edge-start); }
.section + .section { padding-top: 0; }
.cols-7 { max-width: calc(7 * var(--col) + 6 * var(--gap)); margin-top: var(--space-4); }
.split { display: grid; align-items: start; gap: var(--gap); margin-top: var(--space-4); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.split > form { grid-column: 1 / span 7; }
.split > .aside { grid-column: 9 / span 4; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: var(--space-3) 0 0; }
.legend { margin: var(--space-3) 0 0; font-family: var(--font-write); font-size: var(--fs-meta); color: var(--ink-soft); }
.more { margin: var(--space-3) 0 0; }
.more a { color: var(--green); text-underline-offset: .3em; }

/* --- the facts line: address · open state · the hours link ------------------------------------ */
.facts { display: flex; flex-wrap: wrap; gap: .2rem 0; margin: 0; font-family: var(--font-write); font-size: .8125rem; line-height: 1.5; }
.facts__seg { white-space: nowrap; }
.facts__seg:not(:last-child)::after { content: "·"; margin: 0 .5rem; opacity: .7; }
.facts a { text-underline-offset: .25em; }
.facts__state::before { display: inline-block; width: .5em; height: .5em; margin-right: .45em; content: ""; border-radius: 50%; background: currentColor; opacity: .5; vertical-align: .05em; }
.facts__state[data-open="true"]::before { background: #63c48f; opacity: 1; }
.facts--state { font-size: 1rem; margin: .75rem 0 0; color: var(--green); }
.facts--state .facts__seg::after { content: none; }

/* --- hero: the field with today's card, the window whole beside it ---------------------------- */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: calc(100svh - var(--top-h)); background: var(--green); color: var(--linen); }
.hero__field { display: grid; align-content: center; padding: var(--space-4) var(--space-4) var(--space-4) var(--edge-start); }
.hero__stack { display: grid; gap: 1rem; width: 100%; max-width: 30.5rem; }
.hero__facts { color: var(--linen); opacity: .88; }
.card--hero { padding: 1.75rem 1.75rem 1.5rem; background: var(--green); }
.card--hero .slip--clipped { margin: .5rem 0 0; }
.card--hero .slip__paper { transform: rotate(1deg); }
.card--hero .clip { top: -1rem; left: 1.25rem; width: 1.75rem; transform: rotate(1deg); }
.card__sign { display: flex; justify-content: flex-end; margin: .85rem 0 0; opacity: .9; }
.card--hero .card__sign-mark { height: 1.75rem; color: var(--linen); }
.hero__cta { justify-self: start; margin-top: .25rem; }
.hero__panel { position: relative; min-height: 28rem; background: var(--green-deep); }
.hero__photo { position: absolute; inset: 0; display: block; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }

/* --- favourites: plates in kraft sleeves ---------------------------------------------- */
.sleeves { display: grid; gap: var(--space-3); margin: var(--space-4) 0 0; padding: 0; list-style: none; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sleeve { position: relative; display: grid; }
.sleeve__plate { position: relative; z-index: 0; margin: 0 .5rem; aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper-deep); transition: transform .45s var(--ease); }
.sleeve__plate img { width: 100%; height: 100%; object-fit: cover; }
.sleeve__paper { position: relative; z-index: 1; margin-top: -30%; padding: 2.4rem .9rem .9rem; background: linear-gradient(180deg, var(--kraft) 0, var(--kraft) 55%, var(--kraft-deep) 100%); color: var(--kraft-ink); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .55); clip-path: polygon(0 12%, 6% 6%, 14% 12%, 22% 5%, 31% 11%, 40% 5%, 50% 12%, 60% 5%, 70% 11%, 79% 5%, 88% 12%, 95% 6%, 100% 12%, 100% 100%, 0 100%); }
.sleeve__paper::before { position: absolute; inset: 12% 0 0; content: ""; background-image: repeating-linear-gradient(120deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 7px); pointer-events: none; }
.sleeve__name { margin: 0; font-family: var(--font-brand); font-size: 1.05rem; font-weight: 700; line-height: 1.2; }
.sleeve__sub { margin: .25rem 0 0; font-family: var(--font-write); font-size: .72rem; line-height: 1.35; }
.sleeve:hover .sleeve__plate, .sleeve:focus-within .sleeve__plate, .sleeve.is-up .sleeve__plate { transform: translateY(-1.1rem); }


/* --- events, as the app publishes them ------------------------------------------------------- */
.events { display: grid; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.event { display: grid; gap: var(--space-2); padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--hairline); box-shadow: 0 10px 24px -16px rgba(0, 0, 0, .35); grid-template-columns: auto 1fr; }
.event__date { display: grid; place-content: center; min-width: 3.4rem; padding: .4rem .3rem; background: var(--green); color: var(--linen); text-align: center; font-family: var(--font-write); }
.event__date b { display: block; font-size: 1.4rem; line-height: 1; }
.event__date span { font-size: .68rem; letter-spacing: .06em; }
.event__title { margin: 0; font-family: var(--font-brand); font-size: 1.15rem; font-weight: 700; line-height: 1.2; }
.event__meta { margin: .25rem 0 0; font-family: var(--font-write); font-size: var(--fs-meta); color: var(--green); }
.event__text { margin: .45rem 0 0; font-size: .95rem; line-height: 1.5; color: var(--ink-soft); }
.events__empty { margin: 0; font-family: var(--font-brand); }
.events__empty p { margin: 0; }
.events__how { margin-top: .35rem !important; font-family: var(--font-write); font-size: var(--fs-meta); color: var(--ink-soft); }

/* --- the year: five rows on hairlines --------------------------------------------------------- */
.year__kicker { margin-top: var(--section); }
.year { margin: var(--space-4) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--hairline); }
.year__row { display: grid; gap: var(--gap); align-items: center; padding: var(--space-3) 0; border-bottom: 1px solid var(--hairline); grid-template-columns: 9rem minmax(0, 1fr) 10rem; }
.year__when { margin: 0; color: var(--green); font-size: .8rem; letter-spacing: .1em; }
.year__name { margin: 0; font-family: var(--font-brand); font-size: 1.375rem; font-weight: 700; line-height: 1.2; }
.year__text { max-width: 52ch; margin: .35rem 0 0; font-size: 1rem; line-height: 1.5; color: var(--ink-soft); }
.year__photo { width: 10rem; aspect-ratio: 4 / 5; overflow: hidden; justify-self: end; }
.year__photo img { width: 100%; height: 100%; object-fit: cover; }

/* --- reservation: the tick card, the phone beside it ------------------------------------------ */
/* --- reservation: the tick card ----------------------------------------------------------- */
.card--form { display: grid; gap: var(--space-3); margin: 0; padding: 1.75rem 1.5rem 1.5rem; background-color: var(--paper); background-image: var(--paper-grain); background-size: 11px 13px, 17px 19px; color: var(--ink); border-top: 8px solid var(--green); }
.card--form::after { display: none; }
.rf-group { display: grid; min-width: 0; gap: .75rem; padding: 0; margin: 0; border: 0; }
.rf-legend { padding: 0; margin-bottom: .25rem; color: var(--green); }
.rf-row { display: grid; gap: var(--space-2); }
.rf-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rf-field { display: grid; min-width: 0; gap: .35rem; }
.rf-label { color: var(--ink-soft); }
.rf-opt { margin-left: .35rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.rf-input { width: 100%; min-height: 2.75rem; padding: .55rem .7rem; border: 1px solid var(--hairline); border-radius: 0; background: #fff; color: var(--ink); font: 1rem/1.3 var(--font-write); appearance: none; -webkit-appearance: none; }
.rf-input--line { padding-left: 0; padding-right: 0; border: 0; border-bottom: 2px dotted var(--ink); background: transparent; }
.rf-input:focus-visible { border-color: var(--green); outline: 2px solid var(--green); outline-offset: 2px; }
.rf-input--line:focus-visible { outline: 0; border-bottom-style: solid; border-bottom-color: var(--green); }
textarea.rf-input { min-height: 4.2rem; resize: vertical; line-height: 1.5; }
select.rf-input { padding-right: 2.25rem; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 1.1rem) 50%, calc(100% - .75rem) 50%; background-repeat: no-repeat; background-size: .35rem .35rem; }
.rf-field.has-error .rf-input, .rf-group.has-error .choice { border-color: var(--error); }
.rf-error { min-height: 1.1em; margin: 0; font-family: var(--font-write); font-size: var(--fs-micro); color: var(--error); }
.rf-hint { margin: 0; font-family: var(--font-write); font-size: var(--fs-micro); color: var(--ink-soft); }
.stepper { display: inline-grid; grid-template-columns: 2.75rem 4.5rem 2.75rem; }
.stepper__btn { border: 1px solid var(--hairline); background: #fff; color: var(--ink); font: 1.2rem/1 var(--font-write); cursor: pointer; }
.stepper__input { text-align: center; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { position: relative; display: inline-flex; align-items: center; gap: .65rem; min-height: 2.75rem; padding: .5rem .85rem .5rem .7rem; border: 1px solid var(--hairline); background: #fff; cursor: pointer; user-select: none; font-family: var(--font-brand); font-size: .95rem; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.choice input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.tick { display: grid; place-items: center; width: 1.15rem; height: 1.15rem; border: 1.6px solid var(--ink); background: var(--paper); }
.tick svg { width: 100%; height: 100%; }
.tick path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.choice:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.choice:has(input:checked) .tick path { stroke-dashoffset: 0; }
.choice:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.choice:hover .tick { border-color: var(--green); }
.rf-status { margin: 0; font-family: var(--font-write); font-size: var(--fs-meta); color: var(--error); }
.card__signature { display: flex; justify-content: flex-end; margin: 0; opacity: 0; transform: rotate(-6deg) translateY(.3rem); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.card__sign-mark { height: 3rem; color: var(--green); }
.card--form.is-complete .card__signature { opacity: 1; transform: rotate(-6deg); }
.rf-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.rf-terms { margin: 0; font-family: var(--font-write); font-size: var(--fs-meta); line-height: 1.5; color: var(--ink-soft); }
.rf-terms a { color: var(--ink); text-underline-offset: .2em; }

.aside { display: grid; gap: var(--space-2); justify-items: start; }
.aside__lead { margin: 0; color: var(--green); }
.aside__call { color: var(--green); }
.aside__hours { margin: .5rem 0 0; font-family: var(--font-write); font-size: var(--fs-meta); line-height: 1.6; color: var(--ink); }
.aside__note { margin: 0; font-family: var(--font-write); font-size: var(--fs-meta); line-height: 1.5; color: var(--ink-soft); }
.aside__note a { color: var(--ink); text-underline-offset: .2em; }

/* --- contact: the facts in the left column, the window whole on the right ---------------------- */
.contact { display: grid; gap: var(--gap); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.contact__text { grid-column: 1 / span 6; }
.contact__panel { grid-column: 7 / span 6; }
.contact__card { margin: var(--space-4) 0 0; font-style: normal; }
.contact__card p { margin: 0; }
.contact__name { font-family: var(--font-brand); font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.contact__address { margin-top: .35rem !important; font-family: var(--font-brand); font-size: 1.25rem; line-height: 1.4; }
.contact__phone { margin-top: 1rem !important; font-family: var(--font-write); font-size: 1.125rem; }
.contact__mail { font-family: var(--font-write); font-size: 1rem; }
.contact__social { margin-top: 1rem !important; font-family: var(--font-write); font-size: var(--fs-meta); }
.contact__operator { margin-top: 1rem !important; font-family: var(--font-write); font-size: .75rem; color: var(--ink-soft); }
.contact__card a { text-underline-offset: .2em; }
.contact__hours { margin-top: var(--section); scroll-margin-top: calc(var(--top-h) + 1rem); }
.hours { width: 100%; margin: var(--space-3) 0 0; border-collapse: collapse; font-family: var(--font-write); font-size: 1rem; }
.hours tr { border-top: 1px solid var(--hairline); }
.hours tr:last-child { border-bottom: 1px solid var(--hairline); }
.hours th, .hours td { height: 2.75rem; padding: 0 .5rem 0 0; text-align: left; font-weight: 400; vertical-align: middle; }
.hours th { position: relative; width: 4rem; padding-left: 1.25rem; }
.hours td:last-child { color: var(--green); font-size: var(--fs-meta); text-align: right; padding-right: .25rem; }
.hours .is-closed td:nth-child(2) { color: var(--ink-soft); font-style: italic; }
.hours tr[aria-current] { color: var(--green); font-weight: 700; }
.hours tr[aria-current] th::before { position: absolute; left: .25rem; top: 50%; width: .5rem; height: .5rem; margin-top: -.25rem; content: ""; border-radius: 50%; background: var(--green); }
.contact__map { margin-top: var(--space-5); }
.map { position: relative; display: grid; place-content: center; justify-items: center; gap: .75rem; aspect-ratio: 16 / 10; margin-top: var(--space-3); border: 1px solid var(--hairline); background: var(--paper-deep); }
.map__note { max-width: 32ch; margin: 0; font-family: var(--font-write); font-size: var(--fs-micro); line-height: 1.5; text-align: center; color: var(--ink-soft); }
.map__note a { color: var(--ink); text-underline-offset: .2em; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map.is-loaded .map__load, .map.is-loaded .map__note { display: none; }
.contact__panel { position: relative; }
.contact__photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--green-deep); }
.contact__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }

/* --- footer: the client's sticker, the group ----------------------------------------------------- */
.sticker { position: relative; padding: var(--space-4) var(--space-4) var(--space-3); border: 1px solid rgba(23, 21, 15, .12); border-radius: 2px; background-color: var(--paper); background-image: var(--paper-grain); background-size: 11px 13px, 17px 19px; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 255, 255, .4) inset; }
.sticker__head { display: grid; justify-items: center; }
.sticker__lockup { height: 84px; max-width: 80%; }
.sticker__lines { display: grid; gap: 1.1rem; padding: 0; margin: var(--space-3) 0; list-style: none; }
.sticker__line { min-height: 1.5rem; padding-bottom: .3rem; border-bottom: 2px dotted rgba(23, 21, 15, .45); font-family: var(--font-write); font-size: .86rem; line-height: 1.35; }
.sticker__food { display: grid; justify-items: center; }
.sticker__food-mark { height: 42px; }
/* --- footer: the sticker, the group ----------------------------------------------------------- */
.foot { display: grid; align-items: end; gap: var(--space-4); padding: var(--space-5) var(--edge-end) max(var(--space-3), env(safe-area-inset-bottom)) var(--edge-start); background: var(--green); color: var(--linen); grid-template-columns: auto 1fr; }
.sticker--foot { width: max-content; max-width: 100%; padding: var(--space-3) var(--space-3) var(--space-2); transform: rotate(-.8deg); }
.sticker--foot .sticker__lockup { height: 58px; }
.sticker--foot .sticker__lines { gap: .7rem; margin: var(--space-2) 0; }
.sticker--foot .sticker__line { font-size: .72rem; white-space: nowrap; }
.sticker--foot .sticker__food-mark { height: 30px; }
.foot__meta { display: grid; justify-items: end; gap: .75rem; font-family: var(--font-write); font-size: var(--fs-micro); letter-spacing: var(--tracking); }
.foot__meta p { margin: 0; }
.foot__group { display: inline-flex; align-items: center; gap: .75rem; }
.foot__group-link { display: inline-flex; }
.foot__group-mark { height: 44px; }
.foot__credit a { text-underline-offset: .25em; }


/* --- motion, politely: base states are visible, the script arms the rest ------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .card--hero { animation: cardIn .9s var(--ease) both; }
  .card--hero .slip--clipped { animation: slipIn .7s var(--ease) .35s both; }
  .card--hero .clip { animation: clipPress .5s var(--ease) .95s both; }
  .choice:has(input:checked) .tick path { transition: stroke-dashoffset .35s var(--ease); }
  .button, .stepper__btn { transition: background-color .24s var(--ease), border-color .24s var(--ease), color .24s var(--ease); }
}
@keyframes cardIn { from { opacity: 0; transform: translateY(1.2rem); } to { opacity: 1; transform: none; } }
@keyframes slipIn { from { opacity: 0; transform: translateY(-1.4rem); } to { opacity: 1; transform: none; } }
@keyframes clipPress { 0% { transform: rotate(1deg); } 55% { transform: rotate(4deg) translateY(1px); } 100% { transform: rotate(1deg); } }
@media (prefers-reduced-motion: reduce) { .sleeve__plate { transition: none; } }

/* --- widths ------------------------------------------------------------------------------------ */
@media (max-width: 63.999rem) {
  .top { grid-template-columns: auto 1fr auto; }
  .top__nav { display: none; }
  .top__lang { display: none; }
  .burger { display: inline-flex; justify-self: end; }
  .hero { min-height: 0; grid-template-columns: minmax(0, 1fr); }
  .hero__panel { order: -1; min-height: 0; height: clamp(18rem, 56svh, 32rem); }
  .hero__photo img { object-position: 50% 35%; }
  .hero__field { padding: var(--space-4) var(--edge-end) var(--space-4) var(--edge-start); }
  .hero__stack { max-width: none; }
  .sleeves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split > form, .split > .aside { grid-column: auto; }
  .cols-7 { max-width: none; }
  .year__row { grid-template-columns: minmax(0, 1fr) 7rem; row-gap: .5rem; }
  .year__when { grid-column: 1 / -1; }
  .year__photo { width: 7rem; }
  .year__photo--none { display: none; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact__text, .contact__panel { grid-column: auto; }
  .contact__panel { order: -1; }
  .contact__photo { aspect-ratio: 4 / 3; }
  .foot { grid-template-columns: minmax(0, 1fr); }
  .foot__meta { justify-items: start; }
}
@media (max-width: 40rem) {
  .rf-row--3 { grid-template-columns: minmax(0, 1fr); }
  .sleeves { display: flex; gap: var(--space-2); margin-inline: calc(-1 * var(--edge-start)) calc(-1 * var(--edge-end)); padding-inline: var(--edge-start) var(--edge-end); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .sleeves::-webkit-scrollbar { display: none; }
  .sleeve { flex: 0 0 78vw; scroll-snap-align: start; }
  .card--hero { padding: 1.25rem 1.1rem 1.1rem; }
  .card--hero .clip { left: 1rem; }
  .year__row { grid-template-columns: minmax(0, 1fr) 6rem; }
  .year__photo { width: 6rem; }
  .year__name { font-size: 1.2rem; }
  .year__text { font-size: .92rem; }
  .facts { display: grid; grid-template-columns: max-content max-content; justify-content: start; }
  .facts__seg:first-child { grid-column: 1 / -1; }
  .facts__seg:first-child::after { content: none; }
  .hours th { padding-left: 1rem; }
}
