* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-main);
    color: var(--ot-white);
    background:
        radial-gradient(ellipse 42% 26% at 50% -4%, rgba(240, 221, 164, 0.18), transparent 72%),
        radial-gradient(circle at 20% 10%, rgba(88, 122, 72, 0.34), transparent 36%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 90, 0.26), transparent 34%),
        linear-gradient(160deg, #14241E 0%, #0E1B16 26%, #080F0C 60%, #050907 85%, #030504 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    font-weight: 400;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.65), transparent);
    z-index: -1;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

main {
    position: relative;
    z-index: 1;
    padding-top: 120px;
}

.section {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
    padding: 90px 0;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--ot-gold-soft);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(3rem, 7.2vw, 7rem);
    line-height: 0.92;
    letter-spacing: -0.08em;
}

h1 span {
    display: block;
    color: var(--ot-gold-soft);
    text-shadow: 0 0 30px rgba(212, 175, 90, 0.35);
}

h2 {
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

p {
    color: var(--ot-muted);
    line-height: 1.7;
}


/* =========================================================
   OLIVOTRONIC · GLOBAL MOTION & PREMIUM ATMOSPHERE
   ========================================================= */

body {
    position: relative;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(circle at 18% 28%, rgba(212, 175, 90, 0.11), transparent 30%),
        radial-gradient(circle at 82% 44%, rgba(88, 122, 72, 0.14), transparent 34%),
        radial-gradient(circle at 48% 82%, rgba(184, 144, 58, 0.075), transparent 36%);
    animation: ambientGlow 14s ease-in-out infinite alternate;
}

::selection {
    color: var(--ot-black);
    background: var(--ot-gold-soft);
}

.js .reveal {
    opacity: 0;
    transform: translateY(34px);
    filter: blur(8px);
    transition:
        opacity 0.9s ease,
        transform 0.9s ease,
        filter 0.9s ease;
    will-change: opacity, transform, filter;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.js .reveal-left {
    opacity: 0;
    transform: translateX(-38px);
    filter: blur(8px);
    transition:
        opacity 0.9s ease,
        transform 0.9s ease,
        filter 0.9s ease;
}

.js .reveal-right {
    opacity: 0;
    transform: translateX(38px);
    filter: blur(8px);
    transition:
        opacity 0.9s ease,
        transform 0.9s ease,
        filter 0.9s ease;
}

.reveal-left.is-visible,
.reveal-right.is-visible {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

.float-soft {
    animation: floatSoft 6s ease-in-out infinite;
}

.pulse-glow {
    animation: pulseGlow 4.8s ease-in-out infinite;
}

@keyframes ambientGlow {
    0% {
        opacity: 0.55;
        transform: scale(1);
    }

    100% {
        opacity: 0.95;
        transform: scale(1.08);
    }
}

@keyframes floatSoft {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow:
            0 0 45px rgba(184, 144, 58, 0.22),
            0 0 90px rgba(155, 181, 113, 0.08);
    }

    50% {
        box-shadow:
            0 0 70px rgba(212, 175, 90, 0.36),
            0 0 120px rgba(155, 181, 113, 0.14);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .reveal,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        filter: none;
    }
}