* { box-sizing: border-box; margin: 0; padding: 0; }
        :root {
            --ink: #171426;
            --muted: #665f75;
            --paper: #ffffff;
            --soft: #fff4f8;
            --pink: #e91e8c;
            --violet: #7c3aed;
            --gold: #f7b731;
            --line: rgba(23, 20, 38, .1);
            --hero-a: #fff4f8;
            --hero-b: #f2ecff;
            --accent: #e91e8c;
            --accent-2: #7c3aed;
            --glow: rgba(247,183,49,.24);
            --contact-a: #211533;
            --contact-b: #4b1f5f;
        }
        body.theme-arcade { --soft: #f5fbff; --muted: #526173; --hero-a: #ecfbff; --hero-b: #fff6df; --accent: #0ea5e9; --accent-2: #f59e0b; --glow: rgba(14,165,233,.22); --contact-a: #082f49; --contact-b: #155e75; }
        body.theme-sunrise { --soft: #fff8ed; --muted: #6e5d4e; --hero-a: #fff7ed; --hero-b: #fff1f7; --accent: #f97316; --accent-2: #db2777; --glow: rgba(249,115,22,.2); --contact-a: #3b1d0f; --contact-b: #7c2d12; }
        body.theme-fresh { --soft: #f1fff8; --muted: #52665d; --hero-a: #edfff7; --hero-b: #eef6ff; --accent: #10b981; --accent-2: #2563eb; --glow: rgba(16,185,129,.22); --contact-a: #052e2b; --contact-b: #164e63; }
        body { font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: var(--soft); line-height: 1.6; }
        a { color: inherit; }
        main { display: flex; flex-direction: column; }
        .hero { order: 1; }
        #showcase { order: 2; }
        #features { order: 3; }
        #contact { order: 4; }
        body.order-features-first #features { order: 2; }
        body.order-features-first #showcase { order: 3; }
        body.order-contact-before-features #contact { order: 3; }
        body.order-contact-before-features #features { order: 4; }
        header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
        .nav { width: min(1160px, calc(100% - 32px)); margin: 0 auto; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
        .brand { font-size: 24px; font-weight: 800; text-decoration: none; letter-spacing: 0; }
        .nav-links { display: flex; gap: 24px; align-items: center; font-weight: 700; font-size: 14px; color: var(--muted); }
        .nav-links a { text-decoration: none; }
        .nav-links a:hover { color: var(--accent); }
        body.nav-compact .nav { min-height: 58px; }
        body.nav-compact .brand { font-size: 20px; }
        body.nav-pill header { top: 14px; width: min(1120px, calc(100% - 28px)); margin: 0 auto; border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 16px 45px rgba(23,20,38,.08); }
        body.nav-pill .nav { width: calc(100% - 28px); min-height: 58px; }
        body.nav-wide header { position: static; background: #fff; }
        body.nav-wide .nav { width: min(1280px, calc(100% - 40px)); min-height: 86px; }
        .hero { min-height: calc(100vh - 72px); display: grid; align-items: center; background: radial-gradient(circle at 78% 22%, var(--glow), transparent 28%), linear-gradient(135deg, var(--hero-a) 0%, var(--hero-b) 100%); }
        .hero-inner { width: min(1160px, calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: 1fr 440px; gap: 64px; align-items: center; padding: 54px 0; }
        .eyebrow { display: inline-flex; width: fit-content; padding: 8px 14px; border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); border-radius: 999px; color: var(--accent); background: rgba(255,255,255,.72); font-weight: 800; font-size: 14px; margin-bottom: 22px; }
        h1 { font-size: clamp(44px, 7vw, 82px); line-height: 1.02; letter-spacing: 0; max-width: 760px; }
        .hero p { margin-top: 22px; color: var(--muted); font-size: 20px; max-width: 610px; }
        .actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
        .button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 8px; text-decoration: none; font-weight: 800; border: 1px solid transparent; }
        .button.primary { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 14px 32px color-mix(in srgb, var(--accent-2) 28%, transparent); }
        .button.secondary { color: var(--ink); background: #fff; border-color: var(--line); }
        .phone-stack { position: relative; min-height: 560px; }
        .phone { position: absolute; overflow: hidden; border-radius: 34px; background: #111; box-shadow: 0 28px 70px rgba(23,20,38,.25); border: 10px solid #1f1f25; }
        .phone img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .phone.main { right: 48px; top: 0; width: 268px; height: 536px; }
        .phone.side { left: 0; bottom: 10px; width: 190px; height: 380px; transform: rotate(-7deg); }
        body.layout-split .hero-inner { grid-template-columns: 430px 1fr; }
        body.layout-split .hero-inner > div:first-child { order: 2; }
        body.layout-split .phone.main { left: 20px; right: auto; transform: rotate(-2deg); }
        body.layout-split .phone.side { left: 230px; transform: rotate(7deg); }
        body.layout-poster .hero-inner { grid-template-columns: 1fr 500px; }
        body.layout-poster .phone-stack { min-height: 590px; }
        body.layout-poster .phone.main { right: 118px; width: 300px; height: 560px; border-radius: 18px; }
        body.layout-poster .phone.side { left: 20px; bottom: 60px; width: 156px; height: 312px; transform: rotate(-10deg); }
        body.layout-rail .hero-inner { grid-template-columns: minmax(0, 1fr) 520px; gap: 42px; }
        body.layout-rail .phone.main { right: 0; top: 8px; width: 248px; height: 496px; }
        body.layout-rail .phone.side { left: 48px; width: 224px; height: 448px; transform: rotate(0); }
        section { padding: 84px 0; }
        .section-inner { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
        .section-title { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; margin-bottom: 14px; }
        .section-lede { color: var(--muted); font-size: 18px; max-width: 720px; margin-bottom: 34px; }
        .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
        .shot { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; min-height: 260px; box-shadow: 0 18px 45px rgba(23,20,38,.08); }
        .shot img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; }
        .gallery-featured { grid-template-columns: minmax(260px, 1.25fr) repeat(2, minmax(180px, .8fr)); align-items: stretch; }
        .gallery-featured .shot:first-child { grid-row: span 2; min-height: 540px; }
        .gallery-featured .shot:first-child img { min-height: 540px; }
        .gallery-mosaic { grid-template-columns: repeat(6, 1fr); }
        .gallery-mosaic .shot { grid-column: span 2; min-height: 230px; }
        .gallery-mosaic .shot:nth-child(1), .gallery-mosaic .shot:nth-child(4) { grid-column: span 3; min-height: 360px; }
        .gallery-strip { display: flex; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
        .gallery-strip .shot { flex: 0 0 min(320px, 82vw); scroll-snap-align: start; }
        .gallery-spotlight { grid-template-columns: 1fr 1fr; }
        .gallery-spotlight .shot:first-child { grid-column: 1 / -1; min-height: 520px; }
        .gallery-spotlight .shot:first-child img { min-height: 520px; }
        .features { background: #fff; }
        .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
        .feature { border: 1px solid var(--line); border-radius: 8px; padding: 26px; background: #fff; }
        .feature h3 { font-size: 20px; margin-bottom: 8px; }
        .feature p { color: var(--muted); }
        .features-split .section-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 42px; align-items: start; }
        .features-split .section-lede { margin-bottom: 0; }
        .features-split-grid { grid-template-columns: 1fr; }
        .features-inline-grid { grid-template-columns: 1fr; }
        .features-inline .feature { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: start; }
        .features-band { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, #fff), #fff); }
        .features-band .feature { border-color: transparent; box-shadow: none; background: rgba(255,255,255,.72); }
        .features-numbered-grid { counter-reset: features; }
        .features-numbered .feature { position: relative; padding-left: 74px; }
        .features-numbered .feature::before { counter-increment: features; content: counter(features); position: absolute; left: 24px; top: 24px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); font-weight: 800; }
        .contact { background: linear-gradient(135deg, var(--contact-a), var(--contact-b)); color: #fff; }
        .contact .section-lede { color: rgba(255,255,255,.76); }
        .contact-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; border-radius: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); }
        .contact-card a { color: #fff; font-weight: 800; text-decoration: none; }
        .contact-panel { background: var(--soft); color: var(--ink); }
        .contact-panel .section-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
        .contact-panel .section-lede { color: var(--muted); margin-bottom: 0; }
        .contact-panel-card { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 20px 55px rgba(23,20,38,.1); }
        .contact-panel-card a { color: var(--accent); }
        .contact-minimal { background: #fff; color: var(--ink); border-top: 1px solid var(--line); }
        .contact-minimal .section-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
        .contact-minimal .section-lede { color: var(--muted); margin-bottom: 0; }
        .contact-minimal-card { color: var(--ink); background: var(--soft); border: 1px solid var(--line); }
        .contact-minimal-card a { color: var(--accent); }
        .contact-carded { background: linear-gradient(135deg, var(--hero-a), var(--hero-b)); color: var(--ink); }
        .contact-carded .section-lede { color: var(--muted); }
        .contact-carded-card { background: #fff; color: var(--ink); box-shadow: 0 20px 55px rgba(23,20,38,.12); }
        .contact-carded-card a { color: var(--accent); }
        .contact-split .section-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 34px; align-items: end; }
        footer { background: #130d1f; color: rgba(255,255,255,.72); padding: 34px 0; }
        .footer-inner { width: min(1160px, calc(100% - 32px)); margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
        footer a { color: #fff; text-decoration: none; font-weight: 700; }
        @media (max-width: 900px) {
            header { position: static; }
            .nav { width: min(720px, calc(100% - 24px)); min-height: auto; padding: 14px 0; align-items: flex-start; flex-direction: column; gap: 10px; }
            body.nav-pill header { top: 0; width: 100%; border-radius: 0; border-left: 0; border-right: 0; }
            .brand { font-size: 21px; }
            .nav-links { width: 100%; gap: 10px; overflow-x: auto; padding-bottom: 2px; font-size: 13px; scrollbar-width: none; }
            .nav-links::-webkit-scrollbar { display: none; }
            .nav-links a { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.72); border: 1px solid var(--line); }
            .hero { min-height: auto; align-items: start; }
            .hero-inner { display: block; width: calc(100% - 24px); max-width: 680px; padding: 24px 0 38px; }
            .hero-inner > div:first-child { width: 100%; max-width: 100%; min-width: 0; }
            body.layout-split .hero-inner, body.layout-poster .hero-inner, body.layout-rail .hero-inner { grid-template-columns: 1fr; }
            body.layout-split .hero-inner > div:first-child { order: 0; }
            .eyebrow { margin-bottom: 14px; font-size: 12px; padding: 6px 10px; }
            h1 { font-size: clamp(34px, 11vw, 52px); line-height: 1.05; max-width: 100%; }
            .hero p { margin-top: 14px; font-size: 15px; width: 100%; max-width: 330px; }
            .actions { margin-top: 22px; gap: 10px; }
            .button { width: 100%; min-height: 46px; padding: 0 16px; }
            .phone-stack { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; width: 100%; max-width: 520px; margin: 28px auto 0; }
            .phone.main, body.layout-split .phone.main, body.layout-poster .phone.main, body.layout-rail .phone.main,
            .phone.side, body.layout-split .phone.side, body.layout-poster .phone.side, body.layout-rail .phone.side { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 9 / 16; transform: none; border-width: 6px; border-radius: 18px; box-shadow: 0 16px 36px rgba(23,20,38,.18); }
            .phone.side { margin-top: 34px; }
            section { padding: 46px 0; }
            .section-inner { width: min(680px, calc(100% - 24px)); max-width: calc(100vw - 24px); }
            .section-title { font-size: clamp(28px, 9vw, 40px); }
            .section-lede { font-size: 16px; margin-bottom: 22px; }
            .gallery { gap: 14px; }
            .gallery-featured, .gallery-mosaic, .gallery-spotlight { grid-template-columns: 1fr 1fr; }
            .gallery-featured .shot:first-child, .gallery-mosaic .shot, .gallery-mosaic .shot:nth-child(1), .gallery-mosaic .shot:nth-child(4), .gallery-spotlight .shot:first-child { grid-column: auto; grid-row: auto; min-height: 0; }
            .gallery-featured .shot:first-child img, .gallery-spotlight .shot:first-child img { min-height: 0; }
            .shot { min-height: 0; aspect-ratio: 9 / 16; border-radius: 10px; }
            .shot img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
            .features-split .section-inner, .contact-panel .section-inner, .contact-split .section-inner { grid-template-columns: 1fr; }
            .features-inline .feature { grid-template-columns: 1fr; }
            .feature-grid { grid-template-columns: 1fr; }
            .features-numbered .feature { padding-left: 64px; }
            .features-numbered .feature::before { left: 20px; top: 22px; }
            .contact-minimal .section-inner { align-items: flex-start; flex-direction: column; }
            .contact-card { align-items: flex-start; flex-direction: column; width: 100%; overflow-wrap: anywhere; }
            .footer-inner { width: min(680px, calc(100% - 24px)); max-width: calc(100vw - 24px); flex-direction: column; }
        }
        @media (max-width: 520px) {
            .phone-stack { grid-template-columns: 1fr; max-width: 320px; }
            .phone.side { display: none; }
            .gallery-featured, .gallery-mosaic, .gallery-spotlight { grid-template-columns: 1fr; }
        }
        /* Responsive repair for randomized variants and mixed portrait/landscape art. */
        body.theme-candy {
            --soft: #fff7fb;
            --muted: #645a73;
            --hero-a: #fff0fb;
            --hero-b: #ecfeff;
            --accent: #ec4899;
            --accent-2: #06b6d4;
            --glow: rgba(236, 72, 153, 0.2);
            --contact-a: #2a1236;
            --contact-b: #0f4c81;
        }
        html,
        body {
            width: 100%;
            max-width: 100%;
            overflow-x: hidden;
        }
        img {
            max-width: 100%;
        }
        body {
            display: block !important;
            min-width: 0;
        }
        header,
        main,
        footer {
            display: block;
            width: 100%;
            max-width: 100%;
        }
        main {
            display: flex !important;
            flex-direction: column !important;
        }
        body.nav-wide header {
            position: sticky;
            top: 0;
            background: rgba(255, 255, 255, 0.94);
            border-bottom: 1px solid var(--line);
            backdrop-filter: blur(14px);
        }
        body.nav-wide .nav {
            width: min(1160px, calc(100% - 32px));
            min-height: 72px;
        }
        .brand {
            overflow-wrap: anywhere;
        }
        h1 {
            font-size: clamp(40px, 5.8vw, 68px);
            max-width: 680px;
        }
        body.layout-overlap .hero {
            min-height: auto;
        }
        body.layout-overlap .hero-inner {
            grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
            gap: clamp(28px, 5vw, 56px);
            align-items: center;
        }
        body.layout-overlap .hero-inner > div:first-child,
        body.layout-overlap .hero-media {
            min-width: 0;
        }
        body.layout-overlap .phone-stack {
            width: 100%;
            max-width: 520px;
            min-height: 560px;
            margin-inline: auto;
            position: relative;
        }
        body.layout-overlap .phone.main {
            position: absolute;
            right: 26px;
            top: 0;
            width: min(270px, 58%);
            height: auto;
            aspect-ratio: 9 / 16;
        }
        body.layout-overlap .phone.side {
            position: absolute;
            left: 24px;
            bottom: 36px;
            width: min(200px, 44%);
            height: auto;
            aspect-ratio: 9 / 16;
            transform: rotate(-5deg);
        }
        #showcase .section-inner {
            display: grid;
            grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
            column-gap: clamp(24px, 5vw, 56px);
            align-items: start;
        }
        #showcase .section-title {
            margin-bottom: 0;
        }
        #showcase .section-lede {
            max-width: 520px;
            margin: 6px 0 0;
        }
        #showcase .gallery {
            grid-column: 1 / -1;
            display: grid;
            grid-template-columns: repeat(12, minmax(0, 1fr));
            gap: clamp(14px, 2vw, 22px);
            width: 100%;
            margin-top: 30px;
            overflow: visible;
            padding-bottom: 0;
            scroll-snap-type: none;
        }
        #showcase .gallery-strip .shot {
            flex: auto;
            scroll-snap-align: none;
        }
        #showcase .shot {
            min-width: 0;
            min-height: 0;
            border-radius: 14px;
            background: #ffffff;
        }
        #showcase .shot img {
            width: 100%;
            height: 100%;
            min-height: 0;
            object-fit: cover;
            display: block;
        }
        #showcase .shot:nth-child(1),
        #showcase .shot:nth-child(2) {
            grid-column: span 3;
            aspect-ratio: 9 / 16;
        }
        #showcase .shot:nth-child(3),
        #showcase .shot:nth-child(4) {
            grid-column: span 6;
            aspect-ratio: 16 / 9;
        }
        @media (max-width: 1100px) {
            body.layout-overlap .hero-inner {
                grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
            }
            body.layout-overlap .phone-stack {
                min-height: 500px;
            }
            #showcase .shot:nth-child(1),
            #showcase .shot:nth-child(2),
            #showcase .shot:nth-child(3),
            #showcase .shot:nth-child(4) {
                grid-column: span 6;
            }
        }
        @media (max-width: 900px) {
            body.nav-wide header {
                position: static;
            }
            body.nav-wide .nav {
                width: min(680px, calc(100% - 24px));
                min-height: auto;
            }
            body.layout-overlap .hero-inner,
            #showcase .section-inner {
                display: block;
            }
            body.layout-overlap .hero-media {
                margin-top: 28px;
            }
            body.layout-overlap .phone-stack {
                max-width: 390px;
                min-height: 460px;
            }
            body.layout-overlap .phone.main {
                right: 8px;
                width: 64%;
            }
            body.layout-overlap .phone.side {
                left: 4px;
                bottom: 24px;
                width: 48%;
            }
            #showcase .gallery {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
            #showcase .shot:nth-child(1),
            #showcase .shot:nth-child(2),
            #showcase .shot:nth-child(3),
            #showcase .shot:nth-child(4) {
                grid-column: auto;
            }
        }
        @media (max-width: 560px) {
            h1 {
                font-size: clamp(30px, 11.5vw, 42px);
            }
            body.layout-overlap .phone-stack {
                max-width: 320px;
                min-height: 520px;
            }
            body.layout-overlap .phone.main {
                position: relative;
                right: auto;
                width: 100%;
                margin-inline: auto;
            }
            body.layout-overlap .phone.side {
                display: none;
            }
            #showcase .gallery {
                grid-template-columns: 1fr;
            }
            #showcase .shot:nth-child(1),
            #showcase .shot:nth-child(2) {
                aspect-ratio: 9 / 16;
            }
            #showcase .shot:nth-child(3),
            #showcase .shot:nth-child(4) {
                aspect-ratio: 16 / 9;
            }
        }
        @media (max-width: 360px) {
            h1 { font-size: 32px; }
            .hero p { max-width: 300px; }
        }