/* style.css */
:root {
    --bg-color: #000000;
    --text-main: #f5eedc;
    --accent-gold: #d4af37;
    --accent-gold-bright: #f5e6a8;
    --accent-gold-dark: #8a6c1c;
    --accent-glow: rgba(212, 175, 55, 0.3);
    --accent-glow-strong: rgba(255, 232, 160, 0.45);
    --accent-red: #8b0000;
}

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

body, html {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    width: 100%;
    cursor: url('cursor-32.png') 16 16, auto;
}

/* Inherit custom cursor everywhere; interactive elements re-declare for UA pointer override */
body * {
    cursor: inherit;
}

a,
button,
.social-btn,
.hero-contract,
[role="button"],
summary {
    cursor: url('cursor-32.png') 16 16, pointer;
}

/* Pressed state: oil-dragon click cursor */
html.is-clicking,
html.is-clicking body,
html.is-clicking body * {
    cursor: url('cursorclick-32.png') 16 16, auto !important;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
    body, html {
        cursor: url('cursor-64.png') 32 32, auto;
    }

    a,
    button,
    .social-btn,
    .hero-contract,
    [role="button"],
    summary {
        cursor: url('cursor-64.png') 32 32, pointer;
    }

    .hero-contract:disabled {
        cursor: url('cursor-64.png') 32 32, not-allowed;
    }

    html.is-clicking,
    html.is-clicking body,
    html.is-clicking body * {
        cursor: url('cursorclick-64.png') 32 32, auto !important;
    }
}

/* Oil splash on click (uses cursorclick artwork) */
.oil-splash-layer {
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: none;
    overflow: hidden;
}

.oil-splash {
    position: fixed;
    width: 160px;
    height: 120px;
    margin-left: -80px;
    margin-top: -60px;
    background: center / contain no-repeat url('cursorclick-splash.png');
    pointer-events: none;
    transform-origin: center center;
    will-change: transform, opacity, filter;
    animation: oil-splash-pop 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    filter: drop-shadow(0 0 18px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 8px rgba(20, 20, 20, 0.85));
}

.oil-splash::after {
    content: '';
    position: absolute;
    inset: -20%;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(12, 12, 12, 0.75) 0%,
        rgba(8, 8, 8, 0.45) 35%,
        transparent 70%
    );
    animation: oil-splash-ripple 0.7s ease-out forwards;
    mix-blend-mode: multiply;
}

@keyframes oil-splash-pop {
    0% {
        transform: scale(0.15) rotate(-12deg);
        opacity: 0.95;
    }
    35% {
        transform: scale(1.05) rotate(6deg);
        opacity: 1;
    }
    100% {
        transform: scale(1.55) rotate(0deg);
        opacity: 0;
    }
}

@keyframes oil-splash-ripple {
    0% {
        transform: scale(0.3);
        opacity: 0.85;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .oil-splash {
        animation-duration: 0.2s;
    }

    .oil-splash::after {
        animation-duration: 0.2s;
    }
}

/* Touch devices: system cursor + tap-friendly UI (custom PNG cursors are ignored on iOS/Android) */
@media (hover: none), (pointer: coarse) {
    body, html,
    body *,
    a, button, .social-btn, .hero-contract,
    [role="button"], summary,
    html.is-clicking,
    html.is-clicking body,
    html.is-clicking body * {
        cursor: auto;
    }

    a, button, .social-btn, .hero-contract:not(:disabled),
    [role="button"], summary {
        cursor: pointer;
    }

    .hero-contract:disabled {
        cursor: not-allowed;
    }
}

h1, h2, h3, .glow-text {
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
}

/* Top site header: same social links as footer (no contract address) */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px clamp(12px, 3vw, 20px) 14px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.55) 65%, transparent 100%);
}

.site-header__inner {
    pointer-events: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(0.65rem, 3vw, 1.2rem);
    max-width: 100%;
    margin: 0 auto;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.site-header__inner .social-btn {
    flex-shrink: 0;
}

#smooth-wrapper {
    width: 100%;
    overflow: hidden;
    padding-top: calc(88px + env(safe-area-inset-top, 0px));
}

#smooth-content {
    will-change: transform;
}

.cinematic-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Siena-style scroll reveal: clip-path opens + slight scale as section centers.
   `--siena` is animated 0..1 by JS based on viewport progress. */
.siena {
    --siena: 0;
    --siena-inset-x: calc((1 - var(--siena)) * 6%);
    --siena-inset-y: calc((1 - var(--siena)) * 10%);
    --siena-radius: calc((1 - var(--siena)) * 28px);
    --siena-scale: calc(0.94 + var(--siena) * 0.06);
    --siena-y: calc((1 - var(--siena)) * 28px);
    clip-path: inset(
        var(--siena-inset-y) var(--siena-inset-x)
        var(--siena-inset-y) var(--siena-inset-x)
        round var(--siena-radius)
    );
    transform: translate3d(0, var(--siena-y), 0) scale(var(--siena-scale));
    transform-origin: center center;
    will-change: clip-path, transform;
}

/* Honor reduced motion: skip the reveal entirely */
@media (prefers-reduced-motion: reduce) {
    .siena {
        --siena: 1;
        transform: none;
        clip-path: none;
    }
}

/* Reduce inset on mobile to maximize screen real estate */
@media (max-width: 768px) {
    .siena {
        --siena-inset-x: calc((1 - var(--siena)) * 3%);
        --siena-inset-y: calc((1 - var(--siena)) * 5%);
        --siena-radius: calc((1 - var(--siena)) * 16px);
    }
}

/* Typography & Effects */
.glow-text {
    text-shadow: 0 0 30px var(--accent-glow), 0 0 10px rgba(0,0,0,0.8);
}

.reveal-text {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    background-color: #000;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.parallax-layer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.layer-bg {
    z-index: 1;
    /* Removed brightness(0.5) to remove dimming */
    filter: contrast(1.2) saturate(1.2);
}

.layer-mid {
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.9));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 0 5vw;
}

.hero-title {
    margin: 0;
    line-height: 0;
}

.hero-title__img {
    display: block;
    width: min(100%, clamp(280px, 75vw, 1326px));
    height: auto;
    object-fit: contain;
    filter:
        drop-shadow(0 0 40px rgba(235, 207, 52, 0.22))
        drop-shadow(0 0 28px rgba(235, 207, 52, 0.2))
        drop-shadow(0 0 10px rgba(0, 0, 0, 0.82));
}

.hero-content .subtitle {
    font-size: clamp(1rem, 2.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: 0.4em;
    color: var(--accent-gold-bright);
    text-shadow:
        0 0 28px var(--accent-glow-strong),
        0 2px 14px rgba(0, 0, 0, 0.9);
}

.hero-contract {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.1rem;
    margin: 0;
    max-width: min(100%, 42rem);
    font: inherit;
    color: var(--text-main);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.18s ease, opacity 0.25s ease;
}

.hero-contract:hover:not(:disabled) {
    border-color: var(--accent-gold);
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-1px);
}

.hero-contract:active:not(:disabled) {
    transform: translateY(0);
}

.hero-contract:disabled {
    cursor: url('cursor-32.png') 16 16, not-allowed;
    opacity: 0.55;
}

.hero-contract.is-copied {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.18);
}

.hero-contract.is-failed {
    border-color: #b35353;
    background: rgba(139, 0, 0, 0.25);
}

.hero-contract-mono {
    font-family: ui-monospace, 'Cascadia Code', 'SF Mono', Menlo, monospace;
    font-size: clamp(0.85rem, 1.6vw, 1rem);
    letter-spacing: 0.04em;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.tagline {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    font-weight: 600;
    margin-top: 1.5rem;
    color: #f8f4ec;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 5vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.6;
    animation: pulse 2s infinite;
}

.scroll-indicator span {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--accent-gold-bright);
    text-shadow:
        0 0 18px var(--accent-glow-strong),
        0 2px 10px rgba(0, 0, 0, 0.85);
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-gold), transparent);
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(10px); }
}

/* Lore Sections */
.split-scene {
    display: flex;
    flex-direction: row;
    padding: 10vw 5vw;
    gap: 8vw;
    align-items: center;
    background: radial-gradient(circle at center, #0a0a0a 0%, var(--bg-color) 100%);
}

.split-scene.reverse {
    flex-direction: row-reverse;
}

@media (max-width: 1024px) {
    .split-scene, .split-scene.reverse {
        flex-direction: column;
        padding: 15vh 5vw;
        gap: 4rem;
    }
}

/* Lore: full-section background image (e.g. “Unlimited power”) */
.lore-bg-split {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(3rem, 10vw, 8rem) 5vw;
    background: var(--bg-color);
}

.lore-bg-split.reverse {
    justify-content: flex-end;
}

.lore-bg-split-content {
    position: relative;
    z-index: 2;
    max-width: min(34rem, 92vw);
}

@media (max-width: 1024px) {
    .lore-bg-split,
    .lore-bg-split.reverse {
        justify-content: center;
        text-align: center;
        padding: 15vh 5vw;
    }

    .lore-bg-split-content {
        max-width: min(36rem, 94vw);
    }
}

.image-container {
    flex: 1.2;
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.9);
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    will-change: transform;
}

.vignette {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.8);
    pointer-events: none;
    z-index: 2;
}

.text-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 5;
}

.text-container h2 {
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
    color: #ffffff;
    text-shadow:
        0 2px 22px rgba(0, 0, 0, 0.92),
        0 0 52px rgba(212, 175, 55, 0.38);
}

.text-container p {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    line-height: 1.8;
    color: #ece6dc;
    font-weight: 600;
    text-shadow:
        0 2px 14px rgba(0, 0, 0, 0.88),
        0 0 22px rgba(212, 175, 55, 0.22);
}

/* Full Scene */
.full-scene {
    height: 120vh;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    will-change: transform;
}

/* Full-bleed section bg (overrides contain above) */
.bg-image.lore-section-bg img {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: center;
}

.overlay-gradient {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.35) 0%,
            transparent 22%,
            transparent 78%,
            rgba(0, 0, 0, 0.35) 100%
        ),
        radial-gradient(
            circle at center,
            transparent 42%,
            rgba(0, 0, 0, 0.22) 72%,
            rgba(0, 0, 0, 0.45) 100%
        );
}

.content-center {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.massive-text {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1;
    color: #ffffff;
    text-shadow:
        0 0 36px rgba(255, 240, 190, 0.45),
        0 4px 28px rgba(0, 0, 0, 0.88);
}

.content-center p {
    font-size: clamp(1rem, 2vw, 2rem);
    color: #f0ebe3;
    font-weight: 600;
    text-shadow:
        0 2px 16px rgba(0, 0, 0, 0.88),
        0 0 28px rgba(212, 175, 55, 0.28);
}

/* Scroll-stack feature: pin viewport while section scrolls, crossfade backgrounds */
.scroll-stack {
    --stack-scroll: 130vh;
    height: var(--stack-scroll);
    display: block;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.scroll-stack__pin {
    position: sticky;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background-color: #0a0a0a;
    isolation: isolate;
}

.scroll-stack__layers {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.scroll-stack__layer {
    position: absolute;
    inset: 0;
    background-image: var(--scroll-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    will-change: opacity, transform;
    transform: scale(1);
    transform-origin: center center;
    backface-visibility: hidden;
    filter: contrast(1.08) saturate(1.02);
}

.scroll-stack__layer[data-scroll-layer="0"] {
    opacity: 1;
}

.scroll-stack__captions {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-stack__caption {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, calc(-50% + 20px), 0);
    text-align: center;
    max-width: min(90vw, 52rem);
    opacity: 0;
    will-change: opacity, transform;
}

.scroll-stack__caption[data-scroll-caption="0"] {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0);
}

.scroll-stack__caption h3 {
    font-size: clamp(2rem, 7vw, 7rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow:
        0 10px 40px rgba(0, 0, 0, 0.92),
        0 0 42px rgba(212, 175, 55, 0.4);
}

.scroll-stack__caption p {
    font-size: clamp(1rem, 2vw, 2.5rem);
    font-weight: 600;
    color: var(--accent-gold-bright);
    text-shadow:
        0 2px 14px rgba(0, 0, 0, 0.85),
        0 0 24px var(--accent-glow-strong);
}

@media (max-width: 768px) {
    .scroll-stack {
        --stack-scroll: 115vh;
    }

    .scroll-stack__caption {
        top: 44%;
        max-width: min(86vw, 28rem);
    }

    .scroll-stack__caption h3 {
        margin-bottom: 0.75rem;
        line-height: 0.95;
    }
}

/* CTA */
.cta {
    background-color: var(--bg-color);
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5vw;
}

.cta h2 {
    font-size: clamp(2rem, 6vw, 6rem);
    font-weight: 800;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow:
        0 2px 24px rgba(0, 0, 0, 0.88),
        0 0 48px rgba(212, 175, 55, 0.35);
}

.cta p {
    font-size: clamp(1rem, 2vw, 2.5rem);
    font-weight: 600;
    color: #e8e0d4;
    margin-bottom: 4rem;
    text-shadow:
        0 2px 16px rgba(0, 0, 0, 0.85),
        0 0 26px rgba(212, 175, 55, 0.25);
}

.glow-line {
    width: 2px;
    height: 150px;
    background: linear-gradient(to bottom, var(--accent-gold), transparent);
    margin: 0 auto;
}

/* Footer */
.massive-footer {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background: #000;
}

.footer-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.footer-bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    /* Removed brightness(0.4) dimming */
    filter: saturate(1.2) contrast(1.1);
    will-change: transform;
}

.footer-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0) 100%);
    padding: 0 0 10vh 0;
}

.footer-content h1 {
    font-size: clamp(2.5rem, 12vw, 15rem);
    color: rgba(255, 255, 255, 0.05);
    margin-bottom: 3rem;
    letter-spacing: 0.1em;
    -webkit-text-stroke: 1px rgba(255,255,255,0.1);
}

.footer-links-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(1rem, 3vw, 2.25rem);
    padding: 0 clamp(16px, 4vw, 28px);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.footer-links-side.social-links {
    padding: 0;
}

.footer-links-side--start {
    justify-self: start;
}

.footer-links-side--end {
    justify-self: end;
}

.footer-contract {
    justify-self: center;
    max-width: min(100%, 38rem);
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(1rem, 4vw, 1.75rem);
    flex-wrap: wrap;
    padding: 0 20px;
}

/* Match hero subtitle: Montserrat, heavy weight, gold + glow; pill button chrome. */
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.6rem 1.15rem;
    border: 1px solid rgba(212, 175, 55, 0.38);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
    text-decoration: none;
    color: var(--accent-gold-bright);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(0.65rem, 2vw, 0.82rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-shadow:
        0 0 22px var(--accent-glow-strong),
        0 2px 12px rgba(0, 0, 0, 0.88);
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.18s ease, color 0.25s ease;
}

.social-btn__icon {
    display: flex;
    flex-shrink: 0;
    line-height: 0;
    color: var(--accent-gold-bright);
    filter: drop-shadow(0 0 6px var(--accent-glow-strong));
}

.social-btn__icon svg {
    display: block;
}

/* Raster brand marks (e.g. america.fun); skip gold glow filter so colors stay faithful. */
.social-btn__icon--brand-img {
    filter: none;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.social-btn__icon--brand-img img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: cover;
    object-position: center;
}

.social-btn:hover .social-btn__icon--brand-img {
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.65), 0 0 14px rgba(212, 175, 55, 0.2);
}

.social-btn__text {
    line-height: 1;
    white-space: nowrap;
}

.social-btn:hover {
    border-color: var(--accent-gold);
    background: rgba(0, 0, 0, 0.62);
    color: #fffefd;
    transform: translateY(-1px);
}

.social-btn:hover .social-btn__icon {
    color: #fffefd;
}

.social-btn:active {
    transform: translateY(0);
}

.social-btn:focus-visible {
    outline: 2px solid var(--accent-gold-bright);
    outline-offset: 3px;
}

/* Mobile optimization pass: alignment, section sizing, dynamic image fit */
@media (max-width: 768px) {
    html {
        -webkit-text-size-adjust: 100%;
    }

    body {
        -webkit-tap-highlight-color: rgba(212, 175, 55, 0.2);
    }

    #smooth-wrapper {
        padding-top: calc(72px + env(safe-area-inset-top, 0px));
    }

    .site-header {
        padding: 8px max(10px, env(safe-area-inset-left)) 10px max(10px, env(safe-area-inset-right));
        padding-top: max(8px, env(safe-area-inset-top));
    }

    .site-header__inner {
        gap: 0.5rem;
        padding: 6px 8px;
        border-radius: 12px;
    }

    .site-header__inner .social-btn {
        min-height: 44px;
        min-width: 44px;
        padding: 0.5rem 0.75rem;
    }

    .cinematic-section {
        min-height: 100svh;
        min-height: 100dvh;
    }

    .hero-content {
        width: 100%;
        gap: 1rem;
        padding: 0 1rem;
        padding-top: 0.5rem;
    }

    .hero-title__img {
        width: min(94vw, 520px);
    }

    .hero-content .subtitle {
        letter-spacing: 0.14em;
        line-height: 1.2;
    }

    .hero-contract {
        max-width: 92vw;
        padding: 0.65rem 1rem;
        min-height: 44px;
        touch-action: manipulation;
    }

    .hero-contract-mono {
        max-width: 80vw;
        font-size: 0.78rem;
    }

    .tagline {
        max-width: 92vw;
        line-height: 1.5;
    }

    .scroll-indicator {
        bottom: 3svh;
    }

    .lore-bg-split,
    .lore-bg-split.reverse {
        min-height: 100svh;
        padding: 10svh 1rem;
    }

    .lore-bg-split-content {
        width: 100%;
        max-width: 100%;
        padding: 0 0.25rem;
    }

    .text-container p {
        line-height: 1.6;
    }

    .full-scene {
        height: 100svh;
    }

    .content-center {
        max-width: 100%;
        padding: 0 1rem;
    }

    .scroll-stack {
        --stack-scroll: 140svh;
    }

    .scroll-stack__caption {
        top: 46%;
        max-width: 92vw;
        padding: 0 0.5rem;
    }

    .scroll-stack__caption p {
        line-height: 1.45;
    }

    .cta {
        min-height: 72svh;
        padding: 0 1rem;
    }

    .cta p {
        line-height: 1.5;
        margin-bottom: 2.5rem;
    }

    .glow-line {
        height: 90px;
    }

    .massive-footer {
        height: 90svh;
    }

    .footer-content {
        padding: 0 max(1rem, env(safe-area-inset-left)) calc(6svh + env(safe-area-inset-bottom))
            max(1rem, env(safe-area-inset-right));
    }

    .footer-links-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 0 0.5rem;
        max-width: 100%;
    }

    .footer-links-side--start,
    .footer-links-side--end {
        justify-self: center;
    }

    .footer-links-side.social-links {
        justify-content: center;
    }

    .footer-contract {
        order: 0;
        max-width: min(100%, 36rem);
    }

    .footer-links-side--start {
        order: -1;
    }

    .footer-links-side--end {
        order: 1;
    }

    .social-links {
        gap: 1.2rem;
    }

    .social-btn {
        letter-spacing: 0.14em;
        padding: 0.55rem 0.95rem;
        font-size: clamp(0.6rem, 3.2vw, 0.75rem);
        max-width: 100%;
        min-height: 44px;
        touch-action: manipulation;
    }

    .oil-splash {
        width: 110px;
        height: 83px;
        margin-left: -55px;
        margin-top: -42px;
    }

    .parallax-layer,
    .parallax-img,
    .siena {
        will-change: auto;
    }

    #smooth-content {
        will-change: auto;
    }

    .social-btn__text {
        white-space: normal;
        text-align: center;
        word-break: break-word;
    }

    /* Fill mobile viewport more naturally with responsive crops */
    .parallax-layer img,
    .bg-image img,
    .footer-bg img {
        object-fit: cover;
        object-position: center;
    }
}
