/* MADE Development — V1.2 Multi-page + Electric Purple
   bewusst ohne Frameworks und ohne externe Font/CDN-Abhängigkeiten */

:root {
    --bg: #070411;
    --bg-soft: #0d0820;
    --panel: rgba(19, 12, 42, 0.62);
    --panel-strong: rgba(19, 12, 42, 0.88);
    --text: #fbf9ff;
    --muted: #bbb1c8;
    --muted-2: #8d819b;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.22);
    --accent: #8b3dff;
    --accent-2: #4f63ff;
    --success: #8ce5b3;
    --danger: #ff8c9d;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
    --radius-sm: 16px;
    --radius: 28px;
    --radius-lg: 40px;
    --container: 1540px;
    --nav-h: 76px;
    --blur: 26px;
    --ease: cubic-bezier(.2,.8,.2,1);
    --font-body: "Aptos", "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: "Bahnschrift", "DIN Alternate", "Arial Narrow", "Segoe UI Variable Display", "Segoe UI", sans-serif;
}

html[data-font-mode="neutral"] {
    --font-body: "Segoe UI Variable Text", "Segoe UI", "Aptos", Arial, sans-serif;
    --font-display: "Segoe UI Variable Display", "Segoe UI", "Aptos Display", Arial, sans-serif;
}

html[data-font-mode="tech"] {
    --font-body: "Bahnschrift", "DIN Alternate", "Segoe UI", Arial, sans-serif;
    --font-display: "Bahnschrift", "DIN Alternate", "Arial Narrow", "Segoe UI", sans-serif;
}

html[data-font-mode="editorial"] {
    --font-body: Georgia, "Times New Roman", serif;
    --font-display: Georgia, "Times New Roman", serif;
}

html[data-font-mode="mono"] {
    --font-body: "Cascadia Mono", "Cascadia Code", Consolas, monospace;
    --font-display: "Cascadia Mono", "Cascadia Code", Consolas, monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
    overflow-x: clip;
}

body {
    margin: 0;
    min-width: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 50% -10%, rgba(116, 52, 255, .28), transparent 36%),
        radial-gradient(circle at 84% 18%, rgba(71, 82, 255, .15), transparent 28%),
        linear-gradient(180deg, #070411 0%, #090617 46%, #05030d 100%);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    overflow-x: hidden;
}

:where(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid #e1c7ff;
    outline-offset: 3px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -3;
    opacity: .18;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), transparent 85%);
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
}

img,
svg {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    letter-spacing: -0.026em;
}

h1 {
    margin-bottom: 28px;
    font-size: clamp(var(--cms-h1-min, 3.2rem), var(--cms-h1-fluid, 7.6vw), var(--cms-h1-max, 8.1rem));
    line-height: .94;
    font-weight: 620;
}

h1 span {
    color: rgba(255,255,255,.68);
}

h2 {
    margin-bottom: 22px;
    font-size: clamp(var(--cms-h2-min, 2.5rem), var(--cms-h2-fluid, 5vw), var(--cms-h2-max, 5.7rem));
    line-height: 1;
    font-weight: 610;
}

h3 {
    font-size: clamp(var(--cms-h3-min, 1.5rem), var(--cms-h3-fluid, 2.3vw), var(--cms-h3-max, 2.5rem));
    line-height: 1.08;
}

p {
    color: var(--muted);
}

::selection {
    background: rgba(130,64,255,.48);
    color: #fff;
}

.container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}

.section-screen {
    min-height: 100svh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 132px 0 100px;
}

.section-pad {
    position: relative;
    padding: 132px 0;
}

.glass {
    position: relative;
    background:
        linear-gradient(135deg, rgba(255,255,255,.085), rgba(255,255,255,.025)),
        var(--panel);
    border: 1px solid var(--line);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        var(--shadow);
    backdrop-filter: blur(var(--blur)) saturate(130%);
    -webkit-backdrop-filter: blur(var(--blur)) saturate(130%);
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999;
    transform: translateY(-150%);
    padding: 12px 16px;
    border-radius: 10px;
    background: #fff;
    color: #000;
}

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

.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;
}

.ambient {
    position: fixed;
    width: 520px;
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .2;
    pointer-events: none;
    z-index: -2;
}

.ambient-one {
    top: 3%;
    left: -160px;
    background: #7135ff;
}

.ambient-two {
    right: -180px;
    top: 34%;
    background: #314cff;
}

.site-header {
    position: fixed;
    top: 18px;
    left: 0;
    right: 0;
    z-index: 1000;
    pointer-events: none;
}

.nav-shell {
    width: min(calc(100% - 36px), 1440px);
    min-height: var(--nav-h);
    margin: 0 auto;
    padding: 10px 12px 10px 16px;
    border-radius: 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
    pointer-events: auto;
}

.site-header.scrolled .nav-shell {
    transform: translateY(-6px) scale(.985);
    background: rgba(18, 12, 25, .86);
    border-color: rgba(255,255,255,.18);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 13px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.15), rgba(255,255,255,.02)),
        rgba(14,9,19,.82);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -.04em;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-copy strong {
    font-family: var(--font-display);
    font-size: .92rem;
    font-weight: 650;
    letter-spacing: .16em;
}

.brand-copy span {
    margin-top: 5px;
    color: var(--muted-2);
    font-size: .54rem;
    letter-spacing: .22em;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.main-nav a {
    color: #d8deea;
    font-size: .92rem;
    transition: color .2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: #fff;
}

.mobile-nav-toggle {
    display: none;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 16px;
    cursor: pointer;
    font-weight: 680;
    transition:
        transform .25s var(--ease),
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0);
}

.button-primary {
    color: #07101f;
    background:
        linear-gradient(135deg, rgba(255,255,255,.8), rgba(255,255,255,.2)),
        linear-gradient(135deg, #f0e7ff, #c69cff 55%, #e4a6ff);
    box-shadow: 0 12px 40px rgba(168,85,247,.24);
}

.button-secondary {
    border-color: var(--line-strong);
    background: rgba(255,255,255,.045);
    color: #fff;
}

.button-small {
    min-height: 46px;
    padding-inline: 18px;
    font-size: .9rem;
}

.hero {
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr);
    gap: 72px;
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.eyebrow {
    margin-bottom: 18px;
    color: #d2bce8;
    font-size: .76rem;
    font-weight: 610;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.hero-text {
    max-width: 720px;
    margin-bottom: 34px;
    font-size: clamp(1.08rem, 1.5vw, 1.35rem);
}

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

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 42px;
    color: var(--muted-2);
    font-size: .88rem;
}

.trust-row span {
    position: relative;
    padding-left: 15px;
}

.trust-row span::before {
    content: "";
    position: absolute;
    left: 0;
    top: .67em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 14px var(--accent);
}

.hero-visual {
    min-height: 610px;
    display: grid;
    place-items: center;
}

.orbital-stage {
    position: relative;
    width: min(100%, 590px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    perspective: 1200px;
}

.orbital-stage::before {
    content: "";
    position: absolute;
    width: 66%;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 36% 30%, rgba(255,255,255,.14), transparent 18%),
        radial-gradient(circle at 50% 50%, rgba(168,85,247,.40), rgba(126,34,206,.12) 40%, transparent 72%);
    filter: blur(2px);
    box-shadow: 0 0 110px rgba(168,85,247,.30);
}

.orbit {
    position: absolute;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    transform: rotateX(68deg) rotateZ(-16deg);
}

.orbit::after {
    content: "";
    position: absolute;
    width: 11px;
    height: 11px;
    top: 50%;
    left: -5px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 25px #c084fc;
}

.orbit-one {
    width: 78%;
    aspect-ratio: 1;
    animation: orbitSpin 18s linear infinite;
}

.orbit-two {
    width: 100%;
    aspect-ratio: 1;
    opacity: .55;
    animation: orbitSpinReverse 26s linear infinite;
}

.core-card {
    position: relative;
    width: 52%;
    aspect-ratio: 1 / 1.08;
    border-radius: 34px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: rotateY(-8deg) rotateX(4deg);
    animation: cardFloat 7s ease-in-out infinite;
}

.core-kicker {
    color: #d2bce8;
    font-size: .65rem;
    letter-spacing: .15em;
}

.core-card strong {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4.7vw, 4.3rem);
    font-weight: 580;
    line-height: .95;
    letter-spacing: -.045em;
}

.core-meter {
    display: grid;
    grid-template-columns: 1.5fr .9fr .5fr;
    gap: 6px;
}

.core-meter span {
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,.22);
}

.core-meter span:first-child {
    background: #c084fc;
    box-shadow: 0 0 20px rgba(192,132,252,.58);
}

.floating-chip {
    position: absolute;
    padding: 10px 14px;
    border-radius: 14px;
    color: #e5eaff;
    font-size: .78rem;
    box-shadow: 0 14px 42px rgba(0,0,0,.22);
}

.chip-one {
    top: 16%;
    left: 2%;
    animation: chipFloat 6s ease-in-out infinite;
}

.chip-two {
    top: 27%;
    right: 0;
    animation: chipFloat 8s ease-in-out infinite reverse;
}

.chip-three {
    bottom: 15%;
    left: 13%;
    animation: chipFloat 7s ease-in-out infinite .5s;
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 28px;
    width: 34px;
    height: 54px;
    margin-left: -17px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    display: grid;
    place-items: start center;
}

.scroll-indicator span {
    width: 5px;
    height: 5px;
    margin-top: 11px;
    border-radius: 50%;
    background: #fff;
    animation: scrollDot 2s ease-in-out infinite;
}

.scroll-indicator {
    transition: opacity .28s ease, transform .28s var(--ease), visibility .28s ease;
}

.scroll-indicator.is-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    pointer-events: none;
}

.section-heading {
    max-width: 900px;
    margin-bottom: 54px;
}

.section-heading.centered {
    margin-inline: auto;
    text-align: center;
}

.section-heading p {
    max-width: 720px;
    font-size: 1.05rem;
}

.section-heading.centered p {
    margin-inline: auto;
}

.service-switch {
    position: relative;
    width: min(100%, 930px);
    margin: 0 auto 30px;
    padding: 8px;
    border-radius: 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
}

.service-switch a {
    position: relative;
    z-index: 2;
    min-height: 72px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 16px;
    color: var(--muted);
    font-weight: 690;
    transition: color .35s var(--ease);
}

.service-switch a.active {
    color: #fff;
}

.switch-index {
    color: var(--muted-2);
    font-size: .7rem;
}

.switch-glider {
    position: absolute;
    z-index: 1;
    top: 8px;
    bottom: 8px;
    left: 8px;
    width: calc((100% - 16px) / 3);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.03)),
        rgba(126,34,206,.20);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 12px 40px rgba(0,0,0,.18);
    transition: transform .48s var(--ease), background .35s ease;
}

.service-switch a:nth-child(2).active ~ .switch-glider {
    transform: translateX(100%);
}

.service-switch a:nth-child(3).active ~ .switch-glider {
    transform: translateX(200%);
}

.service-panel {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 22px;
}

.service-content,
.service-visual {
    min-height: 500px;
    border-radius: var(--radius-lg);
}

.service-content {
    padding: clamp(34px, 5vw, 72px);
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr);
    gap: 44px;
    align-items: center;
}

.service-content h3 {
    max-width: 680px;
    margin-bottom: 20px;
    font-size: clamp(2.4rem, 4.2vw, 5.2rem);
}

.service-content p {
    max-width: 630px;
    font-size: 1.05rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    font-weight: 610;
}

.text-link span {
    transition: transform .2s ease;
}

.text-link:hover span {
    transform: translateX(5px);
}

.service-benefits {
    display: grid;
    gap: 10px;
}

.service-benefits span {
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.035);
    color: #d7dfec;
    font-size: .9rem;
}

.service-visual {
    padding: 26px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.mock-browser {
    width: 100%;
    max-width: 620px;
    min-height: 390px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 24px;
    background:
        radial-gradient(circle at 65% 20%, rgba(168,85,247,.22), transparent 35%),
        #0e0914;
    box-shadow: 0 30px 80px rgba(0,0,0,.38);
    overflow: hidden;
    transform: perspective(900px) rotateY(-5deg) rotateX(2deg);
    transition: transform .35s var(--ease), box-shadow .35s ease;
}

.service-visual:hover .mock-browser {
    transform: perspective(900px) rotateY(-2deg) rotateX(1deg) translateY(-6px);
}

.mock-browser-bar {
    height: 52px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 7px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    color: var(--muted-2);
    font-size: .72rem;
}

.mock-browser-bar i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
}

.mock-browser-bar span {
    margin-left: 10px;
}

.mock-content {
    padding: 46px;
}

.mock-tag {
    margin-bottom: 24px;
    color: #d3a8ff;
    font-size: .68rem;
    letter-spacing: .18em;
}

.mock-content h4 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 3.5vw, 4rem);
    line-height: .95;
}

.mock-lines {
    display: grid;
    gap: 9px;
    margin-top: 36px;
}

.mock-lines span {
    height: 7px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
}

.mock-lines span:nth-child(1) { width: 90%; }
.mock-lines span:nth-child(2) { width: 72%; }
.mock-lines span:nth-child(3) { width: 43%; }

[data-service="visibility"] {
    --accent: #d946ef;
    --accent-2: #c084fc;
}

[data-service="ai"] {
    --accent: #a78bfa;
    --accent-2: #7c3aed;
}

.work {
    overflow: hidden;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 22px;
}

.project-card {
    border-radius: var(--radius);
    padding: 16px;
    overflow: hidden;
}

.project-large {
    grid-row: span 2;
}

.project-art {
    position: relative;
    min-height: 330px;
    border-radius: 20px;
    overflow: hidden;
}

.project-large .project-art {
    min-height: 720px;
}

.project-art-one {
    background:
        radial-gradient(circle at 30% 20%, rgba(168,85,247,.52), transparent 30%),
        linear-gradient(155deg, #21142f, #0b0810 60%);
}

.project-art-two {
    background:
        radial-gradient(circle at 80% 10%, rgba(217,70,239,.44), transparent 30%),
        linear-gradient(160deg, #24112e, #0b0810 62%);
}

.project-art-three {
    background:
        radial-gradient(circle at 50% 30%, rgba(139,92,246,.38), transparent 34%),
        linear-gradient(160deg, #171127, #0b0810 62%);
}

.project-number {
    position: absolute;
    top: 18px;
    right: 18px;
    color: rgba(255,255,255,.5);
    font-size: .72rem;
    letter-spacing: .14em;
}

.project-window {
    position: absolute;
    width: 72%;
    height: 66%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-4deg);
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 26px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.025)),
        rgba(8,11,19,.65);
    box-shadow: 0 40px 100px rgba(0,0,0,.42);
}

.project-window::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 22px;
    right: 22px;
    height: 34%;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(168,85,247,.38), rgba(255,255,255,.05));
}

.project-window div {
    position: absolute;
    left: 22px;
    right: 22px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
}

.project-window div:nth-child(1) { top: 46%; }
.project-window div:nth-child(2) { top: 53%; right: 40%; }
.project-window div:nth-child(3) { top: 72%; height: 16%; border-radius: 14px; }

.project-device {
    position: absolute;
    width: 42%;
    aspect-ratio: .55;
    left: 50%;
    top: 52%;
    transform: translate(-50%,-50%) rotate(7deg);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.02)),
        #0c1019;
    box-shadow: 0 28px 60px rgba(0,0,0,.4);
}

.project-device::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 60% 20%, rgba(200,126,255,.35), transparent 40%),
        linear-gradient(180deg, #15142a, #090b13);
}

.project-search {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
}

.project-search span {
    color: #e2b4ff;
    font-size: .85rem;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.project-search strong {
    margin-top: 8px;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    letter-spacing: -.06em;
}

.project-meta {
    padding: 22px 6px 6px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.project-meta span {
    color: var(--muted-2);
    font-size: .78rem;
}

.project-meta h3 {
    margin: 5px 0 0;
    font-size: 1.45rem;
}

.project-meta a {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.04);
    transition: transform .2s ease, background .2s ease;
}

.project-meta a:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,.08);
}

.principles-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 80px;
    align-items: center;
}

.principle-list {
    display: grid;
    gap: 14px;
}

.principle {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 16px;
    padding: 26px;
    border-radius: 22px;
}

.principle > span {
    color: var(--muted-2);
    font-size: .72rem;
    letter-spacing: .14em;
}

.principle h3 {
    margin-bottom: 8px;
    font-size: 1.45rem;
}

.principle p {
    margin: 0;
}

.tech-marquee {
    padding: 18px;
    border-radius: 22px;
    overflow: hidden;
}

.tech-track {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.tech-track span {
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 13px;
    background: rgba(255,255,255,.035);
    color: #d8e1f3;
    font-size: .9rem;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 22px;
}

.metric {
    min-height: 230px;
    padding: 28px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.metric-value {
    font-size: clamp(2.7rem, 5vw, 5rem);
    font-weight: 620;
    letter-spacing: -.07em;
}

.metric p {
    margin: 0;
    max-width: 380px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.price-card {
    position: relative;
    min-height: 560px;
    padding: 30px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
}

.price-featured {
    transform: translateY(-16px);
    border-color: rgba(192,132,252,.38);
    background:
        radial-gradient(circle at 50% 0%, rgba(168,85,247,.22), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.03)),
        rgba(18,23,35,.66);
}

.popular-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(168,85,247,.16);
    color: #ead7ff;
    border: 1px solid rgba(192,132,252,.24);
    font-size: .72rem;
    font-weight: 700;
}

.price-top > span {
    color: #dce5f5;
    font-weight: 730;
}

.price-top strong {
    display: block;
    margin: 18px 0 10px;
    font-size: clamp(2.2rem, 4vw, 4rem);
    letter-spacing: -.06em;
}

.price-card ul {
    margin: 28px 0 32px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
    color: var(--muted);
}

.price-card li {
    position: relative;
    padding-left: 24px;
}

.price-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #9ed4b8;
}

.price-card .button {
    margin-top: auto;
}

.human-card {
    min-height: 520px;
    padding: clamp(32px, 6vw, 78px);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 70px;
    align-items: center;
    background:
        radial-gradient(circle at 80% 30%, rgba(168,85,247,.18), transparent 32%),
        linear-gradient(135deg, rgba(255,255,255,.085), rgba(255,255,255,.025)),
        var(--panel);
}

.human-copy h2 {
    max-width: 900px;
}

.human-copy p {
    max-width: 680px;
    font-size: 1.05rem;
}

.process {
    display: grid;
    gap: 10px;
}

.process span {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    color: #d6dfef;
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.knowledge-card {
    min-height: 270px;
    padding: 28px;
    border-radius: var(--radius);
}

.knowledge-card > span {
    color: #d5b2f4;
    font-size: .73rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.knowledge-card h3 {
    margin-top: 34px;
    margin-bottom: 12px;
    font-size: 1.55rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 70px;
    align-items: start;
}

.contact-note {
    margin-top: 34px;
    padding: 20px;
    border-radius: 18px;
}

.contact-note p {
    margin: 6px 0 0;
}

.project-form {
    min-height: 620px;
    padding: clamp(26px, 4vw, 48px);
    border-radius: var(--radius-lg);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: formIn .32s var(--ease);
}

.form-progress {
    height: 4px;
    margin-bottom: 24px;
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    overflow: hidden;
}

.form-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: inherit;
}

.form-progress-step-1 { width: 33.33%; }
.form-progress-step-2 { width: 66.66%; }
.form-progress-step-3 { width: 100%; }

.form-step-label {
    color: var(--muted-2);
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.form-step h3 {
    margin: 10px 0 30px;
    font-size: clamp(2rem, 3vw, 3rem);
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.choice-wide {
    grid-column: 1 / -1;
}

.choice {
    position: relative;
}

.choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice span {
    min-height: 72px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.025);
    color: #d8dfeb;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.choice input:checked + span {
    border-color: rgba(192,132,252,.50);
    background: rgba(168,85,247,.15);
    color: #fff;
    transform: translateY(-2px);
}

.choice input:focus-visible + span {
    outline: 2px solid #ddb8ff;
    outline-offset: 2px;
}

.form-actions {
    margin-top: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

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

.field-grid label,
.field-full {
    display: grid;
    gap: 8px;
}

.field-full {
    margin-top: 16px;
}

.field-grid label span,
.field-full span {
    color: #d8dfeb;
    font-size: .86rem;
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 14px;
    background: rgba(255,255,255,.035);
    color: #fff;
    padding: 14px 15px;
    outline: none;
    transition: border-color .2s ease, background .2s ease;
}

select {
    color-scheme: dark;
}

textarea {
    resize: vertical;
    min-height: 130px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(192,132,252,.52);
    background: rgba(255,255,255,.055);
}

.consent {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 12px;
    align-items: start;
    color: var(--muted);
    font-size: .86rem;
}

.consent input {
    margin-top: 4px;
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
}

.form-message {
    min-height: 26px;
    margin-top: 18px;
    color: var(--muted);
}

.form-message.success {
    color: var(--success);
}

.form-message.error {
    color: var(--danger);
}

.faq-list {
    display: grid;
    gap: 12px;
    max-width: 1050px;
}

.faq-list details {
    border-radius: 18px;
    overflow: hidden;
}

.faq-list summary {
    padding: 22px 24px;
    cursor: pointer;
    font-weight: 680;
}

.faq-list p {
    padding: 0 24px 24px;
    margin: 0;
}

.footer {
    padding: 70px 0 28px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .6fr .6fr;
    gap: 40px;
}

.footer-brand {
    margin-bottom: 18px;
}

.footer-grid p {
    max-width: 420px;
}

.footer-links {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer-links a,
.footer-links button {
    width: fit-content;
    padding: 0;
    border: 0;
    background: none;
    color: var(--muted);
    cursor: pointer;
}

.footer-links a:hover,
.footer-links button:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 52px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.07);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted-2);
    font-size: .78rem;
}

.accessibility-dialog {
    width: min(calc(100% - 32px), 650px);
    padding: 0;
    border-radius: 28px;
    color: #fff;
}

.accessibility-dialog::backdrop {
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(8px);
}

.accessibility-dialog form {
    padding: 28px;
}

.dialog-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: start;
}

.dialog-head h2 {
    font-size: 2rem;
}

.dialog-close {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 13px;
    background: rgba(255,255,255,.04);
    cursor: pointer;
}

.settings-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.settings-list label {
    padding: 16px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.settings-list span {
    display: grid;
    gap: 3px;
}

.settings-list small {
    color: var(--muted);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity .75s var(--ease),
        transform .75s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes orbitSpin {
    to { transform: rotateX(68deg) rotateZ(344deg); }
}

@keyframes orbitSpinReverse {
    to { transform: rotateX(68deg) rotateZ(-376deg); }
}

@keyframes cardFloat {
    0%,100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); }
    50% { transform: rotateY(-5deg) rotateX(2deg) translateY(-14px); }
}

@keyframes chipFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes scrollDot {
    0% { opacity: 0; transform: translateY(0); }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; transform: translateY(24px); }
}

@keyframes formIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

html.reduce-transparency {
    --panel: #17101f;
    --panel-strong: #17101f;
    --blur: 0px;
}

html.reduce-transparency .glass {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #17101f;
}

html.high-contrast {
    --bg: #000;
    --bg-soft: #070707;
    --panel: #111;
    --text: #fff;
    --muted: #e0e0e0;
    --muted-2: #c7c7c7;
    --line: rgba(255,255,255,.3);
    --line-strong: rgba(255,255,255,.55);
}

html.reduce-motion *,
html.reduce-motion *::before,
html.reduce-motion *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1180px) {
    .hero-grid,
    .principles-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 20px;
    }

    .hero-visual {
        min-height: 480px;
    }

    .service-panel {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }

    .project-large {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .project-large .project-art {
        min-height: 560px;
    }

    .human-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .nav-shell {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 20px;
        background: rgba(18,12,25,.97);
        backdrop-filter: blur(20px);
        display: none;
        flex-direction: column;
        gap: 10px;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 12px;
        border-radius: 12px;
    }

    .nav-cta {
        display: none;
    }

    .mobile-nav-toggle {
        width: 44px;
        height: 44px;
        border: 1px solid var(--line);
        border-radius: 13px;
        background: rgba(255,255,255,.04);
        display: grid;
        align-content: center;
        justify-content: center;
        gap: 4px;
        cursor: pointer;
    }

    .mobile-nav-toggle > span:not(.sr-only) {
        width: 18px;
        height: 1px;
        background: #fff;
    }

    .service-content {
        grid-template-columns: 1fr;
    }

    .pricing-grid,
    .metric-grid,
    .knowledge-grid {
        grid-template-columns: 1fr;
    }

    .price-featured {
        transform: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .section-screen {
        min-height: auto;
        padding: 120px 0 82px;
    }

    .section-pad {
        padding: 90px 0;
    }

    h1 {
        font-size: clamp(3.15rem, 18vw, 5.1rem);
    }

    h2 {
        font-size: clamp(2.35rem, 12vw, 4rem);
    }

    .hero-grid {
        gap: 24px;
    }

    .hero-visual {
        min-height: 420px;
    }

    .orbital-stage {
        width: 100%;
    }

    .core-card {
        width: 58%;
        padding: 20px;
    }

    .chip-two {
        right: 2%;
    }

    .trust-row {
        gap: 12px 18px;
    }

    .service-switch {
        grid-template-columns: 1fr;
        padding: 7px;
    }

    .service-switch a {
        min-height: 58px;
    }

    .switch-glider {
        top: 7px;
        left: 7px;
        right: 7px;
        width: auto;
        height: calc((100% - 14px) / 3);
        bottom: auto;
    }

    .service-switch a:nth-child(2).active ~ .switch-glider {
        transform: translateY(100%);
    }

    .service-switch a:nth-child(3).active ~ .switch-glider {
        transform: translateY(200%);
    }

    .service-content,
    .service-visual {
        min-height: auto;
    }

    .service-content {
        padding: 30px 24px;
    }

    .service-visual {
        padding: 16px;
    }

    .mock-browser {
        min-height: 330px;
        transform: none;
    }

    .mock-content {
        padding: 30px 24px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .project-large {
        grid-column: auto;
    }

    .project-large .project-art,
    .project-art {
        min-height: 420px;
    }

    .principle {
        grid-template-columns: 1fr;
    }

    .field-grid,
    .choice-grid {
        grid-template-columns: 1fr;
    }

    .choice-wide {
        grid-column: auto;
    }

    .footer-grid,
    .footer-bottom {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .footer-bottom {
        display: flex;
    }
}


/* =========================================================
   V1.2 — three real page variants + electric purple system
   ========================================================= */

:root {
    --electric-purple: #8b3dff;
    --electric-purple-bright: #a968ff;
    --electric-indigo: #5562ff;
    --electric-blue: #3f7cff;
    --purple-deep: #35106d;
    --switch-track: rgba(13, 8, 32, .86);
}

body {
    background:
        radial-gradient(circle at 18% 5%, rgba(116, 52, 255, .24), transparent 31%),
        radial-gradient(circle at 86% 15%, rgba(65, 82, 255, .17), transparent 26%),
        radial-gradient(circle at 50% 60%, rgba(113, 35, 255, .07), transparent 36%),
        linear-gradient(180deg, #070411 0%, #090617 46%, #05030d 100%);
}

body::before {
    opacity: .14;
    background-image:
        linear-gradient(rgba(158,117,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(112,124,255,.022) 1px, transparent 1px);
}

.glass {
    background:
        linear-gradient(145deg, rgba(164, 118, 255, .105), rgba(70, 55, 145, .025) 48%, rgba(35, 48, 120, .025)),
        var(--panel);
    border-color: rgba(180, 149, 255, .16);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.075),
        inset 0 -1px 0 rgba(94,69,180,.08),
        0 24px 80px rgba(0,0,0,.38);
}

.ambient {
    opacity: .26;
}

.ambient-one {
    top: -8%;
    left: -170px;
    background: #7436ff;
}

.ambient-two {
    right: -160px;
    top: 20%;
    background: #334dff;
}

.ambient-three {
    position: fixed;
    width: 430px;
    aspect-ratio: 1;
    left: 42%;
    bottom: -240px;
    border-radius: 50%;
    background: #8c2fff;
    filter: blur(115px);
    opacity: .12;
    pointer-events: none;
    z-index: -2;
}

.nav-shell {
    border-color: rgba(183, 151, 255, .18);
}

.brand-mark {
    border-color: rgba(183,151,255,.28);
    background:
        radial-gradient(circle at 30% 20%, rgba(183,143,255,.18), transparent 45%),
        linear-gradient(145deg, rgba(139,61,255,.13), rgba(47,62,255,.045)),
        rgba(8,5,20,.88);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 28px rgba(115,55,255,.1);
}

.button-primary {
    color: #fff;
    border-color: rgba(201, 179, 255, .24);
    background:
        linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.025)),
        linear-gradient(120deg, #8f3fff 0%, #7041ff 44%, #4c67ff 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.22),
        0 12px 36px rgba(104, 57, 255, .31),
        0 0 48px rgba(76, 90, 255, .12);
}

.button-primary:hover {
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.28),
        0 16px 44px rgba(108, 57, 255, .4),
        0 0 62px rgba(76, 90, 255, .18);
}

.button-secondary:hover {
    border-color: rgba(166, 126, 255, .34);
    background: rgba(111, 61, 255, .08);
}

.hero {
    padding-top: 116px;
}

.hero-mode-row {
    position: absolute;
    z-index: 12;
    top: 112px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: flex-start;
    pointer-events: none;
}

.mode-control {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.mode-control-label {
    color: #7f739a;
    font-size: .68rem;
    font-weight: 740;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.mode-switch {
    position: relative;
    width: 560px;
    height: 58px;
    padding: 5px;
    border-radius: 999px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    background:
        linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)),
        var(--switch-track);
    border: 1px solid rgba(177, 146, 255, .18);
    box-shadow:
        inset 0 1px 4px rgba(0,0,0,.6),
        inset 0 1px 0 rgba(255,255,255,.05),
        0 14px 42px rgba(0,0,0,.26);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    overflow: hidden;
}

.mode-switch::before {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 0%, rgba(166,112,255,.06), transparent 28%),
        radial-gradient(circle at 85% 100%, rgba(69,90,255,.055), transparent 27%);
}

.mode-switch-glider {
    position: absolute;
    z-index: 1;
    top: 5px;
    left: 5px;
    width: calc((100% - 10px) / 3);
    height: 48px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 28% 18%, rgba(255,255,255,.2), transparent 24%),
        linear-gradient(125deg, #993fff 0%, #7541ff 48%, #4b65ff 100%);
    border: 1px solid rgba(218, 201, 255, .28);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.28),
        inset 0 -8px 18px rgba(34,21,92,.16),
        0 6px 18px rgba(75, 38, 166, .45),
        0 0 32px rgba(112, 65, 255, .2);
    transition: transform .42s var(--ease);
}

.mode-switch[data-active="sichtbarkeit"] .mode-switch-glider {
    transform: translateX(100%);
}

.mode-switch[data-active="ki-sichtbarkeit"] .mode-switch-glider {
    transform: translateX(200%);
}

.mode-switch a {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    color: #9185aa;
    font-size: .8rem;
    font-weight: 720;
    letter-spacing: -.01em;
    transition: color .25s ease, transform .25s var(--ease);
}

.mode-switch a:hover {
    color: #ddd3f4;
}

.mode-switch a.active {
    color: #fff;
    text-shadow: 0 1px 16px rgba(255,255,255,.24);
}

.mode-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    opacity: .32;
    transition: opacity .2s ease, box-shadow .2s ease;
}

.mode-switch a.active .mode-dot {
    opacity: 1;
    box-shadow: 0 0 12px rgba(255,255,255,.75);
}

.hero-grid {
    padding-top: 54px;
}

.hero h1 span {
    background: linear-gradient(100deg, #c9a7ff 0%, #9d6cff 38%, #7181ff 76%, #a8b3ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 60px rgba(109, 64, 255, .12);
}

.hero-text {
    color: #c6bdd7;
}

.trust-row span::before {
    background: linear-gradient(180deg, #b279ff, #5f76ff);
    box-shadow: 0 0 16px rgba(125,78,255,.72);
}

.orbital-stage::before {
    background:
        radial-gradient(circle at 33% 26%, rgba(255,255,255,.12), transparent 17%),
        radial-gradient(circle at 48% 47%, rgba(130,63,255,.56), rgba(78,72,255,.16) 39%, transparent 71%);
    box-shadow:
        0 0 110px rgba(111,59,255,.30),
        0 0 190px rgba(62,82,255,.12);
}

.orbit {
    border-color: rgba(161,130,255,.18);
}

.orbit::after {
    background: #d8c4ff;
    box-shadow:
        0 0 18px #985cff,
        0 0 34px rgba(74,90,255,.7);
}

.orbit-three {
    width: 61%;
    aspect-ratio: 1;
    transform: rotateX(68deg) rotateZ(44deg);
    opacity: .65;
    animation: orbitSpin 22s linear infinite reverse;
}

.core-card {
    border-color: rgba(190,158,255,.22);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.1),
        0 35px 90px rgba(0,0,0,.4),
        0 0 65px rgba(96,55,255,.13);
}

.core-meter span:first-child {
    background: linear-gradient(90deg, #a95fff, #576dff);
    box-shadow: 0 0 22px rgba(119,77,255,.66);
}

.floating-chip {
    border-color: rgba(184,153,255,.2);
    color: #eee8ff;
    background:
        linear-gradient(140deg, rgba(147, 92, 255, .10), rgba(66, 75, 180, .04)),
        rgba(13, 8, 31, .68);
}

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

.feature-card {
    min-height: 430px;
    padding: 30px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    top: -80px;
    right: -70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(130,63,255,.19), transparent 68%);
    pointer-events: none;
}

.feature-number {
    color: #8b7ca8;
    font-size: .72rem;
    font-weight: 740;
    letter-spacing: .15em;
}

.feature-card h3 {
    margin-top: 76px;
    margin-bottom: 16px;
    font-size: clamp(1.75rem, 2.3vw, 2.5rem);
    line-height: 1.12;
    letter-spacing: -0.012em;
}

.feature-card p {
    margin-bottom: 28px;
}

.feature-tags {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tags span {
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(170,138,255,.13);
    background: rgba(118,68,255,.055);
    color: #bdb1d6;
    font-size: .72rem;
}

.variant-bridge {
    margin-top: 20px;
    padding: 26px 30px;
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.variant-bridge .eyebrow {
    margin-bottom: 10px;
}

.variant-bridge h3 {
    margin: 0;
}

.variant-bridge p {
    margin: 0;
}

.project-art-one {
    background:
        radial-gradient(circle at 30% 18%, rgba(135,73,255,.67), transparent 30%),
        radial-gradient(circle at 78% 78%, rgba(63,92,255,.22), transparent 34%),
        linear-gradient(155deg, #1c1035, #080510 62%);
}

.project-art-two {
    background:
        radial-gradient(circle at 80% 10%, rgba(102,68,255,.55), transparent 30%),
        radial-gradient(circle at 20% 85%, rgba(139,52,255,.19), transparent 30%),
        linear-gradient(160deg, #16102f, #07050f 64%);
}

.project-art-three {
    background:
        radial-gradient(circle at 52% 28%, rgba(87,95,255,.44), transparent 34%),
        radial-gradient(circle at 70% 80%, rgba(143,52,255,.2), transparent 30%),
        linear-gradient(160deg, #10132d, #07050f 65%);
}

.project-search span,
.mock-tag,
.knowledge-card > span {
    color: #aa8cff;
}

.price-featured {
    border-color: rgba(164,126,255,.42);
    background:
        radial-gradient(circle at 50% 0%, rgba(132,66,255,.25), transparent 33%),
        radial-gradient(circle at 95% 100%, rgba(68,80,255,.1), transparent 27%),
        linear-gradient(135deg, rgba(149,93,255,.10), rgba(255,255,255,.025)),
        rgba(19,12,42,.76);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.1),
        0 30px 95px rgba(0,0,0,.4),
        0 0 70px rgba(111,57,255,.1);
}

.popular-badge {
    background: linear-gradient(120deg, rgba(142,63,255,.22), rgba(73,91,255,.17));
    color: #e8ddff;
    border-color: rgba(175,143,255,.28);
}

.form-progress span {
    background: linear-gradient(90deg, #943fff, #644cff 55%, #476dff);
}

.choice input:checked + span {
    border-color: rgba(164,126,255,.55);
    background: linear-gradient(135deg, rgba(129,58,255,.17), rgba(69,81,255,.08));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 26px rgba(108,64,255,.08);
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(156,119,255,.62);
    box-shadow: 0 0 0 3px rgba(122,68,255,.07);
}

html.reduce-transparency {
    --panel: #100a25;
    --panel-strong: #100a25;
}

html.reduce-transparency .mode-switch {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #0d0820;
}

[data-service="sichtbarkeit"] .ambient-one {
    background: #5c35ff;
}

[data-service="sichtbarkeit"] .ambient-two {
    background: #3359ff;
}

[data-service="ki-sichtbarkeit"] .ambient-one {
    background: #9233ff;
}

[data-service="ki-sichtbarkeit"] .ambient-two {
    background: #4b4dff;
}

@media (max-width: 980px) {
    .hero-mode-row {
        top: 108px;
    }

    .mode-control-label {
        display: none;
    }

    .mode-switch {
        width: min(620px, calc(100vw - 48px));
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

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

    .feature-card h3 {
        margin-top: 38px;
    }

    .variant-bridge {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 680px) {
    .hero {
        padding-top: 182px;
    }

    .hero-mode-row {
        top: 104px;
        width: 100%;
        justify-content: center;
    }

    .mode-switch {
        width: calc(100vw - 28px);
        height: 54px;
        padding: 4px;
    }

    .mode-switch-glider {
        top: 4px;
        left: 4px;
        width: calc((100% - 8px) / 3);
        height: 44px;
    }

    .mode-switch a {
        gap: 0;
        padding: 0 6px;
        font-size: .69rem;
    }

    .mode-dot {
        display: none;
    }

    .hero-grid {
        padding-top: 6px;
    }

    .feature-card {
        min-height: 270px;
        padding: 24px;
    }

    .variant-bridge {
        padding: 22px;
    }
}

/* =========================================================
   V1.3 — docked switch, app-like page switching, mechanical nav
   ========================================================= */

body {
    --nav-wide: min(calc(100% - 40px), 1720px);
    --nav-docked: min(calc(100% - 32px), 1220px);
}

/* Navigation starts visually integrated with the page and materializes on scroll. */
.site-header {
    top: 0;
    transition: top .5s var(--ease);
}

.nav-shell {
    width: var(--nav-wide);
    min-height: 88px;
    padding: 14px 10px;
    border-color: transparent !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    gap: 34px;
    transition:
        width .52s var(--ease),
        min-height .52s var(--ease),
        padding .52s var(--ease),
        transform .52s var(--ease),
        background .52s var(--ease),
        border-color .52s var(--ease),
        border-radius .52s var(--ease),
        box-shadow .52s var(--ease),
        backdrop-filter .52s var(--ease);
}

.site-header.scrolled {
    top: 12px;
}

.site-header.scrolled .nav-shell {
    width: var(--nav-docked);
    min-height: 64px;
    padding: 6px 10px 6px 12px;
    transform: none;
    border: 1px solid rgba(183, 151, 255, .19) !important;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(146, 95, 255, .07), rgba(63, 73, 166, .025)),
        rgba(12, 8, 27, .82) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.065),
        0 18px 58px rgba(0,0,0,.33),
        0 0 34px rgba(98,55,255,.07) !important;
    backdrop-filter: blur(24px) saturate(145%);
    -webkit-backdrop-filter: blur(24px) saturate(145%);
}

.brand-mark {
    width: 46px;
    height: 46px;
    transition: width .45s var(--ease), height .45s var(--ease), border-radius .45s var(--ease), transform .45s var(--ease);
}

.site-header.scrolled .brand-mark {
    width: 39px;
    height: 39px;
    border-radius: 12px;
    transform: rotate(-2deg);
}

.brand-copy strong,
.brand-copy span,
.main-nav a,
.nav-cta {
    transition:
        font-size .45s var(--ease),
        letter-spacing .45s var(--ease),
        color .22s ease,
        transform .22s var(--ease),
        opacity .22s ease;
}

.main-nav {
    gap: 46px;
    transition: gap .45s var(--ease);
}

.site-header.scrolled .main-nav {
    gap: 27px;
}

.main-nav a {
    position: relative;
    padding: 8px 2px;
    font-size: .93rem;
    letter-spacing: .005em;
}

.site-header.scrolled .main-nav a {
    font-size: .83rem;
}

.main-nav a::before,
.main-nav a::after {
    content: "";
    position: absolute;
    bottom: 2px;
    height: 1px;
    width: 0;
    background: linear-gradient(90deg, #9b59ff, #6076ff);
    box-shadow: 0 0 12px rgba(116,72,255,.58);
    transition: width .24s var(--ease);
}

.main-nav a::before {
    left: 50%;
}

.main-nav a::after {
    right: 50%;
}

.main-nav a:hover::before,
.main-nav a:hover::after,
.main-nav a:focus-visible::before,
.main-nav a:focus-visible::after {
    width: 50%;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    transform: translateY(-1px);
}

.site-header:not(.scrolled) .nav-cta {
    min-height: 50px;
    padding-inline: 22px;
}

.site-header.scrolled .nav-cta {
    min-height: 42px;
    padding-inline: 16px;
    font-size: .82rem;
}

/* Exact center, fixed below the nav. It remains mounted during page changes. */
.mode-dock {
    position: fixed;
    z-index: 990;
    top: 98px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100vw - 28px);
    transition: top .52s var(--ease), transform .52s var(--ease), opacity .3s ease;
}

.site-header.scrolled + .mode-dock {
    top: 84px;
}

.mode-switch {
    width: 560px;
    max-width: calc(100vw - 28px);
    transition: height .45s var(--ease), transform .45s var(--ease), box-shadow .3s ease;
}

.site-header.scrolled + .mode-dock .mode-switch {
    transform: scale(.96);
    box-shadow:
        inset 0 1px 4px rgba(0,0,0,.58),
        inset 0 1px 0 rgba(255,255,255,.055),
        0 12px 36px rgba(0,0,0,.3),
        0 0 28px rgba(105,61,255,.07);
}

.mode-switch a {
    user-select: none;
}

.mode-switch a:not(.active):active {
    transform: scale(.97);
}

.mode-switch.is-loading {
    cursor: progress;
}

.mode-switch.is-loading .mode-switch-glider::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: inherit;
    background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.17) 47%, transparent 68%);
    transform: translateX(-120%);
    animation: switchScan .7s ease-in-out infinite;
}

@keyframes switchScan {
    to { transform: translateX(120%); }
}

/* The fixed controls need real breathing room in the hero. */
.hero {
    padding-top: 188px;
}

/* Less "generic AI landing page": slightly more controlled headline scale. */
.hero h1 {
    max-width: 980px;
    font-size: clamp(3.35rem, 7.15vw, 7.7rem);
    line-height: .92;
}

/* Larger atom, smaller core, more visible orbits. */
.hero-visual {
    min-height: 680px;
}

.orbital-stage {
    width: min(100%, 690px);
}

.orbital-stage::before {
    width: 46%;
    opacity: .92;
}

.orbit-one {
    width: 88%;
}

.orbit-two {
    width: 114%;
}

.orbit-three {
    width: 70%;
}

.core-card {
    width: 39%;
    min-width: 220px;
    aspect-ratio: 1 / 1.08;
}

.core-card strong {
    font-size: clamp(2rem, 4vw, 3.7rem);
}

/* These are signal segments now, not faux inactive tabs. */
.core-meter {
    grid-template-columns: 1.35fr 1fr .72fr;
}

.core-meter span {
    background: linear-gradient(90deg, rgba(165,103,255,.78), rgba(83,103,255,.72));
    box-shadow: 0 0 14px rgba(107,72,255,.26);
    opacity: .72;
    animation: signalPulse 3.4s ease-in-out infinite;
}

.core-meter span:nth-child(2) {
    animation-delay: .35s;
    opacity: .56;
}

.core-meter span:nth-child(3) {
    animation-delay: .7s;
    opacity: .4;
}

@keyframes signalPulse {
    0%,100% { filter: brightness(.88); transform: scaleX(.98); }
    50% { filter: brightness(1.25); transform: scaleX(1); }
}

/* App-like content replacement. Switch/nav never leave the DOM. */
#pageContent {
    transition: opacity .18s ease, transform .18s var(--ease), filter .18s ease;
}

#pageContent.is-switching-out {
    opacity: .42;
    transform: translateY(5px);
    filter: blur(1px);
}

#pageContent.is-switching-in {
    animation: pageContentIn .28s var(--ease) both;
}

@keyframes pageContentIn {
    from { opacity: .58; transform: translateY(4px); }
    to { opacity: 1; transform: none; }
}

/* More literal / readable metric labels. */
.metric-value {
    font-size: clamp(2.15rem, 4.2vw, 4.2rem);
}

@media (max-width: 980px) {
    .nav-shell {
        width: min(calc(100% - 28px), 920px);
        min-height: 76px;
        padding-inline: 8px;
    }

    .site-header.scrolled .nav-shell {
        width: min(calc(100% - 24px), 760px);
    }

    .mode-dock {
        top: 90px;
    }

    .site-header.scrolled + .mode-dock {
        top: 82px;
    }

    .hero {
        padding-top: 176px;
    }

    .hero-visual {
        min-height: 560px;
    }

    .core-card {
        width: 42%;
        min-width: 200px;
    }
}

@media (max-width: 680px) {
    .site-header {
        top: 6px;
    }

    .nav-shell {
        min-height: 62px;
        width: calc(100% - 20px);
        border-radius: 18px;
        padding: 7px 8px;
    }

    .site-header:not(.scrolled) .nav-shell {
        background: rgba(8,5,20,.28) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .site-header.scrolled {
        top: 7px;
    }

    .site-header.scrolled .nav-shell {
        width: calc(100% - 20px);
        min-height: 58px;
    }

    .mode-dock,
    .site-header.scrolled + .mode-dock {
        top: 76px;
    }

    .mode-switch,
    .site-header.scrolled + .mode-dock .mode-switch {
        width: calc(100vw - 24px);
        transform: none;
    }

    .hero {
        padding-top: 158px;
    }

    .hero h1 {
        font-size: clamp(3rem, 17vw, 4.8rem);
    }

    .hero-visual {
        min-height: 440px;
    }

    .orbital-stage {
        width: 104%;
    }

    .core-card {
        width: 48%;
        min-width: 0;
    }

    .floating-chip {
        font-size: .7rem;
    }
}


/* =========================================================
   V1.4 — logo integration + slimmer switch + anti-slop pass
   ========================================================= */

.brand {
    gap: 14px;
}

.brand-logo {
    width: 110px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.brand-logo img {
    width: 100%;
    height: auto;
    display: block;
    filter:
        drop-shadow(0 1px 0 rgba(255,255,255,.35))
        drop-shadow(0 6px 18px rgba(0,0,0,.25));
}

.brand-copy strong {
    letter-spacing: .18em;
}

.brand-copy span {
    letter-spacing: .18em;
}

.site-header.scrolled .brand-logo {
    transform: translateY(-1px) scale(.985);
}

.mode-control {
    gap: 10px;
}

.mode-control-label {
    display: none;
}

.mode-switch {
    width: 394px;
    height: 46px;
    padding: 4px;
    border-color: rgba(177, 146, 255, .16);
    background:
        linear-gradient(180deg, rgba(255,255,255,.032), rgba(255,255,255,.012)),
        rgba(10, 8, 24, .84);
    box-shadow:
        inset 0 1px 3px rgba(0,0,0,.52),
        inset 0 1px 0 rgba(255,255,255,.04),
        0 10px 28px rgba(0,0,0,.22);
}

.mode-switch-glider {
    top: 4px;
    left: 4px;
    width: calc((100% - 8px) / 3);
    height: 38px;
    background:
        radial-gradient(circle at 25% 18%, rgba(255,255,255,.18), transparent 24%),
        linear-gradient(125deg, #8c3cff 0%, #7343ff 48%, #4d67ff 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.22),
        inset 0 -7px 15px rgba(34,21,92,.14),
        0 4px 14px rgba(75, 38, 166, .34),
        0 0 24px rgba(112, 65, 255, .15);
}

.mode-switch a {
    font-size: .73rem;
    letter-spacing: 0;
}

.mode-dot {
    width: 6px;
    height: 6px;
}

.hero-mode-row {
    top: 110px;
    justify-content: center;
}

.hero-grid {
    padding-top: 44px;
}

.hero h1 span {
    background: linear-gradient(96deg, #f0ebff 0%, #c8b3ff 26%, #9f73ff 58%, #8fa2ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.hero-text {
    max-width: 680px;
    color: #c2b9d5;
}

.orbital-stage {
    width: min(100%, 640px);
}

.orbital-stage::before {
    width: 60%;
    background:
        radial-gradient(circle at 33% 26%, rgba(255,255,255,.10), transparent 17%),
        radial-gradient(circle at 48% 47%, rgba(130,63,255,.44), rgba(78,72,255,.12) 39%, transparent 71%);
    box-shadow:
        0 0 88px rgba(111,59,255,.24),
        0 0 160px rgba(62,82,255,.09);
}

.orbit-one {
    width: 88%;
}

.orbit-two {
    width: 112%;
}

.orbit-three {
    width: 70%;
}

.core-card {
    width: 42%;
    aspect-ratio: 1 / 1.06;
    background:
        linear-gradient(145deg, rgba(137, 104, 209, .06), rgba(37, 43, 97, .018)),
        rgba(10, 9, 24, .44);
}

.core-card strong {
    font-size: clamp(2.4rem, 4.6vw, 4.2rem);
}

.floating-chip {
    font-size: .72rem;
    padding: 8px 12px;
    background:
        linear-gradient(140deg, rgba(111, 76, 192, .08), rgba(53, 61, 126, .03)),
        rgba(11, 8, 28, .62);
    border-color: rgba(184,153,255,.14);
    box-shadow: 0 10px 28px rgba(0,0,0,.18);
}

.chip-one {
    top: 13%;
    left: 0;
}

.chip-two {
    top: 24%;
    right: -1%;
}

.chip-three {
    bottom: 12%;
    left: 10%;
}

.core-meter {
    grid-template-columns: 1.1fr .8fr .5fr;
}

.core-meter span {
    height: 3px;
}

.glass {
    background:
        linear-gradient(145deg, rgba(164, 118, 255, .085), rgba(70, 55, 145, .018) 48%, rgba(35, 48, 120, .018)),
        rgba(19, 12, 42, .58);
    border-color: rgba(180, 149, 255, .12);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.055),
        inset 0 -1px 0 rgba(94,69,180,.05),
        0 20px 64px rgba(0,0,0,.32);
}

.feature-tags span,
.tech-track span,
.service-benefits span {
    border-radius: 11px;
}

@media (max-width: 980px) {
    .brand-logo {
        width: 92px;
        height: 30px;
    }

    .mode-switch {
        width: min(394px, calc(100vw - 40px));
    }

    .orbital-stage {
        width: min(100%, 560px);
    }

    .core-card {
        width: 46%;
    }
}

@media (max-width: 680px) {
    .brand-copy span {
        display: none;
    }

    .brand-logo {
        width: 78px;
        height: 26px;
    }

    .mode-switch {
        width: calc(100vw - 30px);
        height: 44px;
        padding: 4px;
    }

    .mode-switch-glider {
        height: 36px;
    }

    .mode-switch a {
        font-size: .66rem;
        padding: 0 4px;
    }

    .hero {
        padding-top: 174px;
    }

    .hero-grid {
        padding-top: 2px;
    }

    .orbital-stage {
        width: 100%;
    }

    .core-card {
        width: 51%;
    }
}

/* =========================================================
   V1.5 — viewport-fit hero + animated mobile navigation
   ========================================================= */

/* The first hero should read as one intentional composition at standard zoom. */
.hero {
    min-height: 100svh;
}

@media (min-width: 981px) {
    .hero {
        height: 100svh;
        min-height: 680px;
        padding-top: 148px;
        padding-bottom: 24px;
    }

    .hero-grid {
        height: calc(100svh - 172px);
        min-height: 508px;
        padding-top: 12px;
        align-items: center;
    }

    .hero-copy {
        align-self: center;
    }

    .hero h1 {
        max-width: 900px;
        margin-bottom: clamp(16px, 2.2vh, 24px);
        font-size: clamp(3.5rem, min(6.1vw, 10.2vh), 7rem);
        line-height: .88;
    }

    .hero .eyebrow {
        margin-bottom: clamp(10px, 1.6vh, 16px);
    }

    .hero-text {
        margin-bottom: clamp(18px, 2.8vh, 30px);
        font-size: clamp(1rem, min(1.25vw, 2.1vh), 1.2rem);
        line-height: 1.46;
    }

    .hero-actions .button {
        min-height: clamp(46px, 6.3vh, 52px);
    }

    .trust-row {
        margin-top: clamp(20px, 3vh, 32px);
        gap: 14px 22px;
        font-size: .82rem;
    }

    .hero-visual {
        min-height: 0;
        height: min(68vh, 620px);
    }

    .orbital-stage {
        width: min(100%, min(620px, 66vh));
    }

    .scroll-indicator {
        bottom: 14px;
        transform: scale(.88);
    }
}

/* Short laptop screens get a deliberately denser hero, rather than clipping. */
@media (min-width: 981px) and (max-height: 820px) {
    .hero {
        padding-top: 136px;
    }

    .hero-grid {
        height: calc(100svh - 154px);
    }

    .hero h1 {
        font-size: clamp(3.3rem, min(5.65vw, 9.5vh), 6.25rem);
        line-height: .87;
    }

    .hero-text {
        max-width: 640px;
        margin-bottom: 18px;
    }

    .trust-row {
        margin-top: 20px;
    }

    .hero-visual {
        height: min(64vh, 540px);
    }
}

/* Tablet / mobile hero: content first, decorative atom no longer increases fold height. */
@media (max-width: 980px) {
    .hero {
        min-height: 100svh;
        padding-top: 154px;
        padding-bottom: 34px;
        display: flex;
        align-items: center;
    }

    .hero-grid {
        position: relative;
        min-height: 0;
        padding-top: 0;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-copy {
        width: min(100%, 760px);
        z-index: 3;
    }

    .hero h1 {
        max-width: 820px;
        margin-bottom: 18px;
        font-size: clamp(3rem, 10.5vw, 5.2rem);
        line-height: .9;
    }

    .hero-text {
        max-width: 650px;
        margin-bottom: 24px;
        font-size: 1rem;
    }

    .trust-row {
        margin-top: 24px;
    }

    .hero-visual {
        position: absolute;
        z-index: 1;
        right: -21%;
        bottom: -15%;
        width: 58%;
        min-height: 0;
        height: auto;
        opacity: .22;
        pointer-events: none;
        filter: saturate(.9);
    }

    .orbital-stage {
        width: 100%;
    }

    .floating-chip {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 680px) {
    .hero {
        min-height: 100svh;
        padding-top: 136px;
        padding-bottom: 24px;
        overflow: hidden;
    }

    .hero-grid {
        width: min(calc(100% - 28px), var(--container));
    }

    .hero .eyebrow {
        margin-bottom: 13px;
        font-size: .68rem;
        line-height: 1.35;
        letter-spacing: .155em;
    }

    .hero h1 {
        max-width: 100%;
        margin-bottom: 20px;
        font-size: clamp(2.75rem, 12.3vw, 4rem);
        line-height: .9;
        letter-spacing: -.045em;
        overflow-wrap: normal;
        word-break: normal;
    }

    .hero-text {
        max-width: 100%;
        margin-bottom: 22px;
        font-size: .98rem;
        line-height: 1.55;
    }

    .hero-actions {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .hero-actions .button {
        min-width: 0;
        min-height: 48px;
        padding-inline: 16px;
        flex: 1 1 0;
        font-size: .88rem;
        white-space: nowrap;
    }

    .trust-row {
        margin-top: 19px;
        gap: 7px 16px;
        font-size: .75rem;
    }

    .hero-visual {
        right: -36%;
        bottom: -4%;
        width: 78%;
        opacity: .16;
    }

    /* Burger: no frame, three free bars morph into an X. */
    .mobile-nav-toggle {
        position: relative;
        display: block;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-nav-toggle > span:not(.sr-only) {
        position: absolute;
        left: 10px;
        width: 22px;
        height: 1.5px;
        border-radius: 999px;
        background: #f5efff;
        transform-origin: center;
        transition:
            top .34s var(--ease),
            transform .34s var(--ease),
            opacity .22s ease,
            width .28s var(--ease),
            background .25s ease;
    }

    .mobile-nav-toggle > span:nth-child(1) {
        top: 13px;
    }

    .mobile-nav-toggle > span:nth-child(2) {
        top: 20px;
        width: 17px;
        left: 15px;
    }

    .mobile-nav-toggle > span:nth-child(3) {
        top: 27px;
    }

    .mobile-nav-toggle:hover > span:not(.sr-only),
    .mobile-nav-toggle:focus-visible > span:not(.sr-only) {
        background: #c9a7ff;
    }

    .mobile-nav-toggle[aria-expanded="true"] > span:nth-child(1) {
        top: 20px;
        transform: rotate(45deg);
        width: 24px;
        left: 9px;
    }

    .mobile-nav-toggle[aria-expanded="true"] > span:nth-child(2) {
        opacity: 0;
        transform: scaleX(.15);
    }

    .mobile-nav-toggle[aria-expanded="true"] > span:nth-child(3) {
        top: 20px;
        transform: rotate(-45deg);
        width: 24px;
        left: 9px;
    }

    /* The mobile navigation stays in the DOM so it can actually transition. */
    .main-nav {
        position: fixed;
        z-index: 980;
        top: 76px;
        left: 10px;
        right: 10px;
        display: flex;
        flex-direction: column;
        gap: 2px;
        padding: 10px;
        border: 1px solid rgba(178, 147, 255, .14);
        border-radius: 18px;
        background:
            linear-gradient(145deg, rgba(120, 73, 220, .075), rgba(49, 56, 126, .025)),
            rgba(10, 7, 25, .92);
        box-shadow: 0 24px 70px rgba(0,0,0,.42);
        backdrop-filter: blur(24px) saturate(145%);
        -webkit-backdrop-filter: blur(24px) saturate(145%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-12px) scale(.985);
        transform-origin: top center;
        clip-path: inset(0 0 100% 0 round 18px);
        transition:
            opacity .28s ease,
            transform .38s var(--ease),
            clip-path .42s var(--ease),
            visibility 0s linear .42s;
    }

    .site-header.scrolled .main-nav {
        top: 72px;
    }

    .main-nav.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
        clip-path: inset(0 0 0 0 round 18px);
        transition:
            opacity .28s ease,
            transform .38s var(--ease),
            clip-path .42s var(--ease),
            visibility 0s linear 0s;
    }

    .main-nav a {
        position: relative;
        padding: 14px 15px;
        border-radius: 12px;
        color: #e3daf4;
        font-size: .94rem;
        opacity: 0;
        transform: translateY(-6px);
        transition:
            opacity .25s ease,
            transform .32s var(--ease),
            color .2s ease,
            background .2s ease;
    }

    .main-nav.open a {
        opacity: 1;
        transform: translateY(0);
    }

    .main-nav.open a:nth-child(1) { transition-delay: .07s; }
    .main-nav.open a:nth-child(2) { transition-delay: .10s; }
    .main-nav.open a:nth-child(3) { transition-delay: .13s; }
    .main-nav.open a:nth-child(4) { transition-delay: .16s; }
    .main-nav.open a:nth-child(5) { transition-delay: .19s; }

    .main-nav a:hover,
    .main-nav a:focus-visible {
        background: rgba(139, 61, 255, .10);
        color: #fff;
        transform: translateX(3px);
    }

    .main-nav a::before,
    .main-nav a::after {
        display: none;
    }

    html.mobile-nav-open,
    html.mobile-nav-open body {
        overflow: hidden;
    }

    .mode-dock,
    .site-header.scrolled + .mode-dock {
        top: 74px;
    }

    .mode-switch,
    .site-header.scrolled + .mode-dock .mode-switch {
        width: min(394px, calc(100vw - 28px));
        height: 42px;
    }

    .mode-switch-glider {
        height: 34px;
    }

    .mode-switch a {
        font-size: .64rem;
    }
}

@media (max-width: 390px) {
    .hero {
        padding-top: 130px;
    }

    .hero h1 {
        font-size: clamp(2.45rem, 11.8vw, 3rem);
    }

    .hero-text {
        font-size: .92rem;
    }

    .hero-actions .button {
        padding-inline: 11px;
        font-size: .8rem;
    }

    .trust-row {
        display: none;
    }
}

@media (max-width: 680px) and (max-height: 760px) {
    .hero {
        padding-top: 128px;
        padding-bottom: 18px;
    }

    .hero h1 {
        margin-bottom: 15px;
        font-size: clamp(2.4rem, 10.8vw, 3.35rem);
    }

    .hero-text {
        margin-bottom: 17px;
        font-size: .9rem;
        line-height: 1.45;
    }

    .hero-actions .button {
        min-height: 44px;
        font-size: .8rem;
    }

    .trust-row {
        display: none;
    }
}


/* =========================================================
   V1.6 — mobile hero visual: no content overlap
   ========================================================= */

@media (max-width: 680px) {
    .hero-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        align-items: start;
    }

    .hero-copy {
        position: relative;
        z-index: 3;
        width: 100%;
    }

    .hero-visual {
        position: relative;
        z-index: 1;
        right: auto;
        bottom: auto;
        width: 100%;
        height: 118px;
        min-height: 118px;
        margin-top: 8px;
        display: flex;
        align-items: flex-start;
        justify-content: flex-end;
        overflow: hidden;
        opacity: .52;
        pointer-events: none;
        filter: saturate(.9);
    }

    .hero-visual .orbital-stage {
        position: relative;
        flex: 0 0 190px;
        width: 190px;
        height: 190px;
        margin-right: -28px;
        margin-top: -18px;
        transform: scale(.92);
        transform-origin: top right;
    }

    .hero-visual .core-card {
        width: 43%;
    }

    .hero-visual .core-card strong {
        font-size: 1.45rem;
        line-height: .94;
    }

    .hero-visual .core-kicker {
        font-size: .42rem;
    }

    .hero-visual .floating-chip {
        display: none;
    }
}

@media (max-width: 390px) {
    .hero-visual {
        height: 104px;
        min-height: 104px;
        margin-top: 4px;
    }

    .hero-visual .orbital-stage {
        flex-basis: 168px;
        width: 168px;
        height: 168px;
        margin-right: -24px;
        margin-top: -18px;
    }

    .hero-visual .core-card strong {
        font-size: 1.25rem;
    }
}

@media (max-width: 680px) and (max-height: 700px) {
    .hero-visual {
        height: 72px;
        min-height: 72px;
        margin-top: 2px;
        opacity: .4;
    }

    .hero-visual .orbital-stage {
        flex-basis: 138px;
        width: 138px;
        height: 138px;
        margin-right: -20px;
        margin-top: -24px;
    }
}


/* =========================================================
   V1.7 — HARD mobile hero isolation
   Explicitly prevents any old absolute-position rules from
   placing the visual over copy / CTAs.
   ========================================================= */

@media (max-width: 680px) {
    .hero-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: auto 132px !important;
        gap: 6px !important;
        height: auto !important;
        min-height: 0 !important;
        align-items: start !important;
    }

    .hero-copy {
        grid-column: 1 !important;
        grid-row: 1 !important;
        position: relative !important;
        z-index: 3 !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .hero-visual {
        grid-column: 1 !important;
        grid-row: 2 !important;
        position: static !important;
        inset: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;

        width: 100% !important;
        max-width: none !important;
        height: 132px !important;
        min-height: 132px !important;
        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;
        align-items: flex-start !important;
        justify-content: flex-end !important;

        overflow: hidden !important;
        opacity: .5 !important;
        pointer-events: none !important;
        filter: saturate(.88) !important;
    }

    .hero-visual .orbital-stage {
        position: relative !important;
        inset: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;

        flex: 0 0 190px !important;
        width: 190px !important;
        height: 190px !important;
        min-width: 190px !important;
        min-height: 190px !important;

        margin: -18px -26px 0 0 !important;
        transform: none !important;
        transform-origin: top right !important;
    }

    .hero-visual .core-card {
        width: 42% !important;
    }

    .hero-visual .core-card strong {
        font-size: 1.42rem !important;
        line-height: .94 !important;
    }

    .hero-visual .core-kicker {
        font-size: .4rem !important;
    }

    .hero-visual .floating-chip {
        display: none !important;
    }

    .scroll-indicator {
        display: none !important;
    }
}

@media (max-width: 390px) {
    .hero-grid {
        grid-template-rows: auto 112px !important;
    }

    .hero-visual {
        height: 112px !important;
        min-height: 112px !important;
    }

    .hero-visual .orbital-stage {
        flex-basis: 166px !important;
        width: 166px !important;
        height: 166px !important;
        min-width: 166px !important;
        min-height: 166px !important;
        margin: -18px -22px 0 0 !important;
    }

    .hero-visual .core-card strong {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 680px) and (max-height: 700px) {
    .hero-grid {
        grid-template-rows: auto 88px !important;
    }

    .hero-visual {
        height: 88px !important;
        min-height: 88px !important;
        opacity: .38 !important;
    }

    .hero-visual .orbital-stage {
        flex-basis: 138px !important;
        width: 138px !important;
        height: 138px !important;
        min-width: 138px !important;
        min-height: 138px !important;
        margin: -24px -18px 0 0 !important;
    }
}


/* =========================================================
   V1.8 — mobile atom centered + balanced hero composition
   ========================================================= */

@media (max-width: 680px) {
    .hero {
        min-height: auto !important;
        padding-bottom: 34px !important;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;
        gap: 18px !important;
    }

    .hero-copy {
        grid-row: 1 !important;
    }

    .hero-actions {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .hero-actions .button {
        width: 100% !important;
        min-width: 0 !important;
        padding-inline: 14px !important;
        white-space: nowrap !important;
    }

    .trust-row {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px 16px !important;
        margin-top: 20px !important;
        width: 100% !important;
    }

    .trust-row span {
        min-width: 0 !important;
        padding-left: 13px !important;
        font-size: .76rem !important;
        line-height: 1.35 !important;
    }

    .trust-row span:last-child {
        grid-column: 1 / -1 !important;
        justify-self: start !important;
    }

    .hero-visual {
        grid-column: 1 !important;
        grid-row: 2 !important;

        position: static !important;
        inset: auto !important;
        transform: none !important;

        width: 100% !important;
        max-width: none !important;
        height: 196px !important;
        min-height: 196px !important;
        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        overflow: visible !important;
        opacity: .62 !important;
        filter: saturate(.92) !important;
        pointer-events: none !important;
    }

    .hero-visual .orbital-stage {
        position: relative !important;
        inset: auto !important;

        flex: 0 0 224px !important;
        width: 224px !important;
        height: 224px !important;
        min-width: 224px !important;
        min-height: 224px !important;

        margin: 0 !important;
        transform: none !important;
        transform-origin: center !important;
    }

    .hero-visual .orbital-stage::before {
        width: 52% !important;
        opacity: .82 !important;
    }

    .hero-visual .orbit-one {
        width: 88% !important;
    }

    .hero-visual .orbit-two {
        width: 112% !important;
    }

    .hero-visual .orbit-three {
        width: 70% !important;
    }

    .hero-visual .core-card {
        width: 36% !important;
        padding: 13px !important;
        border-radius: 18px !important;
        opacity: .92 !important;
    }

    .hero-visual .core-card strong {
        font-size: 1.18rem !important;
        line-height: .93 !important;
        letter-spacing: -.045em !important;
    }

    .hero-visual .core-kicker {
        font-size: .34rem !important;
        letter-spacing: .12em !important;
    }

    .hero-visual .core-meter {
        gap: 3px !important;
    }

    .hero-visual .core-meter span {
        height: 2px !important;
    }

    .hero-visual .floating-chip {
        display: none !important;
    }
}

@media (max-width: 390px) {
    .hero-actions {
        gap: 8px !important;
    }

    .hero-actions .button {
        font-size: .78rem !important;
        padding-inline: 10px !important;
    }

    .hero-visual {
        height: 178px !important;
        min-height: 178px !important;
    }

    .hero-visual .orbital-stage {
        flex-basis: 202px !important;
        width: 202px !important;
        height: 202px !important;
        min-width: 202px !important;
        min-height: 202px !important;
    }

    .hero-visual .core-card {
        width: 35% !important;
        padding: 11px !important;
    }

    .hero-visual .core-card strong {
        font-size: 1.02rem !important;
    }

    .trust-row {
        grid-template-columns: 1fr !important;
    }

    .trust-row span:last-child {
        grid-column: auto !important;
    }
}

@media (max-width: 680px) and (max-height: 700px) {
    .hero-visual {
        height: 142px !important;
        min-height: 142px !important;
        opacity: .48 !important;
    }

    .hero-visual .orbital-stage {
        flex-basis: 170px !important;
        width: 170px !important;
        height: 170px !important;
        min-width: 170px !important;
        min-height: 170px !important;
    }

    .hero-visual .core-card strong {
        font-size: .88rem !important;
    }
}


/* =========================================================
   V1.9 — mobile vertical rhythm / use first-screen space better
   ========================================================= */

@media (max-width: 680px) {
    /*
     * Keep the same structure, but distribute the hero more deliberately.
     * The available first-screen height is used instead of bunching all content
     * immediately below the switch.
     */
    .hero {
        padding-top: 176px !important;
        padding-bottom: 24px !important;
    }

    .hero-grid {
        min-height: calc(100svh - 176px) !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: auto 1fr !important;
        gap: 0 !important;
        align-items: stretch !important;
    }

    .hero-copy {
        padding-top: 20px !important;
    }

    .hero-copy .eyebrow {
        margin-bottom: 14px !important;
    }

    .hero-copy h1 {
        margin-bottom: 22px !important;
    }

    .hero-text {
        margin-bottom: 24px !important;
    }

    .hero-actions {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .trust-row {
        margin-top: 24px !important;
    }

    .hero-visual {
        align-self: end !important;
        height: 214px !important;
        min-height: 214px !important;
        margin-top: 12px !important;
        padding-bottom: 4px !important;
    }

    .hero-visual .orbital-stage {
        flex-basis: 236px !important;
        width: 236px !important;
        height: 236px !important;
        min-width: 236px !important;
        min-height: 236px !important;
    }
}

@media (max-width: 390px) {
    .hero {
        padding-top: 170px !important;
        padding-bottom: 20px !important;
    }

    .hero-grid {
        min-height: calc(100svh - 170px) !important;
    }

    .hero-copy {
        padding-top: 16px !important;
    }

    .hero-copy h1 {
        margin-bottom: 20px !important;
    }

    .hero-text {
        margin-bottom: 22px !important;
    }

    .trust-row {
        margin-top: 20px !important;
    }

    .hero-visual {
        height: 194px !important;
        min-height: 194px !important;
        margin-top: 8px !important;
    }

    .hero-visual .orbital-stage {
        flex-basis: 214px !important;
        width: 214px !important;
        height: 214px !important;
        min-width: 214px !important;
        min-height: 214px !important;
    }
}

/* Short phones: keep the composition balanced without forcing scrolling. */
@media (max-width: 680px) and (max-height: 720px) {
    .hero {
        padding-top: 164px !important;
        padding-bottom: 16px !important;
    }

    .hero-grid {
        min-height: calc(100svh - 164px) !important;
    }

    .hero-copy {
        padding-top: 10px !important;
    }

    .hero-copy h1 {
        margin-bottom: 16px !important;
    }

    .hero-text {
        margin-bottom: 18px !important;
    }

    .trust-row {
        margin-top: 16px !important;
    }

    .hero-visual {
        height: 158px !important;
        min-height: 158px !important;
        margin-top: 4px !important;
    }

    .hero-visual .orbital-stage {
        flex-basis: 182px !important;
        width: 182px !important;
        height: 182px !important;
        min-width: 182px !important;
        min-height: 182px !important;
    }
}


/* =========================================================
   MADE Development V2.0
   Liquid material / settings dock / references
   ========================================================= */

.glass-filter-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Material foundation */
.glass {
    position: relative;
    isolation: isolate;
    overflow: clip;
    border-color: rgba(224, 210, 255, .16);
    background:
        linear-gradient(145deg, rgba(255,255,255,.095), rgba(151,105,255,.035) 42%, rgba(59,77,180,.028)),
        rgba(18, 10, 43, .38);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.16),
        inset 1px 0 0 rgba(255,255,255,.055),
        inset 0 -1px 0 rgba(54,34,112,.22),
        0 20px 64px rgba(0,0,0,.28);
}

.glass::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(120% 85% at 12% 0%, rgba(255,255,255,.16), transparent 35%),
        radial-gradient(95% 100% at 92% 96%, rgba(99,117,255,.10), transparent 42%),
        linear-gradient(110deg, rgba(255,255,255,.035), transparent 32% 68%, rgba(255,255,255,.025));
    mix-blend-mode: screen;
    opacity: .86;
}

/* Liquid: actual backdrop displacement where reference filters are supported */
html[data-glass-mode="liquid"] .glass,
html[data-glass-mode="liquid"] .button-secondary {
    -webkit-backdrop-filter: blur(10px) saturate(138%) brightness(1.04);
    backdrop-filter: blur(10px) saturate(138%) brightness(1.04);
}

html[data-glass-mode="liquid"].liquid-refraction-supported .glass,
html[data-glass-mode="liquid"].liquid-refraction-supported .button-secondary {
    backdrop-filter:
        url("#liquidGlassRefraction")
        blur(5px)
        saturate(142%)
        brightness(1.045)
        contrast(1.025);
}

/* Frosted */
html[data-glass-mode="frosted"] .glass,
html[data-glass-mode="frosted"] .button-secondary {
    background:
        linear-gradient(145deg, rgba(177,138,255,.085), rgba(66,55,135,.035)),
        rgba(18, 12, 40, .62);
    -webkit-backdrop-filter: blur(26px) saturate(128%);
    backdrop-filter: blur(26px) saturate(128%);
    border-color: rgba(207, 186, 255, .14);
}

/* Read mode */
html[data-glass-mode="read"] body {
    background: #090711;
}

html[data-glass-mode="read"] .glass,
html[data-glass-mode="read"] .button-secondary {
    background: #14101f !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border-color: rgba(255,255,255,.14) !important;
    box-shadow: 0 12px 40px rgba(0,0,0,.24) !important;
}

html[data-glass-mode="read"] .glass::after {
    display: none;
}

html[data-glass-mode="read"] .ambient,
html[data-glass-mode="read"] .hero-visual,
html[data-glass-mode="read"] .scroll-indicator {
    display: none !important;
}

html[data-glass-mode="read"] .hero-grid,
html[data-glass-mode="read"] .principles-grid,
html[data-glass-mode="read"] .contact-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 1050px;
}

html[data-glass-mode="read"] p,
html[data-glass-mode="read"] .hero-text {
    color: #d8d3e1;
}

html[data-glass-mode="read"] .hero h1 span {
    color: #ded7ef;
    background: none;
    -webkit-text-fill-color: initial;
}

html[data-glass-mode="read"] * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .12s !important;
}

/* Bigger branding */
.brand-logo {
    width: 138px !important;
    height: 44px !important;
    transition: width .34s var(--ease), height .34s var(--ease), transform .34s var(--ease);
}

.brand-copy strong {
    font-size: 1.02rem !important;
    letter-spacing: .19em !important;
}

.brand-copy span {
    margin-top: 6px !important;
    font-size: .59rem !important;
}

.site-header.scrolled .brand-logo {
    width: 118px !important;
    height: 38px !important;
}

.site-header.scrolled .brand-copy strong {
    font-size: .94rem !important;
}

.site-header.scrolled .brand-copy span {
    font-size: .54rem !important;
}

/* Navigation actions & integrated settings */
.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

.nav-settings-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #cfc5e2;
    cursor: pointer;
    border-radius: 14px;
    transition: background .24s ease, color .24s ease, transform .32s var(--ease);
}

.nav-settings-toggle:hover,
.nav-settings-toggle:focus-visible,
.site-header.settings-open .nav-settings-toggle {
    color: #fff;
    background: rgba(151, 99, 255, .09);
}

.site-header.settings-open .nav-settings-toggle {
    transform: rotate(90deg);
}

.settings-icon {
    position: relative;
    width: 20px;
    height: 18px;
    display: block;
}

.settings-icon i {
    position: absolute;
    left: 1px;
    right: 1px;
    height: 1.5px;
    border-radius: 999px;
    background: currentColor;
}

.settings-icon i:nth-child(1) { top: 3px; }
.settings-icon i:nth-child(2) { top: 8px; }
.settings-icon i:nth-child(3) { top: 13px; }

.settings-icon i::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 4px;
    height: 4px;
    margin-top: -2px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 2px rgba(11,7,26,.85);
}

.settings-icon i:nth-child(1)::after { left: 4px; }
.settings-icon i:nth-child(2)::after { right: 3px; }
.settings-icon i:nth-child(3)::after { left: 8px; }

.nav-settings-panel {
    position: absolute;
    z-index: 12;
    top: calc(100% + 8px);
    right: 0;
    width: 420px;
    padding: 18px;
    border-radius: 22px;
    transform-origin: top right;
    opacity: 0;
    transform: translateY(-9px) scale(.965);
    clip-path: inset(0 0 100% 0 round 22px);
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity .24s ease,
        transform .34s var(--ease),
        clip-path .38s var(--ease),
        visibility 0s linear .38s;
}

.site-header.settings-open .nav-settings-panel {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 0 round 22px);
    visibility: visible;
    pointer-events: auto;
    transition:
        opacity .24s ease,
        transform .34s var(--ease),
        clip-path .38s var(--ease),
        visibility 0s;
}

.nav-settings-panel::before {
    content: "";
    position: absolute;
    top: -9px;
    right: 98px;
    width: 54px;
    height: 12px;
    background: inherit;
    border-left: 1px solid rgba(224,210,255,.12);
    border-right: 1px solid rgba(224,210,255,.12);
    pointer-events: none;
}

.settings-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.settings-panel-head > div {
    display: grid;
    gap: 2px;
}

.settings-kicker {
    color: #8f83a8;
    font-size: .62rem;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.settings-panel-head strong {
    font-size: .94rem;
}

.settings-status {
    padding: 6px 9px;
    border: 1px solid rgba(177,145,255,.15);
    border-radius: 999px;
    color: #ae9ecb;
    background: rgba(126,73,255,.055);
    font-size: .66rem;
}

.glass-mode-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.glass-mode-selector button {
    min-width: 0;
    padding: 10px 8px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.025);
    color: #aea5c1;
    cursor: pointer;
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 8px;
    align-items: center;
    text-align: left;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.glass-mode-selector button:hover {
    transform: translateY(-1px);
    color: #fff;
    border-color: rgba(167,126,255,.22);
}

.glass-mode-selector button[aria-checked="true"] {
    color: #fff;
    border-color: rgba(165,125,255,.38);
    background: linear-gradient(135deg, rgba(140,64,255,.17), rgba(73,82,255,.08));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}

.glass-mode-selector button > span:last-child {
    display: grid;
    line-height: 1.05;
}

.glass-mode-selector small {
    margin-top: 4px;
    color: #817590;
    font-size: .61rem;
}

.mode-preview {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.15);
}

.liquid-preview {
    background:
        radial-gradient(circle at 25% 18%, rgba(255,255,255,.45), transparent 25%),
        linear-gradient(135deg, rgba(157,83,255,.6), rgba(72,94,255,.35));
    box-shadow: inset 0 0 9px rgba(255,255,255,.13), 0 0 12px rgba(119,72,255,.15);
}

.frosted-preview {
    background: rgba(169,139,220,.22);
    box-shadow: inset 0 0 14px rgba(255,255,255,.14);
    filter: saturate(.7);
}

.read-preview {
    background: #1b1724;
    box-shadow: inset 0 0 0 3px #e8e3ef;
}

.settings-divider {
    height: 1px;
    margin: 16px 0 8px;
    background: rgba(255,255,255,.07);
}

.settings-row {
    padding: 9px 3px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    cursor: pointer;
}

.settings-row > span {
    display: grid;
    gap: 2px;
}

.settings-row strong {
    font-size: .82rem;
}

.settings-row small {
    color: #83788f;
    font-size: .68rem;
}

.settings-row input {
    width: 34px;
    height: 18px;
    accent-color: #8750ff;
}

/* References CTA on home */
.work-more {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.work-more .button span {
    margin-left: 5px;
}

/* References page */
.references-page .site-header {
    position: fixed;
}

.references-hero {
    padding-top: 190px;
    padding-bottom: 60px;
}

.references-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 80px;
    align-items: end;
}

.references-hero h1 {
    max-width: 1000px;
    margin-bottom: 0;
    font-size: clamp(3.4rem, 7vw, 7.8rem);
}

.references-hero p {
    max-width: 580px;
    margin: 0 0 10px;
    font-size: 1.05rem;
}

.references-all {
    padding-top: 50px;
}

.references-grid {
    display: grid;
    gap: 24px;
}

.reference-full-card {
    min-height: 520px;
    padding: 18px;
    border-radius: 32px;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 42px;
    align-items: stretch;
}

.reference-visual {
    position: relative;
    min-height: 480px;
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 18%, rgba(135,73,255,.58), transparent 30%),
        radial-gradient(circle at 78% 78%, rgba(63,92,255,.2), transparent 34%),
        linear-gradient(155deg, #1c1035, #080510 62%);
}

.reference-visual-2 {
    background:
        radial-gradient(circle at 75% 15%, rgba(103,76,255,.5), transparent 31%),
        linear-gradient(155deg, #15102d, #080510 65%);
}

.reference-visual-3 {
    background:
        radial-gradient(circle at 52% 27%, rgba(79,98,255,.43), transparent 32%),
        linear-gradient(155deg, #11132d, #080510 65%);
}

.reference-screen {
    position: absolute;
    width: 68%;
    height: 62%;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%) rotate(-3deg);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 25px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.025)),
        rgba(8,11,19,.7);
    box-shadow: 0 34px 90px rgba(0,0,0,.38);
}

.reference-screen span {
    position: absolute;
    left: 9%;
    right: 9%;
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.09);
}

.reference-screen span:nth-child(1) { top: 18%; height: 28%; border-radius: 14px; }
.reference-screen span:nth-child(2) { top: 55%; right: 32%; }
.reference-screen span:nth-child(3) { top: 64%; right: 48%; }

.reference-copy {
    padding: 42px 36px 42px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reference-type {
    color: #9f8ec2;
    font-size: .73rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.reference-copy h2 {
    margin: 12px 0 18px;
    font-size: clamp(2.5rem, 5vw, 5.8rem);
}

.reference-copy p {
    max-width: 600px;
    font-size: 1.02rem;
}

.reference-copy .feature-tags {
    margin: 16px 0 18px;
}

/* high contrast can coexist with material mode */
html.high-contrast .glass {
    border-color: rgba(255,255,255,.3) !important;
}

@media (max-width: 900px) {
    .nav-shell {
        grid-template-columns: auto 1fr auto !important;
    }

    .nav-actions {
        gap: 2px;
    }

    .nav-settings-toggle {
        width: 40px;
        height: 40px;
    }

    .nav-settings-panel {
        width: min(420px, calc(100vw - 28px));
        right: 0;
    }

    .nav-settings-panel::before {
        right: 54px;
    }

    .brand-logo {
        width: 112px !important;
        height: 36px !important;
    }

    .brand-copy strong {
        font-size: .94rem !important;
    }

    .site-header.scrolled .brand-logo {
        width: 102px !important;
        height: 33px !important;
    }

    .references-hero-grid,
    .reference-full-card {
        grid-template-columns: 1fr;
    }

    .reference-full-card {
        gap: 12px;
    }

    .reference-copy {
        padding: 24px 12px 30px;
    }
}

@media (max-width: 680px) {
    .brand {
        gap: 10px;
    }

    .brand-logo {
        width: 96px !important;
        height: 31px !important;
    }

    .site-header.scrolled .brand-logo {
        width: 88px !important;
        height: 29px !important;
    }

    .brand-copy strong {
        font-size: .86rem !important;
        letter-spacing: .16em !important;
    }

    .nav-settings-toggle {
        width: 36px;
        height: 36px;
    }

    .settings-icon {
        transform: scale(.9);
    }

    .nav-settings-panel {
        top: calc(100% + 7px);
        left: 0;
        right: 0;
        width: 100%;
        padding: 15px;
        border-radius: 20px;
        transform-origin: top right;
    }

    .nav-settings-panel::before {
        right: 51px;
        width: 38px;
    }

    .glass-mode-selector {
        gap: 6px;
    }

    .glass-mode-selector button {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 6px;
        padding: 9px 5px;
    }

    .glass-mode-selector button > span:last-child {
        justify-items: center;
    }

    .settings-row {
        padding-block: 8px;
    }

    .references-hero {
        padding-top: 150px;
        padding-bottom: 34px;
    }

    .references-hero-grid {
        gap: 24px;
    }

    .references-hero h1 {
        font-size: clamp(3rem, 15vw, 4.8rem);
    }

    .references-all {
        padding-top: 30px;
    }

    .reference-full-card {
        min-height: auto;
        padding: 12px;
        border-radius: 24px;
    }

    .reference-visual {
        min-height: 310px;
        border-radius: 18px;
    }

    .reference-copy h2 {
        font-size: 2.4rem;
    }
}


/* =========================================================
   MADE Development V2.1
   Clear pre-dock nav + stronger optical Liquid Glass
   ========================================================= */

/* Desktop first state must visually belong to the page, not look like a panel. */
@media (min-width: 681px) {
    .site-header:not(.scrolled) .nav-shell.glass {
        background: transparent !important;
        border-color: transparent !important;
        box-shadow: none !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    .site-header:not(.scrolled) .nav-shell.glass::after {
        opacity: 0 !important;
    }
}

/* =========================================================
   MADE Development V2.7 — responsive and accessibility fixes
   ========================================================= */

.nav-actions,
.references-grid,
.reference-full-card,
.reference-copy,
.reference-actions {
    min-width: 0;
}

.reference-copy h2,
.reference-actions a {
    overflow-wrap: anywhere;
}

.project-form[aria-busy="true"] {
    cursor: progress;
}

.project-form[aria-busy="true"] .form-actions {
    opacity: .78;
}

@media (max-width: 680px) {
    .reference-full-card {
        width: 100%;
        max-width: 100%;
    }

    .reference-visual-real,
    .reference-copy,
    .reference-actions {
        width: 100%;
        max-width: 100%;
    }

    .reference-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .reference-copy h2 {
        font-size: clamp(2rem, 11vw, 3.15rem);
    }
}

/* Keep the settings flyout free to unfold outside the nav shell. */
.nav-shell.glass {
    overflow: visible;
}

/* Liquid should read as a lens first, tinted/frosted surface second. */
html[data-glass-mode="liquid"] .glass:not(.nav-shell),
html[data-glass-mode="liquid"] .button-secondary {
    background:
        linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012) 48%, rgba(118,96,255,.018)),
        rgba(13, 9, 28, .115);
    border-color: rgba(241, 234, 255, .18);
    box-shadow:
        inset 1px 1px 0 rgba(255,255,255,.34),
        inset -1px -1px 0 rgba(130,111,180,.10),
        inset 0 0 22px rgba(255,255,255,.025),
        0 18px 58px rgba(0,0,0,.22);
    -webkit-backdrop-filter: blur(3px) saturate(148%) brightness(1.045);
    backdrop-filter: blur(3px) saturate(148%) brightness(1.045);
}

html[data-glass-mode="liquid"].liquid-refraction-supported .glass:not(.nav-shell),
html[data-glass-mode="liquid"].liquid-refraction-supported .button-secondary {
    backdrop-filter:
        url("#liquidGlassRefraction")
        blur(1.15px)
        saturate(152%)
        brightness(1.055)
        contrast(1.018);
}

html[data-glass-mode="liquid"] .glass:not(.nav-shell)::after {
    opacity: .92;
    background:
        radial-gradient(115% 70% at 18% -8%, rgba(255,255,255,.24), transparent 34%),
        radial-gradient(85% 75% at 102% 110%, rgba(112,105,255,.09), transparent 45%),
        linear-gradient(118deg, rgba(255,255,255,.045), transparent 24% 72%, rgba(255,255,255,.025));
}

/* Once docked, the nav becomes material again. */
html[data-glass-mode="liquid"] .site-header.scrolled .nav-shell.glass {
    background:
        linear-gradient(145deg, rgba(255,255,255,.04), rgba(120,81,255,.018)),
        rgba(11, 7, 24, .16) !important;
    border-color: rgba(227,215,255,.17) !important;
    box-shadow:
        inset 1px 1px 0 rgba(255,255,255,.24),
        inset -1px -1px 0 rgba(93,73,150,.11),
        0 18px 56px rgba(0,0,0,.27) !important;
    -webkit-backdrop-filter: blur(4px) saturate(148%) brightness(1.04) !important;
    backdrop-filter: blur(4px) saturate(148%) brightness(1.04) !important;
}

html[data-glass-mode="liquid"].liquid-refraction-supported .site-header.scrolled .nav-shell.glass {
    backdrop-filter:
        url("#liquidGlassRefraction")
        blur(1.4px)
        saturate(152%)
        brightness(1.055)
        contrast(1.018) !important;
}

html[data-glass-mode="liquid"] .site-header.scrolled .nav-shell.glass::after {
    opacity: .78 !important;
    background:
        linear-gradient(115deg, rgba(255,255,255,.13), transparent 20% 75%, rgba(151,127,255,.045)),
        radial-gradient(90% 90% at 16% 0%, rgba(255,255,255,.12), transparent 42%);
}

/* Settings panel is its own glass surface, even though the parent nav is transparent at page top. */
html[data-glass-mode="liquid"] .nav-settings-panel.glass {
    background:
        linear-gradient(145deg, rgba(255,255,255,.055), rgba(116,74,255,.025)),
        rgba(12, 8, 26, .24) !important;
}

html[data-glass-mode="liquid"].liquid-refraction-supported .nav-settings-panel.glass {
    backdrop-filter:
        url("#liquidGlassRefraction")
        blur(1.6px)
        saturate(152%)
        brightness(1.05) !important;
}


/* =========================================================
   MADE Development V2.2 — Optical Liquid Glass pass
   ========================================================= */
html[data-glass-mode="liquid"] .glass,
html[data-glass-mode="liquid"] .button-secondary {
    background: linear-gradient(145deg,rgba(255,255,255,.036),rgba(255,255,255,.012) 34%,rgba(129,108,255,.010) 68%,rgba(255,255,255,.020)),rgba(10,7,22,.085);
    border-color: rgba(245,241,255,.18);
    box-shadow: inset 1px 1px 0 rgba(255,255,255,.36), inset -1px -1px 0 rgba(85,73,128,.11), inset 0 0 0 1px rgba(255,255,255,.018), 0 18px 56px rgba(0,0,0,.205);
    -webkit-backdrop-filter: blur(2.4px) saturate(145%) brightness(1.035);
    backdrop-filter: blur(2.4px) saturate(145%) brightness(1.035);
}
html[data-glass-mode="liquid"] .glass::after {
    opacity:.94;
    background: radial-gradient(125% 76% at 18% -10%,rgba(255,255,255,.26),transparent 31%), radial-gradient(112% 84% at 105% 112%,rgba(123,112,255,.075),transparent 42%), linear-gradient(118deg,rgba(255,255,255,.048),transparent 19% 73%,rgba(255,255,255,.030));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), inset 0 -1px 0 rgba(67,54,110,.06);
}
html[data-glass-mode="liquid"].liquid-refraction-supported :is(.feature-card,.variant-bridge,.project-card,.principle,.tech-marquee,.metric,.price-card,.human-card,.knowledge-card,.contact-note,.project-form,.faq details,.reference-full-card).glass {
    backdrop-filter: url("#liquidGlassSoft") blur(.72px) saturate(151%) brightness(1.045) contrast(1.012) !important;
}
html[data-glass-mode="liquid"].liquid-refraction-supported :is(.mode-switch,.button-secondary) {
    backdrop-filter: url("#liquidGlassRefraction") blur(.58px) saturate(154%) brightness(1.052) contrast(1.016) !important;
}
html[data-glass-mode="liquid"].liquid-refraction-supported :is(.core-card,.floating-chip,.nav-settings-panel).glass {
    backdrop-filter: url("#liquidGlassStrong") blur(.38px) saturate(157%) brightness(1.058) contrast(1.018) !important;
}
html[data-glass-mode="liquid"] .site-header.scrolled .nav-shell.glass {
    background: linear-gradient(145deg,rgba(255,255,255,.032),rgba(116,84,255,.012)),rgba(9,6,19,.10) !important;
    border-color: rgba(238,231,255,.18) !important;
    box-shadow: inset 1px 1px 0 rgba(255,255,255,.27), inset -1px -1px 0 rgba(80,65,131,.09), 0 18px 52px rgba(0,0,0,.23) !important;
    -webkit-backdrop-filter: blur(2.8px) saturate(147%) brightness(1.04) !important;
    backdrop-filter: blur(2.8px) saturate(147%) brightness(1.04) !important;
}
html[data-glass-mode="liquid"].liquid-refraction-supported .site-header.scrolled .nav-shell.glass {
    backdrop-filter: url("#liquidGlassRefraction") blur(.62px) saturate(154%) brightness(1.052) contrast(1.016) !important;
}
html[data-glass-mode="liquid"] .nav-settings-panel.glass {
    background: linear-gradient(145deg,rgba(255,255,255,.040),rgba(116,84,255,.014)),rgba(8,6,18,.12) !important;
    border-color: rgba(242,235,255,.19) !important;
    box-shadow: inset 1px 1px 0 rgba(255,255,255,.29), inset -1px -1px 0 rgba(82,66,132,.09), 0 22px 60px rgba(0,0,0,.24) !important;
}
html[data-glass-mode="liquid"] .glass-mode-selector button[aria-checked="true"] {
    background: radial-gradient(circle at 18% 0%,rgba(255,255,255,.10),transparent 38%),rgba(255,255,255,.038);
    border-color:rgba(239,229,255,.24); box-shadow:inset 0 1px 0 rgba(255,255,255,.075);
}
html[data-glass-mode="liquid"] .glass { outline:1px solid rgba(255,255,255,.012); outline-offset:-2px; }
html[data-glass-mode="liquid"] .glass:hover { border-color:rgba(249,245,255,.22); }
@media (min-width:681px){
    html[data-glass-mode="liquid"] .site-header:not(.scrolled) .nav-shell.glass,
    html[data-glass-mode="frosted"] .site-header:not(.scrolled) .nav-shell.glass,
    html[data-glass-mode="read"] .site-header:not(.scrolled) .nav-shell.glass {
        background:transparent !important; border-color:transparent !important; box-shadow:none !important; outline:0 !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important;
    }
    .site-header:not(.scrolled) .nav-shell.glass::after { opacity:0 !important; box-shadow:none !important; }
}
@media (max-width:680px){
    html[data-glass-mode="liquid"].liquid-refraction-supported :is(.nav-settings-panel,.mode-switch).glass { backdrop-filter:url("#liquidGlassRefraction") blur(.72px) saturate(150%) brightness(1.045) !important; }
    html[data-glass-mode="liquid"].liquid-refraction-supported :is(.feature-card,.variant-bridge,.project-card,.principle,.tech-marquee,.metric,.price-card,.human-card,.knowledge-card,.contact-note,.project-form,.faq details,.reference-full-card).glass { backdrop-filter:url("#liquidGlassSoft") blur(.82px) saturate(148%) brightness(1.04) !important; }
}


/* =========================================================
   MADE Development V2.3 — interface sound controls
   ========================================================= */

.settings-audio-block {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.065);
}

.settings-subhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
}

.settings-subhead > span {
    display: grid;
    gap: 2px;
}

.settings-subhead strong {
    font-size: .80rem;
}

.settings-subhead small {
    color: #80758d;
    font-size: .65rem;
}

.sound-mode-selector {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 4px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 13px;
    background: rgba(255,255,255,.018);
}

.sound-mode-selector button {
    min-width: 0;
    min-height: 34px;
    padding: 6px 8px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: #84798f;
    font: inherit;
    font-size: .68rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.sound-mode-selector button:hover {
    color: #dcd4e8;
}

.sound-mode-selector button[aria-checked="true"] {
    color: #f3eef9;
    border-color: rgba(239,230,255,.14);
    background: rgba(255,255,255,.052);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.055);
}

.sound-mode-selector button:active {
    transform: scale(.975);
}

.sound-glyph {
    position: relative;
    width: 14px;
    height: 12px;
    flex: 0 0 auto;
}

.sound-glyph::before,
.sound-glyph::after {
    content: "";
    position: absolute;
}

.sound-glyph::before {
    left: 0;
    top: 4px;
    width: 4px;
    height: 5px;
    border-radius: 1px;
    background: currentColor;
    box-shadow: 4px -2px 0 -1px currentColor;
}

.sound-glyph::after {
    left: 8px;
    top: 2px;
    width: 4px;
    height: 7px;
    border-right: 1px solid currentColor;
    border-radius: 0 8px 8px 0;
    opacity: .85;
}

.sound-off::after {
    width: 7px;
    height: 1px;
    top: 6px;
    left: 7px;
    border: 0;
    border-radius: 999px;
    background: currentColor;
    transform: rotate(-45deg);
}

.sound-subtle::after {
    width: 3px;
}

.sound-full::after {
    width: 5px;
    box-shadow: 3px 0 0 -2px currentColor;
}

html[data-glass-mode="liquid"] .sound-mode-selector button[aria-checked="true"] {
    background:
        radial-gradient(circle at 20% 0%, rgba(255,255,255,.095), transparent 42%),
        rgba(255,255,255,.030);
}

@media (max-width: 680px) {
    .settings-audio-block {
        margin-top: 12px;
        padding-top: 12px;
    }

    .settings-subhead small {
        font-size: .62rem;
    }

    .sound-mode-selector button {
        min-height: 32px;
        padding-inline: 5px;
        gap: 5px;
        font-size: .64rem;
    }
}


/* =========================================================
   MADE Development V2.4 — Mechanical ASMR sound controls
   ========================================================= */

.sound-volume-row {
    margin-top: 10px;
    padding: 3px 2px 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
    color: #92879d;
    font-size: .66rem;
}

.sound-volume-control {
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr 38px;
    gap: 9px;
    align-items: center;
}

.sound-volume-control input[type="range"] {
    width: 100%;
    height: 18px;
    margin: 0;
    accent-color: #9a6cff;
    cursor: pointer;
}

.sound-volume-control input[type="range"]:disabled {
    opacity: .34;
    cursor: default;
}

.sound-volume-control output {
    color: #b9aec5;
    text-align: right;
    font-size: .63rem;
    font-variant-numeric: tabular-nums;
}

html[data-glass-mode="liquid"] .sound-volume-control input[type="range"] {
    filter: drop-shadow(0 0 6px rgba(140,93,255,.12));
}

@media (max-width: 680px) {
    .sound-volume-row {
        gap: 10px;
        font-size: .63rem;
    }

    .sound-volume-control {
        grid-template-columns: 1fr 34px;
        gap: 7px;
    }
}

/* =========================================================
   MADE Development V2.5 — Legacy mining / real references
   ========================================================= */

/* Real work on the homepage */
.portfolio-real .project-card-real {
    position: relative;
}

.project-art-real {
    display: block;
    position: relative;
    isolation: isolate;
    background: #09070d;
    border: 1px solid rgba(255,255,255,.07);
}

.project-art-real img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transform: scale(1.002);
    transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .45s ease;
}

.project-card-real:hover .project-art-real img,
.project-card-real:focus-within .project-art-real img {
    transform: scale(1.025);
    filter: saturate(1.04) contrast(1.015);
}

.project-art-real::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(5,3,10,.02) 42%, rgba(5,3,10,.58) 100%),
        linear-gradient(90deg, rgba(7,4,13,.15), transparent 28%, transparent 72%, rgba(7,4,13,.1));
}

.project-art-real .project-number,
.project-art-real .project-year-badge,
.project-art-real .project-art-sheen {
    z-index: 2;
}

.project-year-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 8px 11px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(8,5,14,.58);
    backdrop-filter: blur(12px);
    color: rgba(255,255,255,.82);
    font-size: .64rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.project-art-sheen,
.reference-sheen {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: var(--material-active, 0);
    transition: opacity .24s ease;
    background: radial-gradient(
        340px circle at var(--material-x, 50%) var(--material-y, 50%),
        rgba(255,255,255,.15),
        rgba(153,103,255,.065) 22%,
        transparent 63%
    );
    mix-blend-mode: screen;
}

.work-more-proof {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.reference-proof {
    max-width: 520px;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.5;
    letter-spacing: .035em;
}

/* Reference hero */
.references-hero-copy {
    display: grid;
    gap: 24px;
}

.reference-filter-bar {
    margin-top: 52px;
    min-height: 68px;
    padding: 10px 12px 10px 18px;
    border-radius: 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 22px;
    align-items: center;
}

.reference-filter-label,
.reference-filter-status {
    color: var(--muted);
    font-size: .66rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.reference-filters {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.reference-filters button {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 10px 13px;
    background: transparent;
    color: rgba(255,255,255,.61);
    font: inherit;
    font-size: .72rem;
    cursor: pointer;
    transition: background .22s ease, border-color .22s ease, color .22s ease, transform .22s ease;
}

.reference-filters button span {
    margin-left: 5px;
    color: rgba(255,255,255,.34);
    font-size: .62rem;
}

.reference-filters button:hover {
    color: rgba(255,255,255,.92);
    border-color: rgba(255,255,255,.10);
}

.reference-filters button.active,
.reference-filters button[aria-checked="true"] {
    color: #fff;
    border-color: rgba(173,125,255,.24);
    background: linear-gradient(135deg, rgba(132,75,255,.18), rgba(255,255,255,.055));
}

/* Real reference cards */
.reference-full-card[hidden] {
    display: none !important;
}

.reference-real {
    --material-x: 50%;
    --material-y: 50%;
    --material-active: 0;
}

.reference-visual-real {
    appearance: none;
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid rgba(255,255,255,.08);
    color: inherit;
    text-align: left;
    cursor: zoom-in;
    isolation: isolate;
    background: #08060c;
}

.reference-visual-real img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transform: scale(1.002);
    transition: transform .58s cubic-bezier(.2,.72,.2,1), filter .4s ease;
}

.reference-visual-real::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, transparent 54%, rgba(5,3,10,.72) 100%),
        linear-gradient(90deg, rgba(4,2,8,.10), transparent 30%, transparent 72%, rgba(4,2,8,.08));
}

.reference-real:hover .reference-visual-real img,
.reference-visual-real:focus-visible img {
    transform: scale(1.025);
    filter: saturate(1.035) contrast(1.01);
}

.reference-visual-real .project-number,
.reference-year,
.reference-preview-hint,
.reference-sheen {
    z-index: 2;
}

.reference-year {
    position: absolute;
    left: 18px;
    top: 18px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(8,5,14,.56);
    backdrop-filter: blur(12px);
    color: rgba(255,255,255,.82);
    font-size: .62rem;
    letter-spacing: .08em;
}

.reference-preview-hint {
    position: absolute;
    left: 18px;
    bottom: 17px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,.84);
    font-size: .68rem;
    letter-spacing: .055em;
    transform: translateY(4px);
    opacity: .72;
    transition: opacity .22s ease, transform .22s ease;
}

.reference-real:hover .reference-preview-hint,
.reference-visual-real:focus-visible .reference-preview-hint {
    transform: translateY(0);
    opacity: 1;
}

.reference-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    align-items: center;
}

.text-link-muted {
    color: rgba(255,255,255,.54);
}

/* Screenshot lightbox */
.project-lightbox {
    width: min(1500px, calc(100vw - 44px));
    max-width: none;
    max-height: calc(100vh - 44px);
    padding: 0;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 28px;
    overflow: hidden;
    background: rgba(7,4,12,.94);
    color: #fff;
    box-shadow: 0 42px 130px rgba(0,0,0,.68);
}

.project-lightbox::backdrop {
    background: rgba(0,0,0,.76);
    backdrop-filter: blur(14px) saturate(.8);
}

.project-lightbox-shell {
    display: grid;
    grid-template-rows: auto minmax(0,1fr) auto;
    max-height: calc(100vh - 44px);
}

.project-lightbox-head {
    min-height: 70px;
    padding: 13px 15px 13px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.project-lightbox-head > div {
    display: grid;
    gap: 3px;
}

.project-lightbox-head span {
    color: rgba(255,255,255,.42);
    font-size: .58rem;
    letter-spacing: .15em;
}

.project-lightbox-head strong {
    font-size: .88rem;
    letter-spacing: .02em;
}

.project-lightbox-close {
    width: 43px;
    height: 43px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 50%;
    background: rgba(255,255,255,.045);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.project-lightbox-stage {
    min-height: 0;
    overflow: auto;
    background:
        linear-gradient(45deg, rgba(255,255,255,.025) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.025) 75%),
        linear-gradient(45deg, rgba(255,255,255,.025) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.025) 75%),
        #050408;
    background-size: 22px 22px;
    background-position: 0 0, 11px 11px;
}

.project-lightbox-stage img {
    display: block;
    width: 100%;
    height: auto;
}

.project-lightbox-shell > p {
    margin: 0;
    padding: 12px 22px 15px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.47);
    font-size: .65rem;
}

/* Liquid treatment for the imported project index */
html[data-glass-mode="liquid"].liquid-refraction-supported .reference-filter-bar.glass {
    backdrop-filter: url("#liquidGlassRefraction") blur(.7px) saturate(150%) brightness(1.035);
}

html[data-glass-mode="frosted"] .reference-filter-bar.glass {
    backdrop-filter: blur(18px) saturate(138%);
}

/* Responsive */
@media (max-width: 900px) {
    .reference-filter-bar {
        grid-template-columns: 1fr auto;
    }

    .reference-filter-label {
        display: none;
    }

    .reference-filters {
        justify-content: flex-start;
    }

    .work-more-proof {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    .portfolio-real .project-art-real,
    .portfolio-real .project-large .project-art-real {
        min-height: 245px;
    }

    .project-year-badge {
        left: 13px;
        bottom: 13px;
    }

    .reference-filter-bar {
        margin-top: 32px;
        padding: 9px;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .reference-filter-status {
        padding: 0 7px 5px;
    }

    .reference-filters {
        display: grid;
        grid-template-columns: repeat(3, minmax(0,1fr));
    }

    .reference-filters button {
        padding-inline: 8px;
        text-align: center;
    }

    .reference-year {
        left: 13px;
        top: 13px;
    }

    .reference-preview-hint {
        left: 13px;
        bottom: 13px;
    }

    .project-lightbox {
        width: calc(100vw - 16px);
        max-height: calc(100vh - 16px);
        border-radius: 20px;
    }

    .project-lightbox-shell {
        max-height: calc(100vh - 16px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-art-real img,
    .reference-visual-real img,
    .reference-preview-hint,
    .project-art-sheen,
    .reference-sheen {
        transition: none !important;
    }
}

html.reduce-motion .project-art-real img,
html.reduce-motion .reference-visual-real img,
html.reduce-motion .reference-preview-hint,
html.reduce-motion .project-art-sheen,
html.reduce-motion .reference-sheen {
    transition: none !important;
}

/* Secondary capabilities recovered from the previous MADE offer */
.capabilities {
    padding-top: 70px;
    padding-bottom: 90px;
}

.capability-rail {
    margin-top: 34px;
    border-radius: 30px;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
}

.capability-rail article {
    min-width: 0;
    padding: 26px 24px 28px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    border-right: 1px solid rgba(255,255,255,.07);
}

.capability-rail article:last-child {
    border-right: 0;
}

.capability-rail article > span {
    padding-top: 2px;
    color: rgba(190,157,255,.72);
    font-size: .62rem;
    letter-spacing: .12em;
}

.capability-rail h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.capability-rail p {
    margin: 0;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.58;
}

.capability-proof {
    margin-top: 16px;
    padding-inline: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.capability-proof > span {
    color: var(--muted);
    font-size: .7rem;
    letter-spacing: .05em;
}

html[data-glass-mode="liquid"].liquid-refraction-supported .capability-rail.glass {
    backdrop-filter: url("#liquidGlassSoft") blur(.75px) saturate(147%) brightness(1.035);
}

@media (max-width: 1050px) {
    .capability-rail {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .capability-rail article:nth-child(2) {
        border-right: 0;
    }

    .capability-rail article:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255,255,255,.07);
    }
}

@media (max-width: 680px) {
    .capabilities {
        padding-top: 50px;
        padding-bottom: 70px;
    }

    .capability-rail {
        grid-template-columns: 1fr;
        border-radius: 24px;
    }

    .capability-rail article,
    .capability-rail article:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.07);
        padding: 20px 18px 22px;
    }

    .capability-rail article:last-child {
        border-bottom: 0;
    }

    .capability-proof {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   V2.6 – Conversion & content pass
   ========================================================= */

.pricing-note {
    margin-top: 18px;
    padding: 18px 22px;
    border-radius: 20px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 18px;
}

.pricing-note > span {
    color: rgba(216,185,255,.86);
    font-size: .68rem;
    font-weight: 760;
    letter-spacing: .13em;
    text-transform: uppercase;
    padding-top: 3px;
}

.pricing-note p {
    margin: 0;
    max-width: 980px;
    color: var(--muted);
    line-height: 1.65;
}

.human-actions {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.human-actions > span {
    max-width: 250px;
    color: var(--muted);
    font-size: .76rem;
    line-height: 1.45;
}

.process {
    gap: 0;
}

.process article {
    padding: 15px 0;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 14px;
    border-bottom: 1px solid rgba(255,255,255,.09);
}

.process article:first-child {
    padding-top: 0;
}

.process article:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.process article > span {
    padding: 1px 0 0;
    border: 0;
    color: rgba(190,157,255,.72);
    font-size: .66rem;
    font-weight: 760;
    letter-spacing: .12em;
}

.process article div {
    display: grid;
    gap: 5px;
}

.process article strong {
    color: #e8eef8;
    font-size: .92rem;
    font-weight: 710;
}

.process article small {
    color: var(--muted);
    font-size: .73rem;
    line-height: 1.52;
}

.contact-assurances {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.contact-assurances span {
    position: relative;
    padding: 8px 11px 8px 27px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.025);
    color: #d7dfed;
    font-size: .7rem;
}

.contact-assurances span::before {
    content: "✓";
    position: absolute;
    left: 10px;
    top: 7px;
    color: #a9d9c0;
    font-weight: 800;
}

/* Knowledge cards are decision aids in V2.6, not fake article links. */
.knowledge-card {
    display: flex;
    flex-direction: column;
}

.knowledge-card p {
    margin-top: auto;
}

@media (max-width: 900px) {
    .pricing-note {
        grid-template-columns: 1fr;
        gap: 7px;
    }
}

@media (max-width: 680px) {
    .human-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .human-actions .button {
        width: 100%;
        justify-content: center;
    }

    .human-actions > span {
        max-width: none;
    }

    .process article {
        grid-template-columns: 30px 1fr;
        gap: 10px;
    }

    .contact-assurances {
        display: grid;
        grid-template-columns: 1fr;
    }

    .pricing-note {
        padding: 17px 18px;
    }
}


/* =========================================================
   V2.6.3 – Hero Physics + Human Copy + Type Lab
   Keeps the original orbital language, but makes the central panel
   geometrically centered and lets the whole instrument react with
   restrained spring physics on desktop.
   ========================================================= */

/* Advanced settings stay deliberately tucked away. */
.settings-advanced {
    margin-top: 6px;
    border-top: 1px solid rgba(255,255,255,.06);
}

.settings-advanced summary {
    list-style: none;
    position: relative;
    padding: 13px 22px 7px 3px;
    color: #8f83a8;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    cursor: pointer;
    user-select: none;
}

.settings-advanced summary::-webkit-details-marker { display: none; }

.settings-advanced summary::after {
    content: "+";
    position: absolute;
    right: 3px;
    top: 9px;
    color: #a99bc0;
    font-size: 1rem;
    font-weight: 400;
    transition: transform .22s ease;
}

.settings-advanced[open] summary::after {
    transform: rotate(45deg);
}

.settings-advanced-body {
    padding: 5px 3px 2px;
}

.font-mode-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    align-items: center;
    gap: 15px;
}

.font-mode-row > span {
    display: grid;
    gap: 2px;
}

.font-mode-row strong { font-size: .82rem; }
.font-mode-row small,
.font-mode-note {
    color: #83788f;
    font-size: .66rem;
    line-height: 1.45;
}

.font-mode-row select {
    width: 100%;
    min-height: 38px;
    padding: 7px 30px 7px 10px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 11px;
    background: rgba(255,255,255,.035);
    color: #e9e3f3;
    outline: none;
}

.font-mode-row select:focus-visible {
    border-color: rgba(164,123,255,.5);
    box-shadow: 0 0 0 3px rgba(133,78,255,.12);
}

.font-mode-row select option {
    background: #100b1e;
    color: #f5f1fa;
}

.font-mode-note {
    margin: 8px 0 0;
}

/* Fonts are intentionally global in Type Lab so the comparison is honest. */
html[data-font-mode] body,
html[data-font-mode] button,
html[data-font-mode] input,
html[data-font-mode] textarea,
html[data-font-mode] select {
    font-family: var(--font-body);
}

html[data-font-mode] h1,
html[data-font-mode] h2,
html[data-font-mode] h3,
html[data-font-mode] h4,
html[data-font-mode] .core-card strong,
html[data-font-mode] .brand-copy {
    font-family: var(--font-display);
}

.orbital-stage {
    --physics-x: 0px;
    --physics-y: 0px;
    --physics-rx: 0deg;
    --physics-ry: 0deg;
    --stage-rx: 0deg;
    --stage-ry: 0deg;
    --orbit-brightness: 1;
    --orbit-halo-opacity: .10;
    --meter-power: 1;
}

@media (min-width: 681px) {
    .hero-visual .orbital-stage {
        transform-style: preserve-3d;
        transform: perspective(1200px) rotateX(var(--stage-rx)) rotateY(var(--stage-ry));
        will-change: transform;
    }

    .hero-visual .orbital-stage::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 54%;
        aspect-ratio: 1;
        translate: -50% -50%;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(181,133,255,.28), rgba(89,74,255,.10) 42%, transparent 72%);
        opacity: var(--orbit-halo-opacity);
        filter: blur(18px);
        pointer-events: none;
        z-index: 0;
    }

    .hero-visual .orbit {
        filter: brightness(var(--orbit-brightness));
        will-change: transform, filter;
    }

    /* Exact geometric centering. Physics moves around zero instead of
       compensating for a permanently off-centre resting position. */
    .hero-visual .core-card {
        position: absolute;
        left: 50%;
        top: 50%;
        z-index: 2;
        animation: none;
        transform-origin: center center;
        transform:
            translate3d(calc(-50% + var(--physics-x)), calc(-50% + var(--physics-y)), 22px)
            rotateX(var(--physics-rx))
            rotateY(var(--physics-ry));
        will-change: transform;
    }

    .hero-visual .core-meter span:first-child {
        transform-origin: left center;
        transform: scaleX(var(--meter-power));
        transition: box-shadow .12s linear;
    }

    .hero-visual .chip-one { top: 16%; left: 4%; }
    .hero-visual .chip-two { top: 28%; right: 2%; }
    .hero-visual .chip-three { bottom: 15%; left: 14%; }
}

html.reduce-motion .hero-visual .orbital-stage,
html.reduce-motion .hero-visual .core-card {
    transform: none !important;
}

@media (min-width: 681px) {
    html.reduce-motion .hero-visual .core-card {
        left: 50%;
        top: 50%;
        transform: translate3d(-50%, -50%, 0) !important;
    }
}

@media (prefers-reduced-motion: reduce) and (min-width: 681px) {
    .hero-visual .orbital-stage {
        transform: none !important;
    }

    .hero-visual .core-card {
        left: 50%;
        top: 50%;
        animation: none !important;
        transform: translate3d(-50%, -50%, 0) !important;
    }
}

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

    .font-mode-row select {
        max-width: none;
    }
}

/* Keep expanded testing controls usable on shorter laptop displays. */
.nav-settings-panel {
    max-height: min(760px, calc(100vh - 112px));
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

html[data-font-mode="editorial"] h1,
html[data-font-mode="editorial"] h2,
html[data-font-mode="editorial"] h3,
html[data-font-mode="editorial"] h4,
html[data-font-mode="mono"] h1,
html[data-font-mode="mono"] h2,
html[data-font-mode="mono"] h3,
html[data-font-mode="mono"] h4 {
    letter-spacing: -.025em;
}

@media (min-width: 681px) {
    .hero-visual .floating-chip { z-index: 3; }
}

/* =========================================================
   V2.6.4 — Settings hierarchy + icon morph + legal/error pages
   ========================================================= */

/* Settings should read as a temporary foreground layer, not another translucent card
   sitting directly on top of the hero. */
.settings-backdrop {
    position: fixed;
    inset: 0;
    z-index: 995;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background:
        radial-gradient(circle at 78% 12%, rgba(106, 62, 216, .10), transparent 34%),
        rgba(5, 3, 13, .46);
    -webkit-backdrop-filter: blur(3.5px) saturate(.82) brightness(.80);
    backdrop-filter: blur(3.5px) saturate(.82) brightness(.80);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    cursor: default;
    transition: opacity .24s ease, visibility 0s linear .24s;
}

.settings-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .24s ease, visibility 0s;
}

.site-header.settings-open {
    z-index: 1005;
}

.nav-settings-panel {
    z-index: 18;
    isolation: isolate;
    box-shadow:
        inset 1px 1px 0 rgba(255,255,255,.24),
        inset -1px -1px 0 rgba(93,75,145,.10),
        0 28px 92px rgba(0,0,0,.48),
        0 0 0 1px rgba(211,192,255,.08);
}

html[data-glass-mode="liquid"] .nav-settings-panel.glass {
    background:
        radial-gradient(115% 80% at 10% -8%, rgba(255,255,255,.09), transparent 32%),
        linear-gradient(145deg, rgba(117,81,255,.055), rgba(255,255,255,.018)),
        rgba(11, 7, 25, .66) !important;
    border-color: rgba(234,224,255,.24) !important;
    -webkit-backdrop-filter: blur(13px) saturate(142%) brightness(.98) !important;
    backdrop-filter: blur(13px) saturate(142%) brightness(.98) !important;
}

html[data-glass-mode="liquid"].liquid-refraction-supported .nav-settings-panel.glass {
    backdrop-filter:
        url("#liquidGlassStrong")
        blur(9px)
        saturate(148%)
        brightness(1.015)
        contrast(1.025) !important;
}

html[data-glass-mode="frosted"] .nav-settings-panel.glass {
    background: rgba(20, 15, 36, .86) !important;
    -webkit-backdrop-filter: blur(22px) saturate(105%) !important;
    backdrop-filter: blur(22px) saturate(105%) !important;
}

html[data-glass-mode="read"] .nav-settings-panel.glass {
    background: #15111e !important;
}

/* The settings button now morphs from sliders into a close glyph rather than rotating
   the whole control. The knob motion also gives the closed state a little life. */
.nav-settings-toggle {
    position: relative;
    transform: none !important;
    transition: background .24s ease, color .24s ease, box-shadow .28s ease, scale .24s var(--ease);
}

.nav-settings-toggle::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 11px;
    background: radial-gradient(circle, rgba(148,99,255,.22), transparent 68%);
    opacity: 0;
    transform: scale(.72);
    transition: opacity .22s ease, transform .32s var(--ease);
}

.nav-settings-toggle:hover::before,
.nav-settings-toggle:focus-visible::before {
    opacity: .55;
    transform: scale(1);
}

.site-header.settings-open .nav-settings-toggle {
    background: rgba(151, 99, 255, .14);
    box-shadow: inset 0 0 0 1px rgba(207,187,255,.10), 0 8px 26px rgba(69,36,143,.18);
    scale: .97;
}

.site-header.settings-open .nav-settings-toggle::before {
    opacity: .82;
    transform: scale(1.08);
}

.settings-icon i,
.settings-icon i::after {
    transition:
        transform .42s cubic-bezier(.22, 1.12, .34, 1),
        opacity .22s ease,
        left .32s var(--ease),
        right .32s var(--ease),
        top .32s var(--ease);
}

.nav-settings-toggle:not([aria-expanded="true"]):hover .settings-icon i:nth-child(1)::after { transform: translateX(4px); }
.nav-settings-toggle:not([aria-expanded="true"]):hover .settings-icon i:nth-child(2)::after { transform: translateX(-4px); }
.nav-settings-toggle:not([aria-expanded="true"]):hover .settings-icon i:nth-child(3)::after { transform: translateX(3px); }

.site-header.settings-open .settings-icon i:nth-child(1) {
    transform: translateY(5px) rotate(45deg) scaleX(.86);
}

.site-header.settings-open .settings-icon i:nth-child(2) {
    transform: scaleX(.05);
    opacity: 0;
}

.site-header.settings-open .settings-icon i:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg) scaleX(.86);
}

.site-header.settings-open .settings-icon i::after {
    opacity: 0;
    transform: scale(.1);
}

/* Keep the atom decisively behind settings even in browsers that create unusual
   backdrop-filter stacking contexts. */
body.settings-overlay-open .hero-visual,
body.settings-overlay-open .mode-dock {
    pointer-events: none;
}

/* Legal pages */
.legal-page,
.error-page {
    min-height: 100vh;
}

.legal-shell,
.error-shell {
    width: min(calc(100% - 36px), 1120px);
    margin: 0 auto;
    padding: 52px 0 88px;
}

.legal-topbar,
.error-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 72px;
}

.legal-brand,
.error-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.legal-brand img,
.error-brand img {
    width: 92px;
    height: 32px;
    object-fit: contain;
}

.legal-brand-copy,
.error-brand-copy {
    display: grid;
    line-height: 1;
}

.legal-brand-copy strong,
.error-brand-copy strong {
    font-size: .84rem;
    letter-spacing: .17em;
}

.legal-brand-copy span,
.error-brand-copy span {
    margin-top: 5px;
    color: var(--muted-2);
    font-size: .52rem;
    letter-spacing: .18em;
}

.legal-hero {
    max-width: 850px;
    margin-bottom: 34px;
}

.legal-hero h1,
.error-copy h1 {
    margin: 8px 0 18px;
    font-size: clamp(3.2rem, 8vw, 7rem);
    line-height: .92;
}

.legal-hero p,
.error-copy > p {
    max-width: 760px;
    font-size: 1.05rem;
}

.legal-card {
    padding: clamp(24px, 4vw, 46px);
    border-radius: 30px;
}

.legal-card h2 {
    margin: 42px 0 12px;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card h3 {
    margin: 26px 0 8px;
    font-size: 1.05rem;
}

.legal-card p,
.legal-card li {
    color: #c8bfd6;
    line-height: 1.72;
}

.legal-card a {
    color: #d3c4ff;
}

.legal-card ul {
    padding-left: 1.2rem;
}

.legal-note {
    margin-bottom: 24px;
    padding: 16px 18px;
    border: 1px solid rgba(202,179,255,.16);
    border-radius: 18px;
    color: #b9afc7;
    background: rgba(120,77,255,.055);
    font-size: .85rem;
    line-height: 1.55;
}

.legal-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0 8px;
}

.legal-meta {
    padding: 18px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 18px;
    background: rgba(255,255,255,.02);
}

.legal-meta span {
    display: block;
    margin-bottom: 6px;
    color: #8f83a8;
    font-size: .67rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.legal-meta strong {
    font-size: .96rem;
}

.legal-footer,
.error-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px 28px;
    margin-top: 32px;
    color: var(--muted-2);
    font-size: .8rem;
}

.legal-footer nav,
.error-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

/* Error pages */
.error-main {
    min-height: calc(100vh - 235px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
    gap: clamp(44px, 8vw, 120px);
    align-items: center;
}

.error-code {
    color: #9d7bff;
    font-family: var(--font-display);
    font-size: clamp(5.5rem, 16vw, 14rem);
    font-weight: 750;
    line-height: .75;
    letter-spacing: -.07em;
    text-shadow: 0 0 70px rgba(116,71,255,.26);
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.error-system {
    position: relative;
    min-height: 390px;
    display: grid;
    place-items: center;
}

.error-orbit {
    position: absolute;
    width: min(100%, 430px);
    aspect-ratio: 1;
    border: 1px solid rgba(165,132,255,.16);
    border-radius: 50%;
    transform: rotateX(68deg) rotateZ(-18deg);
    box-shadow: 0 0 70px rgba(109,58,255,.10);
}

.error-orbit::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cfb8ff;
    box-shadow: 0 0 22px #8d58ff;
}

.error-orbit.two {
    width: min(78%, 330px);
    transform: rotateX(68deg) rotateZ(36deg);
    opacity: .72;
}

.error-card {
    position: relative;
    z-index: 2;
    width: min(82%, 315px);
    padding: 24px;
    border-radius: 26px;
}

.error-card span {
    color: #9d8cb8;
    font-size: .67rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.error-card strong {
    display: block;
    margin-top: 8px;
    font-size: clamp(1.7rem, 4vw, 2.8rem);
    line-height: .96;
}

.error-card small {
    display: block;
    margin-top: 18px;
    color: var(--muted-2);
    line-height: 1.5;
}

@media (prefers-reduced-motion: no-preference) {
    .error-orbit { animation: orbitSpin 24s linear infinite; }
    .error-orbit.two { animation: orbitSpinReverse 19s linear infinite; }
}

@media (max-width: 760px) {
    .settings-backdrop {
        background: rgba(5,3,13,.58);
        -webkit-backdrop-filter: blur(2px) brightness(.76);
        backdrop-filter: blur(2px) brightness(.76);
    }

    .legal-shell,
    .error-shell {
        width: min(calc(100% - 28px), 1120px);
        padding-top: 26px;
    }

    .legal-topbar,
    .error-topbar {
        margin-bottom: 50px;
    }

    .legal-meta-grid,
    .error-main {
        grid-template-columns: 1fr;
    }

    .error-system {
        min-height: 310px;
        order: -1;
    }

    .legal-brand img,
    .error-brand img {
        width: 76px;
    }
}

html { scrollbar-gutter: stable; }
body.settings-overlay-open { overflow: hidden; }

/* =========================================================
   MADE Development V2.6.7 — Subpage core port for hero
   Keeps the main-page rings, but ports the more spatial,
   recessed core feeling from the error/sub pages.
   ========================================================= */

@media (min-width: 681px) {
    .hero-visual .orbital-stage {
        isolation: isolate;
    }

    /* Recessed core: same spatial family as the orbits, not a pasted black disk. */
    .hero-visual .orbital-stage::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 50%;
        aspect-ratio: 1;
        translate: -50% -50%;
        border-radius: 50%;
        transform: rotateX(68deg) rotateZ(-16deg);
        background:
            radial-gradient(ellipse at 50% 46%, rgba(4,3,10,.96) 0 24%, rgba(7,5,17,.90) 30%, rgba(19,12,42,.78) 46%, rgba(46,30,92,.34) 60%, rgba(85,61,166,.10) 72%, transparent 82%),
            radial-gradient(ellipse at 38% 30%, rgba(255,255,255,.12), transparent 20%),
            radial-gradient(ellipse at 50% 70%, rgba(0,0,0,.34), transparent 38%);
        box-shadow:
            inset 0 12px 18px rgba(255,255,255,.045),
            inset 0 -24px 34px rgba(0,0,0,.38),
            0 0 56px rgba(67,45,140,.18),
            0 0 120px rgba(31,22,78,.16);
        filter: saturate(1.02);
        opacity: .96;
        z-index: 0;
        pointer-events: none;
    }

    /* Keep the reaction halo, but quieter and more integrated. */
    .hero-visual .orbital-stage::after {
        width: 58%;
        background:
            radial-gradient(circle, rgba(110,88,212,.16), rgba(65,52,132,.07) 42%, transparent 72%);
        filter: blur(24px);
    }

    .hero-visual .orbit {
        z-index: 1;
    }

    .hero-visual .core-card {
        z-index: 2;
        overflow: hidden;
        isolation: isolate;
        background:
            linear-gradient(145deg, rgba(137, 104, 209, .055), rgba(37, 43, 97, .016)),
            rgba(10, 9, 24, .42);
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.08),
            inset 0 -1px 0 rgba(92,72,165,.08),
            0 18px 44px rgba(0,0,0,.24);
    }

    /* Prevent strong liquid refraction from throwing content visibly outside the card. */
    html[data-glass-mode="liquid"].liquid-refraction-supported .hero-visual .core-card.glass {
        backdrop-filter: url("#liquidGlassSoft") blur(.7px) saturate(153%) brightness(1.05) contrast(1.012) !important;
    }

    .hero-visual .floating-chip {
        z-index: 3;
    }

    /* Slightly cleaner chip placement to better frame the new recessed core. */
    .hero-visual .chip-one { top: 15%; left: 12%; }
    .hero-visual .chip-two { top: 26%; right: 6%; }
    .hero-visual .chip-three { bottom: 15%; left: 20%; }
}

/* =========================================================
   MADE Development V2.6.8 — remove rainbow / aberration artifacts
   Hero card and hero chips keep the glass look, but use a clean
   non-prismatic liquid treatment to avoid RGB glitches and lens blobs.
   ========================================================= */

@media (min-width: 681px) {
    html[data-glass-mode="liquid"].liquid-refraction-supported .hero-visual .core-card.glass,
    html[data-glass-mode="liquid"].liquid-refraction-supported .hero-visual .floating-chip.glass {
        -webkit-backdrop-filter: blur(2.2px) saturate(148%) brightness(1.04) !important;
        backdrop-filter: blur(2.2px) saturate(148%) brightness(1.04) !important;
        filter: none !important;
    }

    html[data-glass-mode="liquid"] .hero-visual .core-card.glass,
    html[data-glass-mode="liquid"] .hero-visual .floating-chip.glass {
        background:
            linear-gradient(145deg, rgba(255,255,255,.038), rgba(116,84,255,.014)),
            rgba(10, 9, 24, .36) !important;
        border-color: rgba(242,235,255,.18) !important;
        box-shadow:
            inset 1px 1px 0 rgba(255,255,255,.16),
            inset -1px -1px 0 rgba(82,66,132,.08),
            0 18px 44px rgba(0,0,0,.22) !important;
    }

    .hero-visual .core-card,
    .hero-visual .floating-chip {
        overflow: hidden;
    }

    .hero-visual .core-card::before,
    .hero-visual .core-card::after,
    .hero-visual .floating-chip::before,
    .hero-visual .floating-chip::after {
        filter: none !important;
        mix-blend-mode: normal !important;
    }
}

/* =========================================================
   MADE Development V2.7.1 — premium polish
   A quieter editorial rhythm, more deliberate card hierarchy
   and an equal-footing project presentation.
   ========================================================= */

h1,
h2,
h3 {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

.section-heading {
    max-width: 840px;
    margin-bottom: clamp(40px, 5vw, 62px);
}

.section-heading h2 {
    max-width: 780px;
}

.section-heading.centered {
    max-width: 900px;
}

.section-heading.centered h2,
.section-heading.centered p {
    margin-inline: auto;
}

.work,
.pricing,
.contact {
    position: relative;
    border-top: 1px solid rgba(255,255,255,.055);
}

.work {
    background: linear-gradient(180deg, rgba(29,18,61,.12), transparent 16%, transparent 84%, rgba(29,18,61,.08));
}

.feature-grid {
    grid-template-columns: 1.08fr .96fr .96fr;
    gap: 18px;
}

.feature-card {
    min-height: 410px;
    padding: clamp(27px, 2.4vw, 36px);
    border-radius: 28px;
    transition: transform .32s var(--ease), border-color .25s ease, box-shadow .25s ease;
}

.feature-card h3 {
    margin-top: 62px;
}

.feature-card.reveal.is-visible:hover {
    transform: translateY(-5px);
    border-color: rgba(229,215,255,.24);
    box-shadow: inset 1px 1px 0 rgba(255,255,255,.18), 0 28px 72px rgba(0,0,0,.28);
}

.capability-rail {
    border-radius: 28px;
}

.capability-rail article {
    padding: 30px 26px 32px;
}

.portfolio-grid {
    gap: 18px;
}

.project-card {
    border-radius: 30px;
    transition: transform .32s var(--ease), border-color .25s ease;
}

.project-card.reveal.is-visible:hover {
    transform: translateY(-4px);
    border-color: rgba(230,218,255,.22);
}

.project-meta {
    padding: 24px 8px 8px;
}

.project-meta > div > span {
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: .68rem;
}

.work-more-proof {
    margin-top: 34px;
    padding-inline: 4px;
}

.principles-grid {
    gap: clamp(54px, 7vw, 104px);
}

.principle {
    padding: 28px 30px;
    border-radius: 24px;
}

.pricing-grid {
    grid-template-columns: .92fr 1.08fr .92fr;
    gap: 16px;
}

.price-card {
    min-height: 540px;
    padding: clamp(28px, 2.7vw, 38px);
    border-radius: 30px;
}

.price-featured {
    transform: translateY(-12px);
    box-shadow: inset 1px 1px 0 rgba(255,255,255,.2), 0 32px 84px rgba(0,0,0,.3);
}

.price-top strong {
    margin-top: 22px;
}

.human-card {
    min-height: 500px;
    grid-template-columns: .92fr 1.08fr;
    gap: clamp(54px, 7vw, 108px);
    border-radius: 38px;
}

.process article {
    position: relative;
    padding: 18px 0;
    grid-template-columns: 42px 1fr;
}

.process article > span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(192,160,255,.18);
    border-radius: 50%;
    background: rgba(142,86,255,.055);
}

.knowledge-grid {
    gap: 16px;
}

.knowledge-card {
    min-height: 290px;
    padding: 32px;
    border-radius: 28px;
}

.contact-grid {
    grid-template-columns: .72fr 1.28fr;
    gap: clamp(56px, 7vw, 108px);
}

.project-form {
    min-height: 600px;
    border-radius: 36px;
    box-shadow: inset 1px 1px 0 rgba(255,255,255,.18), 0 32px 90px rgba(0,0,0,.24);
}

.contact-note {
    margin-top: 30px;
    padding: 22px 24px;
    border-radius: 22px;
}

.footer {
    padding-top: 84px;
}

.footer-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(150px, .5fr) minmax(180px, .5fr);
    gap: clamp(34px, 6vw, 90px);
}

.footer-bottom {
    margin-top: 60px;
}

.nav-settings-panel {
    border-radius: 26px;
    box-shadow: inset 1px 1px 0 rgba(255,255,255,.17), 0 28px 88px rgba(0,0,0,.34) !important;
}

.legal-meta-grid-single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
}

.legal-card {
    border-radius: 34px;
}

.error-card {
    border-radius: 30px;
    padding: 28px;
}

/* References: simpler introduction, calmer filtering, alternating editorial cards. */
.references-hero {
    padding-top: 184px;
    padding-bottom: 46px;
}

.references-hero-grid {
    grid-template-columns: 1.18fr .82fr;
    gap: clamp(46px, 8vw, 120px);
    align-items: end;
}

.references-hero h1 {
    max-width: 860px;
    font-size: clamp(3.35rem, 6.6vw, 7rem);
    line-height: .94;
}

.references-hero-copy {
    align-content: end;
}

.references-hero p {
    max-width: 520px;
    margin-bottom: 2px;
    color: #beb5ce;
    line-height: 1.7;
}

.reference-filter-bar {
    margin-top: 44px;
    min-height: 64px;
    border-radius: 22px;
}

.references-all {
    padding-top: 42px;
    padding-bottom: 132px;
}

.references-grid {
    gap: 30px;
}

.reference-full-card {
    min-height: 540px;
    padding: 14px;
    grid-template-columns: 1.08fr .92fr;
    gap: clamp(26px, 4vw, 58px);
    border-radius: 34px;
    transition: transform .32s var(--ease), border-color .25s ease, box-shadow .25s ease;
}

.reference-full-card.reveal.is-visible:hover {
    transform: translateY(-4px);
    border-color: rgba(230,218,255,.22);
    box-shadow: inset 1px 1px 0 rgba(255,255,255,.18), 0 34px 94px rgba(0,0,0,.28);
}

.reference-visual {
    min-height: 510px;
    border-radius: 26px;
}

.reference-copy {
    padding: 46px 42px 46px 4px;
}

.reference-copy h2 {
    margin: 14px 0 20px;
    font-size: clamp(2.45rem, 4.4vw, 5.1rem);
    line-height: .96;
}

.reference-type {
    color: #b3a3d1;
}

.reference-reverse {
    grid-template-columns: .92fr 1.08fr;
}

.reference-reverse .reference-visual-real {
    order: 2;
}

.reference-reverse .reference-copy {
    order: 1;
    padding: 46px 4px 46px 42px;
}

.reference-actions {
    padding-top: 4px;
}

@media (min-width: 1181px) {
    .contact > .contact-grid > .section-heading {
        position: sticky;
        top: 136px;
        margin-bottom: 0;
    }
}

@media (max-width: 980px) {
    .feature-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .price-card {
        min-height: auto;
    }

    .price-featured {
        transform: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .references-hero-grid {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .reference-full-card,
    .reference-reverse {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .reference-reverse .reference-visual-real,
    .reference-reverse .reference-copy {
        order: initial;
    }

    .reference-copy,
    .reference-reverse .reference-copy {
        padding: 28px 18px 34px;
    }

    .human-card {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .hero {
        padding-top: 150px;
    }

    .hero-grid {
        padding-top: 0;
        gap: 18px;
    }

    .section-heading {
        margin-bottom: 36px;
    }

    .section-pad {
        padding-block: 82px;
    }

    .feature-card,
    .knowledge-card {
        padding: 24px;
        border-radius: 24px;
    }

    .feature-card h3 {
        margin-top: 42px;
    }

    .price-card {
        padding: 26px 24px;
        border-radius: 26px;
    }

    .human-card {
        border-radius: 28px;
        gap: 42px;
    }

    .process article {
        grid-template-columns: 36px 1fr;
    }

    .project-form {
        min-height: auto;
        border-radius: 28px;
    }

    .footer {
        padding-top: 68px;
    }

    .references-hero {
        padding-top: 142px;
        padding-bottom: 24px;
    }

    .references-hero-grid {
        gap: 22px;
    }

    .references-hero h1 {
        font-size: clamp(2.75rem, 13.4vw, 4.2rem);
        line-height: .96;
    }

    .references-hero p {
        font-size: .98rem;
        line-height: 1.65;
    }

    .reference-filter-bar {
        margin-top: 30px;
    }

    .references-all {
        padding-top: 24px;
        padding-bottom: 86px;
    }

    .references-grid {
        gap: 20px;
    }

    .reference-full-card {
        border-radius: 26px;
    }

    .reference-visual {
        min-height: 300px;
        border-radius: 20px;
    }

    .reference-copy,
    .reference-reverse .reference-copy {
        padding: 24px 12px 28px;
    }

    .reference-copy h2 {
        font-size: clamp(2rem, 10.5vw, 3.15rem);
    }

    .nav-settings-panel {
        border-radius: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .feature-card,
    .project-card,
    .reference-full-card {
        transition: none;
    }
}

html.reduce-motion .feature-card,
html.reduce-motion .project-card,
html.reduce-motion .reference-full-card {
    transition: none;
}

/* Chromium can refract card text itself when an SVG displacement filter is used
   on a text-heavy surface. Keep the liquid material, but use clean optical blur
   for content cards so letterforms never split into RGB fringes. */
html[data-glass-mode="liquid"].liquid-refraction-supported :is(
    .feature-card,
    .variant-bridge,
    .capability-rail,
    .project-card,
    .principle,
    .tech-marquee,
    .metric,
    .price-card,
    .pricing-note,
    .human-card,
    .knowledge-card,
    .contact-note,
    .project-form,
    .faq details,
    .reference-filter-bar,
    .reference-full-card,
    .legal-card,
    .error-card
).glass {
    -webkit-backdrop-filter: blur(3px) saturate(148%) brightness(1.04) !important;
    backdrop-filter: blur(3px) saturate(148%) brightness(1.04) !important;
    filter: none !important;
}

section[id] {
    scroll-margin-top: 150px;
}

.reference-full-card[id] {
    scroll-margin-top: 118px;
}

html[data-glass-mode="liquid"].liquid-refraction-supported .site-header.scrolled .nav-shell.glass,
html[data-glass-mode="liquid"].liquid-refraction-supported .nav-settings-panel.glass,
html[data-glass-mode="liquid"].liquid-refraction-supported .mode-switch.glass {
    -webkit-backdrop-filter: blur(6px) saturate(150%) brightness(1.04) !important;
    backdrop-filter: blur(6px) saturate(150%) brightness(1.04) !important;
    filter: none !important;
}

/* MADE CMS entry: intentionally quiet for ordinary visitors. */
.settings-admin-entry {
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.settings-admin-entry a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted-2);
    font-size: .66rem;
    letter-spacing: .06em;
    transition: color .2s ease;
}

.settings-admin-entry a:hover,
.settings-admin-entry a:focus-visible {
    color: var(--text);
}

/* V2.8.2 audit fix: keep the complete hero promise readable on narrow phones. */
@media (max-width: 430px) {
    .hero h1,
    .hero-copy h1 {
        font-size: clamp(2.25rem, 10vw, 2.75rem) !important;
    }
}
