.v3-zone {
    --text-primary: #ffffff;
    --gold-primary: #E8C061;
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================
   VARIATION 3 - Scroll-driven editorial, seamless black
   ========================================================== */

html { scroll-behavior: smooth; }

/* Shared grid: identical to hero shell so the page reads as one story */
.v3-shell {
    position: relative;
    z-index: 2;
    width: min(100%, 1180px);
    margin: 0;
    padding: 0 clamp(28px, 6vw, 84px);
}

/* Scroll reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(6px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--d, 0s);
    will-change: opacity, transform, filter;
}
[data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}
html:not(.js) [data-reveal] { opacity: 1; transform: none; filter: none; }

/* Aurora background (seamless: masked top and bottom) */
.v3-aurora {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 76%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 76%, transparent 100%);
}
.v3-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.6;
    translate: calc(var(--mx, 0) * 50px) calc(var(--my, 0) * 40px);
    transition: translate 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, translate;
}
.v3-blob--a {
    width: min(46vw, 640px); height: min(46vw, 640px);
    left: -8%; top: 8%;
    background: radial-gradient(circle, rgba(232, 192, 97, 0.30), transparent 65%);
    animation: v3Drift1 22s ease-in-out infinite alternate;
}
.v3-blob--b {
    width: min(40vw, 560px); height: min(40vw, 560px);
    right: -6%; top: 34%;
    background: radial-gradient(circle, rgba(243, 210, 126, 0.18), transparent 65%);
    animation: v3Drift2 28s ease-in-out infinite alternate;
}
.v3-blob--c {
    width: min(36vw, 500px); height: min(36vw, 500px);
    left: 38%; bottom: -8%;
    background: radial-gradient(circle, rgba(212, 165, 64, 0.20), transparent 65%);
    animation: v3Drift3 25s ease-in-out infinite alternate;
}
@keyframes v3Drift1 { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(14vw, 10vh, 0) scale(1.2); } }
@keyframes v3Drift2 { from { transform: translate3d(0, 0, 0) scale(1.1); } to { transform: translate3d(-12vw, -8vh, 0) scale(0.9); } }
@keyframes v3Drift3 { from { transform: translate3d(0, 0, 0) scale(0.9); } to { transform: translate3d(-8vw, -12vh, 0) scale(1.25); } }

/* Ring cursor (only below hero) */
.v3-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 0; height: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.v3-cursor.is-on { opacity: 1; }
.v3-cursor-ring {
    position: absolute;
    width: 38px; height: 38px;
    margin: -19px 0 0 -19px;
    border: 1.5px solid rgba(232, 192, 97, 0.85);
    border-radius: 50%;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease, border-color 0.35s ease;
}
.v3-cursor.is-grow .v3-cursor-ring {
    transform: scale(1.9);
    background: rgba(232, 192, 97, 0.14);
    border-color: rgba(232, 192, 97, 0.5);
}
@media (hover: none), (pointer: coarse) { .v3-cursor { display: none; } }

/* Hero -> story melt (no divider) */
.v3-story, .v3-pillars, .v3-closing { position: relative; background: transparent; }
.v3-story::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: -120px;
    height: 120px;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0), #050505);
    pointer-events: none;
    z-index: 3;
}

/* ---------- Section 1: Scroll-scrubbed manifesto ---------- */
.v3-story {
    padding: clamp(120px, 16vw, 220px) 0;
    overflow: hidden;
}
.v3-story-title,
.v3-closing-title {
    margin: 0;
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--text-primary);
}
.v3-story-title { font-size: clamp(28px, 4.4vw, 58px); }
.v3-line { display: block; }
.v3-word {
    display: inline-block;
    --w: 1;
    opacity: calc(0.14 + 0.86 * var(--w));
    filter: blur(calc((1 - var(--w)) * 4px));
    transform: translateY(calc((1 - var(--w)) * 18px));
    will-change: opacity, transform, filter;
}
.v3-word:last-child { margin-right: 0; }

.v3-desc {
    margin: clamp(26px, 3.4vw, 44px) 0 0;
    max-width: 620px;
    font-size: clamp(17px, 1.8vw, 22px);
    line-height: 1.55;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.82);
}
.v3-actions { margin-top: clamp(32px, 4.5vw, 52px); display: flex; }

/* Story Layout with Floating Phone */
.v3-story-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: clamp(40px, 6vw, 90px);
    width: min(100%, 1440px);
    max-width: 1440px;
}
.v3-story-content { position: relative; z-index: 2; min-width: 0; }
.v3-story-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    perspective: 1200px;
}
.v3-phone-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    animation: v3PhoneFloat 6s ease-in-out infinite alternate;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.v3-phone-ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130%;
    height: 130%;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        circle closest-side,
        rgba(232, 192, 97, 0.24) 0%,
        rgba(232, 192, 97, 0.08) 50%,
        transparent 75%
    );
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
    animation: v3GlowPulse 5s ease-in-out infinite alternate;
}

.v3-phone-mockup {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    max-height: 640px;
    object-fit: contain;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 40px rgba(232, 192, 97, 0.16));
    user-select: none;
    pointer-events: none;
}

@keyframes v3PhoneFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-22px) rotate(-1.5deg);
    }
    100% {
        transform: translateY(6px) rotate(1deg);
    }
}

@keyframes v3GlowPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.92);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.12);
        opacity: 0.95;
    }
}

/* Text-roll magnetic button */
.v3-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    min-width: 300px;
    padding: 0 36px;
    background: var(--gold-primary);
    color: #000000;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    will-change: transform;
}
.v3-btn:hover { box-shadow: 0 14px 40px rgba(232, 192, 97, 0.38); }
.v3-btn-label { position: relative; display: block; overflow: hidden; height: 1.25em; line-height: 1.25; }
.v3-btn-label > span {
    display: block;
    position: relative;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.v3-btn-label > span::after {
    content: attr(data-text);
    position: absolute;
    left: 0; top: 100%;
    width: 100%;
    text-align: center;
}
.v3-btn:hover .v3-btn-label > span,
.v3-btn:focus-visible .v3-btn-label > span { transform: translateY(-100%); }
.v3-btn--sm { min-height: 46px; min-width: 180px; padding: 0 24px; font-size: 14px; }

/* ---------- Section 2: Expanding pillar rows with paired media ---------- */
.v3-pillars { padding: clamp(40px, 6vw, 90px) 0; }
.v3-shell--pillars {
    width: min(100%, 1680px);
    max-width: 1680px;
}
.v3-panels { display: flex; flex-direction: column; gap: 16px; }

.v3-pillar-row {
    display: grid;
    grid-template-columns: minmax(0, 1020px) minmax(320px, 480px);
    gap: clamp(20px, 2.5vw, 36px);
    align-items: stretch;
}

.v3-panel {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    column-gap: clamp(16px, 3vw, 44px);
    align-items: start;
    overflow: hidden;
    padding: clamp(24px, 3vw, 36px) clamp(22px, 3vw, 40px);
    background: rgba(255, 255, 255, 0.035);
    cursor: pointer;
    outline: none;
    border-radius: 14px;
    transition: background 0.5s ease;
}
.v3-pillar-row.is-active .v3-panel,
.v3-panel.is-active,
.v3-panel:focus-visible { background: rgba(255, 255, 255, 0.055); }
.v3-panel::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--gold-primary);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
}
.v3-pillar-row.is-active .v3-panel::before,
.v3-panel.is-active::before { transform: scaleY(1); }
.v3-panel-spot {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle 320px at var(--px, 50%) var(--py, 50%), rgba(232, 192, 97, 0.14), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}
.v3-panel:hover .v3-panel-spot { opacity: 1; }
.v3-panel-num {
    position: relative; z-index: 2;
    font-size: clamp(44px, 6vw, 84px);
    font-weight: 900;
    line-height: 0.9;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
    transition: color 0.5s ease, -webkit-text-stroke-color 0.5s ease;
    user-select: none;
}
.v3-pillar-row.is-active .v3-panel-num,
.v3-panel.is-active .v3-panel-num { color: var(--gold-primary); -webkit-text-stroke-color: var(--gold-primary); }
.v3-panel-content { position: relative; z-index: 2; min-width: 0; }
.v3-pillar-tag {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--gold-primary);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.v3-pillar-title {
    margin: 0;
    font-size: clamp(24px, 3.2vw, 42px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #ffffff;
}
.v3-panel-body {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.v3-panel-body > div { overflow: hidden; }
.v3-pillar-desc {
    margin: 0;
    padding-top: 20px;
    max-width: 640px;
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.65;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.78);
    transition: opacity 0.6s ease 0.1s, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}
.js .v3-panel:not(.is-active) .v3-panel-body { grid-template-rows: 0fr; }
.js .v3-panel:not(.is-active) .v3-pillar-desc { opacity: 0; transform: translateY(14px); transition-delay: 0s; }
.v3-panel-icon {
    position: relative; z-index: 2;
    width: 44px; height: 44px;
    margin-top: 4px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, background 0.4s ease;
}
.v3-panel-icon::before, .v3-panel-icon::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 16px; height: 2px;
    margin: -1px 0 0 -8px;
    background: #ffffff;
    transition: background 0.4s ease;
}
.v3-panel-icon::after { transform: rotate(90deg); }
.v3-pillar-row.is-active .v3-panel-icon,
.v3-panel.is-active .v3-panel-icon { transform: rotate(135deg); border-color: var(--gold-primary); background: var(--gold-primary); }
.v3-pillar-row.is-active .v3-panel-icon::before,
.v3-pillar-row.is-active .v3-panel-icon::after,
.v3-panel.is-active .v3-panel-icon::before,
.v3-panel.is-active .v3-panel-icon::after { background: #000000; }

/* Paired Media Card on Right */
.v3-panel-media {
    position: relative;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    min-height: 0;
    transition: background 0.5s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.v3-pillar-row.is-active .v3-panel-media,
.v3-panel-media:hover {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(232, 192, 97, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(232, 192, 97, 0.08);
}

.v3-media-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.85;
    transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.v3-pillar-row.is-active .v3-media-img,
.v3-panel-media:hover .v3-media-img {
    opacity: 1;
    transform: scale(1.03);
}

/* ---------- Section 3: Scroll-fill closing ---------- */
.v3-closing { padding: clamp(110px, 14vw, 200px) 0 clamp(90px, 11vw, 160px); overflow: hidden; }
.v3-closing-title { font-size: clamp(30px, 7vw, 92px); }
.v3-fill-line {
    --fill: 100;
    display: inline-block;
    color: transparent;
    background-image: linear-gradient(90deg,
        #ffffff 0%,
        #ffffff calc(var(--fill) * 1% - 3%),
        var(--gold-primary) calc(var(--fill) * 1%),
        rgba(255, 255, 255, 0.14) calc(var(--fill) * 1% + 0.1%),
        rgba(255, 255, 255, 0.14) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}
.v3-closing-title .v3-line { display: block; }

@media (min-width: 561px) {
    .v3-closing-title .v3-line { white-space: nowrap; }
}
@media (min-width: 1200px) {
    .v3-story-title .v3-line { white-space: nowrap; }
}

/* Tablet & Mobile Layout (<= 960px) */
@media (max-width: 960px) {
    .v3-story {
        padding: clamp(64px, 12vw, 96px) 0;
    }
    .v3-story-shell {
        grid-template-columns: 1fr;
        gap: 44px;
    }
    .v3-phone-wrapper {
        max-width: 310px;
        margin: 0 auto;
    }
    .v3-phone-mockup {
        max-height: 480px;
        width: 100%;
        height: auto;
    }

    .v3-pillars {
        padding: clamp(48px, 9vw, 80px) 0;
    }
    .v3-panels {
        gap: 12px;
    }
    .v3-pillar-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .v3-panel-media {
        display: none;
    }
    .v3-pillar-row.is-active .v3-panel-media {
        display: block;
        width: 100%;
        height: 220px;
        min-height: 220px;
        border-radius: 12px;
    }

    .v3-closing {
        padding: clamp(64px, 12vw, 96px) 0;
    }
}

/* Mobile Unified Hierarchy & Alignment (<= 768px) */
@media (max-width: 768px) {
    .landing-shell,
    .v3-shell,
    .v3-shell--pillars,
    .footer-shell {
        padding-left: clamp(20px, 5.5vw, 32px);
        padding-right: clamp(20px, 5.5vw, 32px);
    }

    .v3-story-title {
        font-size: clamp(30px, 7.5vw, 42px);
        line-height: 1.05;
        letter-spacing: -0.02em;
    }

    .v3-closing-title {
        font-size: clamp(30px, 7.5vw, 42px);
        line-height: 1.05;
        letter-spacing: -0.02em;
    }
    .v3-closing-title .v3-line {
        white-space: normal;
    }

    .v3-desc {
        font-size: 16px;
        line-height: 1.6;
        margin-top: 18px;
    }

    .v3-panel {
        grid-template-columns: auto 1fr auto;
        column-gap: 14px;
        align-items: center;
        padding: 20px 18px;
        border-radius: 12px;
    }
    .v3-pillar-row.is-active .v3-panel,
    .v3-panel.is-active {
        align-items: start;
    }

    .v3-panel-num {
        font-size: 36px;
        line-height: 0.9;
        -webkit-text-stroke-width: 1px;
    }

    .v3-pillar-tag {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .v3-pillar-title {
        font-size: clamp(20px, 5vw, 24px);
        line-height: 1.15;
    }

    .v3-pillar-desc {
        font-size: 15px;
        line-height: 1.6;
        padding-top: 14px;
    }

    .v3-panel-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        flex-shrink: 0;
        margin-top: 0;
    }
    .v3-pillar-row.is-active .v3-panel-icon,
    .v3-panel.is-active .v3-panel-icon {
        margin-top: 2px;
    }

    .landing-actions,
    .v3-actions,
    .footer-actions {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;
    }

    .landing-button,
    .v3-btn,
    .footer-btn {
        width: 100%;
        min-width: 0;
        min-height: 52px;
        padding: 0 24px;
        font-size: 15px;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-align: center;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 0;
    }

    .v3-btn-label {
        width: 100%;
        text-align: center;
    }

    .site-footer {
        padding: 36px 0 44px;
    }

    .footer-shell {
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
    }

    .footer-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-logo {
        height: 32px;
    }

    .footer-copy {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .v3-blob { animation: none; transition: none; }
    .v3-phone-wrapper { animation: none; transition: none; }
    .v3-phone-ambient-glow { animation: none; }
    [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
    .v3-word { --w: 1 !important; transition: none; }
    .v3-fill-line { --fill: 100 !important; }
    .v3-panel-body, .v3-pillar-desc, .v3-panel, .v3-panel::before { transition: none; }
}

/* Site Footer */
.site-footer {
    position: relative;
    width: 100%;
    background: #050505;
    padding: 36px 0 48px;
}

.footer-shell {
    width: min(100%, 1180px);
    margin: 0;
    padding: 0 clamp(28px, 6vw, 84px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-logo {
    height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-copy {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
}

.footer-btn {
    min-height: 46px;
    min-width: 180px;
    padding: 0 24px;
    font-size: 14px;
}

