/* The page under the 3D hero, board v4 (docs/dolce-site-v4.bento.json; owner round 12: no farm scenes; round 13: a static backdrop, designed reveals).
   Mobile first; 1440 is the expansion. Two faces: Shrikhand headings, Bitter body. */
:root {
  --plum: #2a0f1a; --plum-soft: #4a2435; --raspberry: #bf3761; --pink-dark: #f14685; --pink-hot: #ff66c4;
  --dusty: #f1b1bf; --blush: #f8dde3; --cream: #faf6f7; --paper: #fffdfc; --yolk-soft: #fbeec6;
  --lilac: #ece6f1; --lilac-deep: #5b3e6b;
  --display: "Shrikhand", Georgia, serif; --body: "Bitter", Georgia, serif;
  --shadow-1: 0 1px 2px rgba(42, 15, 26, 0.10), 0 8px 22px -10px rgba(42, 15, 26, 0.35);
  --shadow-2: 0 2px 4px rgba(42, 15, 26, 0.12), 0 24px 48px -18px rgba(42, 15, 26, 0.45);
  --radius: 18px; --gutter: 16px; --nav-h: 52px; --ease: cubic-bezier(0.33, 1, 0.68, 1); /* easeOutCubic, the one easing */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  --spring: cubic-bezier(0.34, 1.36, 0.64, 1); /* a small overshoot, for things that land */
}
@media (min-width: 900px) { :root { --gutter: 40px; --nav-h: 64px; } }

.farm, .farm * { box-sizing: border-box; }
.farm img { display: block; max-width: 100%; height: auto; }
.farm a { color: inherit; }
.farm h1, .farm h2, .farm h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; line-height: 1.06; margin: 0; }
.farm p, .farm figure, .farm ul { margin: 0; }
.farm h1, .farm h2, .farm h3, .farm .line { text-wrap: balance; } /* no orphan words in headlines */
.farm p, .farm figcaption, .farm li { text-wrap: pretty; }
.farm .eyebrow { font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--raspberry); }
.farm .muted { color: var(--plum-soft); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- the backdrop (owner round 14: the hero's lava runs behind the whole HOME page) ----
   The 3D lane's canvas.gl is fixed, full viewport, z-index 0 on the home page; html.bd-on from load, html.lava-on once
   the hero has popped. Home section grounds are transparent, always (no static blobs: they were a second backdrop);
   cards stay solid cream with their shadow; headings and lines carry a soft cream halo so they hold contrast over the
   wash. If the canvas cannot run, the body's cream shows through. /shop is plain cream. */
.farm { position: relative; color: var(--plum); font-family: var(--body); font-size: 16px; line-height: 1.55; background: var(--cream); isolation: isolate; }
.farm:not(.farm-page), .farm:not(.farm-page) .stop { background: transparent; }
html.bd-on body, html.lava-on body { background: transparent; }
.farm:not(.farm-page) .sec-head h2, .farm:not(.farm-page) .sec-head .line { text-shadow: 0 0 1px rgba(250, 246, 247, 0.95), 0 0 6px rgba(250, 246, 247, 0.95), 0 0 16px rgba(250, 246, 247, 0.9), 0 0 34px rgba(250, 246, 247, 0.7); }
/* the frosting waves had a flat full-width edge that read as a seam over the moving lava: gone on home */
.farm:not(.farm-page) .wave { display: none; }
.farm-content { position: relative; }

/* ---- the reveal system (owner round 13: each section's entrance designed, not generic) ----
   html.rv-on is added by site-3d.js ONLY when JS runs with motion on, so reduced motion, no JS, or a failed script all
   show every element at its final state. Each block gets .in ONCE (IntersectionObserver, plus a catch-up for anything
   scrolled past). Transforms and opacity only, plus a clip on photos and on the frosting waves.
   - Headings: split into words (site-3d.js), each word rises in 40 ms after the last; the line and button follow.
   - Cards: rise 18 px and scale up from 0.96 on a small spring, 60 ms stagger (--i).
   - Gazette page: turns in with a small 3D tilt and settles flat (at its -1 degree rest).
   - Shop products: card in, photo unmasks, then the price slides up after it.
   - Frosting waves: draw in left to right. */
.rv-on [data-reveal] { opacity: 0; transform: translate3d(0, 18px, 0) scale(0.96); transition: opacity 0.5s var(--ease), transform 0.8s var(--spring); transition-delay: calc(var(--i, 0) * 60ms); }
.rv-on [data-reveal="slow"] { transition-duration: 0.8s, 1.1s; transition-delay: calc(var(--i, 0) * 90ms); }
.rv-on [data-reveal].in { opacity: 1; transform: none; }
.rv-on [data-reveal].settled, .rv-on [data-reveal].settled .pic { transition: transform 0.2s ease, box-shadow 0.2s ease; transition-delay: 0s; }
.rv-on [data-reveal] .pic { clip-path: inset(0 0 100% 0 round 18px); transition: clip-path 0.75s var(--ease); transition-delay: calc(var(--i, 0) * 60ms + 120ms); }
.rv-on [data-reveal].in .pic { clip-path: inset(0 0 0 0 round 0); }
/* headings: the header itself does not move; its words and then its other children do */
.rv-on .sec-head[data-reveal] { opacity: 1; transform: none; }
.rv-on .sec-head .w { display: inline-block; opacity: 0; transform: translate3d(0, 0.55em, 0) rotate(2deg); transition: opacity 0.45s var(--ease), transform 0.7s var(--spring); transition-delay: calc(var(--w) * 40ms); }
.rv-on .sec-head > :not(h2) { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); transition-delay: calc(var(--words, 3) * 40ms + 140ms); }
.rv-on .sec-head > :not(h2) + :not(h2) { transition-delay: calc(var(--words, 3) * 40ms + 230ms); }
.rv-on .sec-head.in .w, .rv-on .sec-head.in > :not(h2) { opacity: 1; transform: none; }
/* the Gazette page turns in */
.rv-on .issue[data-reveal] { transform: perspective(900px) translate3d(0, 34px, 0) rotateX(16deg) rotateY(-10deg) rotate(-4deg) scale(0.96); transform-origin: 50% 100%; transition-duration: 0.6s, 1.1s; }
.rv-on .issue[data-reveal].in { transform: perspective(900px) rotate(-1deg); }
/* shop: the price slides up after the photo */
.rv-on .product[data-reveal] .price { opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity 0.4s var(--ease), transform 0.55s var(--spring); transition-delay: calc(var(--i, 0) * 60ms + 620ms); }
.rv-on .product[data-reveal].in .price { opacity: 1; transform: none; }
/* frosting waves draw in left to right */
.rv-on [data-reveal="wave"] { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease); }
.rv-on [data-reveal="wave"].in { clip-path: inset(0 0 0 0); }
@media (max-width: 899px) { .rv-on [data-reveal-phone] { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 0.6s var(--ease), transform 0.8s var(--spring); } .rv-on [data-reveal-phone].in { opacity: 1; transform: none; } }

/* ---- floating BOTTOM nav (owner round 14: "would look a lot better on the bottom") ----
   A cream pill fixed at the bottom centre, 16 px above the bottom edge plus the iPhone safe area. It slides up once the
   hero has released and stays. Phone: compact, the links scroll sideways and the current one is kept in view. Sections
   and the footer carry bottom padding of at least --nav-clear so it never sits over a button or a card's text at rest. */
:root { --nav-gap: calc(16px + env(safe-area-inset-bottom, 0px)); --nav-clear: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom, 0px) + 16px);
  --nav-top: calc(var(--nav-gap) + var(--nav-h)); } /* --nav-top: the island's top edge from the bottom; the hero's scroll indicator sits above it */
.nav-pill { position: fixed; z-index: 30; left: 50%; bottom: var(--nav-gap); height: var(--nav-h); width: max-content; max-width: calc(100vw - 2 * var(--gutter));
  display: flex; align-items: center; gap: 8px; padding: 0 8px 0 6px; border-radius: 999px; background: rgba(250, 246, 247, 0.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 2px 4px rgba(42, 15, 26, 0.10), 0 14px 32px -12px rgba(42, 15, 26, 0.45), inset 0 0 0 1px rgba(42, 15, 26, 0.10);
  transform: translate3d(-50%, calc(100% + 40px), 0); transition: transform 0.55s var(--spring); }
.nav-pill:not(.is-in) { visibility: hidden; transition: transform 0.4s var(--ease), visibility 0s linear 0.4s; }
.nav-pill.is-in { transform: translate3d(-50%, 0, 0); visibility: visible; transition: transform 0.55s var(--spring), visibility 0s; }
.farm:not(.farm-motion) .nav-pill, html:not(.rv-on) .nav-pill { transition: none; }
#nav-logo-slot { flex: 0 0 auto; height: 36px; width: 92px; display: block; }
#nav-logo-slot img { height: 100%; width: auto; }
.nav-pill nav { flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 0, #000 86%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 0, #000 86%, transparent); }
.nav-pill nav::-webkit-scrollbar { display: none; }
/* scrolled sideways on a phone: fade the left edge too, so a half link never shows as a hard cut */
.nav-pill nav.is-scrolled.is-end { mask-image: linear-gradient(90deg, transparent 0, #000 24px); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px); }
.nav-pill nav.is-scrolled:not(.is-end) { mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 86%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 86%, transparent); }
.nav-pill nav.is-end:not(.is-scrolled) { mask-image: none; -webkit-mask-image: none; }
.nav-pill ul { list-style: none; margin: 0; padding: 0 20px 0 0; display: flex; gap: 0; white-space: nowrap; }
.nav-pill a { display: inline-block; padding: 8px 9px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--plum); position: relative; }
@media (max-width: 899px) {
  /* the phone island carries the four main places so nothing is ever cut; Bubby's and Podcast stay a scroll away */
  .nav-pill li:nth-child(4), .nav-pill li:nth-child(5) { display: none; }
  /* on Bubby's and Podcast the current page takes Visit's place, so the island always shows where you are */
  .page-bubbys .nav-pill li:nth-child(4), .page-podcast .nav-pill li:nth-child(5) { display: list-item; }
  .page-bubbys .nav-pill li:nth-child(6), .page-podcast .nav-pill li:nth-child(6) { display: none; }
  .page-bubbys .nav-pill a, .page-podcast .nav-pill a { padding: 8px 8px; }
  .page-bubbys #nav-logo-slot, .page-podcast #nav-logo-slot { width: 70px; height: 28px; }
  .nav-pill nav, .nav-pill nav.is-scrolled, .nav-pill nav.is-end { overflow: visible; mask-image: none; -webkit-mask-image: none; }
  .nav-pill ul { padding: 0; gap: 2px; }
  .nav-pill a { padding: 8px 11px; }
  #nav-logo-slot { height: 32px; width: 82px; }
}
.nav-pill nav a[aria-current] { background: var(--raspberry); color: #fff; }
.nav-pill nav a:not([aria-current]):hover { background: var(--blush); }
@media (min-width: 900px) {
  #nav-logo-slot { height: 44px; width: 113px; }
  .nav-pill { padding: 0 10px 0 10px; gap: 12px; }
  .nav-pill nav { mask-image: none; -webkit-mask-image: none; overflow: visible; }
  .nav-pill ul { gap: 4px; padding: 0; }
  .nav-pill a { font-size: 15px; padding: 10px 16px; }
}
@media (prefers-reduced-motion: reduce) { .nav-pill, .nav-pill.is-in, .nav-pill:not(.is-in) { transition: none; } }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; font: 600 15px/1.2 var(--body); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap;
  background: var(--raspberry); color: #fff; box-shadow: 0 6px 16px -8px rgba(191, 55, 97, 0.7); transition: transform 0.18s ease, background 0.18s ease; }
.farm a.btn, .farm button.btn { color: #fff; }
.btn:hover { background: #a92e54; }
.farm-motion .btn:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--raspberry); }
.farm a.btn-ghost { color: var(--raspberry); }
.btn-plum { background: var(--lilac-deep); box-shadow: 0 6px 16px -8px rgba(91, 62, 107, 0.7); }
.btn-plum:hover { background: #4b3259; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 13px; }

/* ---- sections: normal flow, one screen-ish each ---- */
.stop { position: relative; padding: 88px var(--gutter) max(64px, var(--nav-clear)); scroll-margin-top: 0; } /* 4 px rhythm: clears the 56 px wave on top and the bottom nav below */
.stop .wrap { max-width: 1240px; margin: 0 auto; }
.wave { display: block; position: absolute; left: 0; top: 0; width: 100%; height: 56px; fill: var(--dusty); fill-opacity: 0.55; pointer-events: none; }
.wave.lilac { fill: #cdbfe0; fill-opacity: 0.6; }
@media (min-width: 900px) { .stop { padding: 128px var(--gutter) max(96px, var(--nav-clear)); } .wave { height: 80px; } }

.sec-head { display: grid; gap: 12px; justify-items: start; }
.sec-head h1, .sec-head h2 { font-size: clamp(34px, 9vw, 64px); color: var(--raspberry); }
/* home headings take a deeper raspberry (#a92e54) so they clear 4.5:1 over the pink blobs with room to spare; /shop stays
   #bf3761 on plain cream (4.98:1). Measured by tools/verify-site-v4.mjs against the pixels behind each heading. */
.farm:not(.farm-page) .sec-head h2 { color: #a92e54; }
.sec-head .line { font-size: 17px; line-height: 1.45; font-weight: 600; color: var(--plum); max-width: 40ch; }
.sec-head.center { justify-items: center; text-align: center; margin: 0 auto; }
.cards { margin-top: 28px; }
.card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-2); padding: 16px; }
.card h3 { font-size: 22px; color: var(--raspberry); }
.pic { display: block; overflow: hidden; border-radius: 10px; background: var(--blush); }
.pic img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Meet the Farm Family: the row of animal cards ----
   desktop with motion (.pan, set by site-3d.js): the section pins for --pan-d of scroll and the row pans 1:1 inside its
   own clipped box; phone and reduced motion: a normal row, swipe / trackpad / drag with snap. */
.family { padding: 0; contain: layout paint; }
.family .fam-stage { padding: 88px 0 40px; display: flex; flex-direction: column; }
.family .wrap { width: 100%; padding: 0 var(--gutter); }
.carousel { position: relative; margin-top: 4px; } /* + the track's 28 px top padding = 32 px under the heading block */
.track { display: flex; gap: 16px; padding: 28px var(--gutter) 32px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; user-select: none; -webkit-user-select: none; }
.track::-webkit-scrollbar { display: none; }
.track.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.track img { -webkit-user-drag: none; }
.animal { flex: 0 0 74vw; max-width: 260px; scroll-snap-align: start; background: var(--paper); border-radius: 6px; padding: 10px 10px 14px; box-shadow: var(--shadow-1);
  transform: rotate(var(--tilt, 0deg)); transform-origin: 50% 100%; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.animal:hover { transform: translateY(-6px) scale(1.06); box-shadow: 0 4px 8px rgba(42, 15, 26, 0.12), 0 30px 50px -18px rgba(42, 15, 26, 0.5); z-index: 1; }
.animal .pic { aspect-ratio: 4 / 3; border-radius: 3px; }
.animal h3 { font-size: 20px; color: var(--raspberry); margin-top: 10px; line-height: 1.05; }
.animal p { font-size: 14px; line-height: 1.45; color: var(--plum-soft); margin-top: 6px; }
.arrow { display: none; }
@media (min-width: 900px) {
  .family .fam-stage { padding-top: 128px; }
  /* the row sits right under the heading block: 6px + the track's 26px top padding = 32px to the card tops (it used to
     be pushed to the bottom of the pinned stage by margin-top: auto, leaving about 130px of nothing) */
  .carousel { width: min(100%, calc(4 * 260px + 3 * 18px + 2 * 24px + 2 * 64px)); margin: 4px auto 0; padding: 0 64px; }
  .track { gap: 18px; padding: 28px 24px 36px; scroll-padding: 0 24px; cursor: grab; }
  .animal { flex-basis: 260px; }
  .arrow { display: grid; place-items: center; position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--paper); box-shadow: var(--shadow-1); color: var(--raspberry); transition: transform 0.2s ease, opacity 0.2s ease; }
  .arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
  .arrow:hover { transform: scale(1.08); }
  .arrow.prev { left: 6px; } .arrow.next { right: 6px; }
  .arrow[disabled] { opacity: 0.35; cursor: default; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .animal, .arrow { transition: none; } }
.family.pan .fam-stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; justify-content: center; padding: 48px 0 var(--nav-clear); } /* the pinned screen holds the heading and the row as one centred group, no empty band */
.family.pan { min-height: calc(100vh + var(--pan-d, 0px)); min-height: calc(100svh + var(--pan-d, 0px)); }
.family.pan .track { overflow: hidden; scroll-snap-type: none; }
.family.pan .animal { transform: none; }
.family.pan .animal:hover { transform: translateY(-6px) scale(1.06); }

/* ---- the Gazette ---- */
.gz-signup form { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; max-width: 520px; }
.gz-signup input { min-height: 44px; flex: 1 1 200px; border-radius: 999px; border: 2px solid rgba(191, 55, 97, 0.35); background: var(--paper); color: var(--plum); padding: 0 18px; font: 400 16px var(--body); }
.gz-signup .done { display: none; font-weight: 700; color: var(--plum); background: var(--yolk-soft); padding: 8px 14px; border-radius: 12px; }
.gz-signup.is-done form { display: none; }
.gz-signup.is-done .done { display: block; }
.gz-cards { display: grid; gap: 16px; }
.issue { padding: 10px; transform: rotate(-1deg); }
.issue .pic { border-radius: 4px; background: #fff; }
.issue figcaption { font-size: 14px; margin-top: 8px; color: var(--plum-soft); }
.issue figcaption b { color: var(--raspberry); margin-right: 6px; }
.cols ul { list-style: none; padding: 0; margin-top: 8px; display: grid; gap: 0 18px; }
.cols li { padding: 6px 0; border-bottom: 1px dotted var(--dusty); font-weight: 600; font-size: 15px; }
@media (max-width: 899px) {
  .gz .issue { width: min(100%, 280px); margin: 0 auto; }
  .cols ul { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
  .cols li { border: 0; padding: 7px 12px; border-radius: 999px; background: var(--blush); font-size: 14px; line-height: 1.25; text-align: center; }
}
@media (min-width: 640px) { .cols ul { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .gz { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; }
  .gz .cards { margin-top: 0; grid-template-columns: 1fr 1fr; align-items: start; }
  .cols ul { grid-template-columns: 1fr; }
}

/* ---- shop teaser and products ---- */
.teaser { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 900px; margin-left: auto; margin-right: auto; }
.product { display: flex; flex-direction: column; background: var(--paper); border-radius: 12px; box-shadow: var(--shadow-1); overflow: hidden; text-decoration: none; color: var(--plum); transition: box-shadow 0.25s ease, transform 0.25s ease; }
.farm-motion .product:hover { box-shadow: var(--shadow-2); }
.product .pic { aspect-ratio: 1; border-radius: 0; position: relative; }
.product.contain .pic img, .product[data-cat="book"] .pic img, .product[data-cat="bracelet"] .pic img { object-fit: contain; padding: 8px; }
.product .tag { position: absolute; left: 8px; top: 8px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(255, 253, 252, 0.94); color: var(--raspberry); }
.product .body { padding: 8px 10px 10px; display: grid; gap: 2px; }
@media (max-width: 639px) {
  .teaser { grid-template-columns: 1fr; gap: 12px; }
  .teaser .product { flex-direction: row; align-items: center; }
  .teaser .product .pic { flex: 0 0 104px; width: 104px; }
  .teaser .product .body { padding: 10px 14px; gap: 4px; }
  .teaser .product h3 { font-size: 15px; }
}
.product h3 { font-family: var(--body); font-weight: 700; font-size: 13px; line-height: 1.25; color: var(--plum); }
.product .price { font-family: var(--display); font-size: 17px; color: var(--raspberry); line-height: 1; margin-top: 3px; } /* raspberry, not dark pink: 5.26:1 vs 3.48:1 on paper */
.product .price small { font-family: var(--body); font-size: 11px; color: var(--plum-soft); margin-right: 3px; }
@media (min-width: 900px) { .teaser { gap: 18px; } .product h3 { font-size: 14px; } }

/* ---- Bubby's: quiet, lilac ---- */
.bubbys .sec-head h2, .bubbys .sec-head .line { color: var(--lilac-deep); }
.who { background: var(--lilac); color: var(--lilac-deep); display: grid; gap: 8px; font-size: 15px; line-height: 1.65; margin-top: 24px; max-width: 560px; }
.who .name { font-weight: 700; font-size: 16px; }
.who .alarm { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.bub-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pic-card { padding: 8px; }
.pic-card .pic { aspect-ratio: 4 / 5; border-radius: 8px; }
.pic-card figcaption { font-family: var(--display); font-size: 15px; color: var(--lilac-deep); padding: 8px 2px 0; }
.pic-card figcaption a { text-decoration: none; }
@media (min-width: 900px) { .bub { display: grid; grid-template-columns: 5fr 6fr; gap: 48px; align-items: start; } .bub .cards { margin-top: 0; gap: 20px; } }

/* ---- podcast and media ---- */
.show { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; margin-top: 24px; }
.show .pic { aspect-ratio: 1; border-radius: 12px; }
.show p { font-size: 14px; line-height: 1.55; }
.tv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tvc { display: grid; gap: 6px; padding: 8px 10px 12px; text-decoration: none; font-size: 14px; line-height: 1.45; color: var(--plum); }
.tvc .pic { aspect-ratio: 16 / 9; }
.tvc .outlet { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--raspberry); }
@media (min-width: 900px) { .pod-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 48px; align-items: start; } .pod-grid .cards { margin-top: 0; gap: 20px; } .show { grid-template-columns: 140px 1fr; } .tvc { font-size: 13px; } }

/* ---- visit ---- */
.visit-cards { display: grid; gap: 14px; }
.gather .muted { font-size: 14px; margin-top: 6px; }
.ev-list { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 10px; }
.ev-list li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; font-size: 14px; line-height: 1.35; }
.ev-list img { border-radius: 8px; aspect-ratio: 1; object-fit: cover; width: 100%; background: var(--blush); }
.ev-list b { display: block; font-family: var(--display); font-weight: 400; font-size: 15px; color: var(--plum); }
.contact form { display: grid; gap: 10px; margin-top: 10px; }
.contact label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.contact input, .contact textarea { min-height: 44px; border-radius: 12px; border: 1px solid var(--dusty); background: #fff; padding: 10px 14px; font: 400 16px var(--body); color: var(--plum); width: 100%; }
.contact textarea { min-height: 72px; resize: vertical; }
.contact .done { display: none; background: var(--yolk-soft); border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.5; margin-top: 10px; }
.contact.is-done form { display: none; } .contact.is-done .done { display: block; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--cream); box-shadow: var(--shadow-1); text-decoration: none; font-weight: 600; font-size: 13px; }
.socials i { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--raspberry); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; }
.socials .fb i { background: #b02e5d; } .socials .yt i { background: var(--plum); } .socials .tt i { background: var(--lilac-deep); }
.small { font-size: 13px; margin-top: 12px; }
.product img[src*="hat-pile"] { object-position: 50% 88%; } /* the hats sit at the bottom of a field photo */
@media (min-width: 900px) { .visit-cards { grid-template-columns: 1fr 1.3fr 1fr; align-items: start; gap: 20px; } }

/* ---- footer ---- */
.farm-footer { position: relative; background: var(--plum); color: var(--cream); padding: 28px var(--gutter) calc(var(--nav-clear) + 28px); }
.farm-footer .wrap { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 12px; }
.farm-footer .brand { display: flex; align-items: center; gap: 12px; }
.farm-footer .brand img { height: 32px; width: auto; }
.farm-footer .brand span { font-family: var(--display); font-size: 20px; color: var(--pink-hot); }
.farm-footer .fine { grid-column: 1 / -1; font-size: 13px; line-height: 1.6; color: rgba(250, 246, 247, 0.78); }
.farm-footer .foot-links, .farm-footer .foot-social { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; font-weight: 600; }
.farm-footer .foot-social { font-weight: 400; font-size: 14px; }
.farm-footer nav a { color: var(--cream); text-decoration: none; padding: 4px 0; }
.farm-footer nav a:hover { color: var(--pink-hot); }
.farm-footer .fine a { color: var(--cream); }
.farm-footer .top { justify-self: end; color: var(--cream) !important; background: transparent; box-shadow: inset 0 0 0 2px rgba(250, 246, 247, 0.5); }
@media (min-width: 900px) { .farm-footer { padding: 40px var(--gutter) calc(var(--nav-clear) + 8px); } .farm-footer .foot-links { font-size: 15px; } .farm-footer .foot-social { font-size: 14px; } .farm-footer .wrap { grid-template-columns: auto 1fr auto; gap: 32px; } .farm-footer .wrap { grid-template-columns: auto 1fr auto; } .farm-footer .foot-links { grid-column: 2; grid-row: 1; justify-content: center; } .farm-footer .foot-social { grid-column: 1; grid-row: 2; } .farm-footer .fine { grid-column: 2 / 4; grid-row: 2; text-align: right; font-size: 14px; } .farm-footer .brand img { height: 40px; } }

/* ---- the /shop page: plain cream, no lava ---- */
.farm.farm-page { background: var(--cream); }
/* ---- per-page grounds (owner, 2026-10-13: plain cream read flat). Light, readable, CSS only (no WebGL): a fixed layer
   behind the page with a soft vertical gradient, three large blurred shapes in the page's own accent and a 4 percent
   grain. Each page sets --g1 (top), --g2 (bottom), --a1/--a2/--a3 (the shapes). Text contrast is measured on these. */
.farm.farm-page::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 34% at 12% 18%, var(--a1), transparent 70%),
    radial-gradient(38% 30% at 90% 30%, var(--a2), transparent 70%),
    radial-gradient(56% 40% at 60% 96%, var(--a3), transparent 72%),
    linear-gradient(180deg, var(--g1), var(--g2)); }
.farm.farm-page::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: var(--grain); opacity: 0.04; mix-blend-mode: multiply; }
.farm.farm-page, .farm.farm-page .stop { background: transparent; }
.page-gazette { --g1: #fffaf0; --g2: #fdf1d2; --a1: rgba(247, 214, 120, 0.25); --a2: rgba(251, 238, 198, 0.54); --a3: rgba(244, 200, 110, 0.2); } /* warm butter */
.page-shop    { --g1: #fdf6f7; --g2: #fae6ec; --a1: rgba(241, 177, 191, 0.25); --a2: rgba(255, 186, 214, 0.22); --a3: rgba(248, 221, 227, 0.57); } /* pink */
.page-bubbys  { --g1: #f9f6fc; --g2: #eee7f6; --a1: rgba(196, 172, 226, 0.27); --a2: rgba(205, 191, 224, 0.3); --a3: rgba(170, 140, 210, 0.18); } /* his purple, lilac */
.page-podcast { --g1: #fff8f3; --g2: #fde9dc; --a1: rgba(250, 196, 160, 0.27); --a2: rgba(253, 220, 196, 0.48); --a3: rgba(244, 170, 140, 0.19); } /* soft peach */
.page-visit   { --g1: #f7fbf4; --g2: #e7f1e1; --a1: rgba(178, 214, 164, 0.27); --a2: rgba(206, 228, 194, 0.42); --a3: rgba(150, 196, 140, 0.18); } /* soft green */
.farm-page { --raspberry: #a92e54; } /* on the tinted page grounds every raspberry (headings, eyebrows, prices, buttons) takes the deeper tone that holds 4.5:1 */
.farm-page .sec-head h1, .farm-page .sec-head h2 { color: #a92e54; }
.farm-page .stop { min-height: 100svh; padding-top: 64px; }
@media (min-width: 900px) { .farm-page .stop { padding-top: 96px; } }
/* ---- home: Explore the farm (the five pages) ---- */
.explore-cards { display: grid; gap: 12px; }
.explore-card { display: grid; grid-template-columns: 104px 1fr; align-items: center; padding: 0; overflow: hidden; text-decoration: none; color: var(--plum); border-radius: 14px; box-shadow: var(--shadow-1); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.explore-card .pic { aspect-ratio: 1; border-radius: 0; }
.explore-card .body { padding: 12px 16px; display: grid; gap: 4px; }
.explore-card h3 { font-size: 20px; line-height: 1.1; }
.explore-card p { font-size: 14px; line-height: 1.4; color: var(--plum-soft); }
.explore-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
/* Keep exploring: the end of every page leads to the other pages */
.farm-page .stop.explore { min-height: 0; padding-top: 24px; }
.explore-end .explore-card { grid-template-columns: 120px 1fr; min-height: 120px; }
.explore-end .explore-card h3 { font-size: 22px; }
@media (min-width: 900px) {
  .explore-cards { grid-template-columns: repeat(5, 1fr); gap: 18px; }
  .explore-cards.n4 { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .explore-end .explore-card { grid-template-columns: 1fr; min-height: 0; }
  .explore-card { grid-template-columns: 1fr; align-items: start; }
  .explore-card .pic { aspect-ratio: 4 / 3; }
  .explore-card .body { padding: 14px 16px 18px; }
}
.farm-page .sec-head h1 { font-size: clamp(32px, 8vw, 56px); }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 6px 2px; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: 0 0 auto; min-height: 38px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--dusty); background: var(--paper); color: var(--plum); font: 600 13px var(--body); cursor: pointer; box-shadow: var(--shadow-1); }
.tabs button span { opacity: 0.7; font-weight: 400; margin-left: 4px; }
.tabs button[aria-selected="true"] { background: var(--raspberry); color: #fff; border-color: var(--raspberry); }
.shop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.farm-page .note { display: inline-flex; margin-top: 18px; font-size: 13px; color: var(--plum-soft); }
@media (min-width: 900px) { .shop-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

@media (prefers-reduced-motion: reduce) { .nav-pill { transition: none !important; } }
