/* B.L.C (Ben's Loaded Community: food and fashion): sticker-and-chalkboard design system.
   Colours come only from the --wf-* palette roles (set per site in a <style>
   from Webfreezee's site settings); everything else derives from them.
   Also served unchanged as /webfreezee-editor.css. */

@font-face {
  font-family: "Bowlby One SC";
  src: url("/assets/fonts/bowlby-one-sc-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sofia Sans";
  src: url("/assets/fonts/sofia-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette roles (defaults; the page's theme style overrides them). */
  --wf-primary: #b9d5a2;
  --wf-secondary: #1e5a3c;
  --wf-accent: #e9a23b;
  --wf-light: #f5efcf;
  --wf-dark: #5a1622;
  --wf-text: #22191a;
  --wf-muted: #5c5646;
  --wf-border: #d9cea2;
  --wf-on-primary: #5a1622;
  --wf-on-secondary: #f5efcf;
  --wf-on-accent: #5a1622;
  --wf-on-dark: #f5efcf;
  --wf-on-light: #5a1622;
  --wf-white: #ffffff;
  --mask-ink: #000000; /* mask alpha only, never painted */

  --wf-font-display: "Bowlby One SC", "Arial Black", Impact, sans-serif;
  --wf-font-body: "Sofia Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Sticker language: thick ink outlines and hard offset shadows. */
  --line-w: 3px;
  --line: var(--line-w) solid var(--wf-dark);
  --shadow-x: 6px;
  --shadow-ink: var(--wf-dark);
  --radius: 22px;
  --radius-sm: 14px;
  --pill: 999px;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 72px;
  --space-7: 104px;
  --gutter: 20px;
  --max: 1200px;

  /* The printed menu's checkered edge, in the dark and light roles. */
  --checker: repeating-conic-gradient(var(--wf-dark) 0 25%, var(--wf-light) 0 50%) 0 0 / 14px 14px;
  --dots: radial-gradient(color-mix(in srgb, var(--wf-dark) 16%, transparent) 1.3px, transparent 1.8px);
  --chalk: radial-gradient(ellipse at 20% 10%, color-mix(in srgb, var(--wf-on-dark) 7%, transparent), transparent 55%),
    radial-gradient(ellipse at 85% 70%, color-mix(in srgb, var(--wf-on-dark) 5%, transparent), transparent 50%),
    radial-gradient(color-mix(in srgb, var(--wf-on-dark) 6%, transparent) 0.8px, transparent 1.2px);

  /* AI Chat widget: the site's font and corners, above the mobile bar. */
  --wf-chat-font: var(--wf-font-body);
  --wf-chat-radius: 18px;
  --wf-chat-side: right;
  --wf-chat-bottom: 18px;
}
@media (max-width: 860px) {
  :root { --wf-chat-bottom: 92px; --gutter: 18px; --shadow-x: 5px; }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 116px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--wf-light);
  color: var(--wf-text);
  font-family: var(--wf-font-body);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 450;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (max-width: 860px) { body { font-size: 17px; padding-bottom: 84px; } body.page-contact, body.page-catering { padding-bottom: 0; } }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--wf-secondary); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--wf-secondary); outline-offset: 3px; border-radius: 6px; }
.bg-dark :focus-visible, .site-footer :focus-visible, .bg-secondary :focus-visible { outline-color: var(--wf-accent); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--wf-font-display); font-weight: 400; line-height: 1; letter-spacing: 0.005em; text-wrap: balance; }
h3 { font-size: clamp(22px, 2.1vw, 30px); }
h4 { font-size: 20px; }
ul, ol { margin: 0; padding: 0; }
mark {
  background: color-mix(in srgb, var(--wf-accent) 38%, var(--wf-white));
  color: var(--wf-dark);
  padding: 0 0.3em;
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-weight: 600;
}
.accent {
  color: var(--wf-white);
  -webkit-text-stroke: 0.06em var(--wf-dark);
  paint-order: stroke fill;
  text-shadow: 0.06em 0.06em 0 var(--wf-dark);
}
.bg-dark .accent { color: var(--wf-primary); -webkit-text-stroke: 0; text-shadow: none; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--wf-dark); color: var(--wf-on-dark); border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.inner { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 900px) { :root { --gutter: 40px; } }

/* ------------------------------------------------------------ buttons */
.button {
  --btn-bg: var(--wf-primary);
  --btn-fg: var(--wf-on-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border: var(--line);
  border-radius: var(--pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: 4px 4px 0 var(--shadow-ink);
  font-family: var(--wf-font-body);
  font-weight: 850;
  font-size: 18px;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--shadow-ink); }
.button:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--shadow-ink); }
.button-big { min-height: 60px; padding: 14px 32px; font-size: 20px; }
.button-secondary, .button-light, .button-outline { --btn-bg: var(--wf-white); --btn-fg: var(--wf-dark); }
.button-accent { --btn-bg: var(--wf-accent); --btn-fg: var(--wf-on-accent); }
.button-dark { --btn-bg: var(--wf-dark); --btn-fg: var(--wf-on-dark); --shadow-ink: var(--wf-white); }
.button-text { --btn-bg: transparent; --btn-fg: var(--wf-secondary); border-color: transparent; box-shadow: none; padding-inline: 0; text-decoration: underline; }
.bg-dark .button, .bg-secondary .button, .site-footer .button, .board .button { --shadow-ink: var(--wf-accent); }
.bg-accent .button-dark { --shadow-ink: var(--wf-white); }
.button-row { display: inline-flex; margin: var(--space-3) var(--space-2) 0 0; }
.align-center { text-align: center; }
.align-right { text-align: right; }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--wf-light);
}
.header-inner { max-width: var(--max); margin: 0 auto; padding: 10px var(--gutter) 16px; display: flex; align-items: center; gap: var(--space-3); }

/* The road under the header: the truck drives along it as the page scrolls
   (site.js), parked on the left without the script or with reduced motion. */
.road {
  position: relative; height: 10px; background-color: var(--wf-dark);
  background-image: repeating-linear-gradient(90deg, color-mix(in srgb, var(--wf-on-dark) 70%, transparent) 0 14px, transparent 14px 30px);
  background-size: 100% 2px; background-position: 0 50%; background-repeat: no-repeat;
}
.road-truck { position: absolute; left: 6px; bottom: 1px; width: 50px; pointer-events: none; will-change: transform; }
@media (max-width: 1020px) { .header-inner { padding-bottom: 22px; } .road-truck { width: 42px; } }
.truck { width: 100%; height: auto; overflow: visible; }
.truck path, .truck circle { stroke: var(--wf-dark); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.truck .d-p { fill: var(--wf-primary); }
.truck .d-a { fill: var(--wf-accent); }
.truck .d-w { fill: var(--wf-white); }
.truck .d-k { fill: var(--wf-dark); }
.truck .d-line { fill: none; }
.truck .wheel-spoke { stroke: var(--wf-white); }
.truck .wheel { transform-box: fill-box; transform-origin: center; transform: rotate(var(--spin, 0deg)); }
@media (prefers-reduced-motion: no-preference) {
  .road-truck.is-driving .truck { animation: rumble 0.25s steps(2) infinite; }
  @keyframes rumble { 50% { translate: 0 -1px; } }
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--wf-dark); text-decoration: none; }
.brand img { width: 56px; height: 56px; border-radius: 50%; border: var(--line); background: var(--wf-white); box-shadow: 3px 3px 0 var(--wf-dark); transition: transform 0.3s ease; }
.brand:hover img { transform: rotate(-12deg); }
.brand-name { font-family: var(--wf-font-display); font-size: 26px; line-height: 1; white-space: nowrap; }
.brand-name span { display: block; margin-top: 4px; color: var(--wf-secondary); font-size: 0.56em; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: var(--space-2); }
.site-nav ul { list-style: none; display: flex; gap: 2px; }
.site-nav li a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 11px; color: var(--wf-dark); font-weight: 800; font-size: 17px; white-space: nowrap; text-decoration: none; border-radius: var(--pill); }
.site-nav li a:hover { background: color-mix(in srgb, var(--wf-primary) 55%, transparent); }
.site-nav li a[aria-current="page"] { background: var(--wf-primary); box-shadow: inset 0 0 0 var(--line-w) var(--wf-dark); }
.header-cta { min-height: 48px; padding: 10px 22px; white-space: nowrap; }
.menu-toggle { display: none; }
@media (max-width: 1180px) {
  .brand img { width: 48px; height: 48px; }
  .brand-name { font-size: 22px; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px; margin-left: auto;
    min-height: 48px; padding: 8px 16px; border: var(--line); border-radius: var(--pill);
    background: var(--wf-white); color: var(--wf-dark); font: 800 17px var(--wf-font-body); cursor: pointer;
    box-shadow: 3px 3px 0 var(--wf-dark);
  }
  .menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 20px; height: 3px; border-radius: 3px; background: var(--wf-dark); position: relative; }
  .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
  .menu-bars::before { top: -6px; }
  .menu-bars::after { top: 6px; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: var(--space-2);
    padding: var(--space-3) var(--gutter) var(--space-4); background: var(--wf-light); border-bottom: var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav li a { font-size: 22px; min-height: 52px; }
}

/* ------------------------------------------------------------ grounds */
.bg-white { background: var(--wf-white); color: var(--wf-text); }
.bg-light, .bg-soft { background: var(--wf-light); color: var(--wf-text); }
.bg-primary { background-color: var(--wf-primary); background-image: var(--dots); background-size: 14px 14px; color: var(--wf-on-primary); }
.bg-secondary { background: var(--wf-secondary); color: var(--wf-on-secondary); }
.bg-accent { background-color: var(--wf-accent); background-image: var(--dots); background-size: 14px 14px; color: var(--wf-on-accent); }
.bg-dark { background-color: var(--wf-dark); background-image: var(--chalk); background-size: 100% 100%, 100% 100%, 5px 5px; color: var(--wf-on-dark); }
.bg-dark a:not(.button), .bg-secondary a:not(.button) { color: var(--wf-primary); }
.bg-dark mark { color: var(--wf-dark); }

.section { position: relative; padding: var(--space-6) 0; }
.space-small { padding: var(--space-5) 0; }
.space-large { padding: var(--space-7) 0; }
@media (max-width: 700px) { .section { padding: var(--space-5) 0; } .space-large { padding: var(--space-6) 0; } }
.width-wide .inner { max-width: 1400px; }
@media (max-width: 700px) { .hide-mobile { display: none !important; } }
@media (min-width: 701px) { .hide-desktop { display: none !important; } }

.eyebrow {
  display: inline-block; margin: 0 0 var(--space-2); padding: 6px 14px;
  border: var(--line); border-radius: var(--pill); background: var(--wf-white); color: var(--wf-dark);
  font-weight: 850; font-size: 15px; line-height: 1.2; transform: rotate(-2deg);
}

/* ------------------------------------------------------------ blocks */
.block-heading { font-size: clamp(34px, 4.6vw, 64px); margin-bottom: var(--space-3); max-width: 20ch; }
h3.block-heading { font-size: clamp(24px, 2.4vw, 32px); margin: var(--space-4) 0 var(--space-2); max-width: none; }
h4.block-heading { font-size: 20px; margin: var(--space-3) 0 var(--space-1); }
.block-text { max-width: 64ch; }
.text-lead { font-size: clamp(19px, 1.6vw, 22px); font-weight: 550; line-height: 1.45; }
.text-small { font-size: 15px; color: inherit; opacity: 0.88; }
.bg-light .text-small, .bg-white .text-small { color: var(--wf-muted); opacity: 1; }
.divider { border: 0; border-top: var(--line); margin: var(--space-4) 0; }
.divider-dashed { border-top-style: dashed; }
.divider-subtle { border-top: 2px solid var(--wf-border); }
.spacer-small { height: var(--space-3); }
.spacer-medium { height: var(--space-5); }
.spacer-large { height: var(--space-7); }

.list-block { margin: var(--space-2) 0 var(--space-3); }
.list-title { font-weight: 850; font-size: 17px; margin-bottom: var(--space-1); }
.list-block ul, .list-block ol { list-style: none; display: grid; gap: 10px; }
.list-block li { position: relative; padding-left: 30px; }
.list-bullets li::before { content: ""; position: absolute; left: 4px; top: 0.45em; width: 14px; height: 14px; border-radius: 50%; background: var(--wf-accent); border: 2px solid var(--wf-dark); }
.list-checks li::before { content: "✓"; position: absolute; left: 2px; top: 0; font-weight: 900; color: var(--wf-secondary); }
.list-numbered ol { counter-reset: n; }
.list-numbered li { counter-increment: n; }
.list-numbered li::before { content: counter(n); position: absolute; left: 0; top: 0; font-family: var(--wf-font-display); color: var(--wf-secondary); }
.bg-dark .list-checks li::before, .bg-dark .list-numbered li::before { color: var(--wf-accent); }

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--space-3);
  background: var(--wf-white);
  color: var(--wf-text);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-x) var(--shadow-x) 0 var(--wf-dark);
}
.feature-card .card-body { margin: 0; color: var(--wf-text); }
.card-title { font-size: clamp(24px, 2.2vw, 30px); }
.card-eyebrow { margin: 0; font-weight: 850; }
.card-link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 850; color: var(--wf-dark); text-decoration: none; }
.card-link span:first-child { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--wf-primary); text-underline-offset: 5px; }
.card-link-arrow { transition: transform 0.2s ease; }
.card-link:hover .card-link-arrow { transform: translateX(4px); }
.card-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--radius) - 8px); border: var(--line); }
.card-doodle .doodle { width: 76px; height: 76px; }
.bg-dark .feature-card { --wf-dark-shadow: var(--wf-accent); box-shadow: var(--shadow-x) var(--shadow-x) 0 var(--wf-accent); }

.content-image { margin: var(--space-3) 0; }
.content-image img { width: 100%; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow-x) var(--shadow-x) 0 var(--wf-dark); object-fit: cover; }
.content-image img.is-contain { object-fit: contain; background: var(--wf-white); }
.content-image figcaption { margin-top: 12px; font-size: 15px; font-weight: 650; }

.quote-card { margin: var(--space-3) 0; padding: var(--space-4); background: var(--wf-white); color: var(--wf-text); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow-x) var(--shadow-x) 0 var(--wf-accent); }
.quote-card blockquote { margin: 0; font-size: 22px; font-weight: 650; line-height: 1.4; }
.quote-card blockquote p::before { content: "“"; font-family: var(--wf-font-display); color: var(--wf-accent); margin-right: 4px; }
.quote-card figcaption { margin-top: var(--space-2); font-weight: 850; }

.stat-card { padding: var(--space-3); border: var(--line); border-radius: var(--radius); background: var(--wf-white); color: var(--wf-text); box-shadow: var(--shadow-x) var(--shadow-x) 0 var(--wf-dark); }
.stat-value { margin: 0; font-family: var(--wf-font-display); font-size: clamp(40px, 4vw, 56px); line-height: 1; color: var(--wf-secondary); }
.stat-label { margin: 8px 0 0; font-weight: 850; }
.stat-detail { margin: 4px 0 0; color: var(--wf-muted); font-size: 15px; }

.profile-card { padding: var(--space-3); border: var(--line); border-radius: var(--radius); background: var(--wf-white); color: var(--wf-text); box-shadow: var(--shadow-x) var(--shadow-x) 0 var(--wf-dark); }
.profile-photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: var(--line); margin-bottom: var(--space-2); }
.profile-name { font-size: 26px; }
.profile-role { margin: 6px 0 var(--space-2); font-weight: 850; color: var(--wf-secondary); }

.video-block { margin: var(--space-3) 0; }
.video-link { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3); min-height: 88px; border: var(--line); border-radius: var(--radius); background: var(--wf-dark); color: var(--wf-on-dark); text-decoration: none; font-weight: 850; font-size: 20px; box-shadow: var(--shadow-x) var(--shadow-x) 0 var(--wf-accent); }
.video-play { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--wf-primary); color: var(--wf-on-primary); border: var(--line); }

.contact-details { padding: var(--space-3) var(--space-4); border: var(--line); border-radius: var(--radius); background: var(--wf-white); color: var(--wf-text); box-shadow: var(--shadow-x) var(--shadow-x) 0 var(--wf-dark); }
.contact-heading { font-size: 26px; margin-bottom: var(--space-2); }
.contact-details dl { margin: 0; display: grid; gap: 14px; }
.contact-row { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: baseline; padding-bottom: 14px; border-bottom: 2px dashed var(--wf-border); }
.contact-row:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-details dt { font-weight: 850; font-size: 15px; color: var(--wf-muted); }
.contact-details dd { margin: 0; font-weight: 700; font-size: 19px; overflow-wrap: anywhere; }
.contact-details a { min-height: 44px; display: inline-flex; align-items: center; }

/* doodle fills */
.doodle { overflow: visible; }
.doodle path, .doodle circle { stroke: var(--wf-dark); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.doodle .d-p { fill: var(--wf-primary); }
.doodle .d-a { fill: var(--wf-accent); }
.doodle .d-w { fill: var(--wf-white); }
.doodle .d-k { fill: var(--wf-dark); }
.doodle .d-line { fill: none; }
.board .doodle path, .board .doodle circle { stroke: var(--wf-on-dark); }

/* ------------------------------------------------------------ heroes */
.hero { position: relative; z-index: 2; }
.hero .inner { position: relative; }
.zigzag {
  position: absolute; left: 0; right: 0; bottom: -17px; height: 18px; z-index: 3;
  background: inherit;
  -webkit-mask: conic-gradient(from -45deg at bottom, transparent, var(--mask-ink) 1deg 89deg, transparent 90deg) 50% / 28px 100%;
  mask: conic-gradient(from -45deg at bottom, transparent, var(--mask-ink) 1deg 89deg, transparent 90deg) 50% / 28px 100%;
}
.hero-home { padding: var(--space-5) 0 calc(var(--space-6) + 10px); }
.hero-home .hero-grid { overflow-x: clip; overflow-y: visible; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--space-5); align-items: center; }
.hero-title { font-size: clamp(44px, 5.9vw, 86px); line-height: 0.95; margin-bottom: var(--space-3); max-width: 13ch; }
.hero-page .hero-title { font-size: clamp(42px, 6vw, 84px); max-width: 15ch; }
.hero-eyebrow { background: var(--wf-dark); color: var(--wf-on-dark); border-color: var(--wf-dark); }
.hero-body { font-size: clamp(18px, 1.5vw, 21px); font-weight: 550; max-width: 36ch; margin-bottom: var(--space-4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.proof { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--space-4); }
.proof li { padding: 6px 14px; border: 2px solid var(--wf-dark); border-radius: var(--pill); background: color-mix(in srgb, var(--wf-white) 70%, transparent); font-weight: 800; font-size: 15px; }

.hero-art { position: relative; justify-self: center; width: min(100%, 470px); aspect-ratio: 1; }
.hero-sticker { position: absolute; inset: 6%; transform: rotate(-6deg); }
.hero-sticker img, .sticker-img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; border: var(--line); background: var(--wf-white); box-shadow: 12px 12px 0 var(--wf-dark); }
.chip { position: absolute; z-index: 2; border: var(--line); box-shadow: 4px 4px 0 var(--wf-dark); font-weight: 900; }
.chip-price {
  right: -2%; top: 2%; width: 128px; height: 128px; display: grid; place-content: center; text-align: center;
  border-radius: 50%; background: var(--wf-accent); color: var(--wf-on-accent); transform: rotate(10deg);
}
.chip-price span { font-variant-numeric: tabular-nums; font-family: var(--wf-font-display); font-size: 44px; line-height: 0.9; }
.chip-price small { font-size: 14px; line-height: 1.1; max-width: 9ch; margin: 4px auto 0; }
.chip-norfolk { left: -4%; bottom: 8%; padding: 10px 18px; border-radius: var(--pill); background: var(--wf-white); color: var(--wf-dark); font-size: 18px; transform: rotate(-8deg); }
.hero-doodle { position: absolute; z-index: 1; }
.hero-doodle .doodle { width: 100%; height: 100%; }
.hero-doodle-a { width: 92px; height: 92px; left: -6%; top: 4%; transform: rotate(-14deg); }
.hero-doodle-b { width: 88px; height: 88px; right: 0; bottom: -2%; transform: rotate(12deg); }
.hero-doodle-c { width: 64px; height: 64px; left: 44%; top: -8%; transform: rotate(8deg); }
@media (prefers-reduced-motion: no-preference) {
  .hero-sticker { animation: wobble 6s ease-in-out infinite; }
  .chip-price { animation: bob 4s ease-in-out infinite; }
  .hero-doodle-a { animation: bob 5s ease-in-out infinite reverse; }
  @keyframes wobble { 0%, 100% { rotate: 0deg; translate: 0 0; } 50% { rotate: 4deg; translate: 0 -6px; } }
  @keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
  .hero-art:hover .hero-sticker, .hero-art:hover .chip-price, .hero-art:hover .hero-doodle-a, .hero-home:focus-within .hero-sticker, .hero-home:focus-within .chip-price, .hero-home:focus-within .hero-doodle-a, .is-band:hover .band-doodle, .is-band:focus-within .band-doodle { animation-play-state: paused; }
}

.hero-page { padding: var(--space-5) 0 var(--space-6); }
.hero-page .hero-grid { grid-template-columns: minmax(0, 1fr) auto; }
.hero-page .hero-body { max-width: 46ch; }
.hero-side { width: clamp(150px, 20vw, 260px); }
.hero-side-doodle { rotate: -8deg; }
.hero-side-doodle .doodle { width: 100%; height: auto; }
.crumbs { display: flex; gap: 8px; margin-bottom: var(--space-2); font-size: 15px; font-weight: 750; }
.crumbs a { color: inherit; }
.bg-dark .crumbs a { color: var(--wf-primary); }

@media (max-width: 860px) {
  .hero-home { padding: var(--space-4) 0 var(--space-5); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .hero-art { width: min(78%, 340px); }
  .chip-price { width: 96px; height: 96px; }
  .chip-price span { font-size: 32px; }
  .chip-price small { font-size: 12px; }
  .chip-norfolk { font-size: 15px; padding: 8px 14px; }
  .hero-doodle-a { width: 64px; height: 64px; }
  .hero-doodle-b { width: 60px; height: 60px; }
  .hero-doodle-c { width: 46px; height: 46px; }
  .hero-page .hero-grid { grid-template-columns: 1fr auto; gap: var(--space-2); }
  .hero-side { width: 92px; align-self: start; }
  .hero-actions .button { flex: 1 1 auto; }
}

/* ------------------------------------------------------------ section heads and grids */
.section-head { margin-bottom: var(--space-5); display: grid; gap: 0; }
.section-head .block-heading { margin-bottom: var(--space-2); }
.section-head .block-text { margin: 0; }
.grid { display: grid; gap: var(--space-4); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* tiles: the £10 boxes as stuck-on stickers */
.is-tiles { padding-bottom: calc(var(--space-6) + 12px); }
.is-tiles .feature-card { padding: var(--space-4) var(--space-3) var(--space-3); }
.is-tiles .feature-card:nth-child(3n + 1) { rotate: -1.6deg; }
.is-tiles .feature-card:nth-child(3n + 2) { rotate: 1.2deg; translate: 0 10px; --lag: 0.2; }
.is-tiles .feature-card:nth-child(3n) { rotate: -0.6deg; --lag: 0.4; }
.is-tiles .card-eyebrow {
  position: absolute; top: -26px; right: 18px; display: grid; place-items: center;
  width: 84px; height: 84px; border-radius: 50%; border: var(--line); background: var(--wf-accent); color: var(--wf-on-accent);
  font-family: var(--wf-font-display); font-size: 28px; transform: rotate(12deg); box-shadow: 3px 3px 0 var(--wf-dark);
}
.is-tiles .card-title { font-size: clamp(26px, 2.6vw, 36px); max-width: 9ch; }
@media (prefers-reduced-motion: no-preference) {
  .is-tiles .feature-card { transition: rotate 0.25s cubic-bezier(.3, 1.6, .5, 1), scale 0.25s cubic-bezier(.3, 1.6, .5, 1); }
  .is-tiles .feature-card:hover { rotate: 0deg; scale: 1.03; }
}
@media (max-width: 640px) {
  .is-tiles .grid { gap: var(--space-5); }
  .is-tiles .feature-card:nth-child(3n + 2) { translate: 0 0; }
}

/* steps: numbered on the board */
.is-steps .feature-card .card-eyebrow { font-family: var(--wf-font-display); font-size: 64px; line-height: 0.9; color: var(--wf-accent); -webkit-text-stroke: 2px var(--wf-dark); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--wf-dark); }
.is-steps .card-doodle { position: absolute; right: 18px; top: 18px; }
.is-steps .card-doodle .doodle { width: 60px; height: 60px; }
.is-steps .grid { counter-reset: step; }
.is-steps .feature-card:nth-child(2) { --lag: 0.2; }
.is-steps .feature-card:nth-child(3) { --lag: 0.4; }
@media (min-width: 961px) { .is-steps .feature-card:nth-child(2) { margin-top: 36px; } .is-steps .feature-card:nth-child(3) { margin-top: 72px; } }

/* statement: one big sentence on paper */
.is-statement .inner { position: relative; }
.is-statement .block-heading { font-size: clamp(36px, 5.2vw, 76px); max-width: 16ch; }
.is-statement .block-text { font-size: clamp(18px, 1.5vw, 21px); }
.statement-doodle { display: block; position: absolute; right: var(--gutter); top: -8px; width: clamp(90px, 13vw, 170px); rotate: 14deg; }
.is-statement .list-block ul { display: flex; flex-wrap: wrap; gap: 12px; }
.is-statement .list-block li, .board .list-block li {
  padding: 10px 20px; border: var(--line); border-radius: var(--pill); background: var(--wf-white); color: var(--wf-dark);
  font-weight: 850; font-size: 19px; box-shadow: 3px 3px 0 var(--wf-dark);
}
.is-statement .list-block li::before, .board .list-block li::before { display: none; }
.is-statement .list-block li:nth-child(odd) { rotate: -1.5deg; }
.is-statement .list-block li:nth-child(even) { rotate: 1.5deg; background: var(--wf-primary); }
.is-statement .list-block li:nth-child(2) { --lag: 0.25; }
.is-statement .list-block li:nth-child(3) { --lag: 0.5; }
@media (max-width: 700px) { .statement-doodle { position: static; margin-bottom: var(--space-2); width: 84px; } }

/* split: heading left, text right */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); align-items: start; }
.ratio-left-small { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.ratio-left-large { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
.col > :last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .two, .ratio-left-small, .ratio-left-large { grid-template-columns: 1fr; gap: var(--space-4); }
  .stack-reverse .col-left { order: 2; }
}

/* find: the truck's whereabouts, a sticker card on the chalkboard */
.is-find .block-heading { color: inherit; }
.bg-secondary.is-find { background-image: var(--dots); background-size: 14px 14px; }
.find-card {
  position: relative; padding: var(--space-4); background: var(--wf-white); color: var(--wf-text);
  border: var(--line); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--wf-accent); transform: rotate(1deg);
}
.bg-dark .find-card a:not(.button), .bg-secondary .find-card a:not(.button) { color: var(--wf-secondary); }
.bg-dark .feature-card .card-link, .bg-secondary .feature-card .card-link { color: var(--wf-dark); }
.find-doodle { position: absolute; right: -22px; top: -40px; width: 104px; rotate: 8deg; }
.find-card .list-title { font-family: var(--wf-font-display); font-weight: 400; font-size: 26px; margin-bottom: var(--space-2); padding-right: 60px; }
.find-card .list-block li { padding-bottom: 12px; border-bottom: 2px dashed var(--wf-border); }
.find-card .block-text { margin: var(--space-2) 0 0; font-weight: 700; }

/* band: full-bleed gold call to action */
.is-band { overflow: hidden; }
.band { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-4); align-items: center; }
.band-doodle { width: clamp(84px, 10vw, 140px); }
.band-doodle .d-a { fill: var(--wf-white); }
@media (prefers-reduced-motion: no-preference) { .band-doodle { animation: spin 18s linear infinite; } @keyframes spin { to { rotate: 360deg; } } }
.band-title { font-size: clamp(30px, 3.8vw, 54px); max-width: 22ch; }
.band-body { margin: var(--space-2) 0 0; font-weight: 600; max-width: 52ch; }
.is-band .eyebrow { margin-bottom: var(--space-2); }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } .band-doodle { width: 72px; } }

/* faq: heading left, sticker accordion right */
.faq-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-5); align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-list { display: grid; gap: var(--space-2); }
.faq-item { border: var(--line); border-radius: var(--radius-sm); background: var(--wf-white); color: var(--wf-text); box-shadow: 4px 4px 0 var(--wf-dark); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); min-height: 60px; padding: 14px 20px; font-weight: 850; font-size: 19px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; position: relative; width: 30px; height: 30px; border-radius: 50%; border: var(--line); background: var(--wf-primary); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 3px; margin: -1.5px 0 0 -6px; background: var(--wf-dark); border-radius: 2px; transition: transform 0.2s ease; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-item[open] .faq-icon { background: var(--wf-accent); }
.faq-answer { padding: 0 20px 18px; }
.faq-answer p { margin: 0; }
@media (max-width: 860px) { .faq-split { grid-template-columns: 1fr; gap: var(--space-3); } .faq-head { position: static; } }

/* story */
.is-story .story-media { justify-self: center; width: min(100%, 380px); transform: rotate(4deg); }
.is-story .sticker-img { object-fit: contain; }

/* image band */
.band-image { margin: 0; }
.band-image img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-block: var(--line); }
.band-image figcaption { max-width: var(--max); margin: 12px auto 0; padding: 0 var(--gutter); font-weight: 650; }

/* contact: sky band before the footer */
.is-contact { padding: var(--space-6) 0; border-top: var(--line); }
.contact-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-5); align-items: center; }
.contact-title { font-size: clamp(36px, 5vw, 72px); margin-bottom: var(--space-2); max-width: 16ch; }
.contact-body { font-size: clamp(18px, 1.5vw, 21px); font-weight: 600; max-width: 46ch; margin-bottom: var(--space-4); }
.contact-media { width: clamp(140px, 22vw, 300px); }
.contact-doodles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.contact-doodles .doodle:first-child { transform: rotate(-12deg); }
.contact-doodles .doodle:last-child { transform: rotate(10deg) translateY(24px); }
@media (max-width: 700px) { .contact-card { grid-template-columns: 1fr; } .contact-media { width: 160px; } }

/* ------------------------------------------------------------ the menu board */
.is-board { padding: var(--space-5) 0; }
.is-board + .is-board { padding-top: var(--space-3); }
/* the menu board: the printed menu's green panel inside a thick maroon frame,
   prices on maroon seals, stuck to the paper */
.board {
  --wf-on-dark: var(--wf-on-secondary);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5) var(--space-6);
  padding: var(--space-5); border: 12px solid var(--wf-dark); border-radius: 28px;
  background-color: var(--wf-secondary); background-image: var(--chalk); background-size: 100% 100%, 100% 100%, 5px 5px;
  color: var(--wf-on-secondary); box-shadow: 10px 10px 0 var(--wf-accent), 10px 10px 0 3px var(--wf-dark);
  outline: 3px dashed color-mix(in srgb, var(--wf-on-dark) 40%, transparent); outline-offset: -26px;
}
.board :focus-visible { outline-color: var(--wf-accent); }
.board mark { color: var(--wf-dark); }
.board-panel { min-width: 0; }
.board .block-heading { font-size: clamp(30px, 3.4vw, 46px); color: var(--wf-on-dark); padding-bottom: 14px; margin-bottom: var(--space-2); background: linear-gradient(var(--wf-accent), var(--wf-accent)) left bottom / 88px 5px no-repeat; }
.board .feature-card {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "d t p" "d b s";
  gap: 4px 16px; align-items: center; padding: 18px 0; background: none; color: var(--wf-on-dark);
  border: 0; border-bottom: 2px dashed color-mix(in srgb, var(--wf-on-dark) 30%, transparent); border-radius: 0; box-shadow: none;
}
.board .card-doodle { grid-area: d; align-self: start; }
.board .card-doodle .doodle { width: 52px; height: 52px; }
.board .card-title { grid-area: t; font-size: clamp(21px, 2vw, 27px); }
.board .card-eyebrow { grid-area: p; justify-self: end; font-family: var(--wf-font-display); font-size: clamp(20px, 1.9vw, 26px); line-height: 1; padding: 10px 14px; border-radius: var(--pill); background: var(--wf-dark); color: var(--wf-light); border: 2px dashed color-mix(in srgb, var(--wf-light) 70%, transparent); outline: 3px solid var(--wf-dark); rotate: -4deg; text-align: center; max-width: 9ch; }
.board .card-body { grid-area: b; margin: 0; color: var(--wf-on-dark); opacity: 0.9; font-size: 17px; }
.board .stepper { grid-area: s; justify-self: end; }
.board .list-block { margin-top: var(--space-3); }
.board .list-title { color: var(--wf-primary); font-size: 18px; }
.board .list-block ul { display: flex; flex-wrap: wrap; gap: 10px; }
.board .list-block li { font-size: 17px; padding: 8px 16px; }
@media (max-width: 860px) {
  .board { grid-template-columns: 1fr; gap: var(--space-4); }
  .board { border-width: 8px; box-shadow: 6px 6px 0 var(--wf-accent), 6px 6px 0 3px var(--wf-dark); outline-offset: -18px; padding: var(--space-4) var(--space-3); }
  .board .feature-card { grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "d t p" "d b b" "d s s"; }
  .board .stepper { justify-self: start; margin-top: 6px; }
  .board .card-doodle .doodle { width: 44px; height: 44px; }
}

/* steppers and the order tally appear once the script runs (the board reads
   fine without them) */
.stepper { display: none; align-items: center; gap: 6px; }
.js .stepper { display: inline-flex; }
.step-btn {
  width: 44px; height: 44px; border-radius: 50%; border: var(--line); background: var(--wf-primary); color: var(--wf-on-primary);
  font: 900 24px/1 var(--wf-font-body); cursor: pointer; box-shadow: 2px 2px 0 var(--wf-accent);
}
.step-btn[data-step="-1"] { background: var(--wf-white); color: var(--wf-dark); }
.step-btn:active { transform: translate(2px, 2px); box-shadow: none; }
.step-count { min-width: 2ch; text-align: center; font-family: var(--wf-font-display); font-size: 22px; }
.feature-card.is-picked .card-title span { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--wf-accent) 55%, transparent) 0); }

.tally {
  position: fixed; z-index: 60; right: 20px; bottom: 20px; width: min(380px, calc(100vw - 40px));
  background: var(--wf-white); color: var(--wf-text); border: var(--line); border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--wf-dark);
}
.tally[hidden] { display: none; }
.tally-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 18px; border: 0; background: var(--wf-accent); color: var(--wf-on-accent); border-radius: calc(var(--radius) - 3px) calc(var(--radius) - 3px) 0 0; font: 850 18px var(--wf-font-body); cursor: pointer; min-height: 56px; }
.tally-total { font-family: var(--wf-font-display); font-size: 26px; }
.tally-body { padding: 14px 18px 18px; }
.tally.is-collapsed .tally-body { display: none; }
.tally.is-collapsed .tally-head { border-radius: calc(var(--radius) - 3px); }
.tally-lines { list-style: none; display: grid; gap: 6px; margin-bottom: 12px; max-height: 32vh; overflow: auto; }
.tally-lines li { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.tally-note { font-size: 14px; color: var(--wf-muted); margin: 0 0 12px; }
.tally-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tally-actions .button { min-height: 48px; padding: 10px 18px; font-size: 16px; }
@media (max-width: 860px) { .tally { left: 12px; right: 12px; width: auto; bottom: 88px; } }

/* ------------------------------------------------------------ forms */
.is-form .form-intro { position: relative; }
.form-doodle { display: block; width: 110px; margin-top: var(--space-3); transform: rotate(10deg) scaleY(-1); }
@media (max-width: 860px) { .form-doodle { display: none; } }
.site-form { padding: var(--space-4); background: var(--wf-white); border: var(--line); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--wf-primary), 8px 8px 0 3px var(--wf-dark); display: grid; gap: var(--space-2); }
@media (max-width: 700px) { .site-form { padding: var(--space-3) var(--space-2); } }
.form-row { display: grid; gap: var(--space-2); }
.form-row.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .form-row.two-up { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field-label { font-weight: 850; font-size: 16px; }
.optional { font-weight: 500; color: var(--wf-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: var(--line); border-radius: var(--radius-sm);
  background: var(--wf-light); color: var(--wf-text); font: 500 17px var(--wf-font-body);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { background: var(--wf-white); }
.field [aria-invalid="true"] { border-color: var(--wf-secondary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wf-secondary) 35%, transparent); }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 650; min-height: 44px; }
.check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--wf-secondary); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { font-size: 15px; color: var(--wf-muted); margin: 0; }
.site-form .button { justify-self: start; }
.form-status { margin: 0; font-weight: 750; }
.form-status:empty { display: none; }
.form-status.is-ok { padding: 14px 16px; border: var(--line); border-radius: var(--radius-sm); background: var(--wf-primary); color: var(--wf-on-primary); }
.form-status.is-error { padding: 14px 16px; border: var(--line); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--wf-accent) 30%, var(--wf-white)); color: var(--wf-dark); }

/* ------------------------------------------------------------ footer */
.site-footer { background-color: var(--wf-dark); background-image: var(--chalk); background-size: 100% 100%, 100% 100%, 5px 5px; color: var(--wf-on-dark); border-top: var(--line); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: var(--space-6) var(--gutter) var(--space-5); display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); gap: var(--space-5); }
.brand-footer { color: var(--wf-on-dark); }
.brand-footer img { width: 88px; height: 88px; box-shadow: 4px 4px 0 var(--wf-accent); }
.brand-footer .brand-name { font-size: 32px; }
.brand-footer .brand-name span { color: var(--wf-primary); }
.footer-brand p { margin: var(--space-3) 0 0; max-width: 40ch; opacity: 0.92; }
.footer-heading { font-size: 20px; color: var(--wf-accent); margin-bottom: var(--space-2); }
.footer-col ul { list-style: none; display: grid; gap: 4px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 40px; color: var(--wf-on-dark); font-weight: 700; text-decoration: none; }
.footer-col a:hover { color: var(--wf-primary); text-decoration: underline; }
.footer-col mark { font-size: 15px; }
.footer-base { max-width: var(--max); margin: 0 auto; padding: var(--space-3) var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-2); border-top: 2px dashed color-mix(in srgb, var(--wf-on-dark) 25%, transparent); font-size: 15px; }
.footer-base p { margin: 0; }
.footer-base a { color: var(--wf-on-dark); }
.wf-credit { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: color-mix(in srgb, var(--wf-on-dark) 80%, transparent) !important; text-decoration: none; font-size: 14px; }
.wf-credit:hover { color: var(--wf-on-dark) !important; }
.wf-credit img { border-radius: 4px; }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--space-4); } .footer-brand { grid-column: 1 / -1; } }

/* ------------------------------------------------------------ mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 860px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--wf-light); border-top: var(--line);
  }
  .mobile-bar .button { min-height: 52px; padding: 10px 12px; font-size: 17px; box-shadow: 3px 3px 0 var(--wf-dark); }
}

/* ------------------------------------------------------------ statement with a photo */
.statement-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--space-6); align-items: center; }
.statement-photo { position: relative; rotate: 2.5deg; }
.statement-photo .content-image { margin: 0; }
.statement-photo img {
  aspect-ratio: 4 / 3; padding: 12px; background: var(--wf-white); border: var(--line);
  border-radius: 18px; box-shadow: 12px 12px 0 var(--wf-dark);
}
/* two strips of tape holding the photo on */
.statement-photo::before, .statement-photo::after {
  content: ""; position: absolute; z-index: 2; width: 110px; height: 30px;
  background: color-mix(in srgb, var(--wf-accent) 75%, transparent); border: 2px solid var(--wf-dark);
}
.statement-photo::before { top: -14px; left: 18%; rotate: -8deg; }
.statement-photo::after { bottom: 34px; right: -26px; rotate: 32deg; }
.statement-photo figcaption {
  display: inline-block; margin: 18px 0 0 16px; padding: 6px 14px; rotate: -2deg;
  border: var(--line); border-radius: var(--pill); background: var(--wf-primary); color: var(--wf-on-primary); font-weight: 850;
}
.fx .statement-photo[data-fx] { transform: perspective(1200px) rotateY(calc((var(--p) - 0.5) * -26deg)) rotateX(calc((var(--p) - 0.5) * 10deg)) translateY(calc((var(--p) - 0.5) * -40px)); }
@media (max-width: 860px) {
  .statement-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .statement-photo { rotate: 1.5deg; margin-right: 12px; }
  .statement-photo img { padding: 8px; box-shadow: 8px 8px 0 var(--wf-dark); }
  .statement-photo::after { right: -10px; }
}

/* ------------------------------------------------------------ floating follow links */
.social-rail { position: fixed; z-index: 45; right: 16px; top: 50%; translate: 0 -50%; }
.social-rail ul { list-style: none; display: grid; gap: 12px; }
.social-btn {
  position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: var(--line); background: var(--wf-white); color: var(--wf-dark); box-shadow: 4px 4px 0 var(--wf-dark);
  transition: transform 0.2s cubic-bezier(.3, 1.6, .5, 1), box-shadow 0.2s ease;
}
.social-rail li:nth-child(1) .social-btn { background: var(--wf-primary); rotate: -6deg; }
.social-rail li:nth-child(2) .social-btn { background: var(--wf-accent); rotate: 5deg; }
.social-rail li:nth-child(3) .social-btn { background: var(--wf-white); rotate: -3deg; }
.social-btn svg { width: 26px; height: 26px; }
.social-btn .i-fill, .social-toggle .i-fill { fill: var(--wf-dark); }
.social-btn .i-line, .social-toggle .i-line { fill: none; stroke: var(--wf-dark); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.social-btn:hover { transform: scale(1.12) rotate(8deg); box-shadow: 6px 6px 0 var(--wf-dark); }
.social-btn:focus-visible { transform: scale(1.12) rotate(8deg); }
.social-label {
  position: absolute; right: calc(100% + 12px); top: 50%; translate: 8px -50%; opacity: 0; pointer-events: none;
  padding: 6px 12px; border: var(--line); border-radius: var(--pill); background: var(--wf-dark); color: var(--wf-on-dark);
  font-weight: 850; font-size: 15px; white-space: nowrap; transition: opacity 0.2s ease, translate 0.2s ease;
}
.social-btn:hover .social-label, .social-btn:focus-visible .social-label { opacity: 1; translate: 0 -50%; }
.social-toggle { display: none; }
@media (max-width: 860px) {
  .social-rail { right: 10px; top: auto; bottom: 150px; translate: none; display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 10px; }
  .social-toggle {
    display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; rotate: -6deg;
    border: var(--line); border-radius: 50%; background: var(--wf-accent); color: var(--wf-on-accent);
    box-shadow: 3px 3px 0 var(--wf-dark); font: 850 15px var(--wf-font-body); cursor: pointer;
  }
  .social-toggle-icon svg { width: 24px; height: 24px; }
  .social-toggle-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .social-rail.is-open .social-toggle { background: var(--wf-white); }
  .social-btn { width: 48px; height: 48px; }
  .js .social-rail:not(.is-open) ul { display: none; }
  .social-label { display: none; }
}
@media (max-width: 860px) { body.page-contact .social-rail, body.page-catering .social-rail { bottom: 24px; } }

/* ------------------------------------------------------------ menu tape ribbons */
.ribbons { position: relative; z-index: 4; height: 0; }
.ribbon {
  position: absolute; left: -10vw; width: 120vw; overflow: hidden; padding: 12px 0;
  border-block: var(--line); box-shadow: 0 6px 0 var(--wf-dark);
  font-family: var(--wf-font-display); font-size: clamp(20px, 2.2vw, 30px); line-height: 1.1; white-space: nowrap;
}
.ribbon { top: -30px; background: var(--wf-accent); color: var(--wf-dark); transform: rotate(-1.8deg); }
.ribbon-track { display: flex; gap: 22px; width: max-content; will-change: transform; }
.ribbon-star { color: var(--wf-white); -webkit-text-stroke: 1.5px var(--wf-dark); }
.ribbons + .section { padding-top: calc(var(--space-6) + 36px); }
@media (max-width: 700px) { .ribbon { top: -24px; } .ribbons + .section { padding-top: calc(var(--space-5) + 32px); } }

/* ------------------------------------------------------------ B.L.C Fashion and community sections */
.section-tail { margin-top: var(--space-4); }
.section-tail .button-row { margin-top: 0; }

/* the hero's fashion sticker: a real link to the fashion page */
.chip-fashion {
  right: 4%; bottom: 20%; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 18px 8px 10px;
  border-radius: var(--pill); background: var(--wf-dark); color: var(--wf-on-dark); font-size: 17px; text-decoration: none; transform: rotate(6deg);
}
.chip-fashion-doodle { width: 34px; height: 34px; display: block; }
.chip-fashion-doodle .doodle { width: 100%; height: 100%; }
.chip-fashion:hover { text-decoration: underline; }
.chip-fashion:focus-visible { outline-color: var(--wf-dark); }
@media (max-width: 860px) { .chip-fashion { right: -2%; bottom: 26%; font-size: 15px; min-height: 44px; } }

/* doors: two big die-cut stickers, sky then chalkboard */
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.door { position: relative; }
.door .feature-card { height: 100%; padding: var(--space-5) var(--space-4) var(--space-4); border-radius: calc(var(--radius) + 8px); gap: 14px; }
.door-a .feature-card { background-color: var(--wf-primary); background-image: var(--dots); background-size: 14px 14px; color: var(--wf-on-primary); rotate: -1.2deg; }
.door-b .feature-card { background-color: var(--wf-dark); background-image: var(--chalk); background-size: 100% 100%, 100% 100%, 5px 5px; color: var(--wf-on-dark); box-shadow: var(--shadow-x) var(--shadow-x) 0 var(--wf-accent); rotate: 1deg; translate: 0 18px; }
.door-a .card-body { color: var(--wf-on-primary); }
.door-b .card-body { color: var(--wf-on-dark); }
.door .card-title { font-size: clamp(32px, 3.6vw, 52px); max-width: 12ch; }
.door-b .accent { color: var(--wf-primary); -webkit-text-stroke: 0; text-shadow: none; }
.door .card-eyebrow { align-self: flex-start; padding: 6px 14px; border: var(--line); border-radius: var(--pill); background: var(--wf-white); color: var(--wf-dark); font-size: 15px; transform: rotate(-2deg); }
.door-b .card-eyebrow { background: var(--wf-accent); color: var(--wf-on-accent); }
.door .card-body { font-size: 18px; max-width: 40ch; }
.door .card-link { align-self: flex-start; min-height: 52px; padding: 10px 22px; border: var(--line); border-radius: var(--pill); background: var(--wf-white); color: var(--wf-dark); box-shadow: 4px 4px 0 var(--wf-dark); }
.door-b .card-link { box-shadow: 4px 4px 0 var(--wf-accent); }
.door .card-link span:first-child { text-decoration: none; }
.door-doodle { position: absolute; z-index: 1; width: 92px; pointer-events: none; }
.door-doodle .doodle { width: 100%; height: auto; }
.door-doodle-1 { right: 18px; top: -34px; rotate: 12deg; }
.door-doodle-2 { right: 92px; top: -18px; width: 64px; rotate: -14deg; }
.bg-light .door-a .feature-card, .bg-white .door-a .feature-card { box-shadow: var(--shadow-x) var(--shadow-x) 0 var(--wf-dark); }
@media (prefers-reduced-motion: no-preference) {
  .door .feature-card { transition: rotate 0.25s cubic-bezier(.3, 1.6, .5, 1), scale 0.25s cubic-bezier(.3, 1.6, .5, 1); }
  .door:hover .feature-card, .door:focus-within .feature-card { rotate: 0deg; scale: 1.02; }
}
@media (max-width: 760px) {
  .doors { grid-template-columns: 1fr; gap: var(--space-6); }
  .door-b .feature-card { translate: 0 0; }
  .door .feature-card { padding: var(--space-5) var(--space-3) var(--space-3); }
  .door-doodle-1 { width: 72px; }
  .door-doodle-2 { width: 52px; right: 80px; }
}

/* giving tiles: no price sticker, the doodle carries the card */
.is-tiles .feature-card:not(:has(.card-eyebrow)) .card-doodle { position: absolute; right: 14px; top: -30px; rotate: 10deg; }
.is-tiles .feature-card:not(:has(.card-eyebrow)) .card-doodle .doodle { width: 70px; height: 70px; }
.is-tiles .feature-card:not(:has(.card-eyebrow)) .card-title { max-width: 13ch; padding-right: 40px; }
.is-tiles .grid:has(> :nth-child(4)) { row-gap: var(--space-6); }

/* washing line: listings as polaroids pegged on a sagging rope */
.lines { display: grid; gap: clamp(28px, 4vw, 48px); }
.line-row { position: relative; list-style: none; margin: 0; padding: 0 0 18px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.line-row::before { content: ""; position: absolute; left: -2%; right: -2%; top: 10px; height: 34px; border-bottom: 4px solid var(--wf-dark); border-radius: 0 0 50% 50% / 0 0 34px 34px; pointer-events: none; }
.peg-card { position: relative; display: flex; flex-direction: column; align-items: center; rotate: var(--tilt, 0deg); transform-origin: 50% 0; margin-top: 12px; }
.peg-card:nth-child(2), .peg-card:nth-child(4) { margin-top: 23px; }
.peg-card:nth-child(3) { margin-top: 26px; }
.peg { position: relative; z-index: 1; width: 16px; height: 36px; margin-bottom: -18px; background: var(--wf-accent); border: 3px solid var(--wf-dark); border-radius: 4px; box-shadow: 2px 2px 0 var(--wf-dark); }
.peg::after { content: ""; position: absolute; left: 50%; top: 12px; width: 2px; height: 18px; margin-left: -1px; background: var(--wf-dark); }
.peg-card:nth-child(even) .peg { background: var(--wf-primary); }
.polaroid { margin: 0; width: 100%; padding: 10px 10px 14px; background: var(--wf-white); color: var(--wf-text); border: var(--line); border-radius: 8px; box-shadow: var(--shadow-x) var(--shadow-x) 0 var(--wf-dark); }
.polaroid-photo { aspect-ratio: 220 / 282; overflow: hidden; border: 2px solid var(--wf-dark); border-radius: 4px; background: var(--wf-light); }
.polaroid-photo img { width: 100%; height: 100%; object-fit: cover; }
.polaroid figcaption { display: grid; gap: 2px; padding-top: 10px; }
.polaroid-brand { font: 400 20px/1.05 var(--wf-font-display); }
.polaroid-what { font-size: 15px; color: var(--wf-muted); line-height: 1.3; }
.polaroid-size { justify-self: start; margin-top: 6px; padding: 3px 10px; font-size: 13px; font-weight: 850; background: var(--wf-primary); color: var(--wf-on-primary); border: 2px solid var(--wf-dark); border-radius: var(--pill); }
.line-hint { display: none; margin: -12px 0 18px; font-weight: 850; font-size: 15px; color: var(--wf-muted); }
@media (max-width: 960px) {
  .line-hint { display: block; }
  .line-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 22px; scrollbar-width: thin; }
  .line-row::before { left: 0; right: auto; width: calc(5 * 214px + 2 * var(--gutter)); }
  .peg-card { flex: 0 0 190px; scroll-snap-align: start; }
}
@media (prefers-reduced-motion: no-preference) {
  .peg-card { animation: line-sway 3.4s ease-in-out infinite alternate; animation-delay: calc(var(--n) * -0.45s); }
  .peg-card:hover, .peg-card:focus-within { animation-play-state: paused; }
  @keyframes line-sway { from { rotate: calc(var(--tilt, 0deg) - 2deg); } to { rotate: calc(var(--tilt, 0deg) + 2deg); } }
}

/* stats: big numbers on round stickers, on the chalkboard */
.stats-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.stat-wrap:nth-child(odd) { rotate: -2deg; }
.stat-wrap:nth-child(even) { rotate: 2deg; translate: 0 14px; }
.stat-wrap:nth-child(2) { --lag: 0.15; }
.stat-wrap:nth-child(3) { --lag: 0.3; }
.stat-wrap:nth-child(4) { --lag: 0.45; }
.is-stats .stat-card { height: 100%; padding: var(--space-4) var(--space-3); text-align: center; border-radius: var(--radius); box-shadow: var(--shadow-x) var(--shadow-x) 0 var(--wf-accent); }
.is-stats .stat-wrap:nth-child(4n + 2) .stat-card { background: var(--wf-primary); color: var(--wf-on-primary); }
.is-stats .stat-wrap:nth-child(4n + 4) .stat-card { background: var(--wf-accent); color: var(--wf-on-accent); box-shadow: var(--shadow-x) var(--shadow-x) 0 var(--wf-white); }
.is-stats .stat-value { font-size: clamp(52px, 5.6vw, 84px); color: var(--wf-dark); font-variant-numeric: tabular-nums; }
.is-stats .stat-label { font-size: 18px; color: inherit; }
.is-stats .stat-detail { color: inherit; opacity: 0.85; }
@media (max-width: 960px) { .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .stats-row { gap: var(--space-3); } .is-stats .stat-card { padding: var(--space-3) var(--space-2); } .is-stats .stat-label { font-size: 16px; } }

/* timeline: Ben's road, stops along a dashed line */
.timeline { list-style: none; position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--space-3); padding-top: 76px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 32px; border-top: 6px dashed var(--wf-dark); }
.stop { position: relative; }
.stop:nth-child(2) { --lag: 0.12; } .stop:nth-child(3) { --lag: 0.24; } .stop:nth-child(4) { --lag: 0.36; } .stop:nth-child(5) { --lag: 0.48; }
.stop-dot { position: absolute; left: 50%; top: -76px; width: 64px; height: 64px; margin-left: -32px; padding: 8px; border: var(--line); border-radius: 50%; background: var(--wf-white); box-shadow: 3px 3px 0 var(--wf-dark); }
.stop:nth-child(odd) .stop-dot { background: var(--wf-primary); }
.stop-dot .doodle { width: 100%; height: 100%; }
.stop .feature-card { height: 100%; padding: var(--space-3) 18px; }
.stop .card-eyebrow { align-self: flex-start; padding: 3px 12px; border: 2px solid var(--wf-dark); border-radius: var(--pill); background: var(--wf-accent); color: var(--wf-on-accent); font-size: 14px; }
.stop .card-title { font-size: clamp(21px, 1.8vw, 26px); }
.stop .card-body { font-size: 16px; }
@media (max-width: 1060px) {
  .timeline { grid-auto-flow: row; grid-template-columns: 1fr; gap: var(--space-3); padding: 0 0 0 84px; }
  .timeline::before { left: 30px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 6px dashed var(--wf-dark); }
  .stop-dot { left: -84px; top: 8px; margin-left: 0; }
}
@media (max-width: 420px) {
  .timeline { padding-left: 64px; }
  .timeline::before { left: 22px; }
  .stop-dot { left: -64px; width: 50px; height: 50px; padding: 6px; }
}
.fx .stop[data-fx] { --ee: clamp(0, calc(var(--e) * 1.5 - var(--lag, 0)), 1); transform: translateY(calc((1 - var(--ee)) * 60px)) rotate(calc((1 - var(--ee)) * -6deg)); }
.fx .stat-wrap[data-fx] { --ee: clamp(0, calc(var(--e) * 1.5 - var(--lag, 0)), 1); transform: perspective(900px) rotateY(calc((1 - var(--ee)) * 90deg)) scale(calc(0.7 + var(--ee) * 0.3)); }
.fx .door[data-fx] { transform: perspective(1200px) rotateX(calc((var(--p) - 0.5) * -8deg)); }

/* ------------------------------------------------------------ scroll-driven 3D
   site.js adds .fx (only when motion is welcome) and sets, per [data-fx]:
   --e entering 0 → 1, --p passing through 0 → 1, --o scrolled out 0 → 1.
   Without the script every element rests where it is drawn. */
[data-fx] { --e: 1; --p: 0.5; --o: 0; }
.fx .hero-art { transform-style: preserve-3d; transform: perspective(1100px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: transform 0.3s ease-out; }
.fx .hero-sticker { transform: rotate(-6deg) rotateY(calc(var(--o) * -80deg)) scale(calc(1 - var(--o) * 0.15)); }
.fx .chip-price { transform: translateZ(90px) rotate(calc(10deg + var(--o) * 40deg)) translateY(calc(var(--o) * -90px)); }
.fx .chip-norfolk { transform: translateZ(70px) rotate(-8deg) translateX(calc(var(--o) * -80px)); }
.fx .hero-doodle-a { transform: translateZ(120px) rotate(calc(-14deg - var(--o) * 120deg)) translateY(calc(var(--o) * -60px)); }
.fx .hero-doodle-b { transform: translateZ(100px) rotate(calc(12deg + var(--o) * 160deg)); }
.fx .hero-doodle-c { transform: translateZ(140px) rotate(calc(8deg + var(--o) * 220deg)) translateY(calc(var(--o) * -120px)); }
.fx .hero-home .hero-copy { transform: translateY(calc(var(--o) * 60px)); }


.fx .feature-card[data-fx] {
  --ee: clamp(0, calc(var(--e) * 1.5 - var(--lag, 0)), 1);
  transform-origin: 50% 100%;
  transform: perspective(1000px) translateY(calc((1 - var(--ee)) * 110px)) rotateX(calc((1 - var(--ee)) * 70deg));
}
.fx h2[data-fx] { transform: translateX(calc((1 - var(--e)) * -70px)) skewX(calc((1 - var(--e)) * -12deg)); }
.fx .is-statement[data-fx] .list-block li {
  --ee: clamp(0, calc(var(--e) * 1.6 - var(--lag, 0)), 1);
  transform: translateY(calc((1 - var(--ee)) * -70px)) scale(calc(1 + (1 - var(--ee)) * 0.6));
}
.fx .board[data-fx] { transform: perspective(1600px) rotateX(calc((var(--p) - 0.5) * -10deg)); }
.fx .statement-doodle[data-fx] { transform: translateY(calc((var(--p) - 0.5) * -90px)) rotate(calc(var(--p) * 160deg)); }
.fx .find-doodle[data-fx] { transform: translateX(calc((1 - var(--e)) * 220px)) rotate(calc((1 - var(--e)) * -12deg)); }
.fx .contact-doodles[data-fx] { transform: perspective(800px) rotateY(calc((var(--p) - 0.5) * 70deg)) translateY(calc((var(--p) - 0.5) * -50px)); }
.fx .hero-side-doodle[data-fx] { transform: perspective(800px) rotateY(calc(var(--o) * 200deg)) translateY(calc(var(--o) * 50px)); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------ module kits (dormant) */
.kit-choice { cursor: pointer; }
.kit-choice input { position: absolute; opacity: 0; }
.kit-choice.is-picked, .kit-choice:has(input:checked) { box-shadow: var(--shadow-x) var(--shadow-x) 0 var(--wf-accent), var(--shadow-x) var(--shadow-x) 0 3px var(--wf-dark); background: color-mix(in srgb, var(--wf-primary) 35%, var(--wf-white)); }
.kit-week { display: flex; align-items: center; gap: 12px; }
.kit-days { display: grid; grid-template-columns: repeat(7, minmax(64px, 1fr)); gap: 8px; overflow-x: auto; flex: 1; padding: 4px; }
.kit-day, .kit-time { min-height: 56px; border: var(--line); border-radius: var(--radius-sm); background: var(--wf-white); color: var(--wf-dark); font: 700 15px var(--wf-font-body); cursor: pointer; display: grid; place-items: center; }
.kit-day span { font-size: 13px; font-weight: 600; color: var(--wf-muted); }
.kit-day:disabled { opacity: 0.45; cursor: not-allowed; }
.kit-day.is-picked, .kit-time.is-picked { background: var(--wf-primary); box-shadow: 3px 3px 0 var(--wf-dark); }
.kit-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 16px; }
.kit-photo { aspect-ratio: 4 / 3; border: var(--line); border-radius: var(--radius-sm); background-color: var(--wf-primary); background-image: var(--dots); background-size: 14px 14px; }

/* ------------------------------------------------------------ printed-menu cohesion */
/* Maroon display headings on the paper grounds, as on the printed menu. */
.bg-light h1, .bg-light h2, .bg-white h1, .bg-white h2, .bg-soft h2 { color: var(--wf-dark); }
.bg-light .accent, .bg-white .accent { color: var(--wf-white); }
/* The checkered edge along the top of the header and the footer. */
.site-header::before, .site-footer::before { content: ""; display: block; height: 14px; background: var(--checker); }
.site-footer::before { border-bottom: var(--line); }
/* The printed menu: a portrait poster, shown whole and large. */
#statement-printed .statement-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
#statement-printed .statement-photo img { aspect-ratio: auto; height: auto; object-fit: contain; }
