/* ==========================================================================
   DOPAMINE DESIGN SYSTEM — DMA Squarespace Custom CSS
   Downtown Medford Association — March 2026
   Version 4.15 -- Section 29 patch 2: !important mirrored onto the collection button rules, event-palette link colors added
   
   CHANGELOG:
   v2.0 — Fixed dark section text color inheritance
   v2.1 — Split button base from Primary/Secondary/Tertiary
   v2.2 — Fixed button variant class names (sqs-button-element, not sqs-block-)
   v3.0 — Consolidated all session orphan rules into proper sections:
          - .dma-section-header-row moved to Section 8 (Section Patterns)
          - Summary block hover/radius moved to Section 6 (Cards)
          - Explore Downtown card hover moved to Section 14 (Components)
          - Removed failed rules (summary-item-list flex, gallery/wrapper centering)
   v3.1 — Polish pass (verified against live site):
          - Footer: text-decoration:none on all links, paragraph/legal row sizing + muted tones
          - Summary blocks: grid alignment padding reset, title/excerpt/metadata typography
          - Newsletter: grid-template-rows shrunk from 28.5px to 12px per row, tighter padding
            (section was 401px, now ~225px — killed the blue dead space below the form)
          - Wide viewport: content-wrapper capped at 1400px + centered. Backgrounds stay
            full-bleed. Fixes card clustering on ultrawide monitors (1600px+).
          - Mobile: newsletter padding-bottom 36px, section header rows stack, footer breathing room
          - KNOWN: 3 elements share id="support" (2 nav folders + 1 section). CSS hits all 3
            but nav folders are 0-height so no visual impact. Document for future cleanup.
   
   v3.2 — Moved restaurant directory CSS from inline <style> to Section 16.
          Shared data architecture: 47 restaurants + render engine in Code Injection > Header.
   v3.3 — Added Section 17: Shop Gateway Cards (same overlay pattern as Eat + Drink).
          6 cards: All Shops & Services, Retail + Boutiques, Wellness + Beauty,
          Salons + Barbers, Tattoo + Piercing, Downtown Markets.
          Slugs: /all-shops, /retail, /wellness, /salons, /tattoo, /markets.
   v4.0 — Elevation foundation (April 11, 2026). ADDITIVE ONLY:
          - Motion tokens added to :root (Sections 18-23 reference these)
          - Sections 18-23 appended: entrance animations, dark section atmosphere,
            rhythm breakers, hero enhancements, card interactions, reduced-motion
          - All new classes are opt-in. Zero existing rules modified.
          - Existing rules keep hardcoded values until per-page retrofit.
   v4.1 -- Homepage retrofit (April 11, 2026):
          - .dma-btn-enhanced added to Section 22 (scoped button hover lift + press)
          - Fixed .dark-section > * to .dark-section > .content-wrapper (> * broke
            Squarespace .section-background sizing, collapsing hero image to 0x0)
          - Fixed: !important on all entrance animation opacity/transform/transition
            (Squarespace Fluid Engine per-block rules override by cascade order)
          - Amplified entrance distance 32->48px, duration 400->700ms (rise), 600->900ms (fade)
          - Amplified stagger 80->120ms, hero stagger 150->200ms
          - Amplified dark section Cobalt glow 6%->15%, noise 3%->5%
          - Slide entrance distance 24->32px
          - No existing Sections 1-17 rules modified. Retrofit classes added via dma-retrofit.js.
   v4.2 -- Section 24 events cards added (April 24, 2026, commit 7ff6852):
          - Section 24 appended: ~334 lines for branded event card rendering.
          - Includes grid layout, card chrome, image fallback, skeleton loading,
            empty/error states, reduced-motion handling.
          - Strictly additive (Lesson 54): appended to bottom of existing CSS,
            no Sections 1-23 rules modified.
          - Companion files in same commit: functions/api/events.js,
            js/events-cards.js, js/tm-events-filter.js.
          (Reconstructed from git history; original entry was missing.)
   v4.3 -- H1 typography lock + Sunny anchor-ID extension (April 27-28, 2026):
          - Global H1 uppercase + letter-spacing per Design System Section 7
            (commit 1c5a79c, April 27, 2026).
          - Sunny background CSS extended to anchor-ID prefix [id^="sunny-"]
            so any section with id starting "sunny-" auto-paints Sunny + tightens
            spacing (commit b0c0b2f, April 28, 2026).
          (Reconstructed from git history; original entry was missing.)
   v4.4 -- Placeholder fill for shop/restaurant cards without photos (April 29, 2026):
          - Section 16 .dma-card-img:has(span) rule: cards in placeholder state
            (img field empty -> renderer outputs <span>photo</span>) now fill solid Ink
            black instead of light gray fog. Span text hidden via visibility:hidden.
          - Real-photo cards (.dma-card-img > img) untouched.
   v4.5 -- Section 25 site-wide Sunny newsletter button (May 28, 2026, commit ce6e346):
          - Section 25 appended: .sqs-block-newsletter button gets the Sunny treatment
            site-wide (mirrors homepage #newsletter button) so /subscribe and any future
            Newsletter Block match the homepage button.
          - Header version bump was missed at the time; backfilled here.
   v4.6 -- Newsletter button label contrast fix (May 29, 2026):
          - May 29: homepage #newsletter button label + icon color white -> Ink for
            contrast on Sunny button.
   v4.7 -- Section 26 directory card phone + partner pill + line icons (June 4, 2026, commit ad8d9eb shipped the rules; header bumped here):
          - .dma-card-phone: Cobalt tel:+1 phone line, peer to .dma-card-address.
          - .dma-card-partner: Sunny pill, scaffold only, renders on record.partner===true (item 35).
          - .dma-card-address / .dma-card-phone set to flex+gap; .dma-card-icon inline SVG,
            stroke:currentColor so the pin inherits the grey address color, phone icon Cobalt.
          - Companion change shipped in the renderers (restaurants/shops): hours line dropped.
   v4.8 -- Section 27 light-section Secondary button + Sunny badge fixes (July 8, 2026):
          - [data-section-theme="light"] Secondary button rules added. The Section 5
            light-1/light-2 selectors never match (Squarespace renders "light"); they are
            left in place as dead rules pending the dead-selector audit (Build Status item 58).
          - .dma-badge.dma-badge-sunny re-asserted with !important. Section 16's later
            grey .dma-badge redefinition was overriding the Section 7 Sunny variant.
          - PM addition: html scroll-padding-top 100px, anchor jumps were landing under
            the fixed nav + util-bar stack (92px) site-wide (Lesson 211).

   v4.9 -- Section 28 blog grid cards (July 11, 2026):
          - Card treatment for the /blog Basic Grid layout (News + Stories),
            plus thumb and placeholder containers for js/blog-cards.js v1
            (injected thumbs for posts without featured images).

   v4.10 -- Section 28 same-day patch (July 11, 2026, Andy visual review):
          - Card titles: blog-title is an h1 and inherited the global H1
            uppercase + page-heading scale, ballooning card height. Patched
            to 19px/600/no transform (between .dma-event-card 16px and page
            headings). Flex column added so Read More pins to card bottom.
          - Placeholder tiles: rgba tints replaced with solid palette fills;
            the 0.18 Sunny tint read beige on Cloud, violating the
            no-earth-tones palette rule. Same-session supersede within our
            own section, not an additive-only violation.

   v4.11 -- Section 28 title trio !important (July 11, 2026, round 2):
          - The v4.10 title rule LOST the cascade: our own global h1
            uppercase !important beats an unimportant rule on transform,
            and Squarespace tweak styles beat it on size/weight via source
            order (blog list titles are h1 elements). !important added to
            size/weight/transform; precedented (7 uppercase !important
            rules already in file), justified as overriding our own global.

   v4.12 -- Section 28 round 3, Read More on-palette (July 11, 2026):
          - Blog list Read More links rendered Squarespace theme salmon
            rgb(212,150,125), off-palette. Restyled to the Section 6
            .dma-card-link language (Cobalt, bold, 14px, no underline)
            with a Deep Cobalt hover. Dual .dma-card-link definitions
            (Sections 6 and 16) flagged to the item 58 audit.

   v4.13 -- Section 29: Forks & Friends event page (August 19, 2026):
          - Event palette for /forks-and-friends, scoped entirely to
            collection 69bc612930e37e059dd4ea89 under the Event
            Sub-Brand Rule (Design System v2 Section 25, extended to
            a full page August 19). Cream/near-black section repaints,
            ff-teal-/ff-orange- anchor-prefix H2 tints, near-black
            primary buttons with inverted fills on black bands,
            outlined secondaries, .ff-urgent scarcity text utility.
            Palette pending verification against the source SVGs.

   v4.14 -- Section 29 patch: accent-tint specificity (August 19, 2026):
          - The ff-teal-/ff-orange- H2 tint rules LOST to Section 29's
            own section text-color rules (measured live: the H2 in
            [id="ff-teal-stroll"] computed rgb(4,6,8), not #4EA8B5).
            The text-color rules carry one more element than the tints
            carried attributes-plus-elements, so the tints lost on
            specificity, not source order. Rewritten as
            section[id^="ff-..."][data-section-theme] h2, which adds
            the section element and a second attribute and now outranks
            the text-color rules.

   v4.15 -- Section 29 patch 2: button !important + link colors (August 20, 2026):
          - The Section 29 button rules LOST to the sitewide button
            rules (measured live: the Eventbrite primary computed
            rgb(59,92,204), Cobalt). Section 5 carries !important on
            every button declaration, and importance beats ID
            specificity, so the collection scope alone never won.
            !important mirrored onto all Section 29 button rules
            (the secondaries face the same opposition from Section 5
            plus the Section 27 light-theme secondary rules), and the
            secondary hover states added per ruling: outlined inverts
            to solid, black fill on cream sections, cream fill on
            black bands. Eight button rules total, 4 primary and
            4 secondary.
          - Event-palette link colors added for the page's Markdown
            and HTML block content; sitewide link color rendered
            Cobalt throughout, off the event palette. Near-black on
            cream sections, cream on black bands, orange underline,
            hovers red (light) and orange (black). !important
            mirrored: the file's own sitewide link rules carry it,
            and the live Cobalt winner is Squarespace-native CSS not
            inspectable from the repo side, so the mirror is the only
            form that wins in both cases.

   STRUCTURE:
   1. CSS Custom Properties (palette + typography tokens + v4.0 motion tokens)
   2. Font Import + Global Typography (font-family only, no color forcing)
   3. Light Section Text Colors (scoped to light themes)
   4. Dark Section Adjustments (minimal — let Squarespace handle it)
   5. Buttons
   6. Cards (includes Squarespace Summary Block card styling)
   7. Tags + Badges
   8. Section Patterns (includes reusable section header row)
   9. Navigation Overrides
   10. Footer
   11. Utility Classes
   12. Hero Section Helpers
   13. Responsive
   14. Squarespace Component Overrides (Explore cards, etc.)
   15. Eat + Drink Gateway Cards
   16. Restaurant Directory (All Restaurants Code Block)
   17. Shop Gateway Cards
   18. Motion + Entrance Animations (v4.0)
   19. Dark Section Atmosphere (v4.0)
   20. Colored Section Depth + Rhythm Breakers (v4.0)
   21. Hero Enhancements (v4.0)
   22. Card + Interaction Enhancements (v4.0)
   23. Accessibility: prefers-reduced-motion (v4.0)
   ========================================================================== */


/* ==========================================================================
   1. CSS CUSTOM PROPERTIES
   ========================================================================== */

:root {
  /* Primary palette */
  --color-cloud: #FAFAF8;
  --color-ink: #1A1A18;
  --color-cobalt: #3B5CCC;         
  --color-red: #E84B2F;
  --color-sunny: #F5C842;
  
  /* Extended palette */
  --color-deep-cobalt: #2D4AB0;
  --color-deep-red: #C23A20;
  --color-fog: #E8E8E4;
  --color-slate: #6B6B66;
  --color-green: #1E8C5A;
  
  /* Typography tokens */
  --font-primary: 'Bricolage Grotesque', sans-serif;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;
  
  /* Spacing tokens */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  
  /* Motion tokens (v4.0) */
  --ease-snap: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 600ms;
  --duration-hero: 800ms;
  --enter-distance: 48px;
  --enter-distance-sm: 24px;
  --stagger-delay: 80ms;
  --hero-stagger: 150ms;
}


/* ==========================================================================
   2. FONT IMPORT + GLOBAL TYPOGRAPHY
   Only font-family and weight overrides here. NO color forcing.
   Color is handled per-section in sections 3 and 4.
   ========================================================================== */

/* Import Bricolage Grotesque — all weights we use */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&display=swap');

/* Global font-family override — applies everywhere */
body,
h1, h2, h3, h4, h5, h6,
p, li, a, span, blockquote,
.header-title-text a,
.header-nav-list a,
.header-nav-item a,
[data-section-theme] h1,
[data-section-theme] h2,
[data-section-theme] h3,
[data-section-theme] p,
[data-section-theme] li,
[data-section-theme] a,
.sqs-block-content h1,
.sqs-block-content h2,
.sqs-block-content h3,
.sqs-block-content p,
.sqsrte-large,
.sqsrte-small,
.sqs-block-button-element {
  font-family: var(--font-primary) !important;
}

/* Typography scale — sizes and weights only, no colors */
h1, .sqs-block-content h1 {
  font-size: 24px !important;
  font-weight: var(--weight-extrabold) !important;
  line-height: 1.2 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
}

h2, .sqs-block-content h2 {
  font-size: 18px !important;
  font-weight: var(--weight-bold) !important;
  line-height: 1.3 !important;
}

h3, .sqs-block-content h3 {
  font-size: 16px !important;
  font-weight: var(--weight-semibold) !important;
  line-height: 1.4 !important;
}

p, .sqs-block-content p, li {
  font-size: 14px !important;
  font-weight: var(--weight-regular) !important;
  line-height: 1.6 !important;
}

/* Display size — for hero headlines */
.dma-display,
.sqsrte-large {
  font-size: 36px !important;
  font-weight: var(--weight-extrabold) !important;
  letter-spacing: -1.5px !important;
  line-height: 1.1 !important;
}

/* UI Label — nav, tags, uppercase micro text */
.dma-label {
  font-size: 11px !important;
  font-weight: var(--weight-semibold) !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
}


/* ==========================================================================
   3. LIGHT SECTION TEXT COLORS
   These rules ONLY apply to light-themed sections.
   Squarespace 7.1 uses [data-section-theme="light-1"] etc.
   We force Ink text on these so our design system overrides the template.
   ========================================================================== */

/* Light sections: force Cloud background */
[data-section-theme="light-1"],
[data-section-theme="light-2"] {
  background-color: var(--color-cloud);
}

/* Light sections: force Ink text */
[data-section-theme="light-1"] h1,
[data-section-theme="light-1"] h2,
[data-section-theme="light-1"] h3,
[data-section-theme="light-1"] h4,
[data-section-theme="light-1"] p,
[data-section-theme="light-1"] li,
[data-section-theme="light-1"] span,
[data-section-theme="light-1"] blockquote,
[data-section-theme="light-1"] .sqs-block-content,
[data-section-theme="light-2"] h1,
[data-section-theme="light-2"] h2,
[data-section-theme="light-2"] h3,
[data-section-theme="light-2"] h4,
[data-section-theme="light-2"] p,
[data-section-theme="light-2"] li,
[data-section-theme="light-2"] span,
[data-section-theme="light-2"] blockquote,
[data-section-theme="light-2"] .sqs-block-content {
  color: var(--color-ink) !important;
}

/* Links in light sections */
[data-section-theme="light-1"] a:not(.sqs-block-button-element),
[data-section-theme="light-2"] a:not(.sqs-block-button-element) {
  color: var(--color-cobalt) !important;
}

[data-section-theme="light-1"] a:not(.sqs-block-button-element):hover,
[data-section-theme="light-2"] a:not(.sqs-block-button-element):hover {
  color: var(--color-deep-cobalt) !important;
}

/* Secondary text in light sections */
[data-section-theme="light-1"] .sqsrte-small,
[data-section-theme="light-2"] .sqsrte-small,
[data-section-theme="light-1"] .dma-secondary-text,
[data-section-theme="light-2"] .dma-secondary-text {
  color: var(--color-slate) !important;
}


/* ==========================================================================
   4. DARK / DARKEST SECTION ADJUSTMENTS
   We do NOT force text colors here. Squarespace natively sets white text
   on dark/darkest themes. We only ensure correct backgrounds and tweak links.
   ========================================================================== */

/* Ensure dark sections use Ink background, not pure black */
[data-section-theme="dark-1"],
[data-section-theme="dark-2"],
[data-section-theme="darkest-1"],
[data-section-theme="darkest-2"] {
  background-color: var(--color-ink);
}

/* Links in dark sections — Cobalt still works on dark backgrounds */
[data-section-theme="dark-1"] a:not(.sqs-block-button-element),
[data-section-theme="dark-2"] a:not(.sqs-block-button-element),
[data-section-theme="darkest-1"] a:not(.sqs-block-button-element),
[data-section-theme="darkest-2"] a:not(.sqs-block-button-element) {
  color: var(--color-cobalt) !important;
}

/* Secondary/muted text on dark sections */
[data-section-theme="dark-1"] .sqsrte-small,
[data-section-theme="dark-2"] .sqsrte-small,
[data-section-theme="darkest-1"] .sqsrte-small,
[data-section-theme="darkest-2"] .sqsrte-small {
  opacity: 0.7;
}


/* ==========================================================================
   5. BUTTONS
   
   Squarespace button class structure:
   - Base: .sqs-block-button-element (always present)
   - Variants: .sqs-button-element--primary / --secondary / --tertiary
     NOTE: variant classes use "sqs-button-element" (no "block")
           while the base class uses "sqs-block-button-element"
   ========================================================================== */

/* Shared button base — font, padding, radius (applies to ALL buttons) */
.sqs-block-button-element {
  border-radius: 4px !important;
  font-family: var(--font-primary) !important;
  font-weight: var(--weight-bold) !important;
  font-size: 14px !important;
  letter-spacing: 0.3px !important;
  padding: 12px 24px !important;
  transition: all 0.2s ease !important;
  text-transform: none !important;
}

/* Primary button — Cobalt solid */
.sqs-button-element--primary,
.header-actions .btn {
  background-color: var(--color-cobalt) !important;
  color: #FFFFFF !important;
  border: none !important;
}
.sqs-button-element--primary:hover,
.header-actions .btn:hover {
  background-color: var(--color-deep-cobalt) !important;
}

/* Secondary button — outline, white border on dark sections */
.sqs-button-element--secondary {
  background-color: transparent !important;
  border: 2px solid #FFFFFF !important;
  color: #FFFFFF !important;
}
.sqs-button-element--secondary:hover {
  background-color: rgba(250, 250, 248, 0.15) !important;
}

/* Secondary button on light sections — Ink border instead of white */
[data-section-theme="light-1"] .sqs-button-element--secondary,
[data-section-theme="light-2"] .sqs-button-element--secondary {
  border-color: var(--color-ink) !important;
  color: var(--color-ink) !important;
}
[data-section-theme="light-1"] .sqs-button-element--secondary:hover,
[data-section-theme="light-2"] .sqs-button-element--secondary:hover {
  background-color: var(--color-ink) !important;
  color: var(--color-cloud) !important;
}

/* Tertiary button — ghost, text only */
.sqs-button-element--tertiary {
  background-color: transparent !important;
  border: none !important;
  color: var(--color-cobalt) !important;
}
.sqs-button-element--tertiary:hover {
  background-color: rgba(59, 92, 204, 0.12) !important;
}

/* Red button — apply via custom class .dma-btn-red */
.dma-btn-red .sqs-block-button-element,
.dma-btn-red.sqs-block-button-element {
  background-color: var(--color-red) !important;
  color: #FFFFFF !important;
}
.dma-btn-red .sqs-block-button-element:hover,
.dma-btn-red.sqs-block-button-element:hover {
  background-color: var(--color-deep-red) !important;
}

/* Pill variant — 24px radius for softer CTAs */
.dma-btn-pill .sqs-block-button-element,
.dma-btn-pill.sqs-block-button-element {
  border-radius: 24px !important;
}


/* ==========================================================================
   6. CARDS
   Includes both custom DMA card classes AND Squarespace Summary Block
   card styling (event cards, blog cards pulled from collections).
   ========================================================================== */

/* --- Custom DMA card classes (for Code Block / manual cards) --- */

/* Standard card on light backgrounds */
.dma-card {
  background-color: var(--color-cloud);
  border: 1px solid var(--color-fog);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dma-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26, 26, 24, 0.08);
}

/* Dark card — for event cards on light backgrounds */
.dma-card-dark {
  background-color: var(--color-ink);
  border: none;
  border-radius: 10px;
  overflow: hidden;
  color: var(--color-cloud);
}

/* Cobalt card — featured events */
.dma-card-cobalt {
  background-color: var(--color-cobalt);
  border: none;
  border-radius: 10px;
  overflow: hidden;
  color: #FFFFFF;
}

/* Red card — urgent/signature events */
.dma-card-red {
  background-color: var(--color-red);
  border: none;
  border-radius: 10px;
  overflow: hidden;
  color: #FFFFFF;
}

/* Card body padding */
.dma-card-body,
.dma-card-dark .dma-card-body,
.dma-card-cobalt .dma-card-body,
.dma-card-red .dma-card-body {
  padding: var(--space-lg);
}

/* Card tag */
.dma-card-tag {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-sm);
}

/* Card title */
.dma-card-title {
  font-weight: var(--weight-bold);
  font-size: 18px;
  margin-bottom: var(--space-sm);
}

/* Card description */
.dma-card-desc {
  font-weight: var(--weight-regular);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-slate);
}

.dma-card-dark .dma-card-desc {
  color: rgba(250, 250, 248, 0.7);
}

.dma-card-cobalt .dma-card-desc,
.dma-card-red .dma-card-desc {
  color: rgba(255, 255, 255, 0.85);
}

/* Card link */
.dma-card-link {
  color: var(--color-cobalt);
  font-weight: var(--weight-bold);
  font-size: 14px;
  text-decoration: none;
}

.dma-card-dark .dma-card-link {
  color: var(--color-cobalt);
}

.dma-card-cobalt .dma-card-link,
.dma-card-red .dma-card-link {
  color: #FFFFFF;
  text-decoration: underline;
}

/* --- Squarespace Summary Block card styling --- */
/* These target the auto-generated cards from Summary Blocks
   pulling from Events and Blog collections. */

/* Summary card hover — subtle lift + shadow (v3: merged from session) */
.summary-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 10px;
}

.summary-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26, 26, 24, 0.08);
}

/* Summary card thumbnail — rounded corners (v3: merged from session) */
.summary-thumbnail {
  border-radius: 10px !important;
  overflow: hidden !important;
}

/* Summary Block grid alignment — ensure summary grids align with
   other content blocks (Image blocks, Code Blocks) across sections.
   Squarespace sometimes adds extra padding on summary-item-list. */
.sqs-gallery-container,
.summary-item-list {
  padding: 0 !important;
}

/* Summary card text — consistent sizing with design system */
.summary-title a,
.summary-title {
  font-family: var(--font-primary) !important;
  font-size: 16px !important;
  font-weight: var(--weight-bold) !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
}

/* Summary card excerpt */
.summary-excerpt p {
  font-size: 13px !important;
  color: var(--color-slate) !important;
  line-height: 1.5 !important;
}

/* Summary card metadata (dates, categories) */
.summary-metadata-container,
.summary-metadata-container a,
.summary-metadata-container span {
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-weight: var(--weight-semibold) !important;
  color: var(--color-slate) !important;
  text-decoration: none !important;
}



/* ==========================================================================
   7. TAGS + BADGES
   ========================================================================== */

.dma-tag {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: var(--weight-bold);
  display: inline-block;
}

.dma-tag-cobalt { color: var(--color-cobalt); }
.dma-tag-red { color: var(--color-red); }
.dma-tag-ink { color: var(--color-ink); }

.dma-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 24px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: var(--weight-bold);
}

.dma-badge-cobalt {
  background-color: var(--color-cobalt);
  color: #FFFFFF;
}

.dma-badge-red {
  background-color: var(--color-red);
  color: #FFFFFF;
}

.dma-badge-sunny {
  background-color: var(--color-sunny);
  color: var(--color-ink);
}


/* ==========================================================================
   8. SECTION PATTERNS
   Includes section-level layouts, dividers, colored section overrides,
   and the reusable section header row pattern used in Code Blocks.
   ========================================================================== */

/* Generic section header (for custom HTML outside Squarespace) */
.dma-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-lg);
}

/* Reusable section header row — used in Code Blocks on homepage
   Pattern: H2 left, "View all" link right, wraps on mobile.
   Used by: What's Happening header, Explore Downtown header.
   (v3: merged from session — uses !important for Squarespace specificity) */
.dma-section-header-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-bottom: var(--space-lg) !important;
}

.dma-section-header-row h2 {
  margin: 0 !important;
}

.dma-section-header-row a {
  font-size: 13px !important;
  font-weight: var(--weight-semibold) !important;
  letter-spacing: 0.3px !important;
  color: var(--color-cobalt) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.dma-section-header-row a:hover {
  color: var(--color-deep-cobalt) !important;
}

/* Section divider — thin Fog line */
.dma-divider {
  border: none;
  border-top: 1px solid var(--color-fog);
  margin: var(--space-xl) var(--space-xl);
}

/* Cobalt section — generic class (for manual use) */
.dma-section-cobalt {
  background-color: var(--color-cobalt) !important;
}

.dma-section-cobalt h1,
.dma-section-cobalt h2,
.dma-section-cobalt h3,
.dma-section-cobalt p,
.dma-section-cobalt span {
  color: #FFFFFF !important;
}

/* Newsletter section — targeted by anchor link #newsletter
   Uses DARKEST 1 theme (white text native) with Cobalt background override.
   Contains: H2 headline, paragraph subtext, Squarespace Newsletter block. */
#newsletter,
#newsletter.page-section,
#newsletter .section-background,
#newsletter[data-section-theme] {
  background-color: var(--color-cobalt) !important;
}

/* Tighten newsletter section — Fluid Engine sets 8 rows at ~28.5px each,
   but content only fills ~140px. Shrinking rows to 12px collapses the dead
   space below the form. Blocks stretch beyond their rows naturally via CSS Grid.
   Tested live: section goes from 401px to ~225px. */
#newsletter.page-section {
  min-height: 0 !important;
  padding-top: 36px !important;
  padding-bottom: 16px !important;
}

#newsletter .page-section__content {
  min-height: 0 !important;
}

#newsletter .fluid-engine {
  min-height: 0 !important;
  grid-template-rows: repeat(8, 12px) !important;
}

/* Force white text on all newsletter content */
#newsletter h2,
#newsletter p,
#newsletter span,
#newsletter label,
#newsletter .newsletter-form-header-title,
#newsletter .newsletter-form-header-description,
#newsletter .newsletter-form-disclaimer {
  color: #FFFFFF !important;
}

/* Newsletter email input field — white border, transparent background */
#newsletter .newsletter-form-field-element,
#newsletter input[type="email"] {
  background-color: rgba(255, 255, 255, 0.15) !important;
  border: 2px solid rgba(255, 255, 255, 0.6) !important;
  border-radius: 4px !important;
  color: #FFFFFF !important;
  font-family: var(--font-primary) !important;
  font-size: 14px !important;
  padding: 12px 16px !important;
}

/* Placeholder text color */
#newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Newsletter submit button — Sunny accent on Cobalt background */
#newsletter .newsletter-form-button,
#newsletter button[type="submit"],
#newsletter .sqs-block-button-element {
  background-color: var(--color-sunny) !important;
  color: var(--color-ink) !important;
  border: none !important;
  border-radius: 4px !important;
  font-family: var(--font-primary) !important;
  font-weight: var(--weight-bold) !important;
  font-size: 14px !important;
  padding: 12px 24px !important;
  cursor: pointer !important;
}

#newsletter .newsletter-form-button:hover,
#newsletter button[type="submit"]:hover,
#newsletter .sqs-block-button-element:hover {
  background-color: #E3B735 !important;
}

/* May 29, 2026: homepage #newsletter button label + icon were rendering white.
   They are child spans of the button, so the "force white text" rule above
   (#newsletter span, line ~702) paints them white, beating the Ink color they
   would otherwise inherit from the button's own color declaration. Repaint label +
   icon Ink for contrast on the Sunny button background. Pairs with Section 25
   (site-wide Sunny newsletter button, May 28). Wins on specificity:
   #newsletter .class (1,1,0) beats #newsletter span (1,0,1). */
#newsletter .newsletter-form-button-label,
#newsletter .newsletter-form-button-icon {
  color: #1A1A18 !important;
}

/* Sunny section — generic class (for manual use) */
.dma-section-sunny {
  background-color: var(--color-sunny) !important;
}

.dma-section-sunny h1,
.dma-section-sunny h2,
.dma-section-sunny h3,
.dma-section-sunny p,
.dma-section-sunny span {
  color: var(--color-ink) !important;
}

/* Sunny accent sections — original anchor #support plus [id^="sunny-"] prefix.
   Sunny yellow background with Ink text. Used on Support strip (homepage)
   and closing strips (/experience, /parks, /markets via anchor `sunny-closer`).
   Uses LIGHT 1 theme so Ink text inherits natively; CSS overrides background only.

   Convention (locked April 28, 2026): any section needing Sunny treatment gets
   anchor ID starting with "sunny-" (e.g., sunny-closer, sunny-stats, sunny-support).
   The "sunny-" prefix is the decorative namespace — never used for semantic anchors.
   Homepage #support kept for backward compatibility with any external inbound links;
   may be migrated to #sunny-support in a future session. */
#support, [id^="sunny-"],
#support.page-section, [id^="sunny-"].page-section,
#support .section-background, [id^="sunny-"] .section-background,
#support[data-section-theme], [id^="sunny-"][data-section-theme] {
  background-color: var(--color-sunny) !important;
}

/* Tighten support / sunny strip spacing */
#support.page-section, [id^="sunny-"].page-section {
  min-height: 0 !important;
  padding-top: var(--space-xl) !important;
  padding-bottom: var(--space-xl) !important;
}

#support .page-section__content, [id^="sunny-"] .page-section__content,
#support .fluid-engine, [id^="sunny-"] .fluid-engine {
  min-height: 0 !important;
}

/* Force Ink text on all support content */
#support h2,
#support p,
#support span {
  color: var(--color-ink) !important;
}

/* Support strip buttons — Cobalt primary on Sunny background */
#support .sqs-block-button-element {
  background-color: var(--color-cobalt) !important;
  color: #FFFFFF !important;
  border: none !important;
}

#support .sqs-block-button-element:hover {
  background-color: var(--color-deep-cobalt) !important;
}

/* Page background */
body {
  background-color: var(--color-cloud) !important;
}

/* Content width cap — prevents content from stretching on ultrawide screens.
   Backgrounds (Cobalt, Sunny, Ink) stay full-bleed via section-background.
   Content stays centered at 1400px max. Standard practice for wide monitors.
   Tested at 2560px: all sections centered, images intact, no layout breakage.
   Tested at 1440px: no visual change (content fits within 1400px naturally). */
.page-section .content-wrapper {
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

footer .content-wrapper,
#footer-sections .content-wrapper {
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Downtown Stories section — targeted by anchor link #downtown-stories
   Light gray background (#F3F3EF) for subtle contrast from Cloud.
   Contains: section header row + Summary Block pulling from News + Stories blog. */
#downtown-stories,
#downtown-stories.page-section,
#downtown-stories .section-background,
#downtown-stories[data-section-theme] {
  background-color: #F3F3EF !important;
}

/* Tighten Downtown Stories section spacing */
#downtown-stories.page-section {
  min-height: 0 !important;
}

#downtown-stories .page-section__content,
#downtown-stories .fluid-engine {
  min-height: 0 !important;
}

/* Downtown Stories — fix Summary Block card widths.
   Squarespace's inline float widths (~21%) only fill ~65% of the container.
   Fixed percentages break at different viewports because Squarespace's
   inline margins shift. Flexbox with nowrap guarantees 3 equal cards
   that fill the row at ANY width — cards physically cannot wrap.
   Desktop-only — below 768px Squarespace stacks natively.
   Tested at 800px, 1440px, and 2560px — cards stay in one row at all widths. */
@media (min-width: 768px) {
  #downtown-stories .summary-item-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 24px !important;
    margin: 0 !important;
  }
  #downtown-stories .summary-item {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    flex: 1 1 0% !important;
    min-width: 0 !important;
  }
  #downtown-stories .summary-thumbnail {
    overflow: hidden !important;
  }
}


/* ==========================================================================
   9. NAVIGATION OVERRIDES
   These are backup styles for Squarespace's native nav elements.
   The custom mega menu (in Header injection) handles most nav styling.
   These catch any native elements that peek through.
   ========================================================================== */

/* Hide Squarespace's native nav if custom mega menu is active */
.header-nav-wrapper {
  /* Uncomment if you need to fully hide native nav:
  display: none !important; */
}

/* Squarespace header background */
.header-inner {
  background-color: var(--color-ink) !important;
}


/* ==========================================================================
   10. FOOTER
   ========================================================================== */

/* Footer uses dark theme — Squarespace handles white text natively.
   We just ensure Ink background and Bricolage Grotesque. */
footer,
.footer-inner,
[data-section-theme="dark-1"] footer,
[data-section-theme="darkest-1"] footer {
  background-color: var(--color-ink) !important;
}

footer a:not(.sqs-block-button-element) {
  color: rgba(250, 250, 248, 0.7) !important;
  text-decoration: none !important;
  transition: color 0.15s ease;
}

footer a:not(.sqs-block-button-element):hover {
  color: var(--color-cloud) !important;
}

/* Footer section headers */
footer h3, footer h4 {
  font-size: 10px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  opacity: 0.5;
}

/* Footer body text — address, tagline, legal row */
footer p,
footer .sqs-block-content p {
  font-size: 13px !important;
  line-height: 1.7 !important;
  color: rgba(250, 250, 248, 0.6) !important;
}

/* Footer link lists — tighter line height for nav columns */
footer li {
  font-size: 13px !important;
  line-height: 1.8 !important;
}

/* Legal row at very bottom — smaller, more muted */
footer .page-section:last-child p,
#footer-sections .page-section:last-child p {
  font-size: 12px !important;
  color: rgba(250, 250, 248, 0.4) !important;
}

/* Legal row links — same muted tone, brighten on hover */
footer .page-section:last-child a,
#footer-sections .page-section:last-child a {
  color: rgba(250, 250, 248, 0.4) !important;
  text-decoration: none !important;
}

footer .page-section:last-child a:hover,
#footer-sections .page-section:last-child a:hover {
  color: var(--color-cloud) !important;
}

/* Tighten footer — collapse Fluid Engine empty grid rows */
footer,
footer .page-section,
#footer-sections,
#footer-sections .page-section,
footer .content-wrapper,
#footer-sections .content-wrapper {
  min-height: 0 !important;
  padding-bottom: var(--space-lg) !important;
}

footer .page-section__content,
footer .fluid-engine,
#footer-sections .page-section__content,
#footer-sections .fluid-engine {
  min-height: 0 !important;
}

/* Kill any bottom margin/padding on the last footer section */
#footer-sections .page-section:last-child {
  padding-bottom: var(--space-lg) !important;
  margin-bottom: 0 !important;
}


/* ==========================================================================
   11. UTILITY CLASSES
   Apply these via Squarespace's "Add custom CSS class" on blocks/sections.
   ========================================================================== */

/* Background overrides */
.dma-bg-cloud { background-color: var(--color-cloud) !important; }
.dma-bg-ink { background-color: var(--color-ink) !important; }
.dma-bg-cobalt { background-color: var(--color-cobalt) !important; }
.dma-bg-red { background-color: var(--color-red) !important; }
.dma-bg-sunny { background-color: var(--color-sunny) !important; }

/* Text color overrides */
.dma-text-white { color: var(--color-cloud) !important; }
.dma-text-ink { color: var(--color-ink) !important; }
.dma-text-cobalt { color: var(--color-cobalt) !important; }
.dma-text-slate { color: var(--color-slate) !important; }

/* Layout helpers */
.dma-text-center { text-align: center !important; }
.dma-narrow { max-width: 680px; margin-left: auto; margin-right: auto; }
.dma-img-rounded img { border-radius: 10px !important; }
.dma-flush { padding-top: 0 !important; padding-bottom: 0 !important; }


/* ==========================================================================
   12. HERO SECTION HELPERS
   For the dark hero with background image + overlay.
   Applied via custom CSS class on the hero section.
   ========================================================================== */

/* Dark overlay on hero background image */
.dma-hero-overlay .section-background .section-background-overlay {
  background-color: rgba(26, 26, 24, 0.65) !important;
}

/* Hero headline — display size */
.dma-hero h1,
.dma-hero .sqs-block-content h1 {
  font-size: 36px !important;
  font-weight: var(--weight-extrabold) !important;
  letter-spacing: -1.5px !important;
  line-height: 1.1 !important;
}

/* Hero subtext */
.dma-hero p,
.dma-hero .sqs-block-content p {
  font-size: 16px !important;
  font-weight: var(--weight-regular) !important;
  line-height: 1.6 !important;
  opacity: 0.85;
}

/* Responsive hero headline */
@media (min-width: 768px) {
  .dma-hero h1,
  .dma-hero .sqs-block-content h1 {
    font-size: 48px !important;
    letter-spacing: -2px !important;
  }
  
  .dma-hero p,
  .dma-hero .sqs-block-content p {
    font-size: 18px !important;
  }
}


/* ==========================================================================
   13. RESPONSIVE ADJUSTMENTS
   ========================================================================== */

@media (max-width: 767px) {
  h1, .sqs-block-content h1 {
    font-size: 20px !important;
  }
  
  h2, .sqs-block-content h2 {
    font-size: 16px !important;
  }
  
  .dma-display,
  .sqsrte-large {
    font-size: 28px !important;
    letter-spacing: -1px !important;
  }
  
  .sqs-block-button-element {
    padding: 10px 20px !important;
    font-size: 13px !important;
  }
  
  /* Section header rows — stack on narrow screens */
  .dma-section-header-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }
  
  /* Summary card titles — slightly smaller on mobile */
  .summary-title a,
  .summary-title {
    font-size: 14px !important;
  }
  
  /* Footer columns stack — add breathing room between them */
  footer .sqs-block {
    margin-bottom: var(--space-lg) !important;
  }
  
  /* Newsletter — email + button stack vertically on mobile, needs more
     bottom padding than desktop (where they sit side-by-side) */
  #newsletter.page-section {
    padding-bottom: 36px !important;
  }
  
  /* Footer section headers — bump up slightly for mobile readability */
  footer h3, footer h4 {
    margin-top: var(--space-md) !important;
  }
}


/* ==========================================================================
   14. EXPLORE DOWNTOWN GATEWAY CARDS
   
   3 native Squarespace Image blocks with CSS-only gradient overlay
   and text labels. Annie swaps photos by clicking the Image block —
   no HTML editing required.
   
   HOW IT WORKS:
   - Section anchor link is set to "explore-downtown"
   - Each Image block has an attached link (/eat-drink, /shop, /experience)
   - Squarespace wraps linked images in <a href="..."> tags
   - CSS targets those <a> tags by href to add:
     ::after = gradient overlay (Ink, 85% bottom fading to transparent at 55%)
     ::before = white text label (Eat + Drink, Shop, Experience)
     hover = lift -5px + shadow
   
   TO CHANGE A PHOTO: Click the Image block in Squarespace editor, swap image.
   TO CHANGE A LABEL: Edit the content: "" value in CSS below.
   TO CHANGE A LINK: Edit the Image block's "Attach Link" field AND update
                     the CSS href selector to match.
   
   SQUARESPACE SETUP:
   1. Section anchor link: explore-downtown
   2. Section color theme: LIGHT 1
   3. 3 Image blocks side by side in Fluid Engine grid (equal width)
   4. Each Image block: Fill mode, corner radius 0 (CSS handles it)
   5. Each Image block linked to: /eat-drink, /shop, /experience
   ========================================================================== */

/* --- Card containers (the .sqs-block-image wrappers) --- */

/* Rounded corners and overflow hidden on the block wrapper */
#explore-downtown .sqs-block-image {
  border-radius: 10px !important;
  overflow: hidden !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover — lift the whole card */
#explore-downtown .sqs-block-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(26, 26, 24, 0.2);
}

/* --- Linked image setup --- */

/* Make the <a> tag a positioning context for overlay + label.
   display:block ensures it fills the Image block wrapper. */
#explore-downtown a[href="/eat-drink"],
#explore-downtown a[href="/shop"],
#explore-downtown a[href="/experience"] {
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Ensure the image fills its container */
#explore-downtown .sqs-block-image img {
  width: 100% !important;
  display: block !important;
  object-fit: cover !important;
}

/* --- Gradient overlay (::after) --- */

/* Dark gradient from bottom (Ink at 85%) fading to transparent at 55%.
   Ensures white text is readable on any photo. */
#explore-downtown a[href="/eat-drink"]::after,
#explore-downtown a[href="/shop"]::after,
#explore-downtown a[href="/experience"]::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  background: linear-gradient(
    to top,
    rgba(26, 26, 24, 0.85) 0%,
    rgba(26, 26, 24, 0.4) 35%,
    transparent 55%
  ) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

/* --- Text labels (::before) --- */

/* Shared label styling — bold white text, bottom-left corner */
#explore-downtown a[href="/eat-drink"]::before,
#explore-downtown a[href="/shop"]::before,
#explore-downtown a[href="/experience"]::before {
  position: absolute !important;
  bottom: 20px !important;
  left: 20px !important;
  color: #FFFFFF !important;
  font-family: var(--font-primary) !important;
  font-size: 20px !important;
  font-weight: var(--weight-extrabold) !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  text-shadow: 0 1px 3px rgba(26, 26, 24, 0.3) !important;
}

/* Individual card labels — change these to update text */
#explore-downtown a[href="/eat-drink"]::before {
  content: "Eat + Drink" !important;
}

#explore-downtown a[href="/shop"]::before {
  content: "Shop" !important;
}

#explore-downtown a[href="/experience"]::before {
  content: "Experience" !important;
}

/* --- Responsive --- */

@media (max-width: 767px) {
  /* Slightly smaller labels on mobile */
  #explore-downtown a[href="/eat-drink"]::before,
  #explore-downtown a[href="/shop"]::before,
  #explore-downtown a[href="/experience"]::before {
    font-size: 18px !important;
    bottom: 16px !important;
    left: 16px !important;
  }
}


/* ==========================================================================
   15. EAT + DRINK GATEWAY CARDS
   
   6 native Squarespace Image blocks (3×2 grid) with CSS-only gradient
   overlay and text labels. Same technique as Explore Downtown (Section 14).
   Annie swaps photos by clicking the Image block — no HTML editing required.
   
   HOW IT WORKS:
   - Section anchor link is set to "eat-drink-cards"
   - Each Image block has an attached link (/restaurants, /happy-hours, etc.)
   - CSS targets those <a> tags by href to add overlay + label + hover
   
   TO CHANGE A PHOTO: Click the Image block in Squarespace editor, swap image.
   TO CHANGE A LABEL: Edit the content: "" value in CSS below.
   TO CHANGE A LINK: Edit the Image block's "Attach Link" field AND update
                     the CSS href selector to match.
   
   SQUARESPACE SETUP:
   1. Section anchor link: eat-drink-cards
   2. Section color theme: LIGHT 1
   3. 6 Image blocks in Fluid Engine grid — 3 columns × 2 rows (equal width)
   4. Each Image block: Fill mode, corner radius 0 (CSS handles it)
   5. Each Image block linked to its sub-page slug
   ========================================================================== */

/* --- Card containers --- */

#eat-drink-cards .sqs-block-image {
  border-radius: 10px !important;
  overflow: hidden !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#eat-drink-cards .sqs-block-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(26, 26, 24, 0.2);
}

/* --- Linked image setup --- */

#eat-drink-cards .sqs-block-image a[href="/restaurants"],
#eat-drink-cards .sqs-block-image a[href="/happy-hours"],
#eat-drink-cards .sqs-block-image a[href="/brunch"],
#eat-drink-cards .sqs-block-image a[href="/coffee"],
#eat-drink-cards .sqs-block-image a[href="/bars"],
#eat-drink-cards .sqs-block-image a[href="/outdoor-seating"] {
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
}

#eat-drink-cards .sqs-block-image img {
  width: 100% !important;
  display: block !important;
  object-fit: cover !important;
}

/* --- Gradient overlay (::after) --- */

#eat-drink-cards .sqs-block-image a[href="/restaurants"]::after,
#eat-drink-cards .sqs-block-image a[href="/happy-hours"]::after,
#eat-drink-cards .sqs-block-image a[href="/brunch"]::after,
#eat-drink-cards .sqs-block-image a[href="/coffee"]::after,
#eat-drink-cards .sqs-block-image a[href="/bars"]::after,
#eat-drink-cards .sqs-block-image a[href="/outdoor-seating"]::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  background: linear-gradient(
    to top,
    rgba(26, 26, 24, 0.85) 0%,
    rgba(26, 26, 24, 0.4) 35%,
    transparent 55%
  ) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

/* --- Text labels (::before) --- */

#eat-drink-cards .sqs-block-image a[href="/restaurants"]::before,
#eat-drink-cards .sqs-block-image a[href="/happy-hours"]::before,
#eat-drink-cards .sqs-block-image a[href="/brunch"]::before,
#eat-drink-cards .sqs-block-image a[href="/coffee"]::before,
#eat-drink-cards .sqs-block-image a[href="/bars"]::before,
#eat-drink-cards .sqs-block-image a[href="/outdoor-seating"]::before {
  position: absolute !important;
  bottom: 20px !important;
  left: 20px !important;
  color: #FFFFFF !important;
  font-family: var(--font-primary) !important;
  font-size: 20px !important;
  font-weight: var(--weight-extrabold) !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  text-shadow: 0 1px 3px rgba(26, 26, 24, 0.3) !important;
}

/* Individual card labels — change these to update text */
#eat-drink-cards .sqs-block-image a[href="/restaurants"]::before {
  content: "All Restaurants" !important;
}

#eat-drink-cards .sqs-block-image a[href="/happy-hours"]::before {
  content: "Happy Hours" !important;
}

#eat-drink-cards .sqs-block-image a[href="/brunch"]::before {
  content: "Brunch" !important;
}

#eat-drink-cards .sqs-block-image a[href="/coffee"]::before {
  content: "Coffee + Bakeries" !important;
}

#eat-drink-cards .sqs-block-image a[href="/bars"]::before {
  content: "Bars + Nightlife" !important;
}

#eat-drink-cards .sqs-block-image a[href="/outdoor-seating"]::before {
  content: "Outdoor Seating" !important;
}

/* --- Responsive --- */

@media (max-width: 767px) {
  #eat-drink-cards .sqs-block-image a[href="/restaurants"]::before,
  #eat-drink-cards .sqs-block-image a[href="/happy-hours"]::before,
  #eat-drink-cards .sqs-block-image a[href="/brunch"]::before,
  #eat-drink-cards .sqs-block-image a[href="/coffee"]::before,
  #eat-drink-cards .sqs-block-image a[href="/bars"]::before,
  #eat-drink-cards .sqs-block-image a[href="/outdoor-seating"]::before {
    font-size: 18px !important;
    bottom: 16px !important;
    left: 16px !important;
  }
}

/* ==========================================================================
   16. RESTAURANT DIRECTORY (ALL RESTAURANTS CODE BLOCK)
   
   Styles for the /restaurants page Code Block and all Eat + Drink
   sub-pages (/coffee, /bars, /brunch, /outdoor-seating, /happy-hours).
   
   Includes:
   - Filter tabs (cuisine row — used on /restaurants only)
   - Attribute toggles (feature row — used on /restaurants only)
   - Card grid (3-col desktop, 2-col tablet, 1-col mobile)
   - Card components (image, body, badges, links)
   - Sub-navigation bar linking to all Eat + Drink sub-pages
   
   REUSE: These classes (.dma-*) are namespaced and safe to reuse on
   future directory pages (Shop, Experience) with the same card pattern.
   
   DATA SOURCE: All restaurant data lives in Code Injection > Header
   (dma-restaurant-shared.js). Each page Code Block calls
   window.DMA_renderDirectory() with a filter config.
   
   SQUARESPACE SETUP:
   1. Page slug: /restaurants (or /coffee, /bars, etc.)
   2. Add a Code Block in the page content area
   3. Paste the appropriate sub-page Code Block HTML
   4. No inline <style> needed — all styles live here
   ========================================================================== */

/* --- Container --- */
.dma-restaurants {
  font-family: var(--font-primary, 'Bricolage Grotesque', sans-serif);
  color: #1A1A18;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}

/* --- Cuisine Filter Tabs (Row 1) --- */
.dma-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.dma-filter-tabs button {
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 1.5px solid #E8E8E4;
  background: transparent;
  color: #6B6B66;
  transition: all 0.15s ease;
  font-family: inherit;
}
.dma-filter-tabs button:hover {
  border-color: #3B5CCC;
  color: #3B5CCC;
}
.dma-filter-tabs button.active {
  background: #3B5CCC;
  color: #FFFFFF;
  border-color: #3B5CCC;
}

/* --- Attribute Toggles (Row 2) --- */
.dma-attr-toggles {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.dma-attr-toggles button {
  padding: 5px 14px;
  border-radius: 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid #E8E8E4;
  background: transparent;
  color: #8A8A84;
  transition: all 0.15s ease;
  font-family: inherit;
}
.dma-attr-toggles button:hover {
  border-color: #6B6B66;
  color: #6B6B66;
}
.dma-attr-toggles button.active {
  background: #1A1A18;
  color: #FAFAF8;
  border-color: #1A1A18;
}

/* --- Result Count --- */
.dma-result-count {
  font-size: 13px;
  color: #8A8A84;
  margin-bottom: 20px;
}

/* --- Card Grid --- */
.dma-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

/* --- Individual Card --- */
.dma-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #E8E8E4;
  background: #FFFFFF;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dma-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26, 26, 24, 0.08);
}

/* --- Card Image ---
   Renderer outputs <img> when img URL is set, <span>photo</span> when img is empty.
   Placeholder version (v4.4): :has(span) targets only the empty case; cards fill
   solid Ink black instead of fog gray. Real-photo cards are untouched. */
.dma-card-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: #E8E8E4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.dma-card-img:has(span) {
  background: var(--color-ink);
}
.dma-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dma-card-img span {
  font-size: 10px;
  color: #8A8A84;
  text-transform: uppercase;
  letter-spacing: 1px;
  visibility: hidden;
}

/* --- Card Body --- */
.dma-card-body {
  padding: 14px 16px 18px;
}
.dma-card-cuisine {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: #3B5CCC;
  margin-bottom: 5px;
}
.dma-card-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 5px;
  line-height: 1.25;
}
.dma-card-address {
  font-size: 13px;
  color: #6B6B66;
  margin-bottom: 3px;
  text-decoration: underline;
  text-decoration-color: #E8E8E4;
  text-underline-offset: 2px;
  display: block;
}
.dma-card-address:hover {
  color: #3B5CCC;
  text-decoration-color: #3B5CCC;
}
.dma-card-hours {
  font-size: 12px;
  color: #8A8A84;
  margin-bottom: 8px;
}

/* --- Badges --- */
.dma-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}
.dma-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 24px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  background: #F3F3EF;
  color: #6B6B66;
}

/* --- Card Link --- */
.dma-card-link {
  font-size: 12px;
  font-weight: 600;
  color: #3B5CCC;
  text-decoration: none;
}
.dma-card-link:hover {
  text-decoration: underline;
}

/* --- No Results Message --- */
.dma-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 16px;
  color: #8A8A84;
  font-size: 15px;
}

/* --- Sub-Navigation Bar --- */
.dma-subnav {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid #E8E8E4;
  flex-wrap: wrap;
}
.dma-subnav a {
  font-size: 13px;
  color: #6B6B66;
  text-decoration: none;
  font-weight: 500;
}
.dma-subnav a.active {
  color: #1A1A18;
  font-weight: 700;
}
.dma-subnav a:hover {
  color: #3B5CCC;
}

/* --- Responsive: Tablet --- */
@media (max-width: 900px) {
  .dma-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .dma-filter-tabs button {
    padding: 7px 14px;
    font-size: 12px;
  }
}

/* --- Responsive: Mobile --- */
@media (max-width: 550px) {
  .dma-card-grid {
    grid-template-columns: 1fr;
  }
  .dma-card-name {
    font-size: 16px;
  }
}

/* ==========================================================================
   17. SHOP GATEWAY CARDS
   
   6 native Squarespace Image blocks (3×2 grid) with CSS-only gradient
   overlay and text labels. Same technique as Eat + Drink (Section 15).
   Annie swaps photos by clicking the Image block — no HTML editing required.
   
   HOW IT WORKS:
   - Section anchor link is set to "shop-cards"
   - Each Image block has an attached link (/all-shops, /retail, etc.)
   - CSS targets those <a> tags by href to add overlay + label + hover
   
   TO CHANGE A PHOTO: Click the Image block in Squarespace editor, swap image.
   TO CHANGE A LABEL: Edit the content: "" value in CSS below.
   TO CHANGE A LINK: Edit the Image block's "Attach Link" field AND update
                     the CSS href selector to match.
   
   SQUARESPACE SETUP:
   1. Section anchor link: shop-cards
   2. Section color theme: LIGHT 1
   3. 6 Image blocks in Fluid Engine grid — 3 columns × 2 rows (equal width)
   4. Each Image block: Fill mode, corner radius 0 (CSS handles it)
   5. Each Image block linked to its sub-page slug
   ========================================================================== */

/* --- Card containers --- */

#shop-cards .sqs-block-image {
  border-radius: 10px !important;
  overflow: hidden !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#shop-cards .sqs-block-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(26, 26, 24, 0.2);
}

/* --- Linked image setup --- */

#shop-cards .sqs-block-image a[href="/all-shops"],
#shop-cards .sqs-block-image a[href="/retail"],
#shop-cards .sqs-block-image a[href="/wellness"],
#shop-cards .sqs-block-image a[href="/salons"],
#shop-cards .sqs-block-image a[href="/tattoo"],
#shop-cards .sqs-block-image a[href="/markets"] {
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
}

#shop-cards .sqs-block-image img {
  width: 100% !important;
  display: block !important;
  object-fit: cover !important;
}

/* --- Gradient overlay (::after) --- */

#shop-cards .sqs-block-image a[href="/all-shops"]::after,
#shop-cards .sqs-block-image a[href="/retail"]::after,
#shop-cards .sqs-block-image a[href="/wellness"]::after,
#shop-cards .sqs-block-image a[href="/salons"]::after,
#shop-cards .sqs-block-image a[href="/tattoo"]::after,
#shop-cards .sqs-block-image a[href="/markets"]::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  background: linear-gradient(
    to top,
    rgba(26, 26, 24, 0.85) 0%,
    rgba(26, 26, 24, 0.4) 35%,
    transparent 55%
  ) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

/* --- Text labels (::before) --- */

#shop-cards .sqs-block-image a[href="/all-shops"]::before,
#shop-cards .sqs-block-image a[href="/retail"]::before,
#shop-cards .sqs-block-image a[href="/wellness"]::before,
#shop-cards .sqs-block-image a[href="/salons"]::before,
#shop-cards .sqs-block-image a[href="/tattoo"]::before,
#shop-cards .sqs-block-image a[href="/markets"]::before {
  position: absolute !important;
  bottom: 20px !important;
  left: 20px !important;
  color: #FFFFFF !important;
  font-family: var(--font-primary) !important;
  font-size: 20px !important;
  font-weight: var(--weight-extrabold) !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  text-shadow: 0 1px 3px rgba(26, 26, 24, 0.3) !important;
}

/* Individual card labels — change these to update text */
#shop-cards .sqs-block-image a[href="/all-shops"]::before {
  content: "All Shops & Services" !important;
}

#shop-cards .sqs-block-image a[href="/retail"]::before {
  content: "Retail + Boutiques" !important;
}

#shop-cards .sqs-block-image a[href="/wellness"]::before {
  content: "Wellness + Beauty" !important;
}

#shop-cards .sqs-block-image a[href="/salons"]::before {
  content: "Salons + Barbers" !important;
}

#shop-cards .sqs-block-image a[href="/tattoo"]::before {
  content: "Tattoo + Piercing" !important;
}

#shop-cards .sqs-block-image a[href="/markets"]::before {
  content: "Downtown Markets" !important;
}

/* --- Responsive --- */

@media (max-width: 767px) {
  #shop-cards .sqs-block-image a[href="/all-shops"]::before,
  #shop-cards .sqs-block-image a[href="/retail"]::before,
  #shop-cards .sqs-block-image a[href="/wellness"]::before,
  #shop-cards .sqs-block-image a[href="/salons"]::before,
  #shop-cards .sqs-block-image a[href="/tattoo"]::before,
  #shop-cards .sqs-block-image a[href="/markets"]::before {
    font-size: 18px !important;
    bottom: 16px !important;
    left: 16px !important;
  }
}


/* ==========================================================================
   18. MOTION + ENTRANCE ANIMATIONS (v4.0)
   
   Scroll-triggered entrance animations. All opt-in via CSS classes.
   JS (dma-scroll-entrance.js) adds .is-visible on intersection.
   
   Classes:
   - .dma-enter         Rise from below (48px), fade in, 700ms snap
   - .dma-enter--fade   Fade only, no movement, 900ms smooth
   - .dma-enter--slide  Slide from left (32px), fade in, 700ms snap
   - .dma-stagger       Container: children get 120ms delay increments
   - .hero-stagger      Container: children get 200ms delay increments
   - .is-visible        Trigger state (applied by JS, never manually)
   
   NOTE: Transition values are hardcoded (not var() refs) because
   Squarespace's CSS compiler may not support var() in transition shorthand.
   The :root tokens exist for JS and non-transition CSS usage.
   
   NOTE: !important required on all opacity/transform/transition declarations.
   Squarespace Fluid Engine generates per-block CSS rules with
   opacity: var(--opacity, 1) and a full transform chain that override
   entrance classes by cascade order without !important.
   ========================================================================== */

/* --- Default entrance: rise from below --- */
/* !important required: Squarespace Fluid Engine writes per-block opacity/transform
   rules (e.g. .fe-block-yui_... { opacity: var(--opacity, 1); transform: ... })
   that override our entrance classes by cascade order. */
.dma-enter {
  opacity: 0 !important;
  transform: translateY(var(--enter-distance)) !important;
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 700ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.dma-enter.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* --- Fade-only entrance (no movement) --- */
.dma-enter--fade {
  opacity: 0 !important;
  transition: opacity 900ms cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.dma-enter--fade.is-visible {
  opacity: 1 !important;
}

/* --- Horizontal slide entrance --- */
.dma-enter--slide {
  opacity: 0 !important;
  transform: translateX(-32px) !important;
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 700ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.dma-enter--slide.is-visible {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* --- Stagger container: card grids, gateway grids, stat rows --- */
/* Children with entrance classes get incrementing delays. Max 6 children. */
.dma-stagger > .dma-enter:nth-child(1),
.dma-stagger > .dma-enter--fade:nth-child(1),
.dma-stagger > .dma-enter--slide:nth-child(1) { transition-delay: 0ms !important; }
.dma-stagger > .dma-enter:nth-child(2),
.dma-stagger > .dma-enter--fade:nth-child(2),
.dma-stagger > .dma-enter--slide:nth-child(2) { transition-delay: 120ms !important; }
.dma-stagger > .dma-enter:nth-child(3),
.dma-stagger > .dma-enter--fade:nth-child(3),
.dma-stagger > .dma-enter--slide:nth-child(3) { transition-delay: 240ms !important; }
.dma-stagger > .dma-enter:nth-child(4),
.dma-stagger > .dma-enter--fade:nth-child(4),
.dma-stagger > .dma-enter--slide:nth-child(4) { transition-delay: 360ms !important; }
.dma-stagger > .dma-enter:nth-child(5),
.dma-stagger > .dma-enter--fade:nth-child(5),
.dma-stagger > .dma-enter--slide:nth-child(5) { transition-delay: 480ms !important; }
.dma-stagger > .dma-enter:nth-child(6),
.dma-stagger > .dma-enter--fade:nth-child(6),
.dma-stagger > .dma-enter--slide:nth-child(6) { transition-delay: 600ms !important; }

/* --- Hero stagger: hero section children at 200ms intervals --- */
.hero-stagger > .dma-enter:nth-child(1),
.hero-stagger > .dma-enter--fade:nth-child(1) { transition-delay: 0ms !important; }
.hero-stagger > .dma-enter:nth-child(2),
.hero-stagger > .dma-enter--fade:nth-child(2) { transition-delay: 200ms !important; }
.hero-stagger > .dma-enter:nth-child(3),
.hero-stagger > .dma-enter--fade:nth-child(3) { transition-delay: 400ms !important; }
.hero-stagger > .dma-enter:nth-child(4),
.hero-stagger > .dma-enter--fade:nth-child(4) { transition-delay: 600ms !important; }
.hero-stagger > .dma-enter:nth-child(5),
.hero-stagger > .dma-enter--fade:nth-child(5) { transition-delay: 800ms !important; }
.hero-stagger > .dma-enter:nth-child(6),
.hero-stagger > .dma-enter--fade:nth-child(6) { transition-delay: 1000ms !important; }

/* --- Mobile: reduce entrance distances --- */
@media (max-width: 767px) {
  .dma-enter {
    transform: translateY(32px) !important;
  }
}


/* ==========================================================================
   19. DARK SECTION ATMOSPHERE (v4.0)
   
   Triple radial gradient (15%/10% Cobalt) + noise overlay for depth on dark sections.
   Applied via .dark-section class on Full Volume dark sections ONLY.
   Confident and Grounded registers use flat Ink (no .dark-section class).
   
   DO NOT apply to: light sections, Confident/Grounded pages, footer.
   ========================================================================== */

.dark-section {
  position: relative;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(59, 92, 204, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(59, 92, 204, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, #222220 0%, var(--color-ink) 70%) !important;
}

/* Noise overlay via SVG feTurbulence, 5% opacity, 256px tile */
.dark-section::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* Content sits above the noise layer */
/* DO NOT use > * here -- it breaks .section-background sizing (hero image disappears) */
.dark-section > .content-wrapper {
  position: relative;
  z-index: 2;
}


/* ==========================================================================
   20. COLORED SECTION DEPTH + RHYTHM BREAKERS (v4.0)
   
   Gradient backgrounds for colored sections + rhythm breaker components.
   Per Design System v2 Sections 9 and 12.
   
   Rules:
   - Max one rhythm breaker between any two content sections
   - Never stack two breakers back-to-back
   - Red stripe is event-only
   - Sunny stats row: max once per page
   - Cobalt pull quote: max once per page
   ========================================================================== */

/* --- Cobalt section gradient --- */
.cobalt-section {
  background: linear-gradient(135deg, var(--color-cobalt) 0%, var(--color-deep-cobalt) 100%) !important;
}

/* --- Sunny section gradient --- */
.sunny-section {
  background: linear-gradient(135deg, var(--color-sunny) 0%, #E8B830 100%) !important;
}

/* --- Red accent stripe --- */
.red-stripe {
  background-color: var(--color-red) !important;
  padding: var(--space-lg) var(--space-xl) !important;
  text-align: center;
}

.red-stripe,
.red-stripe h2,
.red-stripe h3,
.red-stripe p,
.red-stripe a {
  color: #FFFFFF !important;
}

.red-stripe a {
  text-decoration: underline !important;
}

.red-stripe a:hover {
  opacity: 0.85;
}

/* --- Stats row (inside .sunny-section) --- */
.stats-row {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
}

.stats-row .stat-item {
  flex: 0 0 auto;
  min-width: 140px;
}

.stats-row .stat-number {
  font-size: 36px;
  font-weight: var(--weight-extrabold);
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--color-ink);
  display: block;
}

.stats-row .stat-label {
  font-size: 13px;
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-ink);
  opacity: 0.7;
  margin-top: var(--space-xs);
  display: block;
}

/* --- Pull quote (inside .cobalt-section) --- */
.pull-quote {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
}

.pull-quote blockquote,
.pull-quote p {
  font-size: 20px;
  font-weight: var(--weight-semibold);
  line-height: 1.5;
  color: #FFFFFF !important;
  font-style: normal;
}

.pull-quote cite,
.pull-quote .pull-quote-attribution {
  font-size: 13px;
  font-weight: var(--weight-regular);
  color: rgba(255, 255, 255, 0.65);
  display: block;
  margin-top: var(--space-md);
  font-style: normal;
}

/* --- Full-bleed photo --- */
img.full-bleed-photo {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  object-fit: cover;
  min-height: 300px;
  height: 50vh;
  display: block;
}

/* --- Sunny vertical bar (decorative accent on dark sections) --- */
.sunny-bar {
  position: relative;
}

.sunny-bar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--color-sunny);
  z-index: 3;
}

/* --- Badge variants (v4.0) --- */
.dma-badge--open {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 24px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: var(--weight-bold);
  background-color: rgba(30, 140, 90, 0.1);
  color: var(--color-green);
}

.dma-badge--event {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 24px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: var(--weight-bold);
  background-color: rgba(232, 75, 47, 0.1);
  color: var(--color-red);
}

.dma-badge--featured {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 24px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: var(--weight-bold);
  background-color: var(--color-sunny);
  color: var(--color-ink);
}

/* --- Rhythm breaker responsive --- */
@media (max-width: 767px) {
  .stats-row {
    gap: var(--space-lg);
  }
  
  .stats-row .stat-number {
    font-size: 28px;
  }
  
  .pull-quote blockquote,
  .pull-quote p {
    font-size: 18px;
  }
}


/* ==========================================================================
   21. HERO ENHANCEMENTS (v4.0)
   
   Ken Burns animation, multi-stop gradient overlay, entrance stagger.
   Applied to Full Volume hero sections only via .dma-hero-fullvol class.
   ========================================================================== */

/* Ken Burns keyframe */
@keyframes dma-ken-burns {
  0% { transform: scale(1); }
  100% { transform: scale(1.06); }
}

/* Full Volume hero gradient overlay */
.dma-hero-fullvol .section-background .section-background-overlay {
  background: linear-gradient(
    180deg,
    rgba(26, 26, 24, 0.85) 0%,
    rgba(26, 26, 24, 0.5) 35%,
    rgba(26, 26, 24, 0.3) 55%,
    rgba(59, 92, 204, 0.15) 75%,
    rgba(26, 26, 24, 0.9) 100%
  ) !important;
}

/* Ken Burns on background image */
.dma-hero-fullvol .section-background img,
.dma-hero-fullvol .section-background video {
  animation: dma-ken-burns 20s ease-in-out alternate infinite;
  will-change: transform;
}

/* Full Volume hero sizing */
.dma-hero-fullvol {
  min-height: 85vh !important;
}

/* Directory hero (no background image, atmospheric only) */
.dma-hero-directory {
  padding: 48px 32px !important;
  text-align: center;
}

/* Directory hero inset variant */
.dma-hero-directory.dma-hero-inset {
  border-radius: 6px;
  margin: var(--space-md);
}

/* Confident hero */
.dma-hero-confident {
  min-height: 50vh !important;
  text-align: center;
}

.dma-hero-confident p,
.dma-hero-confident .sqs-block-content p {
  color: rgba(250, 250, 248, 0.65) !important;
}

/* Grounded hero */
.dma-hero-grounded {
  min-height: 35vh !important;
  text-align: left;
}

.dma-hero-grounded h1,
.dma-hero-grounded .sqs-block-content h1 {
  font-size: clamp(1.5rem, 3vw, 2.25rem) !important;
}

.dma-hero-grounded p,
.dma-hero-grounded .sqs-block-content p {
  color: rgba(250, 250, 248, 0.55) !important;
}


/* ==========================================================================
   22. CARD + INTERACTION ENHANCEMENTS (v4.0)
   
   Enhanced hover states for gateway cards and directory cards.
   These are NEW selectors that layer on top of existing styles.
   Existing card hovers in Sections 6 and 14 are NOT modified.
   
   Mobile: hover effects disabled (touch has no hover).
   ========================================================================== */

/* --- Gateway card image zoom on hover --- */
#explore-downtown .sqs-block-image img,
#eat-drink-cards .sqs-block-image img,
#shop-cards .sqs-block-image img {
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#explore-downtown .sqs-block-image:hover img,
#eat-drink-cards .sqs-block-image:hover img,
#shop-cards .sqs-block-image:hover img {
  transform: scale(1.08) !important;
}

/* --- Gateway card gradient shift on hover --- */
#explore-downtown .sqs-block-image a::after,
#eat-drink-cards .sqs-block-image a::after,
#shop-cards .sqs-block-image a::after {
  transition: background 200ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#explore-downtown .sqs-block-image:hover a::after,
#eat-drink-cards .sqs-block-image:hover a::after,
#shop-cards .sqs-block-image:hover a::after {
  background: linear-gradient(
    0deg,
    rgba(59, 92, 204, 0.6) 0%,
    rgba(59, 92, 204, 0.2) 40%,
    transparent 70%
  ) !important;
}

/* --- Button hover lift + active press (scoped to .dma-btn-enhanced) --- */
/* DO NOT apply to base .sqs-block-button-element -- breaks all buttons (lesson 55) */
.dma-btn-enhanced {
  position: relative;
  overflow: hidden;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1),
              background-color 200ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.dma-btn-enhanced:hover {
  transform: translateY(-1px);
}

.dma-btn-enhanced:active {
  transform: scale(0.97);
}

.dma-btn-enhanced::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 200ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.dma-btn-enhanced:active::after {
  opacity: 1;
}

/* --- Mobile: disable hover-dependent enhancements --- */
@media (max-width: 767px) {
  #explore-downtown .sqs-block-image:hover img,
  #eat-drink-cards .sqs-block-image:hover img,
  #shop-cards .sqs-block-image:hover img {
    transform: none !important;
  }
  
  #explore-downtown .sqs-block-image:hover a::after,
  #eat-drink-cards .sqs-block-image:hover a::after,
  #shop-cards .sqs-block-image:hover a::after {
    background: inherit !important;
  }
}


/* ==========================================================================
   23. ACCESSIBILITY: prefers-reduced-motion (v4.0)
   
   Respects user motion preferences. Forces all entrance elements to
   visible state immediately. Disables Ken Burns. Keeps color transitions.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .dma-enter,
  .dma-enter--fade,
  .dma-enter--slide {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  .dma-stagger > *,
  .hero-stagger > * {
    transition-delay: 0ms !important;
  }
  
  .dma-hero-fullvol .section-background img,
  .dma-hero-fullvol .section-background video {
    animation: none !important;
  }
  
  #explore-downtown .sqs-block-image:hover img,
  #eat-drink-cards .sqs-block-image:hover img,
  #shop-cards .sqs-block-image:hover img {
    transform: none !important;
  }
}
/* ==========================================================================
   24. EVENT CARDS
   ==========================================================================
   Branded event cards rendered by js/events-cards.js.
   Used on /events (8 cards) and homepage What's Happening section
   (4 cards, Phase 6).

   Design DNA: shares spacing and color tokens with .dma-card (restaurants
   and shops) but adds event-specific date treatment. 16:9 image ratio,
   line-clamped description, Cobalt date row, Cobalt fallback plate when
   no image.

   Last updated: April 24, 2026 -- Andy Whitlock
   ========================================================================== */

/* --- Grid container --- */

.dma-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

@media (min-width: 768px) {
  .dma-events-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
  }
}

/* --- Card container --- */

.dma-event-card {
  display: flex;
  flex-direction: column;
  background: var(--dma-cloud, #FAFAF8);
  border: 1px solid var(--dma-fog, #E8E8E4);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: var(--dma-ink, #1A1A18);
  transition:
    transform 250ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 250ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.dma-event-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(26, 26, 24, 0.08),
    0 2px 6px rgba(26, 26, 24, 0.06);
  border-color: var(--dma-cobalt, #3B5CCC);
  color: var(--dma-ink, #1A1A18);
}

.dma-event-card:focus-visible {
  outline: 2px solid var(--dma-cobalt, #3B5CCC);
  outline-offset: 3px;
}

/* --- Card image --- */

.dma-event-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--dma-fog, #E8E8E4);
}

.dma-event-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.dma-event-card:hover .dma-event-card__image img {
  transform: scale(1.04);
}

/* Image fallback when JSON-LD didn't provide an image URL.
   Cobalt plate with subtle text mark and Sunny accent line, evokes a
   marquee plaque without committing to a stock photo. */
.dma-event-card__image--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(
      135deg,
      var(--dma-cobalt, #3B5CCC) 0%,
      var(--dma-cobalt-deep, #2D4AB0) 100%
    );
  position: relative;
}

.dma-event-card__image--fallback::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--dma-sunny, #F5C842);
  transform: translateY(-12px);
  opacity: 0.85;
}

.dma-event-card__fallback-mark {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dma-cloud, #FAFAF8);
  position: relative;
  margin-top: 18px;
}

/* --- Card body --- */

.dma-event-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.dma-event-card__date {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dma-cobalt, #3B5CCC);
  margin: 0 0 2px;
}

.dma-event-card__title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.2px;
  color: var(--dma-ink, #1A1A18);
  margin: 0;
  /* Allow up to 2 lines, ellipsis after */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dma-event-card__venue {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--dma-slate, #6B6B66);
  margin: 0;
}

.dma-event-card__description {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--dma-ink, #1A1A18);
  margin: 6px 0 0;
  /* Two-line clamp */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dma-event-card__link {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--dma-cobalt, #3B5CCC);
  margin-top: auto;
  padding-top: 12px;
  display: inline-block;
  transition: color 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.dma-event-card:hover .dma-event-card__link {
  color: var(--dma-cobalt-deep, #2D4AB0);
}

/* --- Show all link below grid --- */

.dma-events-show-all {
  margin: 24px 0 8px;
  text-align: center;
}

.dma-events-show-all__link {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--dma-cobalt, #3B5CCC);
  text-decoration: none;
  padding: 10px 18px;
  border: 1px solid var(--dma-cobalt, #3B5CCC);
  border-radius: 4px;
  display: inline-block;
  transition:
    background-color 200ms cubic-bezier(0.16, 1, 0.3, 1),
    color 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.dma-events-show-all__link:hover {
  background-color: var(--dma-cobalt, #3B5CCC);
  color: var(--dma-cloud, #FAFAF8);
}

/* --- Loading skeleton --- */

.dma-events-grid--loading .dma-event-card {
  pointer-events: none;
  border-color: var(--dma-fog, #E8E8E4);
}

.dma-events-grid--loading .dma-event-card:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--dma-fog, #E8E8E4);
}

@keyframes dmaEventSkeletonShimmer {
  0%   { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}

.dma-event-card__image--skeleton,
.dma-event-card__date--skeleton,
.dma-event-card__title--skeleton,
.dma-event-card__venue--skeleton {
  background:
    linear-gradient(
      90deg,
      var(--dma-fog, #E8E8E4) 0%,
      rgba(232, 232, 228, 0.5) 50%,
      var(--dma-fog, #E8E8E4) 100%
    );
  background-size: 200px 100%;
  background-repeat: no-repeat;
  animation: dmaEventSkeletonShimmer 1.4s ease-in-out infinite;
  border-radius: 3px;
}

.dma-event-card__date--skeleton {
  height: 11px;
  width: 50%;
  margin-bottom: 6px;
}

.dma-event-card__title--skeleton {
  height: 36px;
  width: 95%;
  margin-bottom: 8px;
}

.dma-event-card__venue--skeleton {
  height: 13px;
  width: 60%;
}

/* --- Empty + error states --- */

.dma-events-empty,
.dma-events-error {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--dma-cloud, #FAFAF8);
  border: 1px solid var(--dma-fog, #E8E8E4);
  border-left: 3px solid var(--dma-cobalt, #3B5CCC);
  border-radius: 4px;
}

.dma-events-empty p,
.dma-events-error p {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--dma-ink, #1A1A18);
  margin: 0;
}

.dma-events-empty a,
.dma-events-error a {
  color: var(--dma-cobalt, #3B5CCC);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--dma-fog, #E8E8E4);
  text-underline-offset: 3px;
  transition: text-decoration-color 200ms ease;
}

.dma-events-empty a:hover,
.dma-events-error a:hover {
  text-decoration-color: var(--dma-cobalt, #3B5CCC);
}

/* --- Reduced motion: kill skeleton animation --- */

@media (prefers-reduced-motion: reduce) {
  .dma-event-card,
  .dma-event-card__image img,
  .dma-event-card__link,
  .dma-events-show-all__link {
    transition: none !important;
  }
  .dma-event-card:hover {
    transform: none !important;
  }
  .dma-event-card:hover .dma-event-card__image img {
    transform: none !important;
  }
  .dma-event-card__image--skeleton,
  .dma-event-card__date--skeleton,
  .dma-event-card__title--skeleton,
  .dma-event-card__venue--skeleton {
    animation: none !important;
  }
}

/* ============================================================
   SECTION 25. NEWSLETTER BLOCK BUTTON (SITE-WIDE)
   ------------------------------------------------------------
   Applies the documented Sunny newsletter-button treatment to
   all Newsletter Blocks site-wide. Mirrors the homepage
   #newsletter rules (Section ~727-746) so /subscribe and any
   future Newsletter Block match the homepage button.

   Homepage #newsletter rules remain (higher specificity, same
   Sunny values, no visible conflict).

   Does NOT touch the bare .sqs-block-button-element base class.

   Contrast note: Sunny-on-Cloud (e.g. /subscribe) reads softer
   than homepage Sunny-on-Cobalt; revisit in the Sunny sweep.

   Deployed: 2026-05-28
   ============================================================ */

.sqs-block-newsletter .newsletter-form-button,
.sqs-block-newsletter button[type="submit"] {
  background-color: var(--color-sunny) !important;
  color: var(--color-ink) !important;
  border: none !important;
  border-radius: 4px !important;
  font-family: var(--font-primary) !important;
  font-weight: var(--weight-bold) !important;
  font-size: 14px !important;
  padding: 12px 24px !important;
  cursor: pointer !important;
}

.sqs-block-newsletter .newsletter-form-button:hover,
.sqs-block-newsletter button[type="submit"]:hover {
  background-color: #E3B735 !important;
}

/* ============================================================
   SECTION 26. DIRECTORY CARD PHONE + PARTNER BADGE + LINE ICONS
   ------------------------------------------------------------
   Item 34. Restaurant and shop cards (Section 6 / Section 16)
   dropped the hours line and now show a tel: phone line plus
   inline Tabler outline icons on the address and phone lines.

   .dma-card-phone mirrors .dma-card-address font-size and line
   spacing (Section 6) but reads in Cobalt so the phone is a
   peer line under the address.

   .dma-card-partner is scaffold only: no record sets
   partner: true until item 35, so it stays invisible for now.

   The flex/align/gap rules below override ONLY display on the
   earlier .dma-card-address rule; its color, margin, and
   font-size stay intact. Icons inherit currentColor.

   Deployed: 2026-06-04
   ============================================================ */

.dma-card-phone {
  font-size: 13px;
  color: #3B5CCC;
  margin-bottom: 3px;
  text-decoration: none;
}

.dma-card-partner {
  display: inline-flex; align-items: center;
  background: #F5C842; color: #3A2E05;
  font-size: 12px; font-weight: 700;
  padding: 4px 11px; border-radius: 999px;
  margin: 0 0 8px; letter-spacing: .02em;
}

.dma-card-address, .dma-card-phone { display: flex; align-items: center; gap: 6px; }
.dma-card-icon { width: 14px; height: 14px; flex-shrink: 0; stroke: currentColor;
  fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }


/* ============================================================
   SECTION 27. LIGHT-SECTION SECONDARY BUTTON + SUNNY BADGE FIX
   ------------------------------------------------------------
   Two cascade bugs exposed by the /partner build on July 8,
   2026 (first real use of a Secondary button on a light
   section, and first placement of .dma-badge-sunny).

   (a) The Section 5 light-section Secondary button rules
   target [data-section-theme="light-1"]/"light-2", but
   Squarespace 7.1 renders data-section-theme="light", so those
   rules have NEVER matched; Secondary buttons on light
   sections kept the white dark-section border and were near
   invisible. The rules below mirror the Section 5 rules
   exactly with the correct attribute value. The dead
   light-1/light-2 rules stay untouched (additive-only rule;
   dead-selector audit queued as Build Status item 58).

   (b) Section 16 redefines .dma-badge (grey directory-card
   badge) AFTER Section 7 defines .dma-badge-sunny at equal
   specificity, so a Sunny badge rendered grey. Re-asserted
   here with a compound selector plus !important so it wins
   regardless of section order.

   Deployed: 2026-07-08
   ============================================================ */

[data-section-theme="light"] .sqs-button-element--secondary {
  border-color: var(--color-ink) !important;
  color: var(--color-ink) !important;
}
[data-section-theme="light"] .sqs-button-element--secondary:hover {
  background-color: var(--color-ink) !important;
  color: var(--color-cloud) !important;
}

.dma-badge.dma-badge-sunny {
  background-color: var(--color-sunny) !important;
  color: var(--color-ink) !important;
}

/* Anchor scroll offset for fixed header stack (nav.main-nav 64px fixed + util-bar 28px, measured live at 375/1173/1400px). Fixes anchor jumps landing under the header site-wide: #tiers, #newsletter, #support, /arts jump nav. July 8, 2026. */
html { scroll-padding-top: 100px; }


/* ============================================================
   SECTION 28. BLOG GRID CARDS (NEWS + STORIES, /BLOG)
   Added 2026-07-11. Card treatment for the Basic Grid blog
   layout, plus containers for js/blog-cards.js v1 injected
   thumbs and placeholders. Card language matches .dma-card
   (Section 6): Cloud surface, Fog border, 10px radius,
   -3px hover lift. Applies to blog landing and archives.
   ============================================================ */

.blog-basic-grid--container {
  background-color: var(--color-cloud);
  border: 1px solid var(--color-fog);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-basic-grid--container:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26, 26, 24, 0.08);
}

.blog-basic-grid--text {
  padding: var(--space-sm) var(--space-md) var(--space-md);
}

.blog-basic-grid .blog-meta-section {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: var(--weight-bold);
}

/* Injected thumb container (blog-cards.js). Matches the native
   3:2 featured-image box so mixed rows stay aligned. */
.dma-blog-thumb {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background-color: var(--color-fog);
}

.dma-blog-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder floor for posts with no body image at all.
   Category-tinted via deterministic hash in blog-cards.js. */
.dma-blog-thumb--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.dma-blog-thumb--ph::after {
  content: "DM";
  font-weight: var(--weight-extrabold);
  font-size: 28px;
  letter-spacing: 2px;
  opacity: 0.55;
}

.dma-blog-thumb--ph.ph-cobalt {
  background-color: var(--color-cobalt);
  color: var(--color-cloud);
}

.dma-blog-thumb--ph.ph-red {
  background-color: var(--color-red);
  color: var(--color-cloud);
}

.dma-blog-thumb--ph.ph-sunny {
  background-color: var(--color-sunny);
  color: var(--color-ink);
}

/* --- 2026-07-11 same-day patch: card typography + placeholder solids ---
   blog-title is an h1; without this it inherits the global H1 uppercase
   rule and page-heading scale. 19px/600 sits between .dma-event-card
   titles (16px) and page headings. Flex column pins Read More to the
   card bottom so mixed-height titles keep aligned footers. The solid
   placeholder fills replaced the original rgba tints above (rules
   updated in place, same-session supersede). */

.blog-basic-grid .blog-title {
  font-size: 19px !important;
  font-weight: var(--weight-semibold) !important;
  text-transform: none !important;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0 0 var(--space-sm);
}

.blog-basic-grid--container {
  display: flex;
  flex-direction: column;
}

.blog-basic-grid--text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-basic-grid--text .blog-more-link {
  margin-top: auto;
}

/* --- 2026-07-11 round 3: Read More link on-palette ---
   Squarespace theme renders blog list Read More links salmon
   rgb(212,150,125), off-palette. Values match the Section 6
   .dma-card-link language exactly (the established card
   action-link: Cobalt, bold, 14px, no underline) per the
   capture-block instruction; hover deepens to Deep Cobalt.
   NOTE: .dma-card-link is defined twice (Sections 6 and 16,
   different size/weight); Section 6 is the generic card
   language and the reference here. Flagged to the item 58
   dead-selector audit. */

.blog-basic-grid .blog-more-link {
  color: var(--color-cobalt);
  font-weight: var(--weight-bold);
  font-size: 14px;
  text-decoration: none;
}

.blog-basic-grid .blog-more-link:hover {
  color: var(--color-deep-cobalt);
}


/* ============================================================
   SECTION 29: FORKS & FRIENDS EVENT PAGE
   Added August 19, 2026.

   Scoped entirely to collection 69bc612930e37e059dd4ea89.
   Event Sub-Brand Rule exemption (Design System v2 Section 25):
   this page runs the Forks & Friends event palette instead of
   Dopamine. Every selector below is collection-scoped, so
   nothing here can affect any other page on the site.

   Palette measured from event artwork August 19, 2026. Pending
   verification against the source SVGs; see the build spec.
   ============================================================ */

#collection-69bc612930e37e059dd4ea89 {
  --ff-cream:  #F9EAD8;
  --ff-black:  #040608;
  --ff-teal:   #4EA8B5;
  --ff-orange: #E38037;
  --ff-red:    #CF2D2B;
  --ff-tan:    #F4BC74;
}

/* ---- Light sections repaint to event cream ---- */
#collection-69bc612930e37e059dd4ea89 section[data-section-theme="light"],
#collection-69bc612930e37e059dd4ea89 section[data-section-theme="light"] .section-background {
  background-color: #F9EAD8;
}

#collection-69bc612930e37e059dd4ea89 section[data-section-theme="light"] h1,
#collection-69bc612930e37e059dd4ea89 section[data-section-theme="light"] h2,
#collection-69bc612930e37e059dd4ea89 section[data-section-theme="light"] h3,
#collection-69bc612930e37e059dd4ea89 section[data-section-theme="light"] p,
#collection-69bc612930e37e059dd4ea89 section[data-section-theme="light"] li {
  color: #040608;
}

/* ---- Dark sections repaint to event black ---- */
#collection-69bc612930e37e059dd4ea89 section[data-section-theme="black"],
#collection-69bc612930e37e059dd4ea89 section[data-section-theme="black"] .section-background {
  background-color: #040608;
}

#collection-69bc612930e37e059dd4ea89 section[data-section-theme="black"] h1,
#collection-69bc612930e37e059dd4ea89 section[data-section-theme="black"] h2,
#collection-69bc612930e37e059dd4ea89 section[data-section-theme="black"] h3,
#collection-69bc612930e37e059dd4ea89 section[data-section-theme="black"] p,
#collection-69bc612930e37e059dd4ea89 section[data-section-theme="black"] li {
  color: #F9EAD8;
}

/* ---- Accent headings, opt-in by anchor ID prefix ----
   Set a section's anchor ID to ff-teal-* or ff-orange-* to tint
   its H2. Same mechanism as the sunny- prefix in Section 8. */
#collection-69bc612930e37e059dd4ea89 section[id^="ff-teal-"][data-section-theme] h2 {
  color: #4EA8B5;
}
#collection-69bc612930e37e059dd4ea89 section[id^="ff-orange-"][data-section-theme] h2 {
  color: #E38037;
}

/* ---- Primary buttons: black fill, cream text ----
   Roughly 16:1 against the cream background. Deliberately not
   Cobalt or Sunny; see the CTA ruling in the build spec.
   !important is load-bearing on every button rule here: the
   Section 5 sitewide button rules carry it on every declaration,
   and importance beats the ID scope (v4.15, measured live). */
#collection-69bc612930e37e059dd4ea89 .sqs-button-element--primary {
  background-color: #040608 !important;
  color: #F9EAD8 !important;
  border-color: #040608 !important;
}

#collection-69bc612930e37e059dd4ea89 .sqs-button-element--primary:hover {
  background-color: #CF2D2B !important;
  color: #F9EAD8 !important;
  border-color: #CF2D2B !important;
}

/* On black band sections the fill inverts so the button stays visible */
#collection-69bc612930e37e059dd4ea89 section[data-section-theme="black"] .sqs-button-element--primary {
  background-color: #F9EAD8 !important;
  color: #040608 !important;
  border-color: #F9EAD8 !important;
}

#collection-69bc612930e37e059dd4ea89 section[data-section-theme="black"] .sqs-button-element--primary:hover {
  background-color: #E38037 !important;
  color: #040608 !important;
  border-color: #E38037 !important;
}

/* ---- Secondary buttons: outlined, invert to solid on hover ----
   Same !important mirror: Section 5's secondary rules and the
   Section 27 light-theme secondary rules both carry it. The
   important base rules outrank the Section 27 hover fill (ID
   beats attribute at equal importance), so the hover states are
   defined here: outlined-to-filled, cream/black swap. */
#collection-69bc612930e37e059dd4ea89 .sqs-button-element--secondary {
  background-color: transparent !important;
  color: #040608 !important;
  border: 2px solid #040608 !important;
}

#collection-69bc612930e37e059dd4ea89 .sqs-button-element--secondary:hover {
  background-color: #040608 !important;
  color: #F9EAD8 !important;
  border-color: #040608 !important;
}

#collection-69bc612930e37e059dd4ea89 section[data-section-theme="black"] .sqs-button-element--secondary {
  color: #F9EAD8 !important;
  border-color: #F9EAD8 !important;
}

#collection-69bc612930e37e059dd4ea89 section[data-section-theme="black"] .sqs-button-element--secondary:hover {
  background-color: #F9EAD8 !important;
  color: #040608 !important;
  border-color: #F9EAD8 !important;
}

/* ---- Scarcity text utility ----
   Wrap urgency copy in a Markdown block as:
   <span class="ff-urgent">Only 300 tickets</span> */
#collection-69bc612930e37e059dd4ea89 .ff-urgent {
  color: #CF2D2B;
  font-weight: 700;
}

/* ---- Page link colors, Markdown/HTML block content ----
   Sitewide link color rendered Cobalt here, off the event
   palette (measured live August 20, 2026). Near-black on cream
   sections, cream on black bands, orange underline; hovers go
   red (light) and orange (black). !important mirrors the
   sitewide link rules; the live Cobalt comes from Squarespace's
   own CSS, so the mirror wins whether or not that carries it. */
#collection-69bc612930e37e059dd4ea89 section[data-section-theme="light"] .sqs-block-markdown a,
#collection-69bc612930e37e059dd4ea89 section[data-section-theme="light"] .sqs-block-html a {
  color: #040608 !important;
  text-decoration: underline !important;
  text-decoration-color: #E38037 !important;
  text-decoration-thickness: 2px !important;
}
#collection-69bc612930e37e059dd4ea89 section[data-section-theme="light"] .sqs-block-markdown a:hover,
#collection-69bc612930e37e059dd4ea89 section[data-section-theme="light"] .sqs-block-html a:hover {
  color: #CF2D2B !important;
}
#collection-69bc612930e37e059dd4ea89 section[data-section-theme="black"] .sqs-block-markdown a,
#collection-69bc612930e37e059dd4ea89 section[data-section-theme="black"] .sqs-block-html a {
  color: #F9EAD8 !important;
  text-decoration: underline !important;
  text-decoration-color: #E38037 !important;
  text-decoration-thickness: 2px !important;
}
#collection-69bc612930e37e059dd4ea89 section[data-section-theme="black"] .sqs-block-markdown a:hover,
#collection-69bc612930e37e059dd4ea89 section[data-section-theme="black"] .sqs-block-html a:hover {
  color: #E38037 !important;
}
