/* Country Cookin demo · styles. Mobile first; breakpoints 640px and 1024px.
   Motion: start states only exist under html.motion-full (>=640px) or html.motion-lite (<640px, motions 1,3,6,9,13).
   With prefers-reduced-motion (neither class), everything renders in its final state. */

:root {
  --woodgrain: #C9782E;
  --woodgrain-dark: #8E4A1C;
  --menu-paper: #F2E6CF;
  --slab-black: #1E1A16;
  --barn-red: #B3262A;
  --booth-burgundy: #6E2A32;
  --field-green: #5E8A3A;
  --sky: #9CC3DE;
  --holstein: #FAFAF7;
  --whiteboard: #F7F7F4;
  --marker-blue: #2D4E9A;
  --marker-red: #C8353A;

  --page: #FBF7EE;
  --ink-soft: #4A3B2E;
  --edge: #D3BC94;
  --ff-title: 'Alfa Slab One', Rockwell, Georgia, serif;
  --ff-slab: 'Zilla Slab', Rockwell, Georgia, serif;
  --ff-body: 'Libre Franklin', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ff-hand: 'Kalam', 'Comic Sans MS', cursive;
  --shadow-paper: 0 1px 2px rgba(30, 26, 22, .16), 0 14px 26px -16px rgba(60, 30, 10, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
.motion-full { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--slab-black);
  font: 400 1.0625rem/1.6 var(--ff-body);
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: var(--barn-red); text-underline-offset: .18em; }
a:hover { color: var(--booth-burgundy); }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--slab-black); outline-offset: 3px; }
.site-footer :focus-visible { outline-color: var(--menu-paper); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .wrap { padding-inline: 24px; } }

.skip {
  position: absolute; left: 8px; top: -80px; z-index: 100;
  background: var(--slab-black); color: var(--menu-paper);
  padding: 12px 16px; border-radius: 4px; font-weight: 600;
}
.skip:focus { top: 8px; color: var(--menu-paper); }

/* ---------- Woodgrain (menu folder) ---------- */
.woodgrain {
  background-color: var(--woodgrain);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='320'%3E%3Cfilter id='g' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0035 0.11' numOctaves='3' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.56 0 0 0 0 0.29 0 0 0 0 0.11 1.3 0 0 0 -0.52'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),
    repeating-linear-gradient(178.5deg, rgba(142, 74, 28, 0) 0 10px, rgba(142, 74, 28, .10) 10px 12px, rgba(142, 74, 28, 0) 12px 25px, rgba(142, 74, 28, .07) 25px 26px),
    linear-gradient(180deg, rgba(255, 220, 170, .10), rgba(142, 74, 28, .10));
}

/* ---------- Type ---------- */
.h1 {
  font-family: var(--ff-title); font-weight: 400;
  font-size: clamp(2.4rem, 9vw, 4.25rem); line-height: 1.02; letter-spacing: .005em;
  color: var(--slab-black); text-shadow: 2px 2px 0 var(--menu-paper);
  margin: 0 0 .35em;
}
.h2 {
  font-family: var(--ff-slab); font-weight: 700; color: var(--barn-red);
  font-size: clamp(1.8rem, 5.5vw, 2.5rem); line-height: 1.1; margin: 0 0 .5em;
}
.eyebrow {
  font-family: var(--ff-slab); font-weight: 700; color: var(--barn-red);
  text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; margin: 0 0 .6em;
}
.lede { font-size: 1.12rem; max-width: 40ch; }
.small { font-size: .92rem; color: var(--ink-soft); }
.hand { font-family: var(--ff-hand); color: var(--marker-blue); font-size: 1.12rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 20px;
  border: 2px solid var(--slab-black); border-radius: 6px;
  background: var(--menu-paper); color: var(--slab-black);
  font: 600 1rem/1.2 var(--ff-body); text-decoration: none; cursor: pointer;
  box-shadow: 0 3px 0 var(--slab-black);
}
.btn:hover { background: #FFF8EA; color: var(--slab-black); }
.btn-red { background: var(--barn-red); color: #FFF8EC; }
.btn-red:hover { background: #9B1F23; color: #FFF8EC; }
.btn-dark { background: var(--slab-black); color: var(--menu-paper); box-shadow: 0 3px 0 var(--woodgrain-dark); }
.btn-dark:hover { background: #3A3029; color: var(--menu-paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.4em 0 1em; }
.motion-full .btn { transition: transform .08s ease-out, box-shadow .08s ease-out; }
.motion-full .btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--slab-black); }
.motion-full .btn-dark:active { box-shadow: 0 1px 0 var(--woodgrain-dark); }

/* ---------- Header (motion 1, 2, 3) ---------- */
.site-header { position: relative; border-bottom: 3px solid var(--woodgrain-dark); }
.motion-full .site-header, .motion-lite .site-header { animation: wipe .5s ease-out both; }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.header-inner {
  display: grid; grid-template-columns: 1fr auto;
  grid-template-areas: "mark call" "nav nav" "chip chip";
  align-items: center; gap: 4px 12px; padding-block: 8px 10px;
}
.wordmark {
  grid-area: mark; display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--ff-title); font-size: 1.45rem; line-height: 1.1;
  color: var(--slab-black); text-decoration: none; text-shadow: 2px 2px 0 var(--menu-paper);
}
.wordmark:hover { color: var(--slab-black); }
.main-nav { grid-area: nav; }
.nav { list-style: none; margin: 0 -6px; padding: 0; display: flex; justify-content: space-between; }
.nav a {
  position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 6px;
  color: var(--slab-black); font-weight: 600; font-size: 1rem; text-decoration: none;
}
.nav a::after {
  content: ""; position: absolute; left: 6px; right: 6px; bottom: 5px; height: 3px;
  background: var(--barn-red); transform: scaleX(0); transform-origin: left center;
}
.nav a:hover::after, .nav a:focus-visible::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.motion-full .nav a::after { transition: transform .2s ease-out; }
.call { grid-area: call; min-height: 44px; padding: 8px 16px; }
.call-long { display: none; }
.chip {
  grid-area: chip; justify-self: start; margin: 0;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--menu-paper); color: var(--slab-black);
  border: 1px solid var(--woodgrain-dark); border-radius: 999px;
  padding: 3px 12px; font-size: .86rem; font-weight: 600; line-height: 1.35;
}
.chip-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--barn-red); }
.chip.is-open .chip-dot { background: var(--field-green); }
.motion-full .chip.is-open .chip-dot, .motion-lite .chip.is-open .chip-dot { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

@media (min-width: 640px) {
  .header-inner { grid-template-columns: auto 1fr auto; grid-template-areas: "mark chip call" "nav nav nav"; }
  .chip { justify-self: end; }
  .nav { justify-content: flex-start; gap: 18px; }
  .call-short { display: none; }
  .call-long { display: inline; }
  .wordmark { font-size: 1.7rem; }
}
@media (min-width: 1024px) {
  .header-inner { grid-template-columns: auto 1fr auto auto; grid-template-areas: "mark nav chip call"; gap: 18px; padding-block: 12px; }
  .nav { justify-content: center; gap: 10px; }
}

/* ---------- Generic sections (motion 4) ---------- */
.section { padding-block: 48px; }
@media (min-width: 1024px) { .section { padding-block: 72px; } }
.motion-full .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease-out, transform .6s ease-out; }
.motion-full .reveal.in { opacity: 1; transform: none; }
.divider { height: 32px; line-height: 0; }
.divider svg { width: 100%; height: 100%; display: block; }
.divider.flip { transform: scaleY(-1); }

/* ---------- Paper insert card ---------- */
.card-paper {
  background: var(--menu-paper); border: 1px solid var(--edge);
  box-shadow: var(--shadow-paper); transform: rotate(-.4deg);
}

/* ---------- Taped photos (motion 8) ---------- */
.taped {
  --tilt: 1deg; position: relative; margin: 0;
  background: #FFFDF8; padding: 8px;
  box-shadow: 0 1px 2px rgba(30, 26, 22, .2), 0 14px 24px -14px rgba(30, 26, 22, .55);
  transform: rotate(var(--tilt));
}
.taped.tilt-l { --tilt: -1deg; }
.taped::before {
  content: ""; position: absolute; z-index: 2; top: -12px; left: 50%;
  width: 92px; height: 26px; margin-left: -46px;
  background: rgba(242, 230, 207, .86);
  border-inline: 1px dashed rgba(142, 74, 28, .3);
  box-shadow: 0 1px 2px rgba(30, 26, 22, .12);
  transform: rotate(-3deg);
}
.taped.corner::before { left: auto; right: -26px; top: 2px; margin: 0; transform: rotate(40deg); }
.taped img { width: 100%; }
.motion-full .taped[data-io] { transform: rotate(calc(var(--tilt) * 3)); transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.motion-full .taped[data-io].in { transform: rotate(var(--tilt)); }

/* ---------- Home hero (motion 6) ---------- */
.hero { position: relative; overflow: hidden; padding: 20px 0 40px; border-bottom: 3px solid var(--woodgrain-dark); }
.hero-grid { display: grid; }
.hero-photo { order: -1; width: 58%; max-width: 360px; justify-self: end; margin: 0 6px -34px 0; z-index: 3; }
.hero-photo img { aspect-ratio: 4 / 5; object-fit: cover; }
.hero-card { position: relative; padding: 46px 20px 24px; }
.hero-card .lede { margin-bottom: 0; }
.motion-full .hero-card, .motion-lite .hero-card { animation: card-up .6s ease-out both; }
@keyframes card-up { from { transform: translateY(40px) rotate(-.4deg); } to { transform: rotate(-.4deg); } }
.rating { margin: 0; font-size: .92rem; color: var(--ink-soft); font-weight: 500; }
@media (min-width: 640px) {
  .hero { padding: 40px 0 56px; }
  .hero-card { padding: 40px 36px 32px; }
  .hero-photo { width: 44%; margin-bottom: -60px; }
}
@media (min-width: 1024px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: start; }
  .hero-card { grid-column: 1; grid-row: 1; padding: 48px 48px 40px; }
  .hero-photo { order: 0; grid-column: 2; grid-row: 1; width: auto; max-width: 430px; justify-self: start; margin: -8px 0 0 -44px; }
}

/* ---------- Three plates strip (motion 7) ---------- */
.plates { list-style: none; margin-block: 0; padding-block: 0; display: grid; gap: 44px 28px; }
.plates .taped img { aspect-ratio: 4 / 3; object-fit: cover; }
.plate h2 { font-family: var(--ff-slab); font-weight: 600; font-size: 1.4rem; line-height: 1.2; color: var(--slab-black); margin: 18px 0 6px; }
.plate p { margin: 0; color: var(--ink-soft); }
.plate-photo { position: relative; }
.steam { position: absolute; left: 38%; top: 2%; width: 18%; height: 30%; overflow: visible; z-index: 1; pointer-events: none; }
.steam path { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 3; stroke-linecap: round; opacity: .55; }
.motion-full .steam path { opacity: 0; animation: steam 4s ease-in-out infinite; }
.motion-full .steam path + path { animation-delay: 2s; }
@keyframes steam {
  0% { opacity: 0; transform: translateY(10px); }
  35% { opacity: .85; }
  100% { opacity: 0; transform: translateY(-16px); }
}
@media (min-width: 640px) { .plates { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Whiteboard (motion 13) ---------- */
.specials > * { max-width: 760px; }
.menu-sec.specials { display: block; }
.board {
  position: relative; background: var(--whiteboard);
  border: 9px solid #C3C8CD; border-radius: 3px;
  box-shadow: inset 0 0 0 1px #8F969C, 0 0 0 1px #8F969C, 0 16px 26px -18px rgba(0, 0, 0, .55);
  padding: 24px 22px 30px; margin-bottom: 18px;
  font-family: var(--ff-hand);
}
.board::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -16px; height: 8px;
  background: linear-gradient(#D6DADD, #A2A8AE); border-radius: 0 0 3px 3px;
}
.board-line { margin: 0; color: var(--marker-blue); font-weight: 700; font-size: clamp(1.4rem, 5vw, 2.05rem); line-height: 1.3; }
.board-line.red { color: var(--marker-red); font-size: clamp(1.15rem, 4vw, 1.5rem); margin-top: .6em; }
.motion-full .board-line, .motion-lite .board-line { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s cubic-bezier(.4, .1, .3, 1); }
.motion-full .board.in .board-line, .motion-lite .board.in .board-line { clip-path: inset(0 0 0 0); }
.board.in .board-line.red { transition-delay: .9s; }
.board-caption { max-width: 60ch; color: var(--ink-soft); margin-top: 26px; }

/* ---------- Review slips (motion 10, 17) ---------- */
.slips { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.slips > li { display: flex; }
.slip {
  --tilt: -.8deg; position: relative; width: 100%; margin: 0;
  background: #FFFDF6; border: 1px solid var(--edge); border-top: 3px dashed var(--edge);
  padding: 20px 20px 16px; box-shadow: var(--shadow-paper);
  transform: rotate(var(--tilt));
}
.slips > li:nth-child(2n) .slip { --tilt: .9deg; }
.slips > li:nth-child(3n) .slip { --tilt: -.3deg; }
.slip blockquote { margin: 0; }
.slip blockquote p { margin: 0; font-family: var(--ff-slab); font-size: 1.18rem; line-height: 1.45; }
.slip blockquote p::before { content: "\201C"; }
.slip blockquote p::after { content: "\201D"; }
.slip figcaption { margin-top: 12px; font-size: .92rem; font-weight: 600; color: var(--ink-soft); }
.slip:focus-visible { outline-offset: 4px; }
.motion-full .slips[data-io] .slip { opacity: 0; transform: rotate(-7deg) translateY(14px); transition: transform .55s cubic-bezier(.2, .8, .2, 1), opacity .4s ease-out; }
.motion-full .slips[data-io].in .slip { opacity: 1; transform: rotate(var(--tilt)); }
.motion-full .slips[data-io].in > li:nth-child(2) .slip { transition-delay: .12s; }
.motion-full .slips[data-io].in > li:nth-child(3) .slip { transition-delay: .24s; }
.motion-full .slips[data-io].in > li:nth-child(4) .slip { transition-delay: .36s; }
.motion-full .slips-lift.in .slip:hover, .motion-full .slips-lift.in .slip:focus { transform: rotate(var(--tilt)) translateY(-4px); transition-delay: 0s; transition-duration: .2s; }
.more-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px; font-weight: 600; }
@media (min-width: 640px) { .slips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .slips-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Find us ---------- */
.find-grid { display: grid; gap: 40px; align-items: center; }
.find-grid .taped img { aspect-ratio: 4 / 5; object-fit: cover; }
.facts { list-style: none; padding: 0; margin: 0 0 .5em; }
.facts li { margin-bottom: .35em; }
@media (min-width: 640px) { .find-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; } }

/* ---------- Page head (Menu, Diner, Visit) ---------- */
.page-head { padding: 34px 0 26px; border-bottom: 3px solid var(--woodgrain-dark); }
.page-head .h1 { margin: 0; }
@media (min-width: 1024px) { .page-head { padding: 52px 0 40px; } }

/* ---------- Menu page (motion 11, 12, 14) ---------- */
.menu-frame { padding: 0 0 48px; }
.menu-frame .page-head { border: 0; padding-bottom: 22px; }
.menu-insert { background: var(--menu-paper); border: 1px solid var(--edge); box-shadow: var(--shadow-paper); padding: 0 16px 36px; }
.menu-intro { padding-top: 26px; max-width: 64ch; }
.menu-intro p:first-child { font-size: 1.12rem; }
.tabs {
  position: sticky; top: 0; z-index: 20; margin: 0 -16px;
  background: var(--menu-paper); border-bottom: 2px solid var(--edge);
}
.tabs-list {
  position: relative; display: flex; list-style: none; margin: 0; padding: 0 8px;
  overflow-x: auto; scrollbar-width: none;
}
.tabs-list::-webkit-scrollbar { display: none; }
.tabs a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px;
  white-space: nowrap; font-weight: 600; font-size: .98rem; color: var(--slab-black); text-decoration: none;
}
.tabs a[aria-current="true"] { color: var(--barn-red); }
.tab-ink {
  position: absolute; left: 0; bottom: 0; width: 100px; height: 3px; background: var(--barn-red);
  transform-origin: 0 0; transform: translateX(var(--x, 0px)) scaleX(var(--w, 0));
}
.motion-full .tab-ink { transition: transform .3s ease; }
.menu-sec { padding-top: 40px; scroll-margin-top: 56px; }
.menu-sec .taped { max-width: 340px; margin: 6px 0 24px auto; }
.menu-sec .taped img { aspect-ratio: 4 / 3; object-fit: cover; }
.sec-intro { max-width: 62ch; color: var(--ink-soft); }
.dishes { list-style: none; margin: 0; padding: 0; }
.dish { padding: 12px 0; }
.dish-line { display: flex; align-items: baseline; gap: 10px; }
.dish-name { margin: 0; font-family: var(--ff-slab); font-weight: 600; font-size: 1.28rem; line-height: 1.25; }
.leader { flex: 1; min-width: 28px; border-bottom: 3px dotted var(--woodgrain-dark); transform-origin: left center; position: relative; top: -5px; }
.motion-full .dish[data-io] .leader { transform: scaleX(0); transition: transform .7s ease-out; }
.motion-full .dish[data-io].in .leader { transform: scaleX(1); }
.dish-desc { margin: 4px 0 0; color: var(--ink-soft); max-width: 62ch; }
.menu-note { margin-top: 14px; }
.spot-divider { display: flex; gap: 10px; margin: 6px 0 22px; }
.spot-divider svg { width: 22px; height: 18px; }
.spot-divider svg:nth-child(2) { width: 16px; transform: rotate(30deg); }
.mug { max-width: 220px; }
.mug img { aspect-ratio: 1; object-fit: cover; }
@media (min-width: 640px) {
  .menu-insert { padding: 0 36px 48px; }
  .tabs { margin: 0 -36px; }
  .tabs-list { padding: 0 24px; }
}
@media (min-width: 1024px) {
  .menu-sec { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0 48px; align-items: start; }
  .menu-sec > * { grid-column: 1; }
  .menu-sec > .taped { grid-column: 2; grid-row: 1 / span 6; margin: 30px 0 0; }
}

/* ---------- Holstein spot lists (motion 14) ---------- */
.spots { list-style: none; padding: 0; margin: 0; }
.spots li { position: relative; padding: 5px 0 5px 32px; }
.spots li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 19px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.5c4.6-.4 8.6 2.4 8 6.6-.4 3-2.6 3.4-2 6.4.5 2.6-3.4 4.4-6.6 3.4-2.2-.7-2.8-2.6-5.2-2.8C1.6 15 .9 11.6 2.4 9.2 3.6 7.3 2.6 5 4.4 3.2 5.8 1.9 7.8 1.7 10 1.5z' fill='%231E1A16'/%3E%3C/svg%3E") no-repeat center / contain;
}
.spots li:nth-child(3n+2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 4.2C6.2 1.4 11 2.6 13.2 1.8c2.6-.9 5.6.8 5.2 4.4-.3 2.4-2.4 2.8-1.8 5.6.6 3-1 6.4-4.8 6.2-2.6-.1-3.4-2.4-6-2.2C2.6 16 .6 12.8 1.8 10 2.6 8 2.4 6.2 4 4.2z' fill='%231E1A16'/%3E%3C/svg%3E"); }
.spots li:nth-child(3n)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.6 2.6c2.8-1.6 5.2.6 7.6.2 3-.5 5.2 2.4 4.2 5.4-.7 2-2.8 2.2-2.6 4.8.2 3-2.6 5.6-6 4.8-2-.5-2.4-2.2-4.6-2.6C2.4 14.8.8 12 1.8 9.4c.8-2-.2-3.6 1-5.2.9-1.2 2.4-1 3.8-1.6z' fill='%231E1A16'/%3E%3C/svg%3E"); }
.motion-full .spots[data-io] li::before { transform: scale(.6); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.motion-full .spots[data-io].in li::before { transform: scale(1); }
.motion-full .spots[data-io].in li:nth-child(2)::before { transition-delay: .06s; }
.motion-full .spots[data-io].in li:nth-child(3)::before { transition-delay: .12s; }
.motion-full .spots[data-io].in li:nth-child(4)::before { transition-delay: .18s; }
.motion-full .spots[data-io].in li:nth-child(n+5)::before { transition-delay: .24s; }
.spots-2 { display: grid; gap: 0 32px; }
@media (min-width: 640px) { .spots-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- The Diner (motion 15, 16) ---------- */
.mural { position: relative; overflow: hidden; aspect-ratio: 16 / 9; margin: 0; border: 6px solid #FFFDF8; box-shadow: var(--shadow-paper); background: var(--sky); }
.mural picture, .mural img { position: absolute; top: 0; left: 0; height: 100%; width: 112%; max-width: none; }
.mural img { object-fit: cover; object-position: 50% 75%; transform: translateX(-6%); }
.motion-full .mural[data-io] img { transform: translateX(0); transition: transform 2.4s cubic-bezier(.25, .6, .3, 1); }
.motion-full .mural[data-io].in img { transform: translateX(-6%); }
.mural-copy { max-width: 62ch; margin-top: 28px; }
@media (min-width: 640px) { .mural { aspect-ratio: 21 / 9; } }
.stool-head { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; margin-bottom: .5em; }
.stool-head .h2 { margin: 0; }
.stools { display: flex; gap: 6px; }
.stools svg { width: 28px; height: 42px; }
.motion-full .stools[data-io] svg { opacity: 0; transform: translateY(10px) scale(.5); transition: transform .4s cubic-bezier(.3, 1.5, .5, 1), opacity .3s; }
.motion-full .stools[data-io].in svg { opacity: 1; transform: none; }
.motion-full .stools[data-io].in svg:nth-child(2) { transition-delay: .15s; }
.motion-full .stools[data-io].in svg:nth-child(3) { transition-delay: .3s; }
.stool-grid { display: grid; gap: 36px; align-items: center; }
.stool-grid .taped img { aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 640px) { .stool-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; } }
.photo-row { list-style: none; margin-block: 0; padding-block: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
.photo-row .taped { padding: 6px; }
.photo-row .taped::before { width: 64px; margin-left: -32px; height: 20px; top: -9px; }
.photo-row img { aspect-ratio: 3 / 4; object-fit: cover; }
@media (min-width: 1024px) { .photo-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; } }
.know > * { max-width: 640px; }

/* ---------- Visit (motion 18, 19) ---------- */
.visit-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .visit-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.hours { width: 100%; max-width: 460px; border-collapse: collapse; font-size: 1.06rem; background: #FFFDF6; border: 1px solid var(--edge); box-shadow: var(--shadow-paper); }
.hours th, .hours td { position: relative; z-index: 0; text-align: left; padding: 11px 16px; border-bottom: 1px dashed var(--edge); }
.hours th { font-weight: 600; }
.hours thead th { font-family: var(--ff-slab); font-size: 1.1rem; color: var(--barn-red); border-bottom: 2px solid var(--edge); }
.hours tr.today th, .hours tr.today td { font-weight: 700; }
.hours tr.today th::before, .hours tr.today td::before {
  content: ""; position: absolute; z-index: -1; inset: 4px 0; background: rgba(179, 38, 42, .2);
}
.hours tr.today th::before { left: 6px; border-radius: 10px 2px 2px 12px; }
.hours tr.today td::before { right: 6px; border-radius: 2px 12px 10px 2px; }
.motion-full .hours tr.today th::before, .motion-full .hours tr.today td::before { clip-path: inset(0 100% 0 0); animation: sweep .45s ease-out forwards; }
.motion-full .hours tr.today th::before { animation-delay: .4s; }
.motion-full .hours tr.today td::before { animation-delay: .85s; }
@keyframes sweep { to { clip-path: inset(0 0 0 0); } }
.address-block address { font-style: normal; font-size: 1.12rem; }
.map-card { display: block; margin-top: 28px; max-width: 520px; color: var(--slab-black); text-decoration: none; background: #FFFDF8; padding: 8px; border: 1px solid var(--edge); box-shadow: var(--shadow-paper); }
.map-card svg { display: block; width: 100%; height: auto; }
.map-card span { display: block; padding: 10px 6px 4px; font-weight: 600; color: var(--barn-red); text-decoration: underline; text-underline-offset: .18em; }
.map-card:hover span { color: var(--booth-burgundy); }
.motion-full .map-card[data-io] .map-pin { opacity: 0; transform: translateY(-12px); }
.motion-full .map-card[data-io].in .map-pin { animation: pin-drop .75s ease-out .2s forwards; }
@keyframes pin-drop {
  0% { opacity: 0; transform: translateY(-12px); }
  55% { opacity: 1; transform: translateY(2px); }
  78% { transform: translateY(-2px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Form */
.form-card { padding: 28px 18px 30px; transform: none; }
@media (min-width: 640px) { .form-card { padding: 36px 36px 38px; } }
.form { display: grid; gap: 20px; margin-top: 20px; }
.field-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .req { font-weight: 500; font-size: .86rem; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 48px; padding: 10px 12px;
  font: inherit; color: var(--slab-black); background: #FFFDF8;
  border: 2px solid #8C7A63; border-radius: 6px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--barn-red); }
.hint { margin: 6px 0 0; font-size: .9rem; color: var(--ink-soft); }
.error { margin: 6px 0 0; font-size: .92rem; font-weight: 600; color: var(--barn-red); }
.error:empty { display: none; }
.form-status { margin: 0; font-weight: 600; color: var(--barn-red); }
.form-status:empty { display: none; }
.pickup { margin-top: 40px; padding-top: 28px; border-top: 2px dashed var(--edge); }

/* ---------- Footer (motion 9) ---------- */
.site-footer { margin-top: 24px; }
.horizon { position: relative; height: 120px; overflow: hidden; line-height: 0; }
.horizon svg { width: 100%; height: 100%; display: block; }
.wheel { transform-box: fill-box; transform-origin: center; }
.motion-full .horizon[data-io] .wagon, .motion-lite .horizon[data-io] .wagon { transition: transform 1.6s cubic-bezier(.3, .2, .3, 1); }
.motion-full .horizon[data-io] .wheel, .motion-lite .horizon[data-io] .wheel { transition: transform 1.6s cubic-bezier(.3, .2, .3, 1); }
.horizon .wagon { transform: translateX(24px); }
.horizon .wheel { transform: rotate(92deg); }
.motion-full .horizon[data-io]:not(.in) .wagon, .motion-lite .horizon[data-io]:not(.in) .wagon { transform: translateX(0); }
.motion-full .horizon[data-io]:not(.in) .wheel, .motion-lite .horizon[data-io]:not(.in) .wheel { transform: rotate(0deg); }
@media (min-width: 1024px) { .horizon { height: 170px; } }
.footer-body { background: var(--woodgrain-dark); color: var(--menu-paper); padding: 30px 0 22px; }
.footer-body a { color: var(--menu-paper); }
.footer-body a:hover { color: #FFFFFF; }
.footer-cols { display: grid; gap: 24px; }
@media (min-width: 640px) { .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer-name { font-family: var(--ff-title); font-size: 1.4rem; margin: 0 0 .4em; }
.footer-h { font-family: var(--ff-slab); font-weight: 700; font-size: 1.15rem; margin: 0 0 .4em; }
.footer-body address { font-style: normal; }
.footer-body address a, .footer-links a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-credit { margin: 22px auto 0; padding-top: 16px; border-top: 1px solid rgba(242, 230, 207, .35); font-size: .9rem; }

/* ---------- Demo modal ---------- */
.modal {
  width: min(92vw, 440px); padding: 28px 24px 24px; border: 1px solid var(--edge); border-radius: 4px;
  background: var(--menu-paper); color: var(--slab-black); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6);
}
.modal::backdrop { background: rgba(30, 26, 22, .55); }
.modal h2 { font-family: var(--ff-title); font-weight: 400; font-size: 1.8rem; line-height: 1.1; margin: 0 0 .5em; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
