/* ============================================================
   The Village Pub — Upgrades
   Custom cursor · Page transitions · Search palette · Ambient
   audio · View Transitions · New page surfaces · Per-page tweaks
   ============================================================ */

/* ---------- Custom cursor ---------- */
@media (pointer: fine) {
  html { cursor: none; }
  a, button, [role="button"], input, textarea, select, .chip, .swatch,
  .gateway__card, .product, .polaroid, .tour-card, .pin, .gallery__item,
  .tour-list li, .menu__link, .nav__trigger, .menu__close, .modal__close,
  .vp-audio, .vp-search-toggle, .layout-toggle a, [data-modal] {
    cursor: none;
  }
}

.vp-cursor {
  position: fixed; top: 0; left: 0;
  width: 28px; height: 28px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width .4s var(--ease-cinema, cubic-bezier(.22,.61,.36,1)),
              height .4s var(--ease-cinema, cubic-bezier(.22,.61,.36,1)),
              border-radius .4s var(--ease-cinema, cubic-bezier(.22,.61,.36,1)),
              background .25s ease, color .25s ease;
}
.vp-cursor::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid #F18F01;
  background: transparent;
}
.vp-cursor .vp-cursor__dot {
  position: absolute; top: 50%; left: 50%;
  width: 4px; height: 4px;
  background: #F18F01;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity .3s ease;
}
.vp-cursor.is-hidden { opacity: 0; }
.vp-cursor.is-hover { width: 56px; height: 56px; }
.vp-cursor.is-tag {
  width: auto; height: auto;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-family: var(--label);
  font-size: 0.6rem;
  letter-spacing: 0.196em;
  text-transform: uppercase;
  color: #0D1F22;
  background: #F18F01;
  white-space: nowrap;
  mix-blend-mode: normal;
  transform: translate(20px, 20px);
}
.vp-cursor.is-tag::before { display: none; }
.vp-cursor.is-tag .vp-cursor__dot { display: none; }
.vp-cursor.is-drag {
  width: 76px; height: 76px;
  background: rgba(241,143,1,0.12);
  border-radius: 50%;
  mix-blend-mode: normal;
}
.vp-cursor.is-drag::before { border-color: rgba(241,143,1,0.6); }
.vp-cursor.is-drag .vp-cursor__dot::after {
  content: "drag";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--label);
  font-size: 0.55rem;
  letter-spacing: 0.168em;
  text-transform: uppercase;
  color: #F18F01;
  width: 50px; text-align: center;
}
.vp-cursor.is-drag .vp-cursor__dot { width: 0; height: 0; background: none; }

/* ---------- Page-transition curtain ---------- */
.vp-wipe {
  position: fixed; inset: 0;
  z-index: 999;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--ink);
  opacity: 0;
  visibility: hidden;
}
.vp-wipe.show { opacity: 1; visibility: visible; }
.vp-wipe__line {
  width: 0; height: 1px;
  background: #F18F01;
  box-shadow: 0 0 24px rgba(241,143,1,0.5);
}
.vp-wipe__copy {
  margin-top: 1.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  color: rgba(238,245,224,0.8);
  opacity: 0;
}


/* ---------- Floating control dock (bottom-right, single row) ---------- */
.vp-dock {
  position: fixed;
  bottom: 1.4rem; right: 1.4rem;
  z-index: 78;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: calc(100vw - 2.8rem);
  pointer-events: none;
}
.vp-dock > * { pointer-events: all; }
/* Controls inside the dock lose their own fixed positioning */
.vp-dock .vp-audio,
.vp-dock .vp-search-toggle,
.vp-dock .layout-toggle {
  position: static;
  bottom: auto; left: auto; right: auto;
  transform: none;
  box-shadow: 0 6px 20px rgba(13,31,34,0.35);
}

/* ---------- Ambient audio toggle ---------- */
.vp-audio {
  position: fixed;
  bottom: 1.4rem; left: 1.4rem;
  z-index: 75;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1rem;
  background: rgba(13,31,34,0.78);
  border: 1px solid rgba(238,245,224,0.18);
  backdrop-filter: blur(10px);
  font-family: var(--label);
  font-size: 0.62rem;
  letter-spacing: 0.196em;
  text-transform: uppercase;
  color: rgba(238,245,224,0.7);
  transition: color .3s, border-color .3s, background .3s;
  box-shadow: 0 6px 20px rgba(13,31,34,0.35);
}
.vp-audio:hover { color: #f3ead5; border-color: rgba(241,143,1,0.4); }
.vp-audio.on { color: #F18F01; border-color: rgba(241,143,1,0.55); }
.vp-audio .bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  width: 16px; height: 12px;
}
.vp-audio .bars span {
  display: block;
  width: 2px; background: currentColor;
  height: 30%;
  transition: height 0.4s ease;
}
.vp-audio.on .bars span:nth-child(1) { animation: vpAudioBar 1.1s ease-in-out infinite; }
.vp-audio.on .bars span:nth-child(2) { animation: vpAudioBar 0.9s ease-in-out infinite 0.2s; }
.vp-audio.on .bars span:nth-child(3) { animation: vpAudioBar 1.3s ease-in-out infinite 0.1s; }
.vp-audio.on .bars span:nth-child(4) { animation: vpAudioBar 0.8s ease-in-out infinite 0.3s; }
@keyframes vpAudioBar {
  0%, 100% { height: 25%; }
  50%      { height: 95%; }
}

/* ---------- Search palette ⌘K ---------- */
.vp-search-toggle {
  position: fixed;
  bottom: 1.4rem; left: 11rem;
  z-index: 76;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.9rem;
  background: rgba(13,31,34,0.78);
  border: 1px solid rgba(238,245,224,0.18);
  backdrop-filter: blur(10px);
  font-family: var(--label);
  font-size: 0.62rem;
  letter-spacing: 0.196em;
  text-transform: uppercase;
  color: rgba(238,245,224,0.7);
  transition: color .3s, border-color .3s;
  box-shadow: 0 6px 20px rgba(13,31,34,0.35);
}
.vp-search-toggle:hover { color: #f3ead5; border-color: rgba(241,143,1,0.4); }
.vp-search-toggle kbd {
  font-family: var(--mono);
  font-size: 0.58rem;
  padding: 0.15rem 0.4rem;
  border: 1px solid rgba(238,245,224,0.25);
  border-radius: 3px;
}

.vp-search {
  position: fixed; inset: 0;
  z-index: 140;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 1.4rem 1.4rem;
}
.vp-search.open { display: flex; }
.vp-search__bg {
  position: absolute; inset: 0;
  background: rgba(13,31,34,0.85);
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.vp-search__card {
  position: relative;
  width: min(720px, 100%);
  background: #0D1F22;
  border: 1px solid rgba(241,143,1,0.35);
  display: flex;
  flex-direction: column;
  max-height: 70vh;
}
.vp-search__input-wrap {
  position: relative;
  display: flex; align-items: center;
  padding: 0 1.4rem;
  border-bottom: 1px solid rgba(238,245,224,0.1);
}
.vp-search__input-wrap svg { color: rgba(238,245,224,0.4); }
.vp-search__input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 1.3rem 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: #f3ead5;
}
.vp-search__input::placeholder { color: rgba(238,245,224,0.35); }
.vp-search__hint {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(238,245,224,0.4);
}
.vp-search__results {
  flex: 1;
  overflow-y: auto;
  padding: 0.4rem 0;
}
.vp-search__group {
  padding: 0.6rem 1.4rem 0.3rem;
  font-family: var(--label);
  font-size: 0.58rem;
  letter-spacing: 0.224em;
  text-transform: uppercase;
  color: #F18F01;
  margin-top: 0.6rem;
}
.vp-search__item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.4rem;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: rgba(238,245,224,0.9);
  border-left: 2px solid transparent;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.vp-search__item:hover, .vp-search__item.active {
  background: rgba(241,143,1,0.08);
  border-left-color: #F18F01;
  color: #f3ead5;
}
.vp-search__item .meta {
  font-family: var(--label);
  font-size: 0.62rem;
  letter-spacing: 0.168em;
  text-transform: uppercase;
  color: rgba(238,245,224,0.5);
}
.vp-search__empty {
  padding: 2.4rem 1.4rem;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: rgba(238,245,224,0.45);
}
.vp-search__foot {
  padding: 0.8rem 1.4rem;
  border-top: 1px solid rgba(238,245,224,0.1);
  display: flex; justify-content: space-between;
  font-family: var(--label);
  font-size: 0.58rem;
  letter-spacing: 0.196em;
  text-transform: uppercase;
  color: rgba(238,245,224,0.4);
}

/* ---------- Top-toolbar spacing reset ----------
   Layout: tweaks (BR), layout-toggle (BC), audio (BL), search (BL+offset).
   On mobile, the audio toggle hides its label and search shrinks. */
@media (max-width: 700px) {
  .vp-audio { padding: 0.6rem 0.7rem; gap: 0; }
  .vp-audio .bars { width: 14px; }
  .vp-audio .lbl { display: none; }
  .vp-search-toggle { padding: 0.55rem 0.75rem; }
  .vp-search-toggle kbd { display: none; }
  .vp-search-toggle span:not(kbd) { display: none; }
  .vp-dock { gap: 0.45rem; }
}

/* ============================================================
   View-Transitions cosmetic hooks (gracefully ignored elsewhere)
   ============================================================ */
::view-transition-old(root) {
  animation: vpFadeOut .4s ease-in forwards;
}
::view-transition-new(root) {
  animation: vpFadeIn .6s ease-out forwards;
}
@keyframes vpFadeOut { to { opacity: 0; } }
@keyframes vpFadeIn  { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   New page surfaces
   ============================================================ */

/* ---------- Volume archive (volumes.html) ---------- */
.vol-list {
  padding: clamp(5rem, 9vw, 9rem) var(--pad-page, 1.4rem);
  max-width: var(--maxw, 1680px);
  margin: 0 auto;
}
.vol-row {
  display: grid;
  grid-template-columns: 80px 320px 1fr auto;
  gap: 3rem;
  align-items: center;
  padding: 2.4rem 0;
  border-top: 1px solid rgba(238,245,224,0.15);
  transition: padding-left .5s var(--ease-cinema, cubic-bezier(.22,.61,.36,1)), color .4s;
  position: relative;
}
.vol-row:last-child { border-bottom: 1px solid rgba(238,245,224,0.15); }
.vol-row:hover {
  padding-left: 1rem;
  background: rgba(241,143,1,0.04);
}
.vol-row .vol-num {
  font-family: var(--poster);
  font-weight: 400;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  letter-spacing: 0.01em;
  color: #F18F01;
  line-height: 0.95;
}
.vol-row .vol-cover {
  position: relative;
  width: 320px;
  aspect-ratio: 5 / 7;
  overflow: hidden;
  background: #0e1813;
}
.vol-row .vol-cover .label {
  position: absolute;
  top: 1rem; left: 1rem;
  font-family: var(--label);
  font-size: 0.58rem;
  letter-spacing: 0.168em;
  text-transform: uppercase;
  color: rgba(238,245,224,0.65);
}
.vol-row .vol-cover .vol-title {
  position: absolute;
  bottom: 1.2rem; left: 1.2rem; right: 1.2rem;
  font-family: var(--poster);
  font-style: normal;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.05;
  letter-spacing: 0.005em;
  color: #f3ead5;
  text-shadow: 0 2px 12px rgba(13,31,34,0.5);
}
.vol-row .vol-meta-stack {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.vol-row .vol-meta-stack h3 {
  font-family: var(--poster);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  letter-spacing: 0.005em;
  line-height: 1.02;
  margin: 0;
}
.vol-row .vol-meta-stack h3 em { font-style: italic; color: #C8F26B; }
.vol-row .vol-meta-stack .contents {
  font-family: var(--sans-text);
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(238,245,224,0.7);
  max-width: 60ch;
  margin: 0;
}
.vol-row .vol-meta-stack .stats {
  display: flex; gap: 2rem; margin-top: 0.6rem;
  font-family: var(--label);
  font-size: 0.62rem;
  letter-spacing: 0.168em;
  text-transform: uppercase;
  color: rgba(238,245,224,0.55);
}
.vol-row .vol-meta-stack .stats strong {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  color: #f3ead5;
  margin-top: 0.2rem;
}
.vol-row .vol-action {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--label);
  font-size: 0.65rem;
  letter-spacing: 0.21em;
  text-transform: uppercase;
  color: #F18F01;
  border-bottom: 1px solid #F18F01;
  padding-bottom: 0.4rem;
  transition: gap 0.4s var(--ease-cinema, cubic-bezier(.22,.61,.36,1));
}
.vol-row:hover .vol-action { gap: 1.4rem; }
.vol-status {
  font-family: var(--label);
  font-size: 0.58rem;
  letter-spacing: 0.196em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  margin-top: 0.6rem;
  align-self: flex-start;
}
.vol-status.live      { color: #F18F01; border: 1px solid #F18F01; }
.vol-status.archive   { color: rgba(238,245,224,0.55); border: 1px solid rgba(238,245,224,0.2); }
.vol-status.upcoming  { color: #f3ead5; background: rgba(241,143,1,0.18); border: 1px solid rgba(241,143,1,0.4); }

/* ---------- Oral history audio player (oral-history.html) ---------- */
.oral {
  padding: 6rem var(--pad-page, 1.4rem) 4rem;
  max-width: var(--maxw, 1680px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
.oral__cover {
  position: sticky; top: 7rem;
  display: flex; flex-direction: column; gap: 1.6rem;
}
.oral__cover .img {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
}
.oral__cover .meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 2rem;
  font-family: var(--label);
  font-size: 0.62rem;
  letter-spacing: 0.168em;
  text-transform: uppercase;
  color: rgba(238,245,224,0.55);
}
.oral__cover .meta strong {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  color: #f3ead5;
  margin-top: 0.2rem;
}
.oral__transcript {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 1.6;
  color: rgba(238,245,224,0.85);
}
.oral__transcript p {
  margin: 0 0 1.4rem;
  transition: color 0.5s ease, opacity 0.5s ease;
  opacity: 0.45;
}
.oral__transcript p.spoken { color: #f3ead5; opacity: 1; }
.oral__transcript p.spoken em { color: #C8F26B; }
.oral__transcript p.upcoming { opacity: 0.3; }
.oral__transcript p .time {
  font-family: var(--label);
  font-size: 0.66rem;
  letter-spacing: 0.168em;
  text-transform: uppercase;
  color: #F18F01;
  display: block;
  margin-bottom: 0.5rem;
  font-style: normal;
}

/* Player chrome (sticky bottom) */
.oral-player {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  padding: 1rem var(--pad-page, 1.4rem) 1.2rem;
  background: linear-gradient(180deg, rgba(13,31,34,0.4), rgba(13,31,34,0.95));
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(241,143,1,0.25);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1.4rem;
  align-items: center;
}
.oral-player__playpause {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid rgba(241,143,1,0.5);
  background: rgba(241,143,1,0.1);
  color: #F18F01;
  transition: background 0.3s, color 0.3s;
}
.oral-player__playpause:hover { background: #F18F01; color: #0D1F22; }
.oral-player__playpause svg { width: 16px; height: 16px; }
.oral-player__playpause .pause-icon { display: none; }
.oral-player.playing .play-icon { display: none; }
.oral-player.playing .pause-icon { display: block; }
.oral-player__title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: #f3ead5;
}
.oral-player__title small {
  display: block;
  font-family: var(--label);
  font-style: normal;
  font-size: 0.6rem;
  letter-spacing: 0.196em;
  text-transform: uppercase;
  color: rgba(238,245,224,0.55);
  margin-top: 0.2rem;
}
.oral-player__waveform {
  position: relative;
  height: 36px;
  display: flex; align-items: center;
  gap: 2px;
  cursor: pointer;
}
.oral-player__waveform .bar {
  flex: 1;
  background: rgba(238,245,224,0.2);
  transition: background .15s;
  min-width: 1px;
}
.oral-player__waveform .bar.played { background: #F18F01; }
.oral-player__waveform .head {
  position: absolute; top: 0; bottom: 0;
  width: 1px; background: #f3ead5;
  left: 0;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(238,245,224,0.45);
}
.oral-player__time {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(238,245,224,0.7);
  min-width: 100px;
  text-align: right;
}
.oral-player__speed {
  display: flex; gap: 0.4rem;
}
.oral-player__speed button {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: rgba(238,245,224,0.55);
  padding: 0.3rem 0.5rem;
  border: 1px solid transparent;
}
.oral-player__speed button.on { color: #F18F01; border-color: rgba(241,143,1,0.4); }

/* ---------- Recipes / Field journal (recipes.html) ---------- */
.recipes-intro {
  padding: 3rem var(--pad-page, 1.4rem) 5rem;
  max-width: var(--maxw, 1680px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
}
.recipes-intro h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.05;
}
.recipes-intro p {
  font-family: var(--sans-text);
  color: rgba(238,245,224,0.7);
  line-height: 1.75;
  max-width: 50ch;
  margin: 0;
}

.recipe-grid {
  padding: 0 var(--pad-page, 1.4rem) 6rem;
  max-width: var(--maxw, 1680px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4rem;
}
.recipe-card {
  background: #f3ead5;
  color: #2a1f15;
  padding: 2.4rem;
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  border: 1px solid rgba(253,232,200,0.15);
  box-shadow: 0 10px 30px rgba(13,31,34,0.35);
  transform-origin: center;
  transition: transform .5s cubic-bezier(.22,.61,.36,1), box-shadow .5s;
}
.recipe-card:hover { transform: translateY(-4px) rotate(-0.4deg); box-shadow: 0 18px 40px rgba(13,31,34,0.45); }
.recipe-card::before {
  content: "";
  position: absolute;
  top: 1.4rem; right: 1.4rem;
  width: 24px; height: 24px;
  background: rgba(241,143,1,0.7);
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.5;
}
.recipe-card .recipe-tag {
  font-family: var(--label);
  font-size: 0.6rem;
  letter-spacing: 0.224em;
  text-transform: uppercase;
  color: #8a6a3b;
}
.recipe-card h3 {
  font-family: var(--poster);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  margin: 0.7rem 0 0.5rem;
  color: #1b2a1f;
  letter-spacing: 0.005em;
  line-height: 1.02;
}
.recipe-card .by {
  font-family: var(--serif);
  font-style: italic;
  color: #534a3d;
  margin-bottom: 1rem;
}
.recipe-card .recipe-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(253,232,200,0.18);
  font-family: var(--label);
  font-size: 0.6rem;
  letter-spacing: 0.168em;
  text-transform: uppercase;
  color: #534a3d;
  margin-top: 1rem;
}
.recipe-card .recipe-meta strong {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  color: #1b2a1f;
  margin-top: 0.2rem;
}
.recipe-card .ingredients {
  border-left: 1px solid rgba(253,232,200,0.18);
  padding-left: 1.6rem;
}
.recipe-card .ingredients h4 {
  font-family: var(--label);
  font-size: 0.6rem;
  letter-spacing: 0.224em;
  text-transform: uppercase;
  color: #8a6a3b;
  margin: 0 0 0.8rem;
}
.recipe-card .ingredients ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 0.4rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: #1b2a1f;
}
.recipe-card .ingredients li {
  display: flex; justify-content: space-between;
  border-bottom: 1px dashed rgba(253,232,200,0.15);
  padding-bottom: 0.4rem;
}
.recipe-card .ingredients li span:last-child {
  font-family: var(--label);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: #534a3d;
}
.recipe-card .method {
  grid-column: 1 / -1;
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(253,232,200,0.18);
}
.recipe-card .method h4 {
  font-family: var(--label);
  font-size: 0.6rem;
  letter-spacing: 0.224em;
  text-transform: uppercase;
  color: #8a6a3b;
  margin: 0 0 0.8rem;
}
.recipe-card .method ol {
  list-style: none;
  counter-reset: step;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 0.7rem;
}
.recipe-card .method ol li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.8rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.55;
  color: #1b2a1f;
}
.recipe-card .method ol li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--label);
  font-size: 0.62rem;
  letter-spacing: 0.126em;
  color: #F18F01;
  align-self: start;
  padding-top: 0.4rem;
}

/* Image-slot styling (overrides starter defaults to match site) */
image-slot {
  --slot-bg: #1b2a1f;
  --slot-border: rgba(241,143,1,0.3);
  --slot-text: rgba(238,245,224,0.5);
  --slot-accent: #F18F01;
  --slot-radius: 0;
}

/* Page-specific tweak controls */
.tweaks .row.adv { padding-top: 0.5rem; border-top: 1px dashed rgba(241,143,1,0.2); }

/* ---------- Mobile breakpoints for new surfaces ---------- */
@media (max-width: 1100px) {
  .vol-row { grid-template-columns: 60px 1fr; gap: 1rem 2rem; }
  .vol-row .vol-cover { grid-column: 2; width: 100%; max-width: 320px; }
  .vol-row .vol-meta-stack { grid-column: 2; }
  .vol-row .vol-action { grid-column: 2; justify-self: start; }
  .oral { grid-template-columns: 1fr; gap: 2.4rem; }
  .oral__cover { position: static; }
  .recipe-grid { grid-template-columns: 1fr; }
  .recipes-intro { grid-template-columns: 1fr; gap: 1.4rem; }
  .oral-player { grid-template-columns: auto 1fr auto; }
  .oral-player__speed { display: none; }
}
@media (max-width: 700px) {
  .recipe-card { grid-template-columns: 1fr; }
  .recipe-card .ingredients { border-left: 0; padding-left: 0; padding-top: 1rem; border-top: 1px solid rgba(253,232,200,0.18); }
  .oral-player__title small { display: none; }
  .vp-cursor { display: none; }
  html { cursor: auto; }
  a, button, [role="button"], input, textarea, select { cursor: pointer; }
  input, textarea, select { cursor: text; }
}

/* ---------- Margin notes (field-journal register) ---------- */
.margin-note {
  font-family: var(--script);
  font-style: italic;
  font-size: clamp(1.1rem, 1.3vw, 1.4rem);
  line-height: 1.3;
  color: var(--gold-soft);
}
.margin-note.dark { color: var(--gray-warm); }
.recipes-intro .margin-note {
  display: block;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(241,143,1,0.3);
  max-width: 44ch;
}
.recipe-card .method-note {
  font-family: var(--script);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--gray-warm);
  margin-top: 1.2rem;
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(253,232,200,0.2);
}

/* Tweaks panel clears the dock */
.tweaks { bottom: 5.4rem !important; }
@media (max-width: 700px) { .tweaks { bottom: 8.6rem !important; } }

/* Reserve the dock band so page content is never painted over */
.foot { padding-bottom: 5.2rem; }
@media (max-width: 700px) { .foot { padding-bottom: 8.4rem; } }
