/*
 * Homepage Template 4 — "Market Day"
 * File: /public/assets/tenant-home-market.css   (markup: /views/home/index4.php)
 *
 * Ported from the WCVM homepage export (home.css, 2026-11-05). Everything is scoped under .h4
 * and prefixed h4- so the tenant's site header/footer and the shared public utilities are
 * untouched. Colours come from --h4-* custom properties that index4.php derives from the
 * market's primary colour (includes/market_day_palette.php); the cream paper, DM Serif /
 * DM Sans type and the warm gold/rust accents are the design's own.
 * Element resets use :where() so they weigh one class — never enough to beat a component.
 */

.h4 {
  --h4-primary: #214d3f; --h4-on-primary: #fff; --h4-primary-text: #214d3f; --h4-deep: #173a30;
  --h4-soft: #edf1e9; --h4-ink: #26392e; --h4-muted: #6b7168; --h4-line: #dfe2d7; --h4-line2: #cfd6c4;
  --h4-band: #eef0e7; --h4-band2: #f1f0e8; --h4-dot: #879b79;
  --h4-paper: #faf8f2; --h4-white: #fffefb; --h4-rust: #a34b39; --h4-gold: #a47c34;
  --h4-serif: 'DM Serif Display', Georgia, serif; --h4-sans: 'DM Sans', Arial, sans-serif;
  --h4-shadow: 0 16px 42px rgba(36, 61, 48, .07);
  background: var(--h4-paper); color: var(--h4-ink);
  font: 15px/1.6 var(--h4-sans); -webkit-font-smoothing: antialiased;
}
.h4-body { background: var(--h4-paper, #faf8f2); }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
.h4 *, .h4 *::before, .h4 *::after { box-sizing: border-box; }
.h4 [hidden] { display: none !important; }
.h4 :where(a) { color: inherit; text-decoration: none; }
.h4 :where(button, input, textarea) { font: inherit; color: inherit; }
.h4 :where(button) { border: 0; background: none; cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent; }
.h4 :where(img) { display: block; max-width: 100%; }
.h4 :where(h1, h2, h3, p) { margin-top: 0; }
.h4 h1, .h4 h2 { font-family: var(--h4-serif); font-weight: 400; color: var(--h4-ink); }
.h4 h2 { font-size: 51px; line-height: 1.1; letter-spacing: -1.6px; margin: 0; }
.h4 h1 em, .h4 h2 em, .h4 h3 em { font-style: italic; font-weight: 400; color: var(--h4-primary-text); }
.h4 :where(button, a, input, summary):focus-visible { outline: 3px solid #bb7836; outline-offset: 5px; }
.h4-i { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.65; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; display: block; }
.h4-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.h4-shell { width: min(1240px, calc(100% - 104px)); margin-inline: auto; }
.h4-pad { padding-block: 79px; }
.h4-eyebrow { display: flex; gap: 10px; align-items: center; font-size: 10px; font-weight: 600; letter-spacing: 2px; line-height: 1.7; margin: 0 0 19px; color: var(--h4-primary-text); flex-wrap: wrap; }
.h4-star { font-size: 23px; color: var(--h4-gold); line-height: 1; }
.h4-small { font-size: 10px; line-height: 1.8; color: var(--h4-muted); margin: 0; }

/* ---- Buttons & links ---- */
.h4-btn { display: inline-flex; align-items: center; justify-content: center; gap: 13px; border-radius: 6px; padding: 15px 22px; min-height: 51px; font-weight: 600; font-size: 12.5px; line-height: 1.4; border: 1px solid transparent; transition: background .18s, transform .18s; white-space: nowrap; }
.h4-btn:hover { transform: translateY(-2px); }
.h4-btn .h4-i { width: 17px; height: 17px; }
.h4-btn--primary { background: var(--h4-primary); color: var(--h4-on-primary) !important; }
.h4-btn--primary:hover { background: var(--h4-deep); color: #fff !important; }
.h4-btn--outline { border-color: var(--h4-line2); background: transparent; color: var(--h4-ink); }
.h4-btn--outline:hover { background: var(--h4-soft); }
.h4-btn--small { min-height: 42px; padding: 11px 16px; font-size: 11.5px; gap: 11px; }
.h4-btn--cream { background: var(--h4-paper); color: var(--h4-primary-text) !important; }
.h4-btn--cream:hover { background: #fff; }
.h4-btn--full { width: 100%; }
.h4-link { display: inline-flex; align-items: center; gap: 11px; font-size: 12.5px; font-weight: 600; padding: 6px 0; border-bottom: 1px solid color-mix(in srgb, var(--h4-ink) 40%, transparent) !important; line-height: 1.6; transition: gap .18s; color: var(--h4-ink); }
.h4-link:hover { gap: 16px; }
.h4-link .h4-i { width: 16px; height: 16px; }
.h4-link--light { color: var(--h4-paper) !important; border-color: rgba(250, 248, 242, .45) !important; }
.h4-icon-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; border: 1px solid var(--h4-line) !important; border-radius: 6px; padding: 10px; background: transparent; }
.h4-icon-btn:hover { background: var(--h4-soft); }

/* ---- Hero ---- */
.h4-hero { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 62px; padding-top: 44px; padding-bottom: 35px; align-items: center; }
.h4-hero-copy { padding-block: 18px; min-width: 0; }
.h4 .h4-hero h1 { font: normal clamp(54px, 6.4vw, 89px)/1.04 var(--h4-serif); letter-spacing: -3px; margin: 0 0 26px; overflow-wrap: anywhere; }
.h4-hero-lead { font-size: 15px; line-height: 1.85; max-width: 430px; color: var(--h4-muted); margin: 0 0 30px; }
.h4-hero-actions { display: flex; gap: 25px; align-items: center; flex-wrap: wrap; }
.h4-hero-actions .h4-link { border: 0 !important; }
.h4-hero-location { display: flex; gap: 12px; align-items: center; margin-top: 33px; }
.h4-hero-location-ico { width: 34px; height: 34px; border: 1px solid var(--h4-line); border-radius: 50%; color: var(--h4-primary-text); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.h4-hero-location-ico .h4-i { width: 17px; height: 17px; }
/* Text rules target the text column only: the icon circle is a <span> too, and a bare
   `.h4-hero-location span` turned its centring flexbox into a block (pin stuck top-left). */
.h4-hero-location > div > strong { display: block; font-size: 11px; font-weight: 550; }
.h4-hero-location > div > span { display: block; font-size: 11px; color: var(--h4-muted); }
.h4-hero-visual { height: 500px; position: relative; border-radius: 105px 12px 12px 12px; overflow: hidden; background: var(--h4-band); }
.h4-hero-visual .h4-hero-media, .h4-hero-visual .h4-hero-media picture { position: absolute; inset: 0; display: block; }
.h4-hero-visual .h4-hero-media img, .h4-hero-visual .h4-hero-media video { width: 100%; height: 100% !important; object-fit: cover; object-position: 55% 50%; display: block; }
.h4-hero-visual .h4-hero-media video { position: absolute; inset: 0; }
.h4-hero-visual::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(20, 46, 33, .65)); pointer-events: none; }
.h4-hero-visual.is-plain { background: radial-gradient(120% 90% at 85% 10%, var(--h4-primary) 0%, var(--h4-deep) 72%); }
.h4-hero-visual.is-plain::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1.2px, transparent 1.3px); background-size: 22px 22px; }
.h4-hero-mark { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); font: 180px/1 var(--h4-serif); color: rgba(255, 249, 233, .16); }
.h4-hero-visual .zin-video-toggle { position: absolute; z-index: 2; right: 20px; bottom: 20px; font-size: 11px; color: var(--h4-paper); background: rgba(20, 46, 33, .55); border-radius: 30px; padding: 6px 12px; }
.h4-stamp { position: absolute; top: 25px; right: 25px; width: 112px; height: 112px; background: var(--h4-paper); border: 1px solid #dfdacb; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 1; transform: rotate(10deg); box-shadow: 0 4px 15px rgba(38, 57, 46, .08); color: var(--h4-ink); text-align: center; padding: 6px; }
.h4-stamp > span:not(.h4-stamp-star) { font-size: 7.5px; letter-spacing: 1.2px; font-weight: 600; line-height: 1.3; max-width: 92px; }
.h4-stamp strong { font: italic 24px/1 var(--h4-serif); margin: 3px 0 8px; font-weight: 400; }
.h4-stamp-star { color: var(--h4-gold); font-size: 19px; line-height: 1; margin-top: 4px; }
.h4-hero-caption { position: absolute; left: 30px; right: 30px; bottom: 61px; color: var(--h4-paper); z-index: 1; }
.h4-hero-caption > span { font-size: 9px; letter-spacing: 1.8px; }
.h4-hero-caption strong { font: normal 31px/1.2 var(--h4-serif); display: block; margin-top: 6px; }
.h4-gallery-open { position: absolute; z-index: 1; left: 30px; bottom: 22px; display: flex; align-items: center; gap: 8px; color: var(--h4-paper); font-size: 11px; border-bottom: 1px solid rgba(221, 217, 203, .66) !important; padding: 4px 0; }
.h4-gallery-open .h4-i { width: 14px; height: 14px; }

/* ---- "Up next" strip ---- */
.h4-next { display: flex; align-items: center; gap: 24px; border: 1px solid var(--h4-line2); border-radius: 9px; background: var(--h4-band); padding: 21px 27px; }
.h4-next-label { display: flex; align-items: center; gap: 8px; font-size: 9px; font-weight: 650; letter-spacing: 1.6px; width: 150px; flex-shrink: 0; line-height: 1.5; }
.h4-dot { height: 6px; width: 6px; background: var(--h4-primary); border-radius: 50%; flex-shrink: 0; }
.h4-next-date { text-align: center; border-inline: 1px solid var(--h4-line2); padding: 0 25px; line-height: 1.1; flex-shrink: 0; }
.h4-next-date > span { display: block; font-size: 9px; font-weight: 650; letter-spacing: 1.5px; }
.h4-next-date strong { font: normal 31px/1.1 var(--h4-serif); display: block; margin-top: 2px; white-space: nowrap; }
.h4-next-info { flex: 1; min-width: 0; }
.h4 .h4-next-info h2 { font: normal 26px/1.15 var(--h4-serif); letter-spacing: -.2px; margin: 0 0 7px; }
.h4-next-info p { margin: 0; font-size: 11px; color: var(--h4-muted); }
.h4-next > .h4-btn { flex-shrink: 0; }

/* ---- Discovery strip ---- */
.h4-discovery { padding: 31px 0 34px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.h4-discovery > a { display: flex; gap: 14px; align-items: center; border-right: 1px solid var(--h4-line); padding-right: 23px; min-width: 0; }
.h4-discovery > a:last-child { border: 0; }
.h4-discovery-ico { color: var(--h4-primary-text); }
.h4-discovery-ico .h4-i { width: 29px; height: 29px; stroke-width: 1.4; }
.h4-discovery strong { display: block; font-weight: 550; font-size: 13px; }
.h4-discovery div > span { font-size: 11px; color: var(--h4-muted); display: block; margin-top: 3px; }
.h4-discovery-go { margin-left: auto; color: var(--h4-dot); width: 15px !important; height: 15px !important; }
.h4-discovery > a:hover strong { text-decoration: underline; }

/* ---- Section headings ---- */
.h4-sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; margin-bottom: 32px; }
.h4-sechead .h4-eyebrow { margin-bottom: 14px; }
.h4-sechead-aside { max-width: 300px; padding-bottom: 6px; }
.h4-sechead-aside p { font-size: 12.5px; line-height: 1.9; color: var(--h4-muted); margin: 0 0 13px; }

/* ---- By the numbers ---- */
.h4-stats { display: grid; grid-template-columns: repeat(var(--h4-stat-cols, 4), minmax(0, 1fr)); border-top: 1px solid var(--h4-line); }
.h4-stat { padding: 26px 18px 6px 0; border-right: 1px solid var(--h4-line); margin-right: 18px; display: flex; flex-direction: column; gap: 4px; }
.h4-stat:last-child { border-right: 0; }
.h4-stat i { color: var(--h4-gold); font-size: 17px; margin-bottom: 8px; }
.h4-stat strong { font: normal 46px/1.05 var(--h4-serif); color: var(--h4-ink); letter-spacing: -1px; }
.h4-stat span { font-size: 11px; letter-spacing: 1.4px; font-weight: 600; color: var(--h4-muted); text-transform: uppercase; }

/* ---- Membership ---- */
.h4-band { background: var(--h4-band); border-block: 1px solid var(--h4-line); }
.h4-member-note { display: flex; gap: 8px; align-items: center; font-size: 13px; background: var(--h4-white); border: 1px solid var(--h4-line2); border-radius: 8px; padding: 12px 16px; }
.h4-member-note a { text-decoration: underline; margin-left: 4px; }
.h4-member-note .h4-i { width: 16px; height: 16px; color: var(--h4-primary-text); }
.h4-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.h4-tier { background: var(--h4-paper); border: 1px solid var(--h4-line2); border-radius: 10px; padding: 26px; display: flex; flex-direction: column; }
.h4 .h4-tier h3 { font: normal 28px/1.2 var(--h4-serif); margin: 0 0 8px; }
.h4-tier > p { font-size: 12.5px; color: var(--h4-muted); line-height: 1.8; margin: 0 0 12px; }
.h4-tier-price { display: flex; align-items: baseline; gap: 6px; }
.h4-tier-price strong { font: normal 36px/1 var(--h4-serif); }
.h4-tier-price span { font-size: 12px; color: var(--h4-muted); }
.h4-tier .h4-tier-alt { font-size: 11px; margin-top: 6px; }
.h4-tier ul { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 9px; font-size: 12.5px; flex: 1; align-content: start; }
.h4-tier li { display: flex; gap: 8px; align-items: flex-start; }
.h4-tier li .h4-i { width: 15px; height: 15px; color: var(--h4-primary-text); margin-top: 3px; }
.h4-tier-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---- Makers / artists ---- */
.h4-makers-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.h4-maker { min-width: 0; }
.h4-maker-photo { display: block; position: relative; height: 255px; overflow: hidden; border-radius: 8px; background: var(--h4-soft); }
.h4-maker-photo img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .4s; }
.h4-maker-photo:hover img { transform: scale(1.035); }
.h4-mono { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font: 64px/1 var(--h4-serif); color: var(--h4-primary-text); background: linear-gradient(140deg, var(--h4-soft), color-mix(in srgb, var(--h4-soft) 70%, var(--h4-primary) 12%)); }
.h4-mono .h4-i { width: 48px; height: 48px; stroke-width: 1.2; }
.h4-photo-tag { position: absolute; left: 15px; bottom: 15px; max-width: calc(100% - 30px); font-size: 8px; letter-spacing: 1.1px; font-weight: 600; background: rgba(255, 254, 251, .94); padding: 6px 9px; border-radius: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h4-maker-head { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; gap: 15px; }
.h4 .h4-maker-head h3 { font: normal 27px/1.25 var(--h4-serif); margin: 0; min-width: 0; }
.h4-maker-head h3 a:hover { text-decoration: underline; }
.h4-maker-head .h4-i { width: 21px; height: 21px; color: var(--h4-gold); }
.h4-maker > p { font-size: 12.5px; line-height: 1.7; color: var(--h4-muted); margin: 7px 0 10px; }
.h4-maker > .h4-link { font-size: 11.5px; }
.h4-makers-note { margin-top: 28px; padding-top: 19px; border-top: 1px solid var(--h4-line); }

/* ---- Shop ---- */
.h4-shop-tools { display: flex; gap: 20px; justify-content: space-between; align-items: center; margin-bottom: 27px; }
.h4-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.h4-chip { border: 1px solid var(--h4-line2) !important; border-radius: 30px; min-height: 38px; padding: 8px 15px !important; display: inline-flex; align-items: center; justify-content: center; gap: 7px; line-height: 1.4; font-size: 11.5px; font-weight: 550; transition: background .15s; white-space: nowrap; }
.h4-chip.is-active { background: var(--h4-primary); border-color: var(--h4-primary) !important; color: var(--h4-on-primary); }
.h4-chip:not(.is-active):hover { background: var(--h4-soft); }
.h4-search { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--h4-line2); padding: 8px 2px; min-width: 255px; margin-left: auto; }
.h4-search .h4-i { width: 16px; height: 16px; color: var(--h4-muted); }
.h4-search input { border: 0; background: transparent; outline: none; width: 100%; font-size: 12px; color: var(--h4-ink); padding: 2px; min-width: 0; }
.h4-search:focus-within { outline: 2px solid #b77e45; outline-offset: 4px; }
.h4-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.h4-product { min-width: 0; }
.h4-product-photo { position: relative; aspect-ratio: 1; background: #e9e7dd; border-radius: 8px; overflow: hidden; }
.h4-product-open { width: 100%; height: 100%; display: block; position: relative; }
.h4-product-photo img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .35s; }
.h4-product-photo:hover img { transform: scale(1.035); }
.h4-fav { position: absolute; right: 11px; top: 11px; width: 35px; height: 35px; background: var(--h4-white) !important; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(36, 53, 21, .08); }
.h4-fav .h4-i { width: 17px; height: 17px; }
.h4-fav[aria-pressed="true"] { background: var(--h4-primary) !important; color: var(--h4-on-primary); }
.h4-fav[aria-pressed="true"] .h4-i { fill: currentColor; }
.h4-badge { position: absolute; left: 12px; top: 13px; background: var(--h4-paper); color: var(--h4-rust); font-size: 8px; font-weight: 700; letter-spacing: 1px; padding: 4px 8px; border-radius: 3px; }
.h4-quick { position: absolute; bottom: 12px; left: 12px; right: 12px; display: flex; align-items: center; justify-content: center; gap: 7px; background: rgba(255, 254, 251, .95); font-size: 11px; padding: 10px; border-radius: 4px; transform: translateY(60px); transition: transform .2s; pointer-events: none; }
.h4-quick .h4-i { width: 14px; height: 14px; }
.h4-product-photo:hover .h4-quick, .h4-product-photo:focus-within .h4-quick { transform: translateY(0); }
.h4-product-vendor { margin: 14px 0 4px; font-size: 10px; font-weight: 500; letter-spacing: .35px; color: var(--h4-muted); }
.h4 .h4-product h3 { font-size: 14px; font-weight: 600; margin: 0 0 8px; line-height: 1.55; font-family: var(--h4-sans); }
.h4-product h3 button { text-align: left; }
.h4-product h3 button:hover { text-decoration: underline; }
.h4-price { display: flex; align-items: baseline; gap: 8px; font-size: 13px; font-weight: 650; }
.h4-price del { font-size: 11px; color: var(--h4-muted); font-weight: 400; }
.h4-price .is-sale { color: var(--h4-rust); }
.h4-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; padding-top: 19px; border-top: 1px solid var(--h4-line); color: var(--h4-muted); font-size: 11px; }
.h4-saved-open { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; color: var(--h4-ink); }
.h4-saved-open .h4-i { width: 15px; height: 15px; }
.h4-saved-count { background: var(--h4-primary); color: var(--h4-on-primary); min-width: 18px; height: 18px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; padding: 0 5px; }
.h4-empty { text-align: center; padding: 35px 20px 45px; border: 1px dashed var(--h4-line2); border-radius: 8px; display: flex; flex-direction: column; align-items: center; }
.h4-empty > .h4-i { color: var(--h4-muted); margin-bottom: 5px; }
.h4 .h4-empty h3 { font: normal 27px/1.3 var(--h4-serif); margin: 0 0 10px; }
.h4-empty p { font-size: 13px; color: var(--h4-muted); margin: 0 0 19px; }

/* ---- Story (gallery) ---- */
.h4-story { background: var(--h4-band); border-block: 1px solid var(--h4-line); padding: 80px 0 84px; overflow: hidden; }
.h4-story-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 85px; align-items: center; }
.h4-story-photos { position: relative; padding: 0 85px 60px 0; min-height: 426px; }
.h4-story-photos.is-single { padding-right: 0; }
.h4-story-photo { display: block; position: relative; overflow: hidden; border-radius: 8px; background: var(--h4-soft); }
.h4-story-photo.is-large { height: 364px; width: 76%; border-radius: 75px 9px 9px 9px; }
.h4-story-photos.is-single .h4-story-photo.is-large { width: 92%; }
.h4-story-photo.is-small { height: 225px; width: 49%; position: absolute; bottom: 20px; right: 0; border: 7px solid var(--h4-band); }
.h4-story-photo img { height: 100% !important; width: 100%; object-fit: cover; }
.h4-photo-expand { position: absolute; right: 10px; bottom: 10px; background: rgba(255, 254, 251, .91); border-radius: 50%; width: 29px; height: 29px; display: flex; align-items: center; justify-content: center; }
.h4-photo-expand .h4-i { width: 14px; height: 14px; }
.h4-story-note { position: absolute; bottom: 1px; left: 24px; transform: rotate(-5deg); font: italic 22px/1.25 var(--h4-serif); color: var(--h4-ink); }
.h4-story-note > span:not(.h4-drawn-star), .h4-story-note > strong { display: block; font-weight: 400; }
.h4-drawn-star { position: absolute; color: var(--h4-gold); font-size: 48px; right: -54px; top: 10px; display: block; line-height: 0; }
/* Both decorative stars are an inline SVG (sprite #h4i-asterisk) sized in em, so the existing
   font-size rules keep scaling them; a text "✳" became a green emoji on iOS. */
.h4-drawn-star .h4-i, .h4-join-star .h4-i { width: .8em; height: .8em; stroke-width: 1.2; }
.h4-story-copy .h4-eyebrow { margin-bottom: 16px; }
.h4 .h4-story-copy h2 { font-size: 46px; line-height: 1.13; letter-spacing: -1.3px; margin-bottom: 25px; }
.h4-story-copy > p:not(.h4-eyebrow) { font-size: 13px; line-height: 1.95; color: var(--h4-muted); margin: 0 0 14px; max-width: 430px; }
.h4-story-copy > .h4-link { margin-top: 12px; }
.h4-gallery-link { display: flex; align-items: center; gap: 9px; font-size: 11.5px; font-weight: 500; margin-top: 17px; color: var(--h4-muted); }
.h4-gallery-link .h4-i { width: 16px; height: 16px; }
.h4-gallery-link:hover { color: var(--h4-ink); }

/* ---- Events ---- */
.h4-events { background: var(--h4-band2); border-block: 1px solid var(--h4-line); }
.h4-events-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.h4-event { border: 1px solid var(--h4-line2); background: var(--h4-paper); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.h4-event-visual { height: 222px; position: relative; display: block; overflow: hidden; background: var(--h4-soft); }
.h4-event-visual > img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .4s; }
.h4-event-visual:hover > img { transform: scale(1.035); }
.h4-event-visual.is-plain { background: radial-gradient(110% 100% at 90% 0%, color-mix(in srgb, var(--h4-primary) 32%, var(--h4-soft)) 0%, var(--h4-soft) 70%); }
.h4-event-mark { position: absolute; right: 26px; bottom: 6px; font: 110px/1 var(--h4-serif); color: color-mix(in srgb, var(--h4-primary) 22%, transparent); }
.h4-event-date { position: absolute; left: 17px; top: 17px; background: var(--h4-paper); border: 1px solid #eee8da; border-radius: 5px; min-width: 52px; display: flex; flex-direction: column; align-items: center; padding: 8px 10px; box-shadow: 0 2px 12px rgba(23, 58, 48, .06); color: var(--h4-ink); }
.h4-event-date span { font-size: 8px; font-weight: 650; letter-spacing: 1.2px; }
.h4-event-date strong { font: normal 26px/1.2 var(--h4-serif); font-weight: 400; white-space: nowrap; }
.h4-event-date.is-range strong { font-size: 21px; }
.h4-event-body { padding: 23px 23px 21px; flex: 1; display: flex; flex-direction: column; }
.h4-event-body > .h4-eyebrow { font-size: 8.5px; letter-spacing: 1.5px; margin: 0 0 9px; }
.h4 .h4-event-body h3 { font: normal 28px/1.2 var(--h4-serif); margin: 0 0 15px; letter-spacing: -.4px; }
.h4-event-body h3 a:hover { text-decoration: underline; }
.h4-event-meta { display: grid; gap: 8px; margin-bottom: 15px; }
.h4-event-meta > div { display: flex; gap: 8px; font-size: 11px; align-items: center; min-width: 0; }
.h4-event-meta .h4-i { width: 14px; height: 14px; color: var(--h4-dot); }
.h4-event-body > p:not(.h4-eyebrow) { font-size: 12px; line-height: 1.8; color: var(--h4-muted); margin: 0 0 19px; flex: 1; }
.h4-event-body > .h4-link { align-self: flex-start; font-size: 11.5px; margin-top: auto; }

/* ---- Join (CTA) ---- */
.h4-join { background: var(--h4-strong, var(--h4-primary)); color: var(--h4-paper); padding: 62px 0 65px; overflow: hidden; }
.h4-join-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 85px; align-items: center; }
.h4-join .h4-eyebrow { color: rgba(250, 248, 242, .72); margin-bottom: 15px; }
.h4 .h4-join h2 { font-size: 49px; color: var(--h4-paper); }
.h4 .h4-join h2 em { color: color-mix(in srgb, var(--h4-paper) 78%, var(--h4-gold)); }
.h4-join-layout > div > p:not(.h4-eyebrow) { max-width: 460px; font-size: 13px; line-height: 1.9; color: rgba(250, 248, 242, .8); margin: 21px 0 24px; }
.h4-join-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.h4-join-aside { position: relative; border-left: 1px solid rgba(250, 248, 242, .25); padding: 15px 0 15px 65px; }
.h4-join-star { font-size: 83px; line-height: 1; color: color-mix(in srgb, var(--h4-paper) 70%, var(--h4-gold)); display: block; margin: 0 0 19px; }
.h4 .h4-join-aside h3 { font: normal 31px/1.15 var(--h4-serif); margin: 0 0 14px; color: var(--h4-paper); }
.h4-join-aside p { font-size: 12px; color: rgba(250, 248, 242, .8); margin: 0 0 7px; }
.h4-join-aside .h4-link { font-size: 12px; }

/* ---- Visit ---- */
.h4-visit { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: 100px; align-items: center; }
.h4-visit-copy > p:not(.h4-eyebrow) { font-size: 13px; line-height: 1.9; color: var(--h4-muted); max-width: 420px; margin: 23px 0 26px; }
.h4-faq details { border-bottom: 1px solid var(--h4-line); }
.h4-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13.5px; font-weight: 500; padding: 19px 0; cursor: pointer; }
.h4-faq summary::-webkit-details-marker { display: none; }
.h4-faq summary .h4-i { width: 15px; height: 15px; transition: transform .2s; }
.h4-faq details[open] summary .h4-i { transform: rotate(45deg); }
.h4-faq details p { font-size: 12.5px; line-height: 1.9; color: var(--h4-muted); margin: 0 0 19px; }
.h4-faq details a { text-decoration: underline; text-underline-offset: 3px; color: var(--h4-primary-text); }
.h4-location { border: 1px solid var(--h4-line); background: var(--h4-white); border-radius: 10px; overflow: hidden; box-shadow: var(--h4-shadow); }
.h4-location-top { height: 123px; background: color-mix(in srgb, var(--h4-band) 75%, var(--h4-primary) 8%); color: var(--h4-primary-text); position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; overflow: hidden; }
.h4-location-top::before, .h4-location-top::after { content: ''; position: absolute; inset: 20px -40px; border: 1px solid color-mix(in srgb, var(--h4-line2) 80%, var(--h4-primary) 12%); transform: rotate(-17deg); }
.h4-location-top::after { inset: -40px 50px; transform: rotate(25deg); }
.h4-location-pin { width: 43px; height: 43px; border-radius: 50%; background: var(--h4-paper); z-index: 1; display: flex; align-items: center; justify-content: center; }
.h4-location-pin .h4-i { width: 21px; height: 21px; }
.h4-location-top > span:nth-child(2) { font-size: 10px; letter-spacing: 1.7px; z-index: 1; font-weight: 550; }
.h4-location-star { position: absolute; right: 40px; bottom: 8px; font-size: 49px; color: color-mix(in srgb, var(--h4-primary) 25%, var(--h4-band)); z-index: 1; }
.h4-location-body { padding: 31px 33px; }
.h4-location-body .h4-eyebrow { font-size: 9px; margin-bottom: 11px; letter-spacing: 1.4px; }
.h4 .h4-location-body h3 { font: normal 37px/1.1 var(--h4-serif); margin: 0 0 17px; }
.h4-location address { font-style: normal; font-size: 13px; line-height: 1.9; }
.h4-location-body > p:not(.h4-eyebrow) { font-size: 11px; line-height: 1.9; color: var(--h4-muted); max-width: 260px; margin: 12px 0 20px; }
.h4-location-body > .h4-btn { min-height: 46px; font-size: 12px; }
.h4-contact-links { display: flex; gap: 23px; flex-wrap: wrap; margin-top: 21px; font-size: 11px; }
.h4-contact-links a { display: flex; align-items: center; gap: 7px; }
.h4-contact-links a:hover { text-decoration: underline; }
.h4-contact-links .h4-i { width: 13px; height: 13px; }

/* ---- Sponsors ---- */
.h4-sponsors { border-block: 1px solid var(--h4-line); padding: 64px 0 70px; }
/* Copy on the left (eyebrow, title, line, "Become a sponsor"), the logo carousel on the right. */
.h4-sponsors-layout { display: grid; grid-template-columns: minmax(250px, 320px) minmax(0, 1fr); gap: 56px; align-items: center; }
.h4-sponsors-layout.is-empty { grid-template-columns: minmax(0, 1fr); }
.h4 .h4-sponsors-copy h2 { font-size: 42px; letter-spacing: -1.2px; margin-bottom: 16px; }
.h4-sponsors-copy > p:not(.h4-eyebrow) { font-size: 13px; line-height: 1.9; color: var(--h4-muted); margin: 0 0 14px; max-width: 320px; }
/* Carousel: --h4-per slots across, each the same size; logos scale to fit (contain) so wide,
   square and tall logos read at a similar size. The track slides one slot at a time.
   Logos sit bare on the page like Template 1's sponsor strip (views/home/index.php): no tile,
   greyscale at 70% until hover/focus, then full colour with a slight zoom. */
.h4-sponsor-carousel { --h4-per: 3; --h4-gap: 18px; min-width: 0; }
.h4-sponsor-viewport { overflow: hidden; padding: 6px 2px; margin: -6px -2px; touch-action: pan-y; }
.h4-sponsor-track { display: flex; gap: var(--h4-gap); transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.h4-sponsor-tile { flex: 0 0 calc((100% - (var(--h4-per) - 1) * var(--h4-gap)) / var(--h4-per)); height: 150px; display: flex; align-items: center; justify-content: center; padding: 12px 16px; min-width: 0; border-radius: 8px; }
.h4-sponsor-tile img { width: 100%; max-width: 240px; height: 112px !important; object-fit: contain; pointer-events: none; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s, transform .3s; }
.h4-sponsor-tile:hover img, .h4-sponsor-tile:focus-visible img { filter: none; opacity: 1; transform: scale(1.05); }
.h4-sponsor-tile.is-text span { font: 700 20px/1.3 var(--h4-sans); text-align: center; color: color-mix(in srgb, var(--h4-muted) 70%, var(--h4-paper)); transition: color .3s; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.h4-sponsor-tile.is-text:hover span, .h4-sponsor-tile.is-text:focus-visible span { color: var(--h4-ink); }
.h4-sponsor-carousel.is-static .is-clone { display: none; }
.h4-carousel-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.h4-carousel-dots { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-width: 0; }
.h4-carousel-dots button { width: 8px; height: 8px; border-radius: 999px; background: var(--h4-line2) !important; transition: width .25s, background .25s; }
.h4-carousel-dots button[aria-current="true"] { width: 22px; background: var(--h4-primary) !important; }
.h4-carousel-btns { display: flex; gap: 8px; flex-shrink: 0; }
.h4-carousel-btns .h4-icon-btn { width: 40px; min-width: 40px; height: 40px; padding: 9px; }
.h4-carousel-btns .h4-i { width: 17px; height: 17px; }

/* ---- Phone action bar, toast ---- */
.h4-mbar { display: none; }
.h4-toast { position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%); max-width: calc(100vw - 40px); border-radius: 7px; padding: 13px 22px; background: var(--h4-primary); color: var(--h4-on-primary); font-size: 13px; box-shadow: 0 4px 30px rgba(20, 42, 36, .22); z-index: 10050; pointer-events: none; }

/* ---- Dialogs ---- */
.h4-dialog { border: 1px solid #dce0d3; border-radius: 14px; padding: 35px; background: var(--h4-paper); color: var(--h4-ink); width: min(520px, calc(100% - 34px)); max-height: 88dvh; overflow: auto; box-shadow: 0 20px 70px rgba(13, 38, 28, .19); margin: auto; font: 15px/1.6 var(--h4-sans); }
.h4-dialog::backdrop { background: rgba(23, 43, 37, .64); }
.h4-dialog-close { position: absolute; right: 13px; top: 13px; z-index: 3; width: 34px; min-width: 34px; height: 34px; padding: 7px; background: rgba(255, 254, 251, .94) !important; }
.h4-dialog-close .h4-i { width: 17px; height: 17px; }
.h4 .h4-dialog h2 { font-size: 40px; }
.h4-dialog > .h4-eyebrow { font-size: 8.5px; padding-right: 25px; margin: 12px 0 12px; }
.h4-dialog-intro { font-size: 12.5px; line-height: 1.9; color: var(--h4-muted); margin: 18px 0 22px; }
.h4-dialog--product { width: min(780px, calc(100% - 34px)); padding: 0; }
.h4-pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.h4-pd-photo { width: 100%; height: 100% !important; min-height: 400px; max-height: 550px; object-fit: cover; background: #eeeade; }
.h4-pd-photo.is-empty { display: flex; align-items: center; justify-content: center; color: var(--h4-primary-text); }
.h4-pd-body { padding: 44px 32px 32px; }
.h4-pd-body > .h4-eyebrow { font-size: 8.5px; letter-spacing: 1.5px; }
.h4 .h4-pd-body h2 { font-size: 36px; line-height: 1.1; margin-bottom: 11px; }
.h4-pd-vendor { font-size: 12px; color: var(--h4-muted); margin: 0 0 18px; }
.h4-pd-body > .h4-price { font-size: 20px; }
.h4-pd-desc { font-size: 13px; line-height: 1.9; color: var(--h4-muted); margin: 21px 0; }
.h4-pd-actions { display: grid; gap: 10px; margin-top: 21px; }
.h4-pd-actions .h4-btn { font-size: 12px; min-height: 45px; padding: 12px 10px; }
.h4-pd-note { font-size: 10px; line-height: 1.8; color: var(--h4-muted); margin: 15px 0 0; }
.h4-saved-row { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--h4-line); }
.h4-saved-row > img, .h4-saved-row > .h4-saved-ph { width: 62px; height: 62px !important; object-fit: cover; border-radius: 5px; background: #e9e7db; flex-shrink: 0; }
.h4-saved-row > div { flex: 1; min-width: 0; }
.h4 .h4-saved-row h3 { font-size: 13px; margin: 0 0 4px; font-weight: 550; line-height: 1.5; font-family: var(--h4-sans); }
.h4-saved-row h3 button { text-align: left; }
.h4-saved-row p { font-size: 11px; color: var(--h4-muted); margin: 0; }
.h4-saved-row .h4-price { font-size: 12px; margin-top: 4px; }
.h4-saved-row > .h4-icon-btn { border: 0 !important; min-width: 32px; width: 32px; height: 32px; padding: 6px; }
.h4-saved-empty { background: var(--h4-soft); padding: 24px; text-align: center; border-radius: 7px; font-size: 13px; color: var(--h4-muted); display: flex; flex-direction: column; align-items: center; margin-bottom: 4px; }
.h4-saved-empty .h4-i { width: 26px; height: 26px; color: var(--h4-primary-text); margin-bottom: 10px; }
.h4-saved-empty p { margin: 0; }
#h4-saved-dialog > .h4-btn { margin-top: 20px; }
.h4-dialog--gallery { width: min(900px, calc(100% - 34px)); padding: 27px; }
.h4-gallery-head .h4-eyebrow { font-size: 8.5px; margin-bottom: 8px; }
.h4 .h4-gallery-head h2 { font-size: 35px; margin: 0 25px 21px 0; }
.h4-dialog--gallery > img { width: 100%; height: min(55dvh, 540px) !important; object-fit: contain; background: var(--h4-band); border-radius: 6px; }
.h4-gallery-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 14px; }
.h4-gallery-bottom p { font-size: 12px; color: var(--h4-muted); margin: 0; }
.h4-gallery-controls { display: flex; align-items: center; gap: 12px; }
.h4-gallery-controls span { font-size: 12px; min-width: 40px; text-align: center; }
.h4-gallery-controls .h4-icon-btn { width: 36px; height: 36px; min-width: 36px; padding: 8px; }
.h4-form { display: grid; gap: 12px; }
.h4-form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.h4-form label { display: grid; gap: 5px; font-size: 12px; font-weight: 600; }
.h4-form label small { font-weight: 400; color: var(--h4-muted); }
.h4-form input, .h4-form textarea { width: 100%; border: 1px solid var(--h4-line2); border-radius: 6px; background: var(--h4-white); padding: 10px 12px; font-size: 14px; font-weight: 400; color: var(--h4-ink); }
.h4-form textarea { resize: vertical; }
.h4-form input:focus, .h4-form textarea:focus { outline: 2px solid var(--h4-primary); outline-offset: 1px; }
.h4-form .h4-btn { margin-top: 6px; }
body.h4-modal-open { overflow: hidden; }

/* ================= Responsive ================= */
@media (min-width: 1440px) {
  .h4-hero { gap: 70px; }
  .h4-hero-visual { height: 535px; }
}
@media (max-width: 1150px) {
  .h4-shell { width: calc(100% - 72px); }
  .h4-hero { gap: 40px; }
  .h4 .h4-hero h1 { font-size: 70px; letter-spacing: -2.4px; }
  .h4-hero-visual { height: 470px; }
  .h4-hero-lead { font-size: 14px; }
  .h4-hero-actions { gap: 16px; }
  .h4-story-layout { gap: 55px; }
  .h4-story-photos { padding-right: 55px; }
  .h4-story-photo.is-large { width: 85%; }
  .h4 .h4-story-copy h2 { font-size: 42px; }
  .h4-event-visual { height: 195px; }
  .h4-event-body { padding: 20px; }
  .h4 .h4-event-body h3 { font-size: 25px; }
  .h4-events-grid { gap: 20px; }
  .h4-next-label { width: 124px; }
  .h4-next { gap: 20px; padding-inline: 23px; }
  .h4-next-date { padding-inline: 20px; }
  .h4 .h4-next-info h2 { font-size: 24px; }
  .h4-maker-photo { height: 225px; }
  .h4 .h4-maker-head h3 { font-size: 25px; }
  .h4-join-layout { gap: 60px; }
  .h4-join-aside { padding-left: 45px; }
  .h4 .h4-join h2 { font-size: 45px; }
  .h4-visit { gap: 65px; }
  .h4-sponsors-layout { gap: 40px; grid-template-columns: minmax(230px, 280px) minmax(0, 1fr); }
  .h4-sponsor-tile { height: 140px; }
  .h4-sponsor-tile img { height: 104px !important; }
}
@media (max-width: 940px) {
  .h4-hero { gap: 25px; padding-top: 35px; }
  .h4 .h4-hero h1 { font-size: 58px; letter-spacing: -2px; }
  .h4-hero-lead { font-size: 13px; }
  .h4-hero-visual { height: 440px; border-top-left-radius: 80px; }
  .h4-hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .h4-hero-actions .h4-btn { font-size: 12px; min-height: 45px; }
  .h4-hero-actions .h4-link { padding: 0; }
  .h4-hero-location { margin-top: 24px; gap: 8px; }
  .h4-stamp { width: 92px; height: 92px; top: 22px; right: 18px; }
  .h4-stamp strong { font-size: 20px; margin-bottom: 6px; }
  .h4-stamp > span:not(.h4-stamp-star) { font-size: 6.5px; letter-spacing: .8px; max-width: 76px; }
  .h4-hero-caption { left: 24px; }
  .h4-hero-caption strong { font-size: 26px; }
  .h4-gallery-open { left: 24px; }
  .h4-next-label { display: none; }
  .h4-next { gap: 18px; }
  .h4-next-date { border-left: 0; padding: 0 18px 0 0; }
  .h4-discovery { gap: 18px; padding-block: 26px; }
  .h4-discovery > a { padding-right: 17px; gap: 10px; }
  .h4-discovery strong { font-size: 12px; }
  .h4-discovery div > span { font-size: 10px; }
  .h4-discovery-ico .h4-i { width: 24px; height: 24px; }
  .h4-discovery-go { display: none !important; }
  .h4-pad { padding-block: 62px; }
  .h4 h2 { font-size: 44px; }
  .h4-sechead-aside { max-width: 250px; }
  .h4-events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .h4-event-visual { height: 180px; }
  .h4-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .h4-stat:nth-child(3n) { border-right: 0; }
  .h4-shop-tools { flex-direction: column; align-items: stretch; gap: 15px; }
  .h4-search { min-width: 0; max-width: 360px; margin-left: 0; }
  .h4-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .h4-story { padding-block: 63px; }
  .h4-story-layout { gap: 35px; }
  .h4-story-photos { padding-right: 40px; min-height: 368px; }
  .h4-story-photo.is-large { height: 315px; width: 90%; border-top-left-radius: 60px; }
  .h4-story-photo.is-small { height: 175px; bottom: 35px; width: 48%; }
  .h4-story-note { font-size: 18px; bottom: 0; }
  .h4-drawn-star { font-size: 35px; right: -36px; }
  .h4 .h4-story-copy h2 { font-size: 35px; }
  .h4-makers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .h4-maker-photo { height: 220px; }
  .h4 .h4-maker-head h3 { font-size: 23px; }
  .h4-join-layout { gap: 40px; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .h4-join { padding-block: 50px; }
  .h4 .h4-join h2 { font-size: 39px; }
  .h4-join-aside { padding-left: 35px; }
  .h4 .h4-join-aside h3 { font-size: 26px; }
  .h4-join-star { font-size: 60px; }
  .h4-visit { gap: 40px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .h4-location-body { padding: 25px; }
  .h4 .h4-location-body h3 { font-size: 31px; }
  .h4-sponsors-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .h4 .h4-sponsors-copy h2 { font-size: 38px; }
  .h4-sponsors-copy > p:not(.h4-eyebrow) { max-width: 460px; }
  .h4-sponsor-carousel { --h4-gap: 14px; }
  .h4-sponsor-tile { height: 136px; }
  .h4-sponsor-tile img { height: 100px !important; }
}
@media (max-width: 680px) {
  .h4-shell { width: calc(100% - 40px); }
  .h4-hero { display: flex; flex-direction: column; align-items: stretch; gap: 27px; padding-top: 28px; padding-bottom: 24px; }
  .h4-hero-copy { padding: 0; }
  .h4-hero .h4-eyebrow { margin-bottom: 17px; font-size: 9px; letter-spacing: 1.4px; }
  .h4 .h4-hero h1 { font-size: clamp(40px, 12vw, 62px); line-height: 1.05; letter-spacing: -1.8px; margin-bottom: 20px; }
  .h4-hero-lead { font-size: 13.5px; max-width: none; margin-bottom: 24px; }
  .h4-hero-actions { flex-direction: row; align-items: center; gap: 16px; }
  .h4-hero-actions .h4-btn { font-size: 11.5px; padding: 13px 14px; gap: 10px; }
  .h4-hero-actions .h4-link { font-size: 11.5px; gap: 6px; }
  .h4-hero-location { margin-top: 23px; gap: 9px; }
  .h4-hero-location > div > strong, .h4-hero-location > div > span { font-size: 10.5px; }
  .h4-hero-visual { height: 350px; border-radius: 74px 9px 9px 9px; }
  .h4-stamp { width: 88px; height: 88px; top: 19px; right: 20px; }
  .h4-hero-caption strong { font-size: 27px; }
  .h4-hero-caption > span { font-size: 8px; }
  .h4-hero-caption { left: 24px; bottom: 60px; }
  .h4-gallery-open { font-size: 10.5px; left: 24px; bottom: 24px; }
  .h4-next { padding: 18px 17px; gap: 14px; flex-wrap: wrap; border-radius: 8px; }
  .h4-next-date { padding: 0 13px 0 0; min-width: 43px; }
  .h4 .h4-next-info h2 { font-size: 23px; margin-bottom: 6px; }
  .h4-next-info { flex-basis: calc(100% - 72px); }
  .h4-next-info p { font-size: 10.5px; line-height: 1.7; }
  .h4-next > .h4-btn { margin-left: 57px; min-height: 38px; padding: 9px 12px; font-size: 11px; }
  .h4-discovery { grid-template-columns: minmax(0, 1fr); padding-block: 8px 26px; gap: 0; }
  .h4-discovery > a { border: 0; border-bottom: 1px solid var(--h4-line); padding: 17px 0; gap: 14px; }
  .h4-discovery > a:last-child { border-bottom: 0; }
  .h4-discovery strong { font-size: 13px; }
  .h4-discovery div > span { font-size: 11px; }
  .h4-discovery-go { display: block !important; }
  .h4-pad { padding-block: 48px; }
  .h4-sechead { display: block; margin-bottom: 25px; }
  .h4-sechead .h4-eyebrow { font-size: 9px; letter-spacing: 1.5px; margin-bottom: 13px; }
  .h4 h2 { font-size: 36px; letter-spacing: -1.1px; line-height: 1.12; }
  .h4-sechead-aside { max-width: none; padding: 0; margin-top: 20px; }
  .h4-sechead-aside p { font-size: 12.5px; margin-bottom: 10px; }
  .h4-chips { gap: 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; }
  .h4-chips::-webkit-scrollbar { display: none; }
  .h4-chip { font-size: 11px; padding: 8px 12px !important; min-height: 36px; }
  .h4-search { width: 100%; max-width: none; }
  .h4-events-grid { grid-template-columns: minmax(0, 1fr); gap: 23px; }
  .h4-event-visual { height: 210px; }
  .h4-event-body { padding: 21px; }
  .h4 .h4-event-body h3 { font-size: 27px; }
  .h4-event-meta > div { font-size: 11.5px; }
  .h4-event-body > p:not(.h4-eyebrow) { font-size: 12.5px; }
  .h4-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h4-stat { border-right: 0; margin-right: 0; padding-right: 0; border-bottom: 1px solid var(--h4-line); padding-bottom: 18px; }
  .h4-stat strong { font-size: 38px; }
  .h4-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 15px; }
  .h4-product-vendor { font-size: 10px; margin-top: 11px; }
  .h4 .h4-product h3 { font-size: 13px; }
  .h4-fav { width: 32px; height: 32px; top: 8px; right: 8px; }
  .h4-quick { display: none; }
  .h4-foot { margin-top: 23px; padding-top: 16px; font-size: 10.5px; }
  .h4-story { padding-block: 45px 48px; }
  .h4-story-layout { display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
  .h4-story-photos { min-height: 365px; padding-right: 30px; }
  .h4-story-photos.is-single { min-height: 330px; padding-right: 0; }
  .h4-story-photo.is-large { width: 72%; height: 300px; border-top-left-radius: 55px; }
  .h4-story-photos.is-single .h4-story-photo.is-large { width: 100%; }
  .h4-story-photo.is-small { height: 180px; width: 46%; bottom: 30px; border-width: 6px; }
  .h4-story-note { font-size: 20px; left: 11px; bottom: 0; }
  .h4-drawn-star { font-size: 38px; right: -42px; top: 6px; }
  .h4 .h4-story-copy h2 { font-size: 35px; letter-spacing: -1px; margin-bottom: 21px; }
  .h4-story-copy > p:not(.h4-eyebrow) { font-size: 13px; }
  .h4-makers-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .h4-maker-photo { height: 255px; }
  .h4 .h4-maker-head h3 { font-size: 27px; }
  .h4-maker > p { font-size: 13px; }
  .h4-join { padding: 44px 0 42px; }
  .h4-join-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .h4 .h4-join h2 { font-size: 36px; letter-spacing: -1px; }
  .h4-join-layout > div > p:not(.h4-eyebrow) { font-size: 13px; }
  .h4-join-actions { gap: 22px; }
  .h4-join-aside { border-left: 0; border-top: 1px solid rgba(250, 248, 242, .25); padding: 29px 0 0; display: flex; gap: 25px; align-items: flex-start; }
  .h4-join-star { font-size: 54px; margin: 3px 0 0; }
  .h4 .h4-join-aside h3 { font-size: 25px; line-height: 1.2; margin-bottom: 10px; }
  .h4-visit { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .h4-visit-copy > p:not(.h4-eyebrow) { font-size: 13px; margin: 21px 0 23px; }
  .h4-faq summary { font-size: 13.5px; padding: 18px 0; }
  .h4-location-top { height: 110px; }
  .h4-location-body { padding: 25px; }
  .h4 .h4-location-body h3 { font-size: 33px; }
  .h4-sponsors { padding: 48px 0 52px; }
  .h4 .h4-sponsors-copy h2 { font-size: 34px; }
  .h4-sponsor-carousel { --h4-per: 2; --h4-gap: 12px; }
  .h4-sponsor-tile { height: 112px; padding: 8px 10px; }
  .h4-sponsor-tile img { height: 88px !important; }
  .h4-sponsor-tile.is-text span { font-size: 17px; }
  .h4-mbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255, 253, 247, .98); border-top: 1px solid var(--h4-line2); box-shadow: 0 -5px 25px rgba(20, 53, 20, .04); padding: 10px 9px max(10px, env(safe-area-inset-bottom)); }
  .h4-mbar > a, .h4-mbar > button { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; min-height: 42px; font-size: 10px; position: relative; padding: 0; color: var(--h4-ink); }
  .h4-mbar .h4-i { width: 19px; height: 19px; }
  .h4-mbar .h4-saved-count { position: absolute; top: -2px; right: 26%; font-size: 8px; min-width: 15px; height: 15px; padding: 0 4px; }
  .h4 { padding-bottom: 74px; }
  .h4-toast { bottom: 86px; font-size: 12px; width: max-content; padding: 12px 17px; }
  .h4-dialog { padding: 30px 22px; }
  .h4 .h4-dialog h2 { font-size: 34px; }
  .h4-dialog--product { padding: 0; }
  .h4-pd { grid-template-columns: minmax(0, 1fr); }
  .h4-pd-photo { height: 220px !important; min-height: 0; }
  .h4-pd-body { padding: 26px; }
  .h4 .h4-pd-body h2 { font-size: 31px; }
  .h4-dialog--gallery { padding: 23px 17px; }
  .h4 .h4-gallery-head h2 { font-size: 29px; max-width: 250px; }
  .h4-dialog--gallery > img { height: 48dvh !important; }
  .h4-gallery-bottom { gap: 15px; align-items: flex-start; }
  .h4-form-row { grid-template-columns: minmax(0, 1fr); }
  /* Keep site-wide floating buttons clear of the action bar (this file only loads on Template 4). */
  .h4-body #zhLauncher { bottom: 156px !important; }
  .h4-body #zhPanel { bottom: 224px !important; max-height: calc(100dvh - 300px) !important; }
}
@media (max-width: 360px) {
  .h4-shell { width: calc(100% - 32px); }
  .h4 .h4-hero h1 { font-size: 40px; }
  .h4-hero-actions { gap: 12px; }
  .h4-hero-actions .h4-btn { padding-inline: 11px; font-size: 10.5px; }
  .h4-hero-visual { height: 320px; }
  .h4 .h4-next-info h2 { font-size: 21px; }
  .h4 .h4-story-copy h2 { font-size: 32px; }
  .h4 .h4-join h2 { font-size: 33px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .h4 *, .h4 *::before, .h4 *::after { animation: none !important; transition: none !important; }
}
