@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    /* Café Crossroads / Reze default */
    --bg: #08050f;
    --bg-deep: #0d0718;
    --surface: #151023;
    --surface-raised: #1b1330;
    --surface-soft: rgba(255, 255, 255, 0.035);
    --line: rgba(205, 164, 255, 0.18);
    --line-soft: rgba(205, 164, 255, 0.1);
    --text: #f8f1ff;
    --text-soft: #d4c8e2;
    --muted: #9686a9;
    --text-muted: #9686a9;
    --accent: #e44bff;
    --accent-deep: #b42de2;
    --accent-soft: rgba(228, 75, 255, 0.13);
    --signal: #9c8cff;
    --signal-soft: rgba(156, 140, 255, 0.12);
    --success: #8ff0a9;
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
    --mode-image-overlay: rgba(12, 5, 24, 0.08);
    --mode-gradient: radial-gradient(circle at 78% 14%, rgba(228, 75, 255, 0.15), transparent 31%), radial-gradient(circle at 7% 69%, rgba(97, 92, 255, 0.12), transparent 28%);
    --font-body: 'DM Sans', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
    --max-width: 1180px;
}

/* Bomb Devil alternate palette */
body.bomb-mode {
    --bg: #100706;
    --bg-deep: #1b0906;
    --surface: #21100c;
    --surface-raised: #2d130d;
    --surface-soft: rgba(255, 239, 222, 0.04);
    --line: rgba(255, 142, 68, 0.23);
    --line-soft: rgba(255, 142, 68, 0.13);
    --text: #fff4e7;
    --text-soft: #f0c7ad;
    --muted: #b58670;
    --text-muted: #b58670;
    --accent: #ff7c2f;
    --accent-deep: #e54d1b;
    --accent-soft: rgba(255, 124, 47, 0.14);
    --signal: #ffb37d;
    --signal-soft: rgba(255, 179, 125, 0.12);
    --success: #ffd166;
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.48);
    --mode-image-overlay: rgba(31, 7, 2, 0.08);
    --mode-gradient: radial-gradient(circle at 77% 13%, rgba(255, 124, 47, 0.17), transparent 30%), radial-gradient(circle at 8% 71%, rgba(206, 41, 22, 0.13), transparent 28%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); transition: background 220ms ease; }
body { background: transparent; color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; transition: color 220ms ease; }
body, button, a { -webkit-font-smoothing: antialiased; }
main { position: relative; z-index: 2; }
.ambient-mode-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: transparent; }
.ambient-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 650ms var(--ease); pointer-events: none; }
.ambient-overlay { position: absolute; inset: 0; pointer-events: none; z-index: 1; background: linear-gradient(rgba(8, 5, 15, 0.42), rgba(8, 5, 15, 0.82)); transition: background 650ms var(--ease); }
body.cafe-mode .ambient-video.cafe-video, body:not(.bomb-mode) .ambient-video.cafe-video { opacity: 0.72; }
body.bomb-mode .ambient-video.bomb-video { opacity: 0.72; }
body.bomb-mode .ambient-overlay { background: linear-gradient(rgba(16, 7, 6, 0.42), rgba(16, 7, 6, 0.84)); }
.ambient-mode-bg::before, .ambient-mode-bg::after { content: ''; position: absolute; inset: 0; background-position: center; background-repeat: no-repeat; background-size: cover; opacity: 0; z-index: -1; transition: opacity 650ms var(--ease); }
.ambient-mode-bg::before { background-image: linear-gradient(rgba(8, 5, 15, 0.55), rgba(8, 5, 15, 0.85)), url('cafe-bg.gif'); }
.ambient-mode-bg::after { background-image: linear-gradient(rgba(16, 7, 6, 0.55), rgba(16, 7, 6, 0.88)), url('bomb-bg.gif'); }
body.cafe-mode .ambient-mode-bg::before, body:not(.bomb-mode) .ambient-mode-bg::before { opacity: 0.35; }
body.bomb-mode .ambient-mode-bg::after { opacity: 0.35; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

.site-noise { position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: 0.045; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 100; background: var(--accent); transition: width 120ms linear; }
.mode-flash { position: fixed; inset: 0; z-index: 55; pointer-events: none; background: var(--accent); opacity: 0; }
.mode-flash.active { animation: mode-flash 460ms var(--ease) forwards; }
@keyframes mode-flash { 0% { opacity: 0.25; } 100% { opacity: 0; } }
body.mode-shake { animation: mode-shake 460ms cubic-bezier(.36,.07,.19,.97) both; }
@keyframes mode-shake { 10%, 90% { transform: translate3d(-1px, 0, 0); } 20%, 80% { transform: translate3d(1px, 0, 0); } 30%, 50%, 70% { transform: translate3d(-2px, 0, 0); } 40%, 60% { transform: translate3d(2px, 0, 0); } }
.section-shell, .header-shell, .footer-shell { width: min(var(--max-width), calc(100% - 72px)); margin: 0 auto; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 40; border-bottom: 1px solid transparent; transition: background 200ms ease, border-color 200ms ease, backdrop-filter 200ms ease; }
.site-header.scrolled { background: color-mix(in srgb, var(--bg) 86%, transparent); border-color: var(--line-soft); backdrop-filter: blur(18px); }
.header-shell { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 215px; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: -1px; }
.brand-copy { display: flex; flex-direction: column; gap: 0; line-height: 1.1; }
.brand-copy strong { font-size: 13px; font-weight: 600; letter-spacing: -0.02em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-link { color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; transition: color 180ms ease; }
.nav-link:hover, .nav-link.active { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.mode-switch { min-height: 34px; display: inline-flex; align-items: center; gap: 9px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface-soft); color: var(--text-soft); cursor: pointer; user-select: none; transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease; }
.mode-switch:hover, .mode-switch:focus-visible { border-color: var(--accent); background: var(--accent-soft); color: var(--text); transform: translateY(-1px); }
.mode-name { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap; }
.cafe-mode-name { color: var(--text); }
.bomb-mode-name { color: var(--muted); opacity: 0.55; }
body.bomb-mode .cafe-mode-name { color: var(--muted); opacity: 0.55; }
body.bomb-mode .bomb-mode-name { color: var(--accent); opacity: 1; }
.mode-rail { position: relative; width: 30px; height: 11px; display: inline-flex; align-items: center; flex: 0 0 auto; }
.mode-rail::before { content: ''; width: 100%; height: 3px; border-radius: 99px; background: color-mix(in srgb, var(--text) 28%, transparent); }
.mode-ring { position: absolute; left: 0; width: 12px; height: 12px; border: 2px solid var(--text); border-radius: 50%; background: var(--bg); box-shadow: 0 0 9px color-mix(in srgb, var(--accent) 62%, transparent); transition: left 300ms var(--ease), border-color 220ms ease, background 220ms ease; }
body.bomb-mode .mode-ring { left: calc(100% - 12px); border-color: var(--accent); background: var(--bg-deep); }
.mode-readout { color: var(--muted); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.04em; white-space: nowrap; }
.icon-button { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line-soft); border-radius: 50%; background: var(--surface-soft); color: var(--text-soft); cursor: pointer; transition: color 180ms ease, border-color 180ms ease, transform 180ms ease, background 180ms ease; }
.icon-button:hover { color: var(--text); border-color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }
.icon-button i { font-size: 18px; }
.header-cta { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; }
.header-cta i { color: var(--accent); font-size: 16px; transition: transform 180ms var(--ease); }
.header-cta:hover i { transform: translate(3px, -3px); }
.menu-toggle, .mobile-nav { display: none; }

/* Typography and reusable layout */
.section { padding: 132px 0 0; }
.eyebrow, .card-label, .project-number, .stack-category, .timeline-type { color: var(--accent); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 21px; }
.status-dot { width: 7px; height: 7px; display: inline-block; flex: 0 0 auto; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 12%, transparent); }
.eyebrow-divider { color: var(--line); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.045em; line-height: 1.02; }
h2 { max-width: 670px; font-size: clamp(42px, 6vw, 72px); }
.section-heading { margin-bottom: 58px; }
.section-intro { max-width: 390px; color: var(--text-soft); font-size: 16px; line-height: 1.7; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-heading-row .section-intro { margin-bottom: 4px; }
.body-copy, .project-description, .principle p, .timeline-row p, .contact-shell p { color: var(--text-soft); font-size: 15px; line-height: 1.75; }
.surface-card, .project-card { border: 1px solid var(--line-soft); background: var(--surface); box-shadow: var(--shadow); }
.surface-card { border-radius: 4px; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 152px; padding-bottom: 92px; position: relative; }
body.bomb-mode .hero h1 em, body.bomb-mode .project-kicker { text-shadow: 0 0 22px rgba(255, 124, 47, 0.18); }
body.bomb-mode .hero-image-card { box-shadow: 0 18px 70px rgba(113, 26, 6, 0.34); }
.hero::after { content: 'REZE_OS // GUEST_SESSION'; position: absolute; right: 0; bottom: 29px; color: var(--muted); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; opacity: 0.78; }
body.bomb-mode .hero::after { content: 'BOMB_DEVIL_CORE // VOLATILE'; color: var(--accent); }
.hero-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 0.93fr) minmax(420px, 0.77fr); align-items: center; gap: clamp(48px, 8vw, 130px); }
.hero-copy { max-width: 640px; }
.hero h1 { max-width: 690px; font-size: clamp(58px, 7.4vw, 104px); }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-description { max-width: 510px; margin-top: 28px; color: var(--text-soft); font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 19px; border: 1px solid var(--line); border-radius: 3px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.02em; transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease; }
.button i { font-size: 17px; }
.button:hover { transform: translateY(-2px); }
.button-primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.button-primary:hover { border-color: var(--accent-deep); background: var(--accent-deep); }
.button-ghost { color: var(--text-soft); background: transparent; }
.button-ghost:hover { color: var(--text); border-color: var(--accent); background: var(--accent-soft); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 62px; padding-top: 20px; border-top: 1px solid var(--line-soft); color: var(--muted); font-family: var(--font-mono); font-size: 10px; line-height: 1.6; text-transform: uppercase; letter-spacing: 0.06em; }
.hero-meta span { display: flex; flex-direction: column; gap: 4px; }
.hero-meta strong { color: var(--text-soft); font-weight: 500; }
.hero-visual { position: relative; }
.hero-image-card { position: relative; padding: 12px; background: var(--surface); border: 1px solid var(--line); transform: rotate(2.5deg); box-shadow: var(--shadow); transition: transform 300ms var(--ease); }
.hero-image-card:hover { transform: rotate(0deg) translateY(-5px); }
.hero-image-frame { aspect-ratio: 1.04 / 1; overflow: hidden; position: relative; background: #24152f; }
.mode-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; filter: saturate(0.88) contrast(1.02); transition: opacity 550ms var(--ease), transform 700ms var(--ease), filter 300ms ease; }
.cafe-image { opacity: 1; }
body.bomb-mode .cafe-image { opacity: 0; }
body.bomb-mode .bomb-image { opacity: 1; }
.hero-image-card:hover .mode-image { transform: scale(1.04); filter: saturate(1.06) contrast(1.04); }
.image-gradient { position: absolute; inset: 0; background: linear-gradient(180deg, var(--mode-image-overlay), color-mix(in srgb, var(--bg) 78%, transparent)); pointer-events: none; }
.image-index, .image-caption, .hero-mode-chip { position: absolute; z-index: 1; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; }
.hero-mode-chip { top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid rgba(255,255,255,0.22); background: rgba(8, 5, 15, 0.34); color: #fff; font-size: 9px; letter-spacing: 0.06em; backdrop-filter: blur(7px); }
body.bomb-mode .hero-mode-chip { background: rgba(38, 8, 3, 0.42); }
.hero-mode-chip .status-dot { width: 5px; height: 5px; box-shadow: none; }
.image-index { top: 18px; left: 18px; color: rgba(255,255,255,0.85); letter-spacing: 0.08em; }
.image-caption { right: 18px; bottom: 16px; max-width: 160px; color: #fff; line-height: 1.4; text-align: right; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; z-index: 2; margin: -22px 24px 0; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 94%, transparent); box-shadow: var(--shadow); }
.stat-card { min-height: 84px; display: flex; flex-direction: column; justify-content: center; padding: 12px 14px; border-right: 1px solid var(--line-soft); }
.stat-card:last-child { border-right: 0; }
.stat-card strong { color: var(--accent); font-family: var(--font-display); font-size: 23px; letter-spacing: -0.06em; }
.stat-card span { color: var(--muted); font-family: var(--font-mono); font-size: 9px; line-height: 1.3; text-transform: uppercase; }
.scroll-cue { position: absolute; bottom: 28px; left: 0; display: flex; align-items: center; gap: 9px; color: var(--muted); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.scroll-cue i { color: var(--accent); font-size: 17px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; grid-template-rows: 1fr auto; gap: 16px; }
.about-main { grid-row: span 2; min-height: 430px; display: flex; flex-direction: column; padding: clamp(28px, 5vw, 58px); }
.card-label { color: var(--muted); }
.large-copy { max-width: 600px; margin: auto 0 26px; color: var(--text); font-family: var(--font-display); font-size: clamp(28px, 3.1vw, 44px); letter-spacing: -0.045em; line-height: 1.13; }
.about-main .body-copy { max-width: 570px; }
.card-footnote { display: flex; align-items: center; gap: 9px; margin-top: 38px; padding-top: 18px; border-top: 1px solid var(--line-soft); color: var(--muted); font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; }
.signal-card, .stack-card { padding: 30px; }
.signal-card { min-height: 250px; display: flex; flex-direction: column; }
.signal-card h3 { margin: 33px 0 20px; font-size: clamp(28px, 3vw, 41px); }
.signal-card h3 span { color: var(--signal); }
.signal-card p { margin-top: auto; color: var(--muted); font-size: 13px; line-height: 1.6; }
.signal-mark { display: flex; align-items: end; gap: 5px; height: 32px; }
.signal-mark span { width: 5px; display: block; background: var(--signal); }
.signal-mark span:nth-child(1) { height: 12px; opacity: 0.35; }
.signal-mark span:nth-child(2) { height: 21px; opacity: 0.55; }
.signal-mark span:nth-child(3) { height: 32px; }
.signal-mark span:nth-child(4) { height: 20px; opacity: 0.65; }
.signal-mark span:nth-child(5) { height: 11px; opacity: 0.4; }
.stack-card { min-height: 210px; }
.stack-groups { display: grid; gap: 20px; margin-top: 29px; }
.stack-category { display: block; color: var(--accent); font-size: 10px; }
.stack-groups p { margin-top: 7px; color: var(--text-soft); font-size: 14px; line-height: 1.6; }

/* Projects */
.section-projects { margin-top: 132px; padding: 130px 0 132px; background: color-mix(in srgb, var(--bg-deep) 68%, transparent); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.project-card { min-height: 380px; display: flex; flex-direction: column; padding: clamp(25px, 4vw, 42px); border-radius: 4px; transition: transform 220ms var(--ease), border-color 220ms ease, background 220ms ease; }
.project-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--accent) 52%, var(--line)); background: var(--surface-raised); }
.project-featured { grid-column: span 2; min-height: 420px; }
.project-card-header { display: flex; align-items: start; justify-content: space-between; gap: 16px; padding-bottom: 25px; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
.project-number { display: block; margin-bottom: 11px; color: var(--muted); font-size: 10px; }
.project-card h3 { font-size: clamp(28px, 4vw, 46px); }
.project-card-links { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.project-link-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--line)); color: var(--accent); font-family: var(--font-mono); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; transition: all 180ms var(--ease); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.project-link-badge i { font-size: 13px; }
.project-link-badge:hover { background: color-mix(in srgb, var(--accent) 18%, transparent); border-color: var(--accent); transform: translateY(-1px); box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 25%, transparent); }
.project-arrow { color: var(--accent); font-size: 27px; transition: transform 180ms var(--ease); }
.project-arrow:hover { transform: translate(3px, -3px); }
.project-kicker { max-width: 660px; margin-top: 30px; color: var(--text); font-family: var(--font-display); font-size: clamp(22px, 3vw, 34px); letter-spacing: -0.04em; line-height: 1.14; }
.project-description { max-width: 675px; margin-top: 19px; }
.project-card:not(.project-featured) .project-description { margin-top: 30px; }
.project-card-footer { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-top: auto; padding-top: 30px; }
.tech-list { display: flex; flex-wrap: wrap; gap: 7px; }
.tech-list span { padding: 5px 8px; border: 1px solid var(--line-soft); color: var(--muted); font-family: var(--font-mono); font-size: 10px; }
.project-outcome { max-width: 145px; color: var(--accent); font-family: var(--font-mono); font-size: 10px; line-height: 1.4; text-align: right; text-transform: uppercase; letter-spacing: 0.05em; }

/* Principles */
.section-approach { padding-bottom: 132px; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.principle { min-height: 260px; padding: 28px 30px 0 0; border-right: 1px solid var(--line); }
.principle + .principle { padding-left: 30px; }
.principle:last-child { border-right: 0; }
.principle-index { color: var(--accent); font-family: var(--font-mono); font-size: 11px; }
.principle h3 { max-width: 225px; margin: 58px 0 15px; font-size: 25px; }
.principle p { max-width: 280px; font-size: 14px; }

/* Timeline */
.section-timeline { padding-bottom: 132px; background: color-mix(in srgb, var(--surface) 64%, transparent); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.timeline-list { border-top: 1px solid var(--line); }
.timeline-row { display: grid; grid-template-columns: 150px 25px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line-soft); }
.timeline-date { color: var(--muted); font-family: var(--font-mono); font-size: 11px; padding-top: 2px; }
.timeline-line { position: relative; width: 1px; background: var(--line); }
.timeline-line::after { content: ''; position: absolute; top: 3px; left: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.timeline-type { display: block; margin-bottom: 9px; color: var(--accent); font-size: 10px; }
.timeline-row h3 { font-size: clamp(22px, 3vw, 32px); }
.timeline-row p { max-width: 640px; margin-top: 10px; font-size: 14px; }

/* Contact and footer */
.contact-section { padding: 130px 0; background: color-mix(in srgb, var(--bg-deep) 70%, transparent); color: var(--text); position: relative; overflow: hidden; border-top: 1px solid var(--line-soft); }
.contact-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 82% 22%, var(--accent-soft), transparent 48%), radial-gradient(circle at 12% 85%, var(--signal-soft), transparent 42%); pointer-events: none; z-index: 0; }
.contact-shell { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 70px; align-items: center; }
.contact-shell .eyebrow { color: var(--accent); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-shell .status-dot { background: var(--success); box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 15%, transparent); }
.contact-shell h2 { max-width: 630px; font-size: clamp(44px, 6vw, 76px); color: var(--text); letter-spacing: -0.045em; line-height: 1.05; }
.contact-shell > div > p:last-child { max-width: 485px; margin-top: 24px; color: var(--text-soft); font-size: 16px; line-height: 1.7; }
.contact-actions { display: flex; flex-direction: column; gap: 20px; }
.email-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: clamp(17px, 2.1vw, 26px); letter-spacing: -0.03em; color: var(--text); }
.email-link i { font-size: 25px; color: var(--accent); transition: transform 180ms var(--ease); }
.email-link:hover i { transform: translate(4px, -4px); }
.contact-links { display: flex; flex-wrap: wrap; gap: 18px; }
.contact-links a, .copy-button { display: inline-flex; align-items: center; gap: 6px; border: 0; color: var(--muted); background: none; font-family: var(--font-mono); font-size: 11px; font-weight: 500; cursor: pointer; transition: color 180ms ease, transform 180ms ease; }
.contact-links a:hover, .copy-button:hover { color: var(--text); transform: translateY(-1px); text-decoration: underline; }
.site-footer { position: relative; z-index: 2; background: color-mix(in srgb, var(--bg-deep) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.footer-shell { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-family: var(--font-mono); font-size: 10px; }
.footer-shell a { color: var(--text-soft); }
.footer-shell a:hover { color: var(--accent); }

/* REZE_OS music deck */
.music-deck { position: fixed; right: 24px; bottom: 24px; z-index: 45; width: min(330px, calc(100vw - 32px)); padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: color-mix(in srgb, var(--surface) 93%, transparent); box-shadow: var(--shadow); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transition: border-color 180ms ease, background 220ms ease, transform 280ms var(--ease), opacity 280ms ease; }
.music-deck:hover { border-color: var(--accent); transform: translateY(-3px); }
.music-deck.minimized { transform: translateY(120%) scale(0.92); opacity: 0; pointer-events: none; }
.music-deck-topline { display: flex; align-items: center; gap: 7px; padding-bottom: 9px; border-bottom: 1px solid var(--line-soft); color: var(--muted); font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.07em; text-transform: uppercase; }
.deck-led { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 3px var(--accent-soft); }
.music-deck.playing .deck-led { background: var(--success); box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 15%, transparent), 0 0 8px var(--success); }
.music-deck.autoplay-blocked .deck-led { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), 0 0 8px var(--accent); }
.music-track-code { margin-left: auto; color: var(--accent); }
.music-minimize { width: 18px; height: 18px; display: grid; place-items: center; background: transparent; border: 0; color: var(--muted); cursor: pointer; font-size: 14px; border-radius: 3px; transition: color 180ms ease, background 180ms ease; }
.music-minimize:hover { color: var(--text); background: var(--surface-soft); }
.music-minimize:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.music-deck-main { display: flex; align-items: center; gap: 10px; padding-top: 11px; }
.music-toggle, .music-expand { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; background: var(--surface-soft); color: var(--text); cursor: pointer; transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease; }
.music-toggle { border-color: var(--accent); color: var(--accent); }
.music-toggle:hover, .music-expand:hover { border-color: var(--accent); background: var(--accent-soft); transform: scale(1.05); }
.music-toggle i { font-size: 18px; }
.music-expand { margin-left: auto; color: var(--muted); }
.music-expand i { font-size: 17px; transition: transform 180ms var(--ease); }
.music-deck.expanded .music-expand i { transform: rotate(180deg); }
.music-track-info { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.music-track-info strong { color: var(--text); font-family: var(--font-display); font-size: 13px; letter-spacing: 0.02em; }
.music-track-info span { overflow: hidden; color: var(--muted); font-family: var(--font-mono); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.music-deck-controls { display: flex; align-items: center; gap: 8px; max-height: 0; overflow: hidden; padding-top: 0; opacity: 0; transition: max-height 220ms var(--ease), padding-top 220ms ease, opacity 180ms ease; }
.music-deck.expanded .music-deck-controls { max-height: 42px; padding-top: 11px; opacity: 1; }
.music-deck-controls > i { color: var(--muted); font-size: 14px; }
.music-deck-controls input[type="range"] { width: 100%; height: 3px; appearance: none; border-radius: 9px; background: var(--line); outline: none; }
.music-deck-controls input[type="range"]::-webkit-slider-thumb { width: 10px; height: 10px; appearance: none; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px color-mix(in srgb, var(--accent) 62%, transparent); cursor: pointer; }
.music-deck-controls input[type="range"]::-moz-range-thumb { width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--accent); cursor: pointer; }
#music-volume-label { min-width: 30px; color: var(--muted); font-family: var(--font-mono); font-size: 8px; text-align: right; }

.music-launcher {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 45;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    box-shadow: var(--shadow);
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    cursor: pointer;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    transform: translateY(20px) scale(0.92);
    pointer-events: none;
    transition: transform 260ms var(--ease), opacity 260ms ease, border-color 180ms ease, background 180ms ease;
}
.music-launcher.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.music-launcher:hover {
    border-color: var(--accent);
    background: var(--surface-raised);
    transform: translateY(-2px) scale(1.02);
}
.music-launcher:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
.music-launcher i {
    font-size: 14px;
    color: var(--accent);
}
.launcher-led {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--muted);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.music-launcher.playing .launcher-led {
    background: var(--success);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 15%, transparent), 0 0 8px var(--success);
}
.music-launcher.autoplay-blocked .launcher-led {
    background: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft), 0 0 8px var(--accent);
}

/* Motion and feedback */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 650ms var(--ease), transform 650ms var(--ease); transition-delay: var(--delay, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 60; max-width: calc(100vw - 48px); padding: 11px 14px; border: 1px solid var(--line); background: var(--surface-raised); box-shadow: var(--shadow); color: var(--text); font-family: var(--font-mono); font-size: 11px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity 180ms ease, transform 180ms var(--ease); }
.toast.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
    .section-shell, .header-shell, .footer-shell { width: min(var(--max-width), calc(100% - 48px)); }
    .desktop-nav { gap: 18px; }
    .hero-grid { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; gap: 54px; }
    .hero-copy { max-width: 680px; }
    .hero-visual { max-width: 600px; width: 100%; margin: 0 auto; }
    .hero { padding-top: 142px; }
    .about-grid { grid-template-columns: 1fr 1fr; }
    .about-main { grid-column: span 2; grid-row: auto; min-height: 380px; }
    .signal-card, .stack-card { min-height: 240px; }
    .contact-shell { grid-template-columns: 1fr; gap: 45px; }
    .contact-actions { max-width: 620px; }
}

@media (max-width: 700px) {
    .section-shell, .header-shell, .footer-shell { width: min(var(--max-width), calc(100% - 32px)); }
    .header-shell { min-height: 68px; }
    .brand { min-width: 0; }
    .brand-copy small { display: none; }
    .desktop-nav, .header-cta, .mode-readout { display: none; }
    .mode-switch { margin-left: auto; padding: 5px 8px; gap: 6px; }
    .mode-name { font-size: 8px; }
    .menu-toggle { display: grid; }
    .mobile-nav { display: flex; flex-direction: column; gap: 20px; max-height: 0; overflow: hidden; padding: 0 18px; background: color-mix(in srgb, var(--bg) 96%, transparent); border-bottom: 1px solid transparent; transition: max-height 260ms var(--ease), padding 260ms var(--ease), border-color 260ms ease; }
    .mobile-nav.open { max-height: 330px; padding: 22px 18px 26px; border-color: var(--line-soft); }
    .mobile-nav .nav-link-accent { color: var(--accent); }
    .hero { min-height: auto; padding-top: 120px; padding-bottom: 74px; }
    .hero h1 { font-size: clamp(44px, 13vw, 76px); }
    .hero-description { font-size: 16px; margin-top: 20px; }
    .hero-meta { margin-top: 36px; gap: 18px; }
    .scroll-cue, .hero::after { display: none; }
    .section, .section-approach, .section-timeline { padding-top: 80px; padding-bottom: 80px; }
    .section-projects { margin-top: 80px; padding-top: 80px; padding-bottom: 80px; }
    .section-heading { margin-bottom: 34px; }
    .section-heading-row { display: block; }
    .section-heading-row .section-intro { margin-top: 18px; }
    h2 { font-size: clamp(34px, 10vw, 56px); }
    .about-grid, .project-grid { grid-template-columns: 1fr; }
    .about-main, .project-featured { grid-column: auto; }
    .about-main { min-height: auto; padding: 26px 20px; }
    .signal-card, .stack-card { min-height: auto; padding: 22px 20px; }
    .project-card, .project-featured { min-height: auto; padding: 26px 20px; }
    .project-card-footer { align-items: start; flex-direction: column; gap: 14px; }
    .project-outcome { max-width: none; text-align: left; }
    .principles-grid { grid-template-columns: 1fr; }
    .principle, .principle + .principle { min-height: auto; padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line-soft); }
    .principle:last-child { border-bottom: 0; }
    .principle h3 { margin: 20px 0 10px; font-size: 22px; }
    .timeline-row { grid-template-columns: 78px 16px 1fr; gap: 12px; padding: 22px 0; }
    .timeline-date { font-size: 10px; }
    .timeline-row h3 { font-size: 20px; }
    .contact-section { padding: 80px 0; }
    .contact-shell h2 { font-size: clamp(32px, 8.5vw, 48px); }
    .contact-form { padding: 22px 18px; }
    .footer-shell { min-height: 90px; align-items: start; flex-direction: column; justify-content: center; gap: 10px; }
    .music-deck { right: 16px; bottom: 16px; width: calc(100vw - 32px); max-width: 330px; }
    .music-launcher { right: 16px; bottom: 16px; }
}

@media (max-width: 480px) {
    .section-shell, .header-shell, .footer-shell { width: min(var(--max-width), calc(100% - 24px)); }
    .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
    .button { width: 100%; min-height: 48px; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); margin-left: 0; margin-right: 0; width: 100%; }
    .stat-card { min-height: 72px; padding: 8px 6px; }
    .stat-card strong { font-size: 18px; }
    .stat-card span { font-size: 7.5px; }
    .large-copy { font-size: clamp(22px, 6.2vw, 30px); }
    .image-caption { max-width: 130px; font-size: 8.5px; }
    .form-actions-row { flex-direction: column; align-items: stretch; gap: 10px; }
    .form-submit-btn, .direct-email-fallback { width: 100%; justify-content: center; min-height: 48px; }
    .contact-links { justify-content: center; gap: 14px; }
    .cookie-banner { bottom: 8px; width: calc(100% - 16px); padding: 12px 14px; }
    .cookie-text { font-size: 12px; }
    .cookie-actions { width: 100%; flex-direction: column; }
    .cookie-btn { width: 100%; text-align: center; }
}

@media (max-width: 380px) {
    .brand-mark { width: 30px; height: 30px; font-size: 10px; }
    .brand-copy strong { font-size: 12px; }
    .mode-switch { padding: 4px 6px; gap: 4px; }
    .mode-rail { width: 24px; }
    .mode-ring { width: 10px; height: 10px; }
    .hero-stats { grid-template-columns: 1fr; }
    .stat-card { border-right: 0; border-bottom: 1px solid var(--line-soft); min-height: 52px; padding: 8px 12px; flex-direction: row; align-items: center; justify-content: space-between; }
    .stat-card:last-child { border-bottom: 0; }
    .stat-card strong { font-size: 17px; }
    .stat-card span { font-size: 8px; }
    .timeline-row { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; padding-left: 18px; position: relative; }
    .timeline-line { position: absolute; left: 0; top: 22px; bottom: 0; width: 2px; }
    .timeline-line::after { top: 0; left: -3px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
    .ambient-video { display: none; }
}

/* reze ma queen 🥀 */

/* ==========================================================================
   Contact Form & Form Consent (Accessible, WCAG 2.2 AA Compliant)
   ========================================================================== */
.contact-form {
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: clamp(24px, 4vw, 36px);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin-bottom: 8px;
    transition: border-color 220ms ease, background 220ms ease;
}

.contact-form:focus-within {
    border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 680px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.form-group label {
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-soft);
    font-weight: 600;
}

.required-indicator {
    color: var(--accent);
    font-weight: 700;
    margin-left: 2px;
}

.form-group input,
.form-group textarea {
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 12px 14px;
    color: var(--text);
    font-family: var(--font-body, sans-serif);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted);
    opacity: 0.75;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
    background: rgba(255, 255, 255, 0.04);
}

.form-group input:focus-visible,
.form-group textarea:focus-visible {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
    background: rgba(255, 255, 255, 0.05);
}

.form-group input.is-invalid,
.form-group textarea.is-invalid {
    border-color: #ff4d6d !important;
    box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.25) !important;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

/* reze ma queen 🥀 */

.form-consent {
    text-align: left;
    margin: 4px 0;
}

.consent-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.55;
    color: var(--text-soft);
}

.consent-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
    cursor: pointer;
    flex-shrink: 0;
}

.consent-checkbox-label input[type="checkbox"].is-invalid {
    outline: 2px solid #ff4d6d;
    outline-offset: 2px;
}

.consent-checkbox-label a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.consent-checkbox-label a:hover,
.consent-checkbox-label a:focus-visible {
    color: var(--text);
}

.form-actions-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.form-submit-btn {
    background: var(--accent) !important;
    color: #ffffff !important;
    border: 1px solid var(--accent) !important;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 4px;
    padding: 0 22px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 16px var(--accent-soft);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.form-submit-btn:hover {
    background: var(--accent-deep) !important;
    border-color: var(--accent-deep) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px var(--accent-soft);
}

.form-submit-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.form-submit-btn.is-submitting {
    opacity: 0.85;
    cursor: wait !important;
    pointer-events: none;
    box-shadow: 0 0 18px var(--accent-soft);
    animation: submit-pulse 1.4s ease-in-out infinite alternate;
}

.form-submit-btn:disabled {
    cursor: not-allowed;
    opacity: 0.75;
}

@keyframes submit-pulse {
    0% { transform: translateY(0); box-shadow: 0 0 12px var(--accent-soft); }
    100% { transform: translateY(-1px); box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 60%, transparent); }
}

.direct-email-fallback {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--text-soft);
    background: transparent;
    border: 1px solid var(--line);
    text-decoration: none;
    padding: 0 16px;
    min-height: 46px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}

.direct-email-fallback:hover {
    color: var(--text);
    background: var(--accent-soft);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.direct-email-fallback:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* ==========================================================================
   Cookie & Local Storage Banner
   ========================================================================== */
/* reze ma queen 🥀 */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    width: min(780px, calc(100% - 32px));
    background: rgba(15, 10, 28, 0.92);
    border: 1px solid rgba(224, 102, 255, 0.25);
    border-radius: 12px;
    padding: 16px 20px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(224, 102, 255, 0.1);
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
    opacity: 0;
    pointer-events: none;
}

.cookie-banner.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

@media (max-width: 680px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }
}

.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #cbd5e1;
}

.cookie-icon {
    font-size: 22px;
    color: var(--accent, #e066ff);
    flex-shrink: 0;
    margin-top: 1px;
}

.cookie-text a {
    color: var(--accent, #e066ff);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 16px;
    font-size: 13px;
}

/* ==========================================================================
   Footer Legal & Fair Use Disclaimer
   ========================================================================== */
/* reze ma queen 🥀 */
.footer-shell {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-primary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: var(--text-muted, #94a3b8);
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: var(--text-muted, #94a3b8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
    color: var(--accent, #e066ff);
    text-decoration: underline;
}

.footer-divider {
    color: rgba(255, 255, 255, 0.2);
}

.footer-secondary-row {
    width: 100%;
}

.footer-disclaimer {
    font-size: 11px;
    line-height: 1.6;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 14px;
    margin: 0;
}

/* ==========================================================================
   Legal Pages (Privacy, Terms, Cookies)
   ========================================================================== */
/* reze ma queen 🥀 */
.legal-page {
    background: #0b0715;
    color: #e2e8f0;
    line-height: 1.7;
}

.legal-container {
    padding-top: 120px;
    padding-bottom: 80px;
    max-width: 860px;
    margin: 0 auto;
}

.legal-card {
    background: rgba(17, 12, 31, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    padding: 36px 40px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
}

@media (max-width: 600px) {
    .legal-card {
        padding: 24px 20px;
    }
}

.legal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 24px;
    margin-bottom: 32px;
}

.legal-header h1 {
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    font-size: clamp(28px, 4vw, 38px);
    color: #f8fafc;
    margin: 8px 0;
}

.legal-meta {
    font-family: var(--font-mono, monospace);
    font-size: 12px;
    color: var(--text-muted, #94a3b8);
}

.legal-section {
    margin-bottom: 32px;
}

.legal-section h2 {
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    font-size: 20px;
    color: #f1f5f9;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.legal-section h3 {
    font-size: 16px;
    color: #cbd5e1;
    margin: 18px 0 8px;
}

.legal-section p {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.legal-section ul {
    margin: 10px 0 16px 20px;
    color: #94a3b8;
    font-size: 14px;
}

.legal-section li {
    margin-bottom: 8px;
}

.business-details-box,
.legal-warning-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--accent, #e066ff);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 16px 0;
}

.legal-warning-box {
    border-left-color: #ffaa00;
}

.business-details-box p,
.legal-warning-box p {
    margin: 4px 0;
    font-size: 13px;
    color: #cbd5e1;
}

.business-details-box a,
.legal-section a {
    color: var(--accent, #e066ff);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.business-details-box a:hover,
.legal-section a:hover {
    color: #ffffff;
}

.storage-table-wrapper {
    overflow-x: auto;
    margin: 16px 0;
}

.storage-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.storage-table th,
.storage-table td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.storage-table th {
    background: rgba(255, 255, 255, 0.04);
    color: #f8fafc;
    font-family: var(--font-mono, monospace);
    font-size: 12px;
    text-transform: uppercase;
}

.storage-table td {
    color: #94a3b8;
}

.storage-table code {
    background: rgba(255, 255, 255, 0.07);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--accent, #e066ff);
    font-family: var(--font-mono, monospace);
    font-size: 12px;
}

