
/* =========================================
   OOKAJA JARAN PRODUCTIONS
   Visual Identity - Version 01
========================================= */

:root {
    --background: #09090c;
    --surface: #111116;
    --white: #f1eff4;
    --muted: #aaa7b2;
    --violet: #9670df;
    --violet-light: #c2a3ff;
    --line: rgba(255, 255, 255, 0.13);
    --font-main: Arial, Helvetica, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--background);
    color: var(--white);
    font-family: var(--font-main);
    overflow-x: hidden;
}

/* GRAIN ORGANIC */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    opacity: 0.10;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
}

/* HEADER */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 86px;
    padding: 0 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 20;

    background: rgba(9, 9, 12, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--line);
}

.brand {
    color: var(--white);
    text-decoration: none;
    font-size: 17px;
    letter-spacing: 3px;
    font-weight: 500;
}

.brand span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 8px;
    letter-spacing: 5px;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 38px;
}

.navigation a {
    color: var(--muted);
    font-size: 12px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navigation a:hover {
    color: var(--violet-light);
}

.language-button {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--line);
    padding: 10px 14px;
    font-size: 10px;
    letter-spacing: 1px;
    cursor: pointer;
}

/* HERO */

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 150px 10% 120px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 55%;
    max-width: 680px;
    animation: reveal 1.1s ease both;
}

.eyebrow {
    color: var(--violet-light);
    font-size: 10px;
    letter-spacing: 4px;
    margin-bottom: 32px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 82px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -3px;
}

.hero h1 span {
    display: block;
    color: var(--muted);
}

.hero-description {
    max-width: 430px;
    margin-top: 30px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 42px;
}

.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    text-decoration: none;
    font-size: 11px;
    transition: all 0.35s ease;
}

.button-primary {
    background: var(--white);
    color: #111116;
}

.button-primary:hover {
    background: var(--violet-light);
    transform: translateY(-3px);
}

.button-secondary {
    border: 1px solid var(--line);
    color: var(--white);
}

.button-secondary:hover {
    border-color: var(--violet-light);
    color: var(--violet-light);
}

/* ABSTRACT ORGANIC ARTWORK */

.hero-art {
    position: absolute;
    width: 54vw;
    height: 75vh;
    right: -8%;
    top: 12%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.organic-form {
    position: absolute;
    width: 72%;
    height: 42%;
    border: 2px solid rgba(210, 205, 221, 0.45);
    border-radius: 50%;
    transform: rotate(-28deg) skewX(-12deg);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.13),
            transparent 32%,
            rgba(150,112,223,0.10) 70%,
            transparent
        );

    box-shadow:
        0 0 35px rgba(150,112,223,0.10),
        inset 0 0 25px rgba(255,255,255,0.07);

    filter: drop-shadow(0 0 12px rgba(255,255,255,0.10));

    animation: organicMotion 12s ease-in-out infinite alternate;
}

.organic-form::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 50%;
    transform: rotate(7deg);
}

.organic-form::after {
    content: "";
    position: absolute;
    width: 34%;
    height: 65%;
    top: 16%;
    left: 32%;
    border-radius: 50%;
    border-left: 2px solid rgba(194,163,255,0.42);
    filter: blur(1px);
}

.light-point {
    position: absolute;
    width: 5px;
    height: 5px;
    top: 33%;
    left: 47%;
    border-radius: 50%;
    background: white;
    box-shadow:
        0 0 12px 4px rgba(255,255,255,0.45),
        0 0 35px 12px rgba(150,112,223,0.35);
}

/* SCROLL INDICATOR */

.scroll-indicator {
    position: absolute;
    bottom: 45px;
    left: 10%;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 2px;
}

.scroll-indicator span {
    width: 32px;
    height: 1px;
    background: var(--violet-light);
}

/* NEXT SECTIONS */

.placeholder-section {
    min-height: 65vh;
    padding: 140px 10%;
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.placeholder-section p {
    color: var(--violet-light);
    font-size: 10px;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

.placeholder-section h2 {
    font-size: clamp(30px, 5vw, 60px);
    font-weight: 400;
    letter-spacing: -2px;
}

/* ANIMATIONS */

@keyframes organicMotion {
    from {
        transform: rotate(-28deg) skewX(-12deg) scale(0.96);
    }

    to {
        transform: rotate(-22deg) skewX(-8deg) scale(1.04);
    }
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE */

@media (max-width: 800px) {

    .header {
        height: 72px;
        padding: 0 6%;
    }

    .brand {
        font-size: 13px;
        letter-spacing: 2px;
    }

    .navigation {
        display: none;
    }

    .hero {
        min-height: 90vh;
        padding: 145px 7% 130px;
        align-items: flex-start;
    }

    .hero-content {
        width: 100%;
    }

    .hero h1 {
        font-size: clamp(43px, 11vw, 65px);
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 13px;
        max-width: 340px;
    }

    .hero-art {
        width: 100%;
        height: 40vh;
        right: -28%;
        top: 48%;
        opacity: 0.55;
    }

    .scroll-indicator {
        left: 7%;
        bottom: 35px;
    }

    .placeholder-section {
        min-height: 50vh;
        padding: 100px 7%;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================
   PORTFOLIO - OOKAJA JARAN PRODUCTIONS
========================================= */

.portfolio-section {
    padding: 150px 10%;
    background: #0b0b0e;
}

.section-heading {
    margin-bottom: 90px;
}

.section-heading h2 {
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 400;
    letter-spacing: -3px;
    margin: 20px 0;
}

.section-heading h2 span {
    color: #a78bd8;
}

.section-description {
    color: #aaa7b2;
    font-size: 14px;
    line-height: 1.8;
}

.category-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 22px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.category-heading h3 {
    font-size: 25px;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.category-heading span {
    color: #96919f;
    font-size: 10px;
    letter-spacing: 2px;
}

.portfolio-category {
    margin-bottom: 110px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
}

.work-card {
    min-width: 0;
    background: #121216;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 5px;
    overflow: hidden;
    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

.work-card:hover {
    transform: translateY(-6px);
    border-color: rgba(167,139,216,0.45);
    box-shadow: 0 18px 45px rgba(0,0,0,0.25);
}

/* VISUALS */

.work-visual {
    position: relative;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    padding: 22px;
    background-color: #202027;
}

.work-visual span {
    position: relative;
    z-index: 2;
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    letter-spacing: 2px;
}


/* PORTFOLIO COVER IMAGES */

.work-visual {
    position: relative;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    padding: 22px;
    background-color: #202027;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Subtle contrast overlay */

.work-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.15),
        transparent 45%,
        rgba(0, 0, 0, 0.18)
    );
    pointer-events: none;
}

.work-visual span {
    position: relative;
    z-index: 2;
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

/* Individual covers */

.visual-crescendo {
    background-image: url("Covers/crescendo.png");
}

.visual-ours {
    background-image: url("Covers/veille-ours.png");
}

.visual-pegase {
    background-image: url("Covers/pegase.png");
}

.visual-sorcerer {
    background-image: url("Covers/story-sorcerer.png");
}

.visual-windy {
    background-image: url("Covers/windy-birds.png");
}

.visual-night {
    background-image: url("Covers/night-drive.png");
}

.visual-efficacity {
    background-image: url("Covers/efficacity.png");
}

.visual-racing {
    background-image: url("Covers/gaming-racing.png");
}

.visual-fire {
    background-image: url("Covers/fireball.png");
}

.visual-magic {
    background-image: url("Covers/magical-fireball.png");
}

/* CARD INFORMATION */

.work-info {
    padding: 26px;
}

.work-info h4 {
    font-size: 23px;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.work-type {
    color: #b49adf;
    font-size: 11px;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.work-description {
    color: #aaa7b2;
    font-size: 13px;
    line-height: 1.8;
    min-height: 70px;
    margin-bottom: 24px;
}

/* AUDIO PLAYER */

.work-info audio {
    display: block;
    width: 100%;
    height: 42px;
    margin-top: 12px;
    accent-color: #9670df;
}

/* SOUND DESIGN */

.sound-category {
    margin-top: 30px;
}

/* RESPONSIVE */

@media (max-width: 800px) {

    .portfolio-section {
        padding: 100px 7%;
    }

    .section-heading {
        margin-bottom: 60px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .work-visual {
        height: 220px;
    }

    .work-info {
        padding: 22px;
    }

    .work-description {
        min-height: auto;
    }

    .category-heading h3 {
        font-size: 21px;
    }

    .portfolio-category {
        margin-bottom: 75px;
    }
}

/* ========================================
   SERVICES SECTION
======================================== */

.services-section {
    padding: 140px 8%;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 65px;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 490px;
    padding: 35px 30px;
    background: linear-gradient(
        145deg,
        rgba(255,255,255,0.045),
        rgba(255,255,255,0.012)
    );
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 5px;
    transition: border-color 0.35s ease,
                background 0.35s ease,
                transform 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(164, 112, 255, 0.55);
    background: linear-gradient(
        145deg,
        rgba(145, 90, 255, 0.09),
        rgba(255,255,255,0.015)
    );
}

.service-number {
    color: #a98aff;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 45px;
}

.service-category {
    color: #a98aff;
    font-size: 10px;
    letter-spacing: 2.5px;
    margin-bottom: 14px;
}

.service-card h3 {
    color: #fff;
    font-size: 27px;
    font-weight: 500;
    margin-bottom: 20px;
}

.service-description {
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 28px;
}

.service-deliverables {
    list-style: none;
    padding: 0;
    margin: 0 0 35px;
}

.service-deliverables li {
    color: rgba(255,255,255,0.78);
    font-size: 13px;
    line-height: 1.7;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.service-deliverables li::before {
    content: "↗";
    color: #a98aff;
    margin-right: 10px;
}

.service-link {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.12);
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #b99aff;
}

.service-link span {
    font-size: 18px;
}

.services-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-top: 55px;
}

.services-footer p {
    max-width: 520px;
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    line-height: 1.8;
}

/* Responsive services */

@media (max-width: 1000px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .services-section {
        padding: 90px 6%;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 40px;
    }

    .service-card {
        min-height: auto;
        padding: 28px 24px;
    }

    .service-number {
        margin-bottom: 30px;
    }

    .services-footer {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 35px;
    }
}

/* ========================================
   ABOUT SECTION
======================================== */

.about-section {
    position: relative;
    padding: 140px 8%;
    background:
        radial-gradient(
            ellipse at 85% 45%,
            rgba(125, 75, 190, 0.07),
            transparent 55%
        ),
        #0b0b0e;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.about-section .section-heading {
    margin-bottom: 75px;
}

.about-section .section-heading h2 {
    max-width: 750px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: start;
    padding-bottom: 90px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.about-label {
    color: #a98aff;
    font-size: 10px;
    letter-spacing: 3px;
    margin-bottom: 25px;
}

.about-intro h3 {
    max-width: 480px;
    color: #f2f0f5;
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.3;
    font-weight: 400;
}

.about-description {
    max-width: 560px;
}

.about-description p {
    color: rgba(255,255,255,0.62);
    font-size: 14px;
    line-height: 1.95;
    margin-bottom: 22px;
}

.about-principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
    padding-top: 55px;
}

.principle span {
    display: block;
    color: #a98aff;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.principle h4 {
    color: #f5f3f8;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 14px;
}

.principle p {
    max-width: 280px;
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    line-height: 1.8;
}

/* ABOUT RESPONSIVE */

@media (max-width: 850px) {
    .about-section {
        padding: 100px 6%;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-bottom: 60px;
    }

    .about-principles {
        gap: 25px;
    }
}

@media (max-width: 600px) {
    .about-section {
        padding: 85px 6%;
    }

    .about-section .section-heading {
        margin-bottom: 45px;
    }

    .about-principles {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-top: 40px;
    }

    .principle span {
        margin-bottom: 12px;
    }
}

/* ========================================
   CONTACT SECTION
======================================== */

.contact-section {
    position: relative;
    padding: 140px 8%;
    border-top: 1px solid rgba(255,255,255,0.07);
    background:
        radial-gradient(
            ellipse at 15% 55%,
            rgba(125,75,190,0.07),
            transparent 55%
        ),
        #0b0b0e;
}

.contact-section .section-heading {
    margin-bottom: 75px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 100px;
    align-items: start;
}

.contact-label {
    color: #a98aff;
    font-size: 10px;
    letter-spacing: 3px;
    margin-bottom: 25px;
}

.contact-intro h3 {
    max-width: 420px;
    color: #f5f3f8;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.3;
    font-weight: 400;
    margin-bottom: 25px;
}

.contact-intro > p:not(.contact-label) {
    color: rgba(255,255,255,0.58);
    font-size: 14px;
    line-height: 1.9;
}

.contact-note {
    display: block;
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.contact-note span {
    color: #a98aff;
    font-size: 12px;
}

.contact-note p {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    line-height: 1.8;
}

/* FORM */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 38px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 5px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.form-group label {
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 16px;
    color: #f5f3f8;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 3px;
    outline: none;
    font-family: inherit;
    font-size: 13px;
    transition: border-color 0.3s ease,
                background 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.3);
}

.form-group select {
    color-scheme: dark;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #a98aff;
    background: rgba(169,138,255,0.045);
}

.contact-submit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
}

.contact-submit span {
    font-size: 18px;
}

.contact-privacy {
    color: rgba(255,255,255,0.35);
    font-size: 11px;
    line-height: 1.7;
}

/* CONTACT RESPONSIVE */

@media (max-width: 850px) {
    .contact-section {
        padding: 100px 6%;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-intro h3 {
        max-width: 600px;
    }
}

@media (max-width: 600px) {
    .contact-section {
        padding: 85px 6%;
    }

    .contact-section .section-heading {
        margin-bottom: 45px;
    }

    .contact-form {
        padding: 24px 18px;
        gap: 21px;
    }
}

/* THANK YOU PAGE */

.thank-you-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    background:
        radial-gradient(
            ellipse at center,
            rgba(145,90,255,0.12),
            transparent 60%
        ),
        #09090c;
}

.thank-you-symbol {
    color: #a98aff;
    font-size: 55px;
    margin: 55px 0 25px;
}

.thank-you-page h1 {
    color: white;
    font-size: clamp(38px, 6vw, 65px);
    font-weight: 400;
}

.thank-you-page h1 span {
    color: #a98aff;
}

.thank-you-text {
    color: rgba(255,255,255,0.8);
    font-size: 17px;
    margin-top: 25px;
}

.thank-you-description {
    max-width: 450px;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    line-height: 1.8;
    margin: 15px 0 35px;
}

.thank-you-footer {
    color: rgba(255,255,255,0.3);
    font-size: 9px;
    letter-spacing: 3px;
    margin-top: 80px;
}


/* =========================================
   OOKAJA JARAN — GRAIN / MEMBRANE IDENTITY
   Final visual layer
========================================= */
.header .brand {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: inherit;
    letter-spacing: normal;
    flex-shrink: 0;
}

.brand-symbol {
    display: block;
    width: 54px;
    height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 0 7px rgba(225, 226, 233, .16));
}

.brand-wordmark {
    display: block;
    color: var(--white);
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 2.4px;
    font-weight: 500;
    white-space: nowrap;
}

.brand-wordmark span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 7px;
    letter-spacing: 4.2px;
}

.hero-art {
    width: 58vw;
    height: 82vh;
    right: -9%;
    top: 8%;
    opacity: .92;
    isolation: isolate;
}

.hero-membrane {
    position: absolute;
    width: 112%;
    height: 112%;
    object-fit: contain;
    opacity: .82;
    transform-origin: 50% 50%;
    animation: membrane-drift 88s ease-in-out infinite alternate;
    will-change: transform;
}

.membrane-halo {
    position: absolute;
    width: 72%;
    height: 62%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(158, 137, 190, .11) 0%, rgba(112, 96, 139, .045) 42%, transparent 72%);
    filter: blur(34px);
    animation: halo-breathe 42s ease-in-out infinite alternate;
}

/* A restrained optical glint, like a distant camera flash. */
.light-point {
    top: 37%;
    left: 49%;
    width: 3px;
    height: 3px;
    opacity: .82;
    box-shadow: 0 0 9px 3px rgba(255,255,255,.34), 0 0 28px 9px rgba(170,151,205,.17);
    animation: flash-breathe 13s ease-in-out infinite;
}

@keyframes membrane-drift {
    0% { transform: translate3d(-1.2%, .5%, 0) rotate(-2deg) scale(.99); }
    50% { transform: translate3d(1.1%, -1%, 0) rotate(1deg) scale(1.025); }
    100% { transform: translate3d(-.4%, 1.1%, 0) rotate(2.2deg) scale(1.005); }
}

@keyframes halo-breathe {
    from { transform: scale(.94) translate(-1%, 1%); opacity: .65; }
    to { transform: scale(1.08) translate(2%, -2%); opacity: 1; }
}

@keyframes flash-breathe {
    0%, 78%, 100% { opacity: .58; transform: scale(.8); }
    82% { opacity: 1; transform: scale(1.7); }
    86% { opacity: .68; transform: scale(1); }
}

@media (max-width: 800px) {
    .header .brand { gap: 9px; }
    .brand-symbol { width: 43px; height: 30px; }
    .brand-wordmark { font-size: 10px; letter-spacing: 1.7px; }
    .brand-wordmark span { font-size: 6px; letter-spacing: 3px; }
    .hero-art {
        width: 115%;
        height: 54vh;
        right: -38%;
        top: 42%;
        opacity: .56;
    }
    .hero-membrane { width: 118%; height: 118%; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-membrane, .membrane-halo, .light-point {
        animation: none !important;
    }
}


/* HERO ART — cinematic granular membrane (reference direction) */
.hero-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    right: auto;
    top: 0;
    z-index: 1;
    display: block;
    overflow: hidden;
    opacity: .96;
    isolation: isolate;
    pointer-events: none;
}
.hero-membrane {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: .96;
    transform-origin: 54% 52%;
    animation: membrane-drift 105s ease-in-out infinite alternate;
    will-change: transform;
}
.membrane-halo {
    position: absolute;
    width: 55%;
    height: 48%;
    right: 6%;
    top: 24%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(158,137,190,.08) 0%, rgba(112,96,139,.025) 42%, transparent 72%);
    filter: blur(42px);
    animation: halo-breathe 58s ease-in-out infinite alternate;
}
.light-point {
    top: 29%;
    left: 66%;
    width: 3px;
    height: 3px;
    opacity: .82;
    box-shadow: 0 0 9px 3px rgba(255,255,255,.38), 0 0 28px 9px rgba(170,151,205,.18);
    animation: flash-breathe 17s ease-in-out infinite;
}
@keyframes membrane-drift {
    0% { transform: translate3d(-.35%, .15%, 0) scale(1.015); }
    50% { transform: translate3d(.3%, -.2%, 0) scale(1.035); }
    100% { transform: translate3d(-.2%, .25%, 0) scale(1.02); }
}
@media (max-width: 800px) {
    .hero-art { inset: 0; width: 100%; height: 100%; opacity: .62; }
    .hero-membrane { object-position: 61% center; }
    .hero-content { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-membrane, .membrane-halo, .light-point { animation: none !important; }
}


/* V4 — selected game soundtrack and restrained footer */
.ost-feature{display:grid;grid-template-columns:minmax(220px,.8fr) 1.2fr;gap:clamp(28px,6vw,90px);align-items:center;padding:clamp(70px,10vw,130px) 10%;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:linear-gradient(110deg,rgba(24,22,31,.65),rgba(9,9,12,.2));}
.ost-artwork{aspect-ratio:1/1;max-width:390px;width:100%;display:flex;align-items:flex-end;padding:26px;background:radial-gradient(ellipse at 65% 32%,rgba(167,144,202,.35),transparent 34%),radial-gradient(ellipse at 28% 75%,rgba(99,82,125,.3),transparent 42%),linear-gradient(145deg,#27232f,#0b0b10 70%);border:1px solid rgba(220,214,235,.18);box-shadow:0 22px 70px rgba(0,0,0,.35);position:relative;overflow:hidden;}
.ost-artwork:before{content:"";position:absolute;inset:-30%;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");opacity:.45;mix-blend-mode:screen;}
.ost-artwork span{position:relative;font-size:10px;line-height:1.7;letter-spacing:3px;color:rgba(245,241,250,.72);}
.ost-copy{max-width:620px}.ost-copy h2{font-size:clamp(32px,4.5vw,58px);font-weight:400;letter-spacing:-1.8px;margin:14px 0 20px}.ost-copy h2 span{color:var(--violet-light)}.ost-copy>p:not(.eyebrow){color:var(--muted);line-height:1.8;max-width:560px}.ost-links{display:flex;flex-wrap:wrap;gap:24px;margin-top:30px}.ost-links a,.footer-links a{color:var(--white);text-decoration:none;font-size:12px;letter-spacing:.5px;opacity:.82;transition:opacity .2s,color .2s}.ost-links a:hover,.footer-links a:hover{opacity:1;color:var(--violet-light)}
.site-footer{padding:34px 7% 26px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;background:#08080b}.footer-brand{font-size:12px;letter-spacing:2px}.footer-brand span{display:block;font-size:8px;letter-spacing:3px;color:var(--muted);margin-top:4px}.footer-links{display:flex;gap:18px;flex-wrap:wrap}.site-footer>p{width:100%;font-size:10px;color:var(--muted);opacity:.7;margin-top:4px}
@media(max-width:700px){.ost-feature{grid-template-columns:1fr;padding:70px 7%;}.ost-artwork{max-width:300px}.footer-links{gap:12px}.site-footer{align-items:flex-start;flex-direction:column}}
/* Motion: deliberately slow, but perceptible. Reduced-motion preference remains respected. */
@keyframes membrane-drift{0%{transform:translate3d(-.8%,.35%,0) rotate(-.25deg) scale(1.015)}50%{transform:translate3d(.65%,-.45%,0) rotate(.2deg) scale(1.035)}100%{transform:translate3d(-.5%,.55%,0) rotate(-.15deg) scale(1.02)}}
.hero-membrane{animation:membrane-drift 78s ease-in-out infinite alternate!important}
.membrane-halo{animation:halo-breathe 48s ease-in-out infinite alternate!important}

@media (prefers-reduced-motion: reduce){.hero-membrane,.membrane-halo,.light-point{animation:none!important;}}


/* V4 — selected game soundtrack and restrained footer */
.ost-feature{display:grid;grid-template-columns:minmax(220px,.8fr) 1.2fr;gap:clamp(28px,6vw,90px);align-items:center;padding:clamp(70px,10vw,130px) 10%;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:linear-gradient(110deg,rgba(24,22,31,.65),rgba(9,9,12,.2));}
.ost-artwork{aspect-ratio:1/1;max-width:390px;width:100%;display:flex;align-items:flex-end;padding:26px;background:radial-gradient(ellipse at 65% 32%,rgba(167,144,202,.35),transparent 34%),radial-gradient(ellipse at 28% 75%,rgba(99,82,125,.3),transparent 42%),linear-gradient(145deg,#27232f,#0b0b10 70%);border:1px solid rgba(220,214,235,.18);box-shadow:0 22px 70px rgba(0,0,0,.35);position:relative;overflow:hidden;}
.ost-artwork:before{content:"";position:absolute;inset:-30%;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");opacity:.45;mix-blend-mode:screen;}
.ost-artwork span{position:relative;font-size:10px;line-height:1.7;letter-spacing:3px;color:rgba(245,241,250,.72);}
.ost-copy{max-width:620px}.ost-copy h2{font-size:clamp(32px,4.5vw,58px);font-weight:400;letter-spacing:-1.8px;margin:14px 0 20px}.ost-copy h2 span{color:var(--violet-light)}.ost-copy>p:not(.eyebrow){color:var(--muted);line-height:1.8;max-width:560px}.ost-links{display:flex;flex-wrap:wrap;gap:24px;margin-top:30px}.ost-links a,.footer-links a{color:var(--white);text-decoration:none;font-size:12px;letter-spacing:.5px;opacity:.82;transition:opacity .2s,color .2s}.ost-links a:hover,.footer-links a:hover{opacity:1;color:var(--violet-light)}
.site-footer{padding:34px 7% 26px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;background:#08080b}.footer-brand{font-size:12px;letter-spacing:2px}.footer-brand span{display:block;font-size:8px;letter-spacing:3px;color:var(--muted);margin-top:4px}.footer-links{display:flex;gap:18px;flex-wrap:wrap}.site-footer>p{width:100%;font-size:10px;color:var(--muted);opacity:.7;margin-top:4px}
@media(max-width:700px){.ost-feature{grid-template-columns:1fr;padding:70px 7%;}.ost-artwork{max-width:300px}.footer-links{gap:12px}.site-footer{align-items:flex-start;flex-direction:column}}
/* Motion: deliberately slow, but perceptible. Reduced-motion preference remains respected. */
@keyframes membrane-drift{0%{transform:translate3d(-.8%,.35%,0) rotate(-.25deg) scale(1.015)}50%{transform:translate3d(.65%,-.45%,0) rotate(.2deg) scale(1.035)}100%{transform:translate3d(-.5%,.55%,0) rotate(-.15deg) scale(1.02)}}
.hero-membrane{animation:membrane-drift 78s ease-in-out infinite alternate!important}
.membrane-halo{animation:halo-breathe 48s ease-in-out infinite alternate!important}


/* FINAL POLISH — SAND GRAIN, HEADER MARK & EMBEDDED PLAYERS */
.brand-symbol {
    width: 62px;
    height: 42px;
    flex: 0 0 auto;
    filter: drop-shadow(0 0 9px rgba(225, 226, 233, .22));
}

.hero-art::before,
.hero-art::after {
    content: "";
    position: absolute;
    inset: 5% 3%;
    pointer-events: none;
    border-radius: 50%;
    background-image:
        radial-gradient(circle, rgba(238,235,246,.78) 0 1px, transparent 1.7px),
        radial-gradient(circle, rgba(174,143,226,.8) 0 .9px, transparent 1.7px),
        radial-gradient(circle, rgba(255,255,255,.48) 0 .7px, transparent 1.5px);
    background-size: 83px 91px, 127px 113px, 59px 67px;
    background-position: 0 0, 31px 47px, 18px 23px;
    opacity: .23;
    mix-blend-mode: screen;
    animation: sand-particle-drift 72s ease-in-out infinite alternate;
}

.hero-art::after {
    inset: 12% -2% 0 8%;
    background-size: 113px 101px, 71px 89px, 149px 131px;
    background-position: 42px 19px, 11px 57px, 73px 8px;
    opacity: .15;
    animation-duration: 96s;
    animation-direction: alternate-reverse;
}

@keyframes sand-particle-drift {
    0% { transform: translate3d(-1.2%, .7%, 0) rotate(-1deg); opacity: .13; }
    50% { transform: translate3d(1%, -1%, 0) rotate(1deg); opacity: .25; }
    100% { transform: translate3d(-.3%, .8%, 0) rotate(2deg); opacity: .17; }
}

.ost-feature {
    grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
    align-items: start;
}

.ost-players {
    display: grid;
    gap: 26px;
    min-width: 0;
    width: 100%;
}

.ost-player {
    min-width: 0;
}

.ost-player-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 12px;
    color: var(--white);
    font-size: 13px;
    letter-spacing: .8px;
}

.ost-player-heading span:last-child {
    color: var(--violet-light);
    font-size: 9px;
    letter-spacing: 2px;
}

.embed-frame {
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(220,214,235,.14);
    border-radius: 8px;
    background: #101014;
}

.embed-frame iframe {
    display: block;
    width: 100%;
    border: 0;
}

.youtube-frame iframe { height: 352px; }
.spotify-frame iframe { height: 352px; }

@media (max-width: 800px) {
    .brand-symbol { width: 48px; height: 36px; }
    .ost-feature {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-left: 7%;
        padding-right: 7%;
    }
    .youtube-frame iframe { height: 300px; }
    .spotify-frame iframe { height: 352px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-art::before,
    .hero-art::after {
        animation: none !important;
    }
}


/* FINAL DETAIL — transparent grain logo + slow flowing particle field */
.brand-symbol {
    display: block;
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    filter: none !important;
    object-fit: contain;
}

.hero-particle-wave {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: block;
    pointer-events: none;
    opacity: .82;
    mix-blend-mode: screen;
}
.hero-membrane { z-index: 1; }
.membrane-halo { z-index: 0; }
.light-point { position: absolute; z-index: 3; }

@media (max-width: 800px) {
    .hero-particle-wave { opacity: .58; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-particle-wave { display: none !important; }
}
/* Replace the former tiled CSS dot overlays with the continuous Canvas field. */
.hero-art::before,
.hero-art::after { display: none !important; }
