:root {
    --ink: #090b16;
    --ink-soft: #111528;
    --panel: #171b31;
    --paper: #f5f5f0;
    --white: #ffffff;
    --muted: #a7adbf;
    --lime: #b9ff4b;
    --lime-deep: #8bd828;
    --violet: #8f6bff;
    --violet-deep: #6340dd;
    --cyan: #8be9ff;
    --line-dark: rgba(255, 255, 255, 0.14);
    --line-light: rgba(9, 11, 22, 0.16);
    --content: 1440px;
    --gutter: clamp(1.25rem, 4vw, 4rem);
    --header-height: 92px;
    --radius-lg: 36px;
    --radius-md: 22px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 1.5rem);
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
address { font-style: normal; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { color: var(--ink); background: var(--lime); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }

.container {
    width: min(100%, calc(var(--content) + (2 * var(--gutter))));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section-dark { color: var(--white); background: var(--ink); }
.section-light { color: var(--ink); background: var(--paper); }
.section-lime { color: var(--ink); background: var(--lime); }
.section-violet { color: var(--white); background: var(--violet-deep); }

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

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 1rem;
    left: 1rem;
    padding: 0.8rem 1rem;
    color: var(--ink);
    background: var(--lime);
    border-radius: 999px;
    transform: translateY(-180%);
    transition: transform 180ms ease;
}

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

/* Header and brand */
.site-header {
    position: absolute;
    z-index: 30;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    color: var(--white);
    border-bottom: 1px solid var(--line-dark);
    transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
    position: fixed;
    background: rgba(9, 11, 22, 0.9);
    backdrop-filter: blur(18px);
}

.route-about .site-header:not(.is-scrolled) {
    color: var(--ink);
    border-color: rgba(9, 11, 22, 0.16);
}

.header-inner {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-mark {
    position: relative;
    display: block;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    background: var(--lime);
    border-radius: 15px;
    box-shadow: inset 0 0 0 2px rgba(9, 11, 22, 0.12);
    transform: rotate(-4deg);
}

.paw-dot,
.paw-pad {
    position: absolute;
    display: block;
    background: var(--ink);
}

.paw-dot { width: 8px; height: 8px; border-radius: 50%; top: 10px; }
.paw-dot-a { left: 9px; }
.paw-dot-b { left: 20px; top: 7px; }
.paw-dot-c { right: 9px; }
.paw-pad { left: 12px; top: 20px; width: 24px; height: 18px; border-radius: 12px 12px 9px 9px; }
.paw-pad::after { position: absolute; inset: 5px 8px; content: ""; background: var(--violet); border-radius: 50%; }

.brand-name { display: grid; line-height: 1; }
.brand-name strong { font-size: 0.96rem; font-weight: 900; letter-spacing: -0.03em; text-transform: uppercase; }
.brand-name small { margin-top: 0.38rem; color: var(--muted); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.route-about .site-header:not(.is-scrolled) .brand-name small { color: rgba(9, 11, 22, 0.65); }

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.83rem;
    font-weight: 750;
}

.site-nav > a { padding: 0.75rem 0.9rem; border-radius: 999px; }
.site-nav > a:not(.nav-cta):hover,
.site-nav > a[aria-current="page"] { background: rgba(255, 255, 255, 0.12); }
.route-about .site-header:not(.is-scrolled) .site-nav > a:not(.nav-cta):hover,
.route-about .site-header:not(.is-scrolled) .site-nav > a[aria-current="page"] { background: rgba(9, 11, 22, 0.1); }
.site-nav .nav-cta { margin-left: 0.5rem; color: var(--ink); background: var(--lime); }
.site-nav .nav-cta:hover { background: var(--white); }

.menu-toggle {
    display: none;
    width: 50px;
    height: 50px;
    padding: 0;
    background: var(--lime);
    border: 0;
    border-radius: 50%;
}

.menu-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--ink);
    transition: transform 180ms ease;
}

/* Shared typography and controls */
.eyebrow,
.section-number {
    margin-bottom: 1.5rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow > span {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 0.55rem;
    background: var(--lime);
    border-radius: 50%;
    box-shadow: 0 0 16px var(--lime);
}

.button {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 1.35rem;
    padding: 0.9rem 1.35rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover { transform: translateY(-3px); }
.button-primary { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.button-primary:hover { background: var(--white); border-color: var(--white); }
.button-light { color: var(--ink); background: var(--white); border-color: var(--white); }
.button-light:hover { color: var(--white); background: var(--violet-deep); border-color: var(--violet-deep); }
.button-ghost { color: var(--white); background: transparent; border-color: rgba(255, 255, 255, 0.35); }

.text-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding-bottom: 0.15rem;
    border-bottom: 1px solid currentColor;
    font-size: 0.88rem;
    font-weight: 750;
}

.round-arrow {
    display: grid;
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
    place-items: center;
    color: var(--ink);
    background: var(--lime);
    border-radius: 50%;
    font-size: 1.6rem;
    transition: transform 180ms ease, background 180ms ease;
}
.round-arrow:hover { background: var(--white); transform: rotate(-8deg) scale(1.05); }

/* Home hero */
.hero {
    position: relative;
    min-height: 880px;
    padding-top: calc(var(--header-height) + clamp(3.5rem, 6vw, 6.5rem));
    padding-bottom: 1.5rem;
    color: var(--white);
    background:
        radial-gradient(circle at 74% 25%, rgba(143, 107, 255, 0.18), transparent 30%),
        radial-gradient(circle at 24% 72%, rgba(185, 255, 75, 0.08), transparent 28%),
        var(--ink);
    overflow: hidden;
}

.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.hero-orbit {
    position: absolute;
    z-index: 0;
    border: 1px solid rgba(185, 255, 75, 0.22);
    border-radius: 50%;
    pointer-events: none;
}
.orbit-one { width: 520px; height: 520px; top: 120px; right: -210px; }
.orbit-two { width: 260px; height: 260px; bottom: 85px; left: -105px; border-color: rgba(143, 107, 255, 0.35); }

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(440px, 0.75fr);
    align-items: center;
    gap: clamp(3rem, 6vw, 7rem);
}

.hero-copy { padding-block: 2rem; }
.hero h1 {
    max-width: 860px;
    margin: 1rem 0 2rem;
    font-size: clamp(4.3rem, 8.4vw, 9rem);
    font-weight: 900;
    line-height: 0.82;
    letter-spacing: -0.075em;
    text-transform: uppercase;
}
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-intro { max-width: 640px; margin-bottom: 2.25rem; color: #c6cad8; font-size: clamp(1.1rem, 1.55vw, 1.35rem); }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; }

.hero-visual {
    position: relative;
    min-height: 625px;
    margin: 0;
    overflow: hidden;
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 260px 260px var(--radius-lg) var(--radius-lg);
    box-shadow: 0 0 90px rgba(143, 107, 255, 0.18);
}

.hero-visual::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(180deg, transparent 42%, rgba(9, 11, 22, 0.85));
}

.hero-visual img { width: 100%; height: 100%; min-height: 625px; object-fit: cover; object-position: 56% center; }
.visual-hud {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 0.8rem;
    color: var(--white);
    background: rgba(9, 11, 22, 0.72);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.67rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.visual-hud-top { top: 1.5rem; right: 1.5rem; }
.visual-hud span { width: 7px; height: 7px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 12px var(--lime); }
.hero-visual figcaption {
    position: absolute;
    z-index: 2;
    right: 2rem;
    bottom: 2rem;
    left: 2rem;
    display: grid;
    gap: 0.25rem;
}
.hero-visual figcaption span { color: var(--lime); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-visual figcaption strong { font-size: 1.35rem; }

.hero-meta {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: clamp(3rem, 5vw, 5rem);
    padding-top: 1.25rem;
    padding-bottom: 0;
    border-top: 1px solid var(--line-dark);
    color: var(--muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Home content */
.manifesto { padding-block: clamp(7rem, 11vw, 11rem); }
.manifesto-grid { display: grid; grid-template-columns: 0.28fr 1fr; gap: clamp(2.5rem, 7vw, 8rem); }
.kicker { margin-bottom: 2rem; color: #666a78; font-size: 0.92rem; font-weight: 750; text-transform: uppercase; }
.manifesto h2,
.about-statement h2 {
    max-width: 1100px;
    margin-bottom: 3rem;
    font-size: clamp(3.2rem, 7vw, 7.3rem);
    font-weight: 850;
    line-height: 0.92;
    letter-spacing: -0.065em;
}
.manifesto h2 em { color: var(--violet-deep); font-style: normal; }
.large-copy { max-width: 770px; margin-left: auto; font-size: clamp(1.2rem, 2vw, 1.75rem); line-height: 1.45; }

.capabilities { padding-block: clamp(6.5rem, 9vw, 9rem); }
.section-heading {
    display: grid;
    grid-template-columns: 0.28fr 1fr auto;
    align-items: end;
    gap: 2rem;
    margin-bottom: 4rem;
}
.section-heading h2,
.loop-section h2,
.engagement h2,
.location-section h2 {
    margin: 0;
    font-size: clamp(3.1rem, 6.3vw, 6.5rem);
    font-weight: 850;
    line-height: 0.9;
    letter-spacing: -0.065em;
}
.section-heading .section-number { margin: 0; color: var(--muted); }

.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.capability-card {
    position: relative;
    display: flex;
    min-height: 530px;
    flex-direction: column;
    padding: clamp(1.5rem, 2.4vw, 2.5rem);
    color: var(--ink);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 220ms ease;
}
.capability-card:hover { transform: translateY(-8px); }
.card-lime { background: var(--lime); }
.card-violet { color: var(--white); background: var(--violet); }
.card-image { color: var(--white); background: linear-gradient(150deg, #172445, #0c1020 70%); border: 1px solid rgba(255, 255, 255, 0.15); }
.card-index { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.75rem; font-weight: 800; }
.pixel-icon { display: grid; width: 80px; height: 80px; margin: auto; place-items: center; border: 2px solid currentColor; border-radius: 22px; font-size: 2rem; transform: rotate(9deg); }
.capability-card h3 { margin: auto 0 1.2rem; font-size: clamp(2.6rem, 4.2vw, 4.5rem); font-weight: 850; line-height: 0.88; letter-spacing: -0.06em; }
.capability-card p { max-width: 370px; margin: 0; opacity: 0.75; }
.card-portal { position: absolute; top: 70px; right: -30px; width: 260px; height: 260px; border: 2px solid rgba(139, 233, 255, 0.55); border-radius: 50%; box-shadow: 0 0 55px rgba(139, 233, 255, 0.25), inset 0 0 55px rgba(143, 107, 255, 0.2); }
.card-portal::before,
.card-portal::after { position: absolute; content: ""; border-radius: 50%; }
.card-portal::before { inset: 27px; border: 1px dashed rgba(185, 255, 75, 0.7); }
.card-portal::after { inset: 70px; background: var(--lime); box-shadow: 0 0 45px var(--lime); }
.card-portal span { position: absolute; z-index: 1; inset: 105px; background: var(--ink); border-radius: 50%; }

.loop-section { padding-block: clamp(7rem, 11vw, 11rem); }
.loop-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(4rem, 9vw, 10rem); }
.loop-grid > div > p:last-child { max-width: 520px; margin-top: 2rem; color: #666a78; font-size: 1.1rem; }
.loop-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.loop-list li { display: grid; grid-template-columns: 58px 1fr; gap: 1.4rem; padding: 1.8rem 0; border-bottom: 1px solid var(--line-light); }
.loop-list li > span { display: grid; width: 42px; height: 42px; place-items: center; color: var(--ink); background: var(--lime); border-radius: 50%; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.72rem; font-weight: 800; }
.loop-list h3 { margin-bottom: 0.35rem; font-size: 1.45rem; }
.loop-list p { margin: 0; color: #666a78; }

.play-banner { padding: 1.25rem; color: var(--white); background: var(--paper); }
.play-banner-inner { position: relative; padding-top: clamp(5rem, 9vw, 9rem); padding-bottom: clamp(5rem, 9vw, 9rem); background: var(--violet); border-radius: var(--radius-lg); overflow: hidden; text-align: center; }
.play-banner-inner::before,
.play-banner-inner::after { position: absolute; content: ""; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; }
.play-banner-inner::before { width: 420px; height: 420px; top: -230px; left: -80px; }
.play-banner-inner::after { width: 270px; height: 270px; right: -80px; bottom: -120px; }
.play-banner p { margin-bottom: 1.5rem; color: var(--lime); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.play-banner h2 { margin-bottom: 2.5rem; font-size: clamp(3.2rem, 7.5vw, 7.8rem); font-weight: 850; line-height: 0.88; letter-spacing: -0.07em; }

/* Inner pages */
.page-hero {
    position: relative;
    padding-top: calc(var(--header-height) + clamp(5rem, 9vw, 9rem));
    padding-bottom: clamp(5rem, 9vw, 9rem);
    overflow: hidden;
}
.page-hero::after { position: absolute; width: 420px; height: 420px; right: -120px; bottom: -250px; content: ""; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.page-hero-about::after { border-color: rgba(9,11,22,.2); }
.page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.25fr 1fr; gap: clamp(2rem, 6vw, 7rem); }
.page-hero h1 { margin-bottom: 2.5rem; font-size: clamp(4rem, 9vw, 9.5rem); font-weight: 900; line-height: 0.82; letter-spacing: -0.075em; text-transform: uppercase; }
.page-hero h1 em { color: var(--lime); font-style: normal; }
.page-hero-about h1 em { color: var(--violet-deep); }
.page-hero-grid > div > p { max-width: 680px; margin: 0 0 0 auto; color: var(--muted); font-size: clamp(1.1rem, 1.8vw, 1.5rem); }
.page-hero-about .page-hero-grid > div > p { color: rgba(9, 11, 22, 0.72); }

.service-detail { padding-bottom: 2rem; }
.detail-row { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(3rem, 8vw, 9rem); padding-top: clamp(6rem, 9vw, 9rem); padding-bottom: clamp(6rem, 9vw, 9rem); border-bottom: 1px solid var(--line-light); }
.detail-heading > span { display: inline-flex; margin-bottom: 2rem; padding: 0.55rem 0.8rem; background: var(--lime); border-radius: 999px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.72rem; font-weight: 800; }
.detail-heading h2 { margin: 0; font-size: clamp(3rem, 5.6vw, 5.8rem); font-weight: 850; line-height: 0.9; letter-spacing: -0.06em; }
.detail-copy .large-copy { margin: 0 0 2.5rem; }
.capability-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.capability-list li { position: relative; padding: 1rem 0 1rem 1.6rem; border-bottom: 1px solid var(--line-light); font-weight: 650; }
.capability-list li::before { position: absolute; top: 1.5rem; left: 0; width: 7px; height: 7px; content: ""; background: var(--violet); border-radius: 2px; transform: rotate(45deg); }

.engagement { padding-block: clamp(6.5rem, 10vw, 10rem); }
.engagement-grid { display: grid; grid-template-columns: 0.25fr 1fr; gap: 2.5rem clamp(2.5rem, 7vw, 8rem); }
.engagement .section-number { grid-row: span 2; }
.engagement-cards { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.3); }
.engagement-cards article { min-height: 260px; padding: 1.7rem 1.4rem; border-right: 1px solid rgba(255,255,255,.3); }
.engagement-cards article:last-child { border-right: 0; }
.engagement-cards span { color: var(--lime); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.75rem; }
.engagement-cards h3 { margin: 4rem 0 0.8rem; font-size: 1.5rem; }
.engagement-cards p { margin: 0; color: #ded8ff; }

.about-statement { padding-block: clamp(7rem, 11vw, 11rem); }
.principles { padding-block: clamp(6.5rem, 10vw, 10rem); }
.section-heading.compact { grid-template-columns: 0.28fr 1fr; }
.principle-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-left: calc(28% + 2rem); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.principle-grid article { min-height: 300px; padding: 2rem; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.principle-grid span { color: var(--lime); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.75rem; }
.principle-grid h3 { margin: 4.5rem 0 0.8rem; font-size: 1.7rem; }
.principle-grid p { max-width: 480px; margin: 0; color: var(--muted); }

.location-section { padding-block: clamp(6rem, 10vw, 10rem); }
.location-grid { display: grid; grid-template-columns: 0.25fr 1fr auto; align-items: end; gap: 2rem; }
.location-section address { margin-top: 2rem; color: #e3ddff; font-size: 1.05rem; }

.contact-page { position: relative; min-height: 820px; padding-top: calc(var(--header-height) + clamp(5rem, 8vw, 8rem)); padding-bottom: clamp(5rem, 8vw, 8rem); overflow: hidden; }
.contact-orbit { position: absolute; width: 650px; height: 650px; top: 100px; left: -360px; border: 1px solid rgba(185,255,75,.25); border-radius: 50%; }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(4rem, 9vw, 10rem); align-items: end; }
.contact-page h1 { margin: 1rem 0 2rem; font-size: clamp(4.2rem, 8.8vw, 9.2rem); font-weight: 900; line-height: 0.82; letter-spacing: -0.075em; text-transform: uppercase; }
.contact-page h1 em { color: var(--lime); font-style: normal; }
.contact-intro { max-width: 620px; color: var(--muted); font-size: 1.15rem; }
.contact-options { border-top: 1px solid var(--line-dark); }
.contact-options > a,
.contact-options > address { position: relative; display: grid; gap: 0.45rem; padding: 1.6rem 3rem 1.6rem 0; border-bottom: 1px solid var(--line-dark); }
.contact-options span { color: var(--muted); font-size: 0.72rem; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-options strong { font-size: clamp(1.05rem, 1.7vw, 1.3rem); word-break: break-word; }
.contact-options i { position: absolute; right: 0; top: 50%; color: var(--lime); font-size: 1.25rem; font-style: normal; transform: translateY(-50%); }
.contact-note { padding-block: clamp(5rem, 9vw, 9rem); }
.contact-note-grid { display: grid; grid-template-columns: 0.3fr 1fr; gap: clamp(2rem, 7vw, 8rem); }
.contact-note h2 { margin: 0; font-size: clamp(2.7rem, 5.8vw, 6rem); font-weight: 850; line-height: 0.95; letter-spacing: -0.06em; }

/* Legal */
.legal-hero { padding-top: calc(var(--header-height) + clamp(5rem, 8vw, 8rem)); padding-bottom: clamp(4rem, 7vw, 7rem); }
.legal-hero-grid { display: grid; grid-template-columns: 0.25fr 1fr; gap: clamp(2rem, 6vw, 7rem); }
.legal-hero h1 { margin: 0; font-size: clamp(4.3rem, 9vw, 9.5rem); font-weight: 900; line-height: 0.85; letter-spacing: -0.075em; }
.legal-hero-grid > div > p { margin: 1.5rem 0 0; color: var(--muted); }
.legal-content { padding-block: clamp(5rem, 9vw, 9rem); }
.legal-grid { display: grid; grid-template-columns: 0.3fr 1fr; gap: clamp(3rem, 8vw, 9rem); }
.legal-grid aside { position: sticky; top: calc(var(--header-height) + 2rem); align-self: start; display: grid; gap: 0.65rem; }
.legal-grid aside p { margin-bottom: 0.5rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.legal-grid aside a { width: fit-content; color: #666a78; font-size: 0.9rem; }
.legal-grid aside a:hover { color: var(--violet-deep); }
.legal-grid article { max-width: 900px; }
.legal-grid article > section { padding-bottom: 3rem; margin-bottom: 3rem; border-bottom: 1px solid var(--line-light); }
.legal-grid article > section:last-child { margin-bottom: 0; }
.legal-grid h2 { margin-bottom: 1.4rem; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.05; }
.legal-grid article p { color: #4d5160; }
.legal-grid article a { color: var(--violet-deep); text-decoration: underline; text-underline-offset: 3px; }
.impressum-details { margin: 0; border-top: 1px solid var(--line-light); }
.impressum-details > div { display: grid; grid-template-columns: minmax(130px, 0.35fr) 1fr; gap: 2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-light); }
.impressum-details dt { color: #666a78; }
.impressum-details dd { margin: 0; font-weight: 750; }

/* Errors */
.error-section { position: relative; display: grid; min-height: 100vh; place-items: center; padding-block: 5rem; overflow: hidden; }
.error-orbit { position: absolute; width: 640px; height: 640px; right: -250px; top: -180px; border: 1px solid rgba(143,107,255,.4); border-radius: 50%; box-shadow: inset 0 0 80px rgba(143,107,255,.07); }
.error-inner { position: relative; z-index: 1; text-align: center; }
.error-code { margin: 0; color: rgba(255,255,255,.05); font-size: clamp(10rem, 27vw, 28rem); font-weight: 900; line-height: 0.72; letter-spacing: -0.1em; }
.error-inner .eyebrow { color: var(--lime); }
.error-inner h1 { margin-bottom: 1.8rem; font-size: clamp(3.2rem, 7vw, 7rem); font-weight: 850; line-height: 0.88; letter-spacing: -0.065em; }
.error-inner h1 em { color: var(--violet); font-style: normal; }
.error-inner > p:not(.error-code):not(.eyebrow) { max-width: 520px; margin: 0 auto 2rem; color: var(--muted); }

/* Footer */
.site-footer { color: var(--white); background: var(--ink); }
.footer-callout { padding-top: clamp(6rem, 10vw, 10rem); padding-bottom: clamp(6rem, 10vw, 10rem); border-bottom: 1px solid var(--line-dark); }
.footer-callout > div { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.footer-callout h2 { margin: 0; font-size: clamp(3.2rem, 7.5vw, 8rem); font-weight: 850; line-height: 0.86; letter-spacing: -0.075em; }
.footer-callout h2 span { color: var(--lime); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.55fr 0.55fr 0.9fr; gap: 3rem; padding-top: 4rem; padding-bottom: 4rem; }
.footer-grid > div:not(.footer-brand),
.footer-grid address { display: flex; align-items: flex-start; flex-direction: column; gap: 0.6rem; color: #c7cad6; font-size: 0.88rem; }
.footer-label { margin-bottom: 0.55rem; color: #777d92; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-grid a:hover,
.text-button:hover { color: var(--lime); }
.footer-brand > p { max-width: 330px; margin: 1.4rem 0 0; color: var(--muted); }
.text-button { padding: 0; color: inherit; background: transparent; border: 0; cursor: pointer; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; padding-top: 1.25rem; padding-bottom: 1.25rem; color: #777d92; border-top: 1px solid var(--line-dark); font-size: 0.75rem; }
.footer-bottom p { margin: 0; }

/* Cookie notice */
.cookie-banner {
    position: fixed;
    z-index: 100;
    right: 1.25rem;
    bottom: 1.25rem;
    left: 1.25rem;
    display: grid;
    max-width: 780px;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
    padding: 1.25rem;
    color: var(--white);
    background: rgba(17, 21, 40, 0.97);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: var(--radius-md);
    box-shadow: 0 24px 70px rgba(0,0,0,.35);
}
.cookie-banner[hidden] { display: none; }
.cookie-title { margin-bottom: 0.35rem; color: var(--lime); font-weight: 850; }
.cookie-banner p:last-child { margin: 0; color: #c7cad6; font-size: 0.86rem; }
.cookie-banner a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 0.65rem; }
.cookie-actions .button { min-height: 46px; padding: 0.65rem 0.95rem; font-size: 0.68rem; }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
    .hero-grid { grid-template-columns: 1fr 0.8fr; gap: 2.5rem; }
    .hero h1 { font-size: clamp(4.2rem, 9vw, 7rem); }
    .hero-visual { min-height: 560px; }
    .hero-visual img { min-height: 560px; }
    .site-nav > a { padding-inline: 0.65rem; }
    .site-nav .nav-cta { display: none; }
    .capability-card { min-height: 470px; }
    .footer-grid { grid-template-columns: 1.2fr 0.55fr 0.55fr; }
    .footer-grid address { grid-column: 2 / -1; }
}

@media (max-width: 820px) {
    :root { --header-height: 78px; --radius-lg: 26px; }
    .menu-toggle { position: relative; z-index: 42; display: block; }
    .site-nav {
        position: fixed;
        z-index: 40;
        inset: 0;
        display: flex;
        align-items: stretch;
        justify-content: center;
        flex-direction: column;
        gap: 0;
        padding: calc(var(--header-height) + 2rem) var(--gutter) 2rem;
        color: var(--white);
        background: var(--ink);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 180ms ease, transform 180ms ease;
    }
    .site-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
    .site-nav > a { padding: 0.9rem 0; border-bottom: 1px solid var(--line-dark); border-radius: 0; font-size: clamp(1.8rem, 7vw, 3.2rem); font-weight: 850; letter-spacing: -0.04em; }
    .site-nav > a:not(.nav-cta):hover,
    .site-nav > a[aria-current="page"] { color: var(--lime); background: transparent; }
    .site-nav .nav-cta { display: block; margin: 1.5rem 0 0; padding: 1rem 1.2rem; color: var(--ink); background: var(--lime); border: 0; border-radius: 999px; font-size: 0.85rem; letter-spacing: 0; text-align: center; }
    .route-about .site-header:not(.is-scrolled) .site-nav { color: var(--white); }
    .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }

    .hero { min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { padding-bottom: 0; }
    .hero h1 { font-size: clamp(4rem, 15vw, 7rem); }
    .hero-visual { min-height: 520px; border-radius: 220px 220px var(--radius-lg) var(--radius-lg); }
    .hero-visual img { min-height: 520px; }
    .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }

    .manifesto-grid,
    .page-hero-grid,
    .detail-row,
    .loop-grid,
    .contact-grid,
    .contact-note-grid,
    .legal-hero-grid,
    .legal-grid { grid-template-columns: 1fr; }
    .manifesto h2,
    .about-statement h2 { font-size: clamp(3rem, 11vw, 5.4rem); }
    .large-copy { margin-left: 0; }
    .section-heading { grid-template-columns: 1fr auto; }
    .section-heading .section-number { grid-column: 1 / -1; }
    .capability-grid { grid-template-columns: 1fr; }
    .capability-card { min-height: 430px; }
    .loop-grid { gap: 3rem; }

    .page-hero h1,
    .contact-page h1 { font-size: clamp(4rem, 14vw, 7rem); }
    .page-hero-grid > div > p { margin-left: 0; }
    .detail-row { gap: 2.5rem; }
    .engagement-grid { grid-template-columns: 1fr; }
    .engagement .section-number { grid-row: auto; }
    .engagement-cards { grid-template-columns: 1fr; }
    .engagement-cards article { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.3); }
    .engagement-cards h3 { margin-top: 2.5rem; }
    .section-heading.compact { grid-template-columns: 1fr; }
    .principle-grid { margin-left: 0; }
    .location-grid { grid-template-columns: 1fr auto; }
    .location-grid .section-number { grid-column: 1 / -1; }
    .contact-page { min-height: auto; }
    .contact-grid { gap: 3rem; }
    .legal-grid aside { position: static; display: none; }

    .footer-callout > div { align-items: flex-start; flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-grid address { grid-column: 1 / -1; }
    .cookie-banner { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
    .brand-name small { display: none; }
    .hero { padding-top: calc(var(--header-height) + 2.7rem); }
    .hero h1 { font-size: clamp(3.5rem, 17vw, 5rem); }
    .hero-actions { align-items: flex-start; flex-direction: column; }
    .hero-visual { min-height: 440px; }
    .hero-visual img { min-height: 440px; }
    .hero-meta { grid-template-columns: 1fr; }
    .manifesto-grid { gap: 1.5rem; }
    .manifesto h2,
    .about-statement h2 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
    .section-heading { grid-template-columns: 1fr; }
    .section-heading .round-arrow { width: 64px; height: 64px; }
    .capability-card { min-height: 390px; }
    .capability-card h3 { font-size: 3rem; }
    .play-banner { padding: 0.65rem; }
    .play-banner-inner { padding-inline: 1.2rem; }
    .page-hero h1,
    .contact-page h1 { font-size: clamp(3.4rem, 16vw, 5rem); }
    .principle-grid { grid-template-columns: 1fr; }
    .location-grid { grid-template-columns: 1fr; }
    .location-grid .round-arrow { width: 64px; height: 64px; }
    .legal-hero h1 { font-size: clamp(3.8rem, 16vw, 5.5rem); }
    .impressum-details > div { grid-template-columns: 1fr; gap: 0.25rem; }
    .error-code { font-size: 10rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand,
    .footer-grid address { grid-column: auto; }
    .footer-bottom { flex-direction: column; gap: 0.35rem; }
    .cookie-actions { align-items: stretch; flex-direction: column; }
    .cookie-actions .button { width: 100%; }
}

/* Premium light art direction */
:root {
    --ink: #25231f;
    --ink-soft: #353127;
    --panel: #e8e0d3;
    --paper: #f7f4ee;
    --white: #fffdfa;
    --muted: #756f64;
    --lime: #cbb574;
    --lime-deep: #a88b4a;
    --violet: #a99cc0;
    --violet-deep: #74688f;
    --cyan: #bfd2cf;
    --line-dark: rgba(255, 253, 250, 0.18);
    --line-light: rgba(37, 35, 31, 0.14);
}

body { background: var(--paper); }
::selection { color: var(--white); background: var(--violet-deep); }
:focus-visible { outline-color: var(--violet-deep); }

.site-header {
    color: var(--ink);
    border-color: rgba(37, 35, 31, 0.12);
}

.site-header.is-scrolled {
    color: var(--ink);
    background: rgba(255, 253, 250, 0.9);
    border-color: rgba(37, 35, 31, 0.1);
}

.brand-mark {
    background: #eee5d4;
    box-shadow: inset 0 0 0 1px rgba(37, 35, 31, 0.12), 0 8px 24px rgba(89, 70, 36, 0.08);
}

.paw-dot,
.paw-pad { background: #a88b4a; }
.paw-pad::after { background: #8e83a9; }
.brand-name small { color: #827b70; }

.site-nav > a:not(.nav-cta):hover,
.site-nav > a[aria-current="page"] { background: rgba(37, 35, 31, 0.07); }
.site-nav .nav-cta { color: var(--white); background: var(--ink); }
.site-nav .nav-cta:hover { color: var(--white); background: var(--violet-deep); }

.menu-toggle { background: #eee5d4; box-shadow: inset 0 0 0 1px rgba(37, 35, 31, 0.12); }
.menu-toggle span:not(.sr-only) { background: var(--ink); }

.button-primary { color: var(--white); background: var(--ink); border-color: var(--ink); }
.button-primary:hover { color: var(--white); background: var(--violet-deep); border-color: var(--violet-deep); }

.round-arrow {
    color: var(--white);
    background: var(--ink);
}
.round-arrow:hover { color: var(--white); background: var(--violet-deep); }

.hero {
    color: var(--ink);
    background:
        radial-gradient(circle at 72% 18%, rgba(169, 156, 192, 0.2), transparent 27%),
        radial-gradient(circle at 18% 76%, rgba(203, 181, 116, 0.16), transparent 24%),
        #f4efe6;
}

.hero::before {
    opacity: 0.55;
    background-image: linear-gradient(115deg, rgba(255, 253, 250, 0.55), transparent 48%);
    background-size: auto;
    mask-image: none;
}

.hero-orbit { border-color: rgba(168, 139, 74, 0.24); }
.orbit-two { border-color: rgba(116, 104, 143, 0.2); }
.eyebrow > span { background: #a88b4a; box-shadow: none; }

.hero h1 {
    max-width: 900px;
    font-size: clamp(4.2rem, 8vw, 8.6rem);
    font-weight: 760;
    line-height: 0.88;
    letter-spacing: -0.07em;
    text-transform: none;
}

.hero h1 em,
.page-hero h1 em,
.contact-page h1 em {
    color: var(--violet-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -0.045em;
}

.hero-intro { color: #655f55; }
.hero-visual {
    min-height: 650px;
    background: #ece5d9;
    border: 1px solid rgba(37, 35, 31, 0.15);
    border-radius: 34px;
    box-shadow: 0 35px 85px rgba(77, 65, 48, 0.16);
}

.hero-visual::after { background: linear-gradient(180deg, transparent 58%, rgba(255, 253, 250, 0.86)); }
.hero-visual img { min-height: 650px; object-position: center 42%; }

.visual-hud {
    color: var(--ink);
    background: rgba(255, 253, 250, 0.76);
    border-color: rgba(37, 35, 31, 0.12);
    box-shadow: 0 12px 35px rgba(77, 65, 48, 0.1);
}
.visual-hud span { background: #a88b4a; box-shadow: none; }
.hero-visual figcaption { color: var(--ink); }
.hero-visual figcaption span { color: #7b673c; }
.hero-visual figcaption strong { font-weight: 700; }

.hero-meta {
    color: #716b60;
    border-color: rgba(37, 35, 31, 0.13);
}

.manifesto { background: #fffdfa; }
.manifesto h2,
.about-statement h2 { font-weight: 720; }
.manifesto h2 em { color: var(--violet-deep); font-family: Georgia, "Times New Roman", serif; font-weight: 500; }

.capabilities {
    color: var(--ink);
    background: #e9e3d9;
}
.capabilities .section-heading .section-number { color: #716b60; }
.capabilities .round-arrow { color: var(--white); background: var(--ink); }
.capability-card { border: 1px solid rgba(37, 35, 31, 0.12); box-shadow: 0 18px 50px rgba(86, 72, 52, 0.08); }
.card-lime { background: #f8f3e7; }
.card-violet { color: var(--ink); background: #ded6e7; }
.card-image { color: var(--ink); background: #e2e9e3; border-color: rgba(37, 35, 31, 0.12); }
.pixel-icon { border-width: 1px; background: rgba(255, 253, 250, 0.42); }
.card-portal { border-color: rgba(168, 139, 74, 0.4); box-shadow: none; }
.card-portal::before { border-color: rgba(116, 104, 143, 0.45); }
.card-portal::after { background: #cbb574; box-shadow: 0 0 38px rgba(203, 181, 116, 0.42); }
.card-portal span { background: #e2e9e3; }

.loop-section { background: #fffdfa; }
.loop-list li > span { color: var(--white); background: var(--violet-deep); }

.play-banner { background: #fffdfa; }
.play-banner-inner { color: var(--ink); background: #d8ccbb; }
.play-banner-inner::before,
.play-banner-inner::after { border-color: rgba(37, 35, 31, 0.14); }
.play-banner p { color: #796437; }
.button-light { color: var(--white); background: var(--ink); border-color: var(--ink); }
.button-light:hover { color: var(--white); background: var(--violet-deep); border-color: var(--violet-deep); }

.page-hero-services,
.legal-hero,
.contact-page {
    color: var(--ink);
    background:
        radial-gradient(circle at 83% 12%, rgba(169, 156, 192, 0.21), transparent 26%),
        #f2ecdf;
}

.page-hero::after,
.contact-orbit { border-color: rgba(168, 139, 74, 0.24); }
.page-hero h1,
.contact-page h1,
.legal-hero h1 { font-weight: 740; text-transform: none; }
.page-hero-grid > div > p,
.contact-intro,
.legal-hero-grid > div > p { color: #6e685e; }

.page-hero-about { background: #ded6c7; }
.service-detail,
.about-statement,
.legal-content { background: #fffdfa; }
.detail-heading > span { color: var(--white); background: var(--violet-deep); }
.capability-list li::before { background: #a88b4a; }

.engagement,
.location-section {
    color: var(--ink);
    background: #cfc4d8;
}
.engagement-cards { border-color: rgba(37, 35, 31, 0.2); }
.engagement-cards article { border-color: rgba(37, 35, 31, 0.2); }
.engagement-cards span { color: #6f5e33; }
.engagement-cards p,
.location-section address { color: #5c5565; }

.principles { color: var(--ink); background: #e5ded3; }
.principle-grid { border-color: rgba(37, 35, 31, 0.15); }
.principle-grid article { border-color: rgba(37, 35, 31, 0.15); }
.principle-grid span { color: #806b3a; }
.principle-grid p { color: #696359; }

.contact-options { border-color: rgba(37, 35, 31, 0.16); }
.contact-options > a,
.contact-options > address { border-color: rgba(37, 35, 31, 0.16); }
.contact-options span { color: #746d62; }
.contact-options i { color: var(--violet-deep); }
.contact-note { background: #d5c7a3; }

.site-footer { background: #292720; }
.site-footer .brand-mark { background: #eee5d4; }
.footer-callout h2 span { color: #d8bf7f; }
.site-footer .round-arrow { color: var(--ink); background: #eee5d4; }
.site-footer .round-arrow:hover { background: #cfc4d8; }

.cookie-banner {
    color: var(--white);
    background: rgba(41, 39, 32, 0.97);
    border-color: rgba(255, 253, 250, 0.15);
}
.cookie-title { color: #dbc68f; }

@media (max-width: 820px) {
    .site-nav { color: var(--white); background: #292720; }
    .site-nav > a:not(.nav-cta):hover,
    .site-nav > a[aria-current="page"] { color: #dbc68f; }
    .site-nav .nav-cta { color: var(--ink); background: #eee5d4; }
    .hero-visual { min-height: 560px; border-radius: 28px; }
    .hero-visual img { min-height: 560px; }
}

@media (max-width: 540px) {
    .hero h1,
    .page-hero h1,
    .contact-page h1 { letter-spacing: -0.055em; }
    .hero-visual { min-height: 500px; }
    .hero-visual img { min-height: 500px; }
}
