/* Chapel garden — one design shared by the restaurants and the café (D-20).
   Libre Caslon Display for the printed-menu voice, Work Sans for reading.
   Thin double frames, arched photographs like a chapel doorway, a sprig
   between things. Mobile first.

   Each site differs only in this first block: its light ground and its own
   ink and accent. Everything after it is the same in all three sites. */

/* ── This site's colours: bone, deep green, herb ─────────────────────── */
:root {
  --ground: #f2efe8;      /* page */
  --ground-rgb: 242 239 232;
  --card: #faf8f3;        /* framed cards, mats, the tray */
  --band: #e9e4d8;        /* alternate bands */
  --ink: #1f3b33;         /* type, frames, buttons, the dark bands */
  --ink-rgb: 31 59 51;
  --ink-deep: #172e27;
  --ink-soft: #2c4f45;
  --accent: #8a9a5b;      /* sprigs, buds, underlines */
  --accent-ink: #55622e;  /* small capitals on the ground (AA) */
  --accent-pale: #c9d3a6; /* small capitals on the dark bands */
  --accent-mid: #a9b87a;  /* sprigs on the dark bands */
  --muted: #4a5a52;
}

/* ── Shared from here on ──────────────────────────────────────────────── */
:root {
  --text: var(--ink);
  --rule: rgb(var(--ink-rgb) / .22);
  --pale: rgb(var(--ground-rgb) / .84);
  --pale-soft: rgb(var(--ground-rgb) / .66);
  --display: 'Libre Caslon Display', 'Big Caslon', 'Book Antiqua', Georgia, serif;
  --sans: 'Work Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gut: 18px;
  --tray: 58px;
  --ease: cubic-bezier(.33, .1, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
picture { display: block; height: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
address { font-style: normal; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.greenhouse :focus-visible, .hedge :focus-visible { outline-color: var(--ground); }

.bypass {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 12px 16px; background: var(--ink); color: var(--ground);
  font: 500 .875rem/1 var(--sans); text-decoration: none;
}
.bypass:focus { top: 12px; }

/* ── Type ─────────────────────────────────────────────────────────────── */

.rubric {
  margin: 0 0 .9rem;
  font: 500 .75rem/1.35 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.rubric--pale { color: var(--accent-pale); }

.inscr {
  margin: 0 0 1.1rem;
  font: 400 clamp(1.875rem, 1.4rem + 2.1vw, 2.875rem)/1.14 var(--display);
  letter-spacing: .005em;
  text-wrap: balance;
}
.inscr--sm { font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2.125rem); }

.sprig { display: block; color: var(--accent); margin: .25rem 0 1.25rem; line-height: 0; }
.sprig svg { width: 96px; height: auto; }

.stem {
  display: inline-flex; align-items: center; gap: .6rem;
  min-height: 44px;
  font: 500 .8125rem/1.2 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.stem::after {
  content: '';
  width: 26px; height: 1px;
  background: currentColor;
  transition: width .5s var(--ease);
}
.stem:hover::after { width: 42px; }
.stem--pale { color: var(--ground); }
.plot-link { margin: 1.25rem 0 0; }

.seal {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 0 1.4rem;
  background: var(--ink);
  color: var(--ground);
  font: 500 .8125rem/1.2 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 4px rgb(var(--ground-rgb) / .5);
  transition: background-color .3s ease;
}
.seal:hover { background: var(--ink-soft); }
.seal--line { background: transparent; color: var(--ink); box-shadow: none; }
.seal--line:hover { background: rgb(var(--ink-rgb) / .06); }

.sundial {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: 1rem 0 0;
  font: 500 .75rem/1.4 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.bud { width: 8px; height: 8px; border-radius: 50% 0; border: 1px solid currentColor; flex: none; transform: rotate(-45deg); }
.bud--open { background: var(--accent); border-color: var(--accent); }

.leaves { list-style: none; margin: 0 0 1em; }
.leaves li { position: relative; padding: .4rem 0 .4rem 1.5rem; border-bottom: 1px dotted var(--rule); }
.leaves li::before {
  content: ''; position: absolute; left: 0; top: 1em;
  width: 8px; height: 8px; border-radius: 50% 0; background: var(--accent); transform: rotate(-45deg);
}

/* Frames: a photograph on a mat, inside a thin rule. */
.mat {
  display: block;
  padding: 8px;
  background: var(--card);
  border: 1px solid var(--rule);
}
.mat img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo--upright { object-position: 50% 75%; }

/* The arch: the chapel doorway. */
.arch {
  position: relative;
  overflow: hidden;
  border-radius: 999px 999px 0 0;
  outline: 1px solid var(--ink);
  outline-offset: 6px;
  margin: 7px;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--pale { outline-color: rgb(var(--ground-rgb) / .6); }

/* ── Header ───────────────────────────────────────────────────────────── */

.lintel {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 64px;
  padding: env(safe-area-inset-top) var(--gut) 0;
  background: var(--ground);
  border-bottom: 3px double var(--ink);
}
.nameplate { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); padding: .35rem 0; }
.nameplate-name { font: 400 1.625rem/1 var(--display); letter-spacing: .02em; }
.nameplate-sub { margin-top: .3rem; font: 500 .625rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--accent-ink); }
.herbnav { display: none; }
.lintel-end { display: flex; align-items: center; gap: .75rem; }
.lintel-book { display: none; }

.babel ul { display: flex; gap: .2rem; list-style: none; }
.babel a, .babel span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
  font: 500 .75rem/1 var(--sans); letter-spacing: .12em; text-decoration: none; color: var(--muted);
}
.babel span { color: var(--ink); text-decoration: underline; text-underline-offset: .3em; }

.drawer > summary { list-style: none; }
.drawer > summary::-webkit-details-marker { display: none; }
.drawer-toggle {
  display: flex; align-items: center; gap: .6rem;
  min-height: 44px; padding: 0 .9rem;
  border: 1px solid var(--ink);
  cursor: pointer;
  font: 500 .75rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
}
.drawer-icon { position: relative; width: 14px; height: 9px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.drawer-icon::after { content: ''; position: absolute; left: 0; right: 0; top: 3px; border-top: 1px solid currentColor; }
.drawer[open] .drawer-icon { border-color: transparent; }
.drawer[open] .drawer-icon::after { top: 3px; transform: rotate(45deg); }
.drawer[open] .drawer-icon::before { content: ''; position: absolute; left: 0; right: 0; top: 3px; border-top: 1px solid currentColor; transform: rotate(-45deg); }
.drawer-word--close { display: none; }
.drawer[open] .drawer-word--open { display: none; }
.drawer[open] .drawer-word--close { display: inline; }

.drawer-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100vh - 140px);
  max-height: calc(100svh - 140px);
  overflow-y: auto;
  margin: 3px var(--gut) 0;
  padding: 1.5rem 1.25rem 1.75rem;
  background: var(--card);
  border: 1px solid var(--ink);
  box-shadow: 0 0 0 4px var(--card), 0 0 0 5px var(--rule), 0 24px 48px rgb(var(--ink-rgb) / .18);
  animation: unfold .45s var(--ease) both;
}
@keyframes unfold { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.drawer-list { list-style: none; }
.drawer-list > li { border-bottom: 1px dotted var(--rule); }
.drawer-list > li > a { display: flex; align-items: center; min-height: 52px; font: 400 1.5rem/1.1 var(--display); text-decoration: none; }
.drawer-list a[aria-current] { color: var(--accent-ink); }
.drawer-list ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 1rem; padding-bottom: .5rem; }
.drawer-list ul a { display: inline-flex; align-items: center; min-height: 44px; font: 500 .75rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--muted); }

/* ── Home: words on the left, the arch on the right ───────────────────── */

.porch { display: grid; gap: 1.75rem; padding: 1.5rem var(--gut) 3.5rem; }
.porch .arch { order: -1; aspect-ratio: 1 / 1.08; }
.porch .arch img { object-position: 50% 88%; animation: settle 1.6s var(--ease) both; }
@keyframes settle { from { transform: scale(1.06); opacity: .4; } to { transform: none; opacity: 1; } }
.porch-title { margin: 0 0 .25rem; font: 400 clamp(2.5rem, 1.6rem + 4.6vw, 4.75rem)/1.04 var(--display); text-wrap: balance; }
.porch-lede { max-width: 32rem; font-size: 1.125rem; color: var(--muted); }
.porch-cta, .vestibule-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; margin: 1.5rem 0 0; }
.porch-cta .sundial, .vestibule-cta .sundial { margin: 0; }

.preface { display: grid; gap: 1rem; padding: 3.5rem var(--gut); border-top: 1px solid var(--rule); }
.preface-body p { max-width: 36rem; }

.bill-wrap { padding: 3rem var(--gut) 4rem; }
.bill-card {
  max-width: 1120px; margin: 0 auto;
  padding: 2.25rem 1.25rem 2rem;
  background: var(--card);
  border: 1px solid var(--ink);
  box-shadow: 0 0 0 5px var(--card), 0 0 0 6px var(--rule);
}
.bill-head { text-align: center; max-width: 34rem; margin: 0 auto 1.5rem; }
.bill-head p { color: var(--muted); }
.bill-foot { text-align: center; margin: 1.5rem 0 0; }

.entries { list-style: none; display: grid; }
.entry {
  display: grid; grid-template-columns: 88px 1fr; gap: 1rem; align-items: center;
  padding: 1.1rem 0;
  border-top: 1px dotted var(--rule);
}
.entry-thumb { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 999px 999px 0 0; }
.entry-thumb img { width: 100%; height: 100%; object-fit: cover; }
.entry-num { margin: 0 0 .2rem; font: 500 .6875rem/1 var(--sans); letter-spacing: .2em; color: var(--accent-ink); }
.entry-title { margin: 0 0 .3rem; font: 400 1.375rem/1.15 var(--display); }
.entry-title a { text-decoration: none; }
.entry-title a:hover { color: var(--accent-ink); }
.entry-sum { margin: 0; font-size: .9375rem; color: var(--muted); line-height: 1.5; }

.greenhouse { display: grid; gap: 2rem; padding: 3.5rem var(--gut) 4rem; background: var(--ink); color: var(--ground); }
.greenhouse .arch { aspect-ratio: 4 / 5; }
.greenhouse .arch img { object-position: 50% 12%; }
.greenhouse .sprig { color: var(--accent-mid); }
.greenhouse p { color: var(--pale); }

.plots > .plot:nth-child(even) { background: var(--band); }
.plot { display: grid; gap: 2rem; padding: 3.5rem var(--gut); }
.plot-text p { max-width: 36rem; }
.plot--menu { border-top: 1px solid var(--rule); }

.vintners { padding: 4rem var(--gut); text-align: center; background: var(--band); }
.vintners > p { max-width: 32rem; margin-left: auto; margin-right: auto; color: var(--muted); }
.vintners-list { list-style: none; margin: 1.75rem auto .5rem; max-width: 40rem; }
.vintners-list li { padding: .75rem 0; font: 400 clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem)/1.2 var(--display); border-top: 1px dotted var(--rule); }
.vintners-list li:last-child { border-bottom: 1px dotted var(--rule); }

.almanac { padding: 3rem var(--gut) 4rem; }
.almanac-card {
  display: grid; gap: 2rem;
  max-width: 1120px; margin: 0 auto;
  padding: 2rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--ink);
  box-shadow: 0 0 0 5px var(--card), 0 0 0 6px var(--rule);
}
.almanac-main p { max-width: 32rem; color: var(--muted); }
.almanac-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0 !important; }
.almanac-gap { margin-top: 1.75rem; }
.almanac-address { display: flex; flex-direction: column; }

.hourlist { margin: 0; }
.hourlist div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dotted var(--rule); }
.hourlist dt { font: 500 .8125rem/1.6 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.hourlist dd { margin: 0; font: 400 1.25rem/1.2 var(--display); font-variant-numeric: lining-nums; }
.hourlist-note { margin: .75rem 0 0; font-size: .9375rem; color: var(--muted); }

/* ── Inner pages ──────────────────────────────────────────────────────── */

.vestibule { display: grid; gap: 1.75rem; padding: 1.25rem var(--gut) 3rem; }
.vestibule-title { margin: 0 0 .25rem; font: 400 clamp(2.375rem, 1.6rem + 3.8vw, 4.25rem)/1.06 var(--display); text-wrap: balance; }
.vestibule-lede { max-width: 34rem; font-size: 1.125rem; color: var(--muted); }
.vestibule .arch { aspect-ratio: 4 / 3; border-radius: 999px 999px 0 0 / 70% 70% 0 0; }
.vestibule .arch img { object-position: 50% 70%; }

.wayline { margin-bottom: .5rem; }
.wayline ol { display: flex; flex-wrap: wrap; list-style: none; }
.wayline li { display: flex; align-items: center; font: 500 .75rem/1.2 var(--sans); letter-spacing: .1em; color: var(--muted); }
.wayline li + li::before { content: '›'; margin: 0 .55rem; color: var(--accent); }
.wayline a { display: inline-block; padding: .85rem 0; color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: .25em; }

.beds { display: grid; gap: 3rem; padding: 1rem var(--gut) 4rem; }
.bed { text-align: center; }
.bed-media img { aspect-ratio: 4 / 3; }
.bed .entry-num { margin-top: 1.25rem; }
.bed-title { margin: .4rem 0 .5rem; font: 400 clamp(1.625rem, 1.3rem + 1.3vw, 2.25rem)/1.15 var(--display); }
.bed-title a { text-decoration: none; }
.bed-sum { max-width: 26rem; margin: 0 auto; color: var(--muted); }
.bed .plot-link { margin-top: .5rem; }

.leaflet { display: grid; gap: 2.5rem; padding: 1rem var(--gut) 3.5rem; }
.leaflet-part + .leaflet-part { margin-top: 2.5rem; }
.leaflet-part p { max-width: 36rem; }
.register {
  align-self: start;
  padding: 1.75rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--ink);
  box-shadow: 0 0 0 5px var(--card), 0 0 0 6px var(--rule);
}
.register-list { margin: 0; }
.register-list div { padding: .75rem 0; border-bottom: 1px dotted var(--rule); }
.register-list dt { font: 500 .6875rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-ink); }
.register-list dd { margin: .2rem 0 0; font: 400 1.1875rem/1.3 var(--display); overflow-wrap: anywhere; }
.register-list a { text-decoration-color: var(--rule); text-underline-offset: .2em; }
.register .stem { margin-top: .5rem; }

.pressed { display: grid; gap: 1.25rem; padding: 0 var(--gut) 4rem; }

/* The menu, set like a printed card. */
.menucard-wrap { padding: 0 var(--gut) 4rem; }
.menucard {
  max-width: 46rem; margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  background: var(--card);
  text-align: center;
  border: 1px solid var(--ink);
  box-shadow: 0 0 0 6px var(--card), 0 0 0 7px var(--ink);
}
.menucard-notice { max-width: 30rem; margin: 0 auto 2.25rem; padding-bottom: 1.5rem; border-bottom: 1px dotted var(--rule); font-size: .9375rem; color: var(--muted); }
.mc-course .sprig { margin: 2.25rem auto 1.5rem; display: flex; justify-content: center; }
.mc-title { font: 400 clamp(1.75rem, 1.45rem + 1.2vw, 2.25rem)/1.15 var(--display); }
.mc-note { margin: .5rem auto 0; max-width: 26rem; font-size: .9375rem; color: var(--muted); }
.mc-dishes { list-style: none; margin-top: 1rem; }
.mc-dishes li { display: flex; flex-direction: column; align-items: center; padding: .6rem 0; }
.mc-dish { font: 400 1.3125rem/1.3 var(--display); }
.mc-desc { max-width: 26rem; margin-top: .15rem; font-size: .9375rem; color: var(--muted); line-height: 1.5; }
.mc-price { margin-top: .2rem; font-weight: 500; }

.herbarium { display: grid; gap: 1.75rem; padding: 0 var(--gut) 4rem; }
.herbarium-item figcaption { margin-top: .6rem; font-size: .875rem; color: var(--muted); }
.herbarium-item .mat img { aspect-ratio: auto; }

.directory, .routes { display: grid; gap: 1.5rem; padding: 0 var(--gut) 4rem; }
.directory-card, .routes-card {
  padding: 1.75rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--ink);
  box-shadow: 0 0 0 5px var(--card), 0 0 0 6px var(--rule);
}
.directory-address { display: flex; flex-direction: column; margin-bottom: .5rem; font: 400 1.5rem/1.3 var(--display); }

.routes-list { list-style: none; display: grid; gap: .6rem; }
.route {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem;
  min-height: 44px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--rule);
  text-decoration: none;
  transition: border-color .3s ease, background-color .3s ease;
}
.route:hover { border-color: var(--ink); background: var(--ground); }
.route--first { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.route--first:hover { background: var(--ink-soft); }
.route-label { font: 500 .8125rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.route-value { font: 400 1.25rem/1.25 var(--display); overflow-wrap: anywhere; }
.routes-steps { margin-top: 2rem; }
.routes-steps ol { list-style: none; counter-reset: step; }
.routes-steps li { counter-increment: step; display: flex; gap: .9rem; padding: .6rem 0; border-top: 1px dotted var(--rule); }
.routes-steps li::before { content: counter(step, lower-roman) '.'; min-width: 1.75rem; font: 400 1.125rem/1.4 var(--display); color: var(--accent-ink); }

.astray { padding: 0 var(--gut) 4rem; }

/* ── Footer ───────────────────────────────────────────────────────────── */

.hedge {
  padding: 3.5rem var(--gut) calc(var(--tray) + 3rem + env(safe-area-inset-bottom));
  background: var(--ink);
  color: var(--pale);
}
.hedge-inner { display: grid; gap: 2.5rem; max-width: 1120px; margin: 0 auto; }
.nameplate--hedge { color: var(--ground); }
.nameplate--hedge .nameplate-sub { color: var(--accent-pale); }
.hedge .sprig { color: var(--accent-mid); margin-top: 1rem; }
.hedge-tag { max-width: 22rem; }
.hedge-address { display: flex; flex-direction: column; }
.hedge .hourlist div { border-color: rgb(var(--ground-rgb) / .22); }
.hedge .hourlist-note, .hedge .sundial { color: var(--pale-soft); }
.hedge-gap { margin-top: 2rem; }
.hedge-lines { display: flex; flex-direction: column; }
.hedge-lines a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ground); text-decoration: none; overflow-wrap: anywhere; }
.hedge-nav ul { list-style: none; columns: 2; column-gap: 1.5rem; }
.hedge-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ground); text-decoration: none; font-size: .9375rem; }
.hedge-nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.hedge .babel { max-width: 1120px; margin: 1.5rem auto 0; }
.hedge .babel a, .hedge .babel span { color: var(--pale); }
.hedge-legal { max-width: 1120px; margin: 2rem auto 0; padding-top: 1.25rem; border-top: 1px solid rgb(var(--ground-rgb) / .2); font-size: .8125rem; color: var(--pale-soft); }

/* ── The tray: a framed bar under the thumb ───────────────────────────── */

.tray {
  position: fixed; z-index: 30;
  left: 10px; right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  display: flex;
  background: var(--card);
  border: 1px solid var(--ink);
  box-shadow: 0 0 0 3px var(--card), 0 0 0 4px var(--rule), 0 10px 28px rgb(var(--ink-rgb) / .22);
}
.tray-item {
  flex: 1 1 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: var(--tray);
  color: var(--ink);
  font: 500 .6875rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none;
}
.tray-item + .tray-item { border-left: 1px dotted var(--rule); }
.tray-item--first { flex-grow: 1.4; background: var(--ink); color: var(--ground); }
.leafmark { flex: none; }

/* ── Shared pieces the café and the second restaurant also use ─────── */

/* A row of arched photographs. */
.arcade { padding: 3.5rem var(--gut) 4rem; text-align: center; border-top: 1px solid var(--rule); }
.arcade .sprig { display: flex; justify-content: center; }
.arcade-row { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; max-width: 1120px; margin: .5rem auto 1rem; }
.arcade .arch { aspect-ratio: 3 / 4; }

/* A quiet closing line with the main action. */
.colophon { padding: 3.5rem var(--gut) 4rem; text-align: center; background: var(--band); }
.colophon .sprig { display: flex; justify-content: center; }
.colophon p { max-width: 32rem; margin-left: auto; margin-right: auto; color: var(--muted); }
.colophon .almanac-cta { justify-content: center; }

/* Small notes under a list of names (dishes, wines). */
.vintners-note { display: block; margin-top: .25rem; font: 400 .9375rem/1.45 var(--sans); color: var(--muted); }

/* Prices and tags. */
.entry-price { margin: .4rem 0 0; font: 400 1.125rem/1 var(--display); color: var(--accent-ink); font-variant-numeric: lining-nums; }
.entries--plot { margin-top: .5rem; }
.entries--plot .entry:first-child { border-top: 0; }
.mc-tags { margin-top: .25rem; font: 500 .6875rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.mc-tags abbr { text-decoration: none; }
.menucard-foot { max-width: 30rem; margin: 2.25rem auto 0; padding-top: 1.5rem; border-top: 1px dotted var(--rule); font-size: .9375rem; color: var(--muted); }
.menucard-foot ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.25rem; margin-bottom: 1rem; }
.menucard-foot abbr { text-decoration: none; font-weight: 500; color: var(--accent-ink); }

/* Questions and answers, inside a framed card. */
.question { border-top: 1px dotted var(--rule); }
.question:last-child { border-bottom: 1px dotted var(--rule); }
.question summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 52px; padding: .8rem 0;
  list-style: none; cursor: pointer;
  font: 400 1.25rem/1.3 var(--display);
}
.question summary::-webkit-details-marker { display: none; }
.question summary::after { content: '+'; flex: none; font: 400 1.5rem/1 var(--display); color: var(--accent-ink); }
.question[open] summary::after { content: '–'; }
.question p { max-width: 40rem; color: var(--muted); }

/* Facts and a light button on a dark band. */
.greenhouse .register-list { margin: 1.25rem 0 0; }
.greenhouse .register-list div { border-color: rgb(var(--ground-rgb) / .22); }
.greenhouse .register-list dt { color: var(--accent-pale); }
.greenhouse .seal { background: var(--ground); color: var(--ink); border-color: var(--ground); box-shadow: inset 0 0 0 3px var(--ground), inset 0 0 0 4px rgb(var(--ink-rgb) / .4); }
.greenhouse .seal:hover { background: var(--card); }
.greenhouse .leaves li { border-color: rgb(var(--ground-rgb) / .22); }
.directory-note { margin: 1rem 0 0; font-size: .9375rem; color: var(--muted); }

/* ── Motion ───────────────────────────────────────────────────────────── */

.js .grow { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .grow.is-grown { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .grow { opacity: 1; transform: none; }
}

/* ── Wider screens ────────────────────────────────────────────────────── */

@media (min-width: 600px) {
  :root { --gut: 32px; }
  .entry { grid-template-columns: 112px 1fr; gap: 1.5rem; }
  .bill-card, .almanac-card, .register, .directory-card, .routes-card { padding-left: 2rem; padding-right: 2rem; }
  .menucard { padding: 3.5rem 3rem 4rem; }
  .pressed { grid-template-columns: 1fr 1fr; }
  .herbarium { grid-template-columns: 1fr 1fr; align-items: start; }
  .hedge-nav ul { columns: 3; }
}

@media (min-width: 900px) {
  body { font-size: 1.125rem; }
  .tray { display: none; }
  .hedge { padding-bottom: 3rem; }

  .lintel { min-height: 84px; padding-top: 0; gap: 2rem; }
  .nameplate-name { font-size: 2rem; }
  .lintel-book { display: inline-flex; }

  .porch { grid-template-columns: 5fr 6fr; align-items: center; column-gap: 5vw; padding: 3rem max(var(--gut), calc((100% - 1240px) / 2)) 5rem; }
  .porch .arch { order: 0; aspect-ratio: auto; height: min(74vh, 720px); }
  .porch-text { padding-right: 1rem; }

  .preface { grid-template-columns: 5fr 6fr; column-gap: 5vw; padding: 6rem max(var(--gut), calc((100% - 1240px) / 2)); }

  .bill-wrap { padding: 4rem var(--gut) 6rem; }
  .bill-card { padding: 3.5rem 3.5rem 3rem; }
  .entries { grid-template-columns: 1fr 1fr; column-gap: 3.5rem; }

  .greenhouse { grid-template-columns: 5fr 6fr; align-items: center; column-gap: 6vw; padding: 6rem max(var(--gut), calc((100% - 1240px) / 2)); }
  .greenhouse .arch { height: 40rem; aspect-ratio: auto; }

  .plot { padding: 5.5rem max(var(--gut), calc((100% - 1240px) / 2)); }
  .plot--pictured { grid-template-columns: 6fr 5fr; align-items: center; column-gap: 6vw; }

  .vintners { padding: 6rem var(--gut); }
  .vintners-list { columns: 2; column-gap: 3rem; }
  .vintners-list li { break-inside: avoid; }
  .vintners-list li:nth-child(2) { border-bottom: 1px dotted var(--rule); }

  .almanac { padding: 4rem var(--gut) 6rem; }
  .almanac-card { grid-template-columns: 7fr 5fr; column-gap: 4rem; padding: 3.5rem; }
  .almanac-side { border-left: 1px dotted var(--rule); padding-left: 3rem; }

  .vestibule { padding: 2.5rem max(var(--gut), calc((100% - 1240px) / 2)) 4rem; }
  .vestibule--pictured { grid-template-columns: 6fr 5fr; align-items: end; column-gap: 5vw; }
  .vestibule .arch { aspect-ratio: auto; height: 34rem; border-radius: 999px 999px 0 0; }

  .beds { grid-template-columns: 1fr 1fr; column-gap: 4rem; row-gap: 4.5rem; padding: 1rem max(var(--gut), calc((100% - 1160px) / 2)) 6rem; }
  .leaflet { grid-template-columns: 7fr 4fr; column-gap: 5vw; padding: 1rem max(var(--gut), calc((100% - 1240px) / 2)) 5rem; }
  .register { position: sticky; top: 110px; }
  .pressed { padding: 0 max(var(--gut), calc((100% - 1240px) / 2)) 5rem; }

  .herbarium { padding: 0 max(var(--gut), calc((100% - 1240px) / 2)) 5rem; }
  .directory { grid-template-columns: repeat(3, 1fr); padding: 0 max(var(--gut), calc((100% - 1240px) / 2)) 4rem; }
  .routes { grid-template-columns: 7fr 5fr; align-items: start; padding: 0 max(var(--gut), calc((100% - 1240px) / 2)) 4rem; }

  .hedge-inner { grid-template-columns: 5fr 4fr 5fr; }

  .arcade { padding: 5.5rem max(var(--gut), calc((100% - 1240px) / 2)); }
  .arcade-row { grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 1rem; margin-bottom: 1.5rem; }
  .colophon { padding: 5.5rem var(--gut); }
  .entries--three { grid-template-columns: repeat(3, 1fr); column-gap: 2.5rem; }
  .entries--three .entry { grid-template-columns: 1fr; align-items: start; border-top: 0; }
  .entries--three .entry-thumb { width: 72%; max-width: 220px; aspect-ratio: 4 / 5; margin: 0 auto .5rem; }
  .entries--three .entry-text { text-align: center; }
}

@media (min-width: 1100px) {
  .herbnav { display: block; margin-left: auto; }
  .herbnav ul { display: flex; gap: 0 1.6rem; list-style: none; }
  .herbnav a {
    display: inline-flex; align-items: center; min-height: 44px;
    font: 500 .8125rem/1 var(--sans); letter-spacing: .08em;
    text-decoration: none; color: var(--ink);
    border-bottom: 1px solid transparent;
  }
  .herbnav a:hover { border-bottom-color: var(--rule); }
  .herbnav a[aria-current], .herbnav a.is-within { border-bottom-color: var(--accent); }
  .drawer { display: none; }
}

/* The analytics consent banner (core/views/partials/consent.hbs), in this
   design's colours; it sits just above the phone's action bar. */
:root {
  --consent-bg: var(--card); --consent-ink: var(--text); --consent-line: var(--accent);
  --consent-accent: var(--ink); --consent-accent-ink: var(--ground);
  --consent-radius: 2px; --consent-offset: 84px;
}

/* The published price list (cjenik). */
.tariff { max-width: 58rem; margin: 0 auto; padding: 2rem 18px 5rem; }
.tariff p { max-width: 44rem; margin: 0 0 1rem; }
.tariff section { margin-top: 2.5rem; }
.tariff h2 { margin: 0 0 .6rem; font-family: var(--display, inherit); font-size: 1.7rem; font-weight: 400; line-height: 1.25; text-align: left; }
.tariff small { font-family: inherit; font-size: .85rem; font-weight: 400; opacity: .85; }
.tariff h2 small { font-family: var(--sans, inherit); }
.tariff table { width: 100%; border-collapse: collapse; }
.tariff th, .tariff td { padding: .6rem .5rem .6rem 0; border-bottom: 1px solid currentColor; border-bottom-color: color-mix(in srgb, currentColor 25%, transparent); text-align: left; vertical-align: top; font-weight: 400; }
.tariff tbody small, .tariff thead small { display: block; }
.tariff thead th { font-weight: 600; }
.tariff td, .tariff th + th { width: 8.6rem; padding-right: 0; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tariff thead th + th { padding-left: .6rem; white-space: normal; }
.tariff-note { padding: .9rem 1.1rem; border: 2px solid currentColor; }
.tariff-files { display: flex; gap: .8rem; }
.tariff-files a { display: inline-flex; align-items: center; justify-content: center; min-width: 7rem; min-height: 46px; padding: 0 1.2rem; border: 2px solid currentColor; color: inherit; font-weight: 600; text-decoration: none; }
.tariff-files a:hover { text-decoration: underline; }
.tariff li a { display: inline-block; padding: .6rem 0; color: inherit; overflow-wrap: anywhere; }
@media (max-width: 560px) { .tariff td, .tariff th + th { width: 5.2rem; } }

/* Three experiences: the last one takes the row. */
.entries > .entry:last-child:nth-child(odd) { grid-column: 1 / -1; }
