/*
 * Onur Arda Özcan — Obsidian Signal / 2026
 * Visual layer for the interactive portfolio and project archive.
 */

:root {
    --os-bg: #080a0f;
    --os-bg-deep: #05070a;
    --os-surface: #11141b;
    --os-surface-2: #171b24;
    --os-surface-3: #202632;
    --os-paper: #f4f1ea;
    --os-muted: #9da5b1;
    --os-muted-2: #737d8b;
    --os-blue: #4d7cff;
    --os-blue-light: #83a2ff;
    --os-mint: #61e6b1;
    --os-metal: #d7d0bf;
    --os-line: rgba(244, 241, 234, .11);
    --os-line-strong: rgba(244, 241, 234, .2);
    --os-glass: rgba(17, 20, 27, .76);
    --os-ease: cubic-bezier(.2, .72, .2, 1);
    --os-radius-sm: 12px;
    --os-radius: 20px;
    --os-radius-lg: 32px;
    --os-shell: 1600px;
    --os-shadow: 0 34px 100px rgba(0, 0, 0, .42);
}

.os-home-page,
.os-projects-page {
    min-height: 100vh;
    background: var(--os-bg) !important;
    color: var(--os-paper);
}

.os-home-page::before,
.os-projects-page::before {
    background:
        radial-gradient(circle at 8% 8%, rgba(77, 124, 255, .09), transparent 32rem),
        radial-gradient(circle at 94% 34%, rgba(97, 230, 177, .05), transparent 29rem) !important;
}

.os-main {
    position: relative;
    overflow: clip;
    background: var(--os-bg);
    color: var(--os-paper);
    isolation: isolate;
}

.os-main h1,
.os-main h2,
.os-main h3,
.os-main h4 {
    color: var(--os-paper);
    font-family: 'Inter', system-ui, sans-serif !important;
    letter-spacing: -.055em !important;
}

.os-main p,
.os-main .text-muted {
    color: var(--os-muted) !important;
}

.os-main a { color: inherit; }
.os-main img { max-width: 100%; }
.os-main [hidden] { display: none !important; }

.os-skip-link {
    position: fixed;
    z-index: 10000;
    top: 12px;
    left: 12px;
    padding: .75rem 1rem;
    border-radius: 999px;
    background: var(--os-paper);
    color: var(--os-bg);
    font-weight: 800;
    transform: translateY(-160%);
    transition: transform .2s ease;
}

.os-skip-link:focus { transform: translateY(0); }

/* Chrome / header */
.obsidian-signal .os-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    min-height: 76px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    background: rgba(8, 10, 15, .78);
    box-shadow: none;
    backdrop-filter: blur(22px) saturate(140%);
}

.obsidian-signal .os-header.is-scrolled {
    background: rgba(8, 10, 15, .92);
    border-bottom-color: var(--os-line);
    box-shadow: 0 18px 60px rgba(0, 0, 0, .25);
}

.os-header-shell {
    width: min(100%, var(--os-shell));
    min-height: 76px;
    margin-inline: auto;
    padding: 0 clamp(20px, 3vw, 56px);
    display: grid;
    grid-template-columns: minmax(250px, 1fr) auto minmax(250px, 1fr);
    align-items: center;
    gap: 28px;
}

.obsidian-signal .os-brand {
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    color: var(--os-paper) !important;
    font-family: 'Inter', system-ui, sans-serif !important;
    text-decoration: none;
}

.obsidian-signal .os-brand::after { display: none; }

.os-brand-mark {
    width: 42px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 13px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.08), transparent),
        #11141b;
    color: var(--os-paper);
    font-size: .73rem;
    font-weight: 900;
    letter-spacing: .08em !important;
    box-shadow: inset 0 1px rgba(255,255,255,.08), 0 10px 30px rgba(0,0,0,.2);
}

.os-brand-copy { display: grid; gap: 2px; }
.os-brand-copy strong { font-size: .88rem; letter-spacing: -.02em !important; }
.os-brand-copy small { color: var(--os-muted-2); font-size: .64rem; font-weight: 650; letter-spacing: .12em !important; text-transform: uppercase; }

.os-desktop-nav { align-items: center; gap: 3px; }

.obsidian-signal .os-desktop-nav .nav-link {
    position: relative;
    padding: 9px 12px !important;
    border-radius: 999px;
    color: var(--os-muted) !important;
    background: transparent;
    box-shadow: none;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: -.01em !important;
    white-space: nowrap;
}

.obsidian-signal .os-desktop-nav .nav-link:hover,
.obsidian-signal .os-desktop-nav .nav-link:focus-visible {
    color: var(--os-paper) !important;
    background: rgba(255,255,255,.055);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.obsidian-signal .os-desktop-nav .os-nav-ai {
    color: #b8c8ff !important;
}

.os-nav-ai span {
    width: 6px;
    height: 6px;
    display: inline-block;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--os-mint);
    box-shadow: 0 0 0 4px rgba(97, 230, 177, .11), 0 0 18px rgba(97, 230, 177, .55);
}

.os-header-actions { justify-self: end; align-items: center; gap: 13px; }
.os-header-social { display: flex; gap: 6px; }

.os-header-social a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 50%;
    color: var(--os-muted);
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease, transform .2s var(--os-ease), background .2s ease;
}

.os-header-social a:hover,
.os-header-social a:focus-visible {
    color: var(--os-paper);
    border-color: rgba(255,255,255,.2);
    background: rgba(255,255,255,.06);
    transform: translateY(-2px);
}

.os-account-link {
    padding: 9px 14px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    color: var(--os-paper);
    font-size: .74rem;
    font-weight: 750;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, transform .2s var(--os-ease);
}

.os-account-link:hover,
.os-account-link:focus-visible { color: var(--os-paper); background: rgba(77,124,255,.16); border-color: rgba(77,124,255,.55); transform: translateY(-1px); }
.os-account-link-muted { color: var(--os-muted); }

.obsidian-signal .os-menu-trigger {
    justify-self: end;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    background: rgba(255,255,255,.05);
}

.obsidian-signal .os-menu-trigger span { left: 11px; width: 20px; background: var(--os-paper); }

.obsidian-signal .os-mobile-menu {
    position: fixed;
    z-index: 1025;
    inset: 76px 0 0;
    height: calc(100dvh - 76px);
    overflow-y: auto;
    background:
        radial-gradient(circle at 90% 0, rgba(77,124,255,.16), transparent 24rem),
        rgba(8,10,15,.985);
    color: var(--os-paper);
    backdrop-filter: blur(24px);
}

.os-mobile-menu .container { max-width: 920px; padding-top: 24px; padding-bottom: 48px; }
.os-mobile-menu-top { display: flex; align-items: center; justify-content: space-between; color: var(--os-muted-2); font: 650 .7rem/1.2 ui-monospace, monospace; letter-spacing: .14em !important; text-transform: uppercase; }
.obsidian-signal .os-mobile-menu .mobile-menu-close { position: static; width: 42px; height: 42px; border-color: var(--os-line); border-radius: 50%; background: rgba(255,255,255,.04); color: var(--os-paper); }
.os-mobile-links { margin: 26px 0 34px; }
.os-mobile-links li { border-top: 1px solid var(--os-line); }
.os-mobile-links li:last-child { border-bottom: 1px solid var(--os-line); }
.os-mobile-links a { display: grid; grid-template-columns: 42px 1fr; align-items: baseline; padding: clamp(13px, 2.4vh, 22px) 0; color: var(--os-paper); font-size: clamp(1.35rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.04em !important; text-decoration: none; }
.os-mobile-links a span { color: var(--os-blue-light); font: 700 .64rem/1 ui-monospace, monospace; letter-spacing: .1em !important; }
.os-mobile-links a:hover,
.os-mobile-links a:focus-visible { color: var(--os-blue-light); }
.obsidian-signal .os-mobile-menu .mobile-social-icons a { border-color: var(--os-line); background: rgba(255,255,255,.045); color: var(--os-paper); }

/* Preloader */
.obsidian-signal .os-preloader {
    background:
        radial-gradient(circle at 50% 50%, rgba(77,124,255,.12), transparent 25rem),
        #080a0f;
}

.obsidian-signal .preloader-cinematic {
    width: min(480px, calc(100vw - 40px));
    padding: 30px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 28px;
    background: rgba(17,20,27,.72);
    box-shadow: var(--os-shadow);
}

.os-preloader-mark {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    position: relative;
    z-index: 2;
    border-radius: 20px;
    background: #f4f1ea;
    color: #080a0f;
    font-weight: 950;
    letter-spacing: -.04em !important;
}

.obsidian-signal .preloader-copy strong { font-family: 'Inter', sans-serif; letter-spacing: -.04em !important; }
.obsidian-signal .preloader-progress { background: rgba(255,255,255,.08); }
.obsidian-signal .preloader-progress span { background: linear-gradient(90deg, var(--os-blue), var(--os-mint)); }

/* Shared layout */
.os-section { position: relative; padding: clamp(88px, 10vw, 160px) 0; }
.os-section-shell { width: min(100%, var(--os-shell)); margin-inline: auto; padding-inline: clamp(20px, 4vw, 72px); }
.os-kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--os-blue-light); font: 750 .67rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .14em !important; text-transform: uppercase; }
.os-kicker::before { content: ''; width: 20px; height: 1px; background: currentColor; opacity: .7; }

.os-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: clamp(36px, 8vw, 130px);
    align-items: end;
    margin-bottom: clamp(42px, 6vw, 86px);
}

.os-section-heading h2 { margin: 14px 0 0; font-size: clamp(2.5rem, 5.7vw, 6.7rem); line-height: .94; font-weight: 850; }
.os-section-heading h2 em { color: var(--os-metal); font-family: 'Lora', Georgia, serif; font-weight: 600; }
.os-section-heading > p { max-width: 530px; margin: 0 0 8px; font-size: clamp(1rem, 1.35vw, 1.22rem); line-height: 1.7; }

.os-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .79rem;
    font-weight: 800;
    letter-spacing: -.01em !important;
    text-decoration: none;
    transition: transform .25s var(--os-ease), background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.os-button:hover,
.os-button:focus-visible { transform: translateY(-3px); }
.os-button-primary { color: white !important; background: linear-gradient(135deg, #5a85ff, #3f6de5); box-shadow: 0 15px 42px rgba(77,124,255,.25); }
.os-button-primary:hover,
.os-button-primary:focus-visible { box-shadow: 0 20px 56px rgba(77,124,255,.36); }
.os-button-ghost { color: var(--os-paper) !important; border-color: var(--os-line-strong); background: rgba(255,255,255,.025); }
.os-button-ghost:hover,
.os-button-ghost:focus-visible { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.3); }
.os-button-light { color: var(--os-bg) !important; background: var(--os-paper); }

.os-text-link { display: inline-flex; align-items: center; gap: 28px; color: var(--os-paper) !important; font-weight: 750; text-decoration: none; }
.os-text-link span { transition: transform .2s var(--os-ease); }
.os-text-link:hover span,
.os-text-link:focus-visible span { transform: translateX(6px); }
.os-text-link-light { color: var(--os-paper) !important; }

/* Home hero */
.os-hero {
    min-height: calc(100svh - 76px);
    position: relative;
    display: grid;
    align-items: center;
    padding: clamp(58px, 7vw, 112px) 0 clamp(86px, 9vw, 130px);
    border-bottom: 1px solid var(--os-line);
    background:
        linear-gradient(180deg, rgba(8,10,15,.2), rgba(8,10,15,.72)),
        repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), rgba(255,255,255,.027) calc(12.5% - 1px) 12.5%);
}

.os-hero-ambient {
    position: absolute;
    inset: -15% -10% auto auto;
    width: 62vw;
    height: 62vw;
    max-width: 980px;
    max-height: 980px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(77,124,255,.14), rgba(77,124,255,.035) 32%, transparent 68%);
    filter: blur(12px);
    pointer-events: none;
}

.os-hero-shell {
    width: min(100%, var(--os-shell));
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 72px);
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(480px, 1.05fr);
    gap: clamp(40px, 7vw, 120px);
    align-items: center;
}

.os-hero-copy { min-width: 0; position: relative; z-index: 3; container-type: inline-size; }
.os-availability { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px; color: #b9c1cd; font: 700 .68rem/1.2 ui-monospace, monospace; letter-spacing: .09em !important; text-transform: uppercase; }
.os-availability > span { width: 8px; height: 8px; border-radius: 50%; background: var(--os-mint); box-shadow: 0 0 0 5px rgba(97,230,177,.1), 0 0 20px rgba(97,230,177,.45); }
/* Fit the longest word to the copy column, including when the outer shell is capped. */
.os-hero-copy h1 { max-width: 100%; margin: 0; font-size: clamp(3.25rem, 5vw, 6.8rem); font-size: min(clamp(3.25rem, 5vw, 6.8rem), 11.5cqi); overflow-wrap: anywhere; line-height: .86; font-weight: 880; }
.os-hero-copy h1 em { color: var(--os-metal); font-family: 'Lora', Georgia, serif; font-weight: 600; }
.os-hero-lead { max-width: 660px; margin: 32px 0 0; font-size: clamp(.98rem, 1.25vw, 1.16rem); line-height: 1.72; }
.os-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.os-hero-metrics { max-width: 660px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 50px 0 0; padding: 0; border-top: 1px solid var(--os-line); }
.os-hero-metrics > div { padding: 18px 18px 0 0; border-right: 1px solid var(--os-line); }
.os-hero-metrics > div + div { padding-left: 18px; }
.os-hero-metrics > div:last-child { border-right: 0; }
.os-hero-metrics dt { color: var(--os-paper); font-size: clamp(1.3rem, 2.1vw, 2.1rem); font-weight: 850; letter-spacing: -.05em !important; }
.os-hero-metrics dd { margin: 3px 0 0; color: var(--os-muted-2); font-size: .7rem; line-height: 1.4; }

.os-hero-stage {
    --deck-w: min(49vw, 720px);
    width: var(--deck-w);
    height: min(67vw, 720px);
    max-height: 70vh;
    min-height: 560px;
    position: relative;
    justify-self: end;
    perspective: 1200px;
    isolation: isolate;
}

.os-stage-label { position: absolute; inset: 4px 4px auto; z-index: 8; display: flex; justify-content: space-between; color: rgba(244,241,234,.52); font: 650 .61rem/1 ui-monospace, monospace; letter-spacing: .11em !important; text-transform: uppercase; }
.os-kinetic-card { --kinetic-x: 0px; --kinetic-y: 0px; --kinetic-rx: 0deg; --kinetic-ry: 0deg; position: absolute; display: block; border: 1px solid rgba(255,255,255,.15); border-radius: 22px; overflow: hidden; background: var(--os-surface); box-shadow: 0 34px 86px rgba(0,0,0,.42); text-decoration: none; transform: translate3d(var(--kinetic-x), var(--kinetic-y), 0) rotateX(var(--kinetic-rx)) rotateY(var(--kinetic-ry)) rotate(var(--base-rotation)); transform-style: preserve-3d; will-change: transform; transition: border-color .25s ease, box-shadow .25s ease; }
.os-kinetic-card:hover,
.os-kinetic-card:focus-visible { z-index: 9; border-color: rgba(131,162,255,.55); box-shadow: 0 42px 110px rgba(0,0,0,.55), 0 0 0 1px rgba(77,124,255,.12); }
.os-kinetic-card img { width: 100%; height: calc(100% - 62px); object-fit: cover; object-position: top center; filter: saturate(.88) contrast(1.04); }
.os-card-meta { height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 16px; color: var(--os-paper); background: rgba(17,20,27,.98); }
.os-card-meta b { font-size: .8rem; }
.os-card-meta small { color: var(--os-muted-2); font: 600 .56rem/1.2 ui-monospace, monospace; text-align: right; }
.os-card-a { --base-rotation: -7deg; width: 66%; height: 60%; top: 8%; left: 3%; }
.os-card-b { --base-rotation: 4deg; width: 69%; height: 62%; top: 25%; right: 0; }
.os-card-c { --base-rotation: -2deg; width: 56%; height: 51%; bottom: 0; left: 16%; }

.os-stage-orbit { position: absolute; inset: 9% 2% 0 8%; z-index: -1; border: 1px solid rgba(77,124,255,.11); border-radius: 50%; transform: rotate(-13deg); }
.os-stage-orbit::before,
.os-stage-orbit::after { content: ''; position: absolute; inset: 13%; border: 1px solid rgba(255,255,255,.055); border-radius: 50%; }
.os-stage-orbit::after { inset: 30%; }
.os-stage-orbit span { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--os-blue); box-shadow: 0 0 18px rgba(77,124,255,.7); }
.os-stage-orbit span:nth-child(1) { top: 12%; left: 19%; }
.os-stage-orbit span:nth-child(2) { top: 67%; right: 2%; background: var(--os-mint); }
.os-stage-orbit span:nth-child(3) { bottom: 8%; left: 28%; background: var(--os-metal); }

.os-scroll-cue { position: absolute; z-index: 4; left: clamp(20px, 4vw, 72px); bottom: 26px; display: flex; align-items: center; gap: 10px; color: var(--os-muted-2) !important; font: 650 .62rem/1 ui-monospace, monospace; letter-spacing: .12em !important; text-decoration: none; text-transform: uppercase; }
.os-scroll-cue i { width: 34px; height: 1px; position: relative; overflow: hidden; background: rgba(255,255,255,.15); }
.os-scroll-cue i::after { content: ''; position: absolute; inset: 0; background: var(--os-paper); transform: translateX(-105%); animation: osCue 2s var(--os-ease) infinite; }

/* Ticker */
.os-signal-ticker { overflow: hidden; border-bottom: 1px solid var(--os-line); background: var(--os-paper); color: var(--os-bg); }
.os-ticker-track { width: max-content; display: flex; animation: osTicker 34s linear infinite; }
.os-ticker-track > div { display: flex; align-items: center; gap: 24px; padding: 16px 12px; }
.os-ticker-track span { min-width: max-content; font-size: .73rem; font-weight: 850; letter-spacing: .05em !important; text-transform: uppercase; }
.os-ticker-track i { width: 6px; height: 6px; border-radius: 50%; background: var(--os-blue); }

/* Featured projects */
.os-selected-work { background: linear-gradient(180deg, #080a0f, #0b0e14); }
.os-feature-grid { display: grid; grid-template-columns: 1.35fr .65fr; grid-template-rows: repeat(2, minmax(390px, 1fr)); gap: 18px; }
.os-feature-card { --tilt-x: 0deg; --tilt-y: 0deg; --tilt-lx: 50%; --tilt-ly: 50%; min-height: 390px; position: relative; display: grid; grid-template-rows: minmax(0,1fr) auto; border: 1px solid var(--os-line); border-radius: var(--os-radius-lg); overflow: hidden; background: var(--os-surface); color: var(--os-paper); text-decoration: none; box-shadow: 0 24px 80px rgba(0,0,0,.24); transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transform-style: preserve-3d; will-change: transform; }
.os-feature-card::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--tilt-lx) var(--tilt-ly), rgba(255,255,255,.13), transparent 32%); opacity: 0; transition: opacity .25s ease; }
.os-feature-card:hover::after,
.os-feature-card:focus-visible::after { opacity: .8; }
.os-feature-wide { grid-row: 1 / span 2; }
.os-feature-media { min-height: 0; position: relative; overflow: hidden; background: #0b0d12; }
.os-feature-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 68%, rgba(8,10,15,.55)); pointer-events: none; }
.os-feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .75s var(--os-ease), filter .4s ease; }
.os-feature-card:hover .os-feature-media img,
.os-feature-card:focus-visible .os-feature-media img { transform: scale(1.035); filter: saturate(1.08); }
.os-feature-copy { min-height: 168px; position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 20px; padding: 22px 24px 24px; background: var(--os-surface); }
.os-feature-copy > div { grid-column: 1 / -1; display: flex; justify-content: space-between; color: var(--os-muted-2); font: 650 .61rem/1.2 ui-monospace, monospace; text-transform: uppercase; }
.os-feature-copy h3 { margin: 8px 0 0; font-size: clamp(1.75rem, 3vw, 3.3rem); font-weight: 820; }
.os-feature-copy p { grid-column: 1; max-width: 580px; margin: 4px 0 0; font-size: .82rem; line-height: 1.55; }
.os-feature-copy > b { grid-column: 2; grid-row: 2 / span 2; align-self: center; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--os-line); border-radius: 50%; font-size: 1rem; transition: color .2s ease, background .2s ease, transform .2s var(--os-ease); }
.os-feature-card:hover .os-feature-copy > b,
.os-feature-card:focus-visible .os-feature-copy > b { color: var(--os-bg); background: var(--os-paper); transform: rotate(45deg); }
.os-feature-mobile .os-feature-media { background: radial-gradient(circle at 50% 38%, rgba(77,124,255,.3), transparent 48%), #0a0d14; }
.os-mobile-art img { width: 70%; height: 110%; margin: -2% auto 0; object-fit: contain; filter: drop-shadow(0 30px 45px rgba(0,0,0,.45)); }
.os-section-action { margin-top: 42px; display: flex; justify-content: flex-end; }

/* Skills */
.os-skills-section { border-block: 1px solid rgba(8,10,15,.12); background: var(--os-paper); color: var(--os-bg); }
.os-skills-section .os-kicker { color: #315fd7; }
.os-skills-section .os-section-heading h2,
.os-skills-section .os-capability-list h3 { color: var(--os-bg); }
.os-skills-section .os-section-heading h2 em { color: #565d68; }
.os-skills-section .os-section-heading p,
.os-skills-section .os-capability-list p { color: #606975 !important; }
.os-capability-layout { display: grid; grid-template-columns: minmax(440px, .9fr) minmax(0, 1.1fr); gap: clamp(54px, 9vw, 150px); align-items: center; }
.os-capability-orbit { width: min(100%, 620px); aspect-ratio: 1; position: relative; display: grid; place-items: center; margin-inline: auto; }
.os-orbit-ring { position: absolute; border: 1px solid rgba(8,10,15,.16); border-radius: 50%; }
.os-ring-one { inset: 5%; }
.os-ring-two { inset: 22%; border-style: dashed; animation: osSpin 32s linear infinite; }
.os-ring-three { inset: 38%; border-color: rgba(77,124,255,.32); }
.os-orbit-core { width: 160px; aspect-ratio: 1; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--os-bg); color: var(--os-paper); box-shadow: 0 24px 60px rgba(8,10,15,.2); }
.os-orbit-core strong { font-size: 1.15rem; letter-spacing: -.04em !important; }
.os-orbit-core span { margin-top: 4px; color: var(--os-muted); font-size: .6rem; }
.os-orbit-node { position: absolute; min-width: 90px; padding: 9px 13px; border: 1px solid rgba(8,10,15,.13); border-radius: 999px; background: rgba(244,241,234,.9); color: #252a33; font: 750 .67rem/1 ui-monospace, monospace; text-align: center; box-shadow: 0 12px 28px rgba(8,10,15,.09); }
.os-node-a { top: 3%; left: 44%; }
.os-node-b { right: -2%; top: 48%; }
.os-node-c { bottom: 5%; left: 38%; }
.os-node-d { left: -1%; top: 44%; }
.os-capability-list { border-top: 1px solid rgba(8,10,15,.16); }
.os-capability-list article { display: grid; grid-template-columns: 42px 1fr auto; gap: 16px; align-items: start; padding: 22px 0; border-bottom: 1px solid rgba(8,10,15,.14); }
.os-capability-list article > span { color: #315fd7; font: 750 .64rem/1.4 ui-monospace, monospace; }
.os-capability-list h3 { margin: 0 0 6px; font-size: clamp(1rem, 1.35vw, 1.3rem); font-weight: 800; letter-spacing: -.03em !important; }
.os-capability-list p { margin: 0; font-size: .79rem; line-height: 1.55; }
.os-capability-list article > i { color: #737b87; font-style: normal; transition: transform .2s var(--os-ease); }
.os-capability-list article:hover > i { transform: translate(3px,-3px); }

/* Experience */
.os-experience-section { background: #0b0e14; }
.os-timeline { border-top: 1px solid var(--os-line); }
.os-timeline article { display: grid; grid-template-columns: minmax(150px,.25fr) minmax(200px,.32fr) minmax(0,1fr); gap: clamp(28px, 5vw, 80px); padding: clamp(30px, 4vw, 54px) 0; border-bottom: 1px solid var(--os-line); }
.os-time-marker { display: flex; align-items: center; gap: 18px; color: var(--os-paper); font: 780 .72rem/1 ui-monospace, monospace; }
.os-time-marker i { flex: 1; height: 1px; position: relative; background: rgba(255,255,255,.12); }
.os-time-marker i::after { content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--os-muted-2); }
.os-timeline .is-current .os-time-marker i::after { background: var(--os-mint); box-shadow: 0 0 15px rgba(97,230,177,.5); }
.os-time-meta { color: var(--os-muted-2); font: 620 .67rem/1.65 ui-monospace, monospace; }
.os-time-copy h3 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2.6rem); font-weight: 820; }
.os-time-copy strong { display: block; margin-top: 6px; color: var(--os-blue-light); font-size: .72rem; }
.os-time-copy p { max-width: 710px; margin: 16px 0 0; font-size: .88rem; line-height: 1.68; }

/* CTA */
.os-cta-section { padding: clamp(80px, 9vw, 140px) 0; background: #0b0e14; }
.os-cta-card { --tilt-x: 0deg; --tilt-y: 0deg; min-height: 470px; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(30px, 5vw, 76px); border: 1px solid rgba(255,255,255,.1); border-radius: clamp(28px, 4vw, 52px); overflow: hidden; background: radial-gradient(circle at 80% 20%, rgba(97,230,177,.13), transparent 26rem), radial-gradient(circle at 18% 80%, rgba(77,124,255,.3), transparent 32rem), #10141c; box-shadow: var(--os-shadow); transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); }
.os-cta-card::after { content: 'OA / 2026'; position: absolute; right: 4%; top: 8%; color: rgba(255,255,255,.05); font-size: clamp(4rem, 12vw, 12rem); font-weight: 950; letter-spacing: -.08em !important; }
.os-cta-card h2 { position: relative; z-index: 1; margin: 38px 0 54px; font-size: clamp(3rem, 7.3vw, 8.5rem); line-height: .88; }
.os-cta-card > div { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }

/* Footer / utility chrome */
.obsidian-signal .site-footer { border-top: 1px solid rgba(255,255,255,.08); background: #07090d; padding: 70px 0 30px; }
.obsidian-signal .site-footer::before { height: 1px; background: linear-gradient(90deg, transparent, rgba(77,124,255,.72), rgba(97,230,177,.45), transparent); }
.obsidian-signal .site-footer h5 { color: var(--os-paper); font-family: 'Inter', sans-serif !important; letter-spacing: -.035em !important; }
.obsidian-signal .site-footer p,
.obsidian-signal .footer-nav-links a { color: var(--os-muted) !important; }
.obsidian-signal .footer-social a { border-radius: 50%; background: rgba(255,255,255,.035); color: var(--os-paper); }
.obsidian-signal .footer-social a:hover,
.obsidian-signal .footer-social a:focus-visible { background: var(--os-paper); color: var(--os-bg); }
.obsidian-signal #backToTopBtn { width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; background: rgba(17,20,27,.9); color: var(--os-paper); box-shadow: 0 16px 46px rgba(0,0,0,.3); backdrop-filter: blur(16px); }
.obsidian-signal #backToTopBtn:hover,
.obsidian-signal #backToTopBtn:focus-visible { background: var(--os-blue); }

.obsidian-signal .inactivity-toast-content {
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(17,20,27,.96);
    color: var(--os-paper);
    box-shadow: 0 24px 70px rgba(0,0,0,.42);
    backdrop-filter: blur(18px);
}
.obsidian-signal .inactivity-toast-content .toast-header { border-bottom: 1px solid var(--os-line); background: rgba(255,255,255,.035); color: var(--os-muted); }
.obsidian-signal .inactivity-toast-content .toast-title { color: var(--os-paper); font-family: 'Inter',sans-serif; }
.obsidian-signal .inactivity-toast-content .toast-body p { color: var(--os-muted) !important; }
.obsidian-signal .inactivity-toast-content .btn-close { filter: invert(1) grayscale(1); }
.obsidian-signal .inactivity-toast-content .btn-secondary { border-color: var(--os-line) !important; background: rgba(255,255,255,.06) !important; color: var(--os-paper) !important; }

/* Bootstrap GitHub modal kept as an existing feature */
.obsidian-signal .github-modal-v2 { border: 1px solid rgba(255,255,255,.12); border-radius: 28px; background: #11141b; color: var(--os-paper); box-shadow: 0 35px 110px rgba(0,0,0,.6); }
.obsidian-signal .github-modal-v2 .btn-close { filter: invert(1) grayscale(1); }
.obsidian-signal .github-modal-v2 .github-name { color: var(--os-paper); font-family: 'Inter',sans-serif !important; }
.obsidian-signal .github-modal-v2 .github-username,
.obsidian-signal .github-modal-v2 .github-bio { color: var(--os-muted) !important; }
.obsidian-signal .github-modal-stats li { border-color: var(--os-line); background: rgba(255,255,255,.04); color: #bbc8ef; }
.obsidian-signal .github-modal-v2 .github-button { border: 0; background: var(--os-paper) !important; color: var(--os-bg) !important; }

@keyframes osTicker { to { transform: translateX(-50%); } }
@keyframes osCue { 50%,100% { transform: translateX(105%); } }
@keyframes osSpin { to { transform: rotate(360deg); } }

/* ================================================================
   Projects universe
   ================================================================ */
.os-projects-main .container {
    width: min(100%, var(--os-shell));
    max-width: var(--os-shell);
    padding-inline: clamp(20px, 4vw, 72px);
}

.os-projects-hero {
    position: relative;
    padding: clamp(90px, 11vw, 176px) 0 0;
    border-bottom: 1px solid var(--os-line);
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 15%, rgba(77,124,255,.16), transparent 31rem),
        repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), rgba(255,255,255,.025) calc(12.5% - 1px) 12.5%),
        #080a0f;
}

.os-projects-hero::before {
    content: '';
    position: absolute;
    width: min(54vw, 800px);
    aspect-ratio: 1;
    right: -10%;
    top: -34%;
    border: 1px solid rgba(77,124,255,.1);
    border-radius: 50%;
    box-shadow: 0 0 0 90px rgba(77,124,255,.022), 0 0 0 180px rgba(77,124,255,.016);
    pointer-events: none;
}

.os-projects-hero-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(330px, .55fr);
    gap: clamp(50px, 10vw, 170px);
    align-items: end;
    padding-bottom: clamp(66px, 8vw, 116px);
}

.os-projects-hero-copy h1 {
    max-width: 1050px;
    margin: 16px 0 28px;
    font-size: clamp(4rem, 9.1vw, 10.6rem);
    line-height: .82;
    font-weight: 880;
}

.os-projects-hero-copy h1 em { color: var(--os-metal); font-family: 'Lora', Georgia, serif; font-weight: 600; }
.os-projects-hero-copy > p { max-width: 740px; margin: 0; font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1.7; }

.os-projects-ledger { margin: 0; padding: 0; border-top: 1px solid var(--os-line); }
.os-projects-ledger > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--os-line); }
.os-projects-ledger dt { color: var(--os-paper); font-size: clamp(1.55rem, 2.3vw, 2.6rem); font-weight: 880; letter-spacing: -.055em !important; }
.os-projects-ledger dd { margin: 0; color: var(--os-muted-2); font: 650 .66rem/1.2 ui-monospace, monospace; text-align: right; text-transform: uppercase; }

.os-projects-marquee {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 26px;
    padding: 15px clamp(20px,4vw,72px);
    border-top: 1px solid var(--os-line);
    color: var(--os-muted-2);
    font: 700 .62rem/1 ui-monospace, monospace;
    letter-spacing: .12em !important;
    white-space: nowrap;
}
.os-projects-marquee i { width: 5px; height: 5px; border-radius: 50%; background: var(--os-blue); }

.os-projects-workspace { padding: clamp(62px, 7vw, 104px) 0 clamp(100px, 10vw, 160px); background: #0a0d12; }

.os-platform-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: clamp(76px, 9vw, 138px);
    border: 1px solid var(--os-line);
    border-radius: 25px;
    overflow: hidden;
    background: #0e1118;
}

.os-platform-tab {
    min-height: 156px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr;
    gap: 20px;
    padding: 25px 27px;
    border: 0;
    border-right: 1px solid var(--os-line);
    background: transparent;
    color: var(--os-muted);
    text-align: left;
    overflow: hidden;
    cursor: pointer;
    transition: color .25s ease, background .25s ease;
}
.os-platform-tab:last-child { border-right: 0; }
.os-platform-tab::before { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, var(--os-blue), var(--os-mint)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--os-ease); }
.os-platform-tab::after { content: ''; position: absolute; width: 180px; aspect-ratio: 1; right: -70px; bottom: -110px; border-radius: 50%; background: rgba(77,124,255,.16); filter: blur(28px); opacity: 0; transition: opacity .3s ease; }
.os-platform-tab:hover,
.os-platform-tab:focus-visible { color: var(--os-paper); background: rgba(255,255,255,.025); }
.os-platform-tab.is-active { color: var(--os-paper); background: linear-gradient(145deg, rgba(77,124,255,.12), rgba(255,255,255,.025)); }
.os-platform-tab.is-active::before { transform: scaleX(1); }
.os-platform-tab.is-active::after { opacity: 1; }
.os-platform-index { color: var(--os-blue-light); font: 750 .65rem/1 ui-monospace, monospace; letter-spacing: .12em !important; }
.os-platform-count { justify-self: end; min-width: 34px; height: 24px; display: grid; place-items: center; border: 1px solid var(--os-line); border-radius: 999px; color: var(--os-muted); font: 700 .6rem/1 ui-monospace, monospace; }
.os-platform-label { grid-column: 1 / -1; align-self: end; font-size: clamp(1.25rem, 2.2vw, 2rem); font-weight: 820; letter-spacing: -.04em !important; }

.os-platform-panel { animation: osPanelIn .45s var(--os-ease) both; }
.os-panel-intro { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.65fr); gap: clamp(40px,8vw,130px); align-items: end; margin-bottom: clamp(50px,6vw,80px); }
.os-panel-intro h2 { margin: 12px 0 0; font-size: clamp(3.25rem, 7vw, 8rem); line-height: .87; font-weight: 870; }
.os-panel-intro > p { max-width: 560px; margin: 0 0 6px; font-size: clamp(.95rem,1.25vw,1.12rem); line-height: 1.7; }

.os-section-line-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.os-section-line-heading h3 { margin: 0; font-size: clamp(1.75rem,3vw,3.2rem); font-weight: 820; }

.os-rail-controls { display: flex; gap: 7px; }
.os-rail-controls button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--os-line); border-radius: 50%; background: rgba(255,255,255,.025); color: var(--os-paper); cursor: pointer; transition: background .2s ease, color .2s ease, opacity .2s ease, transform .2s var(--os-ease); }
.os-rail-controls button:hover,
.os-rail-controls button:focus-visible { background: var(--os-paper); color: var(--os-bg); transform: translateY(-2px); }
.os-rail-controls button:disabled,
.os-rail-controls button.is-disabled { opacity: .3; cursor: default; transform: none; }

.os-featured-projects { margin-bottom: clamp(100px,12vw,180px); }
.os-featured-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(390px, 43vw); gap: 16px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; scrollbar-width: thin; scrollbar-color: #343b49 transparent; padding: 2px 0 20px; }
.os-featured-rail::-webkit-scrollbar { height: 7px; }
.os-featured-rail::-webkit-scrollbar-track { background: transparent; }
.os-featured-rail::-webkit-scrollbar-thumb { border-radius: 99px; background: #343b49; }

.os-featured-project,
.os-mobile-project,
.os-desktop-project { --tilt-x: 0deg; --tilt-y: 0deg; --tilt-lx: 50%; --tilt-ly: 50%; transform: perspective(1300px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transform-style: preserve-3d; will-change: transform; }

.os-featured-project { min-height: 560px; position: relative; scroll-snap-align: start; border: 1px solid var(--os-line); border-radius: 27px; overflow: hidden; background: var(--os-surface); box-shadow: 0 26px 74px rgba(0,0,0,.25); }
.os-featured-project::after,
.os-mobile-project::after,
.os-desktop-project::after { content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: radial-gradient(circle at var(--tilt-lx) var(--tilt-ly), rgba(255,255,255,.12), transparent 30%); opacity: 0; transition: opacity .25s ease; }
.os-featured-project:hover::after,
.os-featured-project:focus-within::after,
.os-mobile-project:hover::after,
.os-mobile-project:focus-within::after,
.os-desktop-project:hover::after,
.os-desktop-project:focus-within::after { opacity: .72; }
.os-featured-project > a { height: 100%; display: grid; grid-template-rows: minmax(310px,1fr) auto; color: inherit; text-decoration: none; }
.os-featured-image { min-height: 0; position: relative; overflow: hidden; background: #0b0e13; }
.os-featured-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(8,10,15,.62)); }
.os-featured-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .7s var(--os-ease), filter .35s ease; }
.os-featured-project:hover img,
.os-featured-project:focus-within img { transform: scale(1.035); filter: saturate(1.08); }
.os-featured-number { position: absolute; z-index: 2; top: 18px; left: 18px; min-width: 38px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(8,10,15,.62); color: var(--os-paper); font: 700 .62rem/1 ui-monospace, monospace; backdrop-filter: blur(10px); }
.os-project-open { position: absolute; z-index: 2; right: 18px; top: 18px; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(8,10,15,.62); color: var(--os-paper); backdrop-filter: blur(10px); transition: color .2s ease, background .2s ease, transform .2s var(--os-ease); }
.os-featured-project:hover .os-project-open,
.os-featured-project:focus-within .os-project-open { color: var(--os-bg); background: var(--os-paper); transform: rotate(45deg); }
.os-featured-meta { min-height: 214px; padding: 22px 24px 25px; background: var(--os-surface); }
.os-featured-meta > span { color: var(--os-blue-light); font: 700 .62rem/1.2 ui-monospace, monospace; text-transform: uppercase; }
.os-featured-meta h4 { margin: 10px 0 8px; font-size: clamp(1.7rem,3vw,3.3rem); font-weight: 830; }
.os-featured-meta p { margin: 0; font-size: .82rem; line-height: 1.55; }
.os-featured-meta small { display: block; margin-top: 15px; color: var(--os-muted-2); font: 600 .62rem/1.45 ui-monospace, monospace; }

/* Project archive */
.os-web-archive { scroll-margin-top: 100px; }
.os-archive-heading { align-items: flex-end; padding-bottom: 22px; border-bottom: 1px solid var(--os-line); }
.os-archive-heading .os-kicker { margin-bottom: 10px; }
.os-project-facets { min-inline-size: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; margin: 0; padding: 0; border: 0; }
.os-project-facets button { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 8px 13px; border: 1px solid var(--os-line); border-radius: 999px; background: rgba(255,255,255,.025); color: var(--os-muted); font-size: .69rem; font-weight: 720; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s var(--os-ease); }
.os-project-facets button span { min-width: 22px; height: 20px; display: grid; place-items: center; border-radius: 999px; background: rgba(255,255,255,.06); font: 700 .56rem/1 ui-monospace, monospace; }
.os-project-facets button:hover,
.os-project-facets button:focus-visible { color: var(--os-paper); border-color: rgba(255,255,255,.24); transform: translateY(-2px); }
.os-project-facets button.is-active { color: var(--os-bg); border-color: var(--os-paper); background: var(--os-paper); }
.os-project-facets button.is-active span { color: var(--os-paper); background: var(--os-bg); }

.os-archive-layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(380px,.85fr); gap: clamp(42px,6vw,96px); align-items: start; }
.os-project-list { margin: 0; padding: 0; border-top: 1px solid var(--os-line); list-style: none; }
.os-project-row { transition: opacity .25s ease; }
.os-project-row[hidden] { display: none !important; }
.os-project-row > a { display: grid; grid-template-columns: 44px minmax(220px,1.4fr) minmax(120px,.7fr) minmax(130px,.8fr) 28px; gap: 18px; align-items: center; min-height: 112px; padding: 18px 2px; border-bottom: 1px solid var(--os-line); color: inherit; text-decoration: none; transition: padding .25s var(--os-ease), background .25s ease; }
.os-project-row > a:hover,
.os-project-row > a:focus-visible,
.os-project-row.is-preview-active > a { padding-inline: 14px; background: linear-gradient(90deg, rgba(77,124,255,.095), transparent 84%); }
.os-project-row-number { color: var(--os-blue-light); font: 700 .6rem/1 ui-monospace, monospace; }
.os-project-row-copy { display: grid; gap: 7px; }
.os-project-row-copy strong { color: var(--os-paper); font-size: clamp(.92rem,1.25vw,1.18rem); letter-spacing: -.025em !important; }
.os-project-row-copy small { display: -webkit-box; overflow: hidden; color: var(--os-muted-2); font-size: .67rem; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.os-project-row-type,
.os-project-row-tech { color: var(--os-muted); font-size: .65rem; line-height: 1.45; }
.os-project-row-tech { color: var(--os-muted-2); font-family: ui-monospace, monospace; }
.os-project-row-arrow { justify-self: end; color: var(--os-muted-2); transition: color .2s ease, transform .2s var(--os-ease); }
.os-project-row:hover .os-project-row-arrow,
.os-project-row:focus-within .os-project-row-arrow { color: var(--os-paper); transform: translate(3px,-3px); }

.os-project-preview { position: sticky; top: 106px; }
.os-project-preview > a { display: block; border: 1px solid var(--os-line); border-radius: 28px; overflow: hidden; color: inherit; background: var(--os-surface); text-decoration: none; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.os-project-preview-media { aspect-ratio: 16 / 10; position: relative; overflow: hidden; background: #0d1016; }
.os-project-preview-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(8,10,15,.7)); }
.os-project-preview-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: opacity .18s ease, transform .6s var(--os-ease); }
.os-project-preview.is-updating img,
.os-project-preview-media.is-updating img { opacity: .35; }
.os-project-preview > a:hover img,
.os-project-preview > a:focus-visible img { transform: scale(1.03); }
.os-project-preview-media > span { position: absolute; z-index: 2; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.17); border-radius: 999px; background: rgba(8,10,15,.7); color: var(--os-paper); font-size: .64rem; font-weight: 750; backdrop-filter: blur(10px); }
.os-project-preview-copy { min-height: 106px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 20px 23px; }
.os-project-preview-copy small { color: var(--os-blue-light); font: 700 .59rem/1.3 ui-monospace, monospace; text-transform: uppercase; }
.os-project-preview-copy strong { color: var(--os-paper); font-size: clamp(1.3rem,2.4vw,2.25rem); letter-spacing: -.045em !important; }

/* Mobile products */
.os-mobile-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.os-mobile-project { min-height: 720px; position: relative; display: grid; grid-template-columns: minmax(320px,.9fr) minmax(0,1.1fr); border: 1px solid var(--os-line); border-radius: 34px; overflow: hidden; background: var(--os-surface); box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.os-mobile-visual { min-height: 520px; position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 45%, rgba(77,124,255,.28), transparent 50%), #0b0e14; }
.os-mobile-project--mavi-iz .os-mobile-visual { background: radial-gradient(circle at 45% 42%, rgba(74,132,255,.28), transparent 48%), linear-gradient(150deg,#07152e,#0c1f3e 52%,#09111e); }
.os-mobile-hero-image { width: 74%; height: 86%; object-fit: contain; filter: drop-shadow(0 38px 44px rgba(0,0,0,.45)); }
.os-mobile-logo { width: 68px; height: 68px; position: absolute; left: 24px; top: 24px; border-radius: 18px; object-fit: cover; box-shadow: 0 14px 34px rgba(0,0,0,.3); }
.os-mobile-version { position: absolute; right: 20px; top: 20px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(8,10,15,.55); color: var(--os-paper); font: 700 .6rem/1 ui-monospace, monospace; backdrop-filter: blur(12px); }
.os-mobile-copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(28px,4vw,58px); }
.os-status-pill { width: max-content; display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--os-line); border-radius: 999px; color: var(--os-muted); font: 700 .59rem/1.2 ui-monospace, monospace; }
.os-status-pill i { width: 7px; height: 7px; border-radius: 50%; background: #f0b768; box-shadow: 0 0 0 4px rgba(240,183,104,.1); }
.os-status-pill.is-live i { background: var(--os-mint); box-shadow: 0 0 0 4px rgba(97,230,177,.1); }
.os-mobile-copy h3 { margin: 22px 0 14px; font-size: clamp(2.25rem,3.3vw,4.3rem); font-weight: 860; }
.os-mobile-copy p { margin: 0; font-size: .87rem; line-height: 1.65; }
.os-mobile-copy ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 24px 0 30px; padding: 0; list-style: none; }
.os-mobile-copy li { padding: 7px 10px; border: 1px solid var(--os-line); border-radius: 999px; color: #c6cbd3; font-size: .63rem; }
.os-unavailable-action { width: max-content; margin-top: auto; padding: 12px 16px; border: 1px solid var(--os-line); border-radius: 999px; color: var(--os-muted-2); font-size: .7rem; font-weight: 750; }

.os-mobile-project--vibemeter { background: linear-gradient(145deg,#18131f,#11141b); }
.os-mobile-project--vibemeter .os-mobile-visual { background: radial-gradient(circle at 50% 45%, rgba(226,94,255,.23), transparent 45%), linear-gradient(150deg,#14101c,#0c1018); }
.os-vibemeter-art { width: min(76%, 340px); aspect-ratio: .56; position: relative; border: 1px solid rgba(255,255,255,.16); border-radius: 48px; background: linear-gradient(165deg,rgba(255,255,255,.09),rgba(255,255,255,.025)); box-shadow: inset 0 1px rgba(255,255,255,.09), 0 36px 65px rgba(0,0,0,.4); }
.os-vibemeter-art::before { content: ''; position: absolute; width: 38%; height: 22px; left: 31%; top: 12px; border-radius: 99px; background: #080a0f; }
.os-vibe-orbit { position: absolute; width: 66%; aspect-ratio: 1; left: 17%; top: 18%; border: 1px solid rgba(226,94,255,.4); border-radius: 50%; box-shadow: 0 0 0 22px rgba(226,94,255,.04), 0 0 40px rgba(226,94,255,.17); }
.os-vibe-core { position: absolute; width: 36%; aspect-ratio: 1; left: 32%; top: 28%; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg,#ed6eff,#714dff); color: white; font-size: 2.4rem; font-weight: 900; box-shadow: 0 18px 40px rgba(151,78,255,.3); }
.os-vibe-bar { position: absolute; left: 13%; right: 13%; height: 11px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.os-vibe-bar::after { content: ''; display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#7b68ff,#ec6dff); }
.os-vibe-bar--one { bottom: 27%; }
.os-vibe-bar--one::after { width: 87%; }
.os-vibe-bar--two { bottom: 21%; }
.os-vibe-bar--two::after { width: 64%; }
.os-vibe-bar--three { bottom: 15%; }
.os-vibe-bar--three::after { width: 76%; }
.os-vibe-score { position: absolute; right: 13%; bottom: 33%; color: white; font: 800 .85rem/1 ui-monospace,monospace; }

/* Desktop apps */
.os-download-notice { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: start; margin-bottom: 34px; padding: 22px 24px; border: 1px solid rgba(97,230,177,.18); border-radius: 20px; background: linear-gradient(90deg,rgba(97,230,177,.075),rgba(255,255,255,.02)); }
.os-download-notice > i { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: rgba(97,230,177,.12); color: var(--os-mint); font-size: 1rem; }
.os-download-notice strong { color: var(--os-paper); font-size: .84rem; }
.os-download-notice p { max-width: 1050px; margin: 6px 0 0; font-size: .75rem; line-height: 1.6; }

.os-desktop-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.os-desktop-project { min-height: 660px; position: relative; display: grid; grid-template-rows: 270px 1fr; border: 1px solid var(--os-line); border-radius: 28px; overflow: hidden; background: var(--os-surface); box-shadow: 0 26px 78px rgba(0,0,0,.24); }
.os-desktop-project.is-building { background: linear-gradient(150deg,#11141b,#0d1016); }
.os-desktop-visual { position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 45%,rgba(77,124,255,.18),transparent 52%),#0b0e14; }
.os-desktop-visual::after { content: ''; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(180deg,transparent,rgba(8,10,15,.55)); }
.os-desktop-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.96) contrast(1.02); transform: scale(1.005); transition: transform .75s var(--os-ease), filter .35s ease; }
.os-desktop-project:hover .os-desktop-visual img,
.os-desktop-project:focus-within .os-desktop-visual img { transform: scale(1.035); filter: saturate(1.04) contrast(1.03); }
.os-desktop-mark { width: 118px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.13); border-radius: 30px; background: linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.025)); color: var(--os-paper); font-size: 1.8rem; font-weight: 900; letter-spacing: -.05em !important; box-shadow: 0 25px 50px rgba(0,0,0,.3), inset 0 1px rgba(255,255,255,.08); }
.os-desktop-index { position: absolute; z-index: 2; right: 18px; top: 18px; color: var(--os-muted-2); font: 700 .62rem/1 ui-monospace,monospace; }
.os-desktop-copy { position: relative; z-index: 1; display: flex; flex-direction: column; padding: 24px; }
.os-desktop-copy > small { display: block; margin-top: 19px; color: var(--os-blue-light); font: 700 .61rem/1.2 ui-monospace,monospace; text-transform: uppercase; }
.os-desktop-copy h3 { margin: 7px 0 10px; font-size: clamp(1.65rem,2.5vw,2.8rem); font-weight: 840; }
.os-desktop-copy > p { margin: 0 0 22px; font-size: .78rem; line-height: 1.6; }
.os-file-meta { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; margin: auto 0 14px; }
.os-file-meta > div { padding: 11px 12px; border: 1px solid var(--os-line); border-radius: 12px; background: rgba(255,255,255,.025); }
.os-file-meta dt { color: var(--os-muted-2); font-size: .56rem; text-transform: uppercase; }
.os-file-meta dd { margin: 3px 0 0; color: var(--os-paper); font-size: .72rem; font-weight: 760; }
.os-checksum { margin-bottom: 14px; padding: 11px 12px; border: 1px solid var(--os-line); border-radius: 12px; background: rgba(255,255,255,.025); }
.os-checksum span { display: block; margin-bottom: 4px; color: var(--os-muted-2); font-size: .54rem; }
.os-checksum code { display: block; overflow-wrap: anywhere; color: #aebeff; font: 600 .5rem/1.42 ui-monospace,monospace; }
.os-download-button { min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 11px 15px; border-radius: 999px; background: var(--os-paper); color: var(--os-bg) !important; font-size: .71rem; font-weight: 820; text-decoration: none; transition: transform .2s var(--os-ease), box-shadow .2s ease; }
.os-download-button:hover,
.os-download-button:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(244,241,234,.14); }
.os-build-state { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--os-line); }
.os-build-state span { color: var(--os-muted); font-size: .72rem; font-weight: 760; }
.os-build-state small { display: block; margin-top: 6px; color: var(--os-muted-2); font-size: .63rem; line-height: 1.45; }

.os-projects-cta { padding: 0 0 clamp(90px,10vw,150px); background: #0a0d12; }
.os-projects-cta-card { min-height: 430px; position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(34px,6vw,90px); border: 1px solid var(--os-line); border-radius: clamp(28px,4vw,50px); overflow: hidden; background: radial-gradient(circle at 83% 22%,rgba(97,230,177,.13),transparent 27rem),radial-gradient(circle at 23% 90%,rgba(77,124,255,.32),transparent 38rem),#10141c; box-shadow: var(--os-shadow); }
.os-projects-cta-card::after { content: 'NEXT / 01'; position: absolute; right: 4%; top: 8%; color: rgba(255,255,255,.055); font-size: clamp(4rem,11vw,11rem); font-weight: 950; letter-spacing: -.08em !important; }
.os-projects-cta-card h2 { max-width: 1040px; position: relative; z-index: 1; margin: 22px 0 38px; font-size: clamp(3rem,7vw,8rem); line-height: .88; font-weight: 870; }
.os-projects-cta-card h2 em { color: var(--os-metal); font-family: 'Lora',Georgia,serif; font-weight: 600; }
.os-projects-cta-card .os-button { position: relative; z-index: 1; }

@keyframes osPanelIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   Responsive and motion preferences
   ================================================================ */
@media (max-width: 1399.98px) {
    .os-header-shell { grid-template-columns: minmax(220px,1fr) auto minmax(180px,1fr); gap: 16px; }
    .obsidian-signal .os-desktop-nav .nav-link { padding-inline: 9px !important; font-size: .71rem; }
    .os-header-social { display: none; }
    .os-hero-stage { --deck-w: min(48vw,650px); min-height: 520px; }
    .os-mobile-grid { grid-template-columns: 1fr; }
    .os-mobile-project { grid-template-columns: minmax(360px,.9fr) minmax(0,1.1fr); }
    .os-desktop-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 1199.98px) {
    .os-header-shell { display: flex; justify-content: space-between; }
    .os-hero-shell { grid-template-columns: minmax(0,1fr) minmax(390px,.8fr); gap: 32px; }
    .os-hero-copy h1 { font-size: clamp(3.1rem,7.5vw,6.4rem); font-size: min(clamp(3.1rem,7.5vw,6.4rem), 11.5cqi); }
    .os-hero-stage { width: 100%; height: 620px; min-height: 0; }
    .os-feature-grid { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(560px,1fr) minmax(430px,auto); }
    .os-feature-wide { grid-column: 1 / -1; grid-row: auto; }
    .os-capability-layout { grid-template-columns: minmax(360px,.8fr) minmax(0,1.2fr); gap: 44px; }
    .os-archive-layout { grid-template-columns: minmax(0,1.15fr) minmax(330px,.85fr); gap: 38px; }
    .os-project-row > a { grid-template-columns: 36px minmax(180px,1.3fr) minmax(110px,.7fr) 25px; }
    .os-project-row-tech { display: none; }
    .os-featured-rail { grid-auto-columns: minmax(390px,58vw); }
}

@media (max-width: 991.98px) {
    .os-section-heading,
    .os-panel-intro,
    .os-projects-hero-shell { grid-template-columns: 1fr; gap: 30px; }
    .os-projects-ledger { display: grid; grid-template-columns: repeat(3,1fr); }
    .os-projects-ledger > div { display: block; padding: 16px; border-right: 1px solid var(--os-line); }
    .os-projects-ledger > div:last-child { border-right: 0; }
    .os-projects-ledger dd { margin-top: 4px; text-align: left; }
    .os-hero { min-height: auto; }
    .os-hero-shell { grid-template-columns: 1fr; }
    .os-hero-copy { max-width: 850px; }
    .os-hero-stage { width: min(100%,720px); height: 680px; justify-self: center; margin-top: 20px; }
    .os-scroll-cue { display: none; }
    .os-capability-layout { grid-template-columns: 1fr; }
    .os-capability-orbit { max-width: 560px; }
    .os-timeline article { grid-template-columns: 120px 1fr; gap: 24px; }
    .os-time-copy { grid-column: 2; }
    .os-platform-tab { min-height: 132px; padding: 20px; }
    .os-archive-layout { grid-template-columns: 1fr; }
    .os-project-preview { display: none; }
    .os-project-row > a { grid-template-columns: 36px minmax(0,1fr) minmax(120px,.5fr) 25px; }
    .os-mobile-project { grid-template-columns: minmax(300px,.85fr) minmax(0,1.15fr); }
    .os-desktop-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767.98px) {
    .obsidian-signal .os-header,
    .os-header-shell { min-height: 68px; }
    .obsidian-signal .os-mobile-menu { top: 68px; height: calc(100dvh - 68px); }
    .os-brand-copy small { display: none; }
    .os-brand-copy strong { font-size: .8rem; }
    .os-section { padding: 80px 0; }
    .os-section-heading { margin-bottom: 42px; }
    .os-hero { padding-top: 68px; }
    .os-hero-copy h1 { font-size: clamp(3.15rem,15vw,5.2rem); font-size: min(clamp(3.15rem,15vw,5.2rem), 11.5cqi); }
    .os-hero-lead { margin-top: 25px; }
    .os-hero-actions { align-items: stretch; }
    .os-hero-actions .os-button { width: 100%; }
    .os-hero-metrics { margin-top: 38px; }
    .os-hero-metrics > div { padding-right: 10px; }
    .os-hero-metrics > div + div { padding-left: 10px; }
    .os-hero-stage { height: 540px; }
    .os-stage-label { display: none; }
    .os-card-a { width: 72%; height: 58%; }
    .os-card-b { width: 72%; height: 58%; top: 24%; }
    .os-card-c { width: 62%; height: 48%; }
    .os-feature-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: auto; }
    .os-feature-wide { grid-column: auto; }
    .os-feature-card { min-height: 520px; }
    .os-feature-copy { min-height: 180px; }
    .os-capability-orbit { width: min(100%,480px); }
    .os-timeline article { grid-template-columns: 1fr; gap: 13px; }
    .os-time-marker { max-width: 170px; }
    .os-time-copy { grid-column: auto; }
    .os-cta-card { min-height: 420px; }
    .os-cta-card > div { align-items: stretch; }
    .os-cta-card .os-button,
    .os-cta-card .os-text-link { width: 100%; justify-content: space-between; }
    .os-projects-hero { padding-top: 80px; }
    .os-projects-hero-copy h1 { font-size: clamp(3.7rem,17vw,6rem); }
    .os-projects-marquee { justify-content: flex-start; overflow: hidden; }
    .os-platform-tabs { grid-template-columns: 1fr; border-radius: 22px; }
    .os-platform-tab { min-height: 104px; border-right: 0; border-bottom: 1px solid var(--os-line); }
    .os-platform-tab:last-child { border-bottom: 0; }
    .os-platform-label { font-size: 1.35rem; }
    .os-section-line-heading { align-items: center; }
    .os-featured-rail { grid-auto-columns: minmax(310px,86vw); }
    .os-featured-project { min-height: 520px; }
    .os-archive-heading { display: grid; align-items: start; }
    .os-project-facets { justify-content: flex-start; }
    .os-project-row > a { grid-template-columns: 32px minmax(0,1fr) 24px; gap: 12px; min-height: 102px; }
    .os-project-row-type { display: none; }
    .os-project-row-copy small { -webkit-line-clamp: 1; }
    .os-mobile-project { min-height: 0; grid-template-columns: 1fr; }
    .os-mobile-visual { min-height: 500px; }
    .os-mobile-copy { min-height: 430px; }
    .os-desktop-grid { grid-template-columns: 1fr; }
    .os-desktop-project { min-height: 620px; }
    .os-projects-cta-card { min-height: 390px; }
}

@media (max-width: 479.98px) {
    .os-header-shell { padding-inline: 14px; }
    .os-brand-mark { width: 38px; border-radius: 11px; }
    .os-brand-copy strong { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .os-section-shell,
    .os-projects-main .container { padding-inline: 16px; }
    .os-hero-shell { padding-inline: 16px; }
    .os-hero-copy h1 { font-size: clamp(2.5rem,10.5vw,3.1rem); font-size: min(clamp(2.5rem,10.5vw,3.1rem), 11.5cqi); }
    .os-hero-metrics dd { font-size: .59rem; }
    .os-hero-stage { height: 460px; }
    .os-kinetic-card { border-radius: 16px; }
    .os-card-meta { height: 52px; padding-inline: 10px; }
    .os-card-meta b { font-size: .68rem; }
    .os-card-meta small { display: none; }
    .os-kinetic-card img { height: calc(100% - 52px); }
    .os-feature-card { min-height: 470px; border-radius: 24px; }
    .os-feature-copy { padding: 18px; }
    .os-capability-orbit { transform: scale(.9); }
    .os-orbit-node { min-width: 74px; padding: 8px 10px; font-size: .57rem; }
    .os-projects-hero-copy h1 { font-size: clamp(3rem,16vw,4.5rem); }
    .os-projects-ledger { grid-template-columns: 1fr; }
    .os-projects-ledger > div { display: flex; border-right: 0; }
    .os-projects-ledger dd { margin-top: 0; text-align: right; }
    .os-projects-marquee span:nth-of-type(n+3),
    .os-projects-marquee i:nth-of-type(n+3) { display: none; }
    .os-project-facets button { padding: 7px 10px; }
    .os-featured-rail { grid-auto-columns: calc(100vw - 46px); }
    .os-featured-project { min-height: 480px; }
    .os-featured-meta { min-height: 215px; padding: 18px; }
    .os-mobile-visual { min-height: 430px; }
    .os-mobile-copy { min-height: 410px; padding: 26px 20px; }
    .os-vibemeter-art { width: min(68%,270px); border-radius: 38px; }
    .os-download-notice { grid-template-columns: 1fr; }
    .os-desktop-project { grid-template-rows: 240px 1fr; }
    .os-desktop-copy { padding: 20px; }
    .os-checksum code { font-size: .47rem; }
}

@media (hover: hover) and (pointer: fine) {
    .os-platform-tab:hover .os-platform-label { transform: translateX(3px); }
    .os-platform-label { transition: transform .2s var(--os-ease); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    .os-main *,
    .os-main *::before,
    .os-main *::after,
    .obsidian-signal .site-preloader * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .os-ticker-track { transform: none !important; }
    .os-kinetic-card,
    .os-feature-card,
    .os-cta-card,
    .os-featured-project,
    .os-mobile-project,
    .os-desktop-project { transform: none !important; }
}

/* ================================================================
   Product theater + theme control
   ================================================================ */
.os-theme-toggle {
    --toggle-thumb: #fff;
    width: 52px;
    height: 30px;
    flex: 0 0 auto;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--os-line-strong);
    border-radius: 999px;
    background: var(--os-surface-2);
    color: var(--os-muted);
    cursor: pointer;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .06);
    transition: border-color .25s ease, background .25s ease, color .25s ease, transform .25s var(--os-ease);
}

.os-theme-toggle:hover,
.os-theme-toggle:focus-visible {
    border-color: var(--os-blue);
    color: var(--os-paper);
    transform: translateY(-1px);
}

.os-theme-toggle-track {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7px;
}

.os-theme-toggle-track::after {
    content: '';
    width: 22px;
    height: 22px;
    position: absolute;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: var(--toggle-thumb);
    box-shadow: 0 3px 10px rgba(13, 18, 28, .18);
    transition: transform .3s var(--os-ease), background .25s ease;
}

.os-theme-toggle-track i {
    position: relative;
    z-index: 1;
    font-size: .58rem;
}

.os-theme-toggle-track .fa-sun { color: #bf7a08; }
.os-theme-toggle-track .fa-moon { color: #8d96a7; }
html[data-theme="dark"] .os-theme-toggle-track::after { transform: translateX(22px); background: #dfe5ef; }
html[data-theme="dark"] .os-theme-toggle-track .fa-moon { color: #33466f; }

.os-mobile-menu-controls { display: flex; align-items: center; gap: 10px; }
.os-theme-toggle-mobile { width: auto; min-width: 174px; justify-content: flex-start; gap: 10px; padding-right: 13px; }
.os-theme-toggle-mobile .os-theme-toggle-track { width: 50px; flex: 0 0 50px; }
.os-theme-toggle-copy { font: 700 .64rem/1 ui-monospace, monospace; letter-spacing: .03em !important; white-space: nowrap; }

.os-product-theater {
    --kinetic-x: 0px;
    --kinetic-y: 0px;
    --kinetic-rx: 0deg;
    --kinetic-ry: 0deg;
    position: absolute;
    inset: 35px 0 83px;
    border: 1px solid var(--os-line-strong);
    border-radius: 38px;
    overflow: hidden;
    background: var(--os-surface);
    box-shadow: var(--os-shadow);
    transform: translate3d(var(--kinetic-x), var(--kinetic-y), 0) rotateX(var(--kinetic-rx)) rotateY(var(--kinetic-ry));
    transform-style: preserve-3d;
    will-change: transform;
    transition: border-color .25s ease, box-shadow .3s ease;
}

.os-product-theater:hover,
.os-product-theater:focus-within {
    border-color: color-mix(in srgb, var(--os-blue) 44%, transparent);
    box-shadow: 0 42px 110px rgba(25, 31, 45, .17), 0 0 0 1px rgba(49, 95, 215, .06);
}

.os-theater-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(.985) translateY(7px);
    transition: opacity .45s var(--os-ease), visibility .45s, transform .55s var(--os-ease);
}

.os-theater-panel.is-active {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    transform: none;
}

.os-theater-panel-link {
    height: 100%;
    display: grid;
    grid-template-rows: minmax(0, 1fr) 84px;
    color: inherit;
    text-decoration: none;
}

.os-theater-media { min-height: 0; position: relative; overflow: hidden; }
.os-theater-media::after { content: ''; position: absolute; inset: 0; pointer-events: none; }

.os-theater-media-profile { background: #c9c3ba; }
.os-theater-media-profile::after {
    background: linear-gradient(180deg, transparent 50%, rgba(16, 18, 23, .24));
}
.os-theater-media-profile > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 68%;
    filter: saturate(.87) contrast(1.02);
    transition: transform 1.1s var(--os-ease), filter .45s ease;
}
.os-product-theater:hover .os-theater-media-profile > img,
.os-product-theater:focus-within .os-theater-media-profile > img { transform: scale(1.025); filter: saturate(.97) contrast(1.02); }

.os-theater-presence {
    position: absolute;
    z-index: 2;
    left: 20px;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 999px;
    background: rgba(24, 26, 31, .54);
    color: white;
    font: 700 .6rem/1 ui-monospace, monospace;
    backdrop-filter: blur(14px);
}
.os-theater-presence i { width: 7px; height: 7px; border-radius: 50%; background: #61e6b1; box-shadow: 0 0 0 4px rgba(97,230,177,.15); }

.os-theater-media-vibemeter {
    background:
        radial-gradient(circle at 18% 20%, rgba(221, 185, 255, .72), transparent 28%),
        radial-gradient(circle at 82% 76%, rgba(137, 219, 255, .58), transparent 33%),
        linear-gradient(145deg, #f8efff, #f2f5ff 55%, #eafaff);
}
.os-theater-media-vibemeter::after { background: linear-gradient(115deg, rgba(255,255,255,.32), transparent 42%); }
.os-theater-app-icon {
    width: clamp(86px, 9vw, 132px);
    height: auto;
    position: absolute;
    z-index: 2;
    left: 9%;
    top: 14%;
    border-radius: 25%;
    box-shadow: 0 26px 55px rgba(100, 70, 160, .24);
}
.os-theater-phone {
    width: min(47%, 280px);
    height: 104%;
    position: absolute;
    right: 11%;
    top: 8%;
    z-index: 1;
    padding: 7px;
    border-radius: 34px;
    background: #15141a;
    box-shadow: 0 38px 70px rgba(68, 55, 96, .28);
    transform: rotate(4deg);
    transition: transform .8s var(--os-ease);
}
.os-theater-phone::before { content: ''; position: absolute; z-index: 2; width: 34%; height: 16px; left: 33%; top: 9px; border-radius: 999px; background: #14131a; }
.os-theater-phone img { width: 100%; height: 100%; border-radius: 28px; object-fit: cover; object-position: top; }
.os-product-theater:hover .os-theater-phone,
.os-product-theater:focus-within .os-theater-phone { transform: rotate(1.5deg) translateY(-6px); }
.os-theater-app-note {
    position: absolute;
    z-index: 2;
    left: 9%;
    bottom: 13%;
    max-width: 170px;
    color: #554d64;
    font: 750 .62rem/1.5 ui-monospace, monospace;
    text-transform: uppercase;
}

.os-theater-media-mavi-iz {
    isolation: isolate;
    background:
        radial-gradient(circle at 20% 22%, rgba(255, 255, 255, .98), transparent 25%),
        radial-gradient(circle at 78% 30%, rgba(134, 195, 255, .68), transparent 34%),
        linear-gradient(145deg, #f5fbff, #dceeff 54%, #c8e0ff);
}
.os-theater-media-mavi-iz::before {
    content: '';
    position: absolute;
    z-index: 0;
    width: min(74%, 430px);
    aspect-ratio: 1;
    right: -8%;
    top: -20%;
    border: 1px solid rgba(25, 94, 190, .12);
    border-radius: 50%;
    box-shadow:
        0 0 0 42px rgba(255, 255, 255, .13),
        0 0 0 84px rgba(53, 133, 232, .055);
}
.os-theater-media-mavi-iz::after {
    z-index: 3;
    background: linear-gradient(115deg, rgba(255,255,255,.42), transparent 39%);
}
.os-theater-mavi-logo {
    width: clamp(92px, 9.5vw, 138px);
    height: auto;
    position: absolute;
    z-index: 2;
    left: 9%;
    top: 13%;
    border: 1px solid rgba(22, 89, 176, .08);
    border-radius: 24%;
    box-shadow: 0 28px 58px rgba(35, 99, 181, .2);
}
.os-theater-mavi-flower {
    width: min(60%, 350px);
    height: 110%;
    position: absolute;
    z-index: 1;
    right: 2%;
    bottom: -20%;
    object-fit: contain;
    filter: drop-shadow(0 34px 30px rgba(35, 94, 166, .2));
    transform: rotate(5deg);
    transform-origin: 50% 85%;
    transition: transform .85s var(--os-ease), filter .45s ease;
}
.os-product-theater:hover .os-theater-mavi-flower,
.os-product-theater:focus-within .os-theater-mavi-flower {
    filter: drop-shadow(0 40px 34px rgba(35, 94, 166, .25));
    transform: rotate(2deg) translateY(-7px);
}
.os-theater-mavi-note { color: #31598d; }

.os-theater-media-assistant { padding: 42px 34px 0; background: radial-gradient(circle at 70% 12%, rgba(79,127,255,.24), transparent 35%), linear-gradient(145deg,#e9eef8,#f8f9fc); }
.os-theater-media-assistant::after { background: linear-gradient(180deg, transparent 65%, rgba(34,48,73,.08)); }
.os-theater-window-bar {
    height: 36px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    border: 1px solid rgba(26,34,48,.11);
    border-bottom: 0;
    border-radius: 15px 15px 0 0;
    background: rgba(255,255,255,.93);
    color: #7a8290;
    font: 650 .55rem/1 ui-monospace, monospace;
}
.os-theater-window-bar i { width: 7px; height: 7px; border-radius: 50%; background: #d5d8df; }
.os-theater-window-bar i:first-child { background: #ff7068; }
.os-theater-window-bar i:nth-child(2) { background: #ffbf4b; }
.os-theater-window-bar i:nth-child(3) { background: #4dcf70; }
.os-theater-window-bar span { margin-left: auto; }
.os-theater-media-assistant > img {
    width: 100%;
    height: calc(100% - 18px);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(26,34,48,.11);
    object-fit: cover;
    object-position: top;
    box-shadow: 0 24px 48px rgba(54,70,101,.17);
    transition: transform .8s var(--os-ease);
}
.os-product-theater:hover .os-theater-media-assistant > img,
.os-product-theater:focus-within .os-theater-media-assistant > img { transform: translateY(-4px); }

.os-theater-copy {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 23px;
    border-top: 1px solid var(--os-line);
    background: var(--os-surface);
    color: var(--os-paper);
}
.os-theater-copy > span { display: grid; gap: 5px; }
.os-theater-copy small { color: var(--os-muted-2); font: 650 .57rem/1 ui-monospace, monospace; text-transform: uppercase; }
.os-theater-copy b { font-size: 1.02rem; letter-spacing: -.025em; }
.os-theater-copy > i { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--os-line-strong); border-radius: 50%; font-style: normal; transition: transform .3s var(--os-ease), background .2s ease, color .2s ease; }
.os-theater-panel-link:hover .os-theater-copy > i,
.os-theater-panel-link:focus-visible .os-theater-copy > i { background: var(--os-paper); color: var(--os-surface); transform: rotate(45deg); }

.os-theater-switcher {
    position: absolute;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}
.os-theater-switcher button {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid var(--os-line);
    border-radius: 15px;
    background: var(--os-surface);
    color: var(--os-muted);
    font-size: .69rem;
    font-weight: 760;
    cursor: pointer;
    transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s var(--os-ease), box-shadow .25s ease;
}
.os-theater-switcher button span { color: var(--os-blue); font: 750 .55rem/1 ui-monospace, monospace; }
.os-theater-switcher button:hover,
.os-theater-switcher button:focus-visible { color: var(--os-paper); border-color: var(--os-line-strong); transform: translateY(-2px); }
.os-theater-switcher button[aria-selected="true"] { border-color: #17191f; background: #17191f; color: #fff; box-shadow: 0 12px 30px rgba(20,24,33,.15); }
.os-theater-switcher button[aria-selected="true"] span { color: #9fb5ff; }

.os-feature-vibemeter-media {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 22% 18%, rgba(218, 176, 255, .82), transparent 28%),
        radial-gradient(circle at 82% 76%, rgba(117, 214, 255, .62), transparent 35%),
        linear-gradient(145deg, #f6efff, #eef6ff);
}
.os-feature-vibemeter-media > img:first-child { width: auto; height: 91%; max-width: 62%; margin-top: 8%; border: 7px solid #15141a; border-radius: 36px 36px 0 0; object-fit: cover; object-position: top; box-shadow: 0 42px 75px rgba(68,55,96,.25); }
.os-feature-vibemeter-icon { width: clamp(68px, 8vw, 118px) !important; height: auto !important; position: absolute; z-index: 2; left: 7%; top: 8%; border-radius: 24% !important; object-fit: contain !important; box-shadow: 0 20px 44px rgba(76,52,123,.24); }

/* ================================================================
   Porcelain Signal — default light experience
   ================================================================ */
html[data-theme="light"] {
    color-scheme: light;
    --os-bg: #f5f5f7;
    --os-bg-deep: #ececf0;
    --os-surface: #ffffff;
    --os-surface-2: #f0f1f4;
    --os-surface-3: #e5e7eb;
    --os-paper: #15171c;
    --os-muted: #646b76;
    --os-muted-2: #858b94;
    --os-blue: #315fd7;
    --os-blue-light: #315fd7;
    --os-mint: #218c64;
    --os-metal: #666d78;
    --os-line: rgba(21, 23, 28, .09);
    --os-line-strong: rgba(21, 23, 28, .17);
    --os-glass: rgba(255,255,255,.82);
    --os-shadow: 0 34px 90px rgba(30, 36, 48, .12);
}

html[data-theme="dark"] { color-scheme: dark; }

html[data-theme="light"] body.os-home-page,
html[data-theme="light"] body.os-projects-page { background: #f5f5f7 !important; color: #15171c; }
html[data-theme="light"] body.os-home-page::before,
html[data-theme="light"] body.os-projects-page::before {
    background: radial-gradient(circle at 8% 8%, rgba(49,95,215,.07), transparent 31rem), radial-gradient(circle at 94% 34%, rgba(33,140,100,.04), transparent 28rem) !important;
}
html[data-theme="light"] .os-main { background: #f5f5f7; color: #15171c; }
html[data-theme="light"] .os-skip-link { background: #15171c; color: #fff; }

html[data-theme="light"] .obsidian-signal .os-header {
    border-bottom-color: rgba(21,23,28,.08);
    background: rgba(255,255,255,.78);
    box-shadow: none;
}
html[data-theme="light"] .obsidian-signal .os-header.is-scrolled {
    border-bottom-color: rgba(21,23,28,.1);
    background: rgba(255,255,255,.93);
    box-shadow: 0 14px 44px rgba(23,29,40,.07);
}
html[data-theme="light"] .os-brand-mark {
    border-color: rgba(21,23,28,.1);
    background: linear-gradient(145deg, #fff, #eef0f3);
    color: #15171c;
    box-shadow: inset 0 1px #fff, 0 9px 24px rgba(24,29,39,.08);
}
html[data-theme="light"] .obsidian-signal .os-desktop-nav .nav-link:hover,
html[data-theme="light"] .obsidian-signal .os-desktop-nav .nav-link:focus-visible { background: rgba(21,23,28,.045); box-shadow: inset 0 0 0 1px rgba(21,23,28,.06); }
html[data-theme="light"] .obsidian-signal .os-desktop-nav .os-nav-ai { color: #3156b8 !important; }
html[data-theme="light"] .os-nav-ai span { box-shadow: 0 0 0 4px rgba(33,140,100,.1); }
html[data-theme="light"] .os-header-social a,
html[data-theme="light"] .os-account-link { border-color: rgba(21,23,28,.11); }
html[data-theme="light"] .os-header-social a:hover,
html[data-theme="light"] .os-header-social a:focus-visible { border-color: rgba(21,23,28,.2); background: rgba(21,23,28,.045); }
html[data-theme="light"] .os-account-link:hover,
html[data-theme="light"] .os-account-link:focus-visible { background: rgba(49,95,215,.08); border-color: rgba(49,95,215,.35); }
html[data-theme="light"] .obsidian-signal .os-menu-trigger { border-color: rgba(21,23,28,.12); background: rgba(21,23,28,.035); }
html[data-theme="light"] .obsidian-signal .os-menu-trigger span { background: #15171c; }
html[data-theme="light"] .obsidian-signal .os-mobile-menu {
    background: radial-gradient(circle at 90% 0, rgba(49,95,215,.09), transparent 24rem), rgba(250,250,252,.985);
}
html[data-theme="light"] .obsidian-signal .os-mobile-menu .mobile-menu-close { background: rgba(21,23,28,.035); color: #15171c; }
html[data-theme="light"] .obsidian-signal .os-mobile-menu .mobile-social-icons a { background: rgba(21,23,28,.035); color: #15171c; }

html[data-theme="light"] .obsidian-signal .os-preloader { background: radial-gradient(circle at 50% 50%, rgba(49,95,215,.1), transparent 25rem), #f5f5f7; }
html[data-theme="light"] .obsidian-signal .preloader-cinematic { border-color: rgba(21,23,28,.1); background: rgba(255,255,255,.84); box-shadow: 0 28px 90px rgba(25,31,42,.12); }
html[data-theme="light"] .os-preloader-mark { background: #15171c; color: #fff; }
html[data-theme="light"] .obsidian-signal .preloader-progress { background: rgba(21,23,28,.07); }

html[data-theme="light"] .os-button-ghost { border-color: rgba(21,23,28,.16); background: rgba(255,255,255,.64); }
html[data-theme="light"] .os-button-ghost:hover,
html[data-theme="light"] .os-button-ghost:focus-visible { background: #fff; border-color: rgba(21,23,28,.3); box-shadow: 0 10px 28px rgba(21,23,28,.08); }
html[data-theme="light"] .os-button-light { background: #fff; color: #15171c !important; }
html[data-theme="light"] .os-text-link { color: #15171c !important; }

html[data-theme="light"] .os-hero {
    background:
        linear-gradient(180deg, rgba(255,255,255,.72), rgba(245,245,247,.92)),
        repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), rgba(21,23,28,.027) calc(12.5% - 1px) 12.5%);
}
html[data-theme="light"] .os-hero-ambient { background: radial-gradient(circle, rgba(49,95,215,.12), rgba(49,95,215,.025) 34%, transparent 68%); }
html[data-theme="light"] .os-availability { color: #505762; }
html[data-theme="light"] .os-availability > span { box-shadow: 0 0 0 5px rgba(33,140,100,.1), 0 0 18px rgba(33,140,100,.28); }
html[data-theme="light"] .os-hero-copy h1 { line-height: .94; }
html[data-theme="light"] .os-stage-label { color: rgba(21,23,28,.52); }
html[data-theme="light"] .os-scroll-cue i { background: rgba(21,23,28,.14); }

html[data-theme="light"] .os-signal-ticker { border-color: #15171c; background: #15171c; color: #fff; }
html[data-theme="light"] .os-selected-work { background: #f5f5f7; }
html[data-theme="light"] .os-feature-card,
html[data-theme="light"] .os-feature-copy { background: #fff; }
html[data-theme="light"] .os-feature-card { box-shadow: 0 24px 72px rgba(26,32,43,.09); }
html[data-theme="light"] .os-feature-media { background: #edf0f5; }
html[data-theme="light"] .os-feature-media::after { background: linear-gradient(180deg, transparent 76%, rgba(18,22,30,.12)); }
html[data-theme="light"] .os-feature-card:hover .os-feature-copy > b,
html[data-theme="light"] .os-feature-card:focus-visible .os-feature-copy > b { background: #15171c; color: #fff; }
html[data-theme="light"] .os-feature-mobile .os-feature-media { background: radial-gradient(circle at 50% 38%, rgba(49,95,215,.2), transparent 48%), #e7effc; }
html[data-theme="light"] .os-mobile-art img { filter: drop-shadow(0 30px 45px rgba(43,61,91,.2)); }

html[data-theme="light"] .os-skills-section { border-color: rgba(21,23,28,.1); background: #fff; color: #15171c; }
html[data-theme="light"] .os-skills-section .os-section-heading h2,
html[data-theme="light"] .os-skills-section .os-capability-list h3 { color: #15171c; }
html[data-theme="light"] .os-orbit-core { background: #15171c; color: #fff; }
html[data-theme="light"] .os-orbit-node { background: rgba(255,255,255,.94); }

html[data-theme="light"] .os-experience-section { background: #f5f5f7; }
html[data-theme="light"] .os-time-marker i { background: rgba(21,23,28,.12); }
html[data-theme="light"] .os-cta-section { background: #f5f5f7; }
html[data-theme="light"] .os-cta-card { border-color: rgba(255,255,255,.12); background: radial-gradient(circle at 80% 20%, rgba(97,230,177,.13), transparent 26rem), radial-gradient(circle at 18% 80%, rgba(77,124,255,.3), transparent 32rem), #11151e; color: #fff; }
html[data-theme="light"] .os-cta-card h2 { color: #fff; }
html[data-theme="light"] .os-cta-card .os-kicker { color: #a9bbff; }
html[data-theme="light"] .os-cta-card .os-text-link { color: #fff !important; }

html[data-theme="light"] .obsidian-signal .site-footer { border-color: rgba(21,23,28,.08); background: #fff; }
html[data-theme="light"] .obsidian-signal .site-footer::before { background: linear-gradient(90deg, transparent, rgba(49,95,215,.45), rgba(33,140,100,.3), transparent); }
html[data-theme="light"] .obsidian-signal .footer-social a { background: rgba(21,23,28,.035); }
html[data-theme="light"] .obsidian-signal .footer-social a:hover,
html[data-theme="light"] .obsidian-signal .footer-social a:focus-visible { background: #15171c; color: #fff; }
html[data-theme="light"] .obsidian-signal #backToTopBtn { border-color: rgba(21,23,28,.11); background: rgba(255,255,255,.9); box-shadow: 0 14px 40px rgba(24,30,42,.12); }
html[data-theme="light"] .obsidian-signal #backToTopBtn:hover,
html[data-theme="light"] .obsidian-signal #backToTopBtn:focus-visible { color: #fff; }
html[data-theme="light"] .obsidian-signal .inactivity-toast-content { border-color: rgba(21,23,28,.11); background: rgba(255,255,255,.96); box-shadow: 0 22px 64px rgba(24,30,42,.14); }
html[data-theme="light"] .obsidian-signal .inactivity-toast-content .toast-header { background: rgba(21,23,28,.025); }
html[data-theme="light"] .obsidian-signal .inactivity-toast-content .btn-close { filter: none; }
html[data-theme="light"] .obsidian-signal .inactivity-toast-content .btn-secondary { background: rgba(21,23,28,.05) !important; color: #15171c !important; }
html[data-theme="light"] .obsidian-signal .github-modal-v2 { border-color: rgba(21,23,28,.11); background: #fff; color: #15171c; box-shadow: 0 32px 100px rgba(25,31,42,.2); }
html[data-theme="light"] .obsidian-signal .github-modal-v2 .btn-close { filter: none; }
html[data-theme="light"] .obsidian-signal .github-modal-stats li { background: #f2f4f8; color: #3156b8; }
html[data-theme="light"] .obsidian-signal .github-modal-v2 .github-button { background: #15171c !important; color: #fff !important; }

html[data-theme="light"] .os-projects-hero {
    background: radial-gradient(circle at 80% 15%, rgba(49,95,215,.11), transparent 31rem), repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), rgba(21,23,28,.025) calc(12.5% - 1px) 12.5%), #fafafa;
}
html[data-theme="light"] .os-projects-hero::before { border-color: rgba(49,95,215,.09); box-shadow: 0 0 0 90px rgba(49,95,215,.018), 0 0 0 180px rgba(49,95,215,.012); }
html[data-theme="light"] .os-projects-workspace,
html[data-theme="light"] .os-projects-cta { background: #f5f5f7; }
html[data-theme="light"] .os-platform-tabs { border-color: rgba(21,23,28,.1); background: #fff; box-shadow: 0 20px 60px rgba(26,32,43,.07); }
html[data-theme="light"] .os-platform-tab:hover,
html[data-theme="light"] .os-platform-tab:focus-visible { background: #f7f8fa; }
html[data-theme="light"] .os-platform-tab.is-active { background: linear-gradient(145deg, rgba(49,95,215,.095), rgba(255,255,255,.9)); }
html[data-theme="light"] .os-platform-tab::after { background: rgba(49,95,215,.1); }
html[data-theme="light"] .os-rail-controls button { background: #fff; }
html[data-theme="light"] .os-rail-controls button:hover,
html[data-theme="light"] .os-rail-controls button:focus-visible { background: #15171c; color: #fff; }
html[data-theme="light"] .os-featured-rail { scrollbar-color: #c9cdd5 transparent; }
html[data-theme="light"] .os-featured-rail::-webkit-scrollbar-thumb { background: #c9cdd5; }
html[data-theme="light"] .os-featured-project,
html[data-theme="light"] .os-featured-meta,
html[data-theme="light"] .os-mobile-project,
html[data-theme="light"] .os-desktop-project { background: #fff; box-shadow: 0 24px 72px rgba(25,31,42,.09); }
html[data-theme="light"] .os-featured-image { background: #e9edf3; }
html[data-theme="light"] .os-featured-image::after { background: linear-gradient(180deg, transparent 70%, rgba(18,22,30,.14)); }
html[data-theme="light"] .os-featured-number,
html[data-theme="light"] .os-project-open { background: rgba(255,255,255,.76); border-color: rgba(21,23,28,.1); color: #15171c; }
html[data-theme="light"] .os-featured-project:hover .os-project-open,
html[data-theme="light"] .os-featured-project:focus-within .os-project-open { background: #15171c; color: #fff; }
html[data-theme="light"] .os-project-facets button { background: rgba(255,255,255,.7); }
html[data-theme="light"] .os-project-facets button:hover,
html[data-theme="light"] .os-project-facets button:focus-visible { border-color: rgba(21,23,28,.22); }
html[data-theme="light"] .os-project-facets button.is-active { border-color: #15171c; background: #15171c; color: #fff; }
html[data-theme="light"] .os-project-facets button.is-active span { background: #fff; color: #15171c; }
html[data-theme="light"] .os-project-row > a:hover,
html[data-theme="light"] .os-project-row > a:focus-visible,
html[data-theme="light"] .os-project-row.is-preview-active > a { background: linear-gradient(90deg, rgba(49,95,215,.075), transparent 84%); }
html[data-theme="light"] .os-project-preview > a { background: #fff; box-shadow: 0 28px 80px rgba(25,31,42,.11); }
html[data-theme="light"] .os-project-preview-media { background: #e9edf3; }

html[data-theme="light"] .os-mobile-visual { background: radial-gradient(circle at 50% 45%, rgba(49,95,215,.17), transparent 50%), #e9eff8; }
html[data-theme="light"] .os-mobile-project--mavi-iz .os-mobile-visual { background: radial-gradient(circle at 45% 42%, rgba(74,132,255,.24), transparent 48%), linear-gradient(150deg,#e9f2ff,#dceafd 52%,#eff5fc); }
html[data-theme="light"] .os-mobile-project--vibemeter { background: #fff; }
html[data-theme="light"] .os-mobile-project--vibemeter .os-mobile-visual { background: radial-gradient(circle at 25% 20%, rgba(221,185,255,.72), transparent 31%), radial-gradient(circle at 75% 78%, rgba(137,219,255,.54), transparent 36%), linear-gradient(145deg,#f8efff,#edf8ff); }
.os-mobile-project--vibemeter .os-mobile-hero-image { width: auto; height: 88%; border: 7px solid #17151c; border-radius: 34px; object-fit: cover; object-position: top; box-shadow: 0 34px 58px rgba(67,53,94,.25); }
html[data-theme="light"] .os-mobile-hero-image { filter: drop-shadow(0 32px 40px rgba(45,61,90,.18)); }
html[data-theme="light"] .os-mobile-version { border-color: rgba(21,23,28,.1); background: rgba(255,255,255,.76); color: #15171c; }
html[data-theme="light"] .os-mobile-logo { box-shadow: 0 14px 34px rgba(42,50,66,.17); }
html[data-theme="light"] .os-mobile-copy li { color: #505762; }
html[data-theme="light"] .os-download-button { background: #15171c; color: #fff !important; }
html[data-theme="light"] .os-download-button:hover,
html[data-theme="light"] .os-download-button:focus-visible { box-shadow: 0 14px 34px rgba(21,23,28,.16); }

html[data-theme="light"] .os-download-notice { border-color: rgba(33,140,100,.18); background: linear-gradient(90deg,rgba(33,140,100,.07),rgba(255,255,255,.6)); }
html[data-theme="light"] .os-download-notice > i { background: rgba(33,140,100,.1); }
html[data-theme="light"] .os-desktop-project.is-building { background: linear-gradient(150deg,#fff,#f5f6f8); }
html[data-theme="light"] .os-desktop-visual { background: radial-gradient(circle at 50% 45%,rgba(49,95,215,.14),transparent 52%),#e9edf5; }
html[data-theme="light"] .os-desktop-visual::after { background: linear-gradient(180deg,transparent,rgba(43,52,69,.1)); }
html[data-theme="light"] .os-desktop-mark { border-color: rgba(21,23,28,.11); background: linear-gradient(145deg,#fff,#e8ebf1); box-shadow: 0 24px 48px rgba(30,37,51,.12), inset 0 1px #fff; }
html[data-theme="light"] .os-file-meta > div,
html[data-theme="light"] .os-checksum { background: #f7f8fa; }
html[data-theme="light"] .os-checksum code { color: #3156b8; }
html[data-theme="light"] .os-projects-cta-card { border-color: rgba(255,255,255,.12); background: radial-gradient(circle at 83% 22%,rgba(97,230,177,.13),transparent 27rem),radial-gradient(circle at 23% 90%,rgba(77,124,255,.32),transparent 38rem),#11151e; color: #fff; }
html[data-theme="light"] .os-projects-cta-card h2 { color: #fff; }
html[data-theme="light"] .os-projects-cta-card .os-kicker { color: #a9bbff; }

html[data-theme="dark"] .os-product-theater:hover,
html[data-theme="dark"] .os-product-theater:focus-within { box-shadow: 0 42px 110px rgba(0,0,0,.55), 0 0 0 1px rgba(77,124,255,.12); }
html[data-theme="dark"] .os-theater-switcher button[aria-selected="true"] { border-color: var(--os-paper); background: var(--os-paper); color: var(--os-bg); }
html[data-theme="dark"] .os-theater-switcher button[aria-selected="true"] span { color: #315fd7; }

@media (max-width: 1199.98px) {
    .os-product-theater { inset: 32px 0 82px; }
}

@media (max-width: 767.98px) {
    .os-product-theater { inset: 0 0 72px; border-radius: 29px; }
    .os-theater-panel-link { grid-template-rows: minmax(0,1fr) 72px; }
    .os-theater-switcher { gap: 5px; }
    .os-theater-switcher button { min-height: 49px; padding-inline: 8px; font-size: .62rem; }
    .os-theater-media-assistant { padding: 28px 18px 0; }
    .os-theater-phone { width: min(50%, 230px); right: 7%; border-radius: 28px; }
    .os-theater-phone img { border-radius: 22px; }
    .os-theater-app-icon { left: 7%; top: 11%; width: 78px; }
    .os-theater-app-note { left: 7%; bottom: 10%; }
    .os-theater-mavi-logo { left: 7%; top: 11%; width: 82px; }
    .os-theater-mavi-flower { width: min(64%, 310px); right: -1%; bottom: -17%; }
}

@media (max-width: 479.98px) {
    .os-product-theater { border-radius: 24px; }
    .os-theater-copy { padding-inline: 16px; }
    .os-theater-copy small { font-size: .5rem; }
    .os-theater-copy b { font-size: .88rem; }
    .os-theater-copy > i { width: 34px; height: 34px; }
    .os-theater-switcher button { border-radius: 12px; font-size: .58rem; }
    .os-theater-switcher button span { display: none; }
    .os-theater-presence { left: 14px; bottom: 14px; }
    .os-theater-media-assistant { padding: 22px 12px 0; }
    .os-theater-window-bar { height: 30px; }
    .os-theater-phone { height: 105%; right: 5%; }
    .os-theater-app-icon { width: 66px; }
    .os-theater-app-note { max-width: 110px; font-size: .52rem; }
    .os-theater-mavi-logo { width: 68px; }
    .os-theater-mavi-flower { width: 68%; right: -3%; bottom: -15%; }
    .os-feature-vibemeter-media > img:first-child { max-width: 74%; border-radius: 28px 28px 0 0; }
}

/* Product-polish pass: Arda Assistant scenes */
.os-ai-preview {
    width: 100%;
    height: 100%;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #15171c;
    background:
        radial-gradient(circle at 17% 13%, rgba(101, 137, 255, .34), transparent 31%),
        radial-gradient(circle at 83% 83%, rgba(75, 210, 164, .18), transparent 34%),
        linear-gradient(145deg, #edf3ff 0%, #f9fbfe 57%, #edf8f4 100%);
}

.os-ai-preview::before {
    content: '';
    position: absolute;
    z-index: -1;
    width: 54%;
    aspect-ratio: 1;
    right: -17%;
    top: -31%;
    border: 1px solid rgba(49, 95, 215, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 44px rgba(49, 95, 215, .035), 0 0 0 88px rgba(49, 95, 215, .02);
}

.os-feature-media.os-ai-preview::after,
.os-featured-image--ai::after,
.os-theater-media-assistant::after {
    background: linear-gradient(115deg, rgba(255, 255, 255, .22), transparent 42%);
}

.os-ai-preview-shell {
    position: absolute;
    z-index: 1;
    display: grid;
    grid-template-rows: 52px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(31, 42, 63, .1);
    border-radius: 24px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 32px 80px rgba(37, 54, 84, .16), 0 2px 8px rgba(37, 54, 84, .06);
    transform: translateZ(0);
    transition: transform .72s cubic-bezier(.22, 1, .36, 1), box-shadow .72s cubic-bezier(.22, 1, .36, 1);
}

.os-feature-card:hover .os-ai-preview-shell,
.os-feature-card:focus-visible .os-ai-preview-shell,
.os-featured-project:hover .os-ai-preview-shell,
.os-featured-project:focus-within .os-ai-preview-shell,
.os-product-theater:hover .os-ai-preview-shell,
.os-product-theater:focus-within .os-ai-preview-shell {
    transform: translateY(-6px) scale(1.008);
    box-shadow: 0 40px 94px rgba(37, 54, 84, .2), 0 2px 8px rgba(37, 54, 84, .07);
}

.os-ai-preview-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 0 15px;
    border-bottom: 1px solid rgba(31, 42, 63, .08);
    background: rgba(255, 255, 255, .92);
}

.os-ai-preview-mark {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #15171c;
    color: #fff;
    font: 800 .58rem/1 'Inter', sans-serif;
    letter-spacing: .06em !important;
    box-shadow: 0 9px 18px rgba(21, 23, 28, .16);
}

.os-ai-preview-identity {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.os-ai-preview-identity strong {
    overflow: hidden;
    color: #15171c;
    font: 780 .68rem/1.05 'Inter', sans-serif;
    letter-spacing: -.02em !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.os-ai-preview-identity small {
    overflow: hidden;
    color: #7a8290;
    font: 650 .45rem/1.1 ui-monospace, monospace;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-transform: uppercase;
}

.os-ai-preview-status {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 8px;
    border: 1px solid rgba(33, 140, 100, .13);
    border-radius: 999px;
    background: rgba(65, 196, 144, .07);
    color: #247656;
    font: 750 .47rem/1 ui-monospace, monospace;
}

.os-ai-preview-status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #42c990;
    box-shadow: 0 0 0 4px rgba(66, 201, 144, .11);
}

.os-ai-preview-content {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 13px 15px;
    padding: 16px;
    background:
        linear-gradient(rgba(255, 255, 255, .66), rgba(255, 255, 255, .66)),
        radial-gradient(circle at 18% 20%, rgba(49, 95, 215, .08), transparent 40%),
        #f8fafe;
}

.os-ai-preview-intro {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5px 2px;
}

.os-ai-preview-intro span {
    margin-bottom: 8px;
    color: #315fd7;
    font: 750 .47rem/1 ui-monospace, monospace;
    letter-spacing: .08em !important;
    text-transform: uppercase;
}

.os-ai-preview-intro strong {
    max-width: 12ch;
    color: #171a20;
    font: 790 clamp(.88rem, 1.5vw, 1.23rem)/1.03 'Inter', sans-serif;
    letter-spacing: -.055em !important;
}

.os-ai-preview-conversation {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    padding: 12px;
    border: 1px solid rgba(31, 42, 63, .075);
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 14px 34px rgba(50, 67, 98, .08);
}

.os-ai-preview-question {
    max-width: 90%;
    align-self: flex-end;
    margin: 0;
    padding: 8px 10px;
    border-radius: 12px 12px 3px 12px;
    background: #315fd7;
    color: #fff !important;
    font: 650 .56rem/1.35 'Inter', sans-serif;
}

.os-ai-preview-answer {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.os-ai-preview-avatar {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #171a20;
    color: #fff;
    font: 800 .45rem/1 'Inter', sans-serif;
}

.os-ai-preview-answer > div { min-width: 0; }
.os-ai-preview-answer p {
    margin: 1px 0 7px;
    color: #363d49 !important;
    font: 580 .53rem/1.38 'Inter', sans-serif;
}

.os-ai-preview-chip {
    display: inline-flex;
    margin: 0 3px 3px 0;
    padding: 5px 7px;
    border: 1px solid rgba(49, 95, 215, .11);
    border-radius: 999px;
    background: #f0f4ff;
    color: #3156b8;
    font: 700 .42rem/1 ui-monospace, monospace;
}

.os-ai-preview-composer {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    height: 40px;
    padding: 0 6px 0 13px;
    border: 1px solid rgba(31, 42, 63, .09);
    border-radius: 13px;
    background: #fff;
    color: #8a919d;
    font: 600 .52rem/1 'Inter', sans-serif;
    box-shadow: 0 9px 24px rgba(50, 67, 98, .06);
}

.os-ai-preview-composer span:last-child {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #15171c;
    color: #fff;
    font-size: .76rem;
}

.os-ai-preview--feature .os-ai-preview-shell {
    inset: 7% 5%;
}

.os-featured-image--ai {
    background: #edf3ff !important;
}

.os-featured-image--ai > .os-ai-preview {
    position: absolute;
    inset: 0;
}

.os-ai-preview--featured .os-ai-preview-shell {
    inset: 8% 7%;
}

.os-project-preview-ai {
    position: absolute;
    inset: 0;
}

.os-ai-preview--archive .os-ai-preview-shell {
    inset: 7% 6%;
}

.os-project-preview-media.is-ai-preview > img {
    display: none;
}

.os-project-preview-media.is-ai-preview::after {
    background: linear-gradient(115deg, rgba(255, 255, 255, .18), transparent 44%);
}

.os-theater-media-assistant {
    padding: 0;
    background: #edf3ff;
}

.os-theater-media-assistant > .os-ai-preview {
    position: absolute;
    inset: 0;
}

.os-ai-preview--theater .os-ai-preview-shell {
    inset: 7% 6%;
}

/* Product-polish pass: porcelain preloader */
.obsidian-signal .site-preloader.os-preloader {
    color: #15171c;
    background:
        radial-gradient(circle at 50% 40%, rgba(49, 95, 215, .105), transparent 28rem),
        #f5f5f7;
    transition: opacity .4s ease, visibility .4s ease;
}

.obsidian-signal .site-preloader.os-preloader::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 1;
    background: radial-gradient(circle at 50% 46%, rgba(255, 255, 255, .92), transparent 31rem);
    transform: none;
    animation: osLoaderHalo 2.8s ease-in-out infinite;
}

.obsidian-signal .os-preloader-panel {
    width: min(510px, calc(100vw - 32px));
    display: grid;
    gap: 0;
    padding: 28px;
    border: 1px solid rgba(21, 23, 28, .08);
    border-radius: 28px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 30px 90px rgba(20, 28, 42, .1), inset 0 1px rgba(255, 255, 255, .9);
    overflow: hidden;
    backdrop-filter: blur(22px) saturate(1.08);
    animation: osLoaderPanelIn .52s cubic-bezier(.22, 1, .36, 1) both;
}

.obsidian-signal .os-preloader-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, .82), transparent 30%, transparent 72%, rgba(49, 95, 215, .04));
}

.os-preloader-brandline {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.os-preloader-mark {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #15171c;
    color: #fff;
    font: 820 .72rem/1 'Inter', sans-serif;
    letter-spacing: .08em !important;
    box-shadow: 0 12px 28px rgba(21, 23, 28, .16);
}

.os-preloader-wordmark {
    display: grid;
    gap: 4px;
}

.os-preloader-wordmark strong {
    color: #15171c;
    font: 780 .82rem/1 'Inter', sans-serif;
    letter-spacing: -.025em !important;
}

.os-preloader-wordmark small {
    color: #7b828d;
    font: 680 .49rem/1 ui-monospace, monospace;
    letter-spacing: .08em !important;
    text-transform: uppercase;
}

.os-preloader-status-dot {
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-radius: 50%;
    background: #42c990;
    box-shadow: 0 0 0 5px rgba(66, 201, 144, .11);
    animation: osLoaderBreathe 1.8s ease-in-out infinite;
}

.obsidian-signal .os-preloader-copy {
    position: relative;
    z-index: 1;
    margin: 54px 0 42px;
    text-align: left;
}

.obsidian-signal .os-preloader-copy span {
    display: block;
    margin: 0 0 12px;
    color: #315fd7;
    font: 750 .56rem/1 ui-monospace, monospace;
    letter-spacing: .11em !important;
    text-transform: uppercase;
}

.obsidian-signal .os-preloader-copy strong {
    display: block;
    max-width: 9ch;
    color: #15171c;
    font: 820 clamp(2.55rem, 7vw, 3rem)/.96 'Inter', sans-serif;
    letter-spacing: -.065em !important;
}

.obsidian-signal .os-preloader-progress {
    position: relative;
    z-index: 1;
    height: 2px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.obsidian-signal .os-preloader-progress span {
    display: block;
    width: 38%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #15171c, #315fd7);
    animation: osLoaderProgress 1.35s cubic-bezier(.76, 0, .24, 1) infinite;
}

.os-preloader-meta {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
    color: #858b95;
    font: 670 .47rem/1 ui-monospace, monospace;
    letter-spacing: .06em !important;
    text-transform: uppercase;
}

html[data-theme="dark"] .obsidian-signal .site-preloader.os-preloader {
    color: #f4f1ea;
    background: radial-gradient(circle at 50% 40%, rgba(77, 124, 255, .15), transparent 28rem), #080a0f;
}

html[data-theme="dark"] .obsidian-signal .site-preloader.os-preloader::before {
    background: radial-gradient(circle at 50% 46%, rgba(24, 30, 42, .76), transparent 31rem);
}

html[data-theme="dark"] .obsidian-signal .os-preloader-panel {
    border-color: rgba(255, 255, 255, .1);
    background: rgba(17, 20, 27, .94);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .06);
}

html[data-theme="dark"] .os-preloader-mark {
    background: #f4f1ea;
    color: #11141b;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] .os-preloader-wordmark strong,
html[data-theme="dark"] .obsidian-signal .os-preloader-copy strong { color: #f4f1ea; }
html[data-theme="dark"] .obsidian-signal .os-preloader-copy span { color: #8facff; }
html[data-theme="dark"] .os-preloader-wordmark small,
html[data-theme="dark"] .os-preloader-meta { color: #89919e; }
html[data-theme="dark"] .obsidian-signal .os-preloader-progress { background: rgba(255, 255, 255, .11); }
html[data-theme="dark"] .obsidian-signal .os-preloader-progress span { background: linear-gradient(90deg, #f4f1ea, #6f96ff); }

html[data-theme="light"] .obsidian-signal .site-preloader.os-preloader {
    background: radial-gradient(circle at 50% 40%, rgba(49, 95, 215, .105), transparent 28rem), #f5f5f7;
}

html[data-theme="light"] .obsidian-signal .os-preloader-panel {
    border-color: rgba(21, 23, 28, .08);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 30px 90px rgba(20, 28, 42, .1), inset 0 1px rgba(255, 255, 255, .9);
}

html[data-theme="light"] .obsidian-signal .os-preloader-progress {
    background: #e5e7eb;
}

@keyframes osLoaderPanelIn {
    from { opacity: 0; transform: translateY(12px) scale(.985); }
    to { opacity: 1; transform: none; }
}

@keyframes osLoaderHalo {
    0%, 100% { opacity: .7; transform: scale(.96); }
    50% { opacity: 1; transform: scale(1.03); }
}

@keyframes osLoaderBreathe {
    0%, 100% { opacity: .62; transform: scale(.86); }
    50% { opacity: 1; transform: scale(1); }
}

@keyframes osLoaderProgress {
    0% { transform: translateX(-112%); }
    60%, 100% { transform: translateX(265%); }
}

@media (max-width: 767.98px) {
    .os-ai-preview-content {
        grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr);
        gap: 10px;
        padding: 12px;
    }

    .os-ai-preview-intro strong { font-size: .92rem; }
    .os-ai-preview--feature .os-ai-preview-shell,
    .os-ai-preview--featured .os-ai-preview-shell { inset: 7% 5%; }
    .os-theater-media-assistant { padding: 0; }
}

@media (max-width: 479.98px) {
    .os-ai-preview-shell { grid-template-rows: 44px minmax(0, 1fr); border-radius: 20px; }
    .os-ai-preview-bar { gap: 8px; padding-inline: 10px; }
    .os-ai-preview-mark { width: 28px; height: 28px; border-radius: 9px; }
    .os-ai-preview-status { padding: 5px 6px; font-size: .41rem; }
    .os-ai-preview-content { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: 8px; padding: 9px; }
    .os-ai-preview-intro { display: none; }
    .os-ai-preview-conversation { grid-row: 1; justify-content: center; gap: 7px; padding: 9px; border-radius: 13px; }
    .os-ai-preview-question { padding: 7px 8px; font-size: .5rem; }
    .os-ai-preview-answer p { margin-bottom: 5px; font-size: .48rem; }
    .os-ai-preview-chip { padding: 4px 6px; font-size: .37rem; }
    .os-ai-preview-composer { grid-row: 2; height: 34px; padding-left: 10px; border-radius: 11px; }
    .os-ai-preview-composer span:last-child { width: 24px; height: 24px; border-radius: 7px; }
    .os-ai-preview--theater .os-ai-preview-shell { inset: 6%; }

    .obsidian-signal .os-preloader-panel {
        width: calc(100vw - 32px);
        padding: 23px;
        border-radius: 24px;
    }
    .os-preloader-mark { width: 43px; height: 43px; }
    .obsidian-signal .os-preloader-copy { margin: 44px 0 36px; }
    .obsidian-signal .os-preloader-copy strong { font-size: clamp(2rem, 10vw, 2.25rem); }
    .os-preloader-meta { gap: 7px; font-size: .4rem; }
}

@media (prefers-reduced-motion: reduce) {
    .os-ai-preview-shell,
    .os-feature-card:hover .os-ai-preview-shell,
    .os-featured-project:hover .os-ai-preview-shell,
    .os-product-theater:hover .os-ai-preview-shell {
        transform: none !important;
        transition: none !important;
    }
    .obsidian-signal .site-preloader.os-preloader::before,
    .obsidian-signal .os-preloader-panel,
    .os-preloader-status-dot,
    .obsidian-signal .os-preloader-progress span {
        animation: none !important;
    }
    .obsidian-signal .os-preloader-progress span { width: 68%; transform: none; }
}

/* Interactive marble portrait — lightweight 2.5D canvas with static fallback */
.os-theater-media-profile.os-theater-media-sculpture {
    --sculpture-x: 0px;
    --sculpture-y: 0px;
    --sculpture-light-x: 50%;
    --sculpture-light-y: 42%;
    isolation: isolate;
    background: #06070a;
}

.os-theater-media-profile.os-theater-media-sculpture::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at var(--sculpture-light-x) var(--sculpture-light-y), rgba(100, 139, 255, .1), transparent 29%),
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
        radial-gradient(circle at 50% 38%, #171a21, #090a0d 48%, #050609 78%);
    background-size: auto, 56px 56px, 56px 56px, auto;
    opacity: .78;
    transition: opacity .45s ease;
}

.os-theater-media-profile.os-theater-media-sculpture::after {
    z-index: 4;
    background:
        radial-gradient(circle at var(--sculpture-light-x) var(--sculpture-light-y), rgba(255, 255, 255, .1), transparent 22%),
        linear-gradient(180deg, rgba(4, 5, 8, .04), transparent 44%, rgba(4, 5, 8, .35));
    mix-blend-mode: screen;
}

.os-sculpture-picture {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    transform: translate3d(var(--sculpture-x), var(--sculpture-y), 0) scale(1.08);
    transform-origin: center bottom;
    will-change: transform;
    transition: transform .72s cubic-bezier(.22, 1, .36, 1), filter .45s ease;
}

.os-sculpture-picture > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center bottom;
    filter: saturate(.82) contrast(1.04) brightness(.98);
    user-select: none;
}

.os-sculpture-canvas {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    pointer-events: none;
    opacity: .72;
    mix-blend-mode: screen;
}

.os-sculpture-label {
    position: absolute;
    z-index: 5;
    top: 18px;
    right: 18px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    background: rgba(8, 10, 15, .45);
    color: rgba(255, 255, 255, .7);
    font: 700 .48rem/1 ui-monospace, monospace;
    letter-spacing: .08em !important;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.os-theater-media-sculpture .os-theater-presence { z-index: 5; }

.os-product-theater:hover .os-sculpture-picture,
.os-product-theater:focus-within .os-sculpture-picture {
    filter: drop-shadow(0 28px 42px rgba(0, 0, 0, .25));
}

.os-theater-media-sculpture.is-sculpture-active::before { opacity: 1; }

@media (max-width: 767.98px) {
    .os-sculpture-picture { inset: 0; transform: scale(1.06); }
    .os-sculpture-picture > img { object-position: center bottom; }
    .os-sculpture-label { top: 14px; right: 14px; font-size: .43rem; }
    .os-sculpture-canvas { display: none; }
}

@media (max-width: 479.98px) {
    .os-sculpture-picture { transform: scale(1.04); }
    .os-sculpture-label { display: none; }
}

@media (hover: none), (pointer: coarse) {
    .os-sculpture-canvas { display: none; }
    .os-sculpture-picture { transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
    .os-sculpture-canvas { display: none !important; }
    .os-sculpture-picture,
    .os-product-theater:hover .os-sculpture-picture,
    .os-product-theater:focus-within .os-sculpture-picture {
        transform: scale(1.06) !important;
        transition: none !important;
    }
    .os-theater-media-profile.os-theater-media-sculpture::before,
    .os-theater-media-profile.os-theater-media-sculpture::after {
        background-position: center;
        transition: none !important;
    }
}
