:root {
    --bg: #030407;
    --panel: rgba(5, 7, 12, 0.68);
    --panel-strong: rgba(5, 7, 12, 0.82);
    --line: rgba(255, 255, 255, 0.12);
    --text: #f7f3ec;
    --muted: #b8b2aa;
    --accent: #f4c987;
    --accent-soft: rgba(244, 201, 135, 0.16);
    --accent-2: #7aa7ff;
    --accent-2-soft: rgba(122, 167, 255, 0.12);
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --max: 1240px;
    --font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-tech: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    --home-bg-image: url('../gfx/lone.jpg');
    --bg-brightness: 0.98;
    --card-alpha-strong: 0.66;
    --card-alpha-soft: 0.46;
    --card-border-alpha: 0.16;
    --card-border-accent-rgb: 244, 201, 135;
    --card-border-alpha-soft: 0.10;
    --card-border-alpha-strong: 0.18;
    --category-icon-color: rgb(255, 255, 255);
    --category-icon-rgb: 255, 255, 255;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-main);
    color: var(--text);
    background: var(--bg);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: var(--home-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: brightness(var(--bg-brightness, 0.5)) saturate(0.7);
    z-index: -2;
    transition: filter 420ms ease, opacity 420ms ease;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 4, 7, 0.58) 0%, rgba(3, 4, 7, 0.18) 50%, rgba(3, 4, 7, 0.82) 100%),
        radial-gradient(ellipse at 85% 18%, rgba(244, 201, 135, 0.14), transparent 50%),
        radial-gradient(ellipse at bottom, rgba(3, 4, 7, 0.72), transparent 60%);
    z-index: -1;
    pointer-events: none;
    transition: background 420ms ease, opacity 420ms ease;
}

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

button, select, input, .tag, .pill, .stat, .contact-item, .footer-pill, .drawer a {
    transition: background 200ms ease, border-color 200ms ease, color 200ms ease, opacity 200ms ease, transform 180ms ease;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.shell {
    position: relative;
    z-index: 1;
    width: min(var(--max), calc(100% - 28px));
    margin: 0 auto;
}

.glass {
    position: relative;
    background: linear-gradient(180deg, rgba(8, 10, 16, var(--card-alpha-strong, 0.66)), rgba(8, 10, 16, var(--card-alpha-soft, 0.46)));
    border: 1px solid rgba(255, 255, 255, var(--card-border-alpha, 0.12));
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: background 260ms ease, border-color 260ms ease, box-shadow 260ms ease, transform 220ms ease;
}

.glass::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(115deg, rgba(var(--card-border-accent-rgb), var(--card-border-alpha-soft)) 0%, rgba(var(--card-border-accent-rgb), var(--card-border-alpha-soft)) 38%, rgba(var(--card-border-accent-rgb), var(--card-border-alpha-strong)) 58%, rgba(var(--card-border-accent-rgb), var(--card-border-alpha-soft)) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
    transition: background 260ms ease;
}

.topbar {
    position: sticky;
    top: 14px;
    z-index: 10;
    margin-top: 14px;
    padding: 8px 12px 8px 20px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: nowrap;
    transition: background .22s ease;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-mark {
    width: 300px;
    height: 60px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: transparent;
    overflow: hidden;
    padding: 0;
    flex: 0 0 auto;
    transform-origin: center center;
    transition: transform .22s ease;
    will-change: transform;
    min-width: 0;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    flex: 1 1 320px;
    min-width: 0;
}

.nav a {
    color: var(--muted);
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    transition: background .18s ease, color .18s ease;
    max-width: 100%;
    overflow-wrap: break-word;
}

.nav a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text);
}

.cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 800;
    transition: transform .18s ease, opacity .18s ease;
}

.cta-link:hover { transform: translateY(-1px); }

.cta-primary {
    background: linear-gradient(135deg, #f4c987, #ffe0a6);
    color: #050505;
}

.cta-secondary {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--line);
    color: var(--text);
}

.design-switcher {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
}

.design-switcher select {
    padding: 8px 28px 8px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    color: var(--muted);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23b8b2aa'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 10px;
    max-width: 100%;
}

.design-switcher select:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ── Drawer / Hamburger ── */

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 100;
    position: relative;
    order: 10;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--category-icon-color);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.24s ease;
}

.hamburger:hover .hamburger-line {
    filter: brightness(1.3);
}

.drawer,
.drawer-overlay {
    display: none;
}

.hero {
    padding: 40px 0 24px;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 24px;
    align-items: stretch;
}

.hero > * {
    min-width: 0;
}

.hero-grid {
    display: flex;
    flex-direction: column;
}

.hero-card {
    flex: 1;
}

.hero-copy,
.hero-grid,
.hero-card {
    max-width: 100%;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    max-width: 100%;
    overflow-wrap: break-word;
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 14px rgba(244, 201, 135, 0.45);
    flex-shrink: 0;
}

h1 {
    margin: 12px 0 10px;
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.0;
    letter-spacing: -0.04em;
}

.hero-copy p {
    margin: 0;
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.hero-copy {
    position: relative;
    padding: 24px;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(8, 10, 16, var(--card-alpha-strong, 0.66)), rgba(8, 10, 16, var(--card-alpha-soft, 0.46)));
    border: 1px solid rgba(255, 255, 255, var(--card-border-alpha, 0.12));
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.hero-copy::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(115deg, rgba(var(--card-border-accent-rgb), var(--card-border-alpha-soft)) 0%, rgba(var(--card-border-accent-rgb), var(--card-border-alpha-soft)) 38%, rgba(var(--card-border-accent-rgb), var(--card-border-alpha-strong)) 58%, rgba(var(--card-border-accent-rgb), var(--card-border-alpha-soft)) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
    transition: background 260ms ease;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-grid {
    display: grid;
    gap: 14px;
}

.hero-card {
    padding: 22px;
    border-radius: var(--radius-xl);
}

.hero-card h2,
.section-head h2,
.feature-card h3,
.product-card h3,
.service-card h3,
.timeline-card h3,
.contact-card h3 {
    margin: 0 0 10px;
    letter-spacing: -0.04em;
}

.hero-card p,
.section-head p,
.feature-card p,
.product-card p,
.service-card p,
.timeline-card p,
.contact-card p,
.footer-note {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.spot-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.stat {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    min-width: 0;
}

.stat strong {
    display: block;
    font-size: 30px;
    margin-bottom: 6px;
}

.stat span {
    color: var(--muted);
    font-size: 13px;
    overflow-wrap: break-word;
}

section {
    padding: 26px 0;
}

.section-head {
    margin-bottom: 18px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.section-head h2 {
    font-size: clamp(24px, 3.5vw, 36px);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.feature-card,
.product-card,
.service-card,
.timeline-card,
.contact-card,
.quote-box {
    padding: 22px;
    border-radius: var(--radius-xl);
    min-width: 0;
}

.feature-card {
    min-height: 240px;
}

.tag-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
    min-width: 0;
}

.tag {
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 12px;
    color: var(--muted);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    max-width: 100%;
    overflow-wrap: break-word;
}

.product-card,
.service-card,
.timeline-card,
.contact-card {
    min-height: 220px;
}

.product-top,
.service-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: start;
    margin-bottom: 12px;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.05);
    color: var(--muted);
    max-width: 100%;
    overflow-wrap: break-word;
    white-space: nowrap;
}

.pill.live,
.pill.next {
    white-space: normal;
}

.pill.live {
    color: #ffe0a6;
    background: rgba(244, 201, 135, 0.10);
}

.pill.next {
    color: #d6dfff;
    background: rgba(122, 167, 255, 0.12);
}

.timeline-card {
    position: relative;
    overflow: hidden;
}

.timeline-card::after {
    content: "";
    position: absolute;
    inset: auto auto 0 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    opacity: .9;
}

.quote-box {
    position: relative;
    overflow: hidden;
    padding: 28px;
}

.quote-box::after {
    content: "\201D";
    position: absolute;
    bottom: 4px;
    right: 16px;
    font-size: 64px;
    line-height: 1;
    color: rgba(255,255,255,0.06);
    pointer-events: none;
}

.quote-box p {
    position: relative;
    z-index: 1;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
    margin: 12px 0 0 0;
}

.quote-head {
    position: relative;
    z-index: 1;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.quote-list {
    position: relative;
    z-index: 1;
    margin: 0 0 10px 0;
    padding: 0 0 0 18px;
    list-style: none;
    max-width: 100%;
}

.quote-list li {
    position: relative;
    padding: 3px 0;
    font-size: 15px;
    color: var(--muted);
    overflow-wrap: break-word;
}

.quote-list li::before {
    content: "—";
    position: absolute;
    left: -18px;
    color: var(--accent);
}

.quote-link {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: var(--accent);
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.quote-link:hover {
    opacity: 1;
}

.quote-box strong {
    display: block;
    margin-top: 16px;
    color: var(--text);
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 16px;
}

.contact-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.contact-item {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    max-width: 100%;
    overflow-wrap: break-word;
}

footer {
    padding: 22px 0 48px;
}

.footer-box {
    padding: 20px 22px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-meta {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.footer-contact {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    min-width: 0;
}

.footer-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--muted);
    font-size: 13px;
    max-width: 100%;
    overflow-wrap: break-word;
}

.footer-pill strong {
    color: var(--text);
    flex-shrink: 0;
}

.footer-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
}

.footer-links a {
    color: var(--muted);
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 12px;
}

.footer-links a:hover {
    color: var(--text);
    background: rgba(255,255,255,0.05);
}

@media (max-width: 1120px) {
    .hero,
    .contact-wrap,
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 32px;
    }
}

@media (max-width: 768px) {
    body::before {
        background-attachment: scroll;
        filter: brightness(0.28) saturate(0.48);
    }
}

@media (max-width: 720px) {
    .shell {
        width: min(100% - 14px, 100%);
    }

    .topbar {
        border-radius: 22px;
        justify-content: flex-end;
        gap: 8px;
        padding: 8px 10px;
    }

    .brand {
        flex-shrink: 1;
        min-width: 0;
    }

    .brand-mark {
        width: min(100%, 160px);
        height: 32px;
    }

    .design-switcher select {
        font-size: 11px;
        padding: 6px 22px 6px 8px;
    }

    h1 { font-size: clamp(24px, 7vw, 38px); }

    .hero-card,
    .feature-card,
    .product-card,
    .service-card,
    .timeline-card,
    .contact-card,
    .quote-box,
    .footer-box {
        padding: 18px;
    }

    .spot-stats {
        grid-template-columns: 1fr;
    }

    .section-head {
        align-items: start;
        flex-direction: column;
    }
}

.topbar,
.brand-mark {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}

.topbar {
    contain: paint;
    will-change: transform;
}

.brand-mark {
    transform-origin: center center;
    transition: transform .2s ease, opacity .18s ease;
}

@media (max-width: 1024px) {
    .topbar.is-compact {
        gap: 6px;
        padding: 6px 10px;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .topbar.is-compact .brand-mark {
        transform: scale(.6);
    }
}

/* ── Design-Modus: Micro ── */

html[data-design="micro"] body {
    font-family: var(--font-tech);
}

html[data-design="micro"] body::before {
    filter: brightness(var(--bg-brightness, 0.98)) saturate(1);
}

html[data-design="micro"] body::after {
    background:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(244, 201, 135, 0.010) 2px, rgba(244, 201, 135, 0.010) 4px),
        linear-gradient(90deg, rgba(3, 4, 7, 0.07) 0%, rgba(3, 4, 7, 0.04) 50%, rgba(3, 4, 7, 0.20) 100%),
        radial-gradient(ellipse at 85% 18%, rgba(244, 201, 135, 0.05), transparent 50%),
        radial-gradient(ellipse at bottom, rgba(3, 4, 7, 0.20), transparent 60%);
}

html[data-design="micro"] {
    --home-bg-image: url('../gfx-micro/cyber3-1280.webp');
    --card-border-accent-rgb: 255, 70, 70;
    --category-icon-color: rgb(255, 70, 70);
    --category-icon-rgb: 255, 70, 70;
}

html[data-design="normal"] {
    --category-icon-color: rgb(255, 255, 255);
    --category-icon-rgb: 255, 255, 255;
}

html[data-design="micro"][data-micro-bg="cyber2"] {
    --home-bg-image: url('../gfx-micro/cyber2-1280.webp');
    --card-border-accent-rgb: 244, 201, 70;
    --category-icon-color: rgb(244, 201, 70);
    --category-icon-rgb: 244, 201, 70;
}

@media (min-width: 1281px) {
    html[data-design="micro"] {
        --home-bg-image: url('../gfx-micro/cyber3-1920.webp');
    }

    html[data-design="micro"][data-micro-bg="cyber2"] {
        --home-bg-image: url('../gfx-micro/cyber2-1920.webp');
    }
}

@media (min-width: 1921px) {
    html[data-design="micro"] {
        --home-bg-image: url('../gfx-micro/cyber3-2560.webp');
    }

    html[data-design="micro"][data-micro-bg="cyber2"] {
        --home-bg-image: url('../gfx-micro/cyber2-2560.webp');
    }
}

html[data-design="micro"] .hero-copy {
    overflow-wrap: break-word;
}

@media (max-width: 720px) {
    html[data-design="micro"] {
        overflow-x: hidden;
    }

    html[data-design="micro"] h1 {
        font-size: clamp(20px, 5vw, 32px);
        line-height: 1.05;
    }

    html[data-design="micro"] .hero-copy p {
        font-size: 15px;
        line-height: 1.55;
    }
}

html[data-design="micro"] .eyebrow,
html[data-design="micro"] .tag,
html[data-design="micro"] .pill,
html[data-design="micro"] .stat strong,
html[data-design="micro"] .nav a,
html[data-design="micro"] .design-switcher select,
html[data-design="micro"] .footer-pill strong,
html[data-design="micro"] .contact-item strong,
html[data-design="micro"] .cta-link {
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

html[data-design="micro"] .eyebrow {
    letter-spacing: 0.14em;
}

html[data-design="micro"] .tag,
html[data-design="micro"] .pill {
    background: rgba(244, 201, 135, 0.08);
    color: #f4c987;
    border-color: rgba(244, 201, 135, 0.18);
}

html[data-design="micro"] .pill.live {
    color: #ffe0a6;
    background: rgba(244, 201, 135, 0.12);
    border-color: rgba(244, 201, 135, 0.22);
}

html[data-design="micro"] .pill.next {
    color: #d6dfff;
    background: rgba(122, 167, 255, 0.14);
    border-color: rgba(122, 167, 255, 0.22);
}

html[data-design="micro"] .glass {
    border-color: rgba(244, 201, 135, 0.18);
    box-shadow:
        0 28px 90px rgba(0, 0, 0, 0.62),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

html[data-design="micro"] .stat {
    border-color: rgba(244, 201, 135, 0.12);
}

html[data-design="micro"] .contact-item {
    border-color: rgba(244, 201, 135, 0.14);
}

html[data-design="micro"] .footer-pill {
    border-color: rgba(244, 201, 135, 0.14);
}

html[data-design="micro"] .timeline-card::after {
    background: linear-gradient(90deg, #f4c987, #7aa7ff);
    opacity: 1;
    height: 2px;
}

html[data-design="micro"] .topbar {
    border-color: rgba(244, 201, 135, 0.16);
}

html[data-design="micro"] .nav a {
    font-size: 13px;
}

html[data-design="micro"] .nav a:hover {
    background: rgba(244, 201, 135, 0.06);
    color: #f4c987;
}

html[data-design="micro"] section {
    padding: 18px 0;
}

html[data-design="micro"] .hero {
    padding: 40px 0 22px;
}

html[data-design="micro"] .hero-actions {
    margin-top: 20px;
}

html[data-design="micro"] .spot-stats {
    margin-top: 14px;
    gap: 8px;
}

html[data-design="micro"] .stat strong {
    font-size: 24px;
    margin-bottom: 4px;
}

html[data-design="micro"] .stat span {
    font-size: 11px;
}

html[data-design="micro"] .tag-row {
    margin-top: 12px;
    gap: 5px;
}

html[data-design="micro"] .tag {
    font-size: 11px;
    padding: 6px 8px;
}

html[data-design="micro"] .pill {
    font-size: 11px;
    padding: 6px 8px;
}

html[data-design="micro"] .hero-card h2,
html[data-design="micro"] .feature-card h3,
html[data-design="micro"] .product-card h3,
html[data-design="micro"] .service-card h3,
html[data-design="micro"] .timeline-card h3,
html[data-design="micro"] .contact-card h3 {
    font-size: clamp(20px, 3vw, 26px);
}

html[data-design="micro"] .section-head h2 {
    font-size: clamp(22px, 3vw, 30px);
}

html[data-design="micro"] .hero-card p,
html[data-design="micro"] .section-head p,
html[data-design="micro"] .feature-card p,
html[data-design="micro"] .product-card p,
html[data-design="micro"] .service-card p,
html[data-design="micro"] .timeline-card p,
html[data-design="micro"] .contact-card p {
    font-size: 14px;
    line-height: 1.55;
}

/* ── Global Drawer ── */

.drawer {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 80vw);
    background: rgba(5, 7, 12, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-left: 1px solid rgba(var(--category-icon-rgb), 0.16);
    box-shadow: -8px 0 60px rgba(0, 0, 0, 0.5);
    z-index: 90;
    padding: 80px 24px 24px;
    transform: translateX(100%);
    transition: transform 340ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 260ms ease, backdrop-filter 340ms ease;
    overflow-y: auto;
}

.drawer.is-open {
    transform: translateX(0);
}

.drawer a {
    display: block;
    padding: 14px 12px;
    font-size: 16px;
    color: var(--text);
    border-radius: 10px;
    margin-bottom: 4px;
    transition: background 0.15s ease;
}

.drawer a:hover {
    background: rgba(244, 201, 135, 0.08);
}

.drawer-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 85;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.drawer-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

@media (max-width: 720px) {
    .drawer {
        padding-top: 90px;
    }
}

/* ── Drawer Controls ── */

.drawer-sep {
    margin: 16px 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-controls {
    display: grid;
    gap: 14px;
}

.drawer-group-label {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.drawer-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.brightness-value {
    color: var(--accent);
    font-weight: 700;
}

.brightness-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
}

.brightness-slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid #030407;
    cursor: pointer;
}

.brightness-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid #030407;
    cursor: pointer;
}

.drawer-style-choice,
.micro-bg-choice {
    display: grid;
    gap: 6px;
}

.drawer-style-choice label,
.micro-bg-choice label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 13px;
    color: var(--muted);
    cursor: pointer;
    transition: background 0.15s ease;
}

.drawer-style-choice label:hover,
.micro-bg-choice label:hover {
    background: rgba(244, 201, 135, 0.06);
}

.drawer-style-choice input[type="radio"],
.micro-bg-choice input[type="radio"] {
    accent-color: var(--accent);
}
