/* ==== fonts ==== */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/visuals/letters/mont-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/visuals/letters/mont-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/visuals/letters/mont-700.woff2') format('woff2');
}

/* ==== design tokens ==== */
:root {
    --t-root: #c3a063;
    --t-punch: #da002b;
    --t-spot-deep: #a40019;
    --t-field: #030303;
    --t-card: #121212;
    --t-fg: #FFFFFF;
    --t-text-muted: #c0bebe;
    --t-divider: #2b2b2b;
    --t-line-strong: #8a8a8a;
    --t-blend-a: #fe4f79;
    --t-blend-b: #ff0b32;
    --t-advisory: #a4161a;

    --g-1: 4px;
    --g-2: 12px;
    --g-3: 20px;
    --g-4: 36px;
    --g-5: 56px;
    --g-6: 84px;
    --g-7: 120px;
    --g-8: 180px;

    --r-stadium: 9999px;
    --r-orb: 50%;
    --r-1: 1px;
    --r-2: 2px;
    --r-3: 6px;
    --r-4: 8px;
    --r-5: 14px;
    --r-6: 20px;
    --r-7: 28px;
    --r-8: 36px;

    --f-display: 'Montserrat', 'Trebuchet MS', sans-serif;
    --f-base: 'Montserrat', 'Segoe UI', sans-serif;

    --z-display-1: 64px;
    --z-xl-2: 40px;
    --z-display-3: 28px;
    --z-h4: 22px;
    --z-minor: 18px;
    --z-h6: 16px;
    --z-body: 17px;
    --z-small: 14px;
    --z-mini: 12px;

    --l-close: 1.1;
    --l-regular: 1.5;
    --l-relaxed: 1.75;

    --w-book: 400;
    --w-demi: 500;
    --w-bold: 700;

    --e-tight: -0.02em;
    --e-regular: 0;
    --e-spread: 0.04em;

    --d-1: 0 1px 1px rgba(0, 0, 0, 0.04);
    --d-2: 0 1px 2px rgba(0, 0, 0, 0.05);
    --d-3: 0 2px 4px rgba(0, 0, 0, 0.08);
    --d-4: 0 4px 10px rgba(0, 0, 0, 0.10);
    --d-5: 0 8px 20px rgba(0, 0, 0, 0.14);
    --d-6: 0 14px 30px rgba(0, 0, 0, 0.22);
    --d-7: 0 20px 44px rgba(0, 0, 0, 0.30);
    --d-8: 0 28px 64px rgba(0, 0, 0, 0.38);

    --t-quick: 221ms;
    --t-normal: 370ms;
    --t-gentle: 680ms;

    --x-settle: cubic-bezier(0.15, 0.64, 0.48, 0.99);
    --x-enter: cubic-bezier(0.62, 0, 0.44, 0.91);
    --x-swing: cubic-bezier(0.62, 0, 0.44, 0.91);
    --x-spring: cubic-bezier(0.26, 1.5, 0.59, 1.1);

    --v-max: 1240px;
    --v-narrow: 540px;
    --v-edge-wide: 24px;
    --v-padding-tablet: 32px;
    --v-padding-mobile: 16px;

    --b-hair: 1px;
    --b-regular: 2px;
    --b-strong: 3px;

    --h-tall: 54px;
    --h-height-mobile: 54px;

    --shell-pad: 32px;
    --shell-jump: 132px;
}

/* ==== narrow-screen scale ==== */
@media (max-width: 759px) {
    :root {
        --z-display-1: 36px;
        --z-xl-2: 28px;
        --z-display-3: 22px;
        --z-h4: 18px;
        --z-minor: 16px;
        --z-h6: 14px;
        --z-body: 16px;
        --z-small: 13px;
        --z-mini: 11px;
        --v-edge-wide: 16px;
        --shell-pad: 16px;
    }
}
@media (min-width: 760px) and (max-width: 1079px) {
    :root {
        --shell-pad: 24px;
    }
}

/* ==== reset and base ==== */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
html,
body {
    overflow-x: clip;
}
body {
    margin: 0;
    background: var(--t-field);
    color: var(--t-fg);
    font-family: var(--f-base);
    font-size: var(--z-body);
    font-weight: var(--w-book);
    line-height: var(--l-relaxed);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.mast {
    flex: 1 0 auto;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    overflow-wrap: anywhere;
    font-family: var(--f-display);
    letter-spacing: var(--e-tight);
    line-height: var(--l-close);
    font-weight: var(--w-bold);
}
h1 {
    font-size: clamp(29px, 5.4vw, var(--z-display-1));
    line-height: 1.16;
    text-transform: uppercase;
}
h2 {
    font-size: clamp(24px, 3.2vw, var(--z-xl-2));
}
h3 {
    font-size: clamp(20px, 2.2vw, var(--z-display-3));
    letter-spacing: var(--e-regular);
}
p {
    margin: 0;
}
img {
    max-width: 100%;
}
a {
    color: var(--t-root);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color var(--t-quick) var(--x-settle), text-decoration-thickness var(--t-quick) var(--x-settle);
}
a:hover {
    color: var(--t-blend-a);
    text-decoration-thickness: 2px;
}
:focus-visible {
    outline: var(--b-regular) solid var(--t-root);
    outline-offset: 3px;
}
[id] {
    scroll-margin-top: var(--shell-jump);
}

/* ==== a11y helpers ==== */
.skip-jump {
    position: fixed;
    left: var(--g-3);
    top: var(--g-3);
    z-index: 200;
    background: var(--t-root);
    color: #14100a;
    padding: 10px var(--g-3);
    border-radius: var(--r-4);
    text-decoration: none;
    font-weight: var(--w-bold);
}
.skip-jump:not(:focus) {
    top: -200px !important;
}
.skip-jump:hover {
    background: var(--t-root);
    color: #14100a;
}

/* ==== motion ==== */
@keyframes mex-lift-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes mex-strip-up {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ==== responsible-gaming strip ==== */
.parapet {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 7px var(--g-3);
    background: var(--t-advisory);
    color: #FFFFFF;
    font-size: var(--z-mini);
    line-height: var(--l-regular);
    text-align: center;
}
.parapet-mark {
    background: #FFFFFF;
    color: var(--t-advisory);
    border-radius: var(--r-stadium);
    padding: 1px 9px;
    font-weight: var(--w-bold);
    letter-spacing: var(--e-spread);
}
.parapet-copy {
    color: #FFFFFF;
}
.parapet-hop {
    color: #FFFFFF;
}
.parapet-hop:hover {
    color: #ffdcdf;
}

/* ==== header: inset island ==== */
.atrium {
    position: sticky;
    top: 0;
    z-index: 60;
    padding-block: 10px;
    padding-inline: var(--shell-pad);
    background: var(--t-field);
    transition: padding-block var(--t-normal) var(--x-settle);
}
.atrium.is-shrunk {
    padding-block: var(--g-1);
}
.atrium-hold {
    position: relative;
    max-width: calc(var(--v-max) + 2 * var(--v-edge-wide));
    margin-inline: auto;
    background: var(--t-card);
    border-radius: var(--r-5);
    box-shadow: var(--d-6);
}
.atrium-bar {
    display: flex;
    align-items: center;
    gap: var(--g-3);
    min-height: 54px;
    padding-block: 8px;
    padding-inline: var(--g-4);
}
.atrium-glyph {
    display: inline-flex;
    flex-shrink: 0;
    text-decoration: none;
}
.atrium-glyph:hover {
    color: var(--t-fg);
}
.atrium-plate {
    display: inline-flex;
    align-items: center;
    background: #1d1d1d;
    color: var(--t-fg);
    border-radius: var(--r-4);
    padding: 4px 12px;
}
.atrium-glyph img {
    display: block;
    flex-shrink: 0;
    height: 60px;
    width: auto;
}
.atrium.is-shrunk .atrium-glyph img {
    height: 44px;
    transition: height var(--t-normal) var(--x-settle);
}
.atrium-toggle {
    display: none;
    margin-left: auto !important;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: var(--r-4);
    background: #232323;
    color: var(--t-fg);
    cursor: pointer;
}
.atrium-toggle:hover {
    background: #2e2e2e;
    color: var(--t-root);
}
.atrium-rule {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: currentColor;
}
.atrium-index {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
}
.atrium-series {
    display: flex;
    align-items: center;
    gap: var(--g-2);
    margin: 0;
    padding: 0;
    list-style: none;
}
.atrium-entry {
    display: flex;
    flex-shrink: 0;
    align-items: center;
}
.atrium-entry + .atrium-entry::before {
    content: '/';
    color: var(--t-line-strong);
    font-size: var(--z-small);
    padding-inline-end: var(--g-2);
}
.atrium-entry--lead::before {
    content: none !important;
}
.atrium-hop {
    display: inline-block;
    padding: 11px 10px;
    border-radius: var(--r-3);
    color: var(--t-fg);
    background: var(--t-card);
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
    text-decoration: none;
    white-space: nowrap;
}
.atrium-hop:hover {
    background: #241d12;
    color: var(--t-root);
}
.atrium-hop--live {
    color: var(--t-root);
    background: var(--t-card);
}
.atrium-shelf {
    display: none;
    position: relative;
    flex-shrink: 0;
}
.atrium-more-toggle {
    padding: 11px 12px;
    border: 0;
    border-radius: var(--r-3);
    background: #232323;
    color: var(--t-fg);
    font-family: var(--f-base);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
}
.atrium-more-toggle:hover {
    background: #2e2e2e;
    color: var(--t-root);
}
.atrium-more-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 220px;
    max-height: 60vh;
    overflow-y: auto;
    padding: var(--g-2);
    background: #1b1b1b;
    color: var(--t-fg);
    border-radius: var(--r-4);
    box-shadow: var(--d-7);
    z-index: 8;
}
.atrium-more-menu.is-open {
    display: block;
}
.atrium-more-series {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.atrium-more-series .atrium-entry::before {
    content: none;
}
.atrium-more-series .atrium-entry {
    display: block;
}
.atrium-more-series .atrium-hop {
    display: block;
    background: #1b1b1b;
    white-space: normal;
}
.atrium-more-series .atrium-hop:hover {
    background: #292014;
    color: var(--t-root);
}
.atrium-tools {
    display: flex;
    align-items: center;
    gap: var(--g-2);
    margin-left: auto;
    flex-shrink: 0;
}
.atrium-press {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding-inline: var(--g-4);
    border-radius: var(--r-stadium);
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
}
.atrium-dock {
    display: none;
}
.atrium-dock.is-open {
    display: block;
}
.atrium-dock {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 7;
    max-height: 70vh;
    overflow-y: auto;
    padding: var(--g-3);
    background: #1b1b1b;
    border-radius: var(--r-5);
    box-shadow: var(--d-7);
}
.atrium-dock-series {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.atrium-dock-entry {
    display: block;
}
.atrium-dock-hop {
    display: block;
    padding: 13px var(--g-2);
    border-radius: var(--r-3);
    background: #1b1b1b;
    color: var(--t-fg);
    font-size: var(--z-h6);
    text-decoration: none;
}
.atrium-dock-hop:hover {
    background: #292014;
    color: var(--t-root);
}
@media (max-width: 1079px) {
    .atrium-index {
        display: none;
    }
    .atrium-toggle {
        display: block;
    }
    .atrium-bar {
        padding-inline: var(--g-3);
    }
    .atrium-glyph img {
        height: 48px;
    }
    .atrium.is-shrunk .atrium-glyph img {
        height: 40px;
    }
}
@media (min-width: 1080px) {
    .atrium-dock {
        display: none !important;
    }
}

/* ==== breadcrumbs ==== */
.reel {
    display: block;
    font-family: var(--f-base);
    font-size: var(--z-small);
    color: var(--t-text-muted);
    margin-block-end: var(--g-3);
}
.reel-hop {
    color: var(--t-text-muted);
    text-decoration: none;
}
.reel-hop:hover {
    color: var(--t-root);
    text-decoration: underline;
}
.reel-sep {
    color: var(--t-root);
    margin-inline: var(--g-2);
}
.reel-now {
    color: var(--t-fg);
}

/* ==== shared section frame ==== */
.pergola-core,
.spire-core,
.quatrefoil-core,
.lobby-core,
.crochet-core,
.foyer-core,
.catwalk-core,
.canopy-core,
.belfry-core,
.lectern-core,
.threshold-core,
.credenza-core {
    max-width: calc(var(--v-max) + 2 * var(--v-edge-wide));
    margin-inline: auto;
    padding-inline: var(--v-edge-wide);
}
.spire,
.quatrefoil,
.lobby,
.crochet,
.foyer,
.catwalk,
.canopy,
.belfry,
.lectern,
.credenza {
    padding-block: var(--g-5) var(--g-4);
}

/* ==== hero: two-column card stack ==== */
.pergola {
    padding-block: var(--g-6) var(--g-4);
    background-color: #070707;
    background-image: linear-gradient(100deg, rgba(3, 3, 3, 0.95) 32%, rgba(3, 3, 3, 0.55) 100%), url('/visuals/view.webp');
    background-size: cover;
    background-position: center;
    animation: mex-lift-in var(--t-gentle) var(--x-settle) both;
}
.pergola-core {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: var(--g-5);
    align-items: center;
}
.pergola-content {
    padding-block: var(--g-3);
}
.pergola-banner {
    color: var(--t-fg);
}
.pergola-deck {
    max-width: var(--v-narrow);
    margin-block-start: var(--g-3);
    color: var(--t-text-muted);
    font-size: var(--z-minor);
    line-height: var(--l-regular);
}
.pergola-tools {
    margin-block-start: var(--g-4);
}
.pergola-press {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding-inline: var(--g-5);
    border-radius: var(--r-stadium);
    text-decoration: none;
}
.pergola-series {
    display: flex;
    flex-direction: column;
    gap: var(--g-3);
    margin: 0;
    padding: 0;
    list-style: none;
}
.pergola-entry {
    display: flex;
    align-items: baseline;
    gap: var(--g-3);
    padding: var(--g-3);
    background: #161208;
    color: var(--t-fg);
    border-radius: var(--r-4);
}
.pergola-count {
    flex-shrink: 0;
    font-family: var(--f-display);
    font-size: var(--z-display-3);
    font-weight: var(--w-bold);
    color: var(--t-root);
}
.pergola-lede {
    font-family: var(--f-display);
    font-size: var(--z-h6);
    font-weight: var(--w-bold);
    line-height: var(--l-close);
    color: var(--t-fg);
}
@media (max-width: 959px) {
    .pergola-core {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--g-4);
    }
}

/* ==== page header: crumb-trail + title ==== */
.spire-banner {
    color: var(--t-fg);
}
.spire-deck {
    margin-block-start: var(--g-3);
    color: var(--t-text-muted);
    font-size: var(--z-minor);
    line-height: var(--l-regular);
    max-width: var(--v-narrow);
}

/* ==== prose: numbered badge ==== */
.quatrefoil-core {
    counter-reset: mex-mark;
}
.quatrefoil-slab {
    margin-block-start: var(--g-4);
}
.quatrefoil-slab:first-child {
    margin-block-start: 0;
}
.quatrefoil-lede {
    counter-increment: mex-mark;
    display: flex;
    align-items: center;
    gap: var(--g-3);
    margin: 0;
    font-weight: var(--w-demi);
    font-size: clamp(23px, 2.9vw, 36px);
}
.quatrefoil-lede::before {
    content: counter(mex-mark);
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--r-orb);
    background: var(--t-punch);
    color: #FFFFFF;
    font-family: var(--f-display);
    font-size: var(--z-display-3);
    font-weight: var(--w-bold);
    letter-spacing: var(--e-regular);
}
.quatrefoil-copy {
    margin-block-start: var(--g-2);
    color: var(--t-text-muted);
    line-height: var(--l-relaxed);
}
.quatrefoil-copy strong {
    color: var(--t-fg);
}
.quatrefoil-series {
    margin-block: var(--g-2) 0;
    padding-inline-start: var(--g-4);
    color: var(--t-text-muted);
}
.quatrefoil-entry {
    margin-block-start: var(--g-1);
    line-height: var(--l-relaxed);
}
.quatrefoil-entry::marker {
    color: var(--t-root);
}
.quatrefoil-hop {
    color: var(--t-root);
}
.quatrefoil-frame {
    margin: var(--g-4) 0 0;
}
.quatrefoil-img {
    display: block;
    width: 100%;
    height: clamp(240px, 44vh, 420px);
    object-fit: cover;
    border-radius: var(--r-5);
}
.quatrefoil-invite {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--g-3);
    margin-block-start: var(--g-4);
    padding: var(--g-3);
    background: #141414;
    color: var(--t-fg);
    border-radius: var(--r-5);
    border: var(--b-hair) solid #2f2f2f;
}
.quatrefoil-press {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding-inline: var(--g-4);
    border-radius: var(--r-stadium);
    text-decoration: none;
}
.quatrefoil-fine {
    flex: 1 1 220px;
    color: var(--t-text-muted);
    font-size: var(--z-small);
    line-height: var(--l-regular);
}
@media (max-width: 759px) {
    .quatrefoil-lede::before {
        width: 44px;
        height: 44px;
        font-size: var(--z-minor);
    }
    .quatrefoil-lede {
        gap: var(--g-2);
    }
}

/* ==== inline offer hook ==== */
.harbor {
    margin-block-start: var(--g-4);
    padding-block: var(--g-2);
    text-align: center;
}
.harbor-line {
    font-size: var(--z-h6);
    line-height: var(--l-regular);
    color: var(--t-text-muted);
}
.harbor-word {
    color: var(--t-fg);
    font-weight: var(--w-bold);
}
.harbor-hop {
    color: var(--t-root);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    white-space: nowrap;
}
.harbor-hop:hover {
    color: var(--t-blend-a);
    text-decoration-thickness: 2px;
}

/* ==== items: editorial article style ==== */
.lobby-banner {
    color: var(--t-fg);
}
.lobby-series {
    display: flex;
    flex-direction: column;
    gap: var(--g-5);
    margin: var(--g-4) 0 0;
    padding: 0;
    list-style: none;
}
.lobby-entry {
    display: block;
}
.lobby-mark {
    display: inline-flex;
    color: var(--t-root);
}
.lobby-img {
    display: block;
}
.lobby-lede {
    margin-block-start: var(--g-2);
    color: var(--t-fg);
    font-family: var(--f-display);
    font-weight: var(--w-bold);
}
.lobby-lede::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    margin-block: var(--g-2);
    background: var(--t-punch);
}
.lobby-copy {
    color: var(--t-text-muted);
    line-height: var(--l-relaxed);
}

/* ==== faq: anchored linked list ==== */
.crochet-banner {
    color: var(--t-fg);
}
.crochet-toc {
    margin-block: var(--g-4) var(--g-5);
    padding: var(--g-4);
    background: #16130d;
    color: var(--t-text-muted);
    border-radius: var(--r-4);
}
.crochet-toc-series {
    margin: 0;
    padding-inline-start: var(--g-4);
    color: var(--t-text-muted);
}
.crochet-toc-entry {
    margin-block-start: var(--g-1);
}
.crochet-toc-entry::marker {
    color: var(--t-root);
}
.crochet-toc-hop {
    color: var(--t-text-muted);
    text-decoration: none;
}
.crochet-toc-hop:hover {
    color: var(--t-fg);
    text-decoration: underline;
}
.crochet-series {
    margin: 0;
}
.crochet-ask {
    margin-block-start: var(--g-4);
    padding-block-start: var(--g-3);
    border-block-start: var(--b-hair) solid var(--t-divider);
}
.crochet-lede {
    color: var(--t-fg);
    font-size: clamp(19px, 1.9vw, 24px);
}
.crochet-reply {
    margin: 0;
}
.crochet-copy {
    margin-block-start: var(--g-2);
    color: var(--t-text-muted);
    line-height: var(--l-relaxed);
}

/* ==== reviews: quote-style editorial ==== */
.foyer-banner {
    color: var(--t-fg);
}
.foyer-series {
    margin-block-start: var(--g-4);
}
.foyer-entry {
    position: relative;
    padding-block: var(--g-4);
    padding-inline-start: var(--g-5);
    border-block-end: var(--b-hair) solid var(--t-divider);
}
.foyer-entry:last-child {
    border-block-end: 0;
}
.foyer-entry::before {
    content: '\201C';
    position: absolute;
    left: 0;
    top: var(--g-3);
    font-family: var(--f-display);
    font-size: var(--z-display-1);
    line-height: 1;
    color: var(--t-root);
}
.foyer-quote {
    margin: 0;
}
.foyer-copy {
    color: var(--t-fg);
    font-family: var(--f-display);
    font-style: italic;
    font-size: var(--z-h4);
    line-height: var(--l-close);
}
.foyer-detail {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--g-2);
    margin-block-start: var(--g-3);
    color: var(--t-text-muted);
    font-size: var(--z-small);
}
.foyer-author {
    color: var(--t-root);
    font-style: normal;
    font-weight: var(--w-demi);
}
.foyer-score {
    color: var(--t-text-muted);
}
.foyer-time {
    color: var(--t-text-muted);
}
.foyer-score::before,
.foyer-time::before {
    content: '\00B7';
    color: var(--t-line-strong);
    padding-inline-end: var(--g-2);
}
@media (max-width: 759px) {
    .foyer-entry {
        padding-inline-start: var(--g-4);
    }
}

/* ==== data table: card per row on narrow ==== */
.canopy-banner {
    color: var(--t-fg);
    font-family: var(--f-display);
    font-size: clamp(24px, 3.2vw, var(--z-xl-2));
    font-weight: var(--w-bold);
    letter-spacing: var(--e-tight);
    line-height: var(--l-close);
}
.canopy-frame {
    margin-block-start: var(--g-4);
    overflow-x: auto;
}
.canopy-grid {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--z-small);
}
.canopy-cap {
    display: table-header-group;
}
.canopy-strip {
    display: table-row;
}
.canopy-head {
    padding: var(--g-2) var(--g-3);
    background: #201a10;
    color: var(--t-fg);
    text-align: start;
    font-family: var(--f-display);
    font-size: var(--z-small);
    letter-spacing: var(--e-spread);
    text-transform: uppercase;
}
.canopy-body {
    display: table-row-group;
}
.canopy-cell {
    padding: var(--g-2) var(--g-3);
    background: var(--t-card);
    color: var(--t-text-muted);
    border-block-start: var(--b-hair) solid var(--t-divider);
    vertical-align: top;
}
@media (max-width: 759px) {
    .canopy-frame {
        overflow-x: visible;
    }
    .canopy-grid,
    .canopy-body,
    .canopy-cap {
        display: block;
    }
    .canopy-cap {
        display: none;
    }
    .canopy-strip {
        display: block;
        margin-block-end: var(--g-3);
        padding: var(--g-3);
        background: var(--t-card);
        border-radius: var(--r-4);
    }
    .canopy-cell {
        display: block;
        padding: 6px 0;
        background: var(--t-card);
        border-block-start: 0;
    }
    .canopy-cell::before {
        content: attr(data-label);
        display: block;
        color: var(--t-root);
        font-size: var(--z-mini);
        letter-spacing: var(--e-spread);
        text-transform: uppercase;
    }
}

/* ==== cta block: centered contained box ==== */
.catwalk-box {
    max-width: var(--v-narrow);
    margin-inline: auto;
    padding: var(--g-5);
    background: #17130a;
    color: var(--t-fg);
    border: var(--b-hair) solid #333333;
    border-radius: var(--r-5);
    text-align: center;
}
.catwalk-banner {
    color: var(--t-fg);
}
.catwalk-copy {
    margin-block: var(--g-3);
    color: var(--t-text-muted);
    line-height: var(--l-relaxed);
}
.catwalk-press {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding-inline: var(--g-4);
    border-radius: var(--r-stadium);
    text-decoration: none;
}
.catwalk-fine {
    margin-block-start: var(--g-3);
    color: var(--t-text-muted);
    font-size: var(--z-mini);
    line-height: var(--l-regular);
}

/* ==== author byline ==== */
.pier {
    padding-block: var(--g-5) var(--g-3);
}
.pier-quote {
    max-width: var(--v-narrow);
    margin-inline: auto;
    padding-inline: var(--v-edge-wide);
    text-align: center;
}
.pier-copy {
    color: var(--t-fg);
    font-family: var(--f-display);
    font-style: italic;
    font-size: var(--z-minor);
    line-height: var(--l-regular);
}
.pier-detail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--g-2);
    margin-block-start: var(--g-3);
}
.pier-pic {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: var(--r-orb);
    object-fit: cover;
}
.pier-author {
    font-style: normal;
    font-weight: var(--w-bold);
}
.pier-hop {
    color: var(--t-root);
    text-decoration: none;
}
.pier-hop:hover {
    color: var(--t-blend-a);
    text-decoration: underline;
}
.pier-hat {
    color: var(--t-text-muted);
    font-size: var(--z-small);
    font-style: italic;
}
.pier-time {
    color: var(--t-text-muted);
    font-size: var(--z-small);
}

/* ==== author card: full-hero ==== */
.threshold {
    padding-block: var(--g-6) var(--g-4);
    background-color: #2a2113;
    background-image: linear-gradient(135deg, #2a2113 0%, var(--t-field) 78%);
}
.threshold-core {
    display: grid;
    grid-template-columns: 224px minmax(0, 1fr);
    gap: var(--g-5);
    align-items: center;
}
.threshold-pic {
    width: 224px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: var(--r-5);
    box-shadow: var(--d-5);
}
.threshold-pic img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 22%;
}
.threshold-body {
    color: var(--t-fg);
}
.threshold-hat {
    color: var(--t-root);
    font-size: var(--z-small);
    letter-spacing: var(--e-spread);
    text-transform: uppercase;
}
.threshold-banner {
    margin-block-start: var(--g-2);
    color: var(--t-fg);
}
.threshold-copy {
    margin-block-start: var(--g-3);
    color: var(--t-text-muted);
    font-size: var(--z-minor);
    line-height: var(--l-regular);
}
.threshold-series {
    display: flex;
    flex-wrap: wrap;
    gap: var(--g-2);
    margin: var(--g-3) 0 0;
    padding: 0;
    list-style: none;
}
.threshold-entry {
    padding: 6px var(--g-2);
    background: #100c05;
    color: var(--t-text-muted);
    border-radius: var(--r-stadium);
    font-size: var(--z-small);
}
@media (max-width: 759px) {
    .threshold-core {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--g-4);
    }
}

/* ==== legal: compact multi-page ==== */
.belfry-core {
    counter-reset: mex-clause;
}
.belfry-intro {
    color: var(--t-text-muted);
    font-size: var(--z-body);
    line-height: var(--l-relaxed);
}
.belfry-stamp {
    margin-block-start: var(--g-2);
    color: var(--t-line-strong);
    font-size: var(--z-mini);
}
.belfry-slab {
    margin-block-start: var(--g-4);
}
.belfry-lede {
    counter-increment: mex-clause;
    color: var(--t-fg);
    font-size: var(--z-h4);
}
.belfry-lede::before {
    content: '\00A7 ' counter(mex-clause) '. ';
    color: var(--t-root);
}
.belfry-copy {
    margin-block-start: var(--g-2);
    color: var(--t-text-muted);
    font-size: var(--z-small);
    line-height: var(--l-relaxed);
}
.belfry-hop {
    color: var(--t-root);
}
.belfry-series {
    margin-block: var(--g-2) 0;
    padding-inline-start: var(--g-4);
    color: var(--t-text-muted);
    font-size: var(--z-small);
}
.belfry-entry {
    margin-block-start: var(--g-1);
}
.belfry-entry::marker {
    color: var(--t-root);
}
.belfry-fine {
    margin-block-start: var(--g-4);
    padding: var(--g-3);
    background: var(--t-card);
    color: var(--t-text-muted);
    border-radius: var(--r-4);
    font-size: var(--z-mini);
    line-height: var(--l-regular);
}

/* ==== contact form: card with accent header ==== */
.lectern-slab {
    max-width: 720px;
    margin-inline: auto;
    padding: 0 var(--g-4) var(--g-4);
    background: var(--t-card);
    color: var(--t-fg);
    border-radius: var(--r-5);
    overflow: hidden;
}
.lectern-cap {
    height: 8px;
    margin-inline: calc(-1 * var(--g-4));
    background: var(--t-punch);
}
.lectern-body {
    padding-block-start: var(--g-4);
}
.lectern-intro {
    color: var(--t-text-muted);
    line-height: var(--l-relaxed);
}
.lectern-form {
    margin-block-start: var(--g-3);
}
.lectern-strip {
    display: block;
    margin-block-start: var(--g-3);
}
.lectern-chip {
    display: block;
    margin-block-end: 6px;
    color: var(--t-fg);
    font-size: var(--z-small);
    font-weight: var(--w-demi);
}
.lectern-field {
    display: block;
    width: 100%;
    padding: 12px var(--g-2);
    background: #1c1c1c;
    color: var(--t-fg);
    border: var(--b-hair) solid #3c3c3c;
    border-radius: var(--r-3);
    font-family: var(--f-base);
    font-size: var(--z-h6);
}
.lectern-field--tall {
    resize: vertical;
}
.lectern-send {
    margin-block-start: var(--g-3);
    min-height: 50px;
    padding-inline: var(--g-4);
    border: 0;
    border-radius: var(--r-stadium);
    background: var(--t-root);
    color: #14100a;
    font-family: var(--f-display);
    font-size: var(--z-h6);
    font-weight: var(--w-bold);
    letter-spacing: var(--e-spread);
    text-transform: uppercase;
    cursor: pointer;
    transition: transform var(--t-quick) var(--x-settle);
}
.lectern-send:hover {
    background: #d3b177;
    color: #14100a;
    transform: translateY(-7px);
}
.lectern-done {
    margin-block-start: var(--g-3);
    padding: var(--g-2);
    background: #10240f;
    color: #b7f0b0;
    border-radius: var(--r-4);
}
.lectern-mail {
    margin-block-start: var(--g-3);
    color: var(--t-text-muted);
    font-size: var(--z-small);
}
.lectern-hop {
    color: var(--t-root);
}

/* ==== error block: glitch ==== */
.credenza {
    padding-block: var(--g-6) var(--g-5);
    text-align: center;
}
.credenza-code {
    display: block;
    color: var(--t-root);
    font-family: var(--f-display);
    font-size: var(--z-display-3);
    letter-spacing: var(--e-spread);
}
.credenza-banner {
    position: relative;
    max-width: var(--v-narrow);
    margin: var(--g-3) auto 0;
    color: var(--t-fg);
}
.credenza-banner::before,
.credenza-banner::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    color: var(--t-punch);
    opacity: 0.6;
    pointer-events: none;
}
.credenza-banner::before {
    transform: translate(2px, -2px);
}
.credenza-banner::after {
    transform: translate(-2px, 2px);
    color: var(--t-spot-deep);
}
.credenza-copy {
    max-width: var(--v-narrow);
    margin: var(--g-3) auto 0;
    color: var(--t-text-muted);
    line-height: var(--l-relaxed);
}
.credenza-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin-block-start: var(--g-4);
    padding-inline: var(--g-4);
    background: var(--t-root);
    color: #14100a;
    border-radius: var(--r-stadium);
    font-family: var(--f-display);
    font-weight: var(--w-bold);
    letter-spacing: var(--e-spread);
    text-decoration: none;
    text-transform: uppercase;
    transition: transform var(--t-quick) var(--x-settle);
}
.credenza-back:hover {
    background: #d3b177;
    color: #14100a;
    transform: translateY(-7px);
}

/* ==== cookie notice: inline above footer ==== */
.tribune {
    max-width: calc(var(--v-max) + 2 * var(--v-edge-wide));
    margin-inline: auto;
    padding-inline: var(--v-edge-wide);
    padding-block: var(--g-3);
}
.tribune[hidden] {
    display: none;
}
.tribune-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--g-3);
    align-items: center;
    padding: var(--g-3);
    background: var(--t-card);
    color: var(--t-fg);
    border: var(--b-hair) solid #2f2f2f;
    border-radius: var(--r-4);
    animation: mex-strip-up var(--t-normal) var(--x-settle) both;
}
.tribune-blurb {
    color: var(--t-text-muted);
    font-size: var(--z-small);
    line-height: var(--l-regular);
}
.tribune-tools {
    display: flex;
    gap: var(--g-2);
}
.tribune-agree,
.tribune-dismiss {
    min-height: 44px;
    padding-inline: var(--g-3);
    border: 0;
    border-radius: var(--r-stadium);
    font-family: var(--f-base);
    font-size: var(--z-small);
    font-weight: var(--w-demi);
    cursor: pointer;
}
.tribune-agree {
    background: var(--t-root);
    color: #14100a;
}
.tribune-agree:hover {
    background: #d3b177;
    color: #14100a;
}
.tribune-dismiss {
    background: #2b2b2b;
    color: var(--t-fg);
}
.tribune-dismiss:hover {
    background: #383838;
    color: var(--t-fg);
}
@media (max-width: 720px) {
    .tribune,
    .tribune-bar {
        gap: 8px !important;
        font-size: 13px !important;
        line-height: 1.35 !important;
    }
    .tribune-bar {
        grid-template-columns: minmax(0, 1fr);
        padding: 12px 14px !important;
    }
    .tribune-tools {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .tribune-agree,
    .tribune-dismiss {
        min-height: 36px !important;
        padding: 8px 14px !important;
        font-size: 12px !important;
    }
}

/* ==== footer: side-anchored asymmetric ==== */
.hearth {
    background: var(--t-root);
    color: #1a1305;
}
.hearth-shell {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: var(--g-4);
    max-width: calc(var(--v-max) + 2 * var(--v-edge-wide));
    margin-inline: auto;
    padding-inline: var(--v-edge-wide);
    padding-block: var(--g-5) var(--g-4);
}
.hearth-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--g-4);
    align-items: start;
}
.hearth-glyph {
    grid-column: 1 / -1;
    display: inline-block;
    width: fit-content;
    text-decoration: none;
}
.hearth-glyph img {
    display: block;
    height: 54px;
    width: auto;
}
.hearth-index {
    display: block;
}
.hearth-index--rule {
    display: block;
}
.hearth-lede {
    color: #1a1305;
    font-family: var(--f-display);
    font-size: var(--z-h6);
    font-weight: var(--w-bold);
    letter-spacing: var(--e-spread);
    text-transform: uppercase;
}
.hearth-series {
    margin: var(--g-2) 0 0;
    padding: 0;
    list-style: none;
}
.hearth-entry {
    margin-block-start: 6px;
}
.hearth-hop {
    color: #1a1305;
    font-size: var(--z-small);
    text-decoration: none;
}
.hearth-hop:hover {
    color: #1a1305;
    text-decoration: underline;
    text-decoration-thickness: 2px;
}
.hearth-fine {
    grid-column: 1 / -1;
}
.hearth-note {
    color: #33260c;
    font-size: var(--z-mini);
    line-height: var(--l-regular);
}
.hearth-stamp {
    display: block;
    margin-block-start: var(--g-2);
    color: #1a1305;
    font-size: var(--z-mini);
}
.hearth-post {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--g-4);
    background: var(--t-punch);
    color: #FFFFFF;
    border-radius: var(--r-4);
}
.hearth-word {
    background: var(--t-punch);
    color: #FFFFFF;
    font-family: var(--f-display);
    font-size: var(--z-xl-2);
    font-weight: var(--w-bold);
    letter-spacing: var(--e-tight);
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}
@media (max-width: 959px) {
    .hearth-shell {
        grid-template-columns: minmax(0, 1fr);
    }
    .hearth-word {
        writing-mode: horizontal-tb;
        transform: none;
    }
    .hearth-post {
        padding: var(--g-3);
    }
}
@media (max-width: 559px) {
    .hearth-content {
        grid-template-columns: minmax(0, 1fr);
    }
}
.mexboss-act{display:inline-flex;align-items:center;justify-content:center;padding:0 var(--g-4);min-height:50px;border-radius:var(--r-stadium);font-weight:var(--w-bold);letter-spacing:var(--e-spread)}
.mexboss-act{
  background:#7C3AED;color:#FFFFFF;text-decoration:none;text-transform:uppercase;
  transition:background var(--t-quick) var(--x-settle),border-color var(--t-quick) var(--x-settle);}
.mexboss-act.mexboss-act{color:#FFFFFF;text-decoration:none;}
.mexboss-act:hover{background:#6D28D9;color:#FFFFFF;animation:none}
.mexboss-act.mexboss-act:hover{color:#FFFFFF;text-decoration:none}
.mexboss-act:hover::after{animation:none}
.mexboss-act:active{background:#5B21B6;color:#FFFFFF}
.mexboss-act:focus-visible{outline:3px solid #030303;outline-offset:3px}
.mexboss-act{animation:mexboss-pulse 0.95s var(--x-swing) infinite}
@keyframes mexboss-pulse{0%{transform:translate(0,0)}14.737%{transform:translate(4px,4px)}52.632%,100%{transform:translate(0,0)}}
@media (prefers-reduced-motion:reduce){.mexboss-act,.mexboss-act::after{animation:none!important;transition:none!important}}

/* ==== offer button: size per placement ==== */
.pergola .mexboss-act {
    min-height: 56px;
    padding-inline: var(--g-5);
}
.atrium-bar .mexboss-act {
    min-height: 46px;
    padding-inline: var(--g-4);
}
.catwalk .mexboss-act {
    min-height: 52px;
    padding-inline: var(--g-4);
}
.tribune-agree:hover,
.tribune-dismiss:hover {
    transform: translateY(-7px);
    transition: transform var(--t-quick) var(--x-settle);
}

/* ==== header on narrow screens: offer button on its own row ==== */
@media (max-width: 767px) {
    .atrium-bar {
        flex-wrap: wrap;
        gap: var(--g-2);
    }
    .atrium-glyph img {
        height: 42px;
    }
    .atrium.is-shrunk .atrium-glyph img {
        height: 36px;
    }
    .atrium-tools {
        order: 3;
        width: 100%;
        margin-left: 0;
    }
    .atrium-bar .mexboss-act {
        width: 100%;
        min-height: 44px;
        padding-inline: var(--g-2);
        font-size: var(--z-small);
    }
}

/* ==== header: keep more menu items in the row on mid desktops ==== */
@media (min-width: 1080px) and (max-width: 1539px) {
    .atrium-glyph img {
        height: 52px;
    }
    .atrium-bar {
        gap: var(--g-2);
        padding-inline: var(--g-3);
    }
    .atrium-bar .mexboss-act {
        padding-inline: var(--g-3);
        font-size: var(--z-small);
    }
    .atrium-hop {
        padding-inline: 8px;
    }
}

/* ==== header: compact sticky shell on phones ==== */
@media (max-width: 767px) {
    .atrium {
        padding-block: 8px;
    }
    .atrium-bar {
        padding-block: 6px;
        padding-inline: var(--g-2);
        min-height: 0;
    }
    .atrium-glyph img {
        height: 38px;
    }
    .atrium-plate {
        padding: 3px 9px;
    }
    .atrium-toggle {
        width: 42px;
        height: 42px;
    }
    .atrium-bar .mexboss-act {
        min-height: 42px;
    }
    .atrium.is-shrunk .atrium-bar {
        gap: 8px;
    }
    .atrium.is-shrunk .atrium-glyph img {
        height: 30px;
    }
    .atrium.is-shrunk .atrium-bar .mexboss-act {
        min-height: 38px;
        font-size: var(--z-mini);
    }
    .parapet {
        padding: 6px var(--g-2);
    }
}

/* ==== offer inserts inside card, quote and question runs ==== */
.lobby-invite,
.foyer-invite,
.crochet-invite {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--g-3);
    padding: var(--g-3);
    background: #141414;
    color: var(--t-fg);
    border: var(--b-hair) solid #2f2f2f;
    border-radius: var(--r-5);
}
.crochet-invite {
    margin-block-end: var(--g-4);
}
.lobby-entry--call {
    display: block;
}
.crochet-slot {
    display: block;
    margin-block: var(--g-4);
}
.lobby-press,
.foyer-press,
.crochet-press {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding-inline: var(--g-4);
    border-radius: var(--r-stadium);
    text-decoration: none;
}
.lobby-fine,
.foyer-fine,
.crochet-fine {
    flex: 1 1 220px;
    color: var(--t-text-muted);
    font-size: var(--z-small);
    line-height: var(--l-regular);
}
.foyer-invite {
    margin-block: var(--g-4);
}

@media (max-width: 1093px) {
  .atrium-index,
  .atrium-series,
  .atrium-hop { display: none !important; }
  .atrium-toggle { display: block !important; }
}
