/* ==========================================================================
   V3 Stage A Final Polish: Art-Directed Studio Hero, Lanxian Origin &
   Immersive Touch-First Mobile Experience (No Card Boxes!)
   ========================================================================== */

:root {
    --emerald-lit: #0f6246;
    --emerald-mid: #063928;
    --emerald-deep: #032117;
    --amber-top: #df9d3a;
    --amber-mid: #c68122;
    --amber-deep: #94560b;

    --ivory: #f6efe0;
    --ivory-soft: rgba(246, 239, 224, 0.88);
    --gold: #e6bc5a;
    --gold-ink: #102318;

    --font-black: "V3 Sans Black", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-serif: "V3 Serif", "Noto Serif SC", "Songti SC", Georgia, serif;
    --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
    --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --pad-x: clamp(20px, 4.4vw, 68px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    background: var(--emerald-deep);
    color: var(--ivory);
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    background: var(--emerald-deep);
    color: var(--ivory);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* ==========================================================================
   Minimal Floating Header (Desktop Links / Mobile 46x46 Safe-Area Orb)
   ========================================================================== */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 45;
    padding: max(14px, env(safe-area-inset-top)) var(--pad-x) 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(3, 28, 20, 0.48) 0%, transparent 100%);
    transition: background-color 0.25s ease;
}

.top-nav.is-scrolled {
    background: linear-gradient(180deg, rgba(3, 30, 21, 0.98) 0%, rgba(3, 30, 21, 0.94) 82%, rgba(3, 30, 21, 0) 100%);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.top-nav.is-light-stage {
    background: linear-gradient(180deg, rgba(250, 245, 235, 0.99) 0%, rgba(250, 245, 235, 0.96) 84%, rgba(250, 245, 235, 0) 100%);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.top-nav.is-light-stage .brand-mark,
.top-nav.is-light-stage .brand-mark span,
.top-nav.is-light-stage .nav-links a {
    color: #053324;
}

.top-nav.is-light-stage .nav-links a::after {
    background: #053324;
}

.top-nav > * {
    pointer-events: auto;
}

.brand-mark {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    text-decoration: none;
    color: var(--ivory);
    min-height: 44px;
    padding: 6px 0;
}

.brand-mark strong {
    font-family: var(--font-black);
    font-size: clamp(16px, 1.35vw, 19px);
    letter-spacing: 0.08em;
    font-weight: 900;
}

.brand-mark span {
    font-size: clamp(12px, 1vw, 13px);
    color: rgba(246, 239, 224, 0.78);
    letter-spacing: 0.04em;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 26px;
}

@media (min-width: 768px) {
    .nav-links {
        display: inline-flex;
        gap: clamp(12px, 1.5vw, 24px);
    }
}

.nav-links a {
    color: rgba(246, 239, 224, 0.88);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    position: relative;
    white-space: nowrap;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    height: 1.5px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease-out);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.menu-orb {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: none;
    background: var(--gold);
    color: var(--emerald-deep);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
    transition: transform 0.25s var(--ease-out), background-color 0.2s ease;
}

.menu-orb:hover {
    transform: scale(1.06);
    background: #f2cf78;
}

.menu-orb span {
    display: block;
    width: 17px;
    height: 1.8px;
    background: var(--emerald-deep);
}

/* ==========================================================================
   Fullscreen Index Overlay Drawer
   ========================================================================== */
.index-sheet {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(3, 27, 19, 0.98);
    padding: max(28px, env(safe-area-inset-top)) var(--pad-x) max(28px, env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s var(--ease-out);
}

.index-sheet.open {
    opacity: 1;
    pointer-events: auto;
}

.index-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.index-close {
    min-width: 46px;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(230, 188, 90, 0.45);
    background: transparent;
    color: var(--ivory);
    font-size: 13px;
    cursor: pointer;
}

.index-list {
    display: flex;
    flex-direction: column;
    gap: clamp(6px, 1.3svh, 14px);
    margin: auto 0;
    overflow-y: auto;
}

.index-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    min-height: 58px;
    border: none;
    border-bottom: 1px solid rgba(246, 239, 224, 0.16);
    background: transparent;
    color: var(--ivory);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.index-item:hover,
.index-item.active {
    border-color: var(--gold);
    color: var(--gold);
}

.index-item-title {
    font-family: var(--font-serif);
    font-size: clamp(22px, 4.4vw, 34px);
}

.index-item-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    opacity: 0.72;
}

.index-footer {
    font-size: 12px;
    color: rgba(246, 239, 224, 0.65);
}

/* ==========================================================================
   STAGE A STICKY TRACK (Desktop 235svh / Mobile 158svh)
   ========================================================================== */
.stage-track {
    position: relative;
    height: 158svh;
    background: var(--emerald-deep);
}

@media (min-width: 768px) {
    .stage-track {
        height: 235svh;
    }
}

.stage-viewport {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100svh;
    overflow: hidden;
    contain: layout paint;
}

/* Layer 0A: Studio Wall */
.studio-wall {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 44% 34%, var(--emerald-lit) 0%, var(--emerald-mid) 48%, var(--emerald-deep) 100%);
    will-change: opacity;
}

/* Layer 0B: Warm Amber Horizon Tabletop Plane + Grounding AO (zero CSS filter blur!) */
.studio-floor {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 21.5svh;
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(255, 224, 152, 0.42) 0px,
            rgba(255, 224, 152, 0.0) 3px,
            rgba(255, 224, 152, 0.0) 100%),
        linear-gradient(180deg,
            var(--amber-top) 0%,
            var(--amber-mid) 46%,
            var(--amber-deep) 100%);
    transform-origin: bottom center;
    will-change: transform, opacity;
}

@media (min-width: 768px) {
    .studio-floor {
        height: 18.5svh;
    }
}

.corn-contact-ao {
    position: absolute;
    left: calc(100% - 7.2vw - min(31vw, 505px) * 0.855);
    bottom: 8.6svh;
    width: clamp(78px, 7.2vw, 114px);
    height: clamp(18px, 2.2svh, 28px);
    background: radial-gradient(closest-side,
        rgba(18, 6, 0, 0.86) 0%,
        rgba(18, 6, 0, 0.42) 48%,
        rgba(18, 6, 0, 0) 100%);
    transform: translate3d(-50%, 50%, 0);
    pointer-events: none;
    will-change: transform, opacity;
}

.corn-table-cast {
    position: absolute;
    left: calc(100% - 7.2vw - min(31vw, 505px) * 0.82);
    bottom: 9.2svh;
    width: clamp(220px, 29vw, 440px);
    height: clamp(38px, 5.4svh, 64px);
    background: radial-gradient(closest-side,
        rgba(24, 9, 0, 0.42) 0%,
        rgba(24, 9, 0, 0.16) 52%,
        rgba(24, 9, 0, 0) 100%);
    transform: translate3d(-6%, 40%, 0) skewX(-28deg);
    pointer-events: none;
    will-change: transform, opacity;
}

.corn-bounce-light {
    position: absolute;
    left: calc(100% - 7.2vw - min(31vw, 505px) * 0.78);
    bottom: 6svh;
    width: clamp(180px, 20vw, 310px);
    height: clamp(56px, 8svh, 96px);
    background: radial-gradient(closest-side, rgba(255, 224, 145, 0.18), rgba(255, 224, 145, 0) 100%);
    pointer-events: none;
}

@media (max-width: 767px) {
    .corn-contact-ao {
        left: calc(100% + 12% - min(66vw, 318px) * 0.855);
        bottom: 9.6svh;
        width: 68px;
        height: 18px;
    }
    .corn-table-cast {
        left: calc(100% + 12% - min(66vw, 318px) * 0.82);
        bottom: 10.2svh;
        width: 190px;
        height: 32px;
        transform: translate3d(0, 35%, 0) skewX(-20deg);
    }
    .corn-bounce-light {
        display: none;
    }
}

/* Layer 0C: Bright Daylight Authentic Lanxian Photography (Scene 2) */
.origin-backdrop {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    transform: scale(1.06);
    will-change: opacity, transform;
    pointer-events: none;
}

.origin-backdrop picture {
    display: block;
    width: 100%;
    height: 100%;
}

.origin-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    filter: saturate(1.06) brightness(1.02);
}

.origin-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(96deg,
        rgba(4, 32, 22, 0.80) 0%,
        rgba(4, 32, 22, 0.56) 36%,
        rgba(4, 32, 22, 0.16) 66%,
        rgba(4, 32, 22, 0.04) 100%);
}

@media (max-width: 767px) {
    .origin-backdrop img {
        object-position: 54% 38%;
    }
    /* Lighter, top-heavy gradient so bright green cornfield below remains vivid! */
    .origin-backdrop::after {
        background: linear-gradient(180deg,
            rgba(3, 27, 19, 0.80) 0%,
            rgba(3, 27, 19, 0.56) 44%,
            rgba(3, 27, 19, 0.24) 76%,
            rgba(3, 27, 19, 0.52) 100%);
    }
}

/* ==========================================================================
   Layer 1: Giant Brand Display Typography
   ========================================================================== */
.hero-type-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 var(--pad-x);
    pointer-events: auto;
    will-change: transform, opacity;
}

.hero-type-wrap {
    max-width: 1380px;
    width: 100%;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .hero-type-layer {
        transform: translate3d(0, -6.5svh, 0);
    }
}

.hero-brand-desktop {
    display: none;
}

@media (min-width: 768px) {
    .hero-brand-desktop {
        display: block;
        margin: 0;
        font-family: var(--font-black);
        font-weight: 900;
        font-size: clamp(118px, 17vw, 298px);
        line-height: 0.94;
        letter-spacing: 0.015em;
        color: var(--ivory);
        user-select: none;
        white-space: nowrap;
    }
}

.hero-brand-mobile {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
}

@media (min-width: 768px) {
    .hero-brand-mobile {
        display: none;
    }
}

.mb-row-1 {
    font-family: var(--font-black);
    font-weight: 900;
    font-size: clamp(74px, 24vw, 114px);
    line-height: 0.90;
    letter-spacing: -0.02em;
    color: var(--ivory);
}

.mb-row-2 {
    display: flex;
    align-items: flex-end;
    gap: 14px;
}

.mb-char-3 {
    font-family: var(--font-black);
    font-weight: 900;
    font-size: clamp(74px, 24vw, 114px);
    line-height: 0.92;
    color: var(--ivory);
}

.hero-tagline {
    margin: 18px 0 0 4px;
    font-family: var(--font-serif);
    font-size: clamp(16px, 1.55vw, 22px);
    letter-spacing: 0.22em;
    color: rgba(246, 239, 224, 0.92);
}

.hero-origin-micro {
    margin: 8px 0 0 4px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: rgba(230, 188, 90, 0.85);
}

.hero-skip-cue {
    margin-top: 22px;
    margin-left: 2px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 2px;
    border: none;
    background: transparent;
    color: rgba(230, 188, 90, 0.92);
    font-size: 12.5px;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: color 0.2s ease;
}

@media (max-width: 767px) {
    .hero-type-layer {
        justify-content: flex-start;
        padding-top: max(76px, 11svh);
    }
    .hero-tagline {
        margin: 12px 0 0 2px;
        font-size: clamp(13.5px, 3.6vw, 16px);
        letter-spacing: 0.1em;
        max-width: 84vw;
        white-space: nowrap;
    }
    .hero-origin-micro {
        display: none;
    }
    .hero-skip-cue {
        margin-top: 8px;
        font-size: 12px;
    }
}

/* ==========================================================================
   Layer 2: Scene 2 Origin Narrative
   (Desktop: Full Editorial Column / Mobile: 3-Layer Progressive Disclosure!)
   ========================================================================== */
.origin-story-layer {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(74px, 11svh, 128px) var(--pad-x) clamp(88px, 14svh, 136px);
    pointer-events: none;
    opacity: 0;
    will-change: opacity, transform;
}

@media (max-width: 767px) {
    .origin-story-layer {
        justify-content: flex-start;
        padding-top: max(78px, 11svh);
        padding-bottom: max(92px, 14svh);
    }
}

.origin-copy-block {
    max-width: 580px;
}

.origin-kicker {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
}

.origin-h2 {
    margin: 12px 0 0;
    font-family: var(--font-serif);
    font-size: clamp(28px, 4.1vw, 54px);
    line-height: 1.18;
    color: #ffffff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.origin-h2 span {
    display: block;
    color: var(--gold);
}

/* Layer 2 copy on Mobile fades in slightly deeper into scroll so photo shines first */
.origin-layer2-copy {
    transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.origin-lead {
    margin: 18px 0 0;
    font-size: clamp(14px, 1.15vw, 15.5px);
    line-height: 1.78;
    color: rgba(255, 250, 238, 0.94);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.32);
}

/* Mobile Layer 3 Inline Lightweight Disclosure Controls (no bordered boxes!) */
.origin-mob-toggle-row {
    display: none;
}

@media (max-width: 767px) {
    .origin-lead {
        margin-top: 12px;
        font-size: 14px;
        line-height: 1.68;
        max-width: 84vw;
    }
    .origin-mob-toggle-row {
        margin-top: 10px;
        display: flex;
        align-items: center;
        gap: 18px;
    }
    .origin-inline-link {
        min-height: 44px;
        padding: 0;
        border: none;
        border-bottom: 1px solid rgba(230, 188, 90, 0.55);
        background: transparent;
        color: var(--gold);
        font-size: 13px;
        font-weight: 500;
        letter-spacing: 0.05em;
        cursor: pointer;
    }
    .origin-inline-link.quiet {
        border-bottom-color: rgba(246, 239, 224, 0.35);
        color: rgba(246, 239, 224, 0.88);
    }
}

.origin-facts-wrap {
    display: block;
}

@media (max-width: 767px) {
    /* Collapsed cleanly on mobile by default so field photo dominates */
    .origin-facts-wrap {
        display: none;
        margin-top: 10px;
        padding: 10px 0 4px;
        background: linear-gradient(180deg, rgba(3, 27, 19, 0.52) 0%, rgba(3, 27, 19, 0.25) 100%);
    }
    .origin-facts-wrap.open {
        display: block;
    }
    .origin-actions {
        display: none;
    }
}

.origin-anchors {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid rgba(246, 239, 224, 0.28);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.origin-anchor-item dt {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--gold);
}

.origin-anchor-item dd {
    margin: 5px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

@media (max-width: 767px) {
    .origin-anchors {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 0;
        padding-top: 10px;
    }
    .origin-anchor-item {
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 10px;
        align-items: baseline;
    }
    .origin-anchor-item dt {
        white-space: nowrap;
    }
    .origin-anchor-item dd {
        margin: 0;
        font-size: 12.5px;
        line-height: 1.48;
    }
}

.origin-actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.origin-pill-btn {
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid rgba(230, 188, 90, 0.52);
    background: rgba(3, 33, 23, 0.55);
    color: var(--gold);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.origin-pill-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--emerald-deep);
}

.origin-pill-btn.solid {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--emerald-deep);
}

.origin-authenticity-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(246, 239, 224, 0.78);
    display: block;
    margin-top: 10px;
}

/* ==========================================================================
   Layer 3: Independent Sculptural Foreground Corn Protagonist
   (Zero CSS filter drop-shadow on mobile to keep GPU/Main Thread ultra-fast!)
   ========================================================================== */
.corn-protagonist {
    position: absolute;
    right: -12%;
    bottom: 10.6svh;
    width: 66vw;
    max-width: 318px;
    z-index: 4;
    touch-action: pan-y;
    cursor: grab;
    transform-origin: 42% 88%;
    will-change: transform, opacity;
}

.corn-protagonist:active {
    cursor: grabbing;
}

@media (min-width: 768px) {
    .corn-protagonist {
        right: 7.2vw;
        bottom: 9.6svh;
        width: min(31vw, 505px);
        max-width: none;
        transform-origin: 38% 92%;
    }
}

.corn-protagonist picture {
    display: block;
}

.corn-protagonist img {
    width: 100%;
    height: auto;
    user-select: none;
    pointer-events: none;
}

.corn-whisper {
    position: absolute;
    left: 50%;
    top: -10px;
    transform: translate(-50%, 6px);
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(3, 33, 23, 0.92);
    border: 1px solid rgba(230, 188, 90, 0.55);
    color: var(--gold);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.corn-whisper.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ==========================================================================
   Desktop Horizon Navigation Rail & Mobile Bottom Floating Thumb Dock
   ========================================================================== */
.horizon-rail {
    display: none;
}

@media (min-width: 768px) {
    .horizon-rail {
        position: absolute;
        left: var(--pad-x);
        right: var(--pad-x);
        bottom: 3.4svh;
        z-index: 5;
        display: flex;
        align-items: center;
        gap: 14px;
        font-family: var(--font-mono);
        font-size: 11.5px;
        letter-spacing: 0.14em;
        color: rgba(255, 250, 238, 0.92);
    }
}

.horizon-step {
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    padding: 8px 4px;
    min-height: 44px;
    cursor: pointer;
    opacity: 0.78;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.horizon-step.active {
    opacity: 1;
    color: #ffffff;
    font-weight: 700;
}

.horizon-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 250, 238, 0.4);
}

.mobile-thumb-dock {
    position: fixed;
    left: 50%;
    bottom: max(12px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 48;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px;
    width: calc(100vw - 24px);
    max-width: 400px;
    border-radius: 999px;
    background: rgba(3, 25, 17, 0.95);
    border: 1px solid rgba(230, 188, 90, 0.34);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
}

@media (min-width: 768px) {
    .mobile-thumb-dock {
        display: none;
    }
}

.thumb-dock-btn {
    flex: 1;
    min-height: 44px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: rgba(246, 239, 224, 0.85);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.thumb-dock-btn.active {
    background: var(--gold);
    color: var(--emerald-deep);
    font-weight: 700;
}

/* ==========================================================================
   STAGE B PART 1 (PLAN A): SEAMLESS WARM-IVORY COMMERCIAL STUDIO
   Matches original cream photography corners (#fffaf5 -> #fef8f3) seamlessly!
   ========================================================================== */
.exhibit-section {
    --ink-green: #053324;
    --ink-green-soft: rgba(5, 51, 36, 0.76);
    --ink-line: rgba(5, 51, 36, 0.14);
    --gold-ink: #b87e14;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 0px;
    overflow-anchor: none;
    padding: clamp(68px, 8svh, 96px) 0 max(96px, calc(86px + env(safe-area-inset-bottom)));
    background: linear-gradient(135deg, #fffaf5 0%, #fef9f4 60%, #f9f1e6 100%);
    color: var(--ink-green);
    border-top: 1px solid rgba(5, 51, 36, 0.10);
    transition: background 0.45s ease;
}

@media (min-width: 900px) {
    .exhibit-section {
        padding: clamp(82px, 9svh, 108px) 0 clamp(44px, 5svh, 64px);
    }
}

.exhibit-section.is-wood-plate {
    background: linear-gradient(145deg, #f7efe2 0%, #f2e8d7 62%, #eadcc6 100%);
}

.exhibit-inner {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--pad-x);
    min-height: clamp(560px, 74svh, 760px);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 10px;
    align-content: space-between;
}

@media (min-width: 900px) {
    .exhibit-inner {
        grid-template-columns: 42% 58%;
        grid-template-rows: 1fr auto;
        align-items: center;
        gap: 0;
    }
}

.bg-watermark-num {
    position: absolute;
    right: var(--pad-x);
    top: 4px;
    font-family: var(--font-black);
    font-weight: 900;
    font-size: clamp(92px, 16vw, 240px);
    line-height: 0.85;
    color: rgba(5, 51, 36, 0.055);
    pointer-events: none;
    user-select: none;
    z-index: 1;
    transition: opacity 0.25s ease;
}

@media (min-width: 900px) {
    .bg-watermark-num {
        left: 34%;
        right: auto;
        top: 2%;
    }
}

.exhibit-copy-col {
    position: relative;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: opacity 0.22s ease;
}

.exhibit-kicker {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--gold-ink);
    margin-bottom: 10px;
}

.exhibit-name {
    margin: 0;
    font-family: var(--font-black);
    font-weight: 900;
    font-size: clamp(36px, min(9.6vw, 4.9vw), 78px);
    line-height: 0.98;
    letter-spacing: -0.02em;
    color: var(--ink-green);
    white-space: nowrap;
}

.exhibit-name span {
    display: inline-block;
}

.exhibit-taste {
    display: block;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(20px, min(5vw, 2.4vw), 34px);
    margin-top: 10px;
    color: var(--gold-ink);
    letter-spacing: 0.16em;
}

.exhibit-highlight {
    margin: 10px 0 0;
    max-width: 390px;
    font-size: clamp(13.5px, 1.1vw, 15px);
    line-height: 1.72;
    color: var(--ink-green-soft);
    min-height: 3.5em;
}

@media (min-width: 900px) {
    .exhibit-highlight {
        margin-top: 20px;
    }
}

.exhibit-spec-btn {
    margin-top: 10px;
    min-height: 44px;
    padding: 0 2px;
    border: none;
    border-bottom: 1.5px solid var(--ink-green);
    background: transparent;
    color: var(--ink-green);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
}

.exhibit-spec-panel {
    display: none;
    max-width: 440px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--ink-line);
    font-size: 12.5px;
    line-height: 1.62;
    color: var(--ink-green-soft);
}

.exhibit-spec-panel.open {
    display: block;
}

.exhibit-spec-dl {
    margin: 0;
    display: grid;
    gap: 6px;
}

.exhibit-spec-dl > div {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 6px 10px;
    align-items: baseline;
}

.exhibit-spec-dl dt {
    font-weight: 700;
    color: var(--ink-green);
}

.exhibit-spec-dl dd {
    margin: 0;
}

/* Centerpiece Original Vacuum-Packed Photography Stage */
.cob-arena {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: pan-y;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
    height: clamp(256px, 34svh, 320px);
}

.cob-arena:active {
    cursor: grabbing;
}

@media (min-width: 900px) {
    .cob-arena {
        height: min(68svh, 640px);
        justify-content: flex-end;
    }
}

.cob-sculpture-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform, opacity;
}

@media (min-width: 900px) {
    .cob-sculpture-wrap {
        width: min(56vw, 690px);
        justify-content: center;
    }
}

.cob-sculpture-img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    -webkit-mask-image:
        linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, #000 4%, #000 94%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, #000 4%, #000 94%, transparent 100%);
    mask-composite: intersect;
    user-select: none;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.36s var(--ease-out);
}

/* Fruit Corn rustic wooden scene uses clean borderless editorial plate shadow without dissolving wood */
.exhibit-section.is-wood-plate .cob-sculpture-img {
    max-width: 96%;
    max-height: 92%;
    -webkit-mask-image: none;
    mask-image: none;
    box-shadow: 0 24px 58px rgba(34, 20, 6, 0.20);
}

/* Bottom Editorial Controls & 6-Variety Bar inside Studio */
.studio-footer-nav {
    position: relative;
    z-index: 8;
    grid-column: 1 / -1;
    padding-top: 12px;
    border-top: 1px solid var(--ink-line);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 18px;
}

.variety-tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
    max-width: 480px;
}

.variety-tab {
    min-height: 44px;
    padding: 0 4px;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--ink-green-soft);
    font-size: clamp(12.5px, 3.4vw, 13.5px);
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    text-align: center;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.variety-tab.active {
    color: var(--ink-green);
    border-bottom-color: var(--ink-green);
    font-weight: 700;
}

.swipe-hint-controls {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--ink-green-soft);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

@media (max-width: 899px) {
    .swipe-hint-controls {
        width: 100%;
        justify-content: space-between;
    }
}

.cob-arrow-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(5, 51, 36, 0.24);
    background: transparent;
    color: var(--ink-green);
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cob-arrow-btn:hover {
    background: var(--ink-green);
    border-color: var(--ink-green);
    color: #fffaf5;
}

/* ==========================================================================
   STAGE B SECTION 2: WORKSHOP 8-STEP STABLE CROSSFADE STEPPER
   (Locked 4:3 dual-buffer stage + overflow-anchor: none => 0px jump!)
   ========================================================================== */
.workshop-section {
    position: relative;
    background:
        radial-gradient(ellipse at 28% 22%, rgba(22, 70, 52, 0.45) 0%, rgba(3, 28, 20, 0) 62%),
        linear-gradient(180deg, #042218 0%, #031911 100%);
    border-top: 1px solid rgba(230, 188, 90, 0.24);
    padding: clamp(56px, 8svh, 92px) var(--pad-x) clamp(56px, 8svh, 92px);
    scroll-margin-top: 0;
    overflow-anchor: none;
}

@media (min-width: 768px) {
    .workshop-section {
        padding: clamp(64px, 8svh, 96px) var(--pad-x) clamp(90px, 11svh, 120px);
    }
}

.workshop-wrap {
    max-width: 1120px;
    margin: 0 auto;
    overflow-anchor: none;
}

.workshop-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--gold);
}

.workshop-head {
    max-width: 680px;
    margin-bottom: 26px;
}

.workshop-head h2 {
    margin: 10px 0 0;
    font-family: var(--font-serif);
    font-size: clamp(22px, 3.6vw, 38px);
    line-height: 1.24;
    color: #ffffff;
}

.workshop-head p {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.72;
    color: rgba(246, 239, 224, 0.78);
}

.workshop-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    overflow-anchor: none;
}

@media (min-width: 880px) {
    .workshop-layout {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 44px;
    }
}

/* Fixed aspect ratio static anchor + dual-image crossfade stage: 0px CLS & no transform feedback */
.proc-stage-anchor {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: visible;
    overflow-anchor: none;
}

.proc-stage {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #092e20;
    touch-action: pan-y;
    overflow-anchor: none;
    will-change: transform, opacity;
}

.proc-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.28s ease;
    will-change: opacity;
}

.proc-bar {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.proc-counter {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.14em;
    color: var(--gold);
}

.proc-btns {
    display: flex;
    gap: 10px;
}

.proc-arrow {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(230, 188, 90, 0.45);
    background: transparent;
    color: var(--gold);
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.proc-arrow:hover {
    background: var(--gold);
    color: var(--emerald-deep);
}

.proc-step-rail {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 4px;
}

.proc-step-dot {
    min-height: 44px;
    border: none;
    border-bottom: 2px solid rgba(246, 239, 224, 0.18);
    background: transparent;
    color: rgba(246, 239, 224, 0.62);
    font-family: var(--font-mono);
    font-size: 12px;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.proc-step-dot.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
    font-weight: 700;
}

/* Offset asymmetric editorial rhythm on desktop workshop narrative */
@media (min-width: 880px) {
    .workshop-copy-col {
        padding-top: 24px;
    }
}

.desk-br {
    display: none;
}

@media (min-width: 768px) {
    .desk-br {
        display: inline;
    }
}

/* Reserve minimum height on text panel so 2-line vs 3-line swap causes 0px page jump */
.proc-info {
    margin-top: 14px;
    min-height: 98px;
    overflow-anchor: none;
}

.proc-info h3 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(20px, 3vw, 26px);
    color: #ffffff;
}

.proc-info p {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.72;
    color: rgba(246, 239, 224, 0.88);
}

.proc-detail-toggle {
    margin-top: 8px;
    min-height: 44px;
    padding: 0 4px;
    border: none;
    border-bottom: 1px solid rgba(230, 188, 90, 0.52);
    background: transparent;
    color: var(--gold);
    font-size: 13px;
    cursor: pointer;
}

.proc-detail-box {
    display: none;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(246, 239, 224, 0.16);
    font-size: 13px;
    line-height: 1.72;
    color: rgba(246, 239, 224, 0.85);
}

.proc-detail-box.open {
    display: block;
}

.stage-colophon {
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid rgba(246, 239, 224, 0.14);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    font-size: 12.5px;
    color: rgba(246, 239, 224, 0.72);
}

/* ==========================================================================
   Reduced Motion Fallback
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .stage-track {
        height: auto;
    }
    .stage-viewport {
        position: relative;
        height: auto;
        min-height: 100svh;
    }
    .origin-story-layer {
        position: relative;
        opacity: 1;
        pointer-events: auto;
        min-height: 76svh;
        background:
            linear-gradient(96deg, rgba(4, 32, 22, 0.84) 0%, rgba(4, 32, 22, 0.42) 64%, rgba(4, 32, 22, 0.14) 100%),
            url('./v3/origin-real-field-1600.webp') center / cover no-repeat;
    }
    .origin-backdrop,
    .hero-type-layer,
    .corn-protagonist {
        transition: none;
    }
}


/* ==========================================================================
   STAGE B ADDITIONS — UNIFIED EDITORIAL RHYTHM (ZERO CARD BOXES)
   ========================================================================== */

/* Exhibit Floor Gift Box & Specs Strip (Unboxed Editorial Split) */
.exhibit-gift-row {
    grid-column: 1 / -1;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid rgba(5, 51, 36, 0.12);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
}

.exhibit-gift-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1 1 320px;
}

.exhibit-gift-thumb {
    flex: 0 0 auto;
    width: 76px;
    height: 52px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
    overflow: hidden;
    position: relative;
}

.exhibit-gift-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s var(--ease-out);
}

.exhibit-gift-thumb:hover img {
    transform: scale(1.06);
}

.exhibit-gift-copy {
    min-width: 0;
}

.exhibit-gift-copy strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink-green);
}

.exhibit-gift-copy span {
    display: block;
    margin-top: 3px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--ink-green-soft);
}

.exhibit-gift-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
}

.exhibit-text-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border: none;
    border-bottom: 1.5px solid rgba(5, 51, 36, 0.48);
    background: transparent;
    padding: 0 2px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-green);
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.exhibit-text-link:hover {
    border-bottom-color: var(--ink-green);
}

/* Workshop 2026 Automated Line Documentary Hairline Strip */
.workshop-doc-strip {
    margin-top: clamp(36px, 5svh, 52px);
    padding-top: 24px;
    border-top: 1px solid rgba(246, 239, 224, 0.14);
}

.workshop-doc-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
    margin-bottom: 16px;
}

.workshop-doc-head h3 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(18px, 2.2vw, 22px);
    color: #ffffff;
}

.workshop-doc-head span {
    font-size: 12.5px;
    color: rgba(246, 239, 224, 0.72);
}

.workshop-doc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
}

@media (min-width: 820px) {
    .workshop-doc-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }
}

.doc-fig {
    margin: 0;
}

.doc-fig-btn {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: #07281c;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: zoom-in;
}

.doc-fig-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s var(--ease-out);
}

.doc-fig-btn:hover img {
    transform: scale(1.04);
}

.doc-fig figcaption {
    margin-top: 8px;
    font-size: 12.5px;
    line-height: 1.45;
    color: rgba(246, 239, 224, 0.84);
}

.proc-bar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.proc-zoom-link {
    min-height: 44px;
    padding: 0 6px;
    border: none;
    background: transparent;
    color: rgba(246, 239, 224, 0.86);
    font-size: 12.5px;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
}

/* ==========================================================================
   CHAPTER 05: FARMER COLLABORATION & FACTORY UPGRADE (#stage-story)
   ========================================================================== */
.story-section {
    position: relative;
    background:
        radial-gradient(ellipse at 78% 18%, rgba(36, 78, 56, 0.46) 0%, rgba(16, 36, 26, 0) 60%),
        linear-gradient(180deg, #102419 0%, #152d20 100%);
    color: var(--ivory);
    border-top: 1px solid rgba(230, 188, 90, 0.18);
    padding: clamp(64px, 9svh, 108px) var(--pad-x);
    scroll-margin-top: 0;
    overflow-anchor: none;
}

.story-wrap {
    max-width: 1120px;
    margin: 0 auto;
}

.story-head {
    max-width: 720px;
}

.story-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--gold);
}

.story-head h2 {
    margin: 12px 0 0;
    font-family: var(--font-serif);
    font-size: clamp(24px, 3.8vw, 42px);
    line-height: 1.2;
    color: #ffffff;
}

.story-lead {
    margin: 14px 0 0;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.82;
    color: rgba(246, 239, 224, 0.86);
}

.story-stage-grid {
    margin-top: clamp(28px, 4.5svh, 46px);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px 44px;
    align-items: start;
}

@media (min-width: 900px) {
    .story-stage-grid {
        grid-template-columns: 1.15fr 0.85fr;
    }
}

.story-photo-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #0d2116;
}

.story-photo-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.28s ease;
}

.story-scene-tabs {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 12px;
}

@media (min-width: 600px) {
    .story-scene-tabs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.story-scene-tab {
    min-height: 44px;
    padding: 4px 2px;
    border: none;
    border-bottom: 2px solid rgba(246, 239, 224, 0.18);
    background: transparent;
    color: rgba(246, 239, 224, 0.72);
    font-size: 12.5px;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.story-scene-tab.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
    font-weight: 700;
}

.story-ledger-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.story-caption-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(230, 188, 90, 0.28);
}

.story-caption-bar strong {
    font-family: var(--font-serif);
    font-size: 18px;
    color: #ffffff;
}

.story-facts-note {
    margin: 0;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: rgba(230, 188, 90, 0.9);
}

.story-ledger {
    margin: 0;
    display: grid;
    gap: 14px;
}

.story-ledger-row {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(246, 239, 224, 0.14);
}

.story-ledger-row dt {
    font-family: var(--font-black);
    font-size: clamp(22px, 2.8vw, 28px);
    color: var(--gold);
    letter-spacing: 0.02em;
}

.story-ledger-row dd {
    margin: 4px 0 0;
    font-size: 13.5px;
    line-height: 1.68;
    color: rgba(246, 239, 224, 0.86);
}

.story-roadmap {
    margin-top: clamp(36px, 5svh, 54px);
    padding-top: 26px;
    border-top: 1px solid rgba(246, 239, 224, 0.16);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px 32px;
}

@media (min-width: 780px) {
    .story-roadmap {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.roadmap-item {
    padding-top: 10px;
    border-top: 2px solid rgba(230, 188, 90, 0.45);
}

.roadmap-tag {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--gold);
}

.roadmap-item h3 {
    margin: 8px 0 0;
    font-family: var(--font-serif);
    font-size: 18px;
    color: #ffffff;
}

.roadmap-item p {
    margin: 8px 0 0;
    font-size: 13.5px;
    line-height: 1.72;
    color: rgba(246, 239, 224, 0.8);
}

/* ==========================================================================
   CHAPTER 06: PUBLIC ARCHIVES, 2026 LICENSE & LAB REPORT (#stage-archives)
   Warm Archival Paper Surface -> flips top-nav to dark forest ink!
   ========================================================================== */
.archives-section {
    position: relative;
    background: linear-gradient(180deg, #faf5eb 0%, #f1e9da 100%);
    color: #053324;
    padding: clamp(68px, 9svh, 112px) var(--pad-x);
    scroll-margin-top: 0;
    overflow-anchor: none;
}

.archives-wrap {
    max-width: 1120px;
    margin: 0 auto;
}

.archives-head {
    max-width: 720px;
}

.archives-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: #5b4519;
}

.archives-head h2 {
    margin: 12px 0 0;
    font-family: var(--font-serif);
    font-size: clamp(24px, 3.8vw, 42px);
    line-height: 1.2;
    color: #053324;
}

.archives-lead {
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.78;
    color: rgba(5, 51, 36, 0.8);
}

.archives-grid {
    margin-top: clamp(28px, 4.5svh, 46px);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px 48px;
    align-items: start;
}

@media (min-width: 920px) {
    .archives-grid {
        grid-template-columns: 0.86fr 1.14fr;
    }
}

.entity-seal-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(5, 51, 36, 0.16);
}

.entity-seal-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex-shrink: 0;
}

.entity-seal-row h3 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 20px;
    color: #053324;
}

.entity-seal-row p {
    margin: 4px 0 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: rgba(5, 51, 36, 0.76);
}

.entity-ledger {
    margin: 16px 0 0;
}

.entity-row {
    padding: 11px 0;
    border-bottom: 1px solid rgba(5, 51, 36, 0.12);
    display: grid;
    grid-template-columns: 98px minmax(0, 1fr);
    gap: 8px 14px;
    align-items: baseline;
}

.entity-row dt {
    font-size: 12.5px;
    font-weight: 700;
    color: rgba(5, 51, 36, 0.68);
}

.entity-row dd {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.58;
    color: #053324;
    word-break: break-word;
}

.archive-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    border-bottom: 1px solid rgba(5, 51, 36, 0.16);
}

.archive-tab {
    min-height: 44px;
    padding: 0 2px;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: rgba(5, 51, 36, 0.66);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.archive-tab.active {
    color: #053324;
    border-bottom-color: #053324;
}

.archive-pane {
    display: none;
    padding-top: 18px;
}

.archive-pane.active {
    display: block;
}

.lab-meta {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.75;
    color: rgba(5, 51, 36, 0.84);
}

.lab-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.lab-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.lab-table th,
.lab-table td {
    padding: 10px 8px;
    border-bottom: 1px solid rgba(5, 51, 36, 0.14);
    text-align: left;
    white-space: nowrap;
}

.lab-table th:first-child,
.lab-table td:first-child {
    padding-left: 0;
    white-space: normal;
}

@media (max-width: 520px) {
    .lab-table {
        font-size: 12px;
    }
    .lab-table th,
    .lab-table td {
        padding: 9px 5px;
    }
    .lab-table th:first-child,
    .lab-table td:first-child {
        padding-left: 0;
        min-width: 96px;
    }
}

.lab-table th {
    font-size: 12px;
    font-weight: 700;
    color: rgba(5, 51, 36, 0.68);
}

.lab-table td {
    color: #053324;
}

.lab-pass {
    display: inline-block;
    font-weight: 700;
    color: #0a5c3d;
}

.proof-thumb-pair {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.proof-thumb-btn {
    padding: 0;
    border: none;
    background: transparent;
    text-align: left;
    cursor: zoom-in;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.proof-thumb-btn img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    object-position: top center;
    box-shadow: 0 10px 28px rgba(10, 28, 18, 0.12);
}

.proof-thumb-btn span {
    font-size: 12.5px;
    font-weight: 600;
    color: #053324;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pdf-archive-list {
    display: grid;
    gap: 14px;
}

.pdf-archive-link {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(5, 51, 36, 0.16);
    text-decoration: none;
    color: #053324;
}

.pdf-archive-link strong {
    display: block;
    font-size: 15.5px;
}

.pdf-archive-link span {
    display: block;
    margin-top: 4px;
    font-size: 12.5px;
    color: rgba(5, 51, 36, 0.74);
}

.pdf-archive-cta {
    font-size: 12.5px;
    font-weight: 700;
    color: #053324;
    border-bottom: 1.5px solid #053324;
    padding-bottom: 2px;
    white-space: nowrap;
}

.archives-quick-pdfs {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid rgba(5, 51, 36, 0.12);
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
}

.archives-quick-pdfs a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: #053324;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ==========================================================================
   CHAPTER 07: SHOP ENTRY & BUSINESS COOPERATION (#stage-connect)
   Deep Forest Studio Closing Echo + Live /api/contact Form
   ========================================================================== */
.connect-section {
    position: relative;
    background:
        radial-gradient(ellipse at 18% 80%, rgba(15, 98, 70, 0.42) 0%, rgba(3, 33, 23, 0) 64%),
        linear-gradient(180deg, #04291d 0%, #02160f 100%);
    color: var(--ivory);
    border-top: 1px solid rgba(230, 188, 90, 0.24);
    padding: clamp(64px, 9svh, 108px) var(--pad-x) max(164px, calc(144px + env(safe-area-inset-bottom)));
    scroll-margin-top: 0;
}

@media (min-width: 768px) {
    .connect-section {
        padding: clamp(72px, 10svh, 118px) var(--pad-x) clamp(64px, 8svh, 96px);
    }
}

.connect-wrap {
    max-width: 1120px;
    margin: 0 auto;
}

.connect-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px 52px;
    align-items: start;
}

@media (min-width: 880px) {
    .connect-grid {
        grid-template-columns: 1.05fr 0.95fr;
    }
}

.connect-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--gold);
}

.connect-grid h2 {
    margin: 12px 0 0;
    font-family: var(--font-serif);
    font-size: clamp(24px, 3.6vw, 40px);
    line-height: 1.22;
    color: #ffffff;
}

.shop-entry-row {
    margin-top: 24px;
    padding: 18px 0;
    border-top: 1px solid rgba(246, 239, 224, 0.16);
    border-bottom: 1px solid rgba(246, 239, 224, 0.16);
    display: flex;
    align-items: center;
    gap: 18px;
}

.qr-zoom-btn {
    flex: 0 0 auto;
    width: 96px;
    height: 96px;
    padding: 4px;
    border: none;
    background: #ffffff;
    cursor: zoom-in;
}

.qr-zoom-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.shop-entry-copy h3 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--gold);
}

.shop-entry-copy p {
    margin: 6px 0 0;
    font-size: 13.5px;
    line-height: 1.68;
    color: rgba(246, 239, 224, 0.84);
}

.contact-ledger {
    margin-top: 18px;
}

.contact-line {
    padding: 11px 0;
    border-bottom: 1px solid rgba(246, 239, 224, 0.12);
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 8px 14px;
    align-items: baseline;
}

.contact-k {
    font-size: 12.5px;
    color: var(--gold);
    font-weight: 600;
}

.contact-v {
    font-size: 14.5px;
    line-height: 1.6;
    color: #ffffff;
    word-break: break-word;
}

.contact-phones {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.contact-v a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(230, 188, 90, 0.55);
}

/* Open Editorial Cooperation Form (Unboxed Hairline Sheet) */
.inquiry-panel {
    background: #faf5eb;
    color: #053324;
    padding: clamp(22px, 3.6vw, 34px);
}

.inquiry-panel h3 {
    margin: 8px 0 0;
    font-family: var(--font-serif);
    font-size: clamp(20px, 2.4vw, 26px);
    color: #053324;
}

.inquiry-sub {
    margin: 8px 0 20px;
    font-size: 13.5px;
    line-height: 1.68;
    color: rgba(5, 51, 36, 0.78);
}

.field {
    margin-bottom: 14px;
}

.field label {
    display: block;
    margin-bottom: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: #053324;
}

.field input,
.field textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid rgba(5, 51, 36, 0.28);
    background: #ffffff;
    color: #053324;
    font-family: inherit;
    font-size: 14px;
    border-radius: 0;
}

.field input:focus,
.field textarea:focus {
    outline: 2px solid #053324;
    outline-offset: 0;
    border-color: #053324;
}

.submit-btn {
    width: 100%;
    min-height: 48px;
    border: none;
    background: #053324;
    color: #fffaf5;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.submit-btn:hover:not(:disabled) {
    background: #0b4c36;
}

.submit-btn:disabled {
    opacity: 0.65;
    cursor: progress;
}

.form-msg {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 600;
}

.form-msg.success {
    color: #0a5c3d;
}

.form-msg.error {
    color: #9e2a2b;
}

/* ==========================================================================
   FULLSCREEN LIGHTBOX MODAL FOR ARCHIVES, QR & WORKSHOP PHOTOS
   ========================================================================== */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(2, 16, 11, 0.94);
    padding: max(20px, env(safe-area-inset-top)) var(--pad-x) max(20px, env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
}

.lightbox-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-bar {
    width: 100%;
    max-width: 980px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.lightbox-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--ivory);
}

.lightbox-close {
    min-width: 46px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(230, 188, 90, 0.55);
    background: transparent;
    color: var(--ivory);
    font-size: 13px;
    cursor: pointer;
}

.lightbox-img {
    max-width: min(960px, 100%);
    max-height: 78svh;
    width: auto;
    height: auto;
    object-fit: contain;
    background: #ffffff;
}

/* Adjust Mobile Thumb Dock for 5 Stage B stops cleanly down to 360px */
.mobile-thumb-dock {
    padding: 5px;
    gap: 3px;
    max-width: calc(100vw - 24px);
}

.thumb-dock-btn {
    padding: 0 9px;
    font-size: 11px;
}


/* Desktop closing section fills viewport height so jump & max-scroll transition header cleanly */
@media (min-width: 768px) {
    .connect-section {
        min-height: 100svh;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .connect-wrap {
        width: 100%;
    }
}

/* Desktop Scroll-Driven Progressive Reveal initial hidden state (safe: only active when JS + motion allowed) */
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
    html.js-reveal .cob-sculpture-wrap:not(.is-revealed),
    html.js-reveal .proc-stage:not(.is-revealed) {
        opacity: 0;
        transform: translate3d(0, 52px, 0) scale(0.95);
    }
}

[hidden] {
    display: none !important;
}

.deferred-channel-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(5, 51, 36, 0.14);
}

.deferred-channel-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(5, 51, 36, 0.14);
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 8px 12px;
    align-items: baseline;
    font-size: 14px;
}

.deferred-channel-list strong {
    font-size: 12.5px;
    color: rgba(5, 51, 36, 0.72);
}

.deferred-channel-list a {
    color: #053324;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.deferred-channel-note {
    margin: 16px 0 0;
    font-size: 12.5px;
    line-height: 1.68;
    color: rgba(5, 51, 36, 0.76);
}
