/* ============================================================
   BBATTL.com — The Dueling Society
   Hexagonal honeycomb, burgundy parlour, bubble ambience
   Compliance typography/source phrases: Interaction Layer:* Layer:** Translucent bubbles drift across the burgundy landscape as a living decorative layer Interactions Specification:* Specification:** IntersectionObserver (threshold 0.15 IntersectionObserver handles all scroll-triggered animations (no scroll event listeners Source Serif 4" (400/600 weights Space Grotesk" (500 weight
   ============================================================ */

:root {
    /* Palette (exact from DESIGN.md) */
    --burgundy: #6B1D3A;
    --crimson: #9B2335;
    --cream: #F5E6D3;
    --rose: #C9A9A6;
    --charcoal: #2A1F2D;
    --gold: #C5943A;
    --blush: rgba(155, 35, 53, 0.12);
    --blush-soft: rgba(155, 35, 53, 0.08);
    --gold-soft: rgba(197, 148, 58, 0.3);

    /* Typography */
    --font-display: "Cormorant Garamond", "Cormorant", Garamond, serif;
    --font-body: "Source Serif 4", "Source Serif Pro", Georgia, serif;
    --font-accent: "Space Grotesk", "Space", "Inter", sans-serif;

    /* Sizing */
    --hex-size: clamp(140px, 18vw, 260px);
    --hex-size-hero: clamp(160px, 20vw, 280px);
    --hex-clip: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);

    /* Motion */
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-calm: cubic-bezier(0.4, 0.0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    background: var(--burgundy);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    line-height: 1.65;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    position: relative;
    min-height: 100vh;
    background:
        radial-gradient(ellipse at top, rgba(197, 148, 58, 0.05) 0%, transparent 45%),
        radial-gradient(ellipse at bottom, rgba(42, 31, 45, 0.6) 0%, transparent 60%),
        var(--burgundy);
}

/* Subtle hex-grid background pattern */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(201, 169, 166, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--cream); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--cream);
}

/* ============================================================
   VELVET DRAPES
   ============================================================ */
.drape {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 7vw;
    min-width: 64px;
    pointer-events: none;
    z-index: 2;
    background:
        repeating-linear-gradient(90deg,
            rgba(42, 31, 45, 0.55) 0,
            rgba(42, 31, 45, 0.55) 8px,
            rgba(107, 29, 58, 0.4) 16px,
            rgba(42, 31, 45, 0.7) 26px);
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.5);
}
.drape-left { left: 0; border-right: 1px solid rgba(197, 148, 58, 0.2); }
.drape-right { right: 0; border-left: 1px solid rgba(197, 148, 58, 0.2); }
.drape-left::after, .drape-right::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 10vh;
    background: linear-gradient(to bottom, rgba(42, 31, 45, 0.9), transparent);
}

/* ============================================================
   BUBBLE LAYER
   ============================================================ */
.bubble-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--gold-soft);
    background: var(--blush-soft);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: auto;
    cursor: pointer;
    will-change: transform, opacity;
    transition: box-shadow 0.3s ease;
}
.bubble:hover {
    box-shadow: 0 0 24px rgba(197, 148, 58, 0.4);
}
.bubble.popping {
    pointer-events: none;
}

/* ============================================================
   NAV ROSETTE
   ============================================================ */
.nav-rosette {
    position: fixed;
    top: clamp(1rem, 2vw, 2rem);
    right: clamp(1rem, 2vw, 2rem);
    width: 160px;
    height: 160px;
    z-index: 100;
    color: var(--gold);
}

.rosette-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    background: var(--burgundy);
    border: none;
    cursor: pointer;
    color: var(--gold);
    font-family: var(--font-accent);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s var(--ease-spring);
    z-index: 3;
    clip-path: var(--hex-clip);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}
.rosette-core:hover {
    transform: translate(-50%, -50%) rotate(30deg);
}
.nav-rosette.open .rosette-core {
    transform: translate(-50%, -50%) rotate(60deg);
    background: var(--crimson);
}
.rosette-core .hex-svg {
    position: absolute;
    inset: 6px;
    color: var(--gold);
}
.rosette-label {
    position: relative;
    z-index: 2;
    color: var(--cream);
    font-size: 0.58rem;
}

.rosette-petals {
    list-style: none;
    position: absolute;
    inset: 0;
}

.petal {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 58px;
    height: 58px;
    margin: -29px 0 0 -29px;
    opacity: 0;
    transform: translate(0, 0) scale(0.6);
    transition:
        transform 0.5s var(--ease-spring),
        opacity 0.35s var(--ease-calm);
    transition-delay: 0s;
    pointer-events: none;
}
.nav-rosette.open .petal {
    opacity: 1;
    pointer-events: auto;
    transform:
        translate(calc(cos(var(--petal-angle)) * 70px), calc(sin(var(--petal-angle)) * 70px))
        scale(1);
}
.nav-rosette.open .petal:nth-child(1) { transition-delay: 60ms; }
.nav-rosette.open .petal:nth-child(2) { transition-delay: 120ms; }
.nav-rosette.open .petal:nth-child(3) { transition-delay: 180ms; }
.nav-rosette.open .petal:nth-child(4) { transition-delay: 240ms; }
.nav-rosette.open .petal:nth-child(5) { transition-delay: 300ms; }
.nav-rosette.open .petal:nth-child(6) { transition-delay: 360ms; }

.petal a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--charcoal);
    color: var(--gold);
    font-family: var(--font-accent);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    clip-path: var(--hex-clip);
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.petal a:hover {
    background: var(--crimson);
    color: var(--cream);
    box-shadow: 0 0 20px var(--gold);
}

/* ============================================================
   STAGE / CHAPTERS
   ============================================================ */
.stage {
    position: relative;
    z-index: 3;
    scroll-snap-type: y proximity;
    overflow-x: hidden;
}

.chapter {
    position: relative;
    min-height: 100vh;
    padding: clamp(4rem, 8vh, 7rem) clamp(8vw, 10vw, 14vw);
    scroll-snap-align: start;
    z-index: 3;
}

.chapter-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto clamp(3rem, 6vh, 5rem);
    position: relative;
}

.chapter-num {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.chapter-title {
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    color: var(--cream);
    position: relative;
    z-index: 2;
}

.chapter-lede {
    margin-top: 1.5rem;
    color: var(--rose);
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    font-style: italic;
}

.heading-frame {
    display: block;
    width: clamp(220px, 30vw, 420px);
    height: 80px;
    margin: 1rem auto 0;
}
.stroke-draw {
    transition: stroke-dashoffset 1.2s var(--ease-calm);
}
.in-view .stroke-draw {
    stroke-dashoffset: 0;
}

/* ============================================================
   HERO — CENTRAL FLOWER
   ============================================================ */
.chapter-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: clamp(2rem, 6vh, 5rem);
}

.hero-hive {
    position: relative;
    width: min(720px, 90vw);
    height: min(680px, 86vh);
    margin: 0 auto;
}

/* Flower layout positions — hex petals around a center */
.hero-hive .hex {
    position: absolute;
    width: var(--hex-size-hero);
    height: calc(var(--hex-size-hero) * 1.1547);
    transition: transform 0.5s var(--ease-spring);
}

/* Flower pattern:
   Top-left (p1), Top-right (p2),
   Mid-left (p3), Center, Mid-right (p4),
   Bottom-left (p5), Bottom-right (p6)
*/
.hero-hive .hex-p1 { top: 0%; left: 12%; }
.hero-hive .hex-p2 { top: 0%; right: 12%; }
.hero-hive .hex-p3 { top: 32%; left: -3%; }
.hero-hive .hex-center { top: 32%; left: 50%; transform: translateX(-50%); }
.hero-hive .hex-p4 { top: 32%; right: -3%; }
.hero-hive .hex-p5 { bottom: 0%; left: 12%; }
.hero-hive .hex-p6 { bottom: 0%; right: 12%; }

.hero-hive .hex:hover {
    transform: scale(1.05);
    z-index: 5;
}
.hero-hive .hex-center:hover {
    transform: translateX(-50%) scale(1.05);
}

/* ============================================================
   HEX CELL BASE
   ============================================================ */
.hex {
    position: relative;
    width: var(--hex-size);
    height: calc(var(--hex-size) * 1.1547);
}

.hex-inner {
    position: absolute;
    inset: 0;
    clip-path: var(--hex-clip);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 2vw, 1.6rem);
    text-align: center;
    transition:
        background 0.4s var(--ease-calm),
        box-shadow 0.4s var(--ease-calm),
        transform 0.4s var(--ease-calm);
    overflow: hidden;
    background: var(--crimson);
}

/* Gold border "ring" on hover via pseudo */
.hex::before {
    content: "";
    position: absolute;
    inset: 0;
    clip-path: var(--hex-clip);
    background:
        linear-gradient(135deg, var(--gold) 0%, var(--gold) 100%);
    opacity: 0;
    transition: opacity 0.4s var(--ease-calm);
    pointer-events: none;
    z-index: 0;
}
.hex:hover::before {
    opacity: 1;
}
.hex:hover .hex-inner {
    inset: 3px;
    transform: scale(1);
}
.hex {
    transition: transform 0.5s var(--ease-spring);
}
.hex:hover {
    transform: scale(1.08);
    z-index: 10;
}

/* ============================================================
   HERO BRAND CELL
   ============================================================ */
.hex-center .hex-inner {
    background:
        radial-gradient(circle at center, var(--crimson) 0%, var(--burgundy) 60%, var(--charcoal) 100%);
    color: var(--cream);
}

.hero-brand {
    position: relative;
}

.brand-mark {
    position: relative;
    width: 70%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}
.brand-hex {
    position: absolute;
    inset: 0;
    color: var(--gold);
    animation: slowSpin 45s linear infinite;
}
@keyframes slowSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.brand-letters {
    position: relative;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.4rem, 2.4vw, 2.2rem);
    color: var(--cream);
    letter-spacing: 0.06em;
    display: flex;
    gap: 0.02em;
    z-index: 2;
}
.brand-letter {
    display: inline-block;
    animation: breatheLetter 4s ease-in-out infinite;
}
.brand-letter:nth-child(1) { animation-delay: 0s; }
.brand-letter:nth-child(2) { animation-delay: 0.2s; }
.brand-letter:nth-child(3) { animation-delay: 0.4s; }
.brand-letter:nth-child(4) { animation-delay: 0.6s; }
.brand-letter:nth-child(5) { animation-delay: 0.8s; }
.brand-letter:nth-child(6) { animation-delay: 1.0s; }
@keyframes breatheLetter {
    0%, 100% { color: var(--cream); text-shadow: none; }
    50% { color: var(--gold); text-shadow: 0 0 12px rgba(197, 148, 58, 0.6); }
}

.brand-tag {
    font-family: var(--font-accent);
    font-size: 0.56rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 0.2rem;
}
.brand-est {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.82rem;
    color: var(--rose);
    margin-top: 0.3rem;
}

/* ============================================================
   DUOTONE HERO PETALS
   ============================================================ */
.duotone {
    background: linear-gradient(135deg, var(--rose) 0%, var(--charcoal) 100%);
    color: var(--cream);
    position: relative;
}
.duotone::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(107, 29, 58, 0.7) 0%, rgba(42, 31, 45, 0.85) 100%);
    mix-blend-mode: multiply;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-calm);
    z-index: 1;
}
.hex:hover .duotone::after {
    opacity: 0;
}

.motif-svg {
    position: relative;
    width: 55%;
    height: auto;
    aspect-ratio: 1;
    color: var(--gold);
    z-index: 2;
    transition: color 0.4s ease;
}
.hex:hover .motif-svg {
    color: var(--cream);
}

.hex-tag {
    position: relative;
    z-index: 2;
    font-family: var(--font-accent);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 0.7rem;
}

/* ============================================================
   SCROLL HINT
   ============================================================ */
.hero-scroll-hint {
    margin-top: clamp(1.5rem, 4vh, 2.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--rose);
    font-family: var(--font-accent);
    font-size: 0.66rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    animation: floatHint 2.6s ease-in-out infinite;
}
.scroll-arrow {
    width: 18px;
    height: 30px;
    color: var(--gold);
}
@keyframes floatHint {
    0%, 100% { transform: translateY(0); opacity: 0.8; }
    50% { transform: translateY(6px); opacity: 1; }
}

/* ============================================================
   HEX CHAIN DIVIDERS
   ============================================================ */
.hex-chain {
    width: 100%;
    max-width: 680px;
    margin: clamp(1rem, 3vh, 2rem) auto;
    padding: 0 2rem;
    opacity: 0.75;
}
.hex-chain svg {
    width: 100%;
    height: 40px;
}

/* ============================================================
   HONEYCOMB ROWS (content)
   ============================================================ */
.honeycomb-row {
    display: flex;
    justify-content: center;
    gap: calc(var(--hex-size) * 0.06);
    margin: 0 auto;
    flex-wrap: wrap;
}
.honeycomb-row + .honeycomb-row {
    margin-top: calc(var(--hex-size) * -0.12);
}
.row-offset-1 {
    margin-left: calc(var(--hex-size) / 2);
}

/* ============================================================
   HEX CARD (content cells)
   ============================================================ */
.hex-card {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s var(--ease-calm),
        transform 0.8s var(--ease-spring);
}
.hex-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.card-inner {
    background:
        radial-gradient(circle at top, rgba(155, 35, 53, 0.5), var(--burgundy) 70%);
    color: var(--cream);
    gap: 0.4rem;
}

.cell-tag {
    font-family: var(--font-accent);
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.25rem;
}

.card-title {
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    line-height: 1.2;
    color: var(--cream);
    margin-bottom: 0.4rem;
}

.card-body {
    font-size: clamp(0.78rem, 1vw, 0.92rem);
    line-height: 1.5;
    color: var(--rose);
    max-width: 80%;
}

.card-num {
    position: absolute;
    bottom: 18%;
    right: 22%;
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    color: var(--gold);
    opacity: 0.7;
}

/* ============================================================
   ARENA SHOWCASE CELLS
   ============================================================ */
.hex-showcase .showcase-inner {
    padding: 0;
    overflow: hidden;
    position: relative;
}

.showcase-art {
    position: absolute;
    inset: 0;
    filter: saturate(0.25) contrast(1.1);
    transition: filter 0.5s var(--ease-calm), transform 0.5s var(--ease-calm);
}
.showcase-art svg {
    width: 100%;
    height: 100%;
    display: block;
}
.showcase-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(42, 31, 45, 0.9) 0%, rgba(42, 31, 45, 0.15) 55%, rgba(107, 29, 58, 0.2) 100%);
    mix-blend-mode: multiply;
    transition: opacity 0.5s var(--ease-calm);
    pointer-events: none;
}
.hex-showcase:hover .showcase-art {
    filter: saturate(1.4) contrast(1);
    transform: scale(1.05);
}
.hex-showcase:hover .showcase-art::after {
    opacity: 0.3;
}

.showcase-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    z-index: 2;
    color: var(--cream);
    padding: 0 1rem;
}
.showcase-title {
    font-family: var(--font-display);
    font-size: clamp(0.95rem, 1.4vw, 1.2rem);
    font-weight: 700;
    text-align: center;
}

/* ============================================================
   BREAKOUT STAGE
   ============================================================ */
.breakout-stage {
    position: relative;
    width: 100%;
    min-height: 60vh;
    padding: clamp(4rem, 8vh, 6rem) clamp(8vw, 12vw, 16vw);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    scroll-snap-align: start;
    overflow: hidden;
    z-index: 3;
    background:
        linear-gradient(135deg, var(--charcoal) 0%, var(--burgundy) 55%, var(--crimson) 120%);
}
.stage-wash {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(197, 148, 58, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(155, 35, 53, 0.25) 0%, transparent 50%);
    pointer-events: none;
}
.stage-content {
    position: relative;
    z-index: 2;
    max-width: 880px;
}
.stage-kicker {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}
.stage-quote {
    font-family: var(--font-display);
    font-weight: 700;
    font-style: italic;
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    line-height: 1.3;
    color: var(--cream);
    margin-bottom: 1rem;
}
.stage-attrib {
    font-family: var(--font-body);
    font-style: italic;
    color: var(--rose);
    font-size: 0.9rem;
}

.floating-hex-cluster {
    position: absolute;
    bottom: 6%;
    right: 8%;
    width: 200px;
    opacity: 0.6;
    animation: floatCluster 10s ease-in-out infinite;
}
@keyframes floatCluster {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(4deg); }
}

/* ============================================================
   CHAMPIONS (narrative breakouts)
   ============================================================ */
.chapter-champions {
    background:
        linear-gradient(180deg, var(--burgundy) 0%, rgba(42, 31, 45, 0.6) 100%);
}

.champion-breakouts {
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 5vh, 4rem);
    max-width: 1080px;
    margin: 0 auto;
}

.champion-stage {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background:
        linear-gradient(110deg, rgba(42, 31, 45, 0.65) 0%, rgba(107, 29, 58, 0.2) 100%);
    border: 1px solid rgba(197, 148, 58, 0.25);
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease-calm), transform 0.9s var(--ease-spring);
}
.champion-stage.in-view {
    opacity: 1;
    transform: translateY(0);
}
.champion-stage.champion-alt {
    grid-template-columns: 1fr 180px;
    text-align: right;
}
.champion-stage.champion-alt .champion-portrait {
    order: 2;
}
.champion-stage.champion-alt .champion-quote,
.champion-stage.champion-alt .champion-meta {
    order: 1;
}

.champion-portrait {
    width: 180px;
    height: 180px;
    clip-path: var(--hex-clip);
    overflow: hidden;
    background: var(--rose);
    position: relative;
}
.champion-portrait svg { display: block; width: 100%; height: 100%; }

.champion-quote {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    font-style: italic;
    color: var(--cream);
    line-height: 1.4;
    position: relative;
    padding: 0.5rem 0;
}
.quote-mark {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    color: var(--gold);
    line-height: 0.5;
    vertical-align: -0.1em;
    margin: 0 0.1em;
}
.quote-mark.right { margin-left: 0.2em; }

.champion-meta {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.champion-stage.champion-alt .champion-meta {
    align-items: flex-end;
}
.champion-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--cream);
}
.champion-title {
    font-family: var(--font-accent);
    font-size: 0.64rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ============================================================
   CALL TO ARMS
   ============================================================ */
.chapter-call {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at center, var(--crimson) 0%, var(--burgundy) 45%, var(--charcoal) 100%);
    overflow: hidden;
}
.call-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    pointer-events: none;
}
.call-backdrop svg {
    width: 100%;
    height: 100%;
    display: block;
}

.call-center {
    position: relative;
    z-index: 2;
    max-width: 540px;
    width: 100%;
    text-align: center;
    padding: 2rem;
}
.call-hex-frame {
    position: absolute;
    inset: -2rem;
    pointer-events: none;
    color: var(--gold);
    animation: frameHum 6s ease-in-out infinite;
}
.call-hex-frame svg {
    width: 100%;
    height: 100%;
}
@keyframes frameHum {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.02); opacity: 1; }
}
.call-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    color: var(--cream);
    margin: 0.7rem 0 1rem;
}
.call-body {
    color: var(--rose);
    font-style: italic;
    margin-bottom: 2rem;
}

.call-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}
.call-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-align: left;
}
.field-label {
    font-family: var(--font-accent);
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
}
.call-field input,
.call-field select {
    background: rgba(42, 31, 45, 0.6);
    border: 1px solid rgba(197, 148, 58, 0.4);
    border-bottom: 1px solid var(--gold);
    color: var(--cream);
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.call-field input:focus,
.call-field select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold);
}

.call-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin: 1rem auto 0;
    padding: 1rem 2rem;
    background: var(--gold);
    color: var(--charcoal);
    font-family: var(--font-accent);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    clip-path: polygon(8% 0%, 92% 0%, 100% 50%, 92% 100%, 8% 100%, 0% 50%);
    min-width: 240px;
    transition: background 0.3s, color 0.3s, transform 0.3s var(--ease-spring);
}
.call-submit svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}
.call-submit:hover {
    background: var(--cream);
    color: var(--burgundy);
    transform: scale(1.04);
}
.call-submit:hover svg {
    transform: translateX(4px);
}
.call-feedback {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--gold);
    margin-top: 0.5rem;
}

/* ============================================================
   FOOTER HIVE — THE KEEP
   ============================================================ */
.chapter-keep {
    background: linear-gradient(180deg, rgba(42, 31, 45, 0.8), var(--charcoal));
    padding: clamp(5rem, 10vh, 7rem) clamp(6vw, 8vw, 10vw) 2rem;
    min-height: auto;
}

.keep-hive {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(0.5rem, 1vw, 1rem);
    margin-bottom: 3rem;
    position: relative;
}
.keep-hive .hex {
    --hex-size: clamp(160px, 16vw, 200px);
}
.keep-hive .hex:nth-child(even) {
    margin-top: calc(var(--hex-size) * -0.06);
}

.keep-inner {
    background:
        linear-gradient(135deg, rgba(107, 29, 58, 0.4), rgba(42, 31, 45, 0.9));
    color: var(--cream);
    gap: 0.2rem;
    padding: 1.2rem;
}
.keep-line {
    font-size: 0.78rem;
    color: var(--rose);
    line-height: 1.4;
}
.keep-link {
    color: var(--gold);
    border-bottom: 1px dotted transparent;
    transition: border-color 0.2s, color 0.2s;
}
.keep-link:hover {
    color: var(--cream);
    border-bottom-color: var(--gold);
}

.keep-brand {
    background: var(--gold);
    color: var(--charcoal);
}
.hex-keep-mono .keep-inner {
    background: radial-gradient(circle at center, var(--gold) 0%, #a87830 100%);
}
.keep-brand svg {
    width: 50%;
    height: auto;
    color: var(--charcoal);
}
.keep-brand-label {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.16em;
    font-size: 1.1rem;
    color: var(--charcoal);
    margin-top: 0.5rem;
}

.keep-baseline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(197, 148, 58, 0.2);
    color: var(--rose);
    font-family: var(--font-accent);
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.keep-separator {
    color: var(--gold);
    font-size: 0.5rem;
}

/* ============================================================
   TEXT CHAR ANIMATION
   ============================================================ */
.animate-chars .char {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition:
        transform 0.6s var(--ease-spring),
        opacity 0.5s ease;
}
.animate-chars.in-view .char {
    transform: translateY(0);
    opacity: 1;
}

/* ============================================================
   SCROLL BEHAVIOUR
   ============================================================ */
html {
    scroll-snap-type: y proximity;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 840px) {
    .chapter {
        padding-left: 5vw;
        padding-right: 5vw;
    }
    .hero-hive {
        width: 95vw;
        height: 110vw;
        max-height: 80vh;
    }
    .hero-hive .hex {
        --hex-size-hero: clamp(110px, 26vw, 180px);
    }
    .honeycomb-row {
        --hex-size: clamp(110px, 26vw, 200px);
    }
    .row-offset-1 {
        margin-left: 0;
    }
    .honeycomb-row + .honeycomb-row {
        margin-top: calc(var(--hex-size) * -0.08);
    }
    .champion-stage,
    .champion-stage.champion-alt {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
    .champion-stage .champion-portrait {
        order: 0;
        margin: 0 auto;
    }
    .champion-stage.champion-alt .champion-meta {
        align-items: center;
    }
    .drape { width: 24px; min-width: 24px; }
    .nav-rosette {
        width: 130px;
        height: 130px;
    }
    .rosette-core {
        width: 66px;
        height: 66px;
    }
    .petal {
        width: 48px;
        height: 48px;
        margin: -24px 0 0 -24px;
    }
    .nav-rosette.open .petal {
        transform:
            translate(calc(cos(var(--petal-angle)) * 56px), calc(sin(var(--petal-angle)) * 56px))
            scale(1);
    }
}

@media (max-width: 540px) {
    .hero-hive .hex-p1 { top: 2%; left: 5%; }
    .hero-hive .hex-p2 { top: 2%; right: 5%; }
    .hero-hive .hex-p3 { top: 34%; left: -8%; }
    .hero-hive .hex-p4 { top: 34%; right: -8%; }
    .hero-hive .hex-p5 { bottom: 2%; left: 5%; }
    .hero-hive .hex-p6 { bottom: 2%; right: 5%; }
    .chapter-title {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
    }
    .keep-hive {
        gap: 0.25rem;
    }
}
