/* bradcerb.com design system - ported from the original site's app.css
   (@theme tokens in bradcerbcom/resources/css/app.css). Neobrutalist retro:
   cream paper, pure ink, hard offset shadows, no blur. */
:root {
    --cream: #fbf7ef;
    --paper: #ffffff;
    --ink: #000000;
    --ink-muted: #6b6b6b;
    --night: #111111;
    --brand-orange: #f97316;
    --brand-blue: #2563eb;
    --brand-yellow: #ffdb32;
    --brand-green: #22c55e;

    --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
    --font-display: 'Archivo Black', 'Arial Black', ui-sans-serif, sans-serif;
    --font-heading: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
    --font-mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    /* Hard offset shadows - no blur, pure ink */
    --shadow-brutal-xs: 2px 2px 0 0 var(--ink);
    --shadow-brutal-sm: 4px 4px 0 0 var(--ink);
    --shadow-brutal: 4px 4px 0 0 var(--ink);
    --shadow-brutal-md: 6px 6px 0 0 var(--ink);
    --shadow-brutal-lg: 8px 8px 0 0 var(--ink);

    --ease-snap: cubic-bezier(0.2, 0, 0, 1);
    --ease-stamp: cubic-bezier(0.34, 1.3, 0.64, 1);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--cream);
}

/* Type scale from the original Figma variables:
   display (Archivo Black) h1 72/1.0/-2 · h2 56/1.04/-2
   heading (Space Grotesk Bold) for h3 and smaller component titles */
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.1; margin: 0 0 0.5em; }
h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -2px;
}
h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1.04;
    text-transform: uppercase;
    letter-spacing: -2px;
}
a { color: var(--ink); }
a:hover { text-decoration-color: var(--brand-orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.container { max-width: 1152px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 640px; }

.eyebrow {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brand-orange);
    margin: 0 0 12px;
}

.lede { font-family: var(--font-sans); font-size: 18px; line-height: 1.55; color: var(--ink-muted); max-width: 36rem; }
.muted { color: var(--ink-muted); }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--cream);
    border-bottom: 2px solid var(--ink);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.brand {
    font-family: var(--font-display);
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    text-decoration: none;
}
.site-header nav { display: flex; gap: 22px; }
.site-header nav a {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}
.site-header nav a:hover { text-decoration: underline; text-decoration-color: var(--brand-orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.site-header nav a.active { background: var(--brand-yellow); padding: 2px 6px; }
.site-header nav a.active:hover { text-decoration: none; }

/* Mobile menu toggle + full-screen overlay (per the original Menu frame) */
.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 2px solid var(--ink);
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow-brutal-xs);
    cursor: pointer;
    transition: transform 0.15s var(--ease-snap), box-shadow 0.15s var(--ease-snap);
}
.menu-toggle:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-brutal-sm); }
.menu-toggle:active { transform: translate(2px, 2px); box-shadow: 0 0 0 0 var(--ink); }
.menu-toggle .icon-tabler { width: 20px; height: 20px; vertical-align: middle; }
.menu-overlay .menu-toggle { display: inline-flex; }

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    flex-direction: column;
    overflow-y: auto;
    background-color: var(--cream);
}
.menu-overlay.open { display: flex; }
body.menu-open { overflow: hidden; }
.menu-overlay-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    height: 64px;
    padding: 0 24px;
    border-bottom: 2px solid var(--ink);
}
.menu-overlay-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 24px;
}
.menu-overlay nav { display: flex; flex-direction: column; gap: 8px; }
.menu-overlay nav a {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 3.75rem);
    line-height: 1.04;
    letter-spacing: -2px;
    text-transform: uppercase;
    text-decoration: none;
}
.menu-overlay nav a:hover { color: var(--brand-orange); text-decoration: none; }
.menu-overlay-cta { display: flex; flex-direction: column; gap: 32px; }
.menu-overlay-cta .button { display: block; text-align: center; }
.menu-overlay-socials { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 0; padding: 0; }
.menu-overlay-socials .icon-tabler { width: 24px; height: 24px; }
@media (prefers-reduced-motion: no-preference) {
    .menu-overlay.open .menu-stagger {
        animation: menu-item-in 0.25s var(--ease-snap) both;
        animation-delay: calc(var(--i, 0) * 70ms);
    }
}
@keyframes menu-item-in {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
}

/* Buttons - bordered, brutal shadow, snap on press */
.button {
    display: inline-block;
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-brutal-sm);
    padding: 12px 20px;
    font: 400 14px var(--font-display);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
    background: var(--paper);
    transition: transform 0.15s var(--ease-snap), box-shadow 0.15s var(--ease-snap);
}
.button:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-brutal-md); }
.button:active { transform: translate(2px, 2px); box-shadow: 0 0 0 0 var(--ink); }
.button-primary { background: var(--brand-orange); color: var(--ink); }
.button-electric { background: var(--brand-blue); color: #fff; }
.button-lg { padding: 14px 32px; font-size: 16px; }
.link-arrow { font-family: var(--font-heading); font-weight: 500; text-decoration: none; }

/* Dot-grid texture (from the original bg-dot-grid utility) */
.dot-grid {
    background-image: radial-gradient(color-mix(in srgb, var(--ink) 10%, transparent) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Bands */
.band { padding: 72px 0; }
.band-tint { background: var(--paper); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.hero { padding: 96px 0 72px; }
.cta-row { display: flex; align-items: center; gap: 24px; margin-top: 28px; }

/* Card lists */
.card-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 20px; }
.card-list li {
    background: var(--paper);
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-brutal-sm);
    padding: 20px 24px;
}
.card-list li p { margin: 4px 0 0; color: var(--ink-muted); font-size: 15px; }
.card-list li p:first-of-type { font-family: var(--font-mono); font-size: 13px; }

/* Forms */
.form-row { display: flex; gap: 12px; margin-bottom: 12px; }
.newsletter-form input,
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--ink);
    background: var(--paper);
    font: 400 15px var(--font-sans);
    color: var(--ink);
}
.newsletter-form input:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    box-shadow: var(--shadow-brutal-xs);
}
.contact-form label { display: block; margin-bottom: 16px; font-family: var(--font-heading); font-weight: 500; font-size: 14px; }
.contact-form label input, .contact-form label select, .contact-form label textarea { margin-top: 6px; }
.form-success { font-family: var(--font-heading); font-weight: 500; color: var(--brand-green); }

/* Footer - night band, brand column + link columns (per the original);
   sits flush against whatever band ends the page */
.site-footer { background: var(--night); color: var(--cream); border-top: 2px solid var(--ink); }
.footer-grid { display: flex; flex-direction: column; gap: 48px; padding: 56px 0; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 24rem; }
.footer-brand .brand { color: var(--cream); width: fit-content; font-size: 20px; }
.footer-tagline { margin: 0; font-size: 14px; line-height: 1.45; color: rgba(251, 247, 239, 0.7); }
.footer-socials { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; padding: 0; }
.footer-socials a { display: block; color: var(--brand-orange); transition: transform 0.15s var(--ease-snap); }
.footer-socials a:hover { transform: translateY(-2px); }
.footer-socials .icon-tabler { width: 20px; height: 20px; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-heading {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(251, 247, 239, 0.5);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-col a { color: rgba(251, 247, 239, 0.8); text-decoration: none; }
.footer-col a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 4px; }
.footer-meta { border-top: 1px solid rgba(251, 247, 239, 0.2); }
.footer-meta .container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: rgba(251, 247, 239, 0.6);
}
.footer-meta p { margin: 0; }
.footer-meta a { color: rgba(251, 247, 239, 0.6); text-decoration: none; }
.footer-meta a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 640px) {
    .footer-meta .container { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 768px) {
    .footer-grid { flex-direction: row; justify-content: space-between; }
}

/* Media page - featured content list */
.media-list { display: flex; flex-direction: column; gap: 40px; margin-top: 40px; max-width: 980px; }
.media-item { border: 2px solid var(--ink); background: var(--paper); box-shadow: var(--shadow-brutal-sm); padding: 28px 32px; }
.media-item.has-thumb { display: grid; gap: 28px; align-items: center; }
@media (min-width: 768px) { .media-item.has-thumb { grid-template-columns: 1fr 300px; } }
.media-thumb { display: block; }
.media-thumb img { display: block; width: 100%; height: auto; border: 2px solid var(--ink); box-shadow: var(--shadow-brutal-xs); }
.media-item h2 { margin: 8px 0 12px; }
.media-item h2 a { text-decoration: none; }
.media-item h2 a:hover { text-decoration: underline; text-decoration-color: var(--brand-orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.media-item p { margin: 0 0 12px; font-size: 15px; line-height: 1.6; }
.media-item .post-meta { margin: 0; }

/* Prose (post bodies) */
.prose { max-width: 680px; padding-top: 72px; padding-bottom: 72px; }
.prose p { margin: 0 0 1.2em; font-size: 17px; line-height: 1.65; }
.post-meta { font-family: var(--font-mono); color: var(--ink-muted); font-size: 13px; }

/* Fragment styles (returned by /api/now and /api/open) */
.now-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 24px; }
.now-card { background: var(--paper); border: 2px solid var(--ink); box-shadow: var(--shadow-brutal-sm); padding: 20px; }
.now-card .kind {
    font-family: var(--font-mono);
    color: var(--brand-orange);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.now-card h3 { font-size: 17px; margin: 8px 0 4px; }
.now-card p { margin: 2px 0 0; font-size: 14px; }
.now-card img { display: block; width: 72px; height: auto; border: 2px solid var(--ink); margin: 12px 0 4px; }

.open-week {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brand-orange);
    margin: 24px 0 16px;
}
.open-insights { display: grid; gap: 16px; margin-bottom: 24px; }
.open-insight { background: var(--brand-yellow); border: 2px solid var(--ink); box-shadow: var(--shadow-brutal-sm); padding: 16px 20px; }
.open-insight h3 { font-size: 16px; margin: 0 0 4px; }
.open-insight p { margin: 0; font-size: 14px; }
.open-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.open-category { background: var(--paper); border: 2px solid var(--ink); box-shadow: var(--shadow-brutal-sm); padding: 20px; }
.open-category h2 { font-family: var(--font-heading); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.open-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.open-table th { text-align: left; font-family: var(--font-mono); font-weight: 400; font-size: 12px; padding: 6px 8px 6px 0; }
.open-table td { padding: 6px 8px 6px 0; }
.open-table .goal { color: var(--ink-muted); font-size: 12px; white-space: nowrap; }
.open-table .bar { width: 34%; }
.open-bar { height: 10px; border: 2px solid var(--ink); background: var(--paper); }
.open-bar span { display: block; height: 100%; background: var(--brand-green); }
.open-bar span.over { background: var(--brand-orange); }

/* About page */
.about-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.about-portrait, .about-photo {
    max-width: 280px;
    width: 100%;
    height: auto;
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-brutal);
    flex-shrink: 0;
}
.about-work { display: flex; align-items: flex-start; gap: 40px; }
.about-work > div { max-width: 640px; }
.pull-quote {
    margin: 24px 0;
    padding: 16px 20px;
    border-left: 4px solid var(--ink);
    background: var(--brand-yellow);
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
}
.values-list { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-bottom: 24px; }

/* ------------------------------------------------------------------ */
/* Seven Seasons story - dark cinematic section (reduced port of the   */
/* original GSAP scrollytelling: static stack + reveal-on-scroll).     */
/* ------------------------------------------------------------------ */
.story-section {
    background-color: var(--night);
    background-image: radial-gradient(rgba(251, 247, 239, 0.07) 1px, transparent 1px);
    background-size: 24px 24px;
    color: var(--cream);
}
.story-section ::selection { background: var(--brand-orange); color: var(--cream); }

.accent-orange { --accent: var(--brand-orange); --accent-text: var(--brand-orange); }
.accent-blue { --accent: var(--brand-blue); --accent-text: #7c9eff; }
.accent-yellow { --accent: var(--brand-yellow); --accent-text: var(--brand-yellow); }
.accent-green { --accent: var(--brand-green); --accent-text: var(--brand-green); }

.story-intro {
    min-height: 70vh;
    max-width: 1152px;
    margin: 0 auto;
    padding: 96px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
}
.story-eyebrow, .story-kicker {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-orange);
    margin: 0;
}
.story-heading {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--cream);
    margin: 24px 0 0;
    max-width: 18ch;
}
.story-body { margin: 32px 0 0; max-width: 36rem; font-size: 19px; line-height: 1.6; color: rgba(251, 247, 239, 0.7); }
.story-cue {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-yellow);
    margin: 0;
}
@media (prefers-reduced-motion: no-preference) {
    .story-cue .icon-tabler { animation: story-bounce 1.2s infinite; }
}
@keyframes story-bounce {
    0%, 100% { transform: translateY(-15%); }
    50% { transform: translateY(15%); }
}

.story-chapter {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    min-height: 80vh;
    border-bottom: 2px solid rgba(251, 247, 239, 0.1);
    padding: 80px 0;
}
.story-accent-bar { position: absolute; inset: 0 0 auto 0; height: 8px; background: var(--accent); }
.story-year {
    pointer-events: none;
    position: absolute;
    top: -16px;
    right: 8px;
    font-family: var(--font-display);
    font-size: clamp(7rem, 26vw, 20rem);
    line-height: 1;
    color: rgba(251, 247, 239, 0.055);
    user-select: none;
}
.story-chapter.flip .story-year { right: auto; left: 8px; }

.story-grid {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    display: grid;
    width: 100%;
    max-width: 1152px;
    align-items: center;
    gap: 40px;
    padding: 0 24px;
}
.story-copy { display: flex; flex-direction: column; gap: 20px; }
.story-kicker { color: var(--accent-text); }
.story-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--cream);
    margin: 0;
}
.story-tagline { margin: 0; max-width: 28rem; font-size: 18px; line-height: 1.55; color: rgba(251, 247, 239, 0.7); }
.story-moments {
    list-style: none;
    margin: 8px 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-left: 2px solid rgba(251, 247, 239, 0.15);
    padding-left: 20px;
}
.story-moment p { margin: 0; }
.story-moment-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-text);
}
.story-moment-title { font-family: var(--font-heading); font-size: 16px; font-weight: 700; color: var(--cream); margin-top: 4px !important; }
.story-moment-body { font-size: 14px; line-height: 1.55; color: rgba(251, 247, 239, 0.7); margin-top: 4px !important; }
.story-season { margin: 8px 0 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(251, 247, 239, 0.4); }
.story-visual { display: flex; flex-direction: column; gap: 24px; }

@media (min-width: 768px) {
    .story-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
    .story-chapter.flip .story-copy { order: 2; align-items: flex-end; text-align: right; }
    .story-chapter.flip .story-visual { order: 1; align-self: end; padding-bottom: 24px; }
    .story-chapter.flip .story-moments { border-left: 0; border-right: 2px solid rgba(251, 247, 239, 0.15); padding-left: 0; padding-right: 20px; }
}

/* Polaroid photo spots */
.polaroid {
    display: inline-block;
    margin: 0;
    border: 2px solid var(--ink);
    background: var(--paper);
    padding: 12px 12px 16px;
    box-shadow: 8px 8px 0 0 var(--accent);
    max-width: 420px;
}
.polaroid figcaption { padding-top: 12px; text-align: center; font-family: var(--font-mono); font-size: 14px; color: var(--ink); }
.photo-spot {
    position: relative;
    display: flex;
    aspect-ratio: 4 / 3;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background-color: var(--cream);
    background-image: radial-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 24px 24px;
}
.photo-spot-icon {
    display: flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow-brutal-xs);
    color: var(--accent);
}
.photo-spot-icon .icon-tabler { width: 32px; height: 32px; }
.photo-spot-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.6);
}

/* Chapter motifs - final resting states of the original animations */
.motif-card {
    border: 2px solid rgba(251, 247, 239, 0.15);
    background: rgba(17, 17, 17, 0.6);
    padding: 16px 20px;
    color: var(--accent-text);
    max-width: 420px;
}
.motif-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(251, 247, 239, 0.6);
    margin: 0 0 8px;
}
.motif-big { font-family: var(--font-display); font-size: 48px; line-height: 1; color: var(--accent-text); margin: 0; }
.motif-route, .motif-chart { display: block; width: 100%; height: auto; }
.motif-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 420px; }
.motif-logos { grid-template-columns: repeat(4, 1fr); }
.motif-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 2px solid rgba(251, 247, 239, 0.15);
    background: rgba(17, 17, 17, 0.6);
    padding: 14px 8px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(251, 247, 239, 0.7);
    text-align: center;
}
.motif-tile .icon-tabler { width: 22px; height: 22px; color: var(--accent-text); }
.motif-monitor { border: 2px solid rgba(251, 247, 239, 0.3); background: var(--cream); color: var(--ink); max-width: 420px; }
.motif-browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 2px solid var(--ink);
    padding: 8px 10px;
}
.motif-browser-bar > span:not(.motif-url) { width: 8px; height: 8px; border: 1px solid var(--ink); border-radius: 50%; }
.motif-url {
    margin-left: 8px;
    flex: 1;
    border: 1px solid var(--ink);
    padding: 2px 8px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.motif-browser-body { display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.motif-skeleton { height: 8px; background: rgba(0, 0, 0, 0.15); }
.motif-found {
    align-self: flex-start;
    margin-top: 6px;
    border: 2px solid var(--ink);
    background: var(--brand-green);
    box-shadow: var(--shadow-brutal-xs);
    padding: 4px 10px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
}
.motif-climb { padding: 20px; }
.motif-steps { display: flex; align-items: flex-end; gap: 8px; height: 160px; }
.motif-steps span {
    flex: 1;
    border: 2px solid rgba(251, 247, 239, 0.3);
    background: rgba(251, 247, 239, 0.06);
    position: relative;
}
.motif-torch { display: flex; align-items: flex-start; justify-content: center; padding-top: 6px; }
.motif-torch .icon-tabler { width: 22px; height: 22px; color: var(--brand-orange); }
.motif-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: rgba(251, 247, 239, 0.8);
    max-width: 420px;
}
.motif-checklist li { display: flex; align-items: center; gap: 10px; }
.motif-checklist li::before { content: ""; width: 10px; height: 10px; background: var(--accent-text); flex-shrink: 0; }
.motif-threads {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(251, 247, 239, 0.7);
    max-width: 420px;
}
.motif-thread { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.thread-line { display: block; width: 2px; height: 48px; }
.thread-orange { background: var(--brand-orange); }
.thread-blue { background: var(--brand-blue); }
.motif-one {
    display: flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-text);
    border-radius: 50%;
    color: var(--accent-text);
    font-weight: 700;
}

.story-closing {
    margin: 0 auto;
    display: grid;
    min-height: 70vh;
    width: 100%;
    max-width: 1152px;
    align-items: center;
    gap: 40px;
    padding: 96px 24px;
}
@media (min-width: 1024px) {
    .story-closing { grid-template-columns: 3fr 2fr; gap: 64px; }
    .story-closing .story-visual { justify-self: end; }
}
.story-closing .story-kicker { color: var(--brand-green); }
.story-closing .story-visual { width: 100%; max-width: 460px; }
.story-closing .polaroid { display: block; width: 100%; max-width: none; }

/* Reveal-on-scroll (static layer; the cinematic build takes over below) */
@media (prefers-reduced-motion: no-preference) {
    .story-section:not(.cinematic) [data-chapter] .story-moment { opacity: 0; transform: translateY(28px); transition: opacity 0.5s var(--ease-snap), transform 0.5s var(--ease-snap); }
    .story-section:not(.cinematic) [data-chapter] .story-moment:nth-child(2) { transition-delay: 0.22s; }
    .story-section:not(.cinematic) [data-chapter] .story-moment:nth-child(3) { transition-delay: 0.44s; }
    .story-section:not(.cinematic) [data-chapter] .story-visual { transform: scale(1.04); opacity: 0; transition: opacity 0.6s var(--ease-snap), transform 0.6s var(--ease-snap); }
    .story-section:not(.cinematic) [data-chapter].in-view .story-moment { opacity: 1; transform: none; }
    .story-section:not(.cinematic) [data-chapter].in-view .story-visual { opacity: 1; transform: none; }
}

/* Cinematic serpentine world (desktop + motion, built by story.js) */
.story-track { position: relative; }
.story-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.story-world { position: absolute; top: 0; left: 0; width: 200vw; will-change: transform; }
.story-road { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.story-road path {
    fill: none;
    stroke: rgba(251, 247, 239, 0.1);
    stroke-width: 2px;
    stroke-dasharray: 10 12;
    vector-effect: non-scaling-stroke;
}
.story-panel {
    position: absolute;
    width: 100vw;
    height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 0;
    box-sizing: border-box;
}
.story-panel.story-chapter { border-bottom: 0; min-height: 0; padding: 64px 0 0; }
.story-panel.story-intro, .story-panel.story-closing { min-height: 0; padding: 64px 24px 0; }
.story-panel.story-closing { display: grid; }
@media (max-height: 800px) {
    .story-panel .story-grid, .story-panel.story-intro > div, .story-panel.story-closing { scale: 0.9; }
}
.story-transition-chip {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    visibility: hidden;
    border: 2px solid currentColor;
    background: rgba(17, 17, 17, 0.85);
    padding: 12px 18px;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--accent-text, var(--brand-orange));
    pointer-events: none;
}
.story-transition-chip .icon-tabler { width: 22px; height: 22px; }
.story-minimap {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 6;
    border: 2px solid rgba(251, 247, 239, 0.2);
    background: rgba(17, 17, 17, 0.75);
    padding: 8px;
    line-height: 0;
}
.story-minimap-path {
    fill: none;
    stroke: rgba(251, 247, 239, 0.3);
    stroke-width: 1.5;
    stroke-dasharray: 3 4;
}
.story-minimap-dot { fill: var(--brand-yellow); }

/* ------------------------------------------------------------------ */
/* Journey - full-bleed retro map, passport stamps, trip sheet.        */
/* ------------------------------------------------------------------ */
.journey-heading { margin: 0 auto; width: 100%; max-width: 1152px; padding: 64px 24px 0; }
.journey-map-band {
    position: relative;
    height: 80vh;
    min-height: 30rem;
    width: 100%;
    overflow: hidden;
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    background: var(--cream);
    margin-top: 40px;
}
#journey-map { position: absolute; inset: 0; }

.accent-orange { color: var(--brand-orange); }
.accent-blue { color: var(--brand-blue); }
.accent-green { color: var(--brand-green); }
.accent-ink { color: var(--ink); }

.pin-btn {
    display: block;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}
/* Scale the svg, never the button: the button is the Mapbox marker element,
   and an individual `scale` property composes outside Mapbox's positioning
   `transform`, multiplying the marker's screen offset (the pin flies away
   from the cursor on hover). */
.pin-btn .icon-tabler {
    display: block;
    width: 30px;
    height: 30px;
    stroke: var(--ink);
    stroke-width: 1.25;
    filter: drop-shadow(2px 2px 0 var(--ink));
    transform-origin: 50% 100%;
    transition: scale 0.15s var(--ease-snap);
}
.pin-btn:hover, .pin-btn:focus-visible, .pin-btn.selected { z-index: 10; }
.pin-btn:hover .icon-tabler, .pin-btn:focus-visible .icon-tabler, .pin-btn.selected .icon-tabler { scale: 1.15; }
.pin-btn.selected { color: var(--brand-yellow); }
.pin-chip {
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    translate: -50%;
    border: 1px solid var(--ink);
    background: var(--paper);
    padding: 2px 6px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--ink);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s var(--ease-snap);
}
.pin-btn:hover .pin-chip, .pin-btn:focus-visible .pin-chip, .pin-btn.selected .pin-chip { opacity: 1; }

/* Trip sheet (off-canvas passport journal) */
.trip-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.trip-sheet-backdrop.open { opacity: 1; }
.trip-sheet {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 61;
    display: flex;
    flex-direction: column;
    width: 83.333%;
    max-width: 36rem;
    background: var(--cream);
    border-left: 2px solid var(--ink);
    transform: translateX(100%);
    transition: transform 0.25s var(--ease-snap);
}
.trip-sheet.open { transform: translateX(0); }
@media (prefers-reduced-motion: reduce) {
    .trip-sheet, .trip-sheet-backdrop { transition: none; }
}
.trip-sheet-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    width: 36px;
    height: 36px;
    border: 2px solid var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow-brutal-xs);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}
.trip-sheet-scroll { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }

.sheet-hero {
    position: relative;
    flex-shrink: 0;
    height: 13rem;
    border-bottom: 2px solid var(--ink);
    background-color: color-mix(in srgb, var(--brand-orange) 10%, var(--cream));
    background-image: radial-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 24px 24px;
    overflow: visible;
}
.sheet-flag {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 44px;
    border: 2px solid var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow-brutal-xs);
    font-size: 26px;
    transform: rotate(-2deg);
}
.sheet-cc {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 6.5rem;
    color: rgba(0, 0, 0, 0.08);
    user-select: none;
}
.sheet-ring {
    position: absolute;
    top: 24px;
    right: 96px;
    width: 84px;
    height: 84px;
    border: 2px dashed rgba(0, 0, 0, 0.25);
    border-radius: 50%;
}
.sheet-control {
    position: absolute;
    left: 16px;
    bottom: 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.6);
}
.sheet-stamp {
    position: absolute;
    right: 20px;
    bottom: -36px;
    z-index: 3;
    display: block;
    border: 2px solid currentColor;
    border-radius: 6px;
    padding: 3px;
    background: rgba(251, 247, 239, 0.85);
    mix-blend-mode: multiply;
    font-family: var(--font-mono);
    text-transform: uppercase;
    text-align: center;
}
.sheet-stamp-inner { display: flex; flex-direction: column; border: 1px solid currentColor; border-radius: 4px; padding: 4px 12px; line-height: 1.2; }
.sheet-stamp-admitted { font-size: 9px; letter-spacing: 0.3em; }
.sheet-stamp-code { font-size: 24px; font-weight: 700; letter-spacing: 0.08em; }
.sheet-stamp-meta { font-size: 9px; letter-spacing: 0.2em; }

.sheet-header { display: flex; flex-direction: column; gap: 8px; border-bottom: 2px solid var(--ink); padding: 48px 20px 20px; }
.sheet-header h2 { font-family: var(--font-heading); font-weight: 700; font-size: 24px; letter-spacing: normal; text-transform: none; margin: 0; }
.sheet-desc { margin: 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.sheet-journal {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-image: radial-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 24px 24px;
    padding: 20px;
    flex: 1;
}
.sheet-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--ink);
    background: var(--paper);
    padding: 4px 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.sheet-badge-yellow { background: var(--brand-yellow); }
.sheet-badge .icon-tabler { width: 16px; height: 16px; }
.sheet-summary { margin: 0; font-size: 14px; line-height: 1.55; }
.sheet-trip-line { margin: 0; font-family: var(--font-mono); font-size: 12px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.sheet-footer { border-top: 2px solid var(--ink); padding: 16px 20px; background: var(--cream); }

/* Trip post pages */
.trip-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 2px solid var(--ink);
    background: var(--brand-blue);
    color: #fff;
    padding: 4px 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: var(--shadow-brutal-xs);
}
.trip-badge .icon-tabler { width: 16px; height: 16px; }
.trip-meta { border: 2px solid var(--ink); background: var(--paper); padding: 20px; box-shadow: var(--shadow-brutal-sm); margin: 32px 0; }
.trip-meta .button { margin-top: 12px; }
.trip-route { font-family: var(--font-heading); margin: 8px 0 0; }
.trip-log { padding-top: 0; padding-bottom: 24px; }
.trip-stops { background: none; padding: 0; }
.stamp-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.stamp-card { background: var(--paper); border: 2px dashed var(--ink); box-shadow: var(--shadow-brutal-xs); padding: 16px 18px; }
.stamp-card .stamp-code {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    border: 2px solid var(--brand-orange);
    color: var(--brand-orange);
    padding: 2px 8px;
    transform: rotate(-3deg);
    margin-bottom: 8px;
}
.stamp-card strong { display: block; font-family: var(--font-heading); }
.stamp-card p { margin: 4px 0 0; font-size: 14px; color: var(--ink-muted); }
.stamp-card .icon-tabler { width: 15px; height: 15px; vertical-align: -3px; }

/* FAQ accordion - native details/summary, styled like the original site's
   accordion: open item gets a yellow header and a minus marker. */
.faq-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; max-width: 760px; }
.faq-item { border: 2px solid var(--ink); background: var(--paper); box-shadow: var(--shadow-brutal-sm); }
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    list-style: none;
    user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-marker { font-family: var(--font-mono); font-size: 18px; line-height: 1; }
.faq-marker::before { content: "+"; }
.faq-item[open] summary { background: var(--brand-yellow); border-bottom: 2px solid var(--ink); }
.faq-item[open] .faq-marker::before { content: "\2212"; }
.faq-answer { margin: 0; padding: 16px 20px; font-size: 15px; line-height: 1.55; }
@media (prefers-reduced-motion: no-preference) {
    .faq-item[open] .faq-answer { animation: faq-in 200ms var(--ease-snap); }
}
@keyframes faq-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: none; }
}

/* Home hero - two-column grid, stamp-chip eyebrow, badges, portrait on a
   blue offset block (per the original Hero module) */
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 7fr 5fr; gap: 64px; } }
.stamp-chip {
    display: inline-block;
    border: 2px solid var(--ink);
    background: var(--paper);
    padding: 6px 12px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 24px;
}
.badge-label {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin: 24px 0 12px;
}
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.badge {
    display: inline-block;
    border: 2px solid var(--ink);
    background: var(--paper);
    padding: 4px 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.hero-portrait { position: relative; max-width: 28rem; margin: 0 20px 20px 0; justify-self: center; }
@media (min-width: 1024px) { .hero-portrait { justify-self: end; } }
.hero-portrait::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translate(20px, 20px);
    background: var(--brand-blue);
    border: 2px solid var(--ink);
}
.hero-portrait .polaroid { position: relative; box-shadow: none; max-width: none; display: block; }
.hero-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.05); }

/* Heading utilities matching the original's Space Grotesk h4/h3 scale,
   for section titles that are NOT the giant Archivo Black display */
.heading-sm {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.1;
    letter-spacing: -1px;
    text-transform: none;
}
.heading-md {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -1px;
    text-transform: none;
}
.uppercase { text-transform: uppercase; }
.band-centered { text-align: center; }
.band-centered .lede, .band-centered .eyebrow { margin-left: auto; margin-right: auto; }

/* Day / night split band */
.split-band { display: grid; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.split-cell { display: flex; flex-direction: column; gap: 12px; padding: 40px 24px; }
.split-day { background: var(--brand-orange); color: var(--ink); border-bottom: 2px solid var(--ink); }
.split-night { background: var(--ink); color: var(--cream); }
.split-label { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.split-label .icon-tabler { width: 14px; height: 14px; }
.split-night .split-label { color: var(--brand-orange); }
.split-cell h2 { margin: 0; }
@media (min-width: 768px) {
    .split-band { grid-template-columns: 1fr 1fr; }
    .split-day { border-bottom: 0; border-right: 2px solid var(--ink); }
    .split-cell { padding: 56px; }
}

/* Checkerboard edges dissolving the hero into the split band */
.split-edges { display: flex; }
.split-edges > div { flex: 1; height: 32px; background-size: 16px 16px; }
.split-edges .pixel-edge-orange { background-image: repeating-conic-gradient(var(--brand-orange) 0% 25%, transparent 0% 50%); }
.split-edges .pixel-edge-ink { background-image: repeating-conic-gradient(var(--ink) 0% 25%, transparent 0% 50%); display: none; }
@media (min-width: 768px) { .split-edges .pixel-edge-ink { display: block; } }

/* Yellow marquee + checkerboard pixel edge */
.marquee { overflow: hidden; background: var(--brand-yellow); border-bottom: 2px solid var(--ink); }
.marquee-track { display: flex; width: max-content; white-space: nowrap; }
.marquee-group { display: inline-flex; padding: 12px 0; }
.marquee-group span {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    line-height: 1.2;
    text-transform: uppercase;
}
.marquee-group span::after { content: "/"; margin: 0 28px; opacity: 0.8; }
@media (prefers-reduced-motion: no-preference) {
    .marquee-track { animation: marquee-scroll 30s linear infinite; }
}
@keyframes marquee-scroll { to { transform: translateX(-50%); } }
.pixel-edge {
    height: 32px;
    background-image: repeating-conic-gradient(var(--brand-yellow) 0% 25%, transparent 0% 50%);
    background-size: 16px 16px;
}

/* Offset card - image card on a colored offset rectangle (bust, portrait) */
.offset-card { position: relative; max-width: 28rem; margin: 0 20px 20px 0; }
.offset-card::before { content: ""; position: absolute; inset: 0; transform: translate(20px, 20px); border: 2px solid var(--ink); background: var(--brand-orange); }
.offset-blue::before { background: var(--brand-blue); }
.duotone { filter: grayscale(1) sepia(1) saturate(2.4) hue-rotate(-22deg) contrast(1.05); }

/* Greek statue glitch (per Figma 17:8892): grayscale cutout statue with a
   single #1798e9 rectangle in difference blend - reads orange over the light
   background and electric blue across the statue. */
.glitch-bust { position: relative; width: 100%; max-width: 34rem; margin: 0 auto; aspect-ratio: 548 / 468; overflow: hidden; }
.glitch-bust img {
    position: absolute;
    left: -20.6%;
    top: -5.2%;
    width: 141.2%;
    max-width: none;
    height: auto;
    filter: grayscale(1);
}
.glitch-bust-band {
    position: absolute;
    left: 2%;
    top: 18%;
    width: 92.7%;
    height: 42.5%;
    background: #1798e9;
    mix-blend-mode: difference;
}
.offset-card-inner { position: relative; border: 2px solid var(--ink); background: var(--paper); padding: 24px; box-shadow: var(--shadow-brutal); }
.offset-card-inner img { display: block; width: 100%; height: auto; }

.intro-grid { display: grid; gap: 48px; align-items: center; margin-top: 56px; }
@media (min-width: 768px) { .intro-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.badge-yellow { background: var(--brand-yellow); }

/* Orange credibility stat band */
.stat-band { background: var(--brand-orange); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 1152px; margin: 0 auto; padding: 32px 24px; }
.stat-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px 16px; text-align: center; }
.stat-label { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(0, 0, 0, 0.7); }
.stat-value { font-family: var(--font-heading); font-weight: 700; font-size: 20px; line-height: 1.2; }
@media (max-width: 767px) {
    .stat-cell:nth-child(odd) { border-right: 2px solid var(--ink); }
    .stat-cell:nth-child(-n+2) { border-bottom: 2px solid var(--ink); }
}
@media (min-width: 768px) {
    .stat-grid { grid-template-columns: repeat(4, 1fr); padding: 48px 24px; }
    .stat-cell:not(:last-child) { border-right: 2px solid var(--ink); }
}

/* Blue nights-and-weekends band with cityscape */
.city-band { background: var(--brand-blue); color: var(--paper); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); text-align: center; padding-top: 80px; }
.city-band .eyebrow { color: var(--brand-yellow); }
.city-band .heading-sm { color: var(--paper); margin: 0 0 16px; }
.city-body { max-width: 36rem; margin: 0 auto; color: rgba(255, 255, 255, 0.85); }
.city-band .button { margin-top: 24px; }
.city-band img { display: block; width: 100%; height: auto; margin-top: 56px; pointer-events: none; user-select: none; }

/* Giant centered sentence with bordered highlight boxes */
.sentence-highlight {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    line-height: 1.4;
    margin: 0 auto;
    max-width: 56rem;
    text-align: center;
    text-wrap: balance;
}
.hl { border: 2px solid var(--ink); padding: 0.02em 0.18em; margin: 0 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; white-space: nowrap; }
.hl-orange { background: var(--brand-orange); color: var(--ink); }
.hl-blue { background: var(--brand-blue); color: var(--paper); }
.hl-yellow { background: var(--brand-yellow); color: var(--ink); }
.hl-green { background: var(--brand-green); color: var(--ink); }

/* Newsletter closer - pitch left, form card on checkerboard right */
.newsletter-cta-grid { display: grid; gap: 48px; align-items: center; }
.newsletter-cta-grid h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
@media (min-width: 1024px) { .newsletter-cta-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.social-row { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; padding: 0; }
.social-row a { display: block; color: var(--brand-orange); transition: transform 0.15s var(--ease-snap); }
.social-row a:hover { transform: translateY(-2px); }
.social-row .icon-tabler { width: 20px; height: 20px; }
.newsletter-cta-links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 8px; }
.newsletter-card-wrap { position: relative; padding: 16px; }
.newsletter-card-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-conic-gradient(rgba(0, 0, 0, 0.18) 0% 25%, transparent 0% 50%);
    background-size: 16px 16px;
    transform: rotate(-1deg);
}
.newsletter-card { position: relative; border: 2px solid var(--ink); background: var(--paper); padding: 24px; box-shadow: var(--shadow-brutal); }
.newsletter-form label { display: block; font-family: var(--font-heading); font-weight: 500; font-size: 14px; margin-bottom: 6px; }
.newsletter-form .form-field { flex: 1; }

/* Work page - offer cards, centered hero, CTA band */
.page-hero-centered { text-align: center; }
.page-hero-centered h1 { margin-left: auto; margin-right: auto; max-width: 20ch; }
.page-hero-centered .lede { margin-left: auto; margin-right: auto; }

.offer-grid { display: grid; gap: 24px; margin-top: 40px; }
.offer-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--paper);
    border: 2px solid var(--ink);
    border-top: 6px solid var(--accent, var(--ink));
    box-shadow: var(--shadow-brutal);
    padding: 24px;
}
.offer-tier {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-muted);
}
.offer-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 24px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--ink);
    padding-bottom: 12px;
}
.offer-desc { margin: 0; font-size: 15px; }
.offer-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; flex: 1; }
.offer-features li { display: flex; align-items: center; gap: 10px; }
.offer-features li::before { content: ""; width: 8px; height: 8px; background: var(--brand-orange); flex-shrink: 0; }
.offer-card .button { display: block; text-align: center; margin-top: auto; }
@media (min-width: 640px) { .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .offer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.cta-band {
    background-color: var(--night);
    background-image: radial-gradient(rgba(251, 247, 239, 0.07) 1px, transparent 1px);
    background-size: 24px 24px;
    border-top: 2px solid var(--ink);
    color: var(--cream);
    padding: 96px 0;
    text-align: center;
}
.cta-band h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    text-transform: uppercase;
    color: var(--cream);
    max-width: 24ch;
    margin: 0 auto 32px;
}
.cta-band p { color: rgba(251, 247, 239, 0.7); max-width: 44ch; margin: -16px auto 32px; }
.cta-band-actions { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.cta-band .link-arrow { color: var(--cream); }

/* Event cards - horizontal full-width rows, favicon tile filling the left column */
.event-list { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.now-card.event-card { display: grid; grid-template-columns: 128px 1fr; padding: 0; }
.event-card .event-favicon {
    grid-row: 1 / span 3;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 112px;
    border-right: 2px solid var(--ink);
    background: var(--cream);
}
.event-favicon img { display: block; width: 56px; height: 56px; border: 0; margin: 0; }
.event-favicon-fallback { font-family: var(--font-display); font-size: 34px; }
.now-card.event-card:has(.event-favicon.has-image) { grid-template-columns: 220px 1fr; }
.event-favicon.has-image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
    .now-card.event-card { grid-template-columns: 1fr; }
    .now-card.event-card .event-favicon { grid-row: auto; min-height: 96px; border-right: 0; border-bottom: 2px solid var(--ink); }
    .now-card.event-card:has(.event-favicon.has-image) { grid-template-columns: 1fr; }
    .event-favicon.has-image { min-height: 150px; }
}
.event-card .kind { padding: 14px 16px 0; }
.event-card h3 { margin: 4px 0 0; padding: 0 16px; }
.event-card p.muted { margin: 4px 0 14px; padding: 0 16px; }

/* Media cards from /api/now - image fills the card, text overlaid */
.now-card:has(img):not(.event-card) {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 260px;
    padding: 0;
    overflow: hidden;
}
.now-card:has(img):not(.event-card) img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    margin: 0;
}
.now-card:has(img):not(.event-card) .kind {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    background: var(--paper);
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-brutal-xs);
    padding: 3px 8px;
}
.now-card:has(img):not(.event-card) h3 {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 12px 14px 0;
    background: rgba(255, 255, 255, 0.94);
    border-top: 2px solid var(--ink);
}
.now-card:has(img):not(.event-card) p.muted {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 2px 14px 12px;
    background: rgba(255, 255, 255, 0.94);
}

/* Contact aside */
.contact-aside { margin-top: 48px; border-top: 2px solid var(--ink); padding-top: 24px; }
.contact-aside h2 { font-family: var(--font-heading); font-weight: 700; font-size: 18px; letter-spacing: normal; text-transform: none; }

/* Tabler icons - inlined SVGs, stroke follows text color */
.icon-tabler { width: 18px; height: 18px; vertical-align: -4px; }
.icon-link { display: inline-flex; align-items: center; gap: 6px; }
.social-links { display: inline-flex; align-items: center; gap: 12px; margin-left: 12px; vertical-align: -5px; }
.social-links .icon-tabler { width: 20px; height: 20px; }

@media (max-width: 767px) {
    .header-row nav { display: none; }
    .header-row .header-cta { display: none; }
    .menu-toggle { display: inline-flex; }
    .form-row { flex-direction: column; }
    .about-hero, .about-work { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .button, .menu-toggle { transition: none; }
}
