/*
Theme Name: Jaaweed
Theme URI: https://jaaweed.local
Author: Jaaweed Team
Author URI: https://jaaweed.local
Description: A dark navy & silver glassmorphism one-page theme for Jaaweed album pre-orders. Fully customizable, bilingual (EN/FA), built with BEM methodology.
Version: 0.1.8
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jaaweed
Tags: one-page, dark, glassmorphism, neumorphism, music, landing-page, bilingual, rtl-language-support
*/

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
    --site-bg:       #020408;
    --clr-black:     #020408;
    --clr-black-abs: #020408;
    --clr-navy:      #0F172A;
    --clr-navy-deep: #1E293B;
    --clr-accent:       #94A3B8;
    --clr-accent-dim:   rgba(148, 163, 184, 0.55);
    --clr-silver:    #CBD5E1;
    --clr-white:     #E2E8F0;
    --clr-gray:      rgba(148, 163, 184, 0.35);
    --clr-border:    rgba(30, 41, 59, 0.65);

    /*
     * Vazirmatn (CDN in `functions.php`) — one stack for every section:
     * Persian/Arabic + Latin. Mono stack leads with Vazirmatn for mixed UI/code.
     */
    --font-sans: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Roboto, Tahoma, Arial, sans-serif;
    --font-fa:   var(--font-sans);
    --font-mono: "Vazirmatn", ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base Reset
   ========================================================================== */

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

html,
body {
    height: 100%;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Hide document scrollbar; scrolling still works */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    width: 0;
    height: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--clr-white);
    background-color: var(--clr-black);
    overflow: hidden;
}

/* Unlock scrolling once the user has entered the world */
body.jaaweed--entered {
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body.jaaweed--entered::-webkit-scrollbar {
    width: 0;
    height: 0;
}

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

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

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* ==========================================================================
   Main Wrapper
   ========================================================================== */

.jaaweed__wrapper {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.985);
    transition:
        opacity 1s ease 0.12s,
        transform 1.05s var(--ease-out-expo) 0.08s;
    max-width: 100%;
    overflow-x: clip;
}

.jaaweed__wrapper--visible {
    opacity: 1;
    pointer-events: all;
    transform: scale(1);
}

/* ==========================================================================
   Page skin — shared backdrop + atmosphere (after hero, before footer)
   ========================================================================== */
.jaaweed-page-skin {
    position: relative;
    width: 100%;
    isolation: isolate;
    background: var(--site-bg);
}

.jaaweed-page-skin__atmos {
    display: none;
}

.jaaweed-page-skin__glow {
    position: absolute;
    left: 50%;
    top: 52%;
    width: min(1200px, max(70vw, 85%));
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle,
        rgba(148, 163, 184, 0.35) 0%,
        rgba(100, 116, 139, 0.22) 22%,
        rgba(15, 23, 42, 0.12) 48%,
        transparent 72%);
    filter: blur(2px);
    animation: cta-glow-breath 5.5s ease-in-out infinite;
}

.jaaweed-page-skin__dust {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0) 0px,
            rgba(255, 255, 255, 0) 2px,
            rgba(255, 255, 255, 0.03) 3px,
            rgba(255, 255, 255, 0) 4px,
            rgba(255, 255, 255, 0) 80px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(148, 163, 184, 0) 0px,
            rgba(148, 163, 184, 0) 200px,
            rgba(148, 163, 184, 0.08) 202px,
            rgba(148, 163, 184, 0) 205px
        );
    mix-blend-mode: screen;
    opacity: 0.9;
    animation: cta-dust-drift 14s linear infinite;
}

.jaaweed-page-skin__scan {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0,
        rgba(0, 0, 0, 0) 2px,
        rgba(0, 0, 0, 0.22) 3px,
        rgba(0, 0, 0, 0) 4px
    );
    mix-blend-mode: multiply;
    opacity: 0.55;
}

/* ==========================================================================
   INTRO
   ========================================================================== */

.intro {
    position: fixed;
    inset: 0;
    z-index: 1000;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--site-bg);
    overflow: hidden;
}

.intro__atmos,
.intro__glow,
.intro__orb,
.intro__noise,
.jaaweed-page-skin__atmos,
.jaaweed-page-skin__glow,
.jaaweed-page-skin__dust,
.jaaweed-page-skin__scan,
.music__atmos,
.music__glow,
.music__dust,
.music__scan,
.preorder__atmos,
.preorder__glow,
.preorder__scan,
.preorder__noise,
.preorder__grid,
.page__atmos,
.page__glow,
.page__scan,
.page__grid,
.about__content-glow {
    display: none !important;
}

/* Ambient floating orbs — lightweight CSS-only atmosphere */
.intro__atmos {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.intro__glow {
    position: absolute;
    left: 50%;
    top: 44%;
    width: min(560px, 78vw);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(148, 163, 184, 0.2) 0%, transparent 68%);
    animation: intro-glow-pulse 7s ease-in-out infinite alternate;
}

@keyframes intro-glow-pulse {
    from { opacity: 0.45; transform: translate(-50%, -50%) scale(0.88); }
    to   { opacity: 0.95; transform: translate(-50%, -50%) scale(1.08); }
}

.intro__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    will-change: transform;
}

.intro__orb--1 {
    width: 260px;
    height: 260px;
    background: rgba(100, 116, 139, 0.38);
    top: 12%;
    left: 8%;
    animation: intro-orb-float-1 14s ease-in-out infinite;
}

.intro__orb--2 {
    width: 200px;
    height: 200px;
    background: rgba(148, 163, 184, 0.32);
    bottom: 18%;
    right: 10%;
    animation: intro-orb-float-2 11s ease-in-out infinite;
}

.intro__orb--3 {
    width: 140px;
    height: 140px;
    background: rgba(15, 23, 42, 0.45);
    top: 55%;
    left: 72%;
    animation: intro-orb-float-3 9s ease-in-out infinite;
}

@keyframes intro-orb-float-1 {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(28px, 22px); }
}

@keyframes intro-orb-float-2 {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(-24px, -18px); }
}

@keyframes intro-orb-float-3 {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(-16px, 14px); }
}

/* Grain noise texture overlay */
.intro__noise {
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.035;
    pointer-events: none;
    animation: noise-drift 8s steps(2) infinite;
}

@keyframes noise-drift {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(-1%, 1%); }
    50%  { transform: translate(1%, -1%); }
    75%  { transform: translate(-1%, -1%); }
    100% { transform: translate(0, 0); }
}

/* Content */
.intro__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.5rem;
    text-align: center;
    padding: 0 1.5rem;
}

/* Tagline */
.intro__tagline {
    font-size: clamp(0.6rem, 1.3vw, 0.82rem);
    letter-spacing: 0.5em;
    color: rgba(255, 255, 255, 0.38);
    font-weight: 300;
    text-transform: lowercase;
    white-space: nowrap;

    /* Typewriter reveal */
    clip-path: inset(0 100% 0 0);
    animation: typewriter-reveal 2.2s steps(34, end) 0.8s both;
}

@keyframes typewriter-reveal {
    to { clip-path: inset(0 0% 0 0); }
}

/* CTA Button */
.intro__cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.15rem 3.2rem;
    overflow: hidden;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;

    opacity: 0;
    transform: translateY(14px);
    animation: cta-appear 0.9s var(--ease-out-expo) 3.2s forwards;
}

@keyframes cta-appear {
    to { opacity: 1; transform: translateY(0); }
}

.intro__cta-text {
    position: relative;
    z-index: 2;
    font-size: clamp(0.6rem, 1.1vw, 0.75rem);
    letter-spacing: 0.38em;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    transition: color 0.35s ease;
}

/* Border — drawn in via pseudo */
.intro__cta::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(100, 116, 139, 0.55);
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

/* Red fill on hover */
.intro__cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--clr-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease-out-expo);
    z-index: 1;
}

.intro__cta:hover::before {
    border-color: var(--clr-accent);
    box-shadow: 0 0 40px rgba(100, 116, 139, 0.35);
}

.intro__cta:hover::after {
    transform: scaleX(1);
}

/* Ambient glow behind button */
.intro__cta-glow {
    position: absolute;
    inset: -40%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 116, 139, 0.22) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
    animation: glow-breathe 3s ease-in-out 4s infinite alternate;
}

@keyframes glow-breathe {
    from { opacity: 0.4; transform: scale(0.9); }
    to   { opacity: 0.8; transform: scale(1.15); }
}

/* Footer */
.intro__footer {
    position: absolute;
    bottom: 2.2rem;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
    opacity: 0;
    animation: fade-in 0.8s ease 3.8s forwards;
}

.intro__copyright {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.16);
    text-transform: uppercase;
}

/* Exit state — soft fade + blur into main site */
.intro--exit {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.03);
    filter: blur(10px);
    transition:
        opacity 0.95s ease,
        transform 1.05s var(--ease-out-expo),
        filter 0.9s ease;
}

.intro--exit .intro__content {
    transform: translateY(-12px);
    transition: transform 0.85s var(--ease-out-expo);
}

/* ==========================================================================
   MUSIC — full-viewport tracklist / soundtrack reveal
   ========================================================================== */
.music {
    --music-accent:       #94A3B8;
    --music-accent-deep:  #0F172A;
    --music-accent-glow:  rgba(148, 163, 184, 0.55);
    --music-white:     #f5f5f5;
    --music-muted:     rgba(245, 245, 245, 0.55);
    --music-mute-2:    rgba(245, 245, 245, 0.35);
    --music-line:      rgba(255, 255, 255, 0.12);
    --music-line-2:    rgba(255, 255, 255, 0.06);

    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 780px;
    margin: 0;
    padding: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 4vw, 3.5rem);
    box-sizing: border-box;
    overflow: hidden;

    display: grid;
    grid-template-rows: auto 1fr;
    gap: clamp(1rem, 2vw, 2rem);

    color: var(--music-white);
    font-family: var(--font-sans);
    text-transform: uppercase;

    background: transparent;
}

.music__atmos {
    display: none;
}

/* Official SoundCloud widget — real size off-screen so it can buffer/play fast */
.music__sc-widget {
    position: absolute;
    left: -9999px;
    top: 0;
    width: 320px;
    height: 166px;
    opacity: 0;
    pointer-events: none;
    border: 0;
}

/* ── Corner plus-markers ─────────────────────────────────────────── */
.music__mark {
    position: absolute;
    width: 14px;
    height: 14px;
    z-index: 5;
    pointer-events: none;
    opacity: 0.9;
}
.music__mark::before,
.music__mark::after {
    content: "";
    position: absolute;
    background: var(--music-accent);
    box-shadow: 0 0 8px rgba(148, 163, 184, 0.65);
}
.music__mark::before { left: 50%; top: 0;  width: 1.5px; height: 100%; transform: translateX(-50%); }
.music__mark::after  { top: 50%; left: 0;  height: 1.5px; width: 100%; transform: translateY(-50%); }
.music__mark--tl { top: 22px; left: 22px; }
.music__mark--tr { top: 22px; right: 22px; }
.music__mark--bl { bottom: 22px; left: 22px; }
.music__mark--br { bottom: 22px; right: 22px; }

.music__glow {
    position: absolute;
    left: 50%;
    top: 52%;
    width: min(1200px, max(70vw, 85%));
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle,
        rgba(148, 163, 184, 0.28) 0%,
        rgba(180, 10, 25, 0.18) 22%,
        rgba(15, 23, 42, 0.1) 48%,
        transparent 72%);
    filter: blur(2px);
    animation: music-glow-breath 6s ease-in-out infinite;
}
.music__dust {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0) 0px,
            rgba(255, 255, 255, 0) 2px,
            rgba(255, 255, 255, 0.03) 3px,
            rgba(255, 255, 255, 0) 4px,
            rgba(255, 255, 255, 0) 80px),
        repeating-linear-gradient(
            90deg,
            rgba(148, 163, 184, 0) 0px,
            rgba(148, 163, 184, 0) 220px,
            rgba(148, 163, 184, 0.06) 222px,
            rgba(148, 163, 184, 0) 225px);
    mix-blend-mode: screen;
    opacity: 0.9;
    animation: music-dust-drift 16s linear infinite;
}
.music__scan {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0,
        rgba(0, 0, 0, 0) 2px,
        rgba(0, 0, 0, 0.2) 3px,
        rgba(0, 0, 0, 0) 4px);
    mix-blend-mode: multiply;
    opacity: 0.5;
}

/* ── Header ───────────────────────────────────────────────────── */
.music__header {
    position: relative;
    z-index: 4;
    text-align: center;
    padding: clamp(0.5rem, 2vh, 1.2rem) clamp(1rem, 4vw, 3rem) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.55rem, 1.2vh, 0.9rem);
}
.music__eyebrow {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    font-size: clamp(0.58rem, 0.72vw, 0.68rem);
    letter-spacing: 0.55em;
    font-weight: 500;
    color: rgba(245, 245, 245, 0.58);
}
.music__eyebrow-line {
    display: inline-block;
    width: clamp(26px, 4vw, 60px);
    height: 1px;
    background: rgba(255, 255, 255, 0.22);
}
.music__eyebrow-text { white-space: nowrap; }

.music__title-frame {
    position: relative;
    display: inline-block;
    padding: clamp(0.7rem, 1.5vh, 1rem) clamp(1.1rem, 3vw, 2.4rem);
    line-height: 1;
}
.music__title-bracket {
    position: absolute;
    width: clamp(14px, 1.3vw, 20px);
    height: clamp(14px, 1.3vw, 20px);
    border: 1.5px solid var(--music-accent);
    pointer-events: none;
    filter: drop-shadow(0 0 5px rgba(148, 163, 184, 0.5));
}
.music__title-bracket--tl { top: 0;    left: 0;    border-right: 0; border-bottom: 0; }
.music__title-bracket--tr { top: 0;    right: 0;   border-left: 0;  border-bottom: 0; }
.music__title-bracket--bl { bottom: 0; left: 0;    border-right: 0; border-top: 0; }
.music__title-bracket--br { bottom: 0; right: 0;   border-left: 0;  border-top: 0; }

.music__title {
    margin: 0;
    font-size: clamp(1.9rem, 4.2vw, 3.4rem);
    line-height: 1;
    letter-spacing: 0.22em;
    font-weight: 800;
    font-family: var(--font-sans);
    display: inline-flex;
    align-items: baseline;
    gap: clamp(0.55rem, 1vw, 1rem);
    white-space: nowrap;
}
.music__title-1 {
    color: var(--music-white);
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.12);
}
.music__title-2 {
    color: var(--music-accent);
    text-shadow:
        0 0 18px rgba(148, 163, 184, 0.5),
        0 0 42px rgba(148, 163, 184, 0.25);
    animation: music-title-flicker 7s linear infinite;
}
.music__subtitle {
    margin: 0;
    font-size: clamp(0.62rem, 0.78vw, 0.72rem);
    letter-spacing: 0.5em;
    color: rgba(245, 245, 245, 0.5);
    font-weight: 500;
}

/* ── Stage: feature + tracklist ──────────────────────────────── */
.music__stage {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(300px, 42%) 1fr;
    align-items: stretch;
    gap: clamp(1.25rem, 3vw, 3rem);
    padding: 0 clamp(0.5rem, 2vw, 2rem);
    min-height: 0;
}

/* ── Featured track ──────────────────────────────────────────── */
.music__feature {
    position: relative;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: clamp(0.8rem, 1.6vh, 1.3rem);
    min-height: 0;
}
.music__feature-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-height: 54vh;
    justify-self: center;
    align-self: start;
    margin: 0 auto;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: #050505;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.65),
        0 0 60px rgba(148, 163, 184, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.music__feature-img {
    position: absolute; inset: 0;
    z-index: 1;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.92;
    filter: contrast(1.05) saturate(0.85);
}
.music__feature-img[hidden] {
    display: none !important;
}
.music__feature-glitch {
    position: absolute; inset: 0;
    z-index: 2;
    width: 100%; height: 100%;
    pointer-events: none;
    mix-blend-mode: normal;
}
.music__feature-corner {
    position: absolute;
    width: 22px; height: 22px;
    border: 2px solid var(--music-accent);
    pointer-events: none;
    z-index: 3;
    filter: drop-shadow(0 0 6px rgba(148, 163, 184, 0.55));
}
.music__feature-corner--tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.music__feature-corner--tr { top: 10px; right: 10px; border-left: 0;  border-bottom: 0; }
.music__feature-corner--bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.music__feature-corner--br { bottom: 10px; right: 10px; border-left: 0;  border-top: 0; }

.music__feature-tag {
    position: absolute;
    top: 16px; right: 44px;
    z-index: 3;
    padding: 0.35rem 0.7rem;
    font-size: 0.6rem;
    letter-spacing: 0.45em;
    color: var(--music-accent);
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.music__feature-play {
    position: absolute;
    bottom: 18px; right: 18px;
    z-index: 3;
    width: 56px; height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1.5px solid var(--music-accent);
    background: rgba(0, 0, 0, 0.78);
    color: var(--music-white);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow:
        0 0 0 1px rgba(148, 163, 184, 0.1),
        0 0 28px rgba(148, 163, 184, 0.4);
}
.music__feature-play:hover,
.music__feature-play:focus-visible {
    outline: none;
    transform: scale(1.06);
    background: rgba(70, 4, 14, 0.85);
    box-shadow:
        0 0 0 2px rgba(148, 163, 184, 0.4),
        0 0 60px rgba(148, 163, 184, 0.85);
}
.music__feature-play-icon {
    width: 22px; height: 22px;
    color: var(--music-white);
    filter: drop-shadow(0 0 6px rgba(148, 163, 184, 0.55));
}
.music__feature-play-icon--pause { display: none; }
.music__feature.is-playing .music__feature-play-icon--play  { display: none; }
.music__feature.is-playing .music__feature-play-icon--pause { display: block; }

.music__feature-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
}
.music__feature-eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.45em;
    color: var(--music-muted);
}
.music__feature-title {
    margin: 0;
    font-size: clamp(1.1rem, 1.7vw, 1.6rem);
    letter-spacing: 0.3em;
    font-weight: 700;
    font-family: var(--font-sans);
    color: var(--music-white);
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.1);
}
.music__feature-meta {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.68rem;
    letter-spacing: 0.35em;
    color: var(--music-muted);
}
.music__feature-artist { color: var(--music-accent); font-weight: 600; }
.music__feature-sep    { opacity: 0.5; }

.music__feature-bars {
    display: inline-flex;
    gap: 3px;
    height: 12px;
    margin-top: 0.3rem;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.music__feature-bars > span {
    display: block;
    width: 2px;
    height: 100%;
    background: var(--music-accent);
    border-radius: 1px;
    animation: music-bar 0.9s ease-in-out infinite;
    animation-play-state: paused;
    transform-origin: center bottom;
}
.music__feature-bars > span:nth-child(1) { animation-delay: 0s; }
.music__feature-bars > span:nth-child(2) { animation-delay: 0.15s; }
.music__feature-bars > span:nth-child(3) { animation-delay: 0.30s; }
.music__feature-bars > span:nth-child(4) { animation-delay: 0.45s; }
.music__feature-bars > span:nth-child(5) { animation-delay: 0.60s; }

.music__feature.is-playing .music__feature-bars { opacity: 1; }
.music__feature.is-playing .music__feature-bars > span { animation-play-state: running; }

/* ── Tracklist ────────────────────────────────────────────── */
.music__tracklist-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-height: 0;
    overflow: hidden;
}
.music__tracklist-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 0.65rem;
    border-bottom: 1px solid var(--music-line);
    letter-spacing: 0.4em;
    font-size: 0.62rem;
    color: var(--music-muted);
}
.music__tracklist-count { color: var(--music-accent); font-weight: 700; }

.music__tracklist {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--music-accent) transparent;
    min-height: 0;
}
.music__tracklist::-webkit-scrollbar { width: 6px; }
.music__tracklist::-webkit-scrollbar-thumb { background: var(--music-accent); }

.music__track {
    position: relative;
    border-bottom: 1px solid var(--music-line-2);
    transition: background 0.25s ease;
}
.music__track::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: var(--music-accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s cubic-bezier(.16,1,.3,1);
}
.music__track:hover::before { transform: scaleY(1); }
.music__track.is-active::before { transform: scaleY(1); }
.music__track:hover { background: rgba(148, 163, 184, 0.04); }
.music__track.is-active { background: rgba(148, 163, 184, 0.06); }

.music__track-btn {
    all: unset;
    cursor: pointer;
    display: grid;
    grid-template-columns: auto auto 1fr auto auto;
    align-items: center;
    gap: clamp(0.6rem, 1.6vw, 1.2rem);
    padding: clamp(0.7rem, 1.4vh, 1rem) clamp(0.6rem, 1.5vw, 1rem);
    width: 100%;
    box-sizing: border-box;
    color: var(--music-white);
    font-family: inherit;
}
.music__track-btn:focus-visible {
    outline: 1px solid var(--music-accent);
    outline-offset: -2px;
}

.music__track-num {
    font-family: var(--font-sans);
    font-size: clamp(0.85rem, 1.1vw, 1rem);
    letter-spacing: 0.16em;
    color: var(--music-mute-2);
    min-width: 2ch;
}
.music__track.is-active .music__track-num { color: var(--music-accent); }

.music__track-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--music-white);
    transition: all 0.25s ease;
}
.music__track-play-icon { width: 14px; height: 14px; }
.music__track-play-icon--pause { display: none; }
.music__track:hover .music__track-play {
    border-color: var(--music-accent);
    color: var(--music-accent);
    box-shadow: 0 0 12px rgba(148, 163, 184, 0.4);
}
.music__track.is-active .music__track-play {
    border-color: var(--music-accent);
    background: rgba(148, 163, 184, 0.1);
    color: var(--music-accent);
}
.music__track.is-playing .music__track-play-icon--play  { display: none; }
.music__track.is-playing .music__track-play-icon--pause { display: block; }

.music__track-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    overflow: hidden;
}
.music__track-title {
    font-size: clamp(0.78rem, 1vw, 0.92rem);
    letter-spacing: 0.2em;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.25s ease;
}
.music__track:hover .music__track-title,
.music__track.is-active .music__track-title { color: var(--music-accent); }
.music__track-artist {
    font-size: 0.62rem;
    letter-spacing: 0.35em;
    color: var(--music-mute-2);
}

.music__track-bars {
    display: inline-flex;
    gap: 2px;
    width: 22px;
    height: 14px;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.music__track-bars > span {
    display: block;
    width: 2px;
    height: 100%;
    background: var(--music-accent);
    animation: music-bar 0.9s ease-in-out infinite;
    animation-play-state: paused;
    transform-origin: center bottom;
}
.music__track-bars > span:nth-child(1) { animation-delay: 0s; }
.music__track-bars > span:nth-child(2) { animation-delay: 0.2s; }
.music__track-bars > span:nth-child(3) { animation-delay: 0.4s; }
.music__track-bars > span:nth-child(4) { animation-delay: 0.6s; }
.music__track.is-playing .music__track-bars { opacity: 1; }
.music__track.is-playing .music__track-bars > span { animation-play-state: running; }

.music__track-duration {
    font-family: var(--font-sans);
    font-size: clamp(0.8rem, 1.1vw, 1rem);
    letter-spacing: 0.12em;
    color: var(--music-muted);
    min-width: 4ch;
    text-align: right;
}

.music__empty {
    margin: 0.8rem 0;
    padding: 1.5rem;
    border: 1px dashed var(--music-line);
    text-align: center;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--music-muted);
}
.music__empty em { color: var(--music-accent); font-style: normal; }

/* ── Keyframes ──────────────────────────────────────────── */
@keyframes music-glow-breath {
    0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
    50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.05); }
}
@keyframes music-dust-drift {
    from { background-position: 0 0, 0 0; }
    to   { background-position: 1200px 0, -1200px 0; }
}
@keyframes music-title-flicker {
    0%, 94%, 100% { opacity: 1; }
    95%           { opacity: 0.7; }
    95.5%         { opacity: 1; }
    97%           { opacity: 0.85; }
    97.5%         { opacity: 1; }
}
@keyframes music-bar {
    0%, 100% { transform: scaleY(0.4); }
    50%      { transform: scaleY(1); }
}

/* ==========================================================================
   MUSIC — Responsive (advanced, full device matrix)
   ==========================================================================
   Breakpoint strategy:
     ≥1920 : ultra-wide cinema
     ≥1600 : big desktop
     ≥1280 : default desktop  (baseline above)
     ≤1280 : small desktop / laptop
     ≤1024 : landscape tablet  → single-column, cover on top
     ≤ 860 : portrait tablet   → tighter spacing
     ≤ 720 : large phone       → reflow meta rows, hide decorative bars
     ≤ 560 : mid phone
     ≤ 420 : small phone
     ≤ 360 : tiny phone
   Special rules for: short viewports, landscape phones, touch devices,
   reduced motion, high contrast, RTL.
   ========================================================================== */

/* ── Ultra-wide (cinema) ─────────────────────────────────── */
@media (min-width: 1920px) {
    .music {
        padding: clamp(3rem, 5vw, 5rem) clamp(3rem, 6vw, 6rem);
    }
    .music__stage {
        grid-template-columns: minmax(400px, 38%) 1fr;
        gap: clamp(3rem, 5vw, 5rem);
    }
    .music__title { font-size: clamp(3.4rem, 3.4vw, 4.8rem); }
    .music__feature-cover { max-height: 62vh; }
    .music__track-btn { padding: 1.1rem 1.2rem; }
    .music__track-title { font-size: 1rem; }
}

/* ── Large desktop ───────────────────────────────────────── */
@media (min-width: 1600px) and (max-width: 1919px) {
    .music__stage {
        grid-template-columns: minmax(360px, 40%) 1fr;
        gap: clamp(2rem, 3.5vw, 3.5rem);
    }
    .music__feature-cover { max-height: 58vh; }
    .music__title { font-size: clamp(3rem, 3.4vw, 4.2rem); }
}

/* ── Small desktop / laptop ──────────────────────────────── */
@media (max-width: 1440px) {
    .music { padding: clamp(1.8rem, 3.5vw, 3rem) clamp(1.2rem, 3.5vw, 3rem); }
    .music__stage { gap: clamp(1.4rem, 2.6vw, 2.4rem); }
    .music__feature-cover { max-height: 52vh; }
}
@media (max-width: 1280px) {
    .music__stage {
        grid-template-columns: minmax(280px, 38%) 1fr;
    }
    .music__title { font-size: clamp(2.2rem, 4vw, 3rem); }
    .music__feature-cover { max-height: 48vh; }
    .music__track-btn {
        gap: 0.9rem;
        padding: 0.85rem 0.8rem;
    }
}

/* ── Landscape tablet (single column stack) ──────────────── */
@media (max-width: 1024px) {
    .music {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        padding: clamp(1.5rem, 3.5vh, 2.5rem) clamp(1rem, 3.5vw, 2rem);
        grid-template-rows: auto auto;
    }
    .music__stage {
        grid-template-columns: 1fr;
        gap: clamp(1.5rem, 3.5vh, 2.5rem);
        padding: 0;
    }
    .music__feature {
        grid-template-rows: auto auto;
        gap: clamp(0.8rem, 2vh, 1.2rem);
        justify-items: center;
    }
    .music__feature-cover {
        aspect-ratio: 1;
        width: min(52vh, 440px, 80vw);
        max-height: none;
        max-width: none;
    }
    .music__tracklist-wrap {
        max-height: 60vh;
    }
    .music__tracklist {
        max-height: 50vh;
    }
    .music__title { font-size: clamp(2rem, 5vw, 2.8rem); }
}

/* ── Portrait tablet / smaller landscape ─────────────────── */
@media (max-width: 860px) {
    .music {
        padding: clamp(1.2rem, 3vh, 2rem) clamp(0.9rem, 3vw, 1.5rem);
    }
    .music__header {
        gap: 0.6rem;
    }
    .music__eyebrow-line { width: clamp(20px, 6vw, 50px); }
    .music__eyebrow { letter-spacing: 0.45em; font-size: 0.6rem; }
    .music__title { font-size: clamp(1.9rem, 6vw, 2.6rem); letter-spacing: 0.18em; }
    .music__subtitle { letter-spacing: 0.4em; font-size: 0.6rem; }

    .music__feature-cover { width: min(46vh, 400px, 78vw); }
    .music__feature-eyebrow { font-size: 0.55rem; letter-spacing: 0.4em; }
    .music__feature-title { font-size: clamp(1rem, 2.4vw, 1.35rem); letter-spacing: 0.25em; }
    .music__feature-meta { font-size: 0.62rem; letter-spacing: 0.3em; }

    .music__tracklist-head { font-size: 0.58rem; letter-spacing: 0.35em; }
}

/* ── Large phones ────────────────────────────────────────── */
@media (max-width: 720px) {
    .music {
        padding: 1.3rem 0.9rem;
        gap: 1rem;
    }

    .music__mark { width: 10px; height: 10px; }
    .music__mark--tl, .music__mark--tr { top: 14px; }
    .music__mark--bl, .music__mark--br { bottom: 14px; }
    .music__mark--tl, .music__mark--bl { left: 14px; }
    .music__mark--tr, .music__mark--br { right: 14px; }

    .music__title {
        font-size: clamp(1.7rem, 9vw, 2.4rem);
        letter-spacing: 0.12em;
        gap: 0.55rem;
    }
    .music__title-frame { padding: 0.7rem 1rem; }
    .music__title-bracket { width: 12px; height: 12px; }
    .music__subtitle { letter-spacing: 0.32em; font-size: 0.56rem; }

    .music__feature-cover {
        width: min(44vh, 360px, 86vw);
    }
    .music__feature-corner { width: 16px; height: 16px; }
    .music__feature-corner--tl, .music__feature-corner--tr { top: 8px; }
    .music__feature-corner--bl, .music__feature-corner--br { bottom: 8px; }
    .music__feature-corner--tl, .music__feature-corner--bl { left: 8px; }
    .music__feature-corner--tr, .music__feature-corner--br { right: 8px; }

    .music__feature-play {
        width: 46px; height: 46px;
        bottom: 10px; right: 10px;
    }
    .music__feature-play-icon { width: 18px; height: 18px; }
    .music__feature-tag {
        top: 10px; right: 10px;
        font-size: 0.52rem;
        padding: 0.22rem 0.5rem;
        letter-spacing: 0.35em;
    }

    .music__tracklist-wrap { max-height: 58vh; }
    .music__tracklist { max-height: 50vh; }

    .music__track-btn {
        grid-template-columns: auto auto 1fr auto;
        gap: 0.6rem;
        padding: 0.7rem 0.55rem;
    }
    .music__track-bars { display: none; }
    .music__track-title { font-size: 0.78rem; letter-spacing: 0.16em; }
    .music__track-artist { font-size: 0.55rem; letter-spacing: 0.28em; }
    .music__track-duration { font-size: 0.84rem; }
}

/* ── Mid phones ──────────────────────────────────────────── */
@media (max-width: 560px) {
    .music__eyebrow-line { width: clamp(16px, 5vw, 40px); }
    .music__eyebrow { letter-spacing: 0.38em; gap: 0.6rem; }
    .music__title { font-size: clamp(1.55rem, 9.5vw, 2.1rem); }

    .music__feature-cover { width: min(78vw, 320px); }
    .music__feature-title { font-size: clamp(0.95rem, 4vw, 1.2rem); letter-spacing: 0.22em; }
    .music__feature-info { gap: 0.3rem; }
    .music__feature-tag { display: none; }

    .music__tracklist-head {
        padding-bottom: 0.5rem;
        font-size: 0.55rem;
        letter-spacing: 0.3em;
    }

    .music__track-btn {
        grid-template-columns: auto 1fr auto;
        gap: 0.55rem;
    }
    .music__track-play { display: none; }
    .music__track-num {
        font-size: 0.82rem;
        min-width: 1.8ch;
    }
}

/* ── Small phones ────────────────────────────────────────── */
@media (max-width: 420px) {
    .music { padding: 1rem 0.7rem; }
    .music__title { font-size: clamp(1.4rem, 10vw, 1.9rem); letter-spacing: 0.1em; }
    .music__title-frame { padding: 0.55rem 0.75rem; }

    .music__feature-cover { width: min(82vw, 300px); }
    .music__feature-play { width: 42px; height: 42px; }
    .music__feature-play-icon { width: 16px; height: 16px; }
    .music__feature-title { letter-spacing: 0.18em; }
    .music__feature-meta { font-size: 0.58rem; letter-spacing: 0.26em; gap: 0.45rem; }

    .music__track-btn { padding: 0.65rem 0.45rem; }
    .music__track-title { font-size: 0.72rem; letter-spacing: 0.14em; }
    .music__track-artist { font-size: 0.52rem; letter-spacing: 0.24em; }
    .music__track-duration { font-size: 0.78rem; min-width: 3.5ch; }
}

/* ── Tiny phones ─────────────────────────────────────────── */
@media (max-width: 360px) {
    .music__title { font-size: 1.6rem; letter-spacing: 0.08em; gap: 0.4rem; }
    .music__subtitle { letter-spacing: 0.24em; }
    .music__feature-cover { width: min(86vw, 260px); }
    .music__track-num { font-size: 0.75rem; }
    .music__track-title { font-size: 0.68rem; }
}

/* ── Landscape phones (short & wide) ─────────────────────── */
@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
    .music {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        padding: 1rem;
        grid-template-rows: auto 1fr;
    }
    .music__header { gap: 0.4rem; }
    .music__title { font-size: clamp(1.4rem, 4.5vw, 2rem); letter-spacing: 0.12em; }
    .music__subtitle { font-size: 0.55rem; letter-spacing: 0.3em; }
    .music__eyebrow { display: none; }

    .music__stage {
        grid-template-columns: minmax(200px, 38%) 1fr;
        gap: 1rem;
    }
    .music__feature {
        grid-template-rows: 1fr auto;
    }
    .music__feature-cover {
        width: auto;
        height: 100%;
        max-height: 60vh;
        aspect-ratio: 1;
    }
    .music__feature-info { gap: 0.15rem; }
    .music__feature-title { font-size: 0.9rem; letter-spacing: 0.18em; }
    .music__feature-eyebrow { display: none; }
    .music__feature-bars { display: none; }

    .music__tracklist-wrap { max-height: none; }
    .music__tracklist { max-height: calc(100vh - 8rem); }

    .music__track-btn { padding: 0.5rem 0.6rem; }
    .music__track-artist { display: none; }
}

/* ── Short viewports (any orientation) ───────────────────── */
@media (max-height: 620px) and (min-width: 1025px) {
    .music {
        min-height: 600px;
    }
    .music__header { gap: 0.4rem; }
    .music__eyebrow { display: none; }
    .music__feature-cover { max-height: 42vh; }
    .music__title { font-size: clamp(1.8rem, 3vw, 2.4rem); }
}

/* ── Extremely short ─────────────────────────────────────── */
@media (max-height: 480px) {
    .music__eyebrow, .music__subtitle { display: none; }
    .music__header { padding: 0; }
}

/* ── Touch / coarse pointers (ensure tap targets ≥ 44px) ── */
@media (hover: none) and (pointer: coarse) {
    .music__track-btn { min-height: 54px; }
    .music__track-play { width: 32px; height: 32px; }
    .music__feature-play { min-width: 48px; min-height: 48px; }
    /* Touch devices: hide hover-only affordances for clarity */
    .music__track:hover { background: transparent; }
    .music__track:hover::before { transform: scaleY(0); }
    .music__track:hover .music__track-title { color: var(--music-white); }
    .music__track:hover .music__track-play {
        border-color: rgba(255,255,255,0.12);
        color: var(--music-white);
        box-shadow: none;
    }
    .music__track.is-active:hover::before { transform: scaleY(1); }
    .music__track.is-active:hover .music__track-title { color: var(--music-accent); }
}

/* ── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .music__glow,
    .music__dust,
    .music__title-2,
    .music__feature-bars > span,
    .music__track-bars > span,
    .music__feature-glitch,
    .music__track::before {
        animation: none !important;
        transition: none !important;
    }
    .music__feature-bars,
    .music__track-bars { opacity: 1; }
}

/* ── High contrast ───────────────────────────────────────── */
@media (prefers-contrast: more) {
    .music {
        background: transparent;
    }
    .music__glow, .music__dust, .music__scan { display: none; }
    .music__track { border-bottom: 1px solid rgba(255, 255, 255, 0.4); }
    .music__track-artist,
    .music__track-duration,
    .music__tracklist-head,
    .music__subtitle,
    .music__eyebrow { color: #fff; }
}

/* ── RTL ─────────────────────────────────────────────────── */
[dir="rtl"] .music__track::before {
    left: auto;
    right: 0;
}
[dir="rtl"] .music__track-duration { text-align: left; }
[dir="rtl"] .music__feature-tag { right: auto; left: 44px; }
[dir="rtl"] .music__feature-play { right: auto; left: 18px; }
[dir="rtl"] .music__feature-corner--tl { left: auto; right: 10px; border-right: 2px solid var(--music-accent); border-left: 0; }
[dir="rtl"] .music__feature-corner--tr { right: auto; left: 10px; border-left: 2px solid var(--music-accent); border-right: 0; }
[dir="rtl"] .music__feature-corner--bl { left: auto; right: 10px; border-right: 2px solid var(--music-accent); border-left: 0; }
[dir="rtl"] .music__feature-corner--br { right: auto; left: 10px; border-left: 2px solid var(--music-accent); border-right: 0; }


/* ==========================================================================
   MINI PLAYER WIDGET — fixed bottom bar, Spotify-style
   ========================================================================== */
/* Keep hidden player out of layout — `.music-player { display: grid }` overrides
   the UA `[hidden]` rule and the fixed + transformed bar was extending scroll
   height past the footer, leaving a black gap at the bottom of the page. */
.music-player[hidden] {
    display: none !important;
}

.music-player {
    --mp-accent:   #94A3B8;
    --mp-white: #f5f5f5;
    --mp-muted: rgba(245, 245, 245, 0.55);
    --mp-line:  rgba(255, 255, 255, 0.12);

    position: fixed;
    left: 50%;
    bottom: clamp(12px, 2vw, 22px);
    transform: translate(-50%, 140%);
    z-index: 9000;

    width: min(960px, calc(100% - 24px));
    display: grid;
    grid-template-columns: auto 1fr auto auto auto auto;
    grid-template-areas: "cover info controls progress volume close";
    align-items: center;
    gap: clamp(0.6rem, 1.4vw, 1.2rem);
    padding: 0.7rem clamp(0.8rem, 1.8vw, 1.3rem);

    background:
        linear-gradient(180deg, rgba(10, 15, 35, 0.95), rgba(5, 10, 25, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--mp-white);
    font-family: var(--font-sans);

    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.7),
        0 0 60px rgba(148, 163, 184, 0.12),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03);

    transition:
        transform 0.55s cubic-bezier(.16,1,.3,1),
        opacity 0.35s ease;
    opacity: 0;
}
.music-player.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* Corner brackets on the widget */
.music-player__corner {
    position: absolute;
    width: 10px; height: 10px;
    border: 1.5px solid var(--mp-accent);
    pointer-events: none;
    filter: drop-shadow(0 0 5px rgba(148, 163, 184, 0.55));
}
.music-player__corner--tl { top: -1px;    left: -1px;    border-right: 0; border-bottom: 0; }
.music-player__corner--tr { top: -1px;    right: -1px;   border-left: 0;  border-bottom: 0; }
.music-player__corner--bl { bottom: -1px; left: -1px;    border-right: 0; border-top: 0; }
.music-player__corner--br { bottom: -1px; right: -1px;   border-left: 0;  border-top: 0; }

/* Cover */
.music-player__cover {
    grid-area: cover;
    position: relative;
    width: clamp(44px, 5vw, 56px);
    height: clamp(44px, 5vw, 56px);
    overflow: hidden;
    background: var(--site-bg);
    flex-shrink: 0;
    border: 1px solid rgba(148, 163, 184, 0.25);
}
.music-player__cover-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.92;
}
.music-player__cover-glitch {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}

/* Info */
.music-player__info {
    grid-area: info;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    overflow: hidden;
}
.music-player__now-label {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.52rem;
    letter-spacing: 0.4em;
    color: var(--mp-accent);
    font-weight: 700;
    text-transform: uppercase;
}
.music-player__pulse {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--mp-accent);
    box-shadow: 0 0 10px rgba(148, 163, 184, 0.8);
    animation: mp-pulse 1.6s ease-in-out infinite;
}
.music-player__title {
    margin: 0;
    font-size: clamp(0.76rem, 1vw, 0.9rem);
    letter-spacing: 0.18em;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--mp-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.music-player__artist {
    margin: 0;
    font-size: 0.6rem;
    letter-spacing: 0.35em;
    color: var(--mp-muted);
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Controls */
.music-player__controls {
    grid-area: controls;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.music-player__btn {
    width: 36px; height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--mp-white);
    cursor: pointer;
    transition: color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.music-player__btn svg { width: 18px; height: 18px; }
.music-player__btn:hover { color: var(--mp-accent); transform: scale(1.05); }
.music-player__btn:focus-visible {
    outline: 1px solid var(--mp-accent);
    outline-offset: 2px;
}
.music-player__btn--play {
    width: 40px; height: 40px;
    background: var(--mp-accent);
    box-shadow: 0 0 18px rgba(148, 163, 184, 0.5);
    border-radius: 50%;
    color: #000;
}
.music-player__btn--play:hover {
    background: #CBD5E1;
    color: #000;
    box-shadow: 0 0 28px rgba(148, 163, 184, 0.8);
    transform: scale(1.08);
}
.music-player__btn--play svg { width: 16px; height: 16px; }
.music-player__play-icon--pause { display: none; }
.music-player.is-playing .music-player__play-icon--play  { display: none; }
.music-player.is-playing .music-player__play-icon--pause { display: block; }

/* Progress */
.music-player__progress {
    grid-area: progress;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-width: min(320px, 30vw);
    font-family: var(--font-sans);
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    color: var(--mp-muted);
}
.music-player__time { min-width: 3.4ch; }
.music-player__bar {
    position: relative;
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    border-radius: 2px;
}
.music-player__bar-fill {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 0%;
    background: linear-gradient(90deg, var(--mp-accent), #E2E8F0);
    box-shadow: 0 0 10px rgba(148, 163, 184, 0.5);
    border-radius: 2px;
}
.music-player__bar-handle {
    position: absolute;
    top: 50%;
    left: 0;
    width: 10px; height: 10px;
    background: var(--mp-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 14px rgba(148, 163, 184, 0.8);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.music-player__bar:hover .music-player__bar-handle,
.music-player__bar:focus-visible .music-player__bar-handle { opacity: 1; }

/* Volume */
.music-player__volume {
    grid-area: volume;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.music-player__vol-icon--off { display: none; }
.music-player.is-muted .music-player__vol-icon--on  { display: none; }
.music-player.is-muted .music-player__vol-icon--off { display: block; }
.music-player__vol-bar {
    position: relative;
    width: clamp(60px, 10vw, 100px);
    height: 3px;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    border-radius: 2px;
}
.music-player__vol-fill {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 80%;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
}

/* Close */
.music-player__close {
    grid-area: close;
    width: 30px; height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--mp-muted);
    cursor: pointer;
    transition: color 0.25s ease;
}
.music-player__close:hover { color: var(--mp-accent); }
.music-player__close svg { width: 14px; height: 14px; }

/* Keyframes */
@keyframes mp-pulse {
    0%, 100% { transform: scale(1);   opacity: 1; }
    50%      { transform: scale(1.6); opacity: 0.4; }
}

/* ==========================================================================
   MINI PLAYER — Responsive (advanced, full device matrix)
   ========================================================================== */

/* Tablet & small laptops — fold volume under controls row */
@media (max-width: 960px) {
    .music-player {
        width: min(720px, calc(100% - 20px));
        grid-template-columns: auto 1fr auto auto;
        grid-template-areas:
            "cover info controls close"
            "progress progress progress progress"
            "volume volume volume volume";
        row-gap: 0.45rem;
        padding: 0.65rem 0.9rem;
    }
    .music-player__volume { justify-self: end; }
    .music-player__cover { width: 48px; height: 48px; }
    .music-player__title  { font-size: 0.82rem; }
    .music-player__artist { font-size: 0.58rem; }
}

/* Large phones — hide volume slider (rely on mute icon) */
@media (max-width: 720px) {
    .music-player {
        bottom: 10px;
        width: calc(100% - 16px);
        padding: 0.6rem 0.75rem;
        gap: 0.55rem;
        border-radius: 0;
        grid-template-areas:
            "cover info controls close"
            "progress progress progress progress";
    }
    .music-player__volume { display: none; }
    .music-player__time { min-width: 2.8ch; font-size: 0.62rem; }
    .music-player__btn { width: 32px; height: 32px; }
    .music-player__btn--play { width: 38px; height: 38px; }
    .music-player__btn svg { width: 16px; height: 16px; }
    .music-player__cover { width: 44px; height: 44px; }
    .music-player__now-label { font-size: 0.52rem; letter-spacing: 0.3em; }
    .music-player__title  { font-size: 0.78rem; letter-spacing: 0.14em; }
    .music-player__artist { font-size: 0.55rem; letter-spacing: 0.3em; }
}

/* Mid phones — drop the "now playing" label */
@media (max-width: 560px) {
    .music-player {
        padding: 0.55rem 0.65rem;
        gap: 0.5rem;
    }
    .music-player__now-label { display: none; }
    .music-player__controls { gap: 0.25rem; }
    .music-player__btn { width: 30px; height: 30px; }
    .music-player__btn--play { width: 36px; height: 36px; }
}

/* Small phones — ultra compact, drop prev/next if needed */
@media (max-width: 420px) {
    .music-player {
        bottom: 6px;
        width: calc(100% - 10px);
        padding: 0.5rem 0.55rem;
        gap: 0.4rem;
        grid-template-columns: auto 1fr auto auto;
    }
    .music-player__cover { width: 40px; height: 40px; }
    .music-player__title  { font-size: 0.72rem; letter-spacing: 0.1em; }
    .music-player__artist { font-size: 0.5rem; letter-spacing: 0.24em; }
    .music-player__btn { width: 28px; height: 28px; }
    .music-player__btn svg { width: 14px; height: 14px; }
    .music-player__btn--play { width: 34px; height: 34px; }
    .music-player__time { font-size: 0.58rem; }
    .music-player__close { width: 22px; height: 22px; }
}

/* Tiny phones — hide prev/next buttons, keep play only */
@media (max-width: 340px) {
    .music-player__btn--prev,
    .music-player__btn--next { display: none; }
}

/* Landscape phones — very short viewports */
@media (max-width: 900px) and (max-height: 450px) and (orientation: landscape) {
    .music-player {
        bottom: 6px;
        padding: 0.4rem 0.7rem;
        grid-template-areas:
            "cover info controls progress close";
        grid-template-columns: auto 1fr auto 1fr auto;
        row-gap: 0;
    }
    .music-player__progress { gap: 0.4rem; }
    .music-player__cover { width: 36px; height: 36px; }
    .music-player__now-label,
    .music-player__artist { display: none; }
    .music-player__title { font-size: 0.72rem; }
}

/* Touch targets — enforce ≥40px tap area */
@media (hover: none) and (pointer: coarse) {
    .music-player__btn { min-width: 40px; min-height: 40px; }
    .music-player__btn:hover { transform: none; color: var(--mp-white); }
    .music-player__btn--play:hover { background: var(--mp-accent); transform: none; }
    .music-player__bar { height: 16px; padding: 6px 0; background-clip: content-box; }
    .music-player__bar-handle { opacity: 1; }
    .music-player__close { min-width: 32px; min-height: 32px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .music-player {
        transition: opacity 0.2s ease;
        transform: translate(-50%, 0);
        opacity: 0;
    }
    .music-player.is-visible { opacity: 1; }
    .music-player__pulse,
    .music-player__cover-glitch { animation: none !important; }
    .music-player__btn,
    .music-player__bar-fill,
    .music-player__vol-fill { transition: none; }
}

/* High contrast */
@media (prefers-contrast: more) {
    .music-player {
        background: var(--site-bg);
        border-color: #fff;
    }
    .music-player__bar { background: rgba(255,255,255,0.3); }
}

/* RTL — flip icons / ordering cues */
[dir="rtl"] .music-player__close svg,
[dir="rtl"] .music-player__btn--prev svg,
[dir="rtl"] .music-player__btn--next svg { transform: scaleX(-1); }


/* ==========================================================================
   FINAL CTA — full-viewport "LAST CHANCE" pre-order stage
   ========================================================================== */
.final-cta {
    --cta-accent:        #94A3B8;
    --cta-accent-deep:   #0F172A;
    --cta-accent-glow:   rgba(148, 163, 184, 0.55);
    --cta-white:      #f5f5f5;
    --cta-muted:      rgba(245, 245, 245, 0.55);
    --cta-line:       rgba(255, 255, 255, 0.18);

    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 720px;
    margin: 0;
    /* NB: no bottom padding — the bottom bar must hug the viewport edge */
    padding: clamp(2rem, 4vw, 4rem) 0 0;
    box-sizing: border-box;
    overflow: hidden;

    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: clamp(1rem, 2vw, 2rem);

    color: var(--cta-white);
    font-family: var(--font-sans);
    text-transform: uppercase;

    background: transparent;
}

/* ── Corner plus-markers ──────────────────────────────────────────── */
.final-cta__mark {
    position: absolute;
    width: 14px;
    height: 14px;
    z-index: 5;
    pointer-events: none;
    opacity: 0.9;
}
.final-cta__mark::before,
.final-cta__mark::after {
    content: "";
    position: absolute;
    background: var(--cta-accent);
    box-shadow: 0 0 8px rgba(148, 163, 184, 0.65);
}
.final-cta__mark::before { left: 50%; top: 0;  width: 1.5px; height: 100%; transform: translateX(-50%); }
.final-cta__mark::after  { top: 50%; left: 0;  height: 1.5px; width: 100%; transform: translateY(-50%); }

.final-cta__mark--tl { top: 24px; left: 24px; }
.final-cta__mark--tr { top: 24px; right: 24px; }
.final-cta__mark--bl { bottom: 24px; left: 24px; }
.final-cta__mark--br { bottom: 24px; right: 24px; }

/* ── HEADLINE block ───────────────────────────────────────────────── */
.final-cta__header {
    position: relative;
    z-index: 4;
    text-align: center;
    padding: clamp(0.5rem, 2vh, 1.4rem) clamp(1.25rem, 4vw, 4rem) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.55rem, 1.2vh, 0.9rem);
}

/* Eyebrow with decorative side lines */
.final-cta__eyebrow {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    font-size: clamp(0.58rem, 0.72vw, 0.68rem);
    letter-spacing: 0.55em;
    font-weight: 500;
    color: rgba(245, 245, 245, 0.58);
}
.final-cta__eyebrow-text {
    white-space: nowrap;
}
.final-cta__eyebrow-line {
    display: inline-block;
    width: clamp(26px, 4vw, 60px);
    height: 1px;
    background: rgba(255, 255, 255, 0.22);
}

/* Title frame — brackets positioned relative to the title itself */
.final-cta__title-frame {
    position: relative;
    display: inline-block;
    padding: clamp(0.7rem, 1.6vh, 1.1rem) clamp(1.2rem, 3vw, 2.6rem);
    line-height: 1;
}

.final-cta__title-bracket {
    position: absolute;
    width: clamp(14px, 1.3vw, 20px);
    height: clamp(14px, 1.3vw, 20px);
    border: 1.5px solid var(--cta-accent);
    pointer-events: none;
    filter: drop-shadow(0 0 5px rgba(148, 163, 184, 0.5));
}
.final-cta__title-bracket--tl { top: 0;     left: 0;     border-right: 0; border-bottom: 0; }
.final-cta__title-bracket--tr { top: 0;     right: 0;    border-left: 0;  border-bottom: 0; }
.final-cta__title-bracket--bl { bottom: 0;  left: 0;     border-right: 0; border-top: 0;    }
.final-cta__title-bracket--br { bottom: 0;  right: 0;    border-left: 0;  border-top: 0;    }

.final-cta__title {
    margin: 0;
    font-size: clamp(1.9rem, 4.4vw, 3.8rem);
    line-height: 1;
    letter-spacing: 0.22em;
    font-weight: 800;
    font-family: var(--font-sans);
    display: inline-flex;
    align-items: baseline;
    gap: clamp(0.55rem, 1vw, 1rem);
    white-space: nowrap;
}
.final-cta__title-1 {
    color: var(--cta-white);
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.12);
}
.final-cta__title-2 {
    color: var(--cta-accent);
    text-shadow:
        0 0 18px rgba(148, 163, 184, 0.5),
        0 0 42px rgba(148, 163, 184, 0.25);
    animation: cta-title-flicker 7s linear infinite;
}

.final-cta__subtitle {
    margin: 0;
    font-size: clamp(0.62rem, 0.78vw, 0.72rem);
    letter-spacing: 0.5em;
    color: rgba(245, 245, 245, 0.5);
    font-weight: 500;
}

/* ── STAGE (side text + center orb/cta) ───────────────────────────── */
.final-cta__stage {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: 1fr minmax(360px, 34vw) 1fr;
    align-items: center;
    gap: clamp(1rem, 3vw, 3rem);
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    min-height: 0; /* allow grid 1fr row to shrink and not push footer out */
}

.final-cta__side {
    font-size: clamp(0.72rem, 0.95vw, 0.86rem);
    letter-spacing: 0.3em;
    line-height: 1.9;
    font-weight: 600;
    color: rgba(245, 245, 245, 0.78);
    max-width: 240px;
}
.final-cta__side--left  { justify-self: start; }
.final-cta__side--right { justify-self: end; text-align: right; }

/* ── Orb + CTA panel ──────────────────────────────────────────────── */
.final-cta__orb-wrap {
    position: relative;
    display: grid;
    place-items: center;
    margin: 0 auto;
    width: 100%;
    max-width: 520px;
    min-height: 0;
}

/* Center CTA panel */
.final-cta__panel {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.7rem, 1.2vw, 1.1rem);
    padding: 1rem 1.5rem;
    width: min(420px, 85%);
}

.final-cta__kicker {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    font-size: clamp(0.7rem, 0.9vw, 0.8rem);
    letter-spacing: 0.55em;
    color: var(--cta-accent);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(148, 163, 184, 0.5);
}
.final-cta__kicker-slash {
    opacity: 0.6;
    font-weight: 400;
}

/* ── CTA Button ───────────────────────────────────────────────────── */
.final-cta__btn {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1.2rem 1.75rem;
    color: var(--cta-white);
    font-size: clamp(0.88rem, 1.1vw, 1.02rem);
    letter-spacing: 0.38em;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    border-radius: 6px;

    background:
        linear-gradient(145deg, rgba(30, 41, 59, 0.72) 0%, rgba(2, 4, 8, 0.95) 55%, rgba(15, 23, 42, 0.88) 100%);
    border: 1px solid rgba(148, 163, 184, 0.42);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 8px 32px rgba(0, 0, 0, 0.45),
        0 0 28px rgba(148, 163, 184, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -12px 24px rgba(0, 0, 0, 0.35);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        transform 0.35s var(--ease-out-expo),
        box-shadow 0.4s ease,
        border-color 0.35s ease,
        letter-spacing 0.4s ease,
        background 0.4s ease;

    animation: cta-btn-breath 3.6s ease-in-out infinite;
}

.final-cta__btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        115deg,
        transparent 0%,
        rgba(148, 163, 184, 0.06) 35%,
        rgba(226, 232, 240, 0.14) 50%,
        rgba(148, 163, 184, 0.06) 65%,
        transparent 100%
    );
    background-size: 220% 100%;
    animation: cta-btn-shimmer 5s ease-in-out infinite;
    opacity: 0.85;
}

.final-cta__btn::after {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        130deg,
        rgba(148, 163, 184, 0.15),
        rgba(203, 213, 225, 0.65),
        rgba(148, 163, 184, 0.25),
        rgba(100, 116, 139, 0.5)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.55;
    transition: opacity 0.35s ease;
}

.final-cta__btn:hover,
.final-cta__btn:focus-visible {
    outline: none;
    transform: translateY(-4px) scale(1.01);
    letter-spacing: 0.44em;
    border-color: rgba(203, 213, 225, 0.75);
    background:
        linear-gradient(145deg, rgba(51, 65, 85, 0.85) 0%, rgba(15, 23, 42, 0.98) 50%, rgba(30, 41, 59, 0.92) 100%);
    box-shadow:
        0 0 0 1px rgba(203, 213, 225, 0.2),
        0 16px 48px rgba(0, 0, 0, 0.55),
        0 0 48px rgba(148, 163, 184, 0.45),
        0 0 80px rgba(148, 163, 184, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 0 32px rgba(148, 163, 184, 0.22);
    animation: none;
}

.final-cta__btn:hover::after,
.final-cta__btn:focus-visible::after {
    opacity: 1;
}

.final-cta__btn:active {
    transform: translateY(-1px) scale(0.995);
}

/* ── L-bracket corners INSIDE the button ─────────────────────────── */
.final-cta__btn-corner {
    position: absolute;
    width: 11px;
    height: 11px;
    border: 1.5px solid rgba(148, 163, 184, 0.75);
    pointer-events: none;
    z-index: 3;
    transition:
        width 0.35s var(--ease-out-expo),
        height 0.35s var(--ease-out-expo),
        border-color 0.35s ease,
        box-shadow 0.35s ease;
    box-shadow: 0 0 8px rgba(148, 163, 184, 0.35);
}
.final-cta__btn-corner--tl { top: 7px;    left: 7px;    border-right: 0; border-bottom: 0; }
.final-cta__btn-corner--tr { top: 7px;    right: 7px;   border-left: 0;  border-bottom: 0; }
.final-cta__btn-corner--bl { bottom: 7px; left: 7px;    border-right: 0; border-top: 0; }
.final-cta__btn-corner--br { bottom: 7px; right: 7px;   border-left: 0;  border-top: 0; }

.final-cta__btn:hover .final-cta__btn-corner,
.final-cta__btn:focus-visible .final-cta__btn-corner {
    width: 18px;
    height: 18px;
    border-color: #f1f5f9;
    box-shadow: 0 0 14px rgba(226, 232, 240, 0.85);
}

/* ── Pulsing status dot ──────────────────────────────────────────── */
.final-cta__btn-dot {
    position: relative;
    z-index: 2;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e2e8f0;
    box-shadow:
        0 0 0 2px rgba(148, 163, 184, 0.2),
        0 0 12px rgba(148, 163, 184, 0.9);
    animation: cta-btn-blink 1.8s ease-in-out infinite;
}

.final-cta__btn-dot::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.45);
    animation: cta-btn-dot-ring 2.4s ease-out infinite;
}

/* ── Label + arrow ───────────────────────────────────────────────── */
.final-cta__btn-label {
    position: relative;
    z-index: 2;
    line-height: 1;
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 10px rgba(148, 163, 184, 0.35));
    transition: filter 0.35s ease;
}

.final-cta__btn:hover .final-cta__btn-label,
.final-cta__btn:focus-visible .final-cta__btn-label {
    filter: drop-shadow(0 0 16px rgba(226, 232, 240, 0.65));
}

.final-cta__btn-arrow {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    flex-shrink: 0;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 4px;
    background: rgba(2, 4, 8, 0.55);
    color: var(--cta-accent);
    transition:
        transform 0.35s var(--ease-out-expo),
        color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
    box-shadow: inset 0 0 12px rgba(148, 163, 184, 0.12);
}

.final-cta__btn-arrow svg {
    width: 58%;
    height: auto;
    display: block;
}

.final-cta__btn:hover .final-cta__btn-arrow,
.final-cta__btn:focus-visible .final-cta__btn-arrow {
    transform: translateX(5px);
    color: #fff;
    border-color: rgba(226, 232, 240, 0.7);
    background: rgba(148, 163, 184, 0.18);
    box-shadow:
        0 0 16px rgba(148, 163, 184, 0.45),
        inset 0 0 10px rgba(255, 255, 255, 0.08);
}

/* ── Diagonal sweep on hover ─────────────────────────────────────── */
.final-cta__btn-sweep {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(110deg,
        transparent 0%,
        transparent 36%,
        rgba(255, 255, 255, 0.08) 44%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0.08) 56%,
        transparent 64%,
        transparent 100%);
    transform: translateX(-120%);
    transition: transform 0.8s var(--ease-out-expo);
    mix-blend-mode: screen;
}

.final-cta__btn:hover .final-cta__btn-sweep,
.final-cta__btn:focus-visible .final-cta__btn-sweep {
    transform: translateX(120%);
}

/* ── Moving scan-line during idle ────────────────────────────────── */
.final-cta__btn-scan {
    position: absolute;
    left: 8%;
    right: 8%;
    top: 0;
    height: 1px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(148, 163, 184, 0.35) 25%,
        rgba(226, 232, 240, 0.95) 50%,
        rgba(148, 163, 184, 0.35) 75%,
        transparent 100%);
    filter: blur(0.3px);
    opacity: 0.65;
    animation: cta-btn-scan 4s linear infinite;
}

.final-cta__btn:hover .final-cta__btn-scan,
.final-cta__btn:focus-visible .final-cta__btn-scan {
    animation-play-state: paused;
    opacity: 0;
}

/* ── BOTTOM BAR ───────────────────────────────────────────────────── */
.final-cta__bottom {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    gap: 1rem;
    padding: clamp(1rem, 2.2vh, 1.6rem) clamp(1.5rem, 5vw, 4rem);
    font-size: clamp(0.62rem, 0.82vw, 0.72rem);
    letter-spacing: 0.4em;
    color: rgba(245, 245, 245, 0.55);
    font-weight: 600;
}
.final-cta__bottom-brand {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    color: var(--cta-accent);
    letter-spacing: 0.6em;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(148, 163, 184, 0.45);
}
.final-cta__bottom-dash {
    display: inline-block;
    width: clamp(40px, 8vw, 120px);
    height: 1px;
    background: var(--cta-line);
}
.final-cta__bottom-brand .final-cta__bottom-dash {
    background: linear-gradient(90deg,
        rgba(148,163,184,0) 0%,
        rgba(148,163,184,0.55) 50%,
        rgba(148,163,184,0) 100%);
}

/* ── Animations ───────────────────────────────────────────────────── */
@keyframes cta-glow-breath {
    0%, 100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
    50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1.04); }
}
@keyframes cta-dust-drift {
    from { background-position: 0 0, 0 0; }
    to   { background-position: 1200px 0, -1200px 0; }
}
@keyframes cta-title-flicker {
    0%, 94%, 100% { opacity: 1; }
    95%           { opacity: 0.7; }
    95.5%         { opacity: 1; }
    97%           { opacity: 0.85; }
    97.5%         { opacity: 1; }
}
@keyframes cta-btn-breath {
    0%, 100% {
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.04),
            0 8px 32px rgba(0, 0, 0, 0.45),
            0 0 28px rgba(148, 163, 184, 0.18),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            inset 0 -12px 24px rgba(0, 0, 0, 0.35);
    }
    50% {
        box-shadow:
            0 0 0 1px rgba(203, 213, 225, 0.12),
            0 10px 36px rgba(0, 0, 0, 0.5),
            0 0 42px rgba(148, 163, 184, 0.32),
            inset 0 1px 0 rgba(255, 255, 255, 0.14),
            inset 0 0 28px rgba(148, 163, 184, 0.16);
    }
}

@keyframes cta-btn-shimmer {
    0%, 100% { background-position: 100% 0; }
    50%      { background-position: 0% 0; }
}

@keyframes cta-btn-dot-ring {
    0%   { transform: scale(0.65); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

@keyframes cta-btn-blink {
    0%, 55%, 100% { opacity: 1;   transform: scale(1); }
    65%           { opacity: 0.35; transform: scale(0.88); }
    75%           { opacity: 1;   transform: scale(1); }
}

@keyframes cta-btn-scan {
    0%   { transform: translateY(0);    opacity: 0; }
    10%  { opacity: 0.75; }
    90%  { opacity: 0.75; }
    100% { transform: translateY(64px); opacity: 0; }
}

/* ==========================================================================
   FINAL CTA — Responsive
   Breakpoints go from ultra-wide cinema down to 360px phones, and also handle
   landscape short-height, touch devices, reduced-motion, high-contrast and RTL.
   ========================================================================== */

/* ── ≥1600px — ultra-wide cinema (breathing room) ─────────────────── */
@media (min-width: 1600px) {
    .final-cta {
        gap: clamp(1.4rem, 2.2vw, 2.6rem);
    }
    .final-cta__title           { font-size: clamp(3.4rem, 3.8vw, 4.6rem); }
    .final-cta__subtitle        { font-size: 0.78rem; }
    .final-cta__stage           { grid-template-columns: 1fr minmax(420px, 32vw) 1fr; }
    .final-cta__orb-wrap        { max-width: 640px; }
    .final-cta__side            { max-width: 300px; font-size: 0.9rem; }
    .final-cta__btn             { font-size: 1.05rem; padding: 1.25rem 1.8rem; }
    .jaaweed-page-skin__glow            { width: clamp(720px, 65vw, 1400px); }
}

/* ── 1281–1400px — large desktop (tighten) ────────────────────────── */
@media (max-width: 1400px) {
    .final-cta__stage {
        grid-template-columns: 1fr minmax(340px, 34vw) 1fr;
        gap: clamp(1rem, 2.6vw, 2.4rem);
        padding: 0 clamp(1.5rem, 4.5vw, 3.5rem);
    }
    .final-cta__side { max-width: 220px; font-size: clamp(0.72rem, 0.9vw, 0.82rem); }
}

/* ── ≤1280px — laptop (denser, smaller title) ─────────────────────── */
@media (max-width: 1280px) {
    .final-cta__header      { padding-top: clamp(0.6rem, 1.8vh, 1rem); }
    .final-cta__title       { font-size: clamp(1.9rem, 3.8vw, 3.4rem); letter-spacing: 0.2em; }
    .final-cta__stage {
        grid-template-columns: 1fr minmax(300px, 38vw) 1fr;
        gap: clamp(0.8rem, 2.2vw, 1.8rem);
        padding: 0 clamp(1.25rem, 4vw, 3rem);
    }
    .final-cta__side        { max-width: 200px; line-height: 1.8; }
    .jaaweed-page-skin__glow        { width: min(1000px, max(75vw, 85%)); }
}

/* ── ≤1100px — stack side texts above/below CTA (single column) ───── */
@media (max-width: 1100px) {
    .final-cta {
        gap: clamp(0.9rem, 2vh, 1.6rem);
        min-height: 700px;
    }
    .final-cta__stage {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: clamp(1.1rem, 2.8vh, 1.8rem);
        padding: 0 clamp(1.5rem, 5vw, 3rem);
        justify-items: center;
    }
    .final-cta__side {
        max-width: min(420px, 92%);
        text-align: center !important;
        justify-self: center !important;
        line-height: 1.7;
        font-size: clamp(0.72rem, 1.6vw, 0.82rem);
    }
    .final-cta__side--left  { order: 1; }
    .final-cta__orb-wrap    { order: 2; }
    .final-cta__side--right { order: 3; }
    .final-cta__side br     { display: none; }
}

/* ── ≤900px — medium tablets ──────────────────────────────────────── */
@media (max-width: 900px) {
    .final-cta {
        min-height: 680px;
        gap: clamp(0.8rem, 1.8vh, 1.4rem);
    }
    .jaaweed-page-skin__glow        { width: clamp(420px, 82vw, 820px); opacity: 0.95; }
    .final-cta__header      { padding: clamp(1.2rem, 3.5vh, 1.8rem) 1.25rem 0; gap: 0.6rem; }
    .final-cta__title       { font-size: clamp(2rem, 6.8vw, 3rem); letter-spacing: 0.18em; }
    .final-cta__title-frame { padding: 0.8rem 1.1rem; }
    .final-cta__subtitle    { letter-spacing: 0.42em; font-size: clamp(0.6rem, 1.6vw, 0.72rem); }
    .final-cta__eyebrow     { font-size: clamp(0.54rem, 1.2vw, 0.64rem); letter-spacing: 0.42em; }
    .final-cta__orb-wrap    { max-width: 92%; }
    .final-cta__panel       { width: min(440px, 94%); padding: 0.9rem 1rem; }
    .final-cta__kicker      { letter-spacing: 0.45em; font-size: clamp(0.64rem, 1.4vw, 0.76rem); }
    .final-cta__btn         { padding: 1rem 1.3rem; letter-spacing: 0.38em; font-size: clamp(0.82rem, 1.8vw, 0.96rem); }
    .final-cta__btn-corner  { width: 9px; height: 9px; }
    .final-cta__btn-corner--tl, .final-cta__btn-corner--tr { top: 5px; }
    .final-cta__btn-corner--bl, .final-cta__btn-corner--br { bottom: 5px; }
    .final-cta__btn-corner--tl, .final-cta__btn-corner--bl { left: 5px; }
    .final-cta__btn-corner--tr, .final-cta__btn-corner--br { right: 5px; }
}

/* ── ≤720px — small tablets / large phones ────────────────────────── */
@media (max-width: 720px) {
    .final-cta {
        min-height: 640px;
        padding: clamp(1rem, 3vh, 1.8rem) 0 0;
    }

    .final-cta__mark { width: 10px; height: 10px; }
    .final-cta__mark--tl, .final-cta__mark--tr { top: 14px; }
    .final-cta__mark--bl, .final-cta__mark--br { bottom: 14px; }
    .final-cta__mark--tl, .final-cta__mark--bl { left: 14px; }
    .final-cta__mark--tr, .final-cta__mark--br { right: 14px; }

    .final-cta__header       { padding: clamp(1rem, 2.8vh, 1.4rem) 1rem 0; gap: 0.55rem; }
    .final-cta__title        { gap: 0.45rem; font-size: clamp(1.7rem, 9vw, 2.6rem); letter-spacing: 0.14em; }
    .final-cta__title-frame  { padding: 0.7rem 1rem; }
    .final-cta__title-bracket { width: 12px; height: 12px; }
    .final-cta__eyebrow      { letter-spacing: 0.4em; gap: 0.6rem; font-size: 0.6rem; }
    .final-cta__eyebrow-line { width: clamp(20px, 6vw, 36px); }
    .final-cta__subtitle     { letter-spacing: 0.38em; font-size: 0.62rem; }

    .final-cta__stage        { padding: 0 1.25rem; gap: clamp(0.9rem, 2.6vh, 1.4rem); }
    .final-cta__side         { font-size: clamp(0.68rem, 3.2vw, 0.78rem); letter-spacing: 0.26em; line-height: 1.6; }

    .final-cta__orb-wrap     { max-width: 100%; }
    .final-cta__panel        { width: 100%; padding: 0.6rem 0.6rem; }
    .final-cta__kicker       { letter-spacing: 0.38em; font-size: 0.7rem; }
    .final-cta__btn          { padding: 0.95rem 1rem; letter-spacing: 0.3em; font-size: 0.84rem; gap: 0.7rem; }
    .final-cta__btn-arrow    { width: 1.85rem; height: 1.85rem; }

    .final-cta__bottom {
        padding: clamp(0.8rem, 2.2vh, 1.2rem) 1rem;
        gap: 0.55rem;
        text-align: center;
        letter-spacing: 0.3em;
    }
    .final-cta__bottom-brand { letter-spacing: 0.45em; gap: 0.6rem; font-size: 0.66rem; }
    .final-cta__bottom-dash  { width: clamp(28px, 14vw, 80px); }
}

/* ── ≤480px — mobile ─────────────────────────────────────────────── */
@media (max-width: 480px) {
    .final-cta {
        min-height: 620px;
        gap: clamp(0.7rem, 1.4vh, 1.2rem);
    }

    .final-cta__header        { gap: 0.45rem; padding: clamp(0.9rem, 2.6vh, 1.2rem) 0.85rem 0; }
    .final-cta__title         { font-size: clamp(1.55rem, 10.5vw, 2.3rem); letter-spacing: 0.12em; gap: 0.4rem; }
    .final-cta__title-frame   { padding: 0.55rem 0.8rem; }
    .final-cta__title-bracket { width: 10px; height: 10px; }
    .final-cta__eyebrow       { font-size: 0.56rem; gap: 0.45rem; letter-spacing: 0.38em; }
    .final-cta__eyebrow-line  { width: 18px; }
    .final-cta__subtitle      { font-size: 0.58rem; letter-spacing: 0.32em; }

    .final-cta__stage         { padding: 0 0.9rem; gap: clamp(0.7rem, 2.2vh, 1.2rem); }
    .final-cta__side          { font-size: 0.7rem; letter-spacing: 0.22em; line-height: 1.55; }

    .final-cta__btn {
        padding: 0.8rem 0.85rem;
        letter-spacing: 0.22em;
        font-size: 0.76rem;
        gap: 0.55rem;
    }
    .final-cta__btn-corner { width: 8px; height: 8px; }
    .final-cta__btn-corner--tl, .final-cta__btn-corner--tr { top: 4px; }
    .final-cta__btn-corner--bl, .final-cta__btn-corner--br { bottom: 4px; }
    .final-cta__btn-corner--tl, .final-cta__btn-corner--bl { left: 4px; }
    .final-cta__btn-corner--tr, .final-cta__btn-corner--br { right: 4px; }
    .final-cta__btn-arrow     { width: 1.75rem; height: 1.75rem; }
    .final-cta__btn-dot       { width: 6px; height: 6px; }
    .final-cta__kicker        { letter-spacing: 0.3em; font-size: 0.66rem; }

    .final-cta__bottom        { padding: 0.85rem 0.8rem; }
    .final-cta__bottom-brand  { font-size: 0.62rem; letter-spacing: 0.38em; gap: 0.5rem; }
}

/* ── ≤360px — tiny phones (Galaxy Fold / iPhone SE 1st gen) ─────── */
@media (max-width: 360px) {
    .final-cta                { min-height: 580px; }
    .final-cta__title         { font-size: 1.45rem; letter-spacing: 0.1em; }
    .final-cta__side          { font-size: 0.66rem; }
    .final-cta__btn           { letter-spacing: 0.18em; font-size: 0.7rem; padding: 0.75rem 0.7rem; }
    .final-cta__bottom-dash   { width: clamp(22px, 12vw, 48px); }
    .final-cta__mark          { width: 8px; height: 8px; }
    .final-cta__mark--tl, .final-cta__mark--tr { top: 10px; }
    .final-cta__mark--bl, .final-cta__mark--br { bottom: 10px; }
    .final-cta__mark--tl, .final-cta__mark--bl { left: 10px; }
    .final-cta__mark--tr, .final-cta__mark--br { right: 10px; }
}

/* ── Short-height landscape (phones rotated) ───────────────────── */
@media (max-height: 560px) and (orientation: landscape) {
    .final-cta {
        min-height: 480px;
        height: auto;
        padding: 0.8rem 0 0;
        gap: 0.7rem;
    }
    .final-cta__header       { padding-top: 0.5rem; gap: 0.35rem; }
    .final-cta__title        { font-size: clamp(1.3rem, 4vh, 2rem); letter-spacing: 0.14em; }
    .final-cta__title-frame  { padding: 0.4rem 0.9rem; }
    .final-cta__subtitle     { font-size: 0.6rem; }
    .final-cta__stage {
        grid-template-columns: 1fr minmax(280px, 40vw) 1fr;
        grid-template-rows: auto;
        gap: 1rem;
        padding: 0 1.2rem;
    }
    .final-cta__side         { font-size: 0.64rem; line-height: 1.5; max-width: 170px; text-align: left !important; justify-self: start !important; }
    .final-cta__side--right  { text-align: right !important; justify-self: end !important; }
    .final-cta__side--left   { order: initial; }
    .final-cta__side--right  { order: initial; }
    .final-cta__orb-wrap     { order: initial; max-width: 420px; }
    .final-cta__panel        { padding: 0.4rem 0.5rem; }
    .final-cta__btn          { padding: 0.7rem 0.9rem; font-size: 0.78rem; letter-spacing: 0.28em; }
    .final-cta__bottom       { padding: 0.55rem 1rem; }
    .jaaweed-page-skin__glow         { width: 70vw; opacity: 0.7; }
}

/* ── Extremely short viewport — soften the backdrop ───────────── */
@media (max-height: 420px) {
    .jaaweed-page-skin__glow { opacity: 0.55; }
    .jaaweed-page-skin__dust { opacity: 0.5; }
}

/* ── Touch devices — disable hover-based effects gracefully ───── */
@media (hover: none) and (pointer: coarse) {
    .final-cta__btn-scan         { animation-duration: 4.5s; opacity: 0.55; }
    .final-cta__btn:hover,
    .final-cta__btn:focus-visible {
        transform: none;
        letter-spacing: 0.38em;
        animation: cta-btn-breath 3.6s ease-in-out infinite;
    }
    .final-cta__btn:hover .final-cta__btn-arrow,
    .final-cta__btn:focus-visible .final-cta__btn-arrow {
        transform: none;
        color: var(--cta-accent);
    }
    .final-cta__btn:hover .final-cta__btn-corner,
    .final-cta__btn:focus-visible .final-cta__btn-corner {
        width: 11px;
        height: 11px;
        border-color: rgba(148, 163, 184, 0.75);
    }
}

/* ── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .jaaweed-page-skin__glow,
    .jaaweed-page-skin__dust,
    .final-cta__title-2,
    .final-cta__btn,
    .final-cta__btn::before,
    .final-cta__btn-dot,
    .final-cta__btn-dot::after,
    .final-cta__btn-scan {
        animation: none !important;
    }
    .final-cta__btn             { transition: background 0.2s ease, box-shadow 0.2s ease; }
    .final-cta__btn-sweep       { transition: none; }
    .final-cta__btn-arrow       { transition: color 0.2s ease; }
}

/* ── High contrast (stronger borders and text) ───────────────── */
@media (prefers-contrast: more) {
    .final-cta__btn              { border-width: 2px; }
    .final-cta__title-bracket    { border-width: 2px; }
    .final-cta__eyebrow-line,
    .final-cta__bottom-dash      { background: rgba(255, 255, 255, 0.55); }
    .final-cta__subtitle,
    .final-cta__side             { color: rgba(255, 255, 255, 0.88); }
    .final-cta__bottom           { color: rgba(255, 255, 255, 0.78); }
}

/* ── RTL support (Persian, Arabic) ───────────────────────────── */
[dir="rtl"] .final-cta__side--left   { text-align: right; justify-self: end; }
[dir="rtl"] .final-cta__side--right  { text-align: left;  justify-self: start; }
[dir="rtl"] .final-cta__btn-arrow    { transform: scaleX(-1); }
[dir="rtl"] .final-cta__btn:hover .final-cta__btn-arrow { transform: scaleX(-1) translateX(6px); }

/* ==========================================================================
   Utilities
   ========================================================================== */

@keyframes fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ==========================================================================
   FOOTER — Full-viewport cinematic finale
   ========================================================================== */

.footer {
    --footer-accent:    #94A3B8;
    --footer-accent-dim: #1E3A5F;
    --footer-green:  #3afd7b;
    --footer-white:  #ffffff;
    --footer-muted:  rgba(255, 255, 255, 0.55);
    --footer-mute-2: rgba(255, 255, 255, 0.38);
    --footer-dim:    rgba(255, 255, 255, 0.12);
    --footer-border: rgba(255, 255, 255, 0.08);

    position: relative;
    /* Full viewport height — exact, not just minimum */
    height: 100vh;
    height: 100dvh;
    display: grid;
    /* top=auto, middle stretches to fill, bottom=auto */
    grid-template-rows: auto 1fr auto;
    row-gap: clamp(2rem, 4vw, 4rem);
    /* NB: no bottom padding — bottom bar must hug the viewport edge (see final-cta) */
    padding: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 5vw, 5.5rem) 0;
    box-sizing: border-box;

    color: var(--footer-white);
    font-family: var(--font-sans);
    background: var(--site-bg);
    overflow: hidden;
    isolation: isolate;
}

/* Subtle dust + scratch texture overlay */
.footer::before,
.footer::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.footer::before {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
    opacity: 0.06;
    mix-blend-mode: screen;
}
.footer::after {
    background:
        radial-gradient(ellipse 60% 80% at 50% 50%, transparent 40%, rgba(0,0,0,0.6) 100%),
        repeating-linear-gradient(
            110deg,
            transparent 0 220px,
            rgba(255,255,255,0.015) 220px 221px,
            transparent 221px 440px
        );
}

.footer > * { position: relative; z-index: 1; }

/* Slim footer — brand, socials, newsletter, copyright only */
.footer--slim {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    grid-template-rows: none;
    row-gap: 0;
    padding:
        clamp(3.25rem, 8vh, 5rem)
        clamp(1.5rem, 5vw, 5.5rem)
        clamp(1.5rem, 3vh, 2.25rem);
}

.footer--slim .footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.35rem, 3vh, 2rem);
    width: 100%;
    max-width: 42rem;
    margin-inline: auto;
    text-align: center;
}

.footer--slim .footer__brand {
    gap: 0.75rem;
}

.footer--slim .footer__newsletter {
    align-items: center;
    width: 100%;
    max-width: 22rem;
    gap: 0.85rem;
}

.footer--slim .footer__form {
    width: 100%;
}

.footer--slim .footer__socials {
    justify-content: center;
    gap: 0.35rem;
}

.footer--slim .footer__social {
    gap: 0.35rem;
}

.footer--slim .footer__social:not(:last-child)::after {
    display: none;
}

.footer--slim .footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.15rem;
    letter-spacing: 0;
    color: rgba(226, 232, 240, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.35);
}

.footer--slim .footer__social-link i {
    font-family: "remixicon" !important;
    font-style: normal;
    line-height: 1;
}

.footer--slim .footer__social-link:hover,
.footer--slim .footer__social-link:focus-visible {
    color: #fff;
    border-color: rgba(148, 163, 184, 0.45);
    text-shadow: 0 0 14px rgba(148, 163, 184, 0.6);
}

.footer--slim .footer__copy {
    margin: 0.35rem 0 0;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--footer-mute-2);
}

.footer--slim.is-revealed .footer__inner > :nth-child(1) { animation: footer-item-in 0.8s var(--ease-out-expo) 0.10s both; }
.footer--slim.is-revealed .footer__inner > :nth-child(2) { animation: footer-item-in 0.8s var(--ease-out-expo) 0.20s both; }
.footer--slim.is-revealed .footer__inner > :nth-child(3) { animation: footer-item-in 0.8s var(--ease-out-expo) 0.30s both; }
.footer--slim.is-revealed .footer__inner > :nth-child(4) { animation: footer-item-in 0.8s var(--ease-out-expo) 0.40s both; }

/* ══════════════════════════════════════════════════════════════════
   VIEWFINDER CORNERS — thin red film frame, 4 sides
══════════════════════════════════════════════════════════════════ */
.footer__corner {
    position: absolute;
    width:  clamp(28px, 3.2vw, 52px);
    height: clamp(28px, 3.2vw, 52px);
    border: 1.5px solid var(--footer-accent);
    pointer-events: none;
    z-index: 3;
    /* Default: visible (graceful fallback if JS fails) */
    opacity: 1;
    transform: scale(1);
    transition:
        opacity   0.9s var(--ease-out-expo) 0.2s,
        transform 0.9s var(--ease-out-expo) 0.2s;
    animation: corner-breath 4s ease-in-out infinite 1.4s;
}
.footer__corner--tl { top:    clamp(1rem, 1.6vw, 1.75rem); left:  clamp(1rem, 1.6vw, 1.75rem); border-right: 0; border-bottom: 0; }
.footer__corner--tr { top:    clamp(1rem, 1.6vw, 1.75rem); right: clamp(1rem, 1.6vw, 1.75rem); border-left:  0; border-bottom: 0; }
.footer__corner--bl { bottom: clamp(1rem, 1.6vw, 1.75rem); left:  clamp(1rem, 1.6vw, 1.75rem); border-right: 0; border-top:    0; }
.footer__corner--br { bottom: clamp(1rem, 1.6vw, 1.75rem); right: clamp(1rem, 1.6vw, 1.75rem); border-left:  0; border-top:    0; }

/* When JS has armed the reveal but footer is not yet on-screen: hide */
.footer.js-armed:not(.is-revealed) .footer__corner {
    opacity: 0;
    transform: scale(0.6);
    animation: none;
}

/* Stagger the corner reveals after the footer enters viewport */
.footer.is-revealed .footer__corner--tr { transition-delay: 0.28s; }
.footer.is-revealed .footer__corner--bl { transition-delay: 0.36s; }
.footer.is-revealed .footer__corner--br { transition-delay: 0.44s; }

@keyframes corner-breath {
    0%, 100% { filter: drop-shadow(0 0 6px  rgba(148, 163, 184, 0.35)); }
    50%      { filter: drop-shadow(0 0 14px rgba(148, 163, 184, 0.7));  }
}

/* ══════════════════════════════════════════════════════════════════
   TOP ROW — connect · brand · newsletter
══════════════════════════════════════════════════════════════════ */
.footer__top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.footer__connect,
.footer__newsletter {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.footer__newsletter { align-items: flex-end; }

/* Red-dot + label badge */
.footer__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75em;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    color: #fff;
    text-transform: uppercase;
}
.footer__badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--footer-accent);
    box-shadow: 0 0 10px rgba(148, 163, 184, 0.75);
    animation: footer-pulse 2.4s ease-in-out infinite;
}
@keyframes footer-pulse {
    0%, 100% { transform: scale(1);   opacity: 1;   }
    50%      { transform: scale(1.4); opacity: 0.55; }
}

/* Social inline links (INSTAGRAM · YOUTUBE · SOUNDCLOUD) */
.footer__socials {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em;
}
.footer__social {
    display: inline-flex;
    align-items: center;
    gap: 1em;
}
.footer__social:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--footer-accent);
    opacity: 0.85;
}
.footer__social-link {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: #fff;
    text-transform: uppercase;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.footer__social-link:hover {
    color: var(--footer-accent);
    text-shadow: 0 0 14px rgba(148, 163, 184, 0.6);
}

/* Brand (center) */
.footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
}
.footer__brand-frame {
    position: relative;
    padding: 0.9rem 1.6rem;
}
.footer__title {
    margin: 0;
    font-size: clamp(1.6rem, 2.4vw, 2.25rem);
    font-weight: 300;
    letter-spacing: 0.55em;
    line-height: 1;
    color: #fff;
    text-transform: uppercase;
    padding-right: 0.1em; /* compensate for trailing letter-spacing */
}

/* Silver L-shaped corner brackets around JAAWEED */
.footer__bracket {
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid var(--footer-accent);
    pointer-events: none;
}
.footer__bracket--tl { top: 0;    left: 0;    border-right: 0; border-bottom: 0; }
.footer__bracket--tr { top: 0;    right: 0;   border-left: 0;  border-bottom: 0; }
.footer__bracket--bl { bottom: 0; left: 0;    border-right: 0; border-top: 0;    }
.footer__bracket--br { bottom: 0; right: 0;   border-left: 0;  border-top: 0;    }

.footer__tagline {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25em;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--footer-muted);
    text-transform: uppercase;
    text-align: center;
    line-height: 1.5;
}

/* Newsletter form (right) */
.footer__form {
    display: flex;
    align-items: stretch;
    width: min(340px, 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    transition: border-color 0.3s ease;
}
.footer__form:focus-within { border-bottom-color: var(--footer-accent); }

.footer__form-input {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 0.25rem;
    background: transparent;
    border: 0;
    outline: none;
    color: #fff;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}
.footer__form-input::placeholder {
    color: rgba(255, 255, 255, 0.48);
    letter-spacing: 0.3em;
}
.footer__form-submit {
    flex: 0 0 auto;
    width: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    color: var(--footer-accent);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.3s var(--ease-out-expo), color 0.3s ease;
}
.footer__form-submit:hover {
    transform: translateX(4px);
    color: #fff;
    text-shadow: 0 0 14px rgba(148, 163, 184, 0.8);
}
.footer__form-submit[disabled] { cursor: wait; opacity: 0.6; }

/* Honeypot — invisible to real users, visible to dumb bots */
.footer__form-hp {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Loading spinner inside submit button */
.footer__form-spinner {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-top-color: var(--footer-accent);
    border-radius: 50%;
    animation: jaaweed-spin 0.8s linear infinite;
}
.footer__form.is-loading .footer__form-arrow   { display: none; }
.footer__form.is-loading .footer__form-spinner { display: inline-block; }
@keyframes jaaweed-spin { to { transform: rotate(360deg); } }

/* Status message under the form */
.footer__form-message {
    margin: 0.6rem 0 0;
    min-height: 1em;
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0;
    transform: translateY(-2px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
}
.footer__form-message.is-success,
.footer__form-message.is-error {
    opacity: 1;
    transform: translateY(0);
}
.footer__form-message.is-success { color: #4ade80; }
.footer__form-message.is-error   { color: var(--footer-accent); }

/* ══════════════════════════════════════════════════════════════════
   MAIN GRID — nav · album · warning · support · info
══════════════════════════════════════════════════════════════════ */
.footer__main {
    display: grid;
    grid-template-columns: 1fr 1fr minmax(160px, 1.35fr) 1fr 1fr;
    gap: clamp(1.5rem, 3.5vw, 3.5rem);
    align-items: center;   /* columns vertically centred in the stretched row */
    align-content: center; /* when content is shorter than row height, centre it */
    padding: 0;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    min-width: 0; /* allow grid child to actually shrink — prevents overflow */
}
.footer__col-title {
    display: flex;
    align-items: center;
    gap: 0.6em;
    margin: 0;
    padding: 0;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.3em;
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap;
}
.footer__col-slash {
    color: var(--footer-accent);
    font-weight: 400;
    font-size: 0.9em;
    letter-spacing: 0;
}

.footer__col-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.footer__col-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0;                   /* gap controlled by pseudo-element width */
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--footer-mute-2);
    text-transform: uppercase;
    transition: color 0.25s ease;
    overflow: visible;
}

/* Red dash grows inline BEFORE the text — no absolute positioning needed */
.footer__col-link::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 1px;
    background: var(--footer-accent);
    margin-right: 0;
    flex-shrink: 0;
    align-self: center;
    transition: width 0.3s var(--ease-out-expo), margin-right 0.3s var(--ease-out-expo);
}
.footer__col-link:hover {
    color: #fff;
}
.footer__col-link:hover::before {
    width: 12px;
    margin-right: 8px;
}

.footer__col-line {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: var(--footer-mute-2);
    text-transform: uppercase;
    white-space: nowrap;
}

/* ── Warning (center column) ─────────────────────────────────────── */
.footer__warning {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.7rem;
    padding: 0 0.5rem;
    align-self: stretch;            /* fill column height */
    margin-top: -0.4rem;            /* optical balance with col titles */
    min-width: 0;
}

/* ── Orb (canvas-based cinematic VHS glitch) ─────────────────────── */
.footer__orb {
    position: relative;
    width:  clamp(110px, 10vw, 170px);
    height: clamp(110px, 10vw, 170px);
    margin-bottom: 0.3rem;
    border-radius: 50%;
    /* Everything is clipped to the circle — no visible square frame */
    overflow: hidden;
    z-index: 1;
    background: transparent;
}

/* Canvas fills the circle exactly — the glitch happens INSIDE the shape */
.footer__orb-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}

.footer__warning-title {
    margin: 0.4rem 0 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.36em;
    color: var(--footer-accent);
    text-transform: uppercase;
    text-shadow: 0 0 18px rgba(148, 163, 184, 0.5);
}
.footer__warning-text {
    margin: 0;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    line-height: 1.85;
    color: var(--footer-mute-2);
    text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════════════
   BOTTOM BAR — status · waveform · listening
══════════════════════════════════════════════════════════════════ */
.footer__bottom {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.5rem);
    padding: clamp(1rem, 2vw, 1.75rem) 0 clamp(1rem, 1.6vw, 1.75rem);
    border-top: 1px solid var(--footer-border);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--footer-mute-2);
    text-transform: uppercase;
}

.footer__status {
    display: inline-flex;
    align-items: center;
    gap: 0.7em;
    justify-self: start;
}
.footer__status-label { color: var(--footer-muted); }
.footer__status-value { color: var(--footer-green); }
.footer__status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--footer-green);
    box-shadow: 0 0 10px rgba(58, 253, 123, 0.7);
    animation: footer-pulse 2s ease-in-out infinite;
}

/* Wrapper holds the SVG + sweeping playhead */
.footer__wave {
    position: relative;
    width: 100%;
    max-width: 560px;
    justify-self: center;
    line-height: 0;
    overflow: hidden;
}

.footer__waveform {
    display: block;
    width: 100%;
    height: 42px;
    color: var(--footer-accent);
    filter: drop-shadow(0 0 6px rgba(148, 163, 184, 0.35));
    animation: wave-breath 3.2s ease-in-out infinite;
}

/* Dim base — always visible, pulses gently */
.footer__waveform-base {
    opacity: 0.55;
    animation: wave-base-flicker 2.4s ease-in-out infinite;
}

/* Bright copy — "draws" along the path by animating the dash offset,
   creating a scanning EKG-like effect */
.footer__waveform-bright {
    opacity: 0.95;
    stroke-dasharray: 140 9999;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: wave-scan 4.2s linear infinite;
    filter: drop-shadow(0 0 6px rgba(255, 40, 70, 0.9));
}

/* Vertical red playhead that sweeps across the waveform */
.footer__wave-playhead {
    position: absolute;
    top: -6px;
    bottom: -6px;
    left: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.7) 30%,
        #fff 50%,
        rgba(255, 255, 255, 0.7) 70%,
        transparent 100%
    );
    box-shadow:
        0 0 8px  rgba(255, 255, 255, 0.95),
        0 0 18px rgba(148, 163, 184, 0.85),
        0 0 36px rgba(148, 163, 184, 0.4);
    opacity: 0;
    transform: translateX(0);
    animation: wave-playhead 4.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

@keyframes wave-breath {
    0%, 100% {
        transform: scaleY(1);
        filter: drop-shadow(0 0 6px rgba(148, 163, 184, 0.35));
    }
    50% {
        transform: scaleY(1.18);
        filter: drop-shadow(0 0 14px rgba(148, 163, 184, 0.75));
    }
}

@keyframes wave-base-flicker {
    0%, 100% { opacity: 0.55; }
    45%      { opacity: 0.72; }
    50%      { opacity: 0.4;  }   /* micro flicker */
    55%      { opacity: 0.72; }
}

@keyframes wave-scan {
    from { stroke-dashoffset: 0;     }
    to   { stroke-dashoffset: -3000; }
}

@keyframes wave-playhead {
    0%   { left: 0;    opacity: 0;   }
    6%   {             opacity: 0.9; }
    94%  {             opacity: 0.9; }
    100% { left: 100%; opacity: 0;   }
}

.footer__listening {
    display: inline-flex;
    align-items: center;
    gap: 0.85em;
    justify-self: end;
    color: var(--footer-muted);
}
.footer__listening-text { color: var(--footer-muted); }

/* Mini red equalizer bars */
.footer__equalizer {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    height: 14px;
}
.footer__equalizer i {
    width: 3px;
    height: 100%;
    background: var(--footer-accent);
    border-radius: 1px;
    transform-origin: bottom;
    animation: eq-bounce 1.1s ease-in-out infinite;
}
.footer__equalizer i:nth-child(1) { animation-delay: 0s;    }
.footer__equalizer i:nth-child(2) { animation-delay: 0.15s; }
.footer__equalizer i:nth-child(3) { animation-delay: 0.3s;  }
.footer__equalizer i:nth-child(4) { animation-delay: 0.45s; }
@keyframes eq-bounce {
    0%, 100% { transform: scaleY(0.35); }
    50%      { transform: scaleY(1);    }
}

/* ══════════════════════════════════════════════════════════════════
   SCROLL REVEAL — safe staggered animation
   Content is ALWAYS visible. When JS adds `.is-revealed`, items
   play a one-shot fade-up animation. No pre-hiding — no risk of
   content ever being stuck invisible.
══════════════════════════════════════════════════════════════════ */
@keyframes footer-item-in {
    from { opacity: 0; transform: translateY(28px); filter: blur(4px); }
    to   { opacity: 1; transform: translateY(0);    filter: blur(0);   }
}

/* Top row */
.footer.is-revealed .footer__top    > :nth-child(1) { animation: footer-item-in 0.8s var(--ease-out-expo) 0.10s both; }
.footer.is-revealed .footer__top    > :nth-child(2) { animation: footer-item-in 0.8s var(--ease-out-expo) 0.20s both; }
.footer.is-revealed .footer__top    > :nth-child(3) { animation: footer-item-in 0.8s var(--ease-out-expo) 0.30s both; }

/* Main grid */
.footer.is-revealed .footer__main   > :nth-child(1) { animation: footer-item-in 0.8s var(--ease-out-expo) 0.40s both; }
.footer.is-revealed .footer__main   > :nth-child(2) { animation: footer-item-in 0.8s var(--ease-out-expo) 0.48s both; }
.footer.is-revealed .footer__main   > :nth-child(3) { animation: footer-item-in 0.8s var(--ease-out-expo) 0.56s both; }
.footer.is-revealed .footer__main   > :nth-child(4) { animation: footer-item-in 0.8s var(--ease-out-expo) 0.64s both; }
.footer.is-revealed .footer__main   > :nth-child(5) { animation: footer-item-in 0.8s var(--ease-out-expo) 0.72s both; }

/* Bottom bar */
.footer.is-revealed .footer__bottom > :nth-child(1) { animation: footer-item-in 0.7s var(--ease-out-expo) 0.80s both; }
.footer.is-revealed .footer__bottom > :nth-child(2) { animation: footer-item-in 0.7s var(--ease-out-expo) 0.88s both; }
.footer.is-revealed .footer__bottom > :nth-child(3) { animation: footer-item-in 0.7s var(--ease-out-expo) 0.96s both; }

/* Link list items stagger */
.footer.is-revealed .footer__col-list li:nth-child(1) { animation: footer-item-in 0.6s var(--ease-out-expo) 0.60s both; }
.footer.is-revealed .footer__col-list li:nth-child(2) { animation: footer-item-in 0.6s var(--ease-out-expo) 0.68s both; }
.footer.is-revealed .footer__col-list li:nth-child(3) { animation: footer-item-in 0.6s var(--ease-out-expo) 0.76s both; }
.footer.is-revealed .footer__col-list li:nth-child(4) { animation: footer-item-in 0.6s var(--ease-out-expo) 0.84s both; }
.footer.is-revealed .footer__col-list li:nth-child(5) { animation: footer-item-in 0.6s var(--ease-out-expo) 0.92s both; }

/* ══════════════════════════════════════════════════════════════════
   FOOTER — Responsive
══════════════════════════════════════════════════════════════════ */

/* Laptops (≤ 1200px) — tighter gaps */
@media (max-width: 1200px) {
    .footer__main {
        grid-template-columns: 1fr 1fr 1.2fr 1fr 1fr;
        gap: 2rem;
    }
}

/* Tablets (≤ 960px) — reflow top row & move warning to top of grid */
@media (max-width: 960px) {
    .footer {
        height: auto;
        min-height: 0;
        padding: 3rem clamp(1.25rem, 4vw, 3rem) 0;
        row-gap: 2.5rem;
    }
    .footer__top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .footer__connect,
    .footer__newsletter {
        align-items: center;
    }
    .footer__form { width: min(380px, 100%); }

    .footer__main {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 2rem;
    }
    .footer__warning {
        grid-column: 1 / -1;
        order: -1;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--footer-border);
    }

    .footer__bottom {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 1rem;
    }
    .footer__status,
    .footer__listening { justify-self: center; }
    .footer__wave      { max-width: 480px; }
}

/* Phones (≤ 560px) */
@media (max-width: 560px) {
    .footer__title { font-size: 1.35rem; letter-spacing: 0.45em; }
    .footer__bracket { width: 12px; height: 12px; border-width: 1.5px; }
    .footer__tagline { font-size: 0.6rem; letter-spacing: 0.25em; }

    .footer__main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer__socials { justify-content: center; }
    .footer__col-title,
    .footer__col-link,
    .footer__col-line { letter-spacing: 0.25em; font-size: 0.65rem; }

    .footer__bottom { font-size: 0.55rem; letter-spacing: 0.22em; }
    .footer__waveform { height: 32px; }
}

/* Touch — bigger tap targets */
@media (hover: none) and (pointer: coarse) {
    .footer__col-link,
    .footer__social-link { padding: 0.35rem 0; }
    .footer__form-submit { width: 48px; }
}

/* Reduced motion — disable all decorative animations */
@media (prefers-reduced-motion: reduce) {
    .footer__badge-dot,
    .footer__status-dot,
    .footer__equalizer i,
    .footer__orb,
    .footer__corner,
    .footer__waveform,
    .footer__waveform-base,
    .footer__waveform-bright,
    .footer__wave-playhead,
    .footer.is-revealed .footer__top    > *,
    .footer.is-revealed .footer__main   > *,
    .footer.is-revealed .footer__bottom > *,
    .footer.is-revealed .footer__col-list li {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

/* ==========================================================================
   Responsive — Intro & Portal
   ========================================================================== */

/* ── Ultra-small phones (iPhone SE 1st gen, < 360px) ─────────────── */
@media (max-width: 359px) {
    .intro__content {
        gap: 2rem;
        padding: 0 1rem;
    }
    .intro__tagline {
        white-space: normal;
        letter-spacing: 0.28em;
        line-height: 1.9;
        max-width: 260px;
        font-size: 0.58rem;
    }
    .intro__cta {
        padding: 0.95rem 1.8rem;
    }
    .intro__cta-text {
        font-size: 0.56rem;
        letter-spacing: 0.25em;
    }
    .intro__footer {
        bottom: 1.25rem;
    }
    .intro__copyright {
        font-size: 0.5rem;
        letter-spacing: 0.18em;
        padding: 0 1rem;
    }
}

/* ── Small phones (< 480px) ──────────────────────────────────────── */
@media (min-width: 360px) and (max-width: 479px) {
    .intro__content {
        gap: 2.5rem;
        padding: 0 1.25rem;
    }
    .intro__tagline {
        white-space: normal;
        letter-spacing: 0.32em;
        line-height: 1.8;
        max-width: 320px;
        font-size: 0.62rem;
    }
    .intro__cta {
        padding: 1rem 2.2rem;
    }
    .intro__cta-text {
        font-size: 0.6rem;
        letter-spacing: 0.3em;
    }
    .intro__footer {
        bottom: 1.5rem;
    }
    .intro__copyright {
        font-size: 0.52rem;
        letter-spacing: 0.2em;
        padding: 0 1rem;
    }
}

/* ── Phones & small tablets (480–767px) ──────────────────────────── */
@media (min-width: 480px) and (max-width: 767px) {
    .intro__content { gap: 3rem; }
    .intro__cta { padding: 1.1rem 2.8rem; }
    .intro__tagline {
        white-space: normal;
        letter-spacing: 0.4em;
        line-height: 1.7;
    }
}

/* ── Landscape mobile — tight vertical space ─────────────────────── */
@media (max-height: 520px) and (orientation: landscape) {
    .intro__content {
        gap: 1.5rem;
    }
    .intro__tagline {
        font-size: 0.58rem;
        letter-spacing: 0.4em;
    }
    .intro__cta {
        padding: 0.85rem 2.2rem;
    }
    .intro__cta-text {
        font-size: 0.6rem;
    }
    .intro__footer {
        bottom: 0.85rem;
    }
    .intro__copyright {
        font-size: 0.5rem;
    }
}

/* ── Tablets (768–1023px) ────────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1023px) {
    .intro__content { gap: 3.25rem; }
}

/* ── Large desktops (1600px+) ────────────────────────────────────── */
@media (min-width: 1600px) {
    .intro__content { gap: 4rem; }
    .intro__tagline {
        font-size: 0.95rem;
        letter-spacing: 0.52em;
    }
    .intro__cta {
        padding: 1.35rem 3.8rem;
    }
    .intro__cta-text {
        font-size: 0.85rem;
        letter-spacing: 0.4em;
    }
    .intro__footer { bottom: 2.75rem; }
    .intro__copyright { font-size: 0.7rem; }
}

/* ── Ultra-wide / 4K (2200px+) ───────────────────────────────────── */
@media (min-width: 2200px) {
    .intro__content { gap: 5rem; }
    .intro__tagline {
        font-size: 1.15rem;
        letter-spacing: 0.58em;
    }
    .intro__cta {
        padding: 1.6rem 4.5rem;
    }
    .intro__cta-text {
        font-size: 1rem;
        letter-spacing: 0.44em;
    }
    .intro__footer { bottom: 3.25rem; }
    .intro__copyright { font-size: 0.85rem; }
}

/* ── Touch devices — bigger tap target, active states ────────────── */
@media (hover: none) and (pointer: coarse) {
    .intro__cta {
        min-height: 48px;
    }
    .intro__cta:active::before {
        border-color: var(--clr-accent);
        box-shadow: 0 0 30px rgba(100, 116, 139, 0.35);
    }
    .intro__cta:active::after {
        transform: scaleX(1);
    }
}

/* ── Reduced motion — honor the user's preference ────────────────── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }

    .intro__tagline { clip-path: none !important; }
    .intro__cta     { opacity: 1 !important; transform: none !important; }
    .intro__footer  { opacity: 1 !important; }
    .intro__noise   { display: none; }
    .intro__cta-glow { display: none; }
    .intro__atmos   { display: none; }
    .intro--exit    { filter: none !important; transform: none !important; }
}

/* ==========================================================================
   ABOUT — full-viewport HUD layout (reference design)
   ========================================================================== */
.about {
    --ab-bg:        var(--site-bg);
    --ab-white:     #ffffff;
    --ab-silver:    #e2e8f0;
    --ab-muted:     rgba(160, 168, 178, 0.82);
    --ab-line:      rgba(255, 255, 255, 0.14);
    --ab-frame:     rgba(255, 255, 255, 0.22);

    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    background: transparent;
    color: var(--ab-white);
    font-family: var(--font-sans);
}

.about__shell {
    position: relative;
    width: 100%;
    height: 100%;
    flex: 1;
    min-height: 0;
    margin: 0;
    border: none;
    padding:
        clamp(5rem, 10vh, 6.25rem)
        clamp(1.75rem, 5vw, 4.5rem)
        clamp(1.75rem, 4vh, 2.75rem);
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2.5vh, 1.75rem);
    box-sizing: border-box;
}

.about__portrait-mark {
    position: absolute;
    width: 18px;
    height: 18px;
    border-color: var(--ab-frame);
}

/* ── Header ────────────────────────────────────────────────────── */
.about__header {
    text-align: center;
    flex-shrink: 0;
}

.about__label {
    display: block;
    font-size: clamp(0.58rem, 0.95vw, 0.68rem);
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--ab-muted);
    margin-bottom: 0.65rem;
}

.about__title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45em;
    width: 100%;
    margin: 0;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.about__title-pre {
    font-size: clamp(1.8rem, 5.5vw, 3.4rem);
    font-weight: 300;
    letter-spacing: 0.12em;
    color: var(--ab-silver);
}

.about__title-name {
    font-size: clamp(1.8rem, 5.5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--ab-white);
}

.about__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.1rem;
}

.about__divider-line {
    width: min(140px, 18vw);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ab-frame), transparent);
}

.about__divider-gem {
    width: 5px;
    height: 5px;
    background: var(--ab-frame);
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* ── Main two-column layout — image left, text right ───────────── */
.about__main {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    direction: ltr;
}

.about__visual {
    grid-column: 1;
    display: flex;
    align-items: stretch;
    gap: clamp(0.65rem, 1.5vw, 1rem);
    min-height: 0;
    height: 100%;
}

.about__content {
    grid-column: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    min-height: 0;
    padding: clamp(1.35rem, 2.8vw, 2.25rem);
    direction: ltr;
    text-align: left;
    isolation: isolate;
    border-inline-start: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        12px 0 40px rgba(0, 0, 0, 0.25);
}

.about__content-glow {
    display: none;
}

.about__lead {
    font-family: var(--font-sans);
    font-size: clamp(1.05rem, 1.85vw, 1.38rem);
    font-weight: 650;
    font-style: normal;
    line-height: 1.55;
    letter-spacing: 0.01em;
    text-transform: none;
    margin-bottom: 1.15rem;
    max-width: 38ch;
    background: linear-gradient(115deg, #f8fafc 0%, #e2e8f0 35%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 22px rgba(148, 163, 184, 0.18));
}

.about__verse {
    font-family: var(--font-sans);
    font-size: clamp(0.92rem, 1.35vw, 1.08rem);
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--ab-muted);
    margin: 0 0 1.2rem;
    max-width: 34ch;
}
.about__verse p {
    margin: 0;
}
.about__verse p + p {
    margin-top: 0.15em;
}

.about__body {
    font-family: var(--font-sans);
    font-size: clamp(0.92rem, 1.4vw, 1.05rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.01em;
    text-transform: none;
    color: rgba(226, 232, 240, 0.78);
    max-width: 36ch;
    margin-bottom: 0;
}

/* Staggered content reveal */
.about__stagger {
    opacity: 0;
    transform: translateX(28px);
    transition:
        opacity 0.75s var(--ease-out-expo) var(--about-stagger, 0s),
        transform 0.8s var(--ease-out-expo) var(--about-stagger, 0s);
}

.about__stagger.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.about__content > .about__stagger:nth-of-type(1) { --about-stagger: 0.05s; }
.about__content > .about__stagger:nth-of-type(2) { --about-stagger: 0.15s; }
.about__content > .about__stagger:nth-of-type(3) { --about-stagger: 0.25s; }
.about__content > .about__stagger:nth-of-type(4) { --about-stagger: 0.35s; }
.about__content > .about__stagger:nth-of-type(5) { --about-stagger: 0.45s; }

.about__side-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin: 0;
    font-size: clamp(0.52rem, 0.85vw, 0.62rem);
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ab-muted);
    align-self: center;
    flex-shrink: 0;
}

.about__portrait {
    position: relative;
    flex: 1;
    min-height: 0;
    height: 100%;
    max-height: min(72vh, 640px);
    margin: 0;
}

.about__portrait-frame {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.about__portrait-plus {
    position: absolute;
    font-size: 0.62rem;
    line-height: 1;
    color: var(--ab-frame);
    font-weight: 300;
    user-select: none;
}

.about__portrait-mark--tl { top: 8px; left: 8px; border-top: 1px solid; border-left: 1px solid; }
.about__portrait-mark--tr { top: 8px; right: 8px; border-top: 1px solid; border-right: 1px solid; }
.about__portrait-mark--bl { bottom: 8px; left: 8px; border-bottom: 1px solid; border-left: 1px solid; }
.about__portrait-mark--br { bottom: 8px; right: 8px; border-bottom: 1px solid; border-right: 1px solid; }

.about__portrait-plus--tl { top: 2px; left: 2px; }
.about__portrait-plus--tr { top: 2px; right: 2px; }
.about__portrait-plus--bl { bottom: 2px; left: 2px; }
.about__portrait-plus--br { bottom: 2px; right: 2px; }

.about__portrait-img,
.about__portrait-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    filter: saturate(0.75) contrast(1.05) brightness(0.82);
}

.about__portrait-placeholder {
    background:
        radial-gradient(ellipse 70% 80% at 50% 20%, rgba(30, 41, 59, 0.45), transparent 60%),
        linear-gradient(180deg, #0a1018 0%, #020408 100%);
}

/* ── Scroll reveal ─────────────────────────────────────────────── */
.about__reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.8s var(--ease-out-expo) var(--about-delay, 0s),
        transform 0.85s var(--ease-out-expo) var(--about-delay, 0s);
}

.about__reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────────────────────── */

/* Tablet & below — stacked layout: portrait top, content bottom */
@media (max-width: 960px) {
    .about {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        overflow: visible;
    }

    .about__shell {
        height: auto;
        min-height: 0;
        padding:
            clamp(5rem, 10vh, 6rem)
            clamp(1.25rem, 4vw, 2rem)
            clamp(2rem, 5vh, 3rem);
        gap: clamp(1.5rem, 3vh, 2rem);
    }

    .about__main {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: clamp(1.75rem, 4vh, 2.5rem);
        align-items: stretch;
        direction: ltr;
    }

    .about__visual {
        grid-column: 1;
        grid-row: 1;
        order: 1;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.85rem;
        width: 100%;
        max-height: none;
        height: auto;
    }

    .about__side-label {
        writing-mode: horizontal-tb;
        transform: none;
        text-align: center;
        letter-spacing: 0.22em;
        font-size: clamp(0.58rem, 2.5vw, 0.68rem);
        align-self: center;
    }

    .about__portrait {
        width: min(100%, 400px);
        max-width: 400px;
        height: auto;
        min-height: 0;
        max-height: none;
        aspect-ratio: 4 / 5;
        margin-inline: auto;
    }

    .about__content {
        grid-column: 1;
        grid-row: 2;
        order: 2;
        align-items: center;
        text-align: center;
        padding: clamp(1.5rem, 4vw, 2rem) clamp(1rem, 3vw, 1.5rem);
        border-inline-start: none;
        border-top: 1px solid rgba(148, 163, 184, 0.18);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    .about__lead,
    .about__verse,
    .about__body {
        max-width: 38ch;
        margin-inline: auto;
        text-align: center;
    }

    .about__stagger {
        transform: translateY(22px);
    }

    .about__stagger.is-visible {
        transform: translateY(0);
    }
}

/* Medium phones */
@media (max-width: 768px) {
    .about__shell {
        padding-top: clamp(4.75rem, 9vh, 5.5rem);
    }

    .about__title-pre,
    .about__title-name {
        font-size: clamp(1.6rem, 7vw, 2.4rem);
    }

    .about__portrait {
        width: min(100%, 340px);
        max-width: 340px;
    }

    .about__lead {
        font-size: clamp(1.02rem, 3.4vw, 1.28rem);
        max-width: 36ch;
    }

    .about__body {
        font-size: clamp(0.88rem, 3.5vw, 1rem);
        line-height: 1.9;
        max-width: 42ch;
    }
}

/* Small phones */
@media (max-width: 520px) {
    .about__shell {
        padding:
            clamp(4.5rem, 8vh, 5rem)
            clamp(1rem, 4vw, 1.25rem)
            clamp(1.75rem, 4vh, 2.5rem);
        gap: 1.25rem;
    }

    .about__title {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.15em;
    }

    .about__divider-line {
        width: min(100px, 24vw);
    }

    .about__main {
        gap: 1.5rem;
    }

    .about__side-label {
        display: none;
    }

    .about__portrait {
        width: min(100%, 300px);
        max-width: 300px;
        aspect-ratio: 3 / 4;
    }

    .about__content {
        padding: 1.35rem 0.85rem 0.5rem;
    }

    .about__lead {
        font-size: clamp(1rem, 4.4vw, 1.18rem);
        line-height: 1.55;
        max-width: none;
    }

    .about__body {
        max-width: none;
        line-height: 1.85;
        margin-bottom: 0;
    }
}

/* Extra-small screens */
@media (max-width: 380px) {
    .about__shell {
        padding-inline: 0.85rem;
    }

    .about__label {
        letter-spacing: 0.28em;
    }

    .about__portrait {
        width: 100%;
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about__reveal,
    .about__stagger {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   PRODUCTS — carousel + payment modal
   ========================================================================== */

/* Respect the HTML `hidden` attribute even when our components set their
   own `display`. Without this, fixed-position modals remain rendered and
   swallow clicks across the whole page. */
.pd [hidden],
.pd-modal[hidden],
.preorder-modal[hidden] {
    display: none !important;
}

.pd {
    --pre-accent:       #94A3B8;
    --pre-accent-deep:  #0F172A;
    --pre-accent-glow:  rgba(148, 163, 184, 0.55);
    --pre-white:     #f5f5f5;
    --pre-muted:     rgba(245, 245, 245, 0.55);
    --pre-mute-2:    rgba(245, 245, 245, 0.32);
    --pre-line:      rgba(255, 255, 255, 0.12);
    --pre-line-2:    rgba(255, 255, 255, 0.06);

    position: relative;
    width: 100%;
    margin: 0;
    padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 3.5rem);
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    gap: clamp(1.6rem, 3vw, 2.6rem);

    color: var(--pre-white);
    font-family: var(--font-sans);
    text-transform: uppercase;

    background: transparent;
}

/* ── Corner crosshairs ───────────────────────────────────── */
.pd__mark { position: absolute; z-index: 4; width: 14px; height: 14px; pointer-events: none; }
.pd__mark::before,
.pd__mark::after { content: ""; position: absolute; background: var(--pre-accent); }
.pd__mark::before { width: 100%; height: 1.5px; top: 50%; transform: translateY(-50%); box-shadow: 0 0 8px var(--pre-accent); }
.pd__mark::after  { height: 100%; width: 1.5px; left: 50%; transform: translateX(-50%); box-shadow: 0 0 8px var(--pre-accent); }
.pd__mark--tl { top: 20px; left: 20px; }
.pd__mark--tr { top: 20px; right: 20px; }
.pd__mark--bl { bottom: 20px; left: 20px; }
.pd__mark--br { bottom: 20px; right: 20px; }

/* ── Header ──────────────────────────────────────────────── */
.pd__header { position: relative; z-index: 4; text-align: center; }
.pd__eyebrow {
    display: inline-flex; align-items: center; gap: 0.9rem;
    color: var(--pre-accent);
    font-size: clamp(0.6rem, 0.8vw, 0.72rem);
    letter-spacing: 0.55em;
    margin-bottom: 0.8rem;
}
.pd__eyebrow-line {
    width: clamp(24px, 6vw, 60px); height: 1px;
    background: linear-gradient(90deg, transparent, var(--pre-accent), transparent);
}
.pd__title {
    display: inline-flex; align-items: baseline; gap: 0.7rem;
    margin: 0;
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 900;
    letter-spacing: 0.2em;
    line-height: 1;
}
.pd__title-1 { color: var(--pre-white); }
.pd__title-2 {
    color: var(--pre-accent);
    text-shadow: 0 0 30px var(--pre-accent-glow);
}
.pd__subtitle {
    margin: 0.9rem 0 0;
    color: var(--pre-muted);
    font-size: clamp(0.68rem, 0.85vw, 0.82rem);
    letter-spacing: 0.5em;
}

.pd__notice {
    max-width: 640px; margin: 0 auto;
    padding: 1.2rem 1.4rem;
    border: 1px dashed rgba(148, 163, 184, 0.35);
    color: var(--pre-muted);
    letter-spacing: 0.2em;
    font-size: 0.78rem;
    text-align: center;
}

/* ── Tabs ────────────────────────────────────────────────── */
.pd__tabs {
    position: relative; z-index: 4;
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.4rem;
    margin: 0 auto;
    max-width: fit-content;
    border: 1px solid var(--pre-line);
    background: rgba(255, 255, 255, 0.02);
}
.pd__tab {
    display: inline-flex; align-items: center; gap: 0.55rem;
    padding: 0.65rem 1.2rem;
    background: transparent;
    border: 0;
    color: var(--pre-mute-2);
    font-family: inherit;
    font-size: 0.66rem; letter-spacing: 0.28em; font-weight: 700;
    cursor: pointer;
    transition: color 0.25s ease, background 0.25s ease;
    white-space: nowrap;
}
.pd__tab-icon { width: 15px; height: 15px; flex-shrink: 0; }
.pd__tab:hover { color: var(--pre-white); }
.pd__tab.is-active {
    background: var(--pre-white);
    color: #000;
}

/* ── Carousel ────────────────────────────────────────────── */
.pd__carousel {
    position: relative; z-index: 4;
    display: flex; align-items: center;
    gap: 0.6rem;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}
.pd__nav {
    flex: 0 0 auto;
    display: none;
    width: 42px; height: 42px;
    align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--pre-line);
    color: var(--pre-white);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.pd__nav svg { width: 16px; height: 16px; }
.pd__nav:hover { background: var(--pre-accent); border-color: var(--pre-accent); color: #000; }
@media (min-width: 720px) { .pd__nav { display: inline-flex; } }

.pd__track {
    list-style: none; margin: 0; padding: 0.4rem 0.1rem;
    display: flex;
    gap: clamp(0.9rem, 1.6vw, 1.4rem);
    overflow-x: auto;
    scroll-snap-type: x proximate;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1 1 auto;
    min-width: 0;
    cursor: grab;
    touch-action: pan-y;
}
.pd__track::-webkit-scrollbar { display: none; }
.pd__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }

/* ── Product card ────────────────────────────────────────── */
.pd-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: clamp(190px, 22vw, 240px);
    display: flex; flex-direction: column;
    background: linear-gradient(160deg, rgba(10, 15, 28, 0.55) 0%, rgba(5, 10, 25, 0.85) 100%);
    border: 1px solid var(--pre-line);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, opacity 0.25s ease;
}
.pd-card:hover { border-color: rgba(148, 163, 184, 0.45); transform: translateY(-4px); box-shadow: 0 18px 36px -20px rgba(0,0,0,0.55); }
.pd-card.is-filtered-out { display: none; }

.pd-card__art {
    position: relative;
    aspect-ratio: 1;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 50% 30%, rgba(148,163,184,0.08), transparent 60%), #05070d;
    overflow: hidden;
}
.pd-card__cover {
    position: relative; z-index: 2;
    width: 76%; height: 76%;
    display: block;
    box-shadow: 0 10px 28px -8px rgba(0,0,0,0.7);
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.06);
}
.pd-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-card__cover-ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--pre-mute-2); }
.pd-card__cover-ph svg { width: 40%; height: 40%; }

/* Vinyl disc peeking out from behind the sleeve */
.pd-card__vinyl {
    position: absolute; z-index: 1;
    top: 50%; left: 58%;
    width: 68%; height: 68%;
    border-radius: 50%;
    transform: translate(0, -50%);
    background:
        repeating-radial-gradient(circle at 50% 50%,
            #1b1b1b 0, #1b1b1b 2px,
            #0c0c0c 2px, #0c0c0c 4px);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 10px 24px -6px rgba(0,0,0,0.8);
}
.pd-card__vinyl-hole {
    position: absolute; top: 50%; left: 50%;
    width: 26%; height: 26%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--pre-accent);
    box-shadow: 0 0 0 2px #0c0c0c, inset 0 0 0 5px #0c0c0c;
}
.pd-card:hover .pd-card__vinyl { animation: pd-vinyl-spin 6s linear infinite; }
@keyframes pd-vinyl-spin { to { transform: translate(0, -50%) rotate(360deg); } }

.pd-card--plain .pd-card__cover {
    width: 62%; height: 62%;
}

.pd-card__body {
    padding: 1rem 1.1rem 1.2rem;
    display: flex; flex-direction: column; gap: 0.35rem;
    flex: 1 1 auto;
}
.pd-card__cat {
    color: var(--pre-mute-2);
    font-size: 0.55rem; letter-spacing: 0.3em; font-weight: 700;
}
.pd-card__name {
    margin: 0;
    color: var(--pre-white);
    font-size: 0.82rem; letter-spacing: 0.08em; font-weight: 800;
    text-transform: none;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.pd-card__row {
    margin-top: auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 0.6rem;
}
.pd-card__price {
    color: var(--pre-accent);
    font-size: 0.86rem; font-weight: 800; letter-spacing: 0.04em;
}
.pd-card__price .woocommerce-Price-amount { color: var(--pre-accent); }
.pd-card__buy {
    flex: 0 0 auto;
    width: 34px; height: 34px;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent;
    border: 1px solid var(--pre-line);
    color: var(--pre-white);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.pd-card__buy svg { width: 15px; height: 15px; }
.pd-card__buy:hover { background: var(--pre-accent); border-color: var(--pre-accent); color: #000; transform: scale(1.05); }

/* ── Step indicator (payment modal) ─────────────────────── */
.preorder__steps {
    position: relative; z-index: 4;
    display: flex; align-items: center; justify-content: center; gap: clamp(0.6rem, 2vw, 1.5rem);
    list-style: none; margin: 0 auto; padding: 0;
    max-width: 900px;
}
.preorder__step {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--pre-line);
    color: var(--pre-mute-2);
    font-size: clamp(0.58rem, 0.7vw, 0.66rem);
    letter-spacing: 0.35em;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.preorder__step-num { color: var(--pre-accent); font-weight: 700; }
.preorder__step.is-active {
    color: var(--pre-white);
    border-color: var(--pre-accent);
    background: rgba(148, 163, 184, 0.08);
    transform: translateY(-1px);
}
.preorder__step.is-complete { color: var(--pre-muted); border-color: rgba(148,163,184,0.55); }
.preorder__step-line {
    flex: 0 0 clamp(22px, 4vw, 60px);
    height: 1px;
    background: linear-gradient(90deg, var(--pre-accent), transparent);
    list-style: none;
}

/* ── Panels (stage) ──────────────────────────────────────── */
.preorder__form {
    position: relative; z-index: 4;
    display: grid; align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}
.preorder__panels { position: relative; }
.preorder__panel {
    display: grid;
    gap: clamp(1.2rem, 2.5vw, 2rem);
    animation: pre-panel-in 0.5s cubic-bezier(.2,.8,.2,1);
}
.preorder__panel[hidden] { display: none; }
@keyframes pre-panel-in {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
}
.preorder__panel-title {
    margin: 0;
    font-size: clamp(0.8rem, 1vw, 0.92rem);
    letter-spacing: 0.45em;
    color: var(--pre-muted);
    font-weight: 400;
    text-align: center;
}
/* ── Form fields ─────────────────────────────────────────── */
.preorder__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.8rem);
    max-width: 880px; margin: 0 auto; width: 100%;
}
.preorder__field {
    display: grid; gap: 0.4rem;
    position: relative;
}
.preorder__field-label {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.6rem; letter-spacing: 0.4em;
    color: var(--pre-muted);
}
.preorder__field-min {
    font-size: 0.55rem; letter-spacing: 0.22em;
    color: var(--pre-accent);
    padding: 0.1rem 0.45rem;
    border: 1px solid rgba(148, 163, 184, 0.5);
    text-transform: none;
    unicode-bidi: plaintext;
    direction: rtl;
}
.preorder__input {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--pre-line);
    padding: 0.7rem 0.2rem;
    color: var(--pre-white);
    font-size: clamp(0.9rem, 1.1vw, 1.05rem);
    letter-spacing: 0.14em;
    font-family: inherit;
    transition: border-color 0.25s ease, color 0.25s ease;
    appearance: none;
}
.preorder__input::placeholder { color: var(--pre-mute-2); letter-spacing: 0.14em; }
.preorder__input:focus {
    outline: none;
    border-bottom-color: var(--pre-accent);
}
.preorder__field-line {
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--pre-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
}
.preorder__input:focus ~ .preorder__field-line { transform: scaleX(1); }

/* ── Shipping fieldset ─────────────────────────────────────── */
.preorder__shipping {
    border: 1px solid var(--pre-line);
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
    padding: clamp(1.2rem, 2.4vw, 1.8rem) clamp(1.1rem, 2.2vw, 1.8rem);
    margin: 1.6rem auto 0;
    max-width: 880px;
    width: 100%;
    position: relative;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(.2,.8,.2,1);
    pointer-events: none;
}
.preorder__shipping.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.preorder__shipping::before,
.preorder__shipping::after {
    content: '';
    position: absolute;
    width: 14px; height: 14px;
    border: 1px solid var(--pre-accent);
    opacity: 0.7;
}
.preorder__shipping::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.preorder__shipping::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.preorder__shipping-title {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-size: 0.62rem; letter-spacing: 0.32em;
    color: var(--pre-accent);
    padding: 0.2rem 0.6rem;
    background: var(--pre-bg, #050505);
    margin: 0 0 1.1rem;
}
.preorder__shipping-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--pre-accent);
    box-shadow: 0 0 10px var(--pre-accent);
    animation: preorder-dot 1.4s ease-in-out infinite;
}
@keyframes preorder-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(0.7); }
}
.preorder__shipping .preorder__fields { margin: 0; }
.preorder__field--wide { grid-column: 1 / -1; }
.preorder__input--textarea {
    min-height: 3.2rem;
    resize: vertical;
    line-height: 1.55;
    padding: 0.7rem 0.2rem;
}
@media (prefers-reduced-motion: reduce) {
    .preorder__shipping { transition: none; transform: none; }
    .preorder__shipping-dot { animation: none; }
}

.preorder__field--amount {
    max-width: 560px; margin: 0 auto; width: 100%;
    position: relative;
}
.preorder__field-currency {
    position: absolute; right: 0.2rem; bottom: 0.85rem;
    color: var(--pre-accent);
    font-size: 0.75rem; letter-spacing: 0.3em;
}
.preorder__input--amount {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: 0.2em;
    padding-right: 6rem;
    text-align: right;
}
.preorder__amount {
    display: grid; gap: 0.9rem;
    margin-top: 1.4rem;
}
.preorder__amount-words {
    max-width: 560px; margin: 0 auto; width: 100%;
    padding: 0.9rem 1.1rem;
    border: 1px solid var(--pre-line);
    background: rgba(255, 255, 255, 0.02);
    display: flex; gap: 0.8rem; align-items: baseline;
}
.preorder__amount-words-label {
    color: var(--pre-accent); font-size: 0.62rem; letter-spacing: 0.35em; flex-shrink: 0;
}
.preorder__amount-words-value {
    color: var(--pre-white);
    font-size: clamp(0.8rem, 1vw, 0.95rem);
    letter-spacing: 0.05em;
    unicode-bidi: plaintext;
    direction: rtl;
    text-align: right;
    font-family: var(--font-sans);
    font-weight: 500;
    flex: 1;
    text-transform: none;
}
.preorder__amount-helper {
    max-width: 560px; margin: 0 auto; width: 100%;
    color: var(--pre-mute-2);
    font-size: 0.62rem; letter-spacing: 0.28em; text-align: center;
    text-transform: none;
}

/* ── Payment choices ─────────────────────────────────────── */
.preorder__pay-choices {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.9rem, 2vw, 1.6rem);
    max-width: 760px; margin: 0 auto; width: 100%;
}
.preorder__pay {
    position: relative;
    display: grid; gap: 0.4rem;
    justify-items: center;
    padding: clamp(1.6rem, 2.8vw, 2.2rem) clamp(1.2rem, 2vw, 1.8rem);
    background: linear-gradient(180deg, rgba(10, 15, 28, 0.6), rgba(5, 10, 25, 0.92));
    border: 1px solid var(--pre-line);
    color: var(--pre-white);
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.preorder__pay:hover { border-color: rgba(148, 163, 184, 0.5); transform: translateY(-2px); }
.preorder__pay.is-selected {
    border-color: var(--pre-accent);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.32), rgba(8, 15, 35, 0.94));
    box-shadow: 0 0 40px rgba(148,163,184,0.2), inset 0 0 0 1px rgba(148, 163, 184, 0.25);
}
.preorder__pay-corner { position: absolute; width: 14px; height: 14px; pointer-events: none; border-color: var(--pre-accent); }
.preorder__pay-corner--tl { top:-1px; left:-1px;  border-top: 2px solid; border-left:  2px solid; }
.preorder__pay-corner--tr { top:-1px; right:-1px; border-top: 2px solid; border-right: 2px solid; }
.preorder__pay-corner--bl { bottom:-1px; left:-1px;  border-bottom: 2px solid; border-left:  2px solid; }
.preorder__pay-corner--br { bottom:-1px; right:-1px; border-bottom: 2px solid; border-right: 2px solid; }
.preorder__pay-icon { width: 36px; height: 36px; color: var(--pre-accent); }
.preorder__pay-label { font-size: clamp(0.95rem, 1.2vw, 1.1rem); letter-spacing: 0.3em; font-weight: 700; }
.preorder__pay-hint { font-size: 0.6rem; letter-spacing: 0.35em; color: var(--pre-mute-2); }

/* ── Actions (buttons) ───────────────────────────────────── */
.preorder__actions {
    display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap;
    margin-top: 1.5rem;
}
.preorder__btn {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.9rem 1.6rem;
    background: transparent;
    border: 1px solid var(--pre-accent);
    color: var(--pre-white);
    font-family: inherit;
    font-size: clamp(0.7rem, 0.85vw, 0.8rem);
    letter-spacing: 0.4em;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.preorder__btn:hover:not(:disabled) {
    background: var(--pre-accent); color: #000;
}
.preorder__btn:disabled { opacity: 0.45; cursor: not-allowed; }
.preorder__btn-arrow { width: 14px; height: 14px; }
.preorder__btn--back { border-color: var(--pre-line); color: var(--pre-muted); }
.preorder__btn--back:hover { background: rgba(255,255,255,0.06); color: var(--pre-white); }
.preorder__btn--submit {
    background: var(--pre-accent); color: #000; border-color: var(--pre-accent);
    box-shadow: 0 0 30px rgba(148, 163, 184, 0.35);
}
.preorder__btn--submit:hover:not(:disabled) { background: #fff; border-color: #fff; }
.preorder__btn-spinner {
    display: none;
    width: 14px; height: 14px; border-radius: 50%;
    border: 2px solid currentColor;
    border-right-color: transparent;
    animation: pre-spin 0.8s linear infinite;
}
.preorder__btn.is-loading .preorder__btn-arrow { display: none; }
.preorder__btn.is-loading .preorder__btn-spinner { display: inline-block; }
@keyframes pre-spin { to { transform: rotate(360deg); } }

/* ── Feedback ────────────────────────────────────────────── */
.preorder__feedback {
    min-height: 1.4em;
    text-align: center;
    margin-top: 0.6rem;
    font-size: 0.72rem; letter-spacing: 0.35em;
    color: var(--pre-mute-2);
}
.preorder__feedback.is-error   { color: var(--pre-accent); }
.preorder__feedback.is-success { color: #3dff90; }

/* ==========================================================================
   CRYPTO MODAL
   ========================================================================== */
/* Backdrop = full viewport; shell overflow hidden. Inner list can scroll invisibly if many wallets. */
.preorder-modal {
    --pre-accent:       #94A3B8;
    --pre-accent-deep:  #0F172A;
    --pre-accent-glow:  rgba(148, 163, 184, 0.55);
    --pre-white:     #f5f5f5;
    --pre-muted:     rgba(245, 245, 245, 0.55);
    --pre-mute-2:    rgba(245, 245, 245, 0.32);
    --pre-line:      rgba(255, 255, 255, 0.12);
    --pre-line-2:    rgba(255, 255, 255, 0.06);

    position: fixed; inset: 0; z-index: 11050;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 100dvh;
    min-height: 100svh;
    padding:
        max(0.5rem, env(safe-area-inset-top, 0px))
        max(0.65rem, env(safe-area-inset-right, 0px))
        max(0.5rem, env(safe-area-inset-bottom, 0px))
        max(0.65rem, env(safe-area-inset-left, 0px));
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: manipulation;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.preorder-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.preorder-modal__backdrop {
    position: fixed; inset: 0; z-index: 0;
    background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(15,23,42,0.8), rgba(0,0,0,0.95));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: auto;
}
/* Desktop: tall enough; min-height keeps the card from feeling tiny when there are few items */
.preorder-modal__box {
    position: relative; z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: min(38rem, calc(100% - 1.5rem));
    min-height: clamp(20rem, 38vh, 32rem);
    max-height: min(88vh, 52rem);
    box-sizing: border-box;
    margin-inline: auto;
    margin-block: 0;
    flex: 0 1 auto;
    overflow: hidden;
    padding: 0.85rem 1.25rem 1.15rem;
    padding-top: 2.35rem;
    background: linear-gradient(180deg, rgba(10, 15, 30, 0.96), rgba(5, 10, 25, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 2px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 80px rgba(148, 163, 184, 0.18);
    color: var(--pre-white, #f5f5f5);
    font-family: var(--font-sans);
    transform: scale(0.96) translateY(6px);
    transition: transform 0.4s cubic-bezier(.16,1,.3,1);
}
.preorder-modal.is-open .preorder-modal__box { transform: scale(1) translateY(0); }

.preorder-modal__inner {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1 1 auto;
    overflow: hidden;
    gap: 0.5rem;
}

.preorder-modal__corner { position: absolute; width: 18px; height: 18px; border-color: #94A3B8; pointer-events: none; }
.preorder-modal__corner--tl { top:-1px; left:-1px;  border-top: 2px solid; border-left:  2px solid; }
.preorder-modal__corner--tr { top:-1px; right:-1px; border-top: 2px solid; border-right: 2px solid; }
.preorder-modal__corner--bl { bottom:-1px; left:-1px;  border-bottom: 2px solid; border-left:  2px solid; }
.preorder-modal__corner--br { bottom:-1px; right:-1px; border-bottom: 2px solid; border-right: 2px solid; }

.preorder-modal__close {
    position: absolute;
    top: max(0.5rem, env(safe-area-inset-top, 0px));
    right: max(0.5rem, env(safe-area-inset-right, 0px));
    width: 36px; height: 36px;
    display: inline-grid; place-items: center;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(245,245,245,0.7);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.preorder-modal__close:hover { color: #94A3B8; border-color: #94A3B8; background: rgba(148,163,184,0.08); }
.preorder-modal__close svg { width: 14px; height: 14px; }

.preorder-modal__head { text-align: center; margin-bottom: 0.7rem; flex-shrink: 0; }
.preorder-modal__eyebrow {
    display: inline-block;
    color: #94A3B8;
    font-size: 0.6rem; letter-spacing: 0.5em;
    margin-bottom: 0.6rem;
}
.preorder-modal__title {
    margin: 0;
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
    letter-spacing: 0.22em;
    font-weight: 800;
    text-transform: uppercase;
}

/* Only this block may scroll, with scrollbar hidden, so the shell & card never show a bar */
.preorder-modal__wallets {
    list-style: none; margin: 0; padding: 0.15rem 0 0.25rem;
    display: flex; flex-direction: column;
    gap: 0.45rem;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.preorder-modal__wallets::-webkit-scrollbar { width: 0; height: 0; }
.preorder-modal__wallet {
    flex-shrink: 0;
    padding: 0.6rem 0.8rem;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.02);
    transition: border-color 0.2s ease, background 0.2s ease;
}
.preorder-modal__wallet:hover { border-color: rgba(148,163,184,0.4); background: rgba(148,163,184,0.05); }
.preorder-modal__wallet-head {
    display: flex; align-items: center; gap: 0.7rem;
    margin-bottom: 0.5rem;
    font-size: 0.64rem; letter-spacing: 0.3em;
}
.preorder-modal__wallet-label { color: #94A3B8; font-weight: 700; }
.preorder-modal__wallet-net   { color: rgba(245,245,245,0.55); }
.preorder-modal__wallet-addr {
    display: flex; align-items: stretch; gap: 0.5rem;
    font-size: 0.82rem;
    min-width: 0;
}
.preorder-modal__wallet-addr code {
    flex: 1;
    min-width: 0;
    padding: 0.55rem 0.7rem;
    background: #0a0004;
    border: 1px solid rgba(255,255,255,0.08);
    color: #f5f5f5;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    /* Wrap long addresses — avoids horizontal scrollbars in the box */
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-all;
    overflow: hidden;
    text-transform: none;
}
.preorder-modal__copy {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.55rem 0.8rem;
    background: transparent;
    border: 1px solid rgba(148,163,184,0.6);
    color: #94A3B8;
    font-family: inherit;
    font-size: 0.62rem; letter-spacing: 0.35em; font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    text-transform: uppercase;
}
.preorder-modal__copy:hover   { background: rgba(148,163,184,0.12); }
.preorder-modal__copy.is-copied { background: #3dff90; border-color: #3dff90; color: #000; }
.preorder-modal__copy svg { width: 14px; height: 14px; }

.preorder-modal__note {
    margin: 0; flex-shrink: 0;
    padding: 0.6rem 0.85rem;
    border-left: 2px solid #94A3B8;
    background: rgba(148,163,184,0.05);
    color: rgba(245,245,245,0.75);
    font-size: 0.72rem; letter-spacing: 0.1em;
    line-height: 1.7;
    text-transform: none;
}
.preorder-modal__empty {
    flex: 1 1 auto; min-height: 4rem; display: grid; place-items: center;
    padding: 1rem; text-align: center;
    border: 1px dashed rgba(148,163,184,0.3);
    color: rgba(245,245,245,0.6);
    font-size: 0.75rem; letter-spacing: 0.28em;
    text-transform: uppercase;
}

.preorder-modal__actions {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}
.preorder-modal__support {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255,255,255,0.15);
    color: #f5f5f5;
    text-decoration: none;
    font-size: 0.64rem; letter-spacing: 0.35em; font-weight: 700;
    text-transform: uppercase;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.preorder-modal__support:hover { background: #fff; color: #000; border-color: #fff; }
.preorder-modal__support svg { width: 14px; height: 14px; }

.preorder-modal__submit {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.9rem 1rem;
    background: #94A3B8; color: #000;
    border: 1px solid #94A3B8;
    font-family: inherit;
    font-size: 0.7rem; letter-spacing: 0.4em; font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 0 30px rgba(148,163,184,0.35);
    position: relative;
    transition: background 0.2s ease, color 0.2s ease;
}
.preorder-modal__submit:hover { background: #fff; border-color: #fff; }
.preorder-modal__submit-spin {
    display: none; width: 14px; height: 14px; border-radius: 50%;
    border: 2px solid currentColor; border-right-color: transparent;
    animation: pre-spin 0.8s linear infinite;
}
.preorder-modal__submit.is-loading .preorder-modal__submit-text { opacity: 0.5; }
.preorder-modal__submit.is-loading .preorder-modal__submit-spin { display: inline-block; }

.preorder-modal__feedback {
    min-height: 1.1em;
    text-align: center;
    margin: 0.4rem 0 0;
    flex-shrink: 0;
    font-size: 0.68rem; letter-spacing: 0.3em;
    color: rgba(245,245,245,0.6);
}
.preorder-modal__feedback.is-error   { color: #94A3B8; }
.preorder-modal__feedback.is-success { color: #3dff90; }

/* Tablet: between phone and large desktop */
@media (min-width: 769px) and (max-width: 1100px) {
    .preorder-modal__box {
        min-height: clamp(18rem, 36vh, 28rem);
        max-height: min(84vh, 48rem);
    }
}

/* Phone / small tablet: full-screen panel — no outer scroll, shell = exact viewport */
@media (max-width: 768px) {
    .preorder-modal {
        align-items: stretch;
        justify-content: flex-start;
        min-height: 100dvh;
        height: 100dvh;
        max-height: 100dvh;
        padding: 0;
        padding-top: max(0px, env(safe-area-inset-top, 0px));
        padding-bottom: max(0px, env(safe-area-inset-bottom, 0px));
    }
    .preorder-modal__box {
        max-width: none;
        max-height: none;
        min-height: 0;
        flex: 1 1 auto;
        width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
        box-shadow: 0 8px 40px rgba(0,0,0,0.5);
        padding: 0.45rem 0.7rem 0.55rem;
        padding-top: 2.35rem;
        transform: none; /* no zoom animation on full-screen */
    }
    .preorder-modal.is-open .preorder-modal__box { transform: none; }
    .preorder-modal__inner { gap: 0.35rem; }
    .preorder-modal__head  { margin-bottom: 0.45rem; }
    .preorder-modal__eyebrow { font-size: 0.55rem; letter-spacing: 0.38em; margin-bottom: 0.4rem; }
    .preorder-modal__title {
        font-size: clamp(0.9rem, 3.2vw, 1.1rem);
        letter-spacing: 0.1em;
    }
    .preorder-modal__wallets { gap: 0.35rem; padding-top: 0; }
    .preorder-modal__wallet { padding: 0.45rem 0.55rem; }
    .preorder-modal__wallet-head { margin-bottom: 0.3rem; font-size: 0.57rem; }
    .preorder-modal__note {
        line-height: 1.5;
        font-size: 0.64rem;
        padding: 0.45rem 0.6rem;
    }
    .preorder-modal__actions { gap: 0.4rem; }
    .preorder-modal__support { padding: 0.65rem 0.5rem; font-size: 0.58rem; }
    .preorder-modal__submit  { padding: 0.65rem 0.5rem; font-size: 0.62rem; }
}
@media (max-width: 768px) and (max-height: 500px) and (orientation: landscape) {
    .preorder-modal__box { padding-top: 1.9rem; }
    .preorder-modal__head { margin-bottom: 0.3rem; }
    .preorder-modal__wallets { gap: 0.3rem; }
    .preorder-modal__wallet { padding: 0.35rem 0.45rem; }
}

body.jaaweed-modal-open { overflow: hidden; }

/* ==========================================================================
   PRODUCTS SECTION — Advanced Responsive System
   Ladder: 1920 → 1600 → 1280 → 1100 → 900 → 860 → 720 → 600 → 480 → 380 → 340
   Plus: short-viewport landscape, touch/coarse pointer, print
   ========================================================================== */

/* Ultra-wide displays — more breathing room, slightly larger cards */
@media (min-width: 1920px) {
    .pd { padding-inline: clamp(3.5rem, 6vw, 7rem); }
    .pd__carousel { max-width: 1680px; }
    .pd-card { width: clamp(220px, 15vw, 260px); }
    .preorder__form { max-width: 960px; }
}

/* Large desktops */
@media (min-width: 1600px) and (max-width: 1919px) {
    .pd__carousel { max-width: 1520px; }
    .pd-card { width: clamp(205px, 17vw, 240px); }
}

/* Small laptops */
@media (max-width: 1280px) {
    .pd-card { width: clamp(175px, 20vw, 220px); }
}

/* Tablet landscape / narrow laptop */
@media (max-width: 1100px) {
    .pd { gap: clamp(1.4rem, 2.6vw, 2.2rem); }
    .pd__carousel { gap: 0.4rem; }
    .pd__nav { width: 38px; height: 38px; }
    .preorder__form { max-width: 880px; }
}

@media (max-width: 900px) {
    .pd-card { width: clamp(168px, 24vw, 205px); }
    .pd-card__body { padding: 0.9rem 1rem 1.05rem; }
}

/* Portrait tablet */
@media (max-width: 860px) {
    .pd__title { font-size: clamp(1.8rem, 7vw, 2.6rem); }
    .preorder__steps { gap: 0.4rem; }
    .preorder__step { padding: 0.4rem 0.6rem; font-size: 0.56rem; letter-spacing: 0.28em; }
    .preorder__step-line { flex-basis: 20px; }
}

/* Large phones / small tablets */
@media (max-width: 720px) {
    .pd { padding: 1.6rem 0.9rem; gap: 1.5rem; }
    .pd__mark { width: 10px; height: 10px; }
    .pd__mark--tl, .pd__mark--tr { top: 14px; }
    .pd__mark--bl, .pd__mark--br { bottom: 14px; }
    .pd__mark--tl, .pd__mark--bl { left: 14px; }
    .pd__mark--tr, .pd__mark--br { right: 14px; }

    .pd__tabs { width: 100%; max-width: none; justify-content: space-between; }
    .pd__tab { flex: 1 1 auto; justify-content: center; padding: 0.6rem 0.5rem; font-size: 0.58rem; }
    .pd-card { width: clamp(160px, 62vw, 210px); }

    .preorder__fields { gap: 0.9rem; }
    .preorder__steps { flex-wrap: wrap; justify-content: center; }
    .preorder__step-line { display: none; }

    .preorder__pay-choices { grid-template-columns: 1fr; }
    .preorder__pay { padding: 1.3rem 1rem; }

    .preorder__btn { padding: 0.8rem 1.2rem; letter-spacing: 0.3em; }
    .preorder__actions { gap: 0.7rem; }
}

/* Mid phones */
@media (max-width: 600px) {
    .pd__title { font-size: clamp(1.6rem, 10vw, 2.2rem); letter-spacing: 0.14em; }
    .pd__subtitle { letter-spacing: 0.3em; font-size: 0.6rem; }
    .pd__tab-icon { display: none; }
    .pd__eyebrow { gap: 0.5rem; }
    .pd__eyebrow-line { width: clamp(16px, 8vw, 34px); }

    .pd-card__name { font-size: 0.78rem; }
    .pd-card__cat  { font-size: 0.52rem; }

    .preorder-modal__actions { grid-template-columns: 1fr; }
    .preorder-modal__wallet-addr { flex-direction: column; align-items: stretch; gap: 0.35rem; }
    .preorder-modal__copy { justify-content: center; }
}

/* Small phones */
@media (max-width: 480px) {
    .pd { padding: 1.1rem 0.7rem; }
    .pd__title-1, .pd__title-2 { letter-spacing: 0.1em; }
    .pd-card { width: clamp(148px, 68vw, 190px); }
    .pd-card__buy { width: 30px; height: 30px; }
    .pd-card__buy svg { width: 13px; height: 13px; }

    .preorder__input { padding: 0.6rem 0.2rem; }
    .preorder__input--amount { font-size: 1.4rem; padding-right: 4rem; }
    .preorder__field-currency { font-size: 0.65rem; }
    .preorder__panel { gap: 1rem; }
    .preorder__pay-icon { width: 30px; height: 30px; }
}

/* Tiny phones */
@media (max-width: 380px) {
    .pd__tabs { padding: 0.3rem; gap: 0.25rem; }
    .pd__tab { padding: 0.5rem 0.35rem; font-size: 0.5rem; letter-spacing: 0.16em; }
    .pd-card { width: 78vw; }
    .preorder__field-label { font-size: 0.54rem; letter-spacing: 0.26em; }
    .preorder__pay-label { font-size: 0.85rem; }
    .preorder__btn-text { font-size: 0.66rem; }
}

/* Extra-tiny phones */
@media (max-width: 340px) {
    .pd__title { letter-spacing: 0.08em; }
    .pd-card__cat { display: none; }
    .preorder__field-min { font-size: 0.5rem; padding: 0.08rem 0.35rem; }
}

/* Landscape phones — short viewport, prioritize the carousel over chrome */
@media (max-width: 900px) and (max-height: 520px) and (orientation: landscape) {
    .pd__eyebrow { display: none; }
    .pd { gap: 1rem; padding-block: 1.2rem; }
    .pd__title { font-size: 1.6rem; }
    .pd-card { width: 150px; }
    .preorder-modal__box,
    .pd-modal__box { max-height: 92dvh; }
}

/* Print — modals never render on paper */
@media print {
    .pd-modal, .preorder-modal { display: none !important; }
}

/* Payment modal — full screen on phones (mirrors .preorder-modal behaviour) */
.pd-modal {
    --pre-accent:       #94A3B8;
    --pre-accent-deep:  #0F172A;
    --pre-accent-glow:  rgba(148, 163, 184, 0.55);
    --pre-white:     #f5f5f5;
    --pre-muted:     rgba(245, 245, 245, 0.55);
    --pre-mute-2:    rgba(245, 245, 245, 0.32);
    --pre-line:      rgba(255, 255, 255, 0.12);
    --pre-line-2:    rgba(255, 255, 255, 0.06);

    position: fixed; inset: 0; z-index: 11000;
    display: flex; align-items: center; justify-content: center;
    box-sizing: border-box;
    min-height: 100dvh; min-height: 100svh;
    padding:
        max(0.5rem, env(safe-area-inset-top, 0px))
        max(0.65rem, env(safe-area-inset-right, 0px))
        max(0.5rem, env(safe-area-inset-bottom, 0px))
        max(0.65rem, env(safe-area-inset-left, 0px));
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: manipulation;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.pd-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.pd-modal__backdrop {
    position: fixed; inset: 0; z-index: 0;
    background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(15,23,42,0.85), rgba(0,0,0,0.96));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.pd-modal__box {
    position: relative; z-index: 1;
    width: 100%;
    max-width: min(46rem, calc(100% - 1.5rem));
    max-height: min(92vh, 56rem);
    overflow-y: auto;
    box-sizing: border-box;
    padding: 1.4rem 1.6rem 1.8rem;
    padding-top: 2.6rem;
    background: linear-gradient(180deg, rgba(10, 15, 30, 0.97), rgba(5, 10, 25, 0.99));
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 80px rgba(148, 163, 184, 0.18);
    color: var(--pre-white);
    font-family: var(--font-sans);
    transform: scale(0.96) translateY(6px);
    transition: transform 0.4s cubic-bezier(.16,1,.3,1);
    scrollbar-width: none;
}
.pd-modal__box::-webkit-scrollbar { display: none; }
.pd-modal.is-open .pd-modal__box { transform: scale(1) translateY(0); }
.pd-modal__inner { display: flex; flex-direction: column; gap: 1.2rem; }

.pd-modal__corner { position: absolute; width: 18px; height: 18px; border-color: var(--pre-accent); pointer-events: none; }
.pd-modal__corner--tl { top:-1px; left:-1px;  border-top: 2px solid; border-left:  2px solid; }
.pd-modal__corner--tr { top:-1px; right:-1px; border-top: 2px solid; border-right: 2px solid; }
.pd-modal__corner--bl { bottom:-1px; left:-1px;  border-bottom: 2px solid; border-left:  2px solid; }
.pd-modal__corner--br { bottom:-1px; right:-1px; border-bottom: 2px solid; border-right: 2px solid; }

.pd-modal__close {
    position: absolute;
    top: max(0.5rem, env(safe-area-inset-top, 0px));
    right: max(0.5rem, env(safe-area-inset-right, 0px));
    width: 36px; height: 36px;
    display: inline-grid; place-items: center;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(245,245,245,0.7);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    z-index: 2;
}
.pd-modal__close:hover { color: var(--pre-accent); border-color: var(--pre-accent); background: rgba(148,163,184,0.08); }
.pd-modal__close svg { width: 14px; height: 14px; }

.pd-modal__product {
    display: flex; align-items: center; gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--pre-line);
}
.pd-modal__product-thumb {
    flex: 0 0 auto;
    width: 62px; height: 62px;
    display: block;
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}
.pd-modal__product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-modal__product-thumb.is-vinyl { border-radius: 50%; }
.pd-modal__product-info { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.pd-modal__product-name { font-size: 0.85rem; letter-spacing: 0.08em; font-weight: 800; }
.pd-modal__product-price { color: var(--pre-accent); font-size: 0.8rem; font-weight: 700; }
.pd-modal__product-price .woocommerce-Price-amount { color: var(--pre-accent); }

/* Tablet — comfortable modal width before switching to full-screen at 768px */
@media (min-width: 769px) and (max-width: 1024px) {
    .pd-modal__box { max-width: min(40rem, calc(100% - 2rem)); }
}

@media (max-width: 768px) {
    .pd-modal { align-items: stretch; padding: 0; padding-top: max(0px, env(safe-area-inset-top, 0px)); padding-bottom: max(0px, env(safe-area-inset-bottom, 0px)); }
    .pd-modal__box { max-width: none; max-height: none; width: 100%; height: 100%; border-left: none; border-right: none; padding: 0.8rem 0.9rem 1.1rem; padding-top: 2.5rem; transform: none; }
    .pd-modal.is-open .pd-modal__box { transform: none; }
}

/* Small phones — tighten modal internals further */
@media (max-width: 480px) {
    .pd-modal__box { padding: 0.7rem 0.75rem 1rem; padding-top: 2.3rem; }
    .pd-modal__product { gap: 0.7rem; padding-bottom: 0.8rem; }
    .pd-modal__product-thumb { width: 50px; height: 50px; }
    .pd-modal__product-name { font-size: 0.76rem; }
    .pd-modal__product-price { font-size: 0.72rem; }
}

/* Tiny phones — stack the product summary row if the name wraps */
@media (max-width: 360px) {
    .pd-modal__product { flex-wrap: wrap; }
}

/* Touch / coarse pointers */
@media (hover: none) and (pointer: coarse) {
    .preorder__btn,
    .pd-card__buy,
    .pd__nav,
    .pd__tab,
    .preorder-modal__copy,
    .preorder-modal__submit,
    .preorder-modal__support,
    .preorder-modal__close,
    .pd-modal__close { min-height: 44px; }
    .preorder__pay:hover { transform: none; }
    .pd-card:hover { transform: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .preorder__panel,
    .pd-card__vinyl {
        animation: none !important;
    }
    .preorder__input ~ .preorder__field-line { transition: none; }
    .preorder-modal, .preorder-modal__box,
    .pd-modal, .pd-modal__box { transition: opacity 0.2s ease; }
}

/* High contrast */
@media (prefers-contrast: more) {
    .pd { background: transparent; }
    .preorder__input { border-color: rgba(255,255,255,0.5); }
}

/* RTL */
[dir="rtl"] .preorder__field-line { transform-origin: right; }
[dir="rtl"] .preorder__input--amount { text-align: left; padding-right: 0.2rem; padding-left: 6rem; }
[dir="rtl"] .preorder__field-currency { left: 0.2rem; right: auto; }
[dir="rtl"] .preorder__btn-arrow { transform: scaleX(-1); }
[dir="rtl"] .preorder-modal__close,
[dir="rtl"] .pd-modal__close {
    right: auto;
    left: max(0.5rem, env(safe-area-inset-left, 0px));
}
[dir="rtl"] .pd-card__buy svg { transform: scaleX(-1); }

/* ==========================================================================
   PAGE — standalone WP pages (privacy / terms / contact / etc.)
   ========================================================================== */
.jaaweed-page {
    background: var(--site-bg);
    color: #f5f5f5;
    font-family: var(--font-sans);
    min-height: 100vh;
    min-height: 100dvh;
}

.page {
    --pg-accent:    #94A3B8;
    --pg-white:  #f5f5f5;
    --pg-muted:  rgba(245, 245, 245, 0.6);
    --pg-mute-2: rgba(245, 245, 245, 0.35);
    --pg-line:   rgba(255, 255, 255, 0.12);

    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    padding: clamp(2rem, 5vw, 4rem) clamp(1.2rem, 5vw, 4rem);
    box-sizing: border-box;
    overflow: hidden;

    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: clamp(1.5rem, 3vw, 2.5rem);

    background: var(--site-bg);
}

.page__atmos { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.page__grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 40%, transparent 100%);
}
.page__glow {
    position: absolute; inset: -10%;
    background: radial-gradient(ellipse 40% 35% at 50% 30%,
        rgba(148,163,184,0.18) 0%, rgba(148,163,184,0.05) 45%, transparent 70%);
    filter: blur(40px);
    animation: pre-glow 12s ease-in-out infinite;
}
.page__scan {
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(to bottom,
        rgba(255,255,255,0.025) 0, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 3px);
    mix-blend-mode: overlay;
    opacity: 0.5;
}

.page__mark { position: absolute; z-index: 4; width: 14px; height: 14px; pointer-events: none; }
.page__mark::before,
.page__mark::after { content: ""; position: absolute; background: var(--pg-accent); }
.page__mark::before { width: 100%; height: 1.5px; top: 50%; transform: translateY(-50%); box-shadow: 0 0 8px var(--pg-accent); }
.page__mark::after  { height: 100%; width: 1.5px; left: 50%; transform: translateX(-50%); box-shadow: 0 0 8px var(--pg-accent); }
.page__mark--tl { top: 20px; left: 20px; }
.page__mark--tr { top: 20px; right: 20px; }
.page__mark--bl { bottom: 20px; left: 20px; }
.page__mark--br { bottom: 20px; right: 20px; }

.page__back {
    position: relative; z-index: 4;
    display: inline-flex; align-items: center; gap: 0.6rem;
    width: fit-content;
    padding: 0.6rem 1rem;
    border: 1px solid var(--pg-line);
    color: var(--pg-muted);
    text-decoration: none;
    font-size: 0.66rem; letter-spacing: 0.4em; font-weight: 700;
    text-transform: uppercase;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.page__back:hover { background: var(--pg-accent); color: #000; border-color: var(--pg-accent); }
.page__back svg { width: 14px; height: 14px; }

.page__article {
    position: relative; z-index: 4;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid var(--pg-line);
    background: linear-gradient(180deg, rgba(10, 15, 35, 0.6), rgba(5, 10, 25, 0.85));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.page__header { text-align: center; margin-bottom: clamp(1.2rem, 2.5vw, 2rem); }
.page__eyebrow {
    display: inline-block;
    color: var(--pg-accent);
    font-size: 0.6rem; letter-spacing: 0.55em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}
.page__title {
    display: inline-flex; align-items: center; gap: 0.9rem;
    margin: 0;
    padding: 0.8rem 1.4rem;
    border-top: 1px solid var(--pg-line);
    border-bottom: 1px solid var(--pg-line);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.15;
    text-transform: uppercase;
}
.page__title-bracket { width: 12px; height: 12px; }
.page__title-bracket--l { border-left: 2px solid var(--pg-accent); border-top: 2px solid var(--pg-accent); }
.page__title-bracket--r { border-right: 2px solid var(--pg-accent); border-bottom: 2px solid var(--pg-accent); }

.page__content {
    color: rgba(245, 245, 245, 0.86);
    font-size: clamp(0.9rem, 1vw, 1rem);
    line-height: 1.85;
}
.page__content > * + * { margin-top: 1.1em; }
.page__content h2 {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--pg-white);
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--pg-line);
}
.page__content h3 {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--pg-accent);
}
.page__content a { color: var(--pg-accent); text-decoration: none; border-bottom: 1px solid currentColor; }
.page__content a:hover { color: #fff; border-bottom-color: #fff; }
.page__content ul,
.page__content ol { padding-left: 1.4em; }
.page__content ul li,
.page__content ol li { margin-bottom: 0.4em; }
.page__content blockquote {
    margin: 1.5em 0;
    padding: 0.8rem 1.1rem;
    border-left: 2px solid var(--pg-accent);
    background: rgba(148, 163, 184, 0.05);
    color: var(--pg-muted);
}
.page__content code,
.page__content pre {
    font-family: var(--font-mono);
    background: #0a0004;
    border: 1px solid var(--pg-line);
}
.page__content code { padding: 0.1em 0.4em; font-size: 0.9em; }
.page__content pre  { padding: 1rem; overflow-x: auto; font-size: 0.85em; }
.page__content img {
    max-width: 100%; height: auto;
    border: 1px solid var(--pg-line);
}

.page__pages {
    margin-top: 1.5em;
    font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--pg-muted);
}
.page__pages a { color: var(--pg-accent); margin: 0 0.3rem; }

.page__footer {
    position: relative; z-index: 4;
    text-align: center;
    color: var(--pg-mute-2);
    font-size: 0.62rem; letter-spacing: 0.4em;
    text-transform: uppercase;
}
.page__footer p { margin: 0; }

/* RTL for pages */
[dir="rtl"] .page__back svg { transform: scaleX(-1); }
[dir="rtl"] .page__content ul,
[dir="rtl"] .page__content ol { padding-left: 0; padding-right: 1.4em; }
[dir="rtl"] .page__content blockquote { border-left: 0; border-right: 2px solid var(--pg-accent); }

/* ============================================================================
   JAAWEED — Payment result / Thank-you panel
   (rendered inside page.php via WC's checkout/thankyou.php override)
   ============================================================================ */

.page__article--wc { padding: 0; border: 0; background: transparent; backdrop-filter: none; }
.page__article--wc .page__content { padding: 0; }

.jaaweed-thanks {
    --ot-accent:   #94A3B8;
    --ot-line:  rgba(255, 255, 255, 0.14);
    --ot-bg-1:  rgba(10, 15, 35, 0.72);
    --ot-bg-2:  rgba(5, 10, 25, 0.92);
    --ot-white: #f4f4f4;
    --ot-muted: rgba(255, 255, 255, 0.55);
    --ot-mute-2:rgba(255, 255, 255, 0.35);
    --ot-ok:    #22dd88;
    --ot-warn:  #f1b13b;
    --ot-fail:  #EF4444;

    position: relative;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(1.8rem, 3.6vw, 2.8rem) clamp(1.4rem, 3vw, 2.4rem);
    border: 1px solid var(--ot-line);
    background: linear-gradient(180deg, var(--ot-bg-1) 0%, var(--ot-bg-2) 100%);
    backdrop-filter: blur(10px) saturate(1.1);
    -webkit-backdrop-filter: blur(10px) saturate(1.1);
    color: var(--ot-white);
    font-family: inherit;
    animation: jaaweed-thanks-in 0.7s cubic-bezier(.2,.8,.2,1) both;
    overflow: hidden;
}
.jaaweed-thanks::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(600px 300px at 50% -5%, rgba(148, 163, 184, 0.22), transparent 65%),
        radial-gradient(400px 260px at 50% 105%, rgba(148, 163, 184, 0.10), transparent 65%);
    pointer-events: none;
}
@keyframes jaaweed-thanks-in {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Corner crosshairs */
.jaaweed-thanks__mark {
    position: absolute; width: 14px; height: 14px;
    border: 1px solid var(--ot-accent); pointer-events: none; z-index: 2; opacity: 0.8;
}
.jaaweed-thanks__mark--tl { top: -1px;    left: -1px;   border-right: 0; border-bottom: 0; }
.jaaweed-thanks__mark--tr { top: -1px;    right: -1px;  border-left: 0;  border-bottom: 0; }
.jaaweed-thanks__mark--bl { bottom: -1px; left: -1px;   border-right: 0; border-top: 0;    }
.jaaweed-thanks__mark--br { bottom: -1px; right: -1px;  border-left: 0;  border-top: 0;    }

/* Head */
.jaaweed-thanks__head {
    position: relative; z-index: 2;
    text-align: center;
    padding-bottom: clamp(1rem, 2vw, 1.6rem);
    border-bottom: 1px solid var(--ot-line);
    margin-bottom: clamp(1rem, 2vw, 1.6rem);
}
.jaaweed-thanks__eyebrow {
    display: inline-block;
    color: var(--ot-accent);
    font-size: 0.55rem; letter-spacing: 0.55em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}
.jaaweed-thanks__icon {
    width: clamp(54px, 7vw, 68px); height: clamp(54px, 7vw, 68px);
    margin: 0 auto 1rem;
    color: var(--ot-muted);
    display: grid; place-items: center;
}
.jaaweed-thanks__icon svg { width: 100%; height: 100%; }
.jaaweed-thanks__head--success .jaaweed-thanks__icon { color: var(--ot-ok);   filter: drop-shadow(0 0 14px rgba(34, 221, 136, 0.55)); }
.jaaweed-thanks__head--fail    .jaaweed-thanks__icon { color: var(--ot-fail); filter: drop-shadow(0 0 14px rgba(255, 47, 64, 0.55));  }
.jaaweed-thanks__head--pending .jaaweed-thanks__icon { color: var(--ot-warn); filter: drop-shadow(0 0 14px rgba(241, 177, 59, 0.45));  }

.jaaweed-thanks__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 3vw, 2.1rem);
    letter-spacing: 0.12em;
    font-weight: 800;
    text-transform: uppercase;
}
.jaaweed-thanks__subtitle {
    margin: 0;
    color: var(--ot-muted);
    font-size: clamp(0.82rem, 1.2vw, 0.95rem);
    letter-spacing: 0.08em;
    line-height: 1.55;
}

/* Order code ribbon */
.jaaweed-thanks__code {
    display: inline-flex; align-items: center; gap: 0.6rem;
    margin-top: 1.1rem;
    padding: 0.5rem 0.9rem;
    border: 1px dashed rgba(148, 163, 184, 0.5);
    background: rgba(148, 163, 184, 0.05);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
}
.jaaweed-thanks__code-label { color: var(--ot-mute-2); }
.jaaweed-thanks__code-value { color: var(--ot-white); font-size: 0.95rem; letter-spacing: 0.08em; }
.jaaweed-thanks__status {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.55rem; letter-spacing: 0.3em;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--ot-line);
    color: var(--ot-muted);
    text-transform: uppercase;
}
.jaaweed-thanks__status--completed,
.jaaweed-thanks__status--processing { color: var(--ot-ok);   border-color: rgba(34, 221, 136, 0.4); }
.jaaweed-thanks__status--on-hold,
.jaaweed-thanks__status--pending    { color: var(--ot-warn); border-color: rgba(241, 177, 59, 0.4); }
.jaaweed-thanks__status--failed,
.jaaweed-thanks__status--cancelled  { color: var(--ot-fail); border-color: rgba(255, 47, 64, 0.4);  }

/* Invoice */
.jaaweed-thanks__invoice { position: relative; z-index: 2; }
.jaaweed-thanks__invoice-title {
    margin: 0 0 1rem;
    font-size: 0.6rem; letter-spacing: 0.5em;
    color: var(--ot-accent);
    text-transform: uppercase;
    text-align: center;
}
.jaaweed-thanks__rows {
    display: grid; gap: 0;
    margin: 0 0 1.2rem;
    border: 1px solid var(--ot-line);
}
.jaaweed-thanks__row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 0.8rem;
    padding: 0.75rem 0.95rem;
    border-bottom: 1px dashed var(--ot-line);
    align-items: baseline;
}
.jaaweed-thanks__row:last-child { border-bottom: 0; }
.jaaweed-thanks__row--wide { grid-template-columns: 130px 1fr; }
.jaaweed-thanks__row dt {
    color: var(--ot-mute-2);
    font-size: 0.58rem; letter-spacing: 0.35em;
    text-transform: uppercase;
    margin: 0;
}
.jaaweed-thanks__row dd {
    margin: 0;
    color: var(--ot-white);
    font-size: 0.88rem; letter-spacing: 0.04em;
    line-height: 1.55;
    word-break: break-word;
}

.jaaweed-thanks__total {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.9rem 1rem;
    margin-top: 0.3rem;
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.12), rgba(148, 163, 184, 0.02));
    border: 1px solid rgba(148, 163, 184, 0.35);
}
.jaaweed-thanks__total-label {
    color: var(--ot-accent);
    font-size: 0.62rem; letter-spacing: 0.45em;
    text-transform: uppercase;
}
.jaaweed-thanks__total-value {
    color: var(--ot-white);
    font-size: clamp(1.05rem, 1.9vw, 1.35rem);
    font-weight: 800;
    letter-spacing: 0.06em;
}
.jaaweed-thanks__total-value bdi { color: inherit; }

/* Actions */
.jaaweed-thanks__actions {
    position: relative; z-index: 2;
    display: flex; flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-top: clamp(1.2rem, 2.5vw, 1.8rem);
}
.jaaweed-thanks__btn {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.85rem 1.4rem;
    font-size: 0.66rem; letter-spacing: 0.4em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--ot-line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--ot-white);
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.jaaweed-thanks__btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--ot-white);
}
.jaaweed-thanks__btn svg { width: 14px; height: 14px; }
.jaaweed-thanks__btn--primary {
    background: var(--ot-accent);
    color: #000;
    border-color: var(--ot-accent);
}
.jaaweed-thanks__btn--primary:hover {
    background: #fff;
    border-color: #fff;
    color: #000;
}
.jaaweed-thanks__btn--ghost {
    background: transparent;
    color: var(--ot-white);
    border-color: var(--ot-line);
}

/* RTL tweaks */
[dir="rtl"] .jaaweed-thanks__btn svg:first-child { transform: scaleX(-1); }
[dir="rtl"] .jaaweed-thanks__row { grid-template-columns: 1fr 130px; }
[dir="rtl"] .jaaweed-thanks__row dt { text-align: right; }

/* Responsive */
@media (max-width: 600px) {
    .jaaweed-thanks { padding: 1.4rem 1rem; }
    .jaaweed-thanks__row { grid-template-columns: 1fr; gap: 0.2rem; padding: 0.7rem 0.8rem; }
    .jaaweed-thanks__code { flex-wrap: wrap; padding: 0.5rem 0.7rem; letter-spacing: 0.12em; }
    .jaaweed-thanks__btn { flex: 1 1 100%; justify-content: center; }
    [dir="rtl"] .jaaweed-thanks__row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .jaaweed-thanks { animation: none; }
    .jaaweed-thanks__btn { transition: none; }
}

/* Responsive */
@media (max-width: 720px) {
    .page { padding: 1.2rem 0.9rem; }
    .page__mark { width: 10px; height: 10px; }
    .page__mark--tl, .page__mark--tr { top: 14px; }
    .page__mark--bl, .page__mark--br { bottom: 14px; }
    .page__mark--tl, .page__mark--bl { left: 14px; }
    .page__mark--tr, .page__mark--br { right: 14px; }
    .page__title { padding: 0.65rem 1rem; letter-spacing: 0.1em; gap: 0.6rem; }
    .page__article { padding: 1.2rem 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
    .page__glow { animation: none; }
}

/* ==========================================================================
   SITE HEADER — fixed pill over hero / all pages
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 960;
    padding: max(0.55rem, env(safe-area-inset-top, 0px)) max(2.5%, 10px) 0;
    pointer-events: none;
    font-family: var(--font-sans);
}

.site-header__inner {
    pointer-events: auto;
    width: min(1120px, 94%);
    max-width: 100%;
    margin: 0 auto;
    border-radius: 14px;
    padding: 0.55rem 1rem 0.6rem;
    box-sizing: border-box;
    background: transparent;
    border: 1px solid transparent;
    box-shadow: 0 0 0 transparent;
    transition:
        background 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.5s ease,
        box-shadow 0.55s ease,
        backdrop-filter 0.55s ease;
    -webkit-backdrop-filter: blur(0px);
    backdrop-filter: blur(0px);
}

.site-header.is-scrolled .site-header__inner {
    background: linear-gradient(
        165deg,
        rgba(8, 12, 30, 0.72) 0%,
        rgba(12, 18, 35, 0.68) 55%,
        rgba(5, 10, 25, 0.78) 100%
    );
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(148, 163, 184, 0.06);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

@media (prefers-reduced-motion: reduce) {
    .site-header__inner {
        transition-duration: 0.15s;
    }
}

.site-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 2.35rem;
}

/* Logo + red L corners */
.site-header__brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #f5f5f5;
    padding: 0.35rem 0.85rem 0.4rem;
    letter-spacing: 0.42em;
    font-size: clamp(0.62rem, 1.8vw, 0.78rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
}

.site-header__brand-frame {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.site-header__corner {
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: #94A3B8;
    border-style: solid;
}
.site-header__corner--tl {
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;
}
.site-header__corner--tr {
    top: 0;
    right: 0;
    border-width: 2px 2px 0 0;
}
.site-header__corner--bl {
    bottom: 0;
    left: 0;
    border-width: 0 0 2px 2px;
}
.site-header__corner--br {
    bottom: 0;
    right: 0;
    border-width: 0 2px 2px 0;
}

.site-header__logo {
    position: relative;
    z-index: 1;
}

/* Desktop nav */
.site-header__nav--desktop {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-header__list {
    display: flex;
    align-items: center;
    gap: clamp(0.65rem, 2vw, 1.35rem);
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header__link {
    color: rgba(245, 245, 245, 0.92);
    font-size: clamp(0.52rem, 1.2vw, 0.65rem);
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.35rem 0.15rem;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.site-header__link:hover,
.site-header__link:focus-visible {
    color: #fff;
    text-shadow: 0 0 12px rgba(148, 163, 184, 0.45);
    outline: none;
}

.site-header__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #94A3B8;
    box-shadow: 0 0 10px rgba(148, 163, 184, 0.75);
    flex-shrink: 0;
}

/* Hamburger — hidden on wide screens */
.site-header__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: -0.25rem -0.35rem -0.25rem 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 4px;
    background: rgba(8, 4, 6, 0.35);
    color: #f0f0f0;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.site-header__toggle:hover,
.site-header__toggle:focus-visible {
    border-color: rgba(148, 163, 184, 0.45);
    color: #CBD5E1;
    outline: none;
}

.site-header__toggle-icon {
    font-size: 1.35rem;
    line-height: 1;
}

/* Mobile drawer */
.site-header__panel {
    position: fixed;
    inset: 0;
    z-index: 970;
    pointer-events: none;
}

.site-header__panel:not([hidden]) {
    pointer-events: auto;
}

.site-header__panel-scrim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    opacity: 0;
    animation: site-header-scrim-in 0.35s ease forwards;
}

@keyframes site-header-scrim-in {
    to {
        opacity: 1;
    }
}

.site-header__panel-sheet {
    position: absolute;
    top: 0;
    right: 0;
    width: min(20rem, 88vw);
    height: 100%;
    max-height: 100%;
    padding: max(1rem, env(safe-area-inset-top, 0px)) 1.1rem 1.5rem max(1rem, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
    background: linear-gradient(180deg, rgba(10, 15, 30, 0.98), rgba(5, 10, 25, 0.99));
    border-left: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: -16px 0 48px rgba(0, 0, 0, 0.55);
    transform: translateX(100%);
    animation: site-header-sheet-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes site-header-sheet-in {
    to {
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header__panel-scrim {
        animation: none;
        opacity: 1;
    }
    .site-header__panel-sheet {
        animation: none;
        transform: translateX(0);
    }
}

.site-header__panel-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 1rem;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    background: transparent;
    color: #f5f5f5;
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
}

.site-header__panel-close:hover,
.site-header__panel-close:focus-visible {
    border-color: #94A3B8;
    color: #CBD5E1;
    outline: none;
}

.site-header__panel-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.site-header__panel-link {
    display: block;
    padding: 0.85rem 0.65rem;
    color: #f5f5f5;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.site-header__panel-link:hover,
.site-header__panel-link:focus-visible {
    color: #CBD5E1;
    padding-left: 0.95rem;
    outline: none;
}

.site-header__panel-dot {
    display: block;
    width: 7px;
    height: 7px;
    margin-top: 1.25rem;
    margin-left: 0.65rem;
    border-radius: 50%;
    background: #94A3B8;
    box-shadow: 0 0 12px rgba(148, 163, 184, 0.65);
}

body.site-header--nav-open {
    overflow: hidden !important;
}

/* Breakpoint: stack hamburger, hide inline nav */
@media (max-width: 900px) {
    .site-header__nav--desktop {
        display: none;
    }
    .site-header__toggle {
        display: inline-flex;
    }
    .site-header__inner {
        width: min(1120px, 96%);
        border-radius: 12px;
        padding: 0.45rem 0.65rem 0.5rem;
    }
    .site-header__brand {
        letter-spacing: 0.32em;
        font-size: clamp(0.55rem, 3.2vw, 0.7rem);
        padding: 0.3rem 0.65rem 0.35rem;
    }
    .site-header__corner {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 380px) {
    .site-header {
        padding-left: max(8px, env(safe-area-inset-left, 0px));
        padding-right: max(8px, env(safe-area-inset-right, 0px));
    }
    .site-header__inner {
        width: 100%;
        border-radius: 10px;
    }
}

/* Extra top air for hero when header exists */
.jaaweed__wrapper:has(.site-header) .hero {
    padding-top: clamp(5.1rem, 10vh, 7.25rem);
}

body.jaaweed-page:has(#jaaweed-site-header) #jaaweed-page {
    padding-top: clamp(4.25rem, 12vw, 5.5rem);
}

/* RTL */
[dir="rtl"] .site-header__row {
    flex-direction: row-reverse;
}
[dir="rtl"] .site-header__list {
    flex-direction: row-reverse;
}
[dir="rtl"] .site-header__panel-sheet {
    right: auto;
    left: 0;
    border-left: none;
    border-right: 1px solid rgba(148, 163, 184, 0.25);
    transform: translateX(-100%);
    animation-name: site-header-sheet-in-rtl;
}
@keyframes site-header-sheet-in-rtl {
    to {
        transform: translateX(0);
    }
}
[dir="rtl"] .site-header__panel-close {
    margin-left: 0;
    margin-right: auto;
}
[dir="rtl"] .site-header__toggle {
    margin-right: -0.35rem;
    margin-left: 0;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
    display: grid;
    align-items: center;
    padding: clamp(4.2rem, 8vh, 6rem) clamp(1rem, 4vw, 3rem) clamp(5rem, 10vh, 7rem);
}

.hero__bg,
.hero__bg-video,
.hero__bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__bg { z-index: -4; background: var(--site-bg); }

.hero__bg-video,
.hero__bg-image {
    object-fit: cover;
}

.hero__rail {
    position: absolute;
    z-index: 2;
    left: max(10px, env(safe-area-inset-left, 0px));
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    pointer-events: auto;
}

.hero__rail-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.75rem, 2vh, 1.05rem);
    padding: 0.65rem 0.35rem;
    background:
        linear-gradient(180deg, rgba(14, 10, 14, 0.94) 0%, rgba(4, 4, 6, 0.97) 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
}

.hero__rail-glitch {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
    mix-blend-mode: screen;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent 0 3px,
            rgba(255, 255, 255, 0.05) 3px 4px,
            transparent 4px 8px,
            rgba(148, 163, 184, 0.08) 8px 9px,
            transparent 9px 22px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255, 60, 70, 0.04) 0 1px,
            transparent 1px 40px
        );
    animation: hero-rail-glitch 2.4s steps(2, end) infinite;
}

@keyframes hero-rail-glitch {
    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.45;
    }
    50% {
        transform: translate(0, 1px);
        opacity: 0.58;
    }
}

.hero__rail-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    color: rgba(188, 194, 208, 0.9);
    border-radius: 2px;
    transition:
        color 0.22s ease,
        filter 0.22s ease,
        background 0.22s ease;
}

.hero__rail-btn:hover,
.hero__rail-btn:focus-visible {
    color: #f4f4f8;
    background: rgba(148, 163, 184, 0.08);
    filter: drop-shadow(0 0 5px rgba(148, 163, 184, 0.35));
    outline: none;
}

.hero__rail-btn--signal {
    color: #94A3B8;
    filter: drop-shadow(0 0 7px rgba(148, 163, 184, 0.55));
}

.hero__rail-btn--signal:hover,
.hero__rail-btn--signal:focus-visible {
    color: #CBD5E1;
    filter: drop-shadow(0 0 12px rgba(148, 163, 184, 0.85));
    background: rgba(148, 163, 184, 0.1);
}

.hero__rail-svg {
    width: 22px;
    height: 22px;
    display: block;
    flex-shrink: 0;
}

.hero__rail-svg--bars {
    width: 20px;
    height: 20px;
}

.hero__rail-svg--swords {
    width: 24px;
    height: 24px;
}

.hero__rail-svg--timeline {
    width: 22px;
    height: 22px;
}

[dir="rtl"] .hero__rail {
    left: auto;
    right: max(10px, env(safe-area-inset-right, 0px));
}

@media (min-width: 520px) {
    .hero {
        padding-left: max(3.75rem, calc(env(safe-area-inset-left, 0px) + 3.25rem));
    }

    [dir="rtl"] .hero {
        padding-left: clamp(1rem, 4vw, 3rem);
        padding-right: max(3.75rem, calc(env(safe-area-inset-right, 0px) + 3.25rem));
    }
}

@media (max-width: 519px) {
    .hero {
        padding-left: max(2.85rem, calc(env(safe-area-inset-left, 0px) + 2.4rem));
    }

    [dir="rtl"] .hero {
        padding-left: clamp(0.95rem, 3vw, 2.5rem);
        padding-right: max(2.85rem, calc(env(safe-area-inset-right, 0px) + 2.4rem));
    }

    .hero__rail {
        width: 42px;
        left: max(6px, env(safe-area-inset-left, 0px));
    }

    .hero__rail-inner {
        gap: 0.55rem;
        padding: 0.5rem 0.28rem;
    }

    .hero__rail-btn {
        width: 30px;
        height: 30px;
    }

    .hero__rail-svg {
        width: 19px;
        height: 19px;
    }

    .hero__rail-svg--bars {
        width: 17px;
        height: 17px;
    }

    .hero__rail-svg--swords {
        width: 21px;
        height: 21px;
    }

    .hero__rail-svg--timeline {
        width: 19px;
        height: 19px;
    }
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.85rem, 2.2vh, 1.35rem);
    width: min(100%, 56rem);
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero__title-wrap {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    background: transparent;
    box-shadow: none;
}

.hero__title-wrap.is-glitch-ready {
    filter: none;
    backdrop-filter: none;
}

.hero__title {
    position: relative;
    margin: 0;
    color: #fff;
    font-weight: 900;
    font-size: clamp(calc(2.85rem + 20px), calc(6.2vw + 20px), calc(6rem + 20px));
    line-height: 0.92;
    letter-spacing: clamp(0.12rem, 0.95vw, 0.65rem);
    text-transform: uppercase;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.9);
}

.hero__title-glitch {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.2s ease;
    filter: none;
    box-shadow: none;
}

.hero__title-wrap.is-glitch-ready .hero__title {
    color: transparent;
    text-shadow: none;
    user-select: none;
}

.hero__title-wrap.is-glitch-ready .hero__title-glitch {
    opacity: 1;
}

/* HUD CTA — thin red frame, edge notches, mono label + red arrow (ref screenshot) */
.hero__cta {
    --cta-accent: #94A3B8;
    --cta-accent-hot: #CBD5E1;

    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: inherit;
    text-decoration: none;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__cta-frame {
    position: relative;
    display: inline-block;
}

.hero__cta-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.65rem, 1.8vw, 1rem);
    padding: 0.72rem clamp(1.2rem, 3.2vw, 1.85rem);
    border: 1px solid var(--cta-accent);
    border-radius: 5px;
    background: rgba(4, 3, 6, 0.52);
    box-shadow:
        0 0 14px rgba(148, 163, 184, 0.38),
        0 0 1px rgba(148, 163, 184, 0.9),
        inset 0 0 0 1px rgba(0, 0, 0, 0.35);
    transition:
        border-color 0.25s ease,
        box-shadow 0.28s ease;
}

.hero__cta-notch {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    pointer-events: none;
    background: var(--cta-accent);
    border-radius: 1px;
    box-shadow: 0 0 10px rgba(148, 163, 184, 0.9);
    transition: background 0.22s ease, box-shadow 0.22s ease;
}

.hero__cta-notch--left {
    left: -3px;
    width: 3px;
    height: 13px;
}

.hero__cta-notch--right {
    right: -4px;
    width: 4px;
    height: 15px;
    box-shadow: 0 0 14px rgba(148, 163, 184, 0.95);
}

.hero__cta-label {
    color: #fff;
    font-family: ui-monospace, "Cascadia Code", "Roboto Mono", Menlo, Consolas, monospace;
    font-weight: 600;
    font-size: clamp(0.58rem, 1.05vw, 0.7rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    line-height: 1.2;
}

.hero__cta-arrow {
    flex-shrink: 0;
    width: 1.15rem;
    height: auto;
    aspect-ratio: 22 / 16;
    color: var(--cta-accent);
    filter: drop-shadow(0 0 5px rgba(148, 163, 184, 0.75));
    transition: color 0.22s ease, filter 0.22s ease;
}

.hero__cta:hover {
    transform: translateY(-2px);
}

.hero__cta:focus-visible {
    transform: translateY(-2px);
    outline: 2px solid rgba(148, 163, 184, 0.8);
    outline-offset: 6px;
    border-radius: 6px;
}

.hero__cta:hover .hero__cta-inner,
.hero__cta:focus-visible .hero__cta-inner {
    border-color: var(--cta-accent-hot);
    box-shadow:
        0 0 22px rgba(148, 163, 184, 0.55),
        0 0 1px rgba(255, 74, 88, 0.95),
        inset 0 0 0 1px rgba(0, 0, 0, 0.28);
}

.hero__cta:hover .hero__cta-notch,
.hero__cta:focus-visible .hero__cta-notch {
    background: var(--cta-accent-hot);
    box-shadow: 0 0 14px rgba(255, 74, 88, 0.95);
}

.hero__cta:hover .hero__cta-arrow,
.hero__cta:focus-visible .hero__cta-arrow {
    color: var(--cta-accent-hot);
    filter: drop-shadow(0 0 8px rgba(255, 74, 88, 0.9));
}

.hero__cta:active {
    transform: translateY(0);
}

[dir="rtl"] .hero__cta-arrow {
    transform: scaleX(-1);
}

.hero__social,
.hero__scroll {
    position: absolute;
    bottom: max(20px, env(safe-area-inset-bottom, 0px));
    z-index: 2;
}

.hero__social {
    left: max(20px, env(safe-area-inset-left, 0px));
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.62rem;
    max-width: min(calc(100% - 7rem), 22rem);
}

.hero__social-link {
    width: 2.55rem;
    height: 2.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(245, 246, 250, 0.82);
    border: none;
    border-radius: 3px;
    background: rgba(8, 8, 12, 0.35);
    transition:
        transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
        color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.28s ease,
        filter 0.25s ease;
}

.hero__social-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    font-size: 1.375rem;
    line-height: 1;
    color: currentColor;
    vertical-align: middle;
}

.hero__social-link:hover,
.hero__social-link:focus-visible {
    color: #fff;
    background: rgba(148, 163, 184, 0.12);
    box-shadow:
        0 0 0 1px rgba(148, 163, 184, 0.35),
        0 0 22px rgba(148, 163, 184, 0.2);
    filter: drop-shadow(0 0 6px rgba(148, 163, 184, 0.35));
    transform: translateY(-3px);
    outline: none;
}

.hero__social-link--tg:hover,
.hero__social-link--tg:focus-visible {
    color: #5ebfff;
    box-shadow:
        0 0 0 1px rgba(94, 191, 255, 0.45),
        0 0 22px rgba(94, 191, 255, 0.2);
    filter: drop-shadow(0 0 8px rgba(94, 191, 255, 0.35));
}

.hero__social-link--spotify:hover,
.hero__social-link--spotify:focus-visible {
    color: #1ed760;
    box-shadow:
        0 0 0 1px rgba(30, 215, 96, 0.45),
        0 0 22px rgba(30, 215, 96, 0.18);
    filter: drop-shadow(0 0 8px rgba(30, 215, 96, 0.35));
}

.hero__social-link--apple:hover,
.hero__social-link--apple:focus-visible {
    color: #fc3c44;
    box-shadow:
        0 0 0 1px rgba(252, 60, 68, 0.4),
        0 0 22px rgba(252, 60, 68, 0.15);
    filter: drop-shadow(0 0 8px rgba(252, 60, 68, 0.3));
}

.hero__scroll {
    right: max(20px, env(safe-area-inset-right, 0px));
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    color: rgba(255, 255, 255, 0.67);
    text-decoration: none;
    letter-spacing: 0.24em;
    font-size: 0.52rem;
    text-transform: uppercase;
    animation: hero-scroll-bounce 1.8s ease-in-out infinite;
}

.hero__scroll-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    font-size: 1.2rem;
    line-height: 1;
    color: #94A3B8;
    filter: drop-shadow(0 0 6px rgba(148, 163, 184, 0.35));
    transition: color 0.22s ease, filter 0.22s ease;
    vertical-align: middle;
}

.hero__scroll:hover .hero__scroll-ico,
.hero__scroll:focus-visible .hero__scroll-ico {
    color: #CBD5E1;
    filter: drop-shadow(0 0 10px rgba(148, 163, 184, 0.55));
}

[dir="rtl"] .hero__social {
    left: auto;
    right: max(20px, env(safe-area-inset-right, 0px));
}

[dir="rtl"] .hero__scroll {
    right: auto;
    left: max(20px, env(safe-area-inset-left, 0px));
}

@keyframes hero-scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Mobile hero stack — title → CTA → social → scroll (desktop unchanged above 768px) */
@keyframes hero-m-fade-up {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes hero-m-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 980px) {
    .hero { padding-top: clamp(5rem, 12vh, 6.3rem); }
    .hero__title { letter-spacing: clamp(0.1rem, 0.75vw, 0.45rem); }
}

@media (max-width: 680px) {
    .hero {
        min-height: 100svh;
        padding: clamp(4rem, 8vh, 5rem) 0.95rem 5.8rem;
    }
    .hero__cta-label {
        font-size: 0.52rem;
        letter-spacing: 0.18em;
    }
    .hero__cta-inner {
        padding: 0.62rem 1rem;
        gap: 0.5rem;
    }
    .hero__cta-arrow {
        width: 1rem;
    }
    .hero__social-link {
        width: 2.25rem;
        height: 2.25rem;
    }

    .hero__social-ico {
        font-size: 1.2rem;
    }
    .hero__scroll { font-size: 0.5rem; letter-spacing: 0.16em; }
}

@media (max-width: 480px) {
    .hero__content { width: 100%; }
    .hero__title { font-size: clamp(calc(2.35rem + 20px), calc(14vw + 20px), calc(3.35rem + 20px)); }
    .hero__social { gap: 0.45rem; }
}

@media (max-width: 768px) {
    .hero {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        min-height: 100svh;
        min-height: 100dvh;
        padding: clamp(3.35rem, 10vh, 4.85rem) max(1rem, env(safe-area-inset-left, 0px)) max(1.35rem, env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-right, 0px));
        row-gap: clamp(0.75rem, 2.8vh, 1.35rem);
    }

    [dir="rtl"] .hero {
        padding-left: max(1rem, env(safe-area-inset-left, 0px));
        padding-right: max(1rem, env(safe-area-inset-right, 0px));
    }

    .hero__rail {
        display: none !important;
    }

    .hero__content {
        flex: 0 1 auto;
        width: 100%;
        max-width: 100%;
        margin-inline: 0;
        padding-inline: 0;
        gap: clamp(0.88rem, 2.6vh, 1.4rem);
    }

    .hero__title-wrap {
        animation: hero-m-fade-up 0.62s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
    }

    .hero__cta {
        animation: hero-m-fade-up 0.62s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
    }

    .hero__social {
        position: relative;
        inset: auto;
        left: auto !important;
        right: auto !important;
        bottom: auto;
        margin-top: clamp(0.25rem, 1.2vh, 0.65rem);
        padding-top: clamp(0.8rem, 2vh, 1.1rem);
        justify-content: center;
        align-self: center;
        max-width: 100%;
        width: 100%;
        gap: clamp(0.45rem, 2.2vw, 0.62rem);
        flex-wrap: wrap;
        border-top: 1px solid rgba(148, 163, 184, 0.18);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
        animation: hero-m-fade-up 0.62s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
    }

    [dir="rtl"] .hero__social {
        left: auto;
        right: auto;
    }

    .hero__scroll {
        position: relative;
        inset: auto;
        left: auto !important;
        right: auto !important;
        bottom: auto;
        align-self: center;
        margin-top: clamp(0.15rem, 0.9vh, 0.45rem);
        margin-bottom: max(0.25rem, env(safe-area-inset-bottom, 0px));
        /* opacity-only intro so bounce transform is not overridden */
        animation:
            hero-m-fade-in 0.55s ease 0.34s both,
            hero-scroll-bounce 1.85s ease-in-out 0.95s infinite;
    }

    [dir="rtl"] .hero__scroll {
        left: auto;
        right: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__scroll { animation: none; }

    @media (max-width: 768px) {
        .hero__title-wrap,
        .hero__cta,
        .hero__social {
            animation: none !important;
            opacity: 1;
            transform: none;
        }
        .hero__scroll {
            opacity: 1;
        }
    }
    .hero__cta,
    .hero__social-link { transition: none; }
    .hero__title-wrap.is-glitch-ready .hero__title {
        color: #fff;
        text-shadow: 0 0 1px rgba(0, 0, 0, 0.9);
        user-select: auto;
    }
    .hero__title-glitch { display: none; }
    .hero__rail-glitch {
        animation: none;
    }
}

/* ==========================================================================
   SIGNAL BOOST — transmission console
   ========================================================================== */
.signal {
    --sig-accent:      #94A3B8;
    --sig-accent-glow: rgba(148, 163, 184, 0.55);
    --sig-green:       #3afd7b;
    --sig-white:       #f5f5f5;
    --sig-muted:       rgba(245, 245, 245, 0.55);
    --sig-mute-2:      rgba(245, 245, 245, 0.32);
    --sig-line:        rgba(255, 255, 255, 0.12);
    --sig-line-2:      rgba(255, 255, 255, 0.06);
    --sig-pad-y:       clamp(3rem, 7vh, 5rem);
    --sig-gutter:      clamp(1.5rem, 5vw, 3.5rem);
    --sig-shell-gap:   clamp(1.75rem, 4vh, 2.75rem);
    --sig-art-size:    min(220px, 72%);
    --sig-console-pad: clamp(1.35rem, 2.6vw, 1.85rem);

    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding-block: max(var(--sig-pad-y), env(safe-area-inset-top, 0px)) max(var(--sig-pad-y), env(safe-area-inset-bottom, 0px));
    padding-inline: calc(var(--sig-gutter) + env(safe-area-inset-left, 0px)) calc(var(--sig-gutter) + env(safe-area-inset-right, 0px));
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-x: clip;
    isolation: isolate;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--sig-white);
    font-family: var(--font-sans);
    text-transform: uppercase;
    background: transparent;
}

/* ── Atmosphere ─────────────────────────────────────────── */
.signal__atmos {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.signal__glow {
    position: absolute;
    left: 50%;
    top: 42%;
    width: min(720px, 90%);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(148, 163, 184, 0.16) 0%, rgba(148, 163, 184, 0.05) 38%, transparent 68%);
    animation: signal-glow-breathe 8s ease-in-out infinite alternate;
}
.signal__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 75% 60% at 50% 45%, #000 20%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 45%, #000 20%, transparent 72%);
}
.signal__scan {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0,
        transparent 3px,
        rgba(0, 0, 0, 0.18) 3px,
        rgba(0, 0, 0, 0.18) 4px
    );
    opacity: 0.28;
    mix-blend-mode: multiply;
}

@keyframes signal-glow-breathe {
    from { opacity: 0.55; transform: translate(-50%, -50%) scale(0.92); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}

/* ── Corner marks ───────────────────────────────────────── */
.signal__mark {
    position: absolute;
    z-index: 5;
    font-size: 0.75rem;
    line-height: 1;
    color: rgba(148, 163, 184, 0.45);
    font-weight: 300;
    user-select: none;
    pointer-events: none;
}
.signal__mark--tl { top: max(22px, env(safe-area-inset-top, 22px)); left: max(22px, env(safe-area-inset-left, 22px)); }
.signal__mark--tr { top: max(22px, env(safe-area-inset-top, 22px)); right: max(22px, env(safe-area-inset-right, 22px)); }
.signal__mark--bl { bottom: max(22px, env(safe-area-inset-bottom, 22px)); left: max(22px, env(safe-area-inset-left, 22px)); }
.signal__mark--br { bottom: max(22px, env(safe-area-inset-bottom, 22px)); right: max(22px, env(safe-area-inset-right, 22px)); }

/* ── Shell ──────────────────────────────────────────────── */
.signal__shell {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1040px;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sig-shell-gap);
}

/* ── Header ─────────────────────────────────────────────── */
.signal__header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.7rem, 1.6vh, 1.15rem);
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.signal__eyebrow {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--sig-accent);
    font-size: clamp(0.58rem, 0.75vw, 0.68rem);
    letter-spacing: 0.48em;
    font-weight: 600;
    max-width: 100%;
}
.signal__eyebrow-text {
    white-space: nowrap;
}
.signal__eyebrow-line {
    width: clamp(24px, 5vw, 64px);
    height: 1px;
    flex: 0 0 auto;
    background: linear-gradient(90deg, transparent, var(--sig-accent), transparent);
}

.signal__title-frame {
    position: relative;
    display: inline-block;
    max-width: 100%;
    padding: clamp(0.6rem, 1.3vh, 0.95rem) clamp(1rem, 2.6vw, 2.2rem);
    line-height: 1;
    box-sizing: border-box;
}
.signal__title-bracket {
    position: absolute;
    width: clamp(12px, 1.3vw, 18px);
    height: clamp(12px, 1.3vw, 18px);
    border: 1.5px solid var(--sig-accent);
    pointer-events: none;
    filter: drop-shadow(0 0 5px rgba(148, 163, 184, 0.5));
}
.signal__title-bracket--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.signal__title-bracket--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.signal__title-bracket--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.signal__title-bracket--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.signal__title {
    margin: 0;
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(0.4rem, 1vw, 0.75rem);
    font-size: clamp(1.85rem, 4.8vw, 3.5rem);
    font-weight: 900;
    letter-spacing: 0.16em;
    line-height: 1.08;
    text-wrap: balance;
}
.signal__title-1 {
    color: var(--sig-white);
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.1);
}
.signal__title-2 {
    color: var(--sig-accent);
    text-shadow:
        0 0 18px rgba(148, 163, 184, 0.5),
        0 0 42px rgba(148, 163, 184, 0.22);
    animation: signal-title-flicker 7s linear infinite;
}
@keyframes signal-title-flicker {
    0%, 92%, 100% { opacity: 1; }
    93% { opacity: 0.82; }
    94% { opacity: 1; }
    96% { opacity: 0.75; }
    97% { opacity: 1; }
}

.signal__subtitle {
    margin: 0;
    max-width: min(42ch, 100%);
    font-size: clamp(0.6rem, 0.8vw, 0.72rem);
    letter-spacing: 0.36em;
    font-weight: 500;
    color: var(--sig-muted);
    line-height: 1.7;
    padding-inline: 0.25rem;
    box-sizing: border-box;
}

/* ── Deck layout ────────────────────────────────────────── */
.signal__deck {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 110px) minmax(0, 1fr) minmax(0, 110px);
    align-items: center;
    gap: clamp(0.85rem, 2.2vw, 1.75rem);
}

.signal__tel {
    display: flex;
    flex-direction: column;
    gap: 1.05rem;
    font-size: 0.5rem;
    letter-spacing: 0.26em;
    color: var(--sig-mute-2);
    line-height: 1.4;
    min-width: 0;
}
.signal__tel--left  { justify-self: start; text-align: start; }
.signal__tel--right { justify-self: end; text-align: end; }
[dir="rtl"] .signal__tel--left  { text-align: end; }
[dir="rtl"] .signal__tel--right { text-align: start; }

.signal__tel-line {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.signal__tel-line span {
    font-size: 0.46rem;
    letter-spacing: 0.34em;
    color: rgba(148, 163, 184, 0.55);
}
.signal__tel-line strong {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--sig-white);
    font-weight: 700;
}

/* Mobile telemetry — hidden on desktop, 2×2 grid on small screens */
.signal__tel-mobile {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.signal__tel-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    min-width: 0;
    padding: 0.4rem 0.55rem;
    border: 1px solid var(--sig-line);
    background: rgba(148, 163, 184, 0.05);
    font-size: 0.52rem;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--sig-white);
    white-space: nowrap;
    overflow: hidden;
}
.signal__tel-pill em {
    font-style: normal;
    font-weight: 600;
    color: var(--sig-muted);
    letter-spacing: 0.18em;
}

/* ── Console panel ──────────────────────────────────────── */
.signal__console {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: var(--sig-console-pad);
    box-sizing: border-box;
    overflow: hidden;

    background:
        linear-gradient(160deg, rgba(18, 26, 44, 0.78) 0%, rgba(2, 4, 8, 0.96) 52%, rgba(10, 15, 28, 0.9) 100%);
    border: 1px solid rgba(148, 163, 184, 0.32);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 18px 40px rgba(0, 0, 0, 0.42),
        0 0 48px rgba(148, 163, 184, 0.07);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vw, 1.4rem);
}
.signal__console::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    pointer-events: none;
    z-index: 0;
}

.signal__console-corner {
    position: absolute;
    width: clamp(18px, 2.2vw, 28px);
    height: clamp(18px, 2.2vw, 28px);
    border: 1.5px solid var(--sig-accent);
    pointer-events: none;
    z-index: 2;
    opacity: 0.8;
    filter: drop-shadow(0 0 6px rgba(148, 163, 184, 0.35));
}
.signal__console-corner--tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.signal__console-corner--tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.signal__console-corner--bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.signal__console-corner--br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

.signal__console-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--sig-line);
    font-size: 0.54rem;
    letter-spacing: 0.26em;
    font-weight: 700;
    color: var(--sig-muted);
    min-width: 0;
}
.signal__console-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    color: var(--sig-green);
    flex: 0 0 auto;
}
.signal__console-tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sig-green);
    box-shadow: 0 0 10px rgba(58, 253, 123, 0.75);
    animation: signal-dot-pulse 2.2s ease-in-out infinite;
}
.signal__console-id {
    color: var(--sig-mute-2);
    font-weight: 600;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@keyframes signal-dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.45; transform: scale(1.35); }
}

.signal__console-body {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(1.1rem, 2.8vw, 2rem);
    min-width: 0;
}

/* ── Product visual ─────────────────────────────────────── */
.signal__visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: clamp(176px, 26vw, 248px);
    overflow: hidden;
}

.signal__orbit {
    position: absolute;
    inset: 6%;
    display: grid;
    place-items: center;
    pointer-events: none;
}
.signal__orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.16);
}
.signal__orbit-ring--1 {
    width: 70%;
    height: 70%;
    animation: signal-orbit-spin 18s linear infinite;
}
.signal__orbit-ring--2 {
    width: 86%;
    height: 86%;
    border-style: dashed;
    opacity: 0.5;
    animation: signal-orbit-spin 28s linear infinite reverse;
}
.signal__orbit-ring--3 {
    width: 100%;
    height: 100%;
    opacity: 0.3;
}
@keyframes signal-orbit-spin {
    to { transform: rotate(360deg); }
}

.signal__art {
    position: relative;
    z-index: 2;
    width: var(--sig-art-size);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}
.signal__art--digital .signal__cover {
    width: 66%;
    z-index: 2;
}
.signal__art--physical .signal__cover {
    width: 74%;
}

.signal__vinyl {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 54%;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    transform: translate(0, -50%);
    background:
        repeating-radial-gradient(circle at 50% 50%,
            #1b1b1b 0, #1b1b1b 2px,
            #0c0c0c 2px, #0c0c0c 4px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 14px 32px -8px rgba(0, 0, 0, 0.85);
    animation: signal-vinyl-spin 10s linear infinite;
}
.signal__vinyl-hole {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 26%;
    height: 26%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--sig-accent);
    box-shadow: 0 0 0 2px #0c0c0c, inset 0 0 0 5px #0c0c0c;
}
@keyframes signal-vinyl-spin {
    to { transform: translate(0, -50%) rotate(360deg); }
}

.signal__cover {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 16px 40px -12px rgba(0, 0, 0, 0.85),
        0 0 0 1px rgba(148, 163, 184, 0.12);
}
.signal__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.signal__cover-ph {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--sig-mute-2);
    font-size: 2.4rem;
}

/* ── Readout + waveform ─────────────────────────────────── */
.signal__readout {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
    text-align: left;
}
[dir="rtl"] .signal__readout { text-align: right; }
[dir="rtl"] .signal__cta-arrow i { transform: scaleX(-1); }

.signal__note {
    margin: 0;
    font-size: 0.5rem;
    letter-spacing: 0.28em;
    font-weight: 700;
    color: var(--sig-accent);
    text-shadow: 0 0 12px rgba(148, 163, 184, 0.35);
}
.signal__name {
    margin: 0;
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    letter-spacing: 0.04em;
    font-weight: 800;
    color: var(--sig-white);
    line-height: 1.4;
    text-transform: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.signal__price {
    margin: 0.2rem 0 0;
    font-size: clamp(0.92rem, 1.4vw, 1.1rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--sig-accent);
}
.signal__price .woocommerce-Price-amount,
.signal__price bdi { color: var(--sig-accent); }

.signal__wave {
    position: relative;
    width: 100%;
    margin-top: 0.55rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--sig-line-2);
    overflow: hidden;
    line-height: 0;
}
.signal__waveform {
    display: block;
    width: 100%;
    height: 36px;
    color: var(--sig-accent);
    filter: drop-shadow(0 0 6px rgba(148, 163, 184, 0.3));
}
.signal__waveform-base { opacity: 0.45; }
.signal__waveform-bright {
    opacity: 0.95;
    stroke-dasharray: 120 9999;
    animation: signal-wave-scan 4s linear infinite;
    filter: drop-shadow(0 0 5px rgba(148, 163, 184, 0.65));
}
@keyframes signal-wave-scan {
    to { stroke-dashoffset: -9999; }
}
.signal__wave-playhead {
    position: absolute;
    top: 0.65rem;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--sig-accent), transparent);
    box-shadow: 0 0 8px rgba(148, 163, 184, 0.8);
    animation: signal-playhead 4s linear infinite;
}
@keyframes signal-playhead {
    from { left: 0; }
    to   { left: 100%; }
}

/* ── CTA button ─────────────────────────────────────────── */
.signal__cta {
    position: relative;
    z-index: 1;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
    min-height: 3.15rem;
    padding: 0.95rem 1.15rem;
    margin: 0;
    box-sizing: border-box;

    color: var(--sig-white);
    font-family: inherit;
    font-size: clamp(0.7rem, 1vw, 0.8rem);
    letter-spacing: 0.28em;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;

    background:
        linear-gradient(145deg, rgba(30, 41, 59, 0.88) 0%, rgba(2, 4, 8, 0.98) 55%, rgba(15, 23, 42, 0.94) 100%);
    border: 1px solid rgba(148, 163, 184, 0.46);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 10px 28px rgba(0, 0, 0, 0.4),
        0 0 24px rgba(148, 163, 184, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);

    transition:
        transform 0.35s var(--ease-out-expo),
        box-shadow 0.4s ease,
        border-color 0.35s ease,
        letter-spacing 0.35s ease;
}
.signal__cta-text {
    min-width: 0;
    text-align: center;
}
.signal__cta-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 38%,
        rgba(255, 255, 255, 0.12) 50%,
        transparent 62%
    );
    transform: translateX(-120%);
    transition: transform 0.65s var(--ease-out-expo);
    pointer-events: none;
}
.signal__cta-icon {
    display: inline-flex;
    font-size: 1.05rem;
    color: var(--sig-accent);
    filter: drop-shadow(0 0 8px rgba(148, 163, 184, 0.55));
    flex: 0 0 auto;
}
.signal__cta-arrow {
    display: inline-flex;
    font-size: 1rem;
    opacity: 0.7;
    flex: 0 0 auto;
    transition: transform 0.35s var(--ease-out-expo), opacity 0.35s ease;
}
.signal__cta:hover,
.signal__cta:focus-visible {
    border-color: rgba(148, 163, 184, 0.78);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 14px 36px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(148, 163, 184, 0.24);
    transform: translateY(-2px);
    letter-spacing: 0.32em;
    outline: none;
}
.signal__cta:hover .signal__cta-shine { transform: translateX(120%); }
.signal__cta:hover .signal__cta-arrow {
    opacity: 1;
    transform: translateX(4px);
}
[dir="rtl"] .signal__cta:hover .signal__cta-arrow {
    transform: scaleX(-1) translateX(4px);
}

/* ── Footer status (inside console) ─────────────────────── */
.signal__footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-top: 0.15rem;
    font-size: 0.52rem;
    letter-spacing: 0.28em;
    font-weight: 600;
    color: var(--sig-muted);
    box-sizing: border-box;
}
.signal__footer-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.signal__footer-eq {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    height: 12px;
    flex: 0 0 auto;
}
.signal__footer-eq i {
    display: block;
    width: 2px;
    height: 45%;
    background: var(--sig-accent);
    animation: signal-eq 1.15s ease-in-out infinite;
}
.signal__footer-eq i:nth-child(2) { animation-delay: 0.1s; height: 65%; }
.signal__footer-eq i:nth-child(3) { animation-delay: 0.2s; height: 100%; }
.signal__footer-eq i:nth-child(4) { animation-delay: 0.3s; height: 55%; }
.signal__footer-eq i:nth-child(5) { animation-delay: 0.4s; height: 80%; }
.signal__footer-eq i:nth-child(6) { animation-delay: 0.5s; height: 60%; }
@keyframes signal-eq {
    0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
    50%      { transform: scaleY(1); opacity: 1; }
}
.signal__footer-dot {
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--sig-green);
    box-shadow: 0 0 10px rgba(58, 253, 123, 0.7);
    animation: signal-dot-pulse 2.2s ease-in-out infinite;
}

/* ── Responsive — Signal Boost ─────────────────────────────── */

@media (max-width: 1200px) {
    .signal__deck {
        grid-template-columns: minmax(0, 88px) minmax(0, 1fr) minmax(0, 88px);
        gap: clamp(0.7rem, 1.8vw, 1.25rem);
    }
}

@media (max-width: 1024px) {
    .signal {
        --sig-art-size: min(196px, 62%);
    }
    .signal__title {
        font-size: clamp(1.7rem, 4.4vw, 3rem);
        letter-spacing: 0.14em;
    }
}

/* Tablet — drop side telemetry, keep 2-col product row */
@media (max-width: 960px) {
    .signal {
        --sig-gutter:    max(1.5rem, 5.5vw);
        --sig-pad-y:     clamp(2.25rem, 5.5vh, 3.5rem);
        --sig-shell-gap: clamp(1.35rem, 3.5vh, 2rem);
        --sig-art-size:  min(168px, 38vw);
        min-height: 0;
        align-items: center;
        justify-content: flex-start;
    }

    .signal__deck {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .signal__tel { display: none; }

    .signal__tel-mobile { display: grid; }

    .signal__console-body {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
        gap: clamp(0.9rem, 2.8vw, 1.4rem);
    }

    .signal__readout {
        text-align: start;
        align-items: flex-start;
    }
    [dir="rtl"] .signal__readout {
        text-align: end;
        align-items: flex-end;
    }

    .signal__visual {
        min-height: clamp(148px, 26vw, 200px);
    }

    .signal__subtitle {
        letter-spacing: 0.22em;
    }
}

/* Phones + small tablets — single column card */
@media (max-width: 720px) {
    .signal {
        --sig-gutter:      max(1.5rem, 6.5vw);
        --sig-console-pad: 1.15rem;
        --sig-art-size:    min(148px, 46vw);
        --sig-pad-y:       clamp(2rem, 5vh, 2.75rem);
        min-height: 0;
    }

    .signal__mark {
        font-size: 0.62rem;
        opacity: 0.65;
    }
    .signal__mark--tl,
    .signal__mark--bl { left: calc(var(--sig-gutter) + env(safe-area-inset-left, 0px)); }
    .signal__mark--tr,
    .signal__mark--br { right: calc(var(--sig-gutter) + env(safe-area-inset-right, 0px)); }

    .signal__eyebrow {
        gap: 0.55rem;
        letter-spacing: 0.28em;
    }
    .signal__eyebrow-line {
        width: clamp(16px, 4vw, 36px);
    }

    .signal__title-frame {
        padding: 0.5rem 0.75rem;
    }
    .signal__title {
        font-size: clamp(1.55rem, 7.2vw, 2.15rem);
        letter-spacing: 0.08em;
        flex-direction: column;
        align-items: center;
        gap: 0.12em;
    }

    .signal__subtitle {
        font-size: 0.56rem;
        letter-spacing: 0.14em;
        line-height: 1.6;
        padding-inline: 0.1rem;
    }

    .signal__console {
        padding: var(--sig-console-pad) 1rem 1.05rem;
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.04) inset,
            0 10px 24px rgba(0, 0, 0, 0.36);
    }
    .signal__console::before { inset: 6px; }
    .signal__console-corner {
        width: 14px;
        height: 14px;
        border-width: 1px;
    }
    .signal__console-corner--tl,
    .signal__console-corner--tr { top: 7px; }
    .signal__console-corner--bl,
    .signal__console-corner--br { bottom: 7px; }
    .signal__console-corner--tl,
    .signal__console-corner--bl { left: 7px; }
    .signal__console-corner--tr,
    .signal__console-corner--br { right: 7px; }

    .signal__console-head {
        font-size: 0.5rem;
        letter-spacing: 0.16em;
        padding-bottom: 0.65rem;
        gap: 0.5rem;
    }
    .signal__console-id {
        max-width: 52%;
        text-align: end;
    }
    [dir="rtl"] .signal__console-id { text-align: start; }

    .signal__console-body {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .signal__visual {
        min-height: 0;
        padding-block: 0.15rem;
    }

    .signal__orbit-ring--3 { display: none; }

    .signal__readout {
        text-align: center;
        align-items: center;
        width: 100%;
    }
    [dir="rtl"] .signal__readout {
        text-align: center;
        align-items: center;
    }

    .signal__name {
        max-width: 100%;
        -webkit-line-clamp: 3;
        font-size: clamp(1.05rem, 5vw, 1.25rem);
    }
    .signal__note {
        font-size: 0.48rem;
        letter-spacing: 0.16em;
    }
    .signal__price {
        font-size: clamp(0.9rem, 4vw, 1.02rem);
    }

    .signal__wave {
        max-width: min(360px, 100%);
        margin-inline: auto;
    }

    .signal__cta {
        gap: 0.55rem;
        padding: 0.9rem 0.85rem;
        letter-spacing: 0.16em;
        font-size: 0.68rem;
        min-height: 3rem;
        flex-wrap: nowrap;
    }
    .signal__cta:hover { letter-spacing: 0.18em; }

    .signal__footer {
        gap: 0.5rem;
        letter-spacing: 0.16em;
        font-size: 0.48rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .signal {
        --sig-gutter:      max(1.35rem, 7vw);
        --sig-console-pad: 1rem;
        --sig-art-size:    min(132px, 48vw);
        --sig-shell-gap:   1.15rem;
    }

    .signal__mark--tl,
    .signal__mark--tr { top: max(14px, env(safe-area-inset-top, 14px)); }
    .signal__mark--bl,
    .signal__mark--br { bottom: max(14px, env(safe-area-inset-bottom, 14px)); }

    .signal__eyebrow-line:last-child { display: none; }
    .signal__eyebrow-text {
        letter-spacing: 0.22em;
        font-size: 0.52rem;
    }

    .signal__title {
        font-size: clamp(1.4rem, 8vw, 1.75rem);
        letter-spacing: 0.06em;
    }
    .signal__title-bracket {
        width: 10px;
        height: 10px;
        border-width: 1px;
    }

    .signal__subtitle {
        letter-spacing: 0.1em;
        font-size: 0.52rem;
    }

    .signal__tel-pill {
        font-size: 0.46rem;
        padding: 0.35rem 0.45rem;
        letter-spacing: 0.08em;
    }

    .signal__waveform { height: 28px; }

    .signal__cta-icon,
    .signal__cta-arrow { font-size: 0.95rem; }
}

/* Ultra-small phones */
@media (max-width: 360px) {
    .signal {
        --sig-gutter:      1.25rem;
        --sig-pad-y:       1.65rem;
        --sig-art-size:    min(118px, 52vw);
    }

    .signal__title { font-size: 1.28rem; }
    .signal__cta {
        font-size: 0.6rem;
        letter-spacing: 0.1em;
        min-height: 2.85rem;
        gap: 0.4rem;
        padding-inline: 0.65rem;
    }
    .signal__console-tag,
    .signal__console-id { font-size: 0.46rem; }
}

/* Short landscape */
@media (max-height: 620px) and (orientation: landscape) {
    .signal {
        --sig-gutter:    max(1.35rem, 4vw);
        --sig-pad-y:     clamp(1rem, 3vh, 1.4rem);
        --sig-shell-gap: 0.85rem;
        --sig-art-size:  min(118px, 22vh);
        min-height: 0;
        height: auto;
    }

    .signal__header { gap: 0.4rem; }
    .signal__title {
        font-size: clamp(1.3rem, 4.4vh, 1.9rem);
        flex-direction: row;
        letter-spacing: 0.1em;
    }
    .signal__subtitle {
        font-size: 0.5rem;
        letter-spacing: 0.16em;
    }

    .signal__console-body {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: 0.9rem;
    }
    .signal__visual { min-height: 0; }
    .signal__readout {
        text-align: start;
        align-items: flex-start;
    }
    [dir="rtl"] .signal__readout {
        text-align: end;
        align-items: flex-end;
    }
    .signal__wave { margin-top: 0.3rem; padding-top: 0.4rem; }
    .signal__waveform { height: 26px; }
    .signal__cta { min-height: 2.7rem; padding: 0.7rem 0.9rem; }
}

@media (max-width: 900px) and (max-height: 460px) and (orientation: landscape) {
    .signal__eyebrow-line { display: none; }
    .signal__title-frame { padding: 0.3rem 0.65rem; }
    .signal__orbit-ring--2,
    .signal__vinyl { animation-duration: 14s; }
}

@media (hover: none) and (pointer: coarse) {
    .signal__cta {
        min-height: 3rem;
        -webkit-tap-highlight-color: transparent;
    }
    .signal__cta:hover,
    .signal__cta:focus-visible {
        transform: none;
        letter-spacing: 0.16em;
    }
    .signal__cta:hover .signal__cta-arrow { transform: none; }
    .signal__cta:active {
        transform: scale(0.985);
        border-color: rgba(148, 163, 184, 0.85);
    }
}

@media (prefers-reduced-motion: reduce) {
    .signal__glow,
    .signal__title-2,
    .signal__orbit-ring,
    .signal__vinyl,
    .signal__waveform-bright,
    .signal__wave-playhead,
    .signal__console-tag-dot,
    .signal__footer-eq i,
    .signal__footer-dot {
        animation: none !important;
    }
    .signal__cta:hover { transform: none; letter-spacing: inherit; }
    .signal__cta-shine { display: none; }
}

/* ==========================================================================
   MUSIC VIDEOS — YouTube grid
   ========================================================================== */
.mv {
    --mv-accent:   #94A3B8;
    --mv-white:    #f5f5f5;
    --mv-muted:    rgba(245, 245, 245, 0.55);
    --mv-line:     rgba(255, 255, 255, 0.12);
    --mv-frame:    rgba(255, 255, 255, 0.18);

    position: relative;
    width: 100%;
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3.5rem);
    box-sizing: border-box;
    color: var(--mv-white);
    font-family: var(--font-sans);
    text-transform: uppercase;
    overflow: hidden;
}

.mv__mark {
    position: absolute;
    font-size: 0.75rem;
    line-height: 1;
    color: rgba(148, 163, 184, 0.45);
    font-weight: 300;
    user-select: none;
    pointer-events: none;
    z-index: 2;
}

.mv__mark--tl { top: clamp(1rem, 2vw, 1.5rem); left: clamp(1rem, 2vw, 1.5rem); }
.mv__mark--tr { top: clamp(1rem, 2vw, 1.5rem); right: clamp(1rem, 2vw, 1.5rem); }
.mv__mark--bl { bottom: clamp(1rem, 2vw, 1.5rem); left: clamp(1rem, 2vw, 1.5rem); }
.mv__mark--br { bottom: clamp(1rem, 2vw, 1.5rem); right: clamp(1rem, 2vw, 1.5rem); }

.mv__header {
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.mv__title {
    margin: 0;
    font-size: clamp(1.35rem, 3.2vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.28em;
    color: var(--mv-white);
}

.mv__grid {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vw, 1.35rem);
    max-width: 1180px;
    margin: 0 auto;
}

.mv__row--top {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.35rem);
}

.mv__row--bottom {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.35rem);
}

.mv-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--mv-line);
    border-radius: 14px;
    background: rgba(2, 4, 8, 0.55);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease-out-expo);
}

.mv-card:hover,
.mv-card:focus-within {
    border-color: rgba(148, 163, 184, 0.35);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38);
    transform: translateY(-3px);
}

.mv-card__media {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: #0a1018;
    cursor: pointer;
    overflow: hidden;
}

.mv-card--lg .mv-card__media {
    aspect-ratio: 16 / 10;
}

.mv-card--sm .mv-card__media {
    aspect-ratio: 16 / 11;
}

.mv-card__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.85) contrast(1.05) brightness(0.88);
    transition: transform 0.45s var(--ease-out-expo), filter 0.35s ease;
}

.mv-card__media:hover .mv-card__thumb,
.mv-card__media:focus-visible .mv-card__thumb {
    transform: scale(1.04);
    filter: saturate(0.95) contrast(1.05) brightness(0.95);
}

.mv-card__play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.28);
    transition: background 0.3s ease;
}

.mv-card__play i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(2.6rem, 5vw, 3.4rem);
    height: clamp(2.6rem, 5vw, 3.4rem);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: transform 0.3s var(--ease-out-expo), background 0.3s ease;
}

.mv-card__media:hover .mv-card__play,
.mv-card__media:focus-visible .mv-card__play {
    background: rgba(0, 0, 0, 0.42);
}

.mv-card__media:hover .mv-card__play i,
.mv-card__media:focus-visible .mv-card__play i {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.22);
}

.mv-card__body {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    padding: clamp(0.85rem, 1.6vw, 1.1rem) clamp(0.9rem, 1.8vw, 1.15rem);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mv-card__copy {
    min-width: 0;
    flex: 1;
}

.mv-card__label {
    margin: 0 0 0.35rem;
    font-size: clamp(0.58rem, 1vw, 0.68rem);
    letter-spacing: 0.18em;
    color: var(--mv-muted);
}

.mv-card__name {
    margin: 0;
    font-size: clamp(0.78rem, 1.4vw, 0.95rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.35;
    color: var(--mv-white);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mv-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border: 1px solid var(--mv-frame);
    border-radius: 6px;
    color: var(--mv-white);
    text-decoration: none;
    transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.mv-card__arrow:hover,
.mv-card__arrow:focus-visible {
    border-color: var(--mv-accent);
    background: rgba(148, 163, 184, 0.12);
    color: #fff;
}

.mv__footer {
    display: flex;
    justify-content: center;
    margin-top: clamp(2rem, 4vw, 3rem);
}

.mv__view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 1.35rem;
    border: 1px solid var(--mv-frame);
    border-radius: 999px;
    color: var(--mv-white);
    font-size: clamp(0.68rem, 1.1vw, 0.78rem);
    letter-spacing: 0.16em;
    text-decoration: none;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease-out-expo);
}

.mv__view-all:hover,
.mv__view-all:focus-visible {
    border-color: var(--mv-accent);
    background: rgba(148, 163, 184, 0.1);
    transform: translateY(-2px);
}

/* Video modal */
.mv-modal {
    position: fixed;
    inset: 0;
    z-index: 11050;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: max(1rem, env(safe-area-inset-top, 0px)) max(1rem, env(safe-area-inset-right, 0px)) max(1rem, env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mv-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mv-modal[hidden] {
    display: none !important;
}

.mv-modal__backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: auto;
}

.mv-modal__box {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    background: #020408;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    pointer-events: auto;
}

.mv-modal__close {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    cursor: pointer;
    transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.mv-modal__close:hover,
.mv-modal__close:focus-visible {
    border-color: var(--mv-accent);
    color: var(--mv-accent);
    background: rgba(148, 163, 184, 0.12);
}

.mv-modal__player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.mv-modal__iframe {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}

body.jaaweed-mv-open {
    overflow: hidden;
}

/* ── Responsive: Music Videos ───────────────────────────────────── */

/* Large tablet */
@media (max-width: 1100px) {
    .mv__grid {
        max-width: 960px;
    }

    .mv__title {
        letter-spacing: 0.22em;
    }
}

/* Tablet — stack hero row, adaptive bottom grid */
@media (max-width: 960px) {
    .mv {
        padding:
            clamp(2rem, 5vh, 3rem)
            clamp(1.15rem, 4vw, 2rem)
            clamp(2.25rem, 5vh, 3.25rem);
    }

    .mv__header {
        margin-bottom: clamp(1.75rem, 4vh, 2.5rem);
    }

    .mv__title {
        font-size: clamp(1.2rem, 4.5vw, 1.65rem);
        letter-spacing: 0.2em;
    }

    .mv__grid {
        gap: clamp(1.25rem, 3vh, 1.75rem);
    }

    .mv__row--top {
        grid-template-columns: 1fr;
        gap: clamp(1rem, 2.5vh, 1.35rem);
        max-width: 560px;
        margin-inline: auto;
        width: 100%;
    }

    .mv__row--top > .mv-card:only-child {
        max-width: 100%;
    }

    .mv__row--bottom {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
        justify-content: center;
        gap: clamp(0.85rem, 2vw, 1.15rem);
    }

    .mv-card--lg .mv-card__media {
        aspect-ratio: 16 / 9;
    }

    .mv-card--sm .mv-card__media {
        aspect-ratio: 16 / 10;
    }
}

/* Medium — horizontal snap carousel for bottom row */
@media (max-width: 768px) {
    .mv__mark {
        font-size: 0.65rem;
        opacity: 0.7;
    }

    .mv__row--top {
        max-width: none;
    }

    .mv__row--bottom {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 0.85rem;
        padding:
            0 clamp(0.15rem, 1vw, 0.35rem)
            0.65rem;
        margin-inline: calc(-1 * clamp(0.15rem, 1vw, 0.35rem));
        scroll-snap-type: x mandatory;
        scroll-padding-inline: clamp(0.15rem, 1vw, 0.35rem);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .mv__row--bottom::-webkit-scrollbar {
        display: none;
    }

    .mv__row--bottom > .mv-card {
        flex: 0 0 min(72vw, 280px);
        scroll-snap-align: start;
        max-width: 280px;
    }

    .mv-card__name {
        font-size: clamp(0.72rem, 3.2vw, 0.88rem);
        -webkit-line-clamp: 3;
    }

    .mv-card__arrow {
        width: 2.35rem;
        height: 2.35rem;
    }

    .mv__view-all {
        width: min(100%, 320px);
        justify-content: center;
    }

    .mv-modal__box {
        width: 100%;
        border-radius: 8px;
    }

    .mv-modal__close {
        top: max(0.5rem, env(safe-area-inset-top, 0.5rem));
        right: max(0.5rem, env(safe-area-inset-right, 0.5rem));
        width: 2.35rem;
        height: 2.35rem;
    }
}

/* Mobile — single column, centered, touch-first */
@media (max-width: 600px) {
    .mv {
        padding:
            clamp(1.75rem, 4vh, 2.5rem)
            clamp(0.85rem, 4vw, 1.15rem)
            clamp(2rem, 4vh, 2.75rem);
    }

    .mv__mark--tl,
    .mv__mark--tr { top: 0.75rem; }
    .mv__mark--bl,
    .mv__mark--br { bottom: 0.75rem; }
    .mv__mark--tl,
    .mv__mark--bl { left: 0.75rem; }
    .mv__mark--tr,
    .mv__mark--br { right: 0.75rem; }

    .mv__title {
        font-size: clamp(1.05rem, 5.5vw, 1.35rem);
        letter-spacing: 0.14em;
        padding-inline: 0.5rem;
    }

    .mv__grid {
        gap: 1.15rem;
    }

    .mv__row--top,
    .mv__row--bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow: visible;
        margin-inline: 0;
        padding: 0;
        scroll-snap-type: none;
        gap: 0.85rem;
    }

    .mv__row--top > .mv-card,
    .mv__row--bottom > .mv-card {
        flex: none;
        width: 100%;
        max-width: 400px;
        scroll-snap-align: none;
    }

    .mv-card {
        border-radius: 12px;
    }

    .mv-card--lg .mv-card__media,
    .mv-card--sm .mv-card__media {
        aspect-ratio: 16 / 9;
    }

    .mv-card__body {
        align-items: center;
        padding: 0.9rem 1rem;
    }

    .mv-card__copy {
        text-align: left;
    }

    .mv-card__play i {
        width: 3.1rem;
        height: 3.1rem;
        font-size: 1.35rem;
    }

    .mv__footer {
        margin-top: clamp(1.5rem, 4vh, 2.25rem);
    }

    .mv__view-all {
        width: 100%;
        max-width: 400px;
        padding: 0.85rem 1.25rem;
        font-size: 0.72rem;
    }

    .mv-modal {
        padding:
            max(0.5rem, env(safe-area-inset-top, 0px))
            max(0.35rem, env(safe-area-inset-right, 0px))
            max(0.5rem, env(safe-area-inset-bottom, 0px))
            max(0.35rem, env(safe-area-inset-left, 0px));
    }

    .mv-modal__box {
        border-radius: 6px;
    }
}

/* Small phones */
@media (max-width: 400px) {
    .mv__title {
        letter-spacing: 0.1em;
    }

    .mv__row--top > .mv-card,
    .mv__row--bottom > .mv-card {
        max-width: none;
    }

    .mv-card__label {
        font-size: 0.55rem;
        letter-spacing: 0.14em;
    }

    .mv-card__name {
        font-size: 0.72rem;
        letter-spacing: 0.04em;
    }

    .mv-card__arrow {
        width: 2.1rem;
        height: 2.1rem;
    }
}

/* Landscape phones — keep modal usable */
@media (max-height: 500px) and (orientation: landscape) {
    .mv-modal {
        align-items: flex-start;
        padding-top: max(0.35rem, env(safe-area-inset-top, 0px));
    }

    .mv-modal__box {
        max-height: calc(100dvh - 1rem);
        display: flex;
        flex-direction: column;
    }

    .mv-modal__player {
        aspect-ratio: auto;
        height: min(70dvh, calc(100dvh - 3rem));
    }
}

/* Touch devices — no hover lift, active feedback */
@media (hover: none), (pointer: coarse) {
    .mv-card:hover,
    .mv-card:focus-within {
        transform: none;
        box-shadow: none;
    }

    .mv-card:active {
        transform: scale(0.985);
        border-color: rgba(148, 163, 184, 0.28);
    }

    .mv-card__media:hover .mv-card__thumb,
    .mv-card__media:focus-visible .mv-card__thumb {
        transform: none;
    }

    .mv__view-all:hover,
    .mv__view-all:focus-visible {
        transform: none;
    }

    .mv__view-all:active {
        transform: scale(0.98);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mv-card,
    .mv-card__thumb,
    .mv-card__play i,
    .mv__view-all,
    .mv-modal {
        transition: none;
    }
}
