/* riverdaleyeg.ca
   One frame (header, footer, landing, shared pages) and a theme per brand.
   Colours, type and rules come from the design systems in Riverdale / Management / 01 Brand:
   Dogpatch Brand Guide v1.0, bread + butter Brand Guide v1.0, Little Brick Design System. */

/* ====================================================================
   1. Theme tokens
   ==================================================================== */
.theme-frame, .theme-landing {
  --bg: #f4f1ea; --fg: #1b1a17; --muted: #5f5950; --accent: #2f5d50; --on-accent: #f4f1ea;
  --surface: #ebe5d8; --card: #faf8f3; --rule: rgba(27,26,23,.14); --rule-strong: rgba(27,26,23,.3);
  --f-display: "Lora", Georgia, serif; --f-body: "Jost", system-ui, sans-serif; --f-data: "Jost", system-ui, sans-serif;
  --h-transform: none; --h-weight: 500; --h-track: -0.01em; --radius: 2px;
  --body-size: 17px; --body-lh: 1.65;
}
.theme-dogpatch {
  --bg: #14171b; --fg: #f4f1ea; --muted: #b9b3a6; --accent: #e0a128; --on-accent: #14171b;
  --surface: #1c2026; --card: #1c2026; --rule: rgba(244,241,234,.14); --rule-strong: rgba(244,241,234,.35);
  --oak: #c9a06b; --marquee: #f6d2be; --chalk: #f4f1ea; --ink: #14171b;
  --f-display: "Oswald", "Arial Narrow", sans-serif; --f-body: "Lora", Georgia, serif; --f-data: "Space Mono", ui-monospace, monospace;
  --h-transform: uppercase; --h-weight: 300; --h-track: 0.01em; --radius: 0;
  --body-size: 18px; --body-lh: 1.75;
}
.theme-bb {
  --bg: #f7f5f1; --fg: #111111; --muted: #4f4b46; --accent: #b2452c; --on-accent: #f7f5f1;
  --surface: #f0dcb4; --card: #ffffff; --rule: rgba(17,17,17,.12); --rule-strong: rgba(17,17,17,.3);
  --maple: #c98f4e; --butter: #f0dcb4;
  --f-display: "Poppins", system-ui, sans-serif; --f-body: "Work Sans", system-ui, sans-serif; --f-data: "IBM Plex Mono", ui-monospace, monospace;
  --h-transform: none; --h-weight: 300; --h-track: -0.025em; --radius: 0;
  --body-size: 17px; --body-lh: 1.65;
}
.theme-lb {
  --bg: #f4efe6; --fg: #241f1b; --muted: #5a514a; --accent: #c4262e; --on-accent: #f9f6f0;
  --surface: #e7dcc8; --card: #f9f6f0; --rule: rgba(36,31,27,.14); --rule-strong: rgba(36,31,27,.3);
  --oat: #e7dcc8; --paper-light: #f9f6f0; --yard: #4e5b45;
  --f-display: "Petrona", Georgia, serif; --f-body: "Archivo", system-ui, sans-serif; --f-data: "Archivo Narrow", "Archivo", sans-serif;
  --h-transform: none; --h-weight: 400; --h-track: -0.01em; --radius: 0;
  --body-size: 16px; --body-lh: 1.6;
}

/* ====================================================================
   2. Base
   ==================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 var(--body-size)/var(--body-lh) var(--f-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s cubic-bezier(.2,.6,.3,1); }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: var(--h-weight); text-transform: var(--h-transform);
  letter-spacing: var(--h-track); line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; max-width: 66ch; }
ul, ol { padding-left: 1.2em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.lede { font-size: 1.2rem; color: var(--muted); }
.small { font-size: .88rem; color: var(--muted); margin: .4em 0 0; }
.eyebrow, .label { font: 700 .7rem/1.4 var(--f-body); letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin: 0 0 .9em; }
.actions { margin-top: 1.4em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--fg); color: var(--bg); padding: 8px 12px; z-index: 20; }
section { margin-block: clamp(56px, 8vw, 104px); }
.hidden-hours { display: none; }
.today-line.filled { font-weight: 500; }

/* ====================================================================
   3. Buttons
   ==================================================================== */
.btn { display: inline-block; padding: .8em 1.4em; margin: 0 .5em .6em 0; background: var(--accent); color: var(--on-accent);
  border: 1px solid var(--accent); border-radius: var(--radius); text-decoration: none; font: 500 .9rem/1.2 var(--f-body);
  cursor: pointer; transition: background-color .15s cubic-bezier(.2,.6,.3,1), color .15s cubic-bezier(.2,.6,.3,1), border-color .15s; }
.btn:hover { color: var(--on-accent); filter: brightness(.88); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--rule-strong); }
.btn-ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); filter: none; }
.btn-s { padding: .55em 1em; font-size: .8rem; margin: 0; }
.theme-dogpatch .btn { font-family: "Oswald", sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .1em; font-size: .95rem; }
.theme-bb .btn { font-family: "Poppins", sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; background: var(--fg); border-color: var(--fg); color: var(--bg); }
.theme-bb .btn:hover { filter: none; background: #333; border-color: #333; color: var(--bg); }
.theme-bb .btn-ghost { background: transparent; color: var(--fg); border-color: var(--rule-strong); }
.theme-bb .btn-ghost:hover { background: var(--fg); color: var(--bg); }
.theme-lb .btn { font-weight: 700; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; }
.theme-lb .btn:hover { filter: none; background: #8f1b21; border-color: #8f1b21; }
.theme-lb .btn-ghost { background: transparent; color: var(--fg); }
.theme-lb .btn-ghost:hover { background: var(--fg); color: var(--bg); }

/* ====================================================================
   4. Headers
   ==================================================================== */
.hdr { background: var(--bg); border-bottom: 1px solid var(--rule); position: relative; z-index: 10; }
.hdr-group { position: sticky; top: 0; }
.hdr-in { max-width: 1200px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; }
.hdr ul { list-style: none; margin: 0; padding: 0; }
.hdr-nav { display: none; align-items: center; gap: 28px; }
.hdr-nav ul { display: flex; gap: 24px; align-items: center; }
.hdr-nav a { text-decoration: none; font: 500 .88rem/1 "Jost", sans-serif; letter-spacing: .06em; }
.hdr-nav a[aria-current="page"] { color: var(--accent); }
.hdr-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 500 1rem "Jost", sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.hdr-brand img { width: 40px; height: 40px; }
.nav-brands { padding-right: 24px; border-right: 1px solid var(--rule); }
.hdr-menu summary { list-style: none; cursor: pointer; font: 500 .8rem "Jost", sans-serif; letter-spacing: .14em; text-transform: uppercase; padding: 10px 14px; border: 1px solid var(--rule-strong); }
.hdr-menu summary::-webkit-details-marker { display: none; }
.hdr-menu[open] summary { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.hdr-menu nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--rule); padding: 8px 20px 20px; }
.hdr-menu nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font: 500 1.05rem "Jost", sans-serif; }
.hdr-menu nav .btn { margin-top: 16px; }
@media (min-width: 960px) { .hdr-menu { display: none; } .hdr-nav { display: flex; } }

/* brand header */
.hdr-up { margin: 0; padding: 6px 20px; font: 500 .68rem/1.4 "Jost", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--rule); }
.hdr-up a { text-decoration: none; }
.hdr-up span { margin: 0 .4em; opacity: .5; }
.hdr-logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo-wide { display: none; width: 280px; height: auto; }
.logo-mark { font: 600 1.3rem/1 "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; }
@media (min-width: 960px) { .logo-wide { display: block; } .logo-mark { display: none; } }
.logo-word { font: 500 1.25rem/1 "Poppins", sans-serif; letter-spacing: .01em; }
.theme-lb .hdr-logo img { width: 96px; height: auto; }
.theme-lb .hdr-in { min-height: 100px; }
.theme-dogpatch .hdr-nav a { font-family: "Oswald", sans-serif; font-weight: 400; font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; }
.theme-dogpatch .hdr-menu nav li a { font-family: "Oswald", sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .1em; }
.theme-bb .hdr-nav a, .theme-bb .hdr-menu nav li a, .theme-bb .hdr-menu summary { font-family: "Poppins", sans-serif; font-weight: 500; font-size: .74rem; text-transform: uppercase; letter-spacing: .22em; }
.theme-lb .hdr-nav a, .theme-lb .hdr-menu nav li a, .theme-lb .hdr-menu summary { font-family: "Archivo", sans-serif; font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; }

/* ====================================================================
   5. Footer
   ==================================================================== */
.ftr { background: #1b1a17; color: #e6e0d3; padding: 64px 0 28px; margin-top: 96px; font: 400 .95rem/1.65 "Jost", sans-serif; }
.theme-dogpatch .ftr { border-top: 1px solid var(--rule); }
.ftr h2 { font: 500 .74rem/1.3 "Jost", sans-serif; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 .9em; color: #f4f1ea; }
.ftr h2 a { text-decoration: none; }
.ftr a:hover { color: #e0c48a; }
.ftr address { font-style: normal; margin-bottom: .9em; }
.f-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .f-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .f-grid { grid-template-columns: repeat(4, 1fr); } }
.ftr .small { color: #b1aa9c; }
.ftr .hours-row { border-color: rgba(230,224,211,.14); }
.ftr .hours-row.today { color: #e0c48a; }
.f-base { border-top: 1px solid rgba(230,224,211,.16); margin-top: 48px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: #b1aa9c; font-size: .85rem; }
.f-base p { margin: 0; }
.f-base a { text-decoration: none; }

/* ====================================================================
   6. Hours and address
   ==================================================================== */
.hours { margin: 0; max-width: 380px; }
.hours-row { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--rule); padding: 7px 0; }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; font-family: var(--f-data); white-space: nowrap; }
.hours-row.today { color: var(--accent); font-weight: 600; }
.theme-dogpatch .hours dd { font-size: .9rem; }
address { font-style: normal; line-height: 1.7; }

/* ====================================================================
   7. Landing page
   ==================================================================== */
/* The hero is the river valley intro: text above, drawn scene anchored to the bottom (section 14 animates it) */
.hero { --k: 1; position: relative; overflow: hidden; margin: 0; background: var(--bg); min-height: min(86vh, 880px); min-height: min(86svh, 880px); display: flex; flex-direction: column; justify-content: space-between; }
.intro-seen .hero { --k: .3; }
.hero-text { position: relative; z-index: 1; padding-top: clamp(40px, 6vw, 84px); padding-bottom: 24px; }
.hero h1 { max-width: 19ch; font-size: clamp(2.1rem, 4.4vw, 3.8rem); margin-bottom: .55em; }
.hero-sub { font-size: 1.1rem; color: var(--muted); max-width: 48ch; }
.hero-cue { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font: 500 .72rem/1 "Jost", sans-serif; letter-spacing: .22em; text-transform: uppercase; margin-top: 8px; }
.hero-cue::after { content: ""; display: block; width: 36px; height: 1px; background: currentColor; transition: width .25s cubic-bezier(.2,.6,.3,1); }
.hero-cue:hover::after { width: 56px; }
.hero-replay { all: unset; cursor: pointer; display: inline-flex; align-items: center; margin: 8px 0 0 28px; padding-bottom: 3px; font: 500 .72rem/1 "Jost", sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid currentColor; transition: color .15s cubic-bezier(.2,.6,.3,1); }
.hero-replay:hover { color: var(--fg); }
.hero-replay:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.hero-replay[hidden] { display: none !important; }
/* The scene takes whatever height is left under the text, never less than about 28vw, so the street
   and the elm always fit and the sky is what gets cropped on short, wide screens. */
.hero-scene { position: relative; flex: 1 1 auto; min-height: clamp(300px, 28vw, 620px); margin-bottom: -1px; pointer-events: none; will-change: transform; }
.hero-scene svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
@media (max-width: 899px) { .hero { min-height: min(90vh, 780px); min-height: min(90svh, 780px); } }
.panels { display: grid; grid-template-columns: 1fr; gap: 0; margin: clamp(40px, 6vw, 88px) 0 0; }
@media (min-width: 900px) { .panels { grid-template-columns: repeat(3, 1fr); } }
.panel { display: flex; flex-direction: column; }
.panel-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.panel-body { flex: 1; display: flex; flex-direction: column; padding: 32px 28px 28px; }
.panel-kind { font: 700 .68rem/1.4 var(--f-body); letter-spacing: .24em; text-transform: uppercase; margin: 0 0 18px; opacity: .75; }
.panel-logo { display: block; margin-bottom: 20px; text-decoration: none; }
.panel-logo img { width: auto; max-width: 100%; }
.panel-blurb { font-size: 1.05rem; max-width: 34ch; }
.panel .today-line { font-size: .92rem; opacity: .85; margin-bottom: 1.6em; }
.panel-links { margin-top: auto; margin-bottom: 0; }
.panel-dogpatch .panel-body { background: #14171b; color: #f4f1ea; font-family: "Lora", serif; }
.panel-dogpatch .panel-kind { font-family: "Oswald", sans-serif; font-weight: 400; letter-spacing: .18em; color: #e0a128; opacity: 1; }
.panel-dogpatch .panel-logo img { height: 56px; }
.panel-dogpatch .btn { background: #e0a128; border-color: #e0a128; color: #14171b; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .1em; }
.panel-dogpatch .btn-ghost { background: transparent; color: #f4f1ea; border-color: rgba(244,241,234,.4); }
.panel-dogpatch .btn-ghost:hover { background: #f4f1ea; color: #14171b; }
.panel-bread-and-butter .panel-body { background: #f0dcb4; color: #111; font-family: "Work Sans", sans-serif; }
.panel-bread-and-butter .panel-kind { font-family: "Poppins", sans-serif; font-weight: 500; letter-spacing: .28em; color: #111; }
.panel-bread-and-butter .panel-logo img { height: 92px; }
.panel-bread-and-butter .btn { background: #111; border-color: #111; color: #f7f5f1; font-family: "Poppins", sans-serif; text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; }
.panel-bread-and-butter .btn-ghost { background: transparent; color: #111; border-color: rgba(17,17,17,.35); }
.panel-bread-and-butter .btn-ghost:hover { background: #111; color: #f7f5f1; }
.panel-little-brick .panel-body { background: #f9f6f0; color: #241f1b; font-family: "Archivo", sans-serif; border-top: 2px solid #c4262e; }
.panel-little-brick .panel-kind { font-family: "Archivo", sans-serif; color: #c4262e; opacity: 1; }
.panel-little-brick .panel-logo img { height: 96px; }
.panel-little-brick .btn { background: #c4262e; border-color: #c4262e; color: #f9f6f0; font-weight: 700; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; }
.panel-little-brick .btn:hover { background: #8f1b21; border-color: #8f1b21; filter: none; }
.panel-little-brick .btn-ghost { background: transparent; color: #241f1b; border-color: rgba(36,31,27,.3); }
.panel-little-brick .btn-ghost:hover { background: #241f1b; color: #f9f6f0; }
.more { display: grid; gap: 24px; grid-template-columns: 1fr; margin-top: clamp(56px, 8vw, 96px); }
@media (min-width: 800px) { .more { grid-template-columns: repeat(3, 1fr); } }
.more a { display: block; text-decoration: none; padding: 24px 0; border-top: 2px solid var(--fg); }
.more a:hover { color: var(--fg); border-color: var(--accent); }
.more a .eyebrow { display: block; margin-bottom: .6em; }
.more strong { display: block; font: 500 1.15rem/1.4 "Lora", serif; max-width: 30ch; }

/* ====================================================================
   8. Shared blocks
   ==================================================================== */
.gallery { display: grid; gap: 6px; grid-template-columns: repeat(2, 1fr); margin-inline: 6px; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.visit { border-top: 2px solid var(--accent); padding-top: 40px; }
.visit-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .visit-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.visit h2 { font-size: 1.1rem; margin-bottom: .8em; }
.visit .today-line { color: var(--accent); margin-bottom: .6em; }
.visit .today-line:empty { display: none; }
.page-head { margin-top: clamp(48px, 7vw, 88px); }
.page-head h1 { max-width: 20ch; }
.prose > * { max-width: 68ch; }
.prose h2 { margin-top: 1.5em; }
.values { padding-left: 1.2em; }
.values li { margin-bottom: .5em; }
.split { display: grid; gap: 32px; align-items: center; grid-template-columns: 1fr; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split.reverse > div:first-child { order: 2; } }
.teaser { list-style: none; padding: 0; margin: 0 0 1em; }
.teaser li { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.item-line { display: flex; align-items: baseline; gap: 10px; }
.item-name { font-weight: 500; }
.dots { flex: 1; border-bottom: 1px dotted var(--rule-strong); transform: translateY(-5px); min-width: 16px; }
.price { font-family: var(--f-data); white-space: nowrap; }
.desc { margin: 3px 0 0; font-size: .92rem; color: var(--muted); max-width: 52ch; }

/* ====================================================================
   9. Dogpatch. Dark room, warm light.
   ==================================================================== */
.theme-dogpatch h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.04; }
.theme-dogpatch p { line-height: 1.75; }
.theme-dogpatch .eyebrow { font-family: "Oswald", sans-serif; font-weight: 400; font-size: .85rem; letter-spacing: .18em; }
.theme-dogpatch .lede { color: #d9d3c6; }
.dp-hero { display: grid; grid-template-columns: 1fr; margin: 0; }
@media (min-width: 900px) { .dp-hero { grid-template-columns: 1.05fr .95fr; min-height: 82vh; } }
.dp-hero-text { padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 72px); align-self: center; }
.dp-lockup { width: min(100%, 430px); height: auto; margin-bottom: 32px; }
.dp-hero-img img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.dp-board-row { background: var(--surface); border-block: 1px solid var(--rule); padding: clamp(40px, 6vw, 72px) 0; margin: 0; }
.dp-board-grid { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .dp-board-grid { grid-template-columns: 380px 1fr; gap: 64px; } }
.board { justify-self: center; width: 100%; max-width: 380px; background: var(--marquee); color: var(--ink); padding: 26px 32px;
  border: 10px solid var(--oak); box-shadow: 0 0 90px rgba(246,210,190,.22), inset 0 0 0 1px rgba(20,23,27,.25);
  background-image: repeating-linear-gradient(0deg, rgba(20,23,27,.08) 0 1px, transparent 1px 46px); background-position: 0 20px;
  font: 400 1.55rem/46px "Jost", sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.board span { display: block; }
.dp-facts { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .dp-facts { grid-template-columns: repeat(3, 1fr); } }
.dp-facts > div { border-top: 1px solid var(--oak); padding-top: 18px; }
.dp-facts h2 { color: var(--accent); font-size: 1.6rem; margin-bottom: .2em; }
.data { font: 400 .72rem/1.6 "Space Mono", monospace; letter-spacing: .04em; color: var(--muted); margin-bottom: .6em; }
.dp-facts p:last-child { font-size: 1rem; margin: 0; }
.dp-menu-teaser { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .dp-menu-teaser { grid-template-columns: 1fr 1fr; gap: 72px; } }
.theme-dogpatch .teaser .item-name { font-family: "Oswald", sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .06em; font-size: 1.1rem; }
.theme-dogpatch .price { font-size: .95rem; }
.theme-dogpatch .desc { font-style: italic; color: #b9b3a6; }
.dp-story .oak { background: var(--oak); color: var(--ink); padding: clamp(32px, 5vw, 64px); }
.dp-story .oak .eyebrow { color: var(--ink); }
.dp-story .oak p { color: var(--ink); max-width: 60ch; }
.dp-story .oak a:hover { color: #5c2f1f; }
.theme-dogpatch .visit { border-top-color: var(--oak); }
.theme-dogpatch .visit h2 { color: var(--accent); }

/* ====================================================================
   10. bread + butter. Black type, warm crust, maple wood.
   ==================================================================== */
.theme-bb h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.04; }
.theme-bb .label, .theme-bb .eyebrow { font-family: "Poppins", sans-serif; font-weight: 500; letter-spacing: .28em; color: var(--fg); font-size: .68rem; }
.theme-bb body, .theme-bb p { font-weight: 400; }
.theme-bb .mono { font: 400 .85rem/1.6 "IBM Plex Mono", monospace; letter-spacing: .02em; }
.bb-hero { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; margin-top: clamp(40px, 6vw, 80px); }
@media (min-width: 900px) { .bb-hero { grid-template-columns: 1fr 1fr; gap: 72px; } }
.bb-lockup { width: 150px; margin-bottom: 32px; }
.bb-hero-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.bb-wall { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .bb-wall { grid-template-columns: 1fr 1.1fr; gap: 72px; } }
.shelf { list-style: none; margin: 0; padding: 0; border-bottom: 14px solid var(--maple); }
.shelf li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 6px; border-bottom: 1px solid var(--rule); }
.shelf-name { font: 500 .8rem/1.3 "Poppins", sans-serif; letter-spacing: .3em; text-transform: uppercase; }
.shelf-price { font: 400 1rem "IBM Plex Mono", monospace; }
.bb-process { background: var(--butter); padding: clamp(48px, 7vw, 88px) 0; margin: 0; }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.steps .num { font: 400 .85rem "IBM Plex Mono", monospace; color: var(--accent); display: block; margin-bottom: 14px; }
.steps h3 { font-family: "Poppins", sans-serif; font-weight: 400; letter-spacing: -.01em; font-size: 1.3rem; }
.steps p { max-width: 36ch; }
.bb-two { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .bb-two { grid-template-columns: 1fr 1fr; gap: 72px; } }
.butter-list { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.butter-list li { font: 500 .72rem/1.3 "Poppins", sans-serif; letter-spacing: .26em; text-transform: uppercase; padding: 12px 16px; border: 1px solid var(--rule-strong); }
.bb-corner img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.theme-bb .teaser .item-name, .theme-bb .item-name { font-family: "Poppins", sans-serif; font-weight: 500; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; }
.theme-bb .price { font-size: .95rem; }
.theme-bb .visit { border-top-color: var(--fg); }

/* ====================================================================
   11. Little Brick. One red. Everything else stands back.
   ==================================================================== */
.theme-lb h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); line-height: 1.02; }
.theme-lb h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.theme-lb .lede { font-size: 1.15rem; }
.lb-hero { display: grid; grid-template-columns: 1fr; margin: 0; position: relative; }
.lb-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(36,31,27,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(36,31,27,.08) 1px, transparent 1px); background-size: 28px 28px; }
@media (min-width: 900px) { .lb-hero { grid-template-columns: 1fr 1fr; min-height: 80vh; } }
.lb-hero-text { position: relative; padding: clamp(40px, 7vw, 96px) clamp(20px, 6vw, 80px); align-self: center; }
.lb-hero-img { position: relative; }
.lb-hero-img img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.lb-three { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .lb-three { grid-template-columns: repeat(3, 1fr); } }
.lb-card { background: var(--paper-light); padding: 32px 28px 28px; border-top: 2px solid var(--accent); }
.lb-card .num { font: 400 2.4rem/1 "Petrona", serif; color: var(--accent); display: block; margin-bottom: 18px; }
.lb-card h2 { font-size: 1.5rem; }
.lb-card p { max-width: 34ch; }
.lb-band { background: var(--oat); padding: clamp(48px, 7vw, 88px) 0; margin: 0; position: relative; overflow: hidden; }
.lb-band-grid { display: grid; gap: 48px; grid-template-columns: 1fr; position: relative; z-index: 1; }
@media (min-width: 900px) { .lb-band-grid { grid-template-columns: 1.1fr .9fr; gap: 80px; } }
.lb-hours-big .big { font: 400 clamp(2.4rem, 5vw, 3.8rem)/1.05 "Petrona", serif; margin: 0 0 .5em; }
.lb-band .bird { position: absolute; right: -36px; bottom: -40px; width: 280px; opacity: .95; pointer-events: none; }
@media (min-width: 900px) { .lb-hours-big { padding-right: 200px; } }
@media (max-width: 899px) { .lb-band .bird { width: 180px; right: -30px; bottom: -24px; opacity: .55; } }
.theme-lb .teaser .item-name { font-family: "Archivo Narrow", "Archivo", sans-serif; font-weight: 500; font-size: 1.05rem; }
.lb-yard { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .lb-yard { grid-template-columns: 1fr 1fr; gap: 72px; } }
.lb-yard img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.theme-lb .gallery { margin-inline: 6px; }

/* ====================================================================
   12. Menus
   ==================================================================== */
.menu-head { margin: clamp(40px, 6vw, 72px) 0 32px; }
.menu-head h1 { margin-bottom: .3em; }
.menu-sheet { margin: 0; }
.menu-tabs { position: sticky; top: 0; z-index: 5; background: var(--bg); border-block: 1px solid var(--rule); overflow-x: auto; }
.menu-tabs ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.menu-tabs a { display: block; padding: 14px 16px; text-decoration: none; white-space: nowrap; font: 500 .8rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; border-bottom: 2px solid transparent; }
.menu-tabs a:hover { border-color: var(--accent); }
.menu-body { padding-top: 40px; }
.menu-tab { margin: 0 0 64px; scroll-margin-top: 64px; }
.menu-tab > h2 { border-bottom: 2px solid var(--accent); padding-bottom: .3em; margin-bottom: .6em; }
.menu-tab > .menu-note { margin-bottom: 1.6em; }
.menu-group { margin-bottom: 36px; break-inside: avoid; }
@media (min-width: 900px) { .menu-cols { columns: 2; column-gap: 64px; } }
.menu-group h3 { font: 700 .72rem/1.4 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: .8em; }
.menu-items { list-style: none; padding: 0; margin: 0; }
.menu-items li { padding: 9px 0; border-bottom: 1px solid var(--rule); }
.tag { font: 500 .6rem/1 var(--f-data); border: 1px solid var(--rule-strong); padding: 2px 4px; margin-left: 6px; text-decoration: none; vertical-align: 2px; letter-spacing: .04em; }
.menu-note { font-size: .92rem; color: var(--muted); margin-bottom: .8em; }
.menu-extra { font-size: .92rem; margin: .5em 0; }
.menu-legend { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 16px; margin-top: 24px; }
/* Dogpatch: the menu is a chalk sheet on the dark room */
.theme-dogpatch .menu-sheet { background: var(--chalk); color: var(--ink); --rule: rgba(20,23,27,.14); --rule-strong: rgba(20,23,27,.35); --muted: #4e4a43; padding-bottom: 48px; }
.theme-dogpatch .menu-tabs { background: var(--ink); color: var(--chalk); border-color: rgba(244,241,234,.14); }
.theme-dogpatch .menu-tabs a { font-family: "Oswald", sans-serif; font-weight: 400; font-size: .95rem; letter-spacing: .12em; }
.theme-dogpatch .menu-tab > h2 { border-color: var(--ink); font-size: 2.4rem; }
.theme-dogpatch .menu-group h3 { font-family: "Oswald", sans-serif; font-weight: 600; font-size: .85rem; color: #a8503a; letter-spacing: .16em; }
.theme-dogpatch .menu-items .item-name { font-family: "Oswald", sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .05em; font-size: 1.05rem; }
.theme-dogpatch .menu-items .desc { color: #4e4a43; }
.theme-dogpatch .menu-items .price { font-size: .9rem; }
/* bread + butter: shelf labels */
.theme-bb .menu-tabs a { font-family: "Poppins", sans-serif; font-weight: 500; font-size: .72rem; letter-spacing: .22em; }
.theme-bb .menu-tab > h2 { border-color: var(--fg); }
.theme-bb .menu-group h3 { font-family: "Poppins", sans-serif; font-weight: 400; font-size: 1.1rem; letter-spacing: -.01em; text-transform: none; color: var(--fg); }
.theme-bb .menu-items .item-name { font-family: "Poppins", sans-serif; font-weight: 500; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; }
.theme-bb .menu-items li { padding: 12px 0; }
/* Little Brick: narrow tabular items under red rules */
.theme-lb .menu-tabs a { font-family: "Archivo", sans-serif; font-weight: 700; font-size: .72rem; letter-spacing: .2em; }
.theme-lb .menu-tab > h2 { font-size: 2.4rem; }
.theme-lb .menu-items .item-name { font-family: "Archivo Narrow", "Archivo", sans-serif; font-weight: 500; font-size: 1.05rem; }

/* ====================================================================
   13. Events, contact, story
   ==================================================================== */
.venues { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .venues { grid-template-columns: repeat(3, 1fr); } }
.venue { border-top: 2px solid var(--accent); padding-top: 20px; }
.venue-dogpatch { border-color: #e0a128; } .venue-little-brick { border-color: #c4262e; } .venue-bread-and-butter { border-color: #b2452c; }
.venue img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 18px; }
.venue h2 { font-size: 1.4rem; }
.quote { font: 400 italic clamp(1.3rem, 2.6vw, 1.8rem)/1.45 "Lora", serif; border-left: 3px solid var(--accent); padding-left: 28px; max-width: 900px; }
.quote p { margin-bottom: .5em; }
.quote cite { font: 500 .78rem "Jost", sans-serif; letter-spacing: .16em; text-transform: uppercase; font-style: normal; color: var(--muted); }
.form-card { background: var(--card); border: 1px solid var(--rule); padding: clamp(24px, 4vw, 48px); max-width: 880px; }
.enquiry { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 700px) { .enquiry { grid-template-columns: 1fr 1fr; } .enquiry .full { grid-column: 1 / -1; } }
.enquiry label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: .92rem; }
.enquiry input, .enquiry select, .enquiry textarea { font: inherit; font-weight: 400; padding: 12px; border: 1px solid var(--rule-strong); background: var(--bg); color: var(--fg); border-radius: var(--radius); }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } .contact-card:last-child { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card:last-child h2 + p { margin-bottom: 1.4em; }
.contact-card { background: var(--card); padding: 26px; border-top: 2px solid var(--accent); }
.card-dogpatch { border-color: #e0a128; } .card-little-brick { border-color: #c4262e; } .card-bread-and-butter { border-color: #b2452c; }
.contact-card h2 { font-size: 1.3rem; }
.contact-card h2 a { text-decoration: none; }
.map iframe { width: 100%; height: 400px; border: 0; }
.story-photo { margin: 32px 0 0; }
.story-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

/* ====================================================================
   14. Motion: the river valley intro, the 90 Street map, scroll reveals
   Every rule here is keyed on html.js (set inline in <head>) so the page without JavaScript
   simply shows finished states. --k scales the intro's timings (a replay in the same tab runs short).
   Only opacity, transform and stroke-dashoffset animate, so nothing here triggers layout.
   ==================================================================== */
/* The opening film. Order: real footage (desktop, first visit, clip ready), ink lines drawn over it,
   colour, a camera push up the valley, a dissolve into the drawn street, the headline.
   --t0 is how long the footage runs alone (0 without footage); --k scales every timing (a replay in
   the same tab runs short). Every default below is the FINISHED frame: the street, no valley, no video.
   motion.js adds .go to start, .film or .nofilm to choose, .hero-done to jump to the end. */
.hero { --t0: 0s; }
.hero.film { --t0: 2.2s; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; }
.hero.pending .hero-video { opacity: 1; }
@media (max-width: 899px) { .hero:not(.asked) .hero-video { display: none; } }
.v-stage, .s-stage { transform-box: view-box; }
.v-stage { opacity: 0; transform-origin: 640px 335px; }
.s-stage { transform-origin: 720px 640px; }
.motion .hero.pending .s-stage, .motion .hero.pending .hero-text { opacity: 0; }

/* the valley, in colour */
.v-line { fill: none; stroke: var(--fg); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .85; vector-effect: non-scaling-stroke; }
.v-sun { fill: var(--surface); stroke: var(--rule); stroke-width: 1; }
.v-birds { fill: none; stroke: var(--fg); stroke-width: 1.2; stroke-linecap: round; opacity: .7; }
.v-far { fill: #dfe3d6; }
.v-water { fill: #35635b; }
.v-near { fill: #27443b; }
.v-shimmer { fill: none; stroke: #f4f1ea; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 24 112; opacity: .4; }
.v-shimmer-2 { stroke-width: 1.4; stroke-dasharray: 16 120; opacity: .28; }
.v-tree-far { fill: #6f8a7b; stroke: #6f8a7b; stroke-width: 1.4; stroke-linecap: round; }
.v-tree-far.v-gold { fill: #d9a441; stroke: #d9a441; }
.v-tree-near { fill: #1d342c; stroke: #1b1a17; stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; }
.v-tree-near.v-gold { fill: #c9952f; }
.v-house { fill: #e9e2d2; stroke: #1b1a17; stroke-width: 1.1; stroke-linejoin: round; }
.v-house.v-brick { fill: #a9553f; }
.v-win { fill: #f4f1ea; stroke: none; }
.v-door { fill: #c4262e; stroke: none; }
.v-tree, .v-pop, .s-pop { transform-box: fill-box; transform-origin: 50% 100%; }

/* the street, in colour */
.s-line { fill: none; stroke: var(--fg); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .9; vector-effect: non-scaling-stroke; }
.s-hill { fill: #dfe3d6; }
.s-tree-far { fill: #8aa08f; stroke: #8aa08f; stroke-width: 1.2; }
.s-tree-far.v-gold { fill: #d9a441; stroke: #d9a441; }
.s-tree-near { fill: #1d342c; stroke: #1b1a17; stroke-width: 1.2; stroke-linejoin: round; }
.s-tree-near.v-gold { fill: #d9a441; stroke: #1b1a17; }
.s-walk { fill: #e9e2d2; }
.s-road { fill: #2f3330; }
.s-dash { fill: none; stroke: #f4f1ea; stroke-width: 3; stroke-dasharray: 28 26; opacity: .7; }
.s-brick { fill: #a9553f; }
.s-brick-lb { fill: #bd6e4c; }
.s-metal { fill: #3a3f45; }
.s-corrugate { fill: none; stroke: #1b1a17; stroke-width: 1; opacity: .35; }
.s-rail { fill: none; stroke: #1b1a17; stroke-width: 1.4; opacity: .8; }
.s-dark { fill: #1b1a17; }
.s-glass { fill: #1f2428; }
.s-glass-lit { fill: #e7c77a; }
.s-frame { fill: none; stroke: #1b1a17; stroke-width: 2; }
.s-frame-light { fill: none; stroke: #f4f1ea; stroke-width: 2; }
.s-cream-line { fill: none; stroke: #f4f1ea; stroke-width: 1.5; }
.s-sign { fill: #1b1a17; stroke: #f4f1ea; stroke-width: 1.2; }
.s-sign-mark { fill: #f4f1ea; }
.s-dogpatch { font: 400 15px "Oswald", "Arial Narrow", sans-serif; letter-spacing: .14em; text-transform: uppercase; fill: #1b1a17; }
.s-bb { font: 500 11px "Poppins", sans-serif; letter-spacing: .22em; text-transform: uppercase; fill: #1b1a17; }
.s-board { fill: #f9f6f0; stroke: #1b1a17; stroke-width: 1; }
.s-lb { font: 600 14px "Petrona", Georgia, serif; fill: #c4262e; }
.s-roof { fill: #4a3a30; }
.s-door { fill: #c4262e; }
.s-step { fill: #e9e2d2; }
.s-fence { fill: #e9e2d2; }
.s-picket { fill: none; stroke: #1b1a17; stroke-width: 1; opacity: .6; }
.s-wire { fill: none; stroke: #1b1a17; stroke-width: 1; opacity: .7; }
.s-bulb { fill: #f4e3a6; stroke: #1b1a17; stroke-width: .6; }
.s-table { fill: #c98f4e; stroke: #c98f4e; stroke-linecap: round; }
.s-planter { fill: #1b1a17; }
.s-grass { fill: none; stroke: #4e5b45; stroke-width: 2; }
.s-elm { fill: #c9a24e; }
.s-trunk { fill: none; stroke: #4a3a30; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.s-lamp path { fill: none; stroke: #1b1a17; stroke-width: 4; stroke-linecap: round; }
.s-lamp circle { fill: #f4e3a6; stroke: #1b1a17; stroke-width: 1.5; }
.s-leaves { fill: #d9a441; opacity: .9; }
.s-family { fill: #1b1a17; stroke: #1b1a17; stroke-linecap: round; stroke-linejoin: round; }
.s-family .torso { fill: none; stroke-width: 7; }
.s-family .torso-c { stroke-width: 5; }
.s-family .limb { fill: none; stroke-width: 3.2; }
.s-family .limb-c { fill: none; stroke-width: 2.4; }
.s-family .leash { fill: none; stroke-width: 1.4; }
.s-family .dleg { fill: none; stroke-width: 2.4; }
.s-family .tail { fill: none; stroke-width: 2; }

/* the timeline: delays are (t0 + the element's --d) scaled by --k */
.js .hero.go .v-line { animation: v-draw calc(1.2s * var(--k)) cubic-bezier(.4, 0, .2, 1) both; animation-delay: calc((var(--t0) + var(--d, 0s)) * var(--k)); }
.js .hero.go .v-fill { animation: v-fade calc(.9s * var(--k)) ease-out both; animation-delay: calc((var(--t0) + var(--d, 0s)) * var(--k)); }
.js .hero.go .v-tree { animation: v-grow calc(.55s * var(--k)) cubic-bezier(.2, .7, .3, 1.25) both; animation-delay: calc((var(--t0) + var(--d, 0s)) * var(--k)); }
.js .hero.go .v-pop { animation: v-rise calc(.7s * var(--k)) cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc((var(--t0) + var(--d, 0s)) * var(--k)); }
.js .hero.go .v-shimmer { animation: v-fade calc(.9s * var(--k)) ease-out both, v-drift 18s linear infinite; animation-delay: calc((var(--t0) + 1.7s) * var(--k)), 0s; }
.js .hero.go .v-birds { animation: v-fade calc(.9s * var(--k)) ease-out both, v-birds 38s ease-in-out infinite alternate; animation-delay: calc((var(--t0) + 1.8s) * var(--k)), 0s; }
.js .hero.go .v-stage { animation: v-push calc(1.7s * var(--k)) cubic-bezier(.5, 0, .6, 1) both; animation-delay: calc((var(--t0) + 1.9s) * var(--k)); }
.js .hero.film .hero-video { animation: v-video calc(.9s * var(--k)) ease-in both; animation-delay: calc((var(--t0) + .8s) * var(--k)); }
.js .hero.go .s-stage { animation: s-arrive calc(1.4s * var(--k)) cubic-bezier(.3, .4, .2, 1) both; animation-delay: calc((var(--t0) + 2.5s) * var(--k)); }
.js .hero.go .s-line { animation: v-draw calc(1.3s * var(--k)) cubic-bezier(.4, 0, .2, 1) both; animation-delay: calc((var(--t0) + var(--d, 2.7s)) * var(--k)); }
.js .hero.go .s-fill { animation: v-fade calc(.9s * var(--k)) ease-out both; animation-delay: calc((var(--t0) + var(--d, 3.2s)) * var(--k)); }
.js .hero.go .s-pop { animation: v-rise calc(.7s * var(--k)) cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc((var(--t0) + var(--d, 3.8s)) * var(--k)); }
/* the family: the stroll covers 1680 units in 38 s, about 44 a second; a 1.1 s stride on 30-unit legs
   swinging 26 degrees covers the same ground, so the feet keep pace with the street */
.js .hero.go .s-family { animation: s-walk 38s linear infinite; }
.js .hero.go .leg { animation: s-leg 1.1s ease-in-out infinite; }
.js .hero.go .shin { animation: s-shin 1.1s ease-in-out infinite; }
.js .hero.go .arm { animation: s-arm 1.1s ease-in-out infinite; }
.js .hero.go .leg.b, .js .hero.go .leg.b .shin, .js .hero.go .arm.b { animation-delay: -.55s; }
.js .hero.go .child .leg, .js .hero.go .child .shin, .js .hero.go .child .arm { animation-duration: .75s; }
.js .hero.go .child .leg.b, .js .hero.go .child .leg.b .shin, .js .hero.go .child .arm.b { animation-delay: -.375s; }
.js .hero.go .dleg { animation: s-dleg .45s ease-in-out infinite; }
.js .hero.go .dleg.b { animation-delay: -.225s; }
.js .hero.go .tail { animation: s-tail .35s ease-in-out infinite alternate; }
.js .hero.go .s-bulb:nth-child(odd) { animation: s-twinkle 2.8s ease-in-out infinite alternate; }
.js .hero.go .s-bulb:nth-child(even) { animation: s-twinkle 3.4s ease-in-out .9s infinite alternate; }
.js .hero.go .hero-text > :not(.hero-replay) { animation: v-rise calc(.9s * var(--k)) cubic-bezier(.2, .7, .2, 1) both; }
.js .hero.go .hero-text > :nth-child(1) { animation-delay: calc((var(--t0) + 3.6s) * var(--k)); }
.js .hero.go .hero-text > :nth-child(2) { animation-delay: calc((var(--t0) + 3.8s) * var(--k)); }
.js .hero.go .hero-text > :nth-child(3) { animation-delay: calc((var(--t0) + 4.1s) * var(--k)); }
.js .hero.go .hero-text > :nth-child(4) { animation-delay: calc((var(--t0) + 4.3s) * var(--k)); }
/* a scroll or key press during the film jumps every non-looping animation to its last frame */
.js .hero.hero-done :not(.loop) { animation-duration: 0s !important; animation-delay: 0s !important; }
.js .hero.hero-done .hero-video { opacity: 0 !important; }
@keyframes v-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes v-fade { from { opacity: 0; } }
@keyframes v-grow { from { opacity: 0; transform: scale(.3, .05); } }
@keyframes v-rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes v-drift { to { stroke-dashoffset: -272; } }
@keyframes v-birds { to { transform: translateX(70px); } }
@keyframes v-push { from { opacity: 1; transform: scale(1); } 58% { opacity: 1; } to { opacity: 0; transform: scale(2.6); } }
@keyframes v-video { from { opacity: 1; } to { opacity: 0; } }
@keyframes s-arrive { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: scale(1); } }
@keyframes s-walk { from { transform: translate(-140px, 576px); } to { transform: translate(1540px, 576px); } }
@keyframes s-leg { 0% { transform: rotate(-26deg); } 50% { transform: rotate(26deg); } 100% { transform: rotate(-26deg); } }
@keyframes s-shin { 0% { transform: rotate(0deg); } 40% { transform: rotate(6deg); } 65% { transform: rotate(46deg); } 90% { transform: rotate(8deg); } 100% { transform: rotate(0deg); } }
@keyframes s-arm { 0% { transform: rotate(22deg); } 50% { transform: rotate(-22deg); } 100% { transform: rotate(22deg); } }
@keyframes s-dleg { 0% { transform: rotate(-28deg); } 50% { transform: rotate(28deg); } 100% { transform: rotate(-28deg); } }
@keyframes s-tail { from { transform: rotate(-18deg); } to { transform: rotate(18deg); } }
@keyframes s-twinkle { from { opacity: .45; } to { opacity: 1; } }

/* footer skyline: the valley again, in cream ink */
.ftr-strip { display: block; width: 100%; height: auto; max-height: 120px; margin: -24px 0 36px; }
.f-ink { fill: none; stroke: #f4f1ea; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; opacity: .35; vector-effect: non-scaling-stroke; }
.f-river { stroke-dasharray: 6 10; opacity: .25; }

/* scroll reveals: a section rises as it comes into view; grids reveal their children in turn */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="stagger"], .js [data-reveal="group"] { opacity: 1; transform: none; transition: none; }
.js [data-reveal="stagger"] > * { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal="stagger"].in > * { opacity: 1; transform: none; }
.js [data-reveal="stagger"] > :nth-child(2) { transition-delay: .1s; }
.js [data-reveal="stagger"] > :nth-child(3) { transition-delay: .2s; }
.js [data-reveal="stagger"] > :nth-child(4) { transition-delay: .3s; }
.js [data-reveal="stagger"] > :nth-child(n + 5) { transition-delay: .4s; }
/* brand pages: the hero photo settles slowly; the Dogpatch letterboard fills a line at a time */
.dp-hero-img, .bb-hero-img, .lb-hero-img, .panel-img { overflow: hidden; }
.js .dp-hero-img img, .js .bb-hero-img img, .js .lb-hero-img img { animation: kb 16s cubic-bezier(.2, .6, .3, 1) both; }
@keyframes kb { from { transform: scale(1.07); } to { transform: scale(1); } }
.js .dp-board-row .board span { opacity: 0; transform: translateX(-10px); transition: opacity .5s ease-out, transform .5s cubic-bezier(.2, .7, .2, 1); }
.js .dp-board-row.in .board span { opacity: 1; transform: none; }
.js .dp-board-row.in .board span:nth-child(1) { transition-delay: .4s; }
.js .dp-board-row.in .board span:nth-child(2) { transition-delay: .8s; }
.js .dp-board-row.in .board span:nth-child(3) { transition-delay: 1.2s; }

/* the 90 Street map */
.street-head p:last-child { max-width: 60ch; }
.street-grid { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; margin-top: 8px; }
@media (min-width: 900px) { .street-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; } }
.street-map { margin: 0; }
.street-map svg { display: block; width: 100%; height: auto; border: 1px solid var(--rule); }
.street-map figcaption { margin-top: 10px; }
.street-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.street-card { --pin: var(--accent); background: var(--card); border: 1px solid var(--rule); border-left: 4px solid var(--pin); padding: 18px 20px 14px; transition: background-color .25s, border-color .25s, box-shadow .25s; }
.street-card.is-active { background: var(--surface); border-color: var(--fg); border-left-color: var(--pin); }
.street-pick { all: unset; cursor: pointer; display: block; width: 100%; }
.street-pick:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.street-name { display: block; font: 500 1.25rem/1.2 "Lora", serif; }
.street-kind { display: block; font-size: .88rem; color: var(--muted); margin-top: 2px; }
.street-detail { margin-top: 10px; font-size: .92rem; }
.street-detail p { margin: 0 0 .3em; }
.street-detail .today-line:empty { display: none; }
.street-detail .today-line { color: var(--accent); font-weight: 500; }
.street-detail .actions { margin-top: .6em; }
.pin-dogpatch, .street-card.card-dogpatch { --pin: #e0a128; }
.pin-bread-and-butter, .street-card.card-bread-and-butter { --pin: #111111; }
.pin-little-brick, .street-card.card-little-brick { --pin: #c4262e; }
.m-paper { fill: var(--card); }
.m-street { fill: none; stroke: #e2dbcb; stroke-width: 16; stroke-linecap: round; }
.m-street-mid { fill: none; stroke: var(--fg); stroke-width: 1; stroke-dasharray: 6 8; opacity: .3; }
.m-ave { fill: none; stroke: #ebe5d8; stroke-width: 12; stroke-linecap: round; }
.m-river { fill: none; stroke: #35635b; stroke-width: 56; stroke-linecap: round; }
.m-park { fill: #cfd9c4; }
.m-tree { fill: #9fb08f; }
.m-bldg { fill: #b8705c; stroke: var(--fg); stroke-width: 1.2; }
.m-yard { fill: none; stroke: #4e5b45; stroke-width: 1.2; stroke-dasharray: 3 4; }
.m-text { font: 500 11px/1 "Jost", sans-serif; letter-spacing: .14em; text-transform: uppercase; fill: var(--muted); }
.m-label { font: 500 14px "Lora", serif; fill: var(--fg); letter-spacing: 0; text-transform: none; }
.m-riverlabel { font: italic 12px "Lora", serif; fill: #f4f1ea; letter-spacing: .1em; }
.m-lead { fill: none; stroke: var(--fg); stroke-width: 1; opacity: .5; }
.m-compass { fill: none; stroke: var(--fg); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }
.pin { cursor: pointer; }
.pin .pin-hit { fill: transparent; }
.pin .pin-dot { fill: var(--pin); stroke: var(--card); stroke-width: 3; transform-box: fill-box; transform-origin: center; transition: transform .25s cubic-bezier(.2, .7, .3, 1.4); }
.pin .pin-ring { fill: none; stroke: var(--pin); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.pin:hover .pin-dot, .pin.is-active .pin-dot { transform: scale(1.3); }
.pin.is-active .pin-ring { animation: pin-pulse 1.8s ease-out infinite; }
.pin.is-active .m-label { fill: var(--fg); text-decoration: underline; text-decoration-color: var(--pin); text-underline-offset: 3px; }
@keyframes pin-pulse { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(2.4); } }
.walker { fill: var(--card); stroke: var(--fg); stroke-width: 2.2; }
.walker-halo { fill: var(--fg); opacity: .12; }
.walker-trail { fill: none; stroke: var(--fg); stroke-width: 1.2; stroke-dasharray: 2 6; stroke-linecap: round; opacity: .5; }
.js .street .m-draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s cubic-bezier(.4, 0, .2, 1); transition-delay: var(--d, 0s); }
.js .street.in .m-draw { stroke-dashoffset: 0; }
.js .street .m-pop { opacity: 0; transform: translateY(8px); transition: opacity .5s ease-out, transform .5s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, .6s); }
.js .street.in .m-pop { opacity: 1; transform: none; }
.js .street .walker-g { opacity: 0; transition: opacity .5s ease-out 1.3s; }
.js .street.in .walker-g { opacity: 1; }
/* the dashed street line and trail keep their real dash pattern; only the solid shapes use the pathLength trick */
.js .street .m-street-mid.m-draw, .js .street .walker-trail.m-draw { stroke-dasharray: none; stroke-dashoffset: 0; opacity: 0; transition: opacity .6s ease-out; transition-delay: var(--d, 0s); }
.js .street.in .m-street-mid.m-draw { opacity: .3; }
.js .street.in .walker-trail.m-draw { opacity: .5; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, a { transition: none; }
  .js .hero *, .js .dp-hero-img img, .js .bb-hero-img img, .js .lb-hero-img img, .pin.is-active .pin-ring { animation: none !important; }
  .hero-video { display: none; }
  .motion .hero.pending .s-stage, .motion .hero.pending .hero-text { opacity: 1; }
  .js [data-reveal], .js [data-reveal="stagger"] > *, .js .dp-board-row .board span, .js .street .m-draw, .js .street .m-pop, .js .street .walker-g { opacity: 1 !important; transform: none !important; transition: none !important; stroke-dashoffset: 0 !important; }
  .js .street .m-street-mid.m-draw { opacity: .3 !important; }
  .js .street .walker-trail.m-draw { opacity: .5 !important; }
  .hero-cue::after, .pin .pin-dot, .street-card { transition: none; }
}

/* ====================================================================
   15. Events section: the hub, the venue pages, catering
   ==================================================================== */
.ev-hero { margin: 0; padding: clamp(48px, 8vw, 104px) 0 clamp(32px, 5vw, 56px); }
.ev-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 16ch; }
.ev-hero .lede { max-width: 58ch; }
.ev-hero-photo { position: relative; padding: 0; display: grid; grid-template-columns: 1fr; }
.ev-hero-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ev-hero-text { padding-top: clamp(32px, 5vw, 56px); }
@media (min-width: 1000px) {
  .ev-hero-photo { grid-template-columns: 1fr 1fr; align-items: center; min-height: 72vh; }
  .ev-hero-photo .ev-hero-img { order: 2; height: 100%; aspect-ratio: auto; min-height: 480px; }
  .ev-hero-photo .ev-hero-text { padding: clamp(40px, 6vw, 88px) clamp(32px, 5vw, 72px) clamp(40px, 6vw, 88px) 20px; max-width: 640px; justify-self: end; }
}
.facts { margin-top: 0; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--fg); }
@media (min-width: 800px) { .facts ul { grid-template-columns: repeat(4, 1fr); } }
.facts li { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 4px; }
.facts strong { font: 500 1.5rem/1.1 "Lora", serif; }
.facts span { font-size: .85rem; color: var(--muted); }
.kinds { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 40px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .kinds { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .kinds { grid-template-columns: repeat(3, 1fr); } }
.kinds li { border-top: 1px solid var(--rule-strong); padding-top: 16px; }
.kinds h3 { font: 500 1.15rem/1.3 "Lora", serif; margin-bottom: .4em; }
.kinds p { font-size: .95rem; color: var(--muted); margin: 0; }
.venue .eyebrow { margin-bottom: .4em; }
.venue h2 { margin-bottom: .4em; }
.fmt-grid { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 800px) { .fmt-grid { grid-template-columns: 1fr 1fr; } .fmt-grid.fmt-3 { grid-template-columns: repeat(3, 1fr); } }
.fmt { background: var(--card); border: 1px solid var(--rule); padding: 28px; }
.fmt h3 { font: 500 1.35rem/1.2 "Lora", serif; margin-bottom: .4em; }
.fmt-cap { font-size: 1.05rem; margin-bottom: .6em; }
.fmt-cap strong { font-weight: 500; }
.fmt .eyebrow { margin-bottom: .6em; }
.rates { margin: 18px 0 6px; padding: 0; border-top: 1px solid var(--rule); }
.rates div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.rates dt { color: var(--muted); }
.rates dd { margin: 0; font-weight: 500; white-space: nowrap; }
.bar-note { margin-top: 24px; padding: 24px 28px; background: var(--surface); }
.bar-note h3 { font: 500 1.15rem/1.3 "Lora", serif; margin-bottom: .4em; }
.bar-note p { margin: 0; max-width: 72ch; }
.ev-two { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .ev-two { grid-template-columns: 1fr 1fr; gap: 64px; } }
.ticks, .crosses { list-style: none; margin: 0; padding: 0; }
.ticks li, .crosses li { padding: 10px 0 10px 28px; border-bottom: 1px solid var(--rule); position: relative; }
.ticks li::before, .crosses li::before { position: absolute; left: 0; top: 10px; font: 500 .95rem/1.6 "Jost", sans-serif; }
.ticks li::before { content: "\2713"; color: var(--accent); }
.crosses li::before { content: "\2013"; color: var(--muted); }
.ev-steps { background: var(--surface); padding: clamp(48px, 7vw, 88px) 0; margin: 0; }
.ev-steps .steps { list-style: none; padding: 0; margin: 32px 0 20px; display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .ev-steps .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ev-steps .steps { grid-template-columns: repeat(5, 1fr); gap: 24px; } }
.ev-steps .num { font: 400 1.6rem/1 "Lora", serif; color: var(--accent); display: block; margin-bottom: 12px; }
.ev-steps h3 { font: 500 1.1rem/1.3 "Lora", serif; margin-bottom: .4em; }
.ev-steps p { font-size: .95rem; margin: 0; }
.ev-steps .small { margin-top: 8px; }
.ev-faq .faq { border-top: 1px solid var(--rule); }
.ev-faq .faq:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font: 500 1.05rem/1.4 "Lora", serif; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 1.4rem/1 "Jost", sans-serif; color: var(--accent); transition: transform .15s cubic-bezier(.2,.6,.3,1); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; max-width: 70ch; color: var(--muted); }
.ev-catering .menu-items .item-name { font-weight: 500; }
.form-card .eyebrow { margin-bottom: .5em; }
.form-card > p { max-width: 60ch; }
/* .wrap sets margin: 0 auto, which flattens a section's vertical spacing; the events sections set their own. */
.ev-kinds, .ev-formats, .ev-two, .ev-faq, .venues, .ev-catering, .ev-hero + .facts + .ev-formats { margin-block: clamp(48px, 7vw, 96px); }
.facts { margin-top: 0; margin-bottom: clamp(40px, 6vw, 80px); }
.ev-steps + .ev-faq, .gallery + .ev-formats, .gallery + .ev-two { margin-top: clamp(48px, 7vw, 96px); }
