:root{--bg:#1c130e;--panel:#281c14;--gold:#dfbb53;--text:#fff7e8;--muted:#c5b7a4;--line:#ffffff16;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg);scroll-behavior:smooth;scroll-padding-top:100px}
*{box-sizing:border-box}body{margin:0}a{color:inherit}img{display:block;max-width:100%;height:auto}button{font:inherit}::selection{background:var(--gold);color:var(--bg)}:focus-visible{outline:3px solid var(--gold);outline-offset:5px}.wrap{width:min(1180px,calc(100% - 48px));margin:auto}.header{position:sticky;top:0;z-index:20;border-bottom:1px solid var(--line);background:#1c130ef2;backdrop-filter:blur(16px)}.header-inner{min-height:80px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;font-weight:750;text-decoration:none}.brand img{width:38px;height:38px;border-radius:50%}.nav{display:flex;gap:28px}.nav a{text-decoration:none;color:var(--muted);font-size:14px}.nav a:hover{color:var(--gold)}.menu-toggle{display:none}.skip{position:fixed;top:12px;left:12px;z-index:50;padding:12px;background:var(--gold);color:var(--bg);transform:translateY(-200%)}.skip:focus{transform:none}.eyebrow{color:var(--gold);font-size:11px;letter-spacing:2.5px;font-weight:700;text-transform:uppercase;margin:0 0 24px}.hero{padding:90px 0 80px;background:radial-gradient(ellipse at 80% 40%,#70502b24,transparent 65%)}.hero-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:65px;align-items:center}h1{font-size:clamp(48px,5.8vw,78px);line-height:1.04;letter-spacing:-3.5px;margin:0 0 28px;font-weight:650}h1 span,h2 span{color:var(--gold)}p{line-height:1.8}.lead{font-size:18px;color:var(--muted);max-width:560px}.actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:32px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 23px;border:1px solid var(--gold);border-radius:7px;background:var(--gold);color:var(--bg);text-decoration:none;font-size:14px;font-weight:700}.button:hover{background:#f1cf70}.button.secondary{background:transparent;color:var(--text);border-color:#ffffff32}.button.secondary:hover{border-color:var(--gold)}.project-note{font-size:12px;color:var(--muted);margin-top:22px}.screen{margin:0;padding:8px;border:1px solid #dfbb5333;border-radius:14px;background:#ffffff05;box-shadow:0 25px 70px #0005}.screen img{width:100%;border-radius:7px}.screen figcaption{padding:12px 8px 5px;display:flex;justify-content:space-between;gap:15px;font-size:11px;color:var(--muted)}.screen figcaption span:first-child{color:var(--gold)}.hero-footer{display:flex;justify-content:space-between;gap:20px;margin-top:64px;padding-top:22px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}.section{padding:100px 0;border-top:1px solid var(--line)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:50px;margin-bottom:38px}.section-head p{max-width:400px;color:var(--muted);margin:0}.section-head .eyebrow{margin-bottom:18px}h2{font-size:clamp(32px,4vw,49px);line-height:1.12;letter-spacing:-1.8px;margin:0;font-weight:600}.demo{background:#241910}.demo-player{border:0;border-radius:14px;overflow:hidden;background:#100c09}.demo-player video{display:block;width:100%;height:auto;max-height:690px}.caption{display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:12px;margin-top:15px}.feature{display:grid;grid-template-columns:.72fr 1.28fr;gap:70px;align-items:center;padding:38px 0 55px}.feature+.feature{border-top:1px solid var(--line);padding-top:55px;padding-bottom:0}.number{color:var(--gold);font-size:12px;display:block;margin-bottom:24px}h3{font-size:30px;line-height:1.2;letter-spacing:-.8px;margin:0 0 20px}.feature p,.mobile-copy p,.about-copy p{color:var(--muted)}.feature ul{padding-left:18px;color:var(--muted);font-size:14px;line-height:2}.mobile{background:linear-gradient(120deg,#342318,#21170f)}.mobile-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:90px}.mobile-visual{padding:25px 35px;background:#ffffff04;border:1px solid var(--line);border-radius:22px}.mobile-visual img{max-height:520px;max-width:100%;margin:auto;border-radius:12px;object-fit:contain}.mobile-copy .lead{margin-top:24px}.device-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}.device-tags span{border:1px solid #dfbb5333;border-radius:50px;padding:8px 14px;color:var(--gold);font-size:12px}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px}.about-copy p:first-child{margin-top:0}.author{border-top:1px solid var(--line);margin-top:32px;padding-top:22px;display:flex;align-items:center;justify-content:space-between;gap:20px}.author span{display:block;color:var(--muted);font-size:12px;margin-top:6px}.author a{color:var(--gold);font-size:14px;text-underline-offset:5px}.footer{border-top:1px solid var(--line);padding:28px 0}.footer-inner{display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:12px}.footer-inner p{margin:0}.footer a{text-underline-offset:4px}.menu-toggle{border:1px solid var(--line);border-radius:5px;padding:9px 14px;color:var(--text);background:var(--panel);cursor:pointer}
@media(min-width:1600px){.hero{padding:120px 0 100px}}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr;gap:45px}.hero{padding-top:60px}.hero-copy{max-width:680px}.hero-grid .screen{max-width:760px}.section{padding:75px 0}.section-head{align-items:start;flex-direction:column;gap:22px}.section-head p{max-width:600px}.feature{grid-template-columns:1fr;gap:25px}.feature ul{margin-bottom:0}.mobile-grid{gap:40px;grid-template-columns:1fr 1fr}.about-grid{gap:40px}.nav{gap:18px}}
@media(max-width:650px){:root{scroll-padding-top:88px}.wrap{width:calc(100% - 36px)}.header-inner{min-height:70px;position:relative}.menu-toggle:not([hidden]){display:block}.nav{display:flex;flex-wrap:wrap;gap:12px;padding-bottom:15px}.header-inner{flex-wrap:wrap;gap:12px}.nav{width:100%}html.js .nav{display:none}html.js .nav.is-open{display:flex;flex-direction:column;position:absolute;top:100%;left:0;right:0;padding:15px;background:var(--bg);border:1px solid var(--line);border-radius:8px}html.js .nav a{padding:10px}.hero{padding:48px 0 40px}h1{font-size:52px;letter-spacing:-2.5px}.lead{font-size:16px}.hero-footer{margin-top:35px;flex-direction:column;gap:8px}.section{padding:60px 0}.mobile-grid,.about-grid{grid-template-columns:1fr;gap:32px}.mobile-visual{order:2;padding:20px}.mobile-visual img{max-height:440px}.caption{flex-direction:column;gap:5px}.author{flex-wrap:wrap}.footer-inner{flex-direction:column;gap:8px}.screen figcaption{font-size:10px}.actions .button{flex:1}.section-head{margin-bottom:28px}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}}

/* Text enters and leaves gently as it crosses the viewport. */
@media (prefers-reduced-motion: no-preference) {
    .scroll-text {
        --scroll-x: 0px;
        --scroll-y: 18px;
        --scroll-scale: 1;
        opacity: 0;
        transform: translate(var(--scroll-x), var(--scroll-y)) scale(var(--scroll-scale));
        transition: opacity 550ms ease, transform 650ms cubic-bezier(.2,.7,.2,1);
    }

    .scroll-text[data-scroll-direction="left"] {
        --scroll-x: -24px;
        --scroll-y: 0px;
    }

    .scroll-text[data-scroll-direction="right"] {
        --scroll-x: 24px;
        --scroll-y: 0px;
    }

    .scroll-text.scroll-media {
        --scroll-scale: .97;
        transition-duration: 700ms, 850ms;
    }

    .scroll-text.is-visible,
    .scroll-text:focus-within {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
}

/* Clip lateral movement without creating a nested scrolling container. */
main { overflow-x: clip; }

.nav a {
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 220ms ease;
}

.nav a.active {
    color: var(--gold);
}

.nav a.active::after {
    transform: scaleX(1);
}

@media (max-width: 650px) {
    .nav a::after { bottom: 3px; }
}

@media (prefers-reduced-motion: reduce) {
    .nav a::after { transition: none; }
}

@media print {
    .scroll-text { opacity: 1; transform: none; }
}

/* Compact layouts: comfortable touch targets and a contained navigation panel. */
.mobile-visual { margin: 0; }
.mobile-visual figcaption { color: var(--muted); font-size: 12px; line-height: 1.6; text-align: center; margin-top: 16px; }
.image-zoom { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 7px; background: transparent; cursor: zoom-in; color: var(--text); }
.zoom-hint { position: absolute; right: 8px; bottom: 8px; padding: 6px 10px; border: 1px solid #dfbb5340; border-radius: 6px; background: #1c130eed; color: var(--gold); font-size: 11px; pointer-events: none; }
.viewer-open { overflow: hidden; }
.image-viewer { width: min(1400px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 58px 18px 16px; border: 1px solid #dfbb5340; border-radius: 16px; background: var(--bg); color: var(--text); }
.image-viewer::backdrop { background: #090604e8; }
.viewer-close { position: absolute; right: 10px; top: 8px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--panel); color: var(--gold); font-size: 28px; cursor: pointer; }
.viewer-scroll { overflow: auto; max-height: calc(100dvh - 170px); }
.viewer-image { width: auto; max-width: 100%; height: auto; margin: auto; }
#viewer-caption { margin: 12px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
@media (max-width: 650px) { .image-viewer { padding-left: 10px; padding-right: 10px; } .viewer-image { max-width: none; } }
.footer p a {
    font-size: 14px;
    color: var(--gold);
    text-decoration: none;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 3px;
}

.back-to-top {
    position: fixed;
    right: max(20px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #dfbb5366;
    border-radius: 50%;
    background: var(--gold);
    color: var(--bg);
    box-shadow: 0 6px 24px #0005;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px) scale(.9);
    transition: opacity 250ms ease, transform 250ms ease, visibility 250ms;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.back-to-top:focus-visible { outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
    .back-to-top { transition: none; transform: none; }
}

.back-to-top[hidden] { display: none; }
.back-to-top:hover { background: #f1cf70; }

@media print {
    .back-to-top { display: none; }
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 18px;
}

.hamburger > span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 200ms ease, opacity 200ms ease;
}

.menu-toggle[aria-expanded="true"] .hamburger > span:first-child {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger > span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .hamburger > span:last-child {
    transform: translateY(-6px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
    .hamburger > span { transition: none; }
}

.hero-grid > *, .feature > *, .mobile-grid > *, .about-grid > * {
    min-width: 0;
}

@media (max-width: 800px) {
    :root { scroll-padding-top: 92px; }

    .header-inner {
        position: relative;
        min-height: 72px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .brand { min-height: 48px; }
    .menu-toggle:not([hidden]) {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 36px;
        min-width: 36px;
        padding: 8px;
        border-radius: 8px;
        border-color: #dfbb5340;
    }

    .menu-toggle[aria-expanded="true"] {
        background: var(--gold);
        color: var(--bg);
    }

    .nav { width: 100%; flex-wrap: wrap; padding-bottom: 16px; }
    html.js .nav { display: none; }
    html.js .nav.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        gap: 4px;
        padding: 10px;
        max-height: calc(100dvh - 96px);
        overflow-y: auto;
        overscroll-behavior: contain;
        border: 1px solid #dfbb5333;
        border-radius: 16px;
        background: #241910;
        box-shadow: 0 20px 50px #0007;
    }

    html.js .nav a {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 12px 16px;
        border-radius: 8px;
    }

    .nav a.active { background: #dfbb5310; }
    .nav a::after { left: 16px; right: 16px; bottom: 4px; }

    .mobile-grid, .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .mobile-visual { order: 2; max-width: 440px; width: 100%; margin: auto; }
    .mobile-visual img { max-height: 440px; }
}

@media (max-width: 650px) {
    .wrap {
        width: auto;
        margin-left: max(20px, env(safe-area-inset-left));
        margin-right: max(20px, env(safe-area-inset-right));
    }

    .hero { padding: 44px 0 36px; }
    .hero-grid { gap: 32px; }
    h1 { font-size: clamp(36px, 10.5vw, 58px); line-height: 1.08; letter-spacing: -1.8px; margin-bottom: 22px; }
    h2 { font-size: clamp(29px, 8vw, 40px); line-height: 1.16; letter-spacing: -1px; }
    h3 { font-size: 27px; letter-spacing: -.5px; }
    .eyebrow { font-size: 10px; letter-spacing: 1.7px; line-height: 1.7; margin-bottom: 18px; }
    .lead { font-size: 16px; line-height: 1.75; }
    .actions { flex-direction: column; gap: 10px; margin-top: 26px; }
    .actions .button { flex: auto; width: 100%; min-height: 50px; border-radius: 10px; }
    .project-note { line-height: 1.7; margin-top: 18px; }
    .hero-footer { margin-top: 30px; padding-top: 18px; font-size: 11px; line-height: 1.6; }
    .section { padding: 56px 0; }
    .section-head { gap: 18px; margin-bottom: 26px; }
    .section-head p, .feature p, .about-copy p { font-size: 15px; line-height: 1.8; }
    .feature { padding: 18px 0 34px; gap: 22px; }
    .feature + .feature { padding-top: 34px; }
    .number { margin-bottom: 16px; font-size: 11px; }
    .feature ul { line-height: 1.8; padding-left: 20px; }
    .feature li + li { margin-top: 6px; }
    .screen { padding: 5px; border-radius: 12px; box-shadow: 0 14px 32px #0004; }
    .screen figcaption { flex-wrap: wrap; gap: 5px 12px; padding: 10px 5px 5px; }
    .demo-player { border-radius: 12px; }
    .demo-player video { max-height: none; }
    .caption { font-size: 11px; line-height: 1.7; gap: 4px; }
    .mobile-visual { padding: 18px; border-radius: 18px; }
    .device-tags { gap: 8px; margin-top: 22px; }
    .device-tags span { padding: 8px 12px; font-size: 11px; }
    .footer { padding: 24px 0 max(24px, env(safe-area-inset-bottom)); }
    .footer-inner { gap: 14px; align-items: flex-start; line-height: 1.8; }
    .footer-inner > a { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (max-width: 650px) and (prefers-reduced-motion: no-preference) {
    .scroll-text[data-scroll-direction="left"] { --scroll-x: -14px; }
    .scroll-text[data-scroll-direction="right"] { --scroll-x: 14px; }
}

/* Clean image presentation; zoom affordance appears on intentional interaction. */
.screen,
.mobile-visual {
    border: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.zoom-hint {
    border: 0;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 180ms ease, transform 180ms ease;
}

@media (hover: hover) {
    .image-zoom:hover .zoom-hint {
        opacity: 1;
        transform: translateY(0);
    }
}

.image-zoom:focus-visible .zoom-hint {
    opacity: 1;
    transform: translateY(0);
}

.image-viewer {
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    .zoom-hint { transition: none; }
}

/* Soft corners without restoring image frames. */
.image-zoom {
    border-radius: 12px;
    overflow: hidden;
}

.image-zoom > img,
.viewer-image {
    border-radius: 12px;
}

.capture-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.capture-tabs[hidden] { display: none; }
.capture-tabs button { min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: inherit; cursor: pointer; }
.capture-tabs button[aria-selected="true"] { background: var(--gold); color: #1c130e; }
[role="tabpanel"][hidden] { display: none; }
.real-gallery { display: block; }
.capture-description { margin: 0 0 14px; color: var(--muted); }
.demo-player, .real-video { position: relative; }
.video-fullscreen { display: none; }
@media (max-width: 760px), (pointer: coarse) {
  .video-fullscreen { display: block; position: absolute; inset: 8px 8px auto auto; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 8px; background: #10120fe8; color: #fff; cursor: pointer; }
}
.video-fullscreen[hidden] { display: none; }
video:fullscreen { width: 100%; height: 100%; max-height: none; object-fit: contain; background: #000; }
