html {
    scroll-behavior: smooth;
    scroll-padding-top: 6.5rem;
}

.site-body {
    margin: 0;
    --site-bg: #f7faff;
    --site-surface: #ffffff;
    --site-surface-soft: #edf4ff;
    --site-text: #10213a;
    --site-muted: #637188;
    --site-line: #dce6f3;
    --site-blue: #1769e0;
    --site-blue-strong: #0f54bc;
    --site-blue-soft: #dceaff;
    min-height: 100%;
    background: var(--site-bg);
    color: var(--site-text);
    hyphens: none;
    word-break: normal;
    overflow-wrap: break-word;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-body h1,
.site-body h2,
.site-body h3 {
    font-family: inherit;
    letter-spacing: -0.045em;
}

.site-shell {
    width: min(100% - 3rem, 78rem);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 0.75rem;
    left: 0.75rem;
    transform: translateY(-200%);
    padding: 0.7rem 1rem;
    border-radius: 0.65rem;
    background: var(--site-text);
    color: var(--site-surface);
}

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

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--site-line) 78%, transparent);
    background: color-mix(in srgb, var(--site-bg) 88%, transparent);
    backdrop-filter: blur(18px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    min-height: 5rem;
    gap: 2rem;
}

.site-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.7rem;
    color: var(--site-text);
    font-size: 1.03rem;
    font-weight: 500;
    letter-spacing: -0.035em;
    text-decoration: none;
}

.site-brand img {
    width: 3rem;
    height: 3rem;
    border: 1px solid var(--site-line);
    border-radius: 0.85rem;
    background: #ffffff;
    object-fit: contain;
    box-shadow: 0 0.45rem 1.2rem rgba(23, 105, 224, 0.11);
}

.site-brand strong {
    color: var(--site-blue);
    font-weight: 800;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-inline: auto;
}

.site-nav a {
    position: relative;
    color: var(--site-muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.site-nav a::after {
    position: absolute;
    right: 0;
    bottom: -0.55rem;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--site-blue);
    content: "";
    transform: scaleX(0);
    transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--site-text);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
    transform: scaleX(1);
}

.site-header__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.45rem;
}

.language-toggle,
.theme-toggle {
    min-height: 2.55rem;
    border: 1px solid var(--site-line);
    border-radius: 999px;
    background: var(--site-surface);
    color: var(--site-text);
    cursor: pointer;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 800;
}

.language-toggle {
    padding-inline: 0.9rem;
}

.language-toggle span {
    color: var(--site-muted);
}

.theme-toggle {
    display: grid;
    width: 2.55rem;
    height: 2.55rem;
    padding: 0;
    place-items: center;
    font-size: 1rem;
}

.theme-toggle > span,
.wiki-theme-toggle > span {
    display: grid;
    width: 1.25rem;
    height: 1.25rem;
    place-items: center;
    line-height: 1;
}

.theme-toggle svg,
.wiki-theme-toggle svg {
    display: block;
    width: 100%;
    height: 100%;
}

.language-toggle:hover,
.theme-toggle:hover {
    border-color: var(--site-blue);
    color: var(--site-blue);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3.5rem, 7vw, 7rem) 0;
    isolation: isolate;
    background: var(--site-surface-soft);
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(19rem, 0.8fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 1.5rem;
    color: var(--site-blue);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow > span:first-child {
    width: 1.9rem;
    height: 2px;
    border-radius: 1rem;
    background: currentColor;
}

.hero h1 {
    max-width: 100%;
    margin: 0;
    color: var(--site-text);
    font-size: clamp(2.6rem, 5.2vw, 5rem);
    font-weight: 820;
    line-height: 1.06;
    overflow-wrap: normal;
}

.hero h1 span {
    color: var(--site-blue);
}

.hero__lead {
    max-width: 42rem;
    margin: 1.8rem 0 0;
    color: var(--site-muted);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2.1rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 3.25rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 0.8rem;
    font-size: 0.87rem;
    font-weight: 800;
    text-decoration: none;
    font-family: inherit;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
    max-width: 100%;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button--primary {
    background: var(--site-blue);
    color: #ffffff;
    box-shadow: 0 0.75rem 1.8rem rgba(23, 105, 224, 0.23);
}

.button--primary:hover {
    background: var(--site-blue-strong);
}

.button--secondary {
    border-color: var(--site-line);
    background: var(--site-surface);
    color: var(--site-text);
}

.hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2.6rem;
    padding: 0;
    list-style: none;
}

.hero__proof li {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 0.42rem;
}

.hero__proof strong {
    display: grid;
    width: 1.7rem;
    height: 1.7rem;
    place-items: center;
    border-radius: 999px;
    background: var(--site-blue-soft);
    color: var(--site-blue);
    font-size: 0.63rem;
}

.hero__proof span {
    color: var(--site-muted);
    font-size: 0.73rem;
    font-weight: 750;
}

.hero__feature {
    position: relative;
    min-height: 31rem;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 2rem;
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.18), transparent 40%),
        linear-gradient(145deg, #163f7e, #0d67df 52%, #4d9cff);
    color: #ffffff;
    box-shadow: 0 2.2rem 5rem rgba(16, 56, 117, 0.22);
    overflow: hidden;
}

.hero__feature::before,
.hero__feature::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    content: "";
}

.hero__feature::before {
    top: 18%;
    right: -45%;
    width: 24rem;
    height: 24rem;
}

.hero__feature::after {
    right: -18%;
    bottom: -24%;
    width: 20rem;
    height: 20rem;
}

.hero__feature-top,
.hero__feature-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.hero__feature-visual {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 24rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hero__feature-visual p {
    margin: 0;
    font-size: clamp(1.75rem, 2.6vw, 2.8rem);
    font-weight: 300;
    letter-spacing: -0.06em;
    line-height: 1.05;
}

.hero__feature-visual strong {
    font-weight: 850;
}

.hero__brand-mark {
    width: clamp(8.5rem, 14vw, 11rem);
    height: auto;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 1.5rem;
    background: #ffffff;
    object-fit: contain;
    box-shadow: 0 1.2rem 2.6rem rgba(4, 31, 72, 0.24);
    transform: rotate(-3deg);
}

.hero__feature-bottom {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero__feature-bottom span {
    padding: 0.45rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
}

.hero__panorama {
    position: relative;
    min-height: clamp(15rem, 32vw, 27rem);
    margin-top: clamp(3.5rem, 7vw, 6.5rem);
    border: 1px solid var(--site-line);
    border-radius: 2rem;
    background: #163e76;
    box-shadow: 0 1.8rem 4.5rem rgba(18, 56, 108, 0.2);
    isolation: isolate;
    overflow: hidden;
}

.hero__panorama::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(5, 24, 54, 0.22)),
        linear-gradient(90deg, rgba(10, 47, 94, 0.18), transparent 28%, transparent 72%, rgba(10, 47, 94, 0.18));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    content: "";
    pointer-events: none;
}

.hero__panorama img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    object-position: center;
    transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero__panorama:hover img {
    transform: scale(1.018);
}

@media (max-width: 1080px) {
    .site-nav {
        display: none;
    }

    .site-header__actions {
        margin-left: auto;
    }

    .hero__inner {
        grid-template-columns: minmax(0, 1.1fr) minmax(17rem, 0.9fr);
        gap: 2rem;
    }
}

@media (max-width: 760px) {
    html {
        scroll-padding-top: 5.65rem;
    }

    .site-shell {
        width: min(100% - 1.5rem, 78rem);
    }

    .site-header__inner {
        min-height: 4.4rem;
    }

    .site-brand span {
        display: none;
    }

    .hero {
        padding-top: 3rem;
    }

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

    .hero h1 {
        font-size: clamp(2.3rem, 9.5vw, 4.5rem);
    }

    .hero__feature {
        min-height: 24rem;
    }

    .hero__feature-visual {
        min-height: 18rem;
    }

    .hero__panorama img {
        object-position: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .site-body *,
    .site-body *::before,
    .site-body *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* Lightweight bridge from the preserved rules browsers back to the company site. */
.browser-header__context {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.browser-header__brand-link,
.browser-header__studio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #475569;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
}

.browser-header__brand-link img {
    width: 1.75rem;
    height: 1.75rem;
    border: 1px solid #dbe7f6;
    border-radius: 0.5rem;
    background: #ffffff;
    object-fit: contain;
    box-shadow: 0 0.3rem 0.8rem rgba(15, 64, 120, 0.12);
}

.browser-header__studio-link {
    padding-left: 0.55rem;
    border-left: 1px solid #cbd5e1;
}

.browser-header__brand-link:hover,
.browser-header__studio-link:hover {
    color: #2563eb;
}

.wiki-body {
    min-height: 100dvh;
    background: var(--bg);
    color: var(--fg);
    color-scheme: light;
    transition: background-color 180ms ease, color 180ms ease;
}

.wiki-body[data-theme="dark"] {
    color-scheme: dark;
}

.wiki-theme-toggle {
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    place-items: center;
    padding: 0;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: #475569;
    font: inherit;
    cursor: pointer;
    transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.wiki-theme-toggle:hover {
    border-color: #94a3b8;
    background: #ffffff;
    transform: translateY(-1px);
}

.wiki-theme-toggle--floating {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 50;
    width: 2.65rem;
    height: 2.65rem;
    box-shadow: 0 0.7rem 1.6rem rgba(15, 23, 42, 0.16);
}

.wiki-language-toggle {
    min-height: 2rem;
    padding: .35rem .65rem;
    border: 1px solid var(--border, #cbd5e1);
    border-radius: 999px;
    background: var(--alt-bg, #fff);
    color: var(--fg, #10213a);
    font: inherit;
    font-size: .7rem;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
}
.wiki-language-toggle--floating { position: fixed; z-index: 50; top: 1rem; right: 4.3rem; min-height: 2.65rem; }

.wiki-body[data-theme="dark"] .spell-browser__header {
    background: linear-gradient(180deg, rgba(31, 31, 34, 0.96), rgba(23, 23, 23, 0.96));
}

.wiki-body[data-theme="dark"] :is(.browser-header__brand-link, .browser-header__studio-link) {
    color: #cbd5e1;
}

.wiki-body[data-theme="dark"] .browser-header__studio-link {
    border-left-color: #475569;
}

.wiki-body[data-theme="dark"] .browser-header__tabs a,
.wiki-body[data-theme="dark"] .wiki-theme-toggle {
    border-color: #475569;
    background: #262626;
    color: #e5e7eb;
    box-shadow: none;
}

.wiki-body[data-theme="dark"] .browser-header__tabs a:hover,
.wiki-body[data-theme="dark"] .wiki-theme-toggle:hover {
    border-color: #64748b;
    background: #333333;
    color: #ffffff;
}

.wiki-body[data-theme="dark"] .browser-header__tabs a.is-active {
    border-color: #f4f4f5;
    background: #f4f4f5;
    color: #111827;
}

.wiki-body[data-theme="dark"] .spell-browser__search input {
    border-color: #475569;
    background: linear-gradient(180deg, #262626, #202020);
    color: #f4f4f5;
    box-shadow: none;
}

.wiki-body[data-theme="dark"] .spell-browser__search input:focus {
    border-color: #94a3b8;
    background: #292929;
    box-shadow: 0 0 0 0.22rem rgba(148, 163, 184, 0.16);
}

.wiki-body[data-theme="dark"] .spell-browser__table-shell {
    box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.wiki-body[data-theme="dark"] .spell-browser__table-wrap::-webkit-scrollbar-thumb {
    background: #52525b;
}

.wiki-body[data-theme="dark"] .spell-table tbody tr:hover {
    background: color-mix(
        in srgb,
        var(--spell-school-row, var(--muted-bg)) 22%,
        var(--alt-bg)
    );
}

.wiki-body[data-theme="dark"] .spell-table tbody tr.is-selected {
    background: color-mix(
        in srgb,
        var(--spell-school-row, var(--muted-bg)) 30%,
        var(--alt-bg)
    );
}

.wiki-body[data-theme="dark"] .class-sheet {
    --sheet-bg: #171717;
    --sheet-bg-2: #202023;
    --sheet-bg-3: #29292d;
    --sheet-line: #3f3f46;
    --sheet-text: #d4d4d8;
    --sheet-muted: #a1a1aa;
    --sheet-link: color-mix(in srgb, var(--class-accent) 32%, #9ac8ff);
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--class-accent) 12%, #0a0a0b),
            transparent 18rem
        ),
        #0a0a0b;
    color: #e5e7eb;
}

.wiki-body[data-theme="dark"] :is(
    .class-sheet__masthead,
    .class-sheet__tabs,
    .class-sheet__overview,
    .class-info-panel,
    .class-sheet__section
) {
    border-color: var(--sheet-line);
    background: rgba(23, 23, 23, 0.96);
    box-shadow: 0 1.1rem 2.6rem rgba(0, 0, 0, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.wiki-body[data-theme="dark"] .class-sheet__masthead::before {
    background:
        radial-gradient(circle at 100% 0%, var(--class-glow), transparent 18rem),
        linear-gradient(90deg, color-mix(in srgb, var(--class-accent) 13%, #171717), transparent);
}

.wiki-body[data-theme="dark"] :is(
    .class-sheet h1,
    .class-sheet__section-title h2,
    .class-sheet__feature-heading,
    .class-sheet__subclass-panel > h3,
    .class-info-panel h2,
    .class-info-panel__trait-list dd
) {
    color: #f4f4f5;
}

.wiki-body[data-theme="dark"] :is(
    .class-sheet__back,
    .class-sheet__eyebrow,
    .class-sheet__section-title span,
    .class-info-panel__trait-list dt,
    .class-sheet__jump-list a,
    .class-sheet__feature-heading span,
    .class-rules-table a
) {
    color: var(--sheet-link);
}

.wiki-body[data-theme="dark"] :is(
    .class-sheet__lede,
    .class-info-panel p,
    .class-sheet__feature p,
    .class-sheet__subclass-panel p,
    .class-sheet__note,
    .class-sheet__subclass-empty,
    .class-sheet__subclass-tagline
) {
    color: #cbd5e1 !important;
}

.wiki-body[data-theme="dark"] .class-sheet__open-card,
.wiki-body[data-theme="dark"] :is(.class-sheet__tabs a.is-active, .class-sheet__subclass-tab.is-active) {
    border-color: var(--class-accent);
    background: var(--class-deep);
    color: #ffffff;
}

.wiki-body[data-theme="dark"] :is(.class-sheet__tabs a, .class-sheet__subclass-tab) {
    border-color: var(--sheet-line);
    background: #262626;
    color: #e5e7eb;
}

.wiki-body[data-theme="dark"] .class-info-panel--card {
    background: linear-gradient(180deg, color-mix(in srgb, var(--class-accent) 10%, #202020), #171717);
}

.wiki-body[data-theme="dark"] .class-sheet__feature,
.wiki-body[data-theme="dark"] :is(.class-sheet__table-wrap, .class-sheet__inline-table),
.wiki-body[data-theme="dark"] .class-sheet__spell-list {
    border-color: var(--sheet-line);
    background: #171717;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.wiki-body[data-theme="dark"] .class-rules-table {
    color: #d4d4d8;
}

.wiki-body[data-theme="dark"] .class-rules-table th {
    border-bottom-color: var(--sheet-line);
    background: color-mix(in srgb, var(--class-accent) 14%, #202020);
    color: #f4f4f5;
}

.wiki-body[data-theme="dark"] .class-rules-table td {
    border-bottom-color: #333333;
    color: #d4d4d8;
}

.wiki-body[data-theme="dark"] :is(
    .class-rules-table tbody tr:nth-child(odd),
    .class-rules-table tbody tr:nth-child(even)
) {
    background: #171717;
}

.wiki-body[data-theme="dark"] .class-rules-table tbody tr:nth-child(even) td {
    background: color-mix(in srgb, var(--class-accent) 7%, #171717);
}

.wiki-body[data-theme="dark"] .class-rules-table tbody tr:hover td {
    background: color-mix(in srgb, var(--class-accent) 14%, #202020);
}

.wiki-body[data-theme="dark"] .class-sheet__spell-list summary {
    background: color-mix(in srgb, var(--class-accent) 12%, #202020);
    color: #f4f4f5;
}

/* ── Complete corporate system ─────────────────────────────────────────── */

.site-body {
    --site-surface-2: #f0f5fc;
    --site-shadow: rgba(31, 63, 107, 0.11);
    --site-blue-ink: #0c397c;
    color-scheme: light;
    overflow-x: hidden;
    transition: background-color 220ms ease, color 220ms ease;
}

.site-body[data-theme="dark"] {
    --site-bg: #09111f;
    --site-surface: #111c2e;
    --site-surface-2: #152338;
    --site-surface-soft: #14243d;
    --site-text: #f1f6ff;
    --site-muted: #a8b7cc;
    --site-line: #293b56;
    --site-blue: #6da9ff;
    --site-blue-strong: #8dbbff;
    --site-blue-soft: #16345f;
    --site-blue-ink: #d6e7ff;
    --site-shadow: rgba(0, 0, 0, 0.3);
    color-scheme: dark;
}

.site-body[data-theme="dark"] .button--primary,
.site-body[data-theme="dark"] .patreon-panel__mark {
    color: #07182f;
}

.site-body img {
    max-width: 100%;
}

.site-body section[id],
.site-body [id="set-ideen"] {
    scroll-margin-top: 1.5rem;
}

.site-body :focus-visible {
    outline: 3px solid color-mix(in srgb, var(--site-blue) 58%, transparent);
    outline-offset: 3px;
}

.site-body[data-theme="dark"] .site-header {
    background: color-mix(in srgb, var(--site-bg) 88%, transparent);
}

.site-body[data-theme="dark"] .site-brand img,
.site-body[data-theme="dark"] .hero__panorama {
    background: #f7faff;
}

.language-toggle span {
    color: var(--site-text);
}

.language-toggle small {
    color: var(--site-muted);
    font-size: inherit;
}

.menu-toggle {
    display: none;
    width: 2.55rem;
    height: 2.55rem;
    padding: 0.68rem;
    border: 1px solid var(--site-line);
    border-radius: 999px;
    background: var(--site-surface);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    margin: 0.2rem 0;
    border-radius: 2px;
    background: var(--site-text);
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(0.35rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-0.35rem) rotate(-45deg);
}

.hero__title-line,
.hero__title-accent {
    display: block;
}

.hero__actions { align-items: stretch; }
.hero__actions > .button { flex: 0 1 auto; }
.button > span[aria-hidden="true"], .text-link > span[aria-hidden="true"] { flex: 0 0 auto; }
.site-body h3 { text-wrap: balance; overflow-wrap: break-word; }
.hero__feature { min-width: 0; }
.hero__feature-visual { flex-wrap: wrap; }

@media (max-width: 760px) {
    .hero::before { background: color-mix(in srgb, var(--site-bg) 80%, transparent); }
}

.section {
    position: relative;
    padding: clamp(5.5rem, 10vw, 9.5rem) 0;
}

.section-heading {
    max-width: 55rem;
}

.section-heading--split {
    display: grid;
    max-width: none;
    grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
    align-items: end;
    gap: clamp(2rem, 6vw, 6rem);
}

.section-heading h2,
.custom-copy h2,
.quality-header h2,
.handmade-copy h2,
.wiki-feature__copy h2,
.contact-panel__copy h2,
.wiki-hero h1,
.wiki-philosophy h2,
.legal-card h1 {
    margin: 0;
    color: var(--site-text);
    font-size: clamp(2.55rem, 5.2vw, 5rem);
    font-weight: 820;
    line-height: 1.08;
    text-wrap: balance;
    overflow-wrap: break-word;
    hyphens: none;
}

.section-heading > p,
.section-heading--split > p,
.quality-header > p {
    margin: 0;
    color: var(--site-muted);
    font-size: 1.04rem;
    line-height: 1.72;
}

.section-kicker {
    margin: 0 0 1rem;
    color: var(--site-blue);
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--site-blue);
    font-size: 0.82rem;
    font-weight: 850;
    text-decoration: none;
}

.text-link:hover {
    color: var(--site-blue-strong);
}

.section--intro {
    background: var(--site-surface);
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.9fr);
    gap: clamp(3rem, 8vw, 8rem);
}

.intro-copy > p {
    margin: 0 0 1.25rem;
    color: var(--site-muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.intro-copy > p:first-child {
    color: var(--site-text);
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    line-height: 1.55;
}

.intro-audience,
.product-tags,
.handmade-tags,
.wiki-philosophy__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.6rem;
}

.intro-audience span,
.product-tags span,
.handmade-tags span,
.wiki-philosophy__tags span {
    padding: 0.48rem 0.72rem;
    border: 1px solid var(--site-line);
    border-radius: 999px;
    color: var(--site-muted);
    font-size: 0.73rem;
    font-weight: 750;
}

.studio-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: clamp(3rem, 6vw, 5rem);
}

.value-card {
    padding: 1.8rem;
    border: 1px solid var(--site-line);
    border-radius: 1.25rem;
    background: var(--site-bg);
}

.value-card > span,
.product-card__number,
.set-card > span,
.quality-step > span,
.contact-panel__details article > span {
    color: var(--site-blue);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.1em;
}

.value-card h3 {
    margin: 2rem 0 0.65rem;
    color: var(--site-text);
    font-size: 1.1rem;
    letter-spacing: -0.025em;
}

.value-card p,
.set-card p {
    margin: 0;
    color: var(--site-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.section--products {
    background:
        radial-gradient(circle at 92% 8%, color-mix(in srgb, var(--site-blue-soft) 70%, transparent), transparent 23rem),
        var(--site-bg);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    margin-top: clamp(3rem, 6vw, 5rem);
}

.product-card {
    display: grid;
    grid-template-rows: 18rem 1fr;
    min-width: 0;
    border: 1px solid var(--site-line);
    border-radius: 1.55rem;
    background: var(--site-surface);
    box-shadow: 0 1rem 2.8rem var(--site-shadow);
    overflow: hidden;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1.6rem 3.5rem var(--site-shadow);
}

.product-card--wide {
    grid-column: 1 / -1;
    grid-template-columns: minmax(19rem, 1fr) minmax(20rem, 1fr);
    grid-template-rows: 1fr;
}

.product-card__visual {
    position: relative;
    min-height: 18rem;
    padding: 1.2rem;
    background: var(--site-surface-2);
    overflow: hidden;
}

.product-card__number {
    position: relative;
    z-index: 2;
}

.product-card__status {
    position: absolute;
    z-index: 2;
    right: 1rem;
    bottom: 1rem;
    padding: 0.48rem 0.7rem;
    border: 1px solid color-mix(in srgb, var(--site-line) 65%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--site-surface) 88%, transparent);
    color: var(--site-muted);
    font-size: 0.65rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.product-card__visual--miniatures {
    background: linear-gradient(145deg, #cfe3ff, #f6faff);
}

.site-body[data-theme="dark"] .product-card__visual--miniatures {
    background: linear-gradient(145deg, #16355d, #101d30);
}

.miniature-stage {
    position: absolute;
    inset: auto 7% 7% 7%;
    height: 78%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(23, 105, 224, 0.2), transparent 62%);
}

.miniature {
    position: absolute;
    bottom: 12%;
    width: 17%;
    height: 56%;
    border-radius: 45% 45% 22% 22%;
    background: linear-gradient(90deg, #7f9cbe, #dce9f8 48%, #7894b5);
    filter: drop-shadow(0 1rem 0.8rem rgba(32, 66, 105, 0.23));
}

.miniature::before {
    position: absolute;
    top: -14%;
    left: 25%;
    width: 50%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: inherit;
    content: "";
}

.miniature::after {
    position: absolute;
    right: -28%;
    bottom: -8%;
    left: -28%;
    height: 8%;
    border-radius: 50%;
    background: #6886aa;
    content: "";
}

.miniature--one { left: 18%; transform: scale(0.76) rotate(-6deg); }
.miniature--two { left: 42%; height: 70%; }
.miniature--three { right: 17%; transform: scale(0.83) rotate(7deg); }

.product-card__visual--sets {
    background: linear-gradient(145deg, var(--site-blue-soft), var(--site-surface-2));
}

.set-stack {
    position: absolute;
    inset: 22% 14% 15%;
}

.set-stack span {
    position: absolute;
    width: 54%;
    aspect-ratio: 1.3;
    border: 1px solid color-mix(in srgb, var(--site-blue) 35%, var(--site-line));
    border-radius: 1.2rem;
    background: color-mix(in srgb, var(--site-surface) 78%, var(--site-blue-soft));
    box-shadow: 0 1rem 2rem var(--site-shadow);
}

.set-stack span:nth-child(1) { top: 20%; left: 0; transform: rotate(-10deg); }
.set-stack span:nth-child(2) { top: 0; right: 0; transform: rotate(8deg); }
.set-stack span:nth-child(3) { right: 22%; bottom: 0; }

.product-card__visual--terrain {
    background: linear-gradient(145deg, #e4edf7, #f8fbff);
}

.site-body[data-theme="dark"] .product-card__visual--terrain {
    background: linear-gradient(145deg, #213047, #101b2b);
}

.terrain-blocks {
    position: absolute;
    inset: 25% 18% 17%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
    gap: 0.4rem;
    transform: perspective(20rem) rotateX(8deg) rotateY(-8deg);
}

.terrain-blocks span {
    border: 1px solid rgba(81, 112, 148, 0.22);
    border-radius: 0.55rem;
    background: linear-gradient(135deg, #b7c9dc, #eef4fb);
    box-shadow: 0 0.8rem 1.6rem rgba(42, 68, 98, 0.14);
}

.terrain-blocks span:nth-child(1) { height: 42%; }
.terrain-blocks span:nth-child(2) { height: 88%; }
.terrain-blocks span:nth-child(3) { height: 62%; }
.terrain-blocks span:nth-child(4) { grid-column: 1 / -1; height: 2.6rem; }

.product-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(1.5rem, 3vw, 2.25rem);
}

.product-card__eyebrow {
    margin: 0 0 0.8rem;
    color: var(--site-blue);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-card h3 {
    margin: 0;
    color: var(--site-text);
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1;
}

.product-card__price:not([hidden]) {
    display: block;
    margin-top: 0.7rem;
    color: var(--site-text);
    font-size: 1rem;
    font-weight: 850;
}

.product-card__body > p:not(.product-card__eyebrow) {
    margin: 1rem 0 0;
    color: var(--site-muted);
    line-height: 1.65;
}

.product-card .text-link {
    margin-top: auto;
    padding-top: 1.8rem;
}

.set-showcase {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.set-showcase__intro,
.set-card {
    padding: 1.5rem;
    border: 1px solid var(--site-line);
    border-radius: 1.15rem;
    background: var(--site-surface);
}

.set-showcase__intro h3,
.set-card h4 {
    margin: 0;
    color: var(--site-text);
    letter-spacing: -0.035em;
}

.set-showcase__intro h3 {
    font-size: 1.7rem;
    line-height: 1.05;
}

.set-showcase__intro > p:last-child,
.set-card p {
    margin: 0.75rem 0 0;
    color: var(--site-muted);
    font-size: 0.82rem;
    line-height: 1.55;
}

.set-card h4 {
    margin-top: 3rem;
    font-size: 1.05rem;
}

.section--custom {
    background: var(--site-surface);
}

.custom-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(20rem, 1.08fr);
    align-items: center;
    gap: clamp(3rem, 8vw, 8rem);
}

.custom-copy > p:not(.section-kicker),
.handmade-copy > p:not(.section-kicker),
.wiki-feature__copy > p:not(.section-kicker) {
    margin: 1.4rem 0 0;
    color: var(--site-muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.custom-list,
.team-card ul,
.quality-check ul {
    display: grid;
    gap: 0.8rem;
    margin: 1.6rem 0 2rem;
    padding-left: 1.25rem;
    list-style: disc outside;
}

.custom-list li,
.team-card li,
.quality-check li {
    display: list-item;
    list-style: disc outside;
    position: relative;
    padding-left: 0.3rem;
    color: var(--site-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.custom-list li::before,
.team-card li::before,
.quality-check li::before {
    display: none;
    content: none;
}

.custom-list li::marker,
.team-card li::marker,
.quality-check li::marker {
    color: var(--site-blue);
    font-size: 1.25em;
}

.custom-note {
    max-width: 32rem;
    margin-top: 1rem !important;
    font-size: 0.78rem !important;
}

.custom-process {
    position: relative;
    padding: 1rem;
    border: 1px solid var(--site-line);
    border-radius: 1.6rem;
    background: var(--site-bg);
    box-shadow: 0 1.4rem 3.4rem var(--site-shadow);
}

.custom-process article {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
    padding: 1.35rem;
    border-bottom: 1px solid var(--site-line);
}

.custom-process article:last-child {
    border-bottom: 0;
}

.custom-process article > span {
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    border-radius: 0.8rem;
    background: var(--site-blue-soft);
    color: var(--site-blue);
    font-size: 0.72rem;
    font-weight: 850;
}

.custom-process h3 {
    margin: 0;
    color: var(--site-text);
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.custom-process p {
    margin: 0.35rem 0 0;
    color: var(--site-muted);
    font-size: 0.86rem;
    line-height: 1.55;
}

.section--quality {
    background:
        radial-gradient(circle at 90% 10%, rgba(91, 156, 255, 0.32), transparent 25rem),
        linear-gradient(145deg, #092650, #0b57bb 55%, #1777e9);
    color: #ffffff;
}

.quality-header {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.7fr);
    align-items: end;
    gap: clamp(2rem, 7vw, 7rem);
}

.section--quality .section-kicker,
.section--quality h2,
.section--quality .quality-header > p {
    color: #ffffff;
}

.section--quality .section-kicker,
.section--quality .quality-header > p {
    color: rgba(255, 255, 255, 0.75);
}

.quality-process {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.65rem;
    margin-top: clamp(3rem, 6vw, 5rem);
}

.quality-step {
    min-height: 15rem;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1.05rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.quality-step > span {
    color: rgba(255, 255, 255, 0.62);
}

.quality-step h3 {
    margin: 4.2rem 0 0.65rem;
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: -0.025em;
}

.quality-step p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    line-height: 1.55;
}

.quality-check {
    display: grid;
    grid-template-columns: minmax(15rem, 0.65fr) minmax(20rem, 1.35fr);
    gap: 2rem;
    margin-top: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 1.1rem;
    background: rgba(4, 28, 63, 0.26);
}

.quality-check h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1.1;
}

.quality-check ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.quality-check li {
    color: rgba(255, 255, 255, 0.76);
}

.quality-check li::marker {
    color: #9cc7ff;
}

.section--handmade {
    background: var(--site-surface);
}

.handmade-grid {
    display: grid;
    grid-template-columns: minmax(18rem, 0.9fr) minmax(21rem, 1.1fr);
    align-items: center;
    gap: clamp(3rem, 8vw, 8rem);
}

.handmade-art {
    position: relative;
    min-height: 34rem;
    border: 1px solid var(--site-line);
    border-radius: 2rem;
    background:
        radial-gradient(circle at 70% 25%, rgba(88, 164, 255, 0.44), transparent 26%),
        linear-gradient(145deg, #d6e8ff, #f7fbff);
    box-shadow: 0 1.8rem 4rem var(--site-shadow);
    overflow: hidden;
}

.site-body[data-theme="dark"] .handmade-art {
    background:
        radial-gradient(circle at 70% 25%, rgba(88, 164, 255, 0.34), transparent 26%),
        linear-gradient(145deg, #16345c, #101d30);
}

.handmade-art p {
    position: absolute;
    z-index: 2;
    bottom: 2rem;
    left: 2rem;
    margin: 0;
    color: var(--site-blue-ink);
    font-size: clamp(3rem, 6vw, 5.3rem);
    font-weight: 300;
    letter-spacing: -0.07em;
    line-height: 0.82;
}

.handmade-art strong {
    font-weight: 850;
}

.resin-shape {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.75);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(41, 122, 231, 0.22));
    box-shadow: inset 0 0 2rem rgba(255, 255, 255, 0.65), 0 1rem 2rem rgba(47, 103, 172, 0.16);
    backdrop-filter: blur(8px);
}

.resin-shape--one {
    top: 14%;
    left: 14%;
    width: 8rem;
    height: 8rem;
    border-radius: 31% 69% 62% 38% / 40% 36% 64% 60%;
    transform: rotate(18deg);
}

.resin-shape--two {
    top: 9%;
    right: 12%;
    width: 6rem;
    height: 9rem;
    border-radius: 50% 50% 42% 58% / 38% 46% 54% 62%;
    transform: rotate(-14deg);
}

.resin-shape--three {
    top: 38%;
    right: 22%;
    width: 5rem;
    height: 5rem;
    border-radius: 1.1rem;
    transform: rotate(30deg);
}

.handmade-tags span {
    background: var(--site-bg);
}

.handmade-note {
    padding-left: 1rem;
    border-left: 2px solid var(--site-blue);
    font-size: 0.88rem !important;
}

.section--team {
    background: var(--site-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: clamp(3rem, 6vw, 5rem);
}

.team-card {
    padding: 1rem 1rem 1.6rem;
    border: 1px solid var(--site-line);
    border-radius: 1.45rem;
    background: var(--site-surface);
    box-shadow: 0 1rem 2.7rem var(--site-shadow);
}

.team-card__portrait {
    position: relative;
    display: grid;
    min-height: 16rem;
    place-items: center;
    border-radius: 1rem;
    overflow: hidden;
}

.team-card__portrait::before,
.team-card__portrait::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    content: "";
}

.team-card__portrait::before {
    width: 14rem;
    height: 14rem;
    transform: translate(25%, -35%);
}

.team-card__portrait::after {
    width: 8rem;
    height: 8rem;
    transform: translate(-60%, 65%);
}

.team-card__portrait span {
    position: relative;
    z-index: 1;
    color: #ffffff;
    font-size: 3.2rem;
    font-weight: 850;
    letter-spacing: -0.08em;
}

.team-card__portrait--bent { background: linear-gradient(145deg, #0e4da4, #3990fa); }
.team-card__portrait--jaspar { background: linear-gradient(145deg, #142e55, #4775b4); }

.team-card__role {
    min-height: 2.2rem;
    margin: 1.4rem 0 0;
    color: var(--site-blue);
    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.team-card h3 {
    margin: 0.4rem 0 0;
    color: var(--site-text);
    font-size: 1.55rem;
}

.team-card > p:not(.team-card__role) {
    margin: 0.85rem 0 0;
    color: var(--site-muted);
    font-size: 0.88rem;
    line-height: 1.62;
}

.team-card ul {
    margin: 1.15rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--site-line);
}

.team-card li {
    font-size: 0.78rem;
}

.section--patreon {
    background: var(--site-bg);
}

.patreon-panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1.2fr) minmax(15rem, 0.7fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4rem);
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid var(--site-line);
    border-radius: 1.7rem;
    background: var(--site-surface);
    box-shadow: 0 1.3rem 3rem var(--site-shadow);
}

.patreon-panel__mark {
    display: grid;
    width: 6.5rem;
    height: 6.5rem;
    place-items: center;
    border-radius: 1.8rem;
    background: var(--site-blue);
    color: #ffffff;
    font-size: 2.6rem;
    font-weight: 850;
    box-shadow: 0 1rem 2rem color-mix(in srgb, var(--site-blue) 28%, transparent);
}

.patreon-panel h2 {
    margin: 0;
    color: var(--site-text);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
}

.patreon-panel__copy > p:last-child {
    margin: 0.9rem 0 0;
    color: var(--site-muted);
    line-height: 1.6;
}

.patreon-panel__perks {
    display: grid;
    gap: 0.45rem;
}

.patreon-panel__perks span,
.patreon-panel__perks button {
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--site-line);
    border-radius: 0.7rem;
    background: var(--site-bg);
    color: var(--site-muted);
    font: inherit;
    font-size: 0.72rem;
    font-weight: 750;
}

.patreon-panel__perks button {
    margin-top: 0.4rem;
    background: var(--site-blue-soft);
    color: var(--site-blue);
    opacity: 1;
}

.section--wiki {
    background: var(--site-surface);
}

.wiki-feature {
    display: grid;
    grid-template-columns: minmax(18rem, 0.9fr) minmax(22rem, 1.1fr);
    align-items: center;
    gap: clamp(3rem, 8vw, 8rem);
}

.wiki-feature__visual {
    position: relative;
    min-height: 34rem;
    border-radius: 2rem;
    background:
        radial-gradient(circle at center, rgba(66, 142, 255, 0.35), transparent 40%),
        linear-gradient(145deg, #091b39, #0a3c7f 60%, #1269c8);
    box-shadow: 0 1.8rem 4.5rem rgba(7, 40, 82, 0.28);
    overflow: hidden;
}

.wiki-feature__visual::before {
    position: absolute;
    inset: 10%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    content: "";
}

.wiki-feature__visual img {
    position: absolute;
    width: 8.5rem;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    filter: drop-shadow(0 1rem 1.4rem rgba(0, 0, 0, 0.3));
}

.wiki-feature__visual img:nth-child(1) { top: 12%; left: 11%; transform: rotate(-8deg); }
.wiki-feature__visual img:nth-child(2) { top: 20%; right: 9%; width: 7rem; transform: rotate(9deg); }
.wiki-feature__visual img:nth-child(3) { right: 22%; bottom: 12%; width: 9rem; transform: rotate(-3deg); }

.wiki-feature__visual > span {
    position: absolute;
    bottom: 14%;
    left: 14%;
    color: #ffffff;
    font-size: 3.8rem;
    font-weight: 850;
    letter-spacing: -0.08em;
}

.wiki-feature__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 1.6rem 0 2rem;
}

.wiki-feature__links a {
    padding: 0.52rem 0.78rem;
    border: 1px solid var(--site-line);
    border-radius: 999px;
    color: var(--site-muted);
    font-size: 0.73rem;
    font-weight: 750;
    text-decoration: none;
}

.wiki-feature__links a:hover {
    border-color: var(--site-blue);
    color: var(--site-blue);
}

.section--contact {
    background:
        linear-gradient(
            90deg,
            color-mix(in srgb, var(--site-bg) 92%, transparent),
            color-mix(in srgb, var(--site-bg) 82%, transparent),
            color-mix(in srgb, var(--site-bg) 92%, transparent)
        ),
        url("/assets/images/brand/passive-perfection-panorama.png") center 62% / cover no-repeat,
        var(--site-bg);
}

.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(21rem, 0.9fr);
    gap: clamp(3rem, 7vw, 7rem);
    padding: clamp(2rem, 6vw, 5rem);
    border: 1px solid var(--site-line);
    border-radius: 2rem;
    background: var(--site-surface);
    box-shadow: 0 1.5rem 4rem var(--site-shadow);
}

.contact-panel__copy > p:last-child {
    margin: 1.25rem 0 0;
    color: var(--site-muted);
    line-height: 1.7;
}

.contact-panel__details {
    display: grid;
    gap: 0.75rem;
}

.contact-panel__details article,
.contact-placeholder {
    padding: 1.2rem;
    border: 1px solid var(--site-line);
    border-radius: 1rem;
    background: var(--site-bg);
}

.contact-panel__details h3 {
    margin: 0.55rem 0 0;
    color: var(--site-text);
    font-size: 1rem;
}

.contact-panel__details p {
    margin: 0.35rem 0 0;
    color: var(--site-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.contact-placeholder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--site-blue-soft);
}

.contact-placeholder p {
    margin: 0;
    color: var(--site-blue-ink);
}

.contact-placeholder span {
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
    background: var(--site-surface);
    color: var(--site-blue);
    font-size: 0.65rem;
    font-weight: 850;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-footer {
    padding: 4rem 0 1.5rem;
    border-top: 1px solid var(--site-line);
    background: var(--site-surface);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(18rem, 1.6fr) repeat(3, minmax(8rem, 0.8fr));
    gap: clamp(2rem, 6vw, 5rem);
}

.site-brand--footer img {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1.15rem;
}

.site-footer__brand p {
    max-width: 20rem;
    margin: 1rem 0 0;
    color: var(--site-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.site-footer__column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.72rem;
}

.site-footer__column h2 {
    margin: 0 0 0.5rem;
    color: var(--site-text);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer__column a,
.footer-placeholder {
    color: var(--site-muted);
    font-size: 0.8rem;
    text-decoration: none;
}

.site-footer__column a:hover {
    color: var(--site-blue);
}

.footer-placeholder {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-placeholder small {
    padding: 0.2rem 0.4rem;
    border-radius: 999px;
    background: var(--site-bg);
    color: var(--site-muted);
    font-size: 0.55rem;
    font-weight: 800;
    text-transform: uppercase;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--site-line);
}

.site-footer__bottom p {
    margin: 0;
    color: var(--site-muted);
    font-size: 0.7rem;
}

.site-footer__ai-note,
.ai-disclosure--wiki {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.site-footer__ai-note {
    flex: 1 0 100%;
    padding-top: 0.25rem;
    opacity: 0.78;
}

.ai-disclosure__badge {
    display: inline-grid;
    min-width: 1.65rem;
    min-height: 1.15rem;
    flex: 0 0 auto;
    place-items: center;
    padding: 0.08rem 0.32rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 0.5rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    line-height: 1;
}

.ai-disclosure--wiki {
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    padding: 0.8rem 1rem 1rem;
    border-top: 1px solid var(--border);
    background: var(--alt-bg);
    color: var(--muted-fg);
    font-size: 0.64rem;
    line-height: 1.45;
    opacity: 0.78;
}

.ai-disclosure--wiki p {
    margin: 0;
}

/* ── Wiki hub and legal pages ───────────────────────────────────────────── */

.wiki-hero {
    padding: clamp(4.5rem, 9vw, 8.5rem) 0 clamp(3rem, 6vw, 5rem);
    background:
        linear-gradient(
            90deg,
            color-mix(in srgb, var(--site-bg) 97%, transparent) 0%,
            color-mix(in srgb, var(--site-bg) 90%, transparent) 46%,
            color-mix(in srgb, var(--site-bg) 72%, transparent) 100%
        ),
        linear-gradient(180deg, transparent 55%, var(--site-bg) 100%),
        url("/assets/images/brand/passive-perfection-panorama.png") center 46% / cover no-repeat,
        var(--site-bg);
}

.wiki-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
    align-items: center;
    gap: clamp(3rem, 8vw, 8rem);
}

.wiki-hero__copy > p:not(.eyebrow) {
    max-width: 43rem;
    margin: 1.4rem 0 0;
    color: var(--site-muted);
    font-size: 1.06rem;
    line-height: 1.7;
}

.wiki-hero__panel {
    position: relative;
    min-height: 25rem;
    padding: 1.5rem;
    border-radius: 1.8rem;
    background: linear-gradient(145deg, #09244c, #0d68d7);
    color: #ffffff;
    box-shadow: 0 2rem 4rem rgba(8, 49, 101, 0.25);
    overflow: hidden;
}

.wiki-hero__panel > p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.wiki-hero__panel > strong {
    display: block;
    margin-top: 2.6rem;
    font-size: 6rem;
    letter-spacing: -0.09em;
    line-height: 0.8;
}

.wiki-hero__panel > span {
    display: block;
    max-width: 10rem;
    margin-top: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
    line-height: 1.45;
}

.wiki-hero__orbit img {
    position: absolute;
    right: -1rem;
    bottom: -1rem;
    width: 9rem;
    border-radius: 50%;
    filter: drop-shadow(0 1rem 1.2rem rgba(0, 0, 0, 0.25));
}

.wiki-hero__orbit img:nth-child(2) { right: 5rem; bottom: 1rem; width: 7rem; }
.wiki-hero__orbit img:nth-child(3) { right: 1rem; bottom: 7rem; width: 6rem; }

.wiki-categories {
    background: var(--site-surface);
}

.wiki-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: clamp(3rem, 6vw, 5rem);
}

.wiki-card {
    position: relative;
    display: flex;
    min-height: 23rem;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
    border: 1px solid var(--site-line);
    border-radius: 1.25rem;
    background: var(--site-bg);
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    transition: transform 200ms ease, border-color 200ms ease;
}

.wiki-card:hover {
    border-color: var(--site-blue);
    transform: translateY(-4px);
}

.wiki-card > img {
    width: 7rem;
    height: 7rem;
    margin: 0.7rem auto 1.6rem;
    object-fit: contain;
    filter: drop-shadow(0 0.65rem 0.75rem rgba(15, 64, 120, 0.14));
}

.wiki-card__index {
    position: absolute;
    top: 1.15rem;
    right: 1.15rem;
    color: var(--site-muted);
    font-size: 0.65rem;
    font-weight: 850;
}

.wiki-card h3 {
    margin: 0;
    color: var(--site-text);
    font-size: 1.45rem;
}

.wiki-card > p {
    margin: 0.7rem 0 0;
    color: var(--site-muted);
    font-size: 0.82rem;
    line-height: 1.55;
}

.wiki-card .text-link {
    margin-top: auto;
    padding-top: 1.25rem;
}

.wiki-philosophy {
    background: var(--site-bg);
}

.wiki-philosophy__grid {
    display: grid;
    grid-template-columns: 0.45fr 1.1fr 0.8fr;
    gap: clamp(2rem, 6vw, 6rem);
    align-items: start;
}

.wiki-philosophy h2 {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.wiki-philosophy__grid > p:not(.section-kicker) {
    margin: 0;
    color: var(--site-muted);
    line-height: 1.7;
}

.wiki-philosophy__tags {
    grid-column: 2 / -1;
    margin-top: -2rem;
}

.legal-page {
    min-height: 70vh;
    padding: clamp(4rem, 8vw, 8rem) 0;
    background: var(--site-bg);
}

.legal-card {
    max-width: 52rem;
    padding: clamp(2rem, 6vw, 5rem);
    border: 1px solid var(--site-line);
    border-radius: 1.7rem;
    background: var(--site-surface);
    box-shadow: 0 1.4rem 3.5rem var(--site-shadow);
}

.legal-card__lead {
    margin: 1.3rem 0 0;
    color: var(--site-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.legal-placeholder {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.2rem;
    border: 1px solid var(--site-line);
    border-radius: 1rem;
    background: var(--site-bg);
}

.legal-placeholder > span {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 50%;
    background: var(--site-blue-soft);
    color: var(--site-blue);
    font-weight: 850;
}

.legal-placeholder h2 {
    margin: 0;
    color: var(--site-text);
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.legal-placeholder p {
    margin: 0.4rem 0 0;
    color: var(--site-muted);
    font-size: 0.86rem;
    line-height: 1.55;
}

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

.site-body.has-js .reveal {
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.site-body.has-js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.site-body.has-js .reveal.reveal--anchored {
    transform: none;
    transition-property: opacity;
}

@media (max-width: 1080px) {
    .menu-toggle {
        display: block;
    }

    .site-header__inner {
        position: relative;
    }

    .site-nav.is-open {
        position: absolute;
        top: calc(100% + 0.65rem);
        right: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.15rem;
        padding: 0.7rem;
        border: 1px solid var(--site-line);
        border-radius: 1.15rem;
        background: var(--site-surface);
        box-shadow: 0 1.25rem 3rem var(--site-shadow);
    }

    .site-nav.is-open a {
        padding: 0.75rem 0.9rem;
        border-radius: 0.7rem;
    }

    .site-nav.is-open a:hover,
    .site-nav.is-open a.is-active {
        background: var(--site-blue-soft);
        color: var(--site-blue);
    }

    .site-nav.is-open a::after {
        display: none;
    }

    .quality-process {
        grid-template-columns: repeat(3, 1fr);
    }

    .studio-values {
        grid-template-columns: repeat(2, 1fr);
    }

    .quality-step {
        min-height: 12rem;
    }

    .quality-step h3 {
        margin-top: 2.4rem;
    }

    .set-showcase {
        grid-template-columns: repeat(3, 1fr);
    }

    .set-showcase__intro {
        grid-column: 1 / -1;
    }

    .wiki-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer__grid {
        grid-template-columns: 1.4fr repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 820px) {
    .section-heading--split,
    .intro-grid,
    .custom-grid,
    .quality-header,
    .handmade-grid,
    .wiki-feature,
    .contact-panel,
    .wiki-hero__grid,
    .wiki-philosophy__grid {
        grid-template-columns: 1fr;
    }

    .section-heading--split {
        align-items: start;
    }

    .studio-values,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .value-card {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 1rem;
    }

    .value-card h3 {
        margin: 0;
    }

    .value-card p {
        grid-column: 2;
    }

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

    .quality-check {
        grid-template-columns: 1fr;
    }

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

    .patreon-panel__perks {
        grid-column: 1 / -1;
        grid-template-columns: repeat(4, 1fr);
    }

    .team-card {
        display: grid;
        grid-template-columns: minmax(12rem, 0.75fr) minmax(0, 1.25fr);
        column-gap: 1.2rem;
    }

    .team-card__portrait {
        grid-row: 1 / 6;
    }

    .team-card__role,
    .team-card h3,
    .team-card > p:not(.team-card__role),
    .team-card ul {
        grid-column: 2;
    }

    .team-card__role {
        margin-top: 0.5rem;
    }

    .wiki-philosophy__tags {
        grid-column: auto;
        margin-top: 0;
    }

    .site-footer__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .site-header__actions {
        gap: 0.3rem;
    }

    .language-toggle {
        min-height: 2.35rem;
        padding-inline: 0.65rem;
    }

    .theme-toggle,
    .menu-toggle {
        width: 2.35rem;
        min-height: 2.35rem;
        height: 2.35rem;
    }

    .section {
        padding: 5rem 0;
    }

    .section-heading h2,
    .custom-copy h2,
    .quality-header h2,
    .handmade-copy h2,
    .wiki-feature__copy h2,
    .contact-panel__copy h2,
    .wiki-hero h1,
    .legal-card h1 {
        font-size: clamp(2.35rem, 12vw, 3.5rem);
    }

    .hero__actions,
    .hero__actions .button {
        width: 100%;
    }

    .product-grid,
    .set-showcase,
    .quality-process,
    .quality-check ul,
    .wiki-card-grid {
        grid-template-columns: 1fr;
    }

    .product-card--wide,
    .set-showcase__intro {
        grid-column: auto;
    }

    .product-card {
        grid-template-rows: 15rem 1fr;
    }

    .product-card--wide {
        grid-template-rows: 15rem 1fr;
    }

    .product-card__visual {
        min-height: 15rem;
    }

    .custom-process {
        padding: 0.4rem;
    }

    .quality-step {
        min-height: auto;
    }

    .quality-step h3 {
        margin-top: 1.5rem;
    }

    .handmade-art,
    .wiki-feature__visual {
        min-height: 27rem;
    }

    .team-card {
        display: block;
    }

    .team-card__portrait {
        min-height: 14rem;
    }

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

    .patreon-panel__mark {
        width: 4rem;
        height: 4rem;
        border-radius: 1.1rem;
        font-size: 1.7rem;
    }

    .patreon-panel__perks {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .contact-panel {
        padding: 1.4rem;
    }

    .contact-placeholder {
        align-items: flex-start;
        flex-direction: column;
    }

    .wiki-hero__panel {
        min-height: 22rem;
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }

    .site-footer__column:last-child {
        grid-column: 1 / -1;
    }

    .site-footer__bottom {
        flex-direction: column;
    }
}

@media (max-width: 380px) {
    .hero__feature-visual {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .hero__brand-mark {
        width: 7.25rem;
    }

    .hero__feature-visual p {
        font-size: 2.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    .site-body.has-js .reveal {
        opacity: 1;
        transform: none;
    }

    .wiki-body,
    .wiki-body *,
    .wiki-body *::before,
    .wiki-body *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .wiki-theme-toggle:hover {
        transform: none;
    }
}

/* Quiet studio surfaces; the landscape closes the homepage at the contact section. */
.site-home .hero {
    background: radial-gradient(ellipse at 85% 15%, var(--site-blue-soft), transparent 58%),
        linear-gradient(155deg, var(--site-surface), var(--site-bg) 70%);
}
.site-home .hero::before { content: none; }
.site-home .section--intro,
.site-home .section--custom {
    background: radial-gradient(ellipse at 0% 45%, color-mix(in srgb, var(--site-blue-soft) 45%, transparent), transparent 65%), var(--site-surface);
}
.site-home .section--contact { position: relative; isolation: isolate; overflow: hidden; background: var(--site-bg); }
.contact-landscape { position: absolute; z-index: -2; inset: -48px 0; width: 100%; height: calc(100% + 96px); object-fit: cover; object-position: center; pointer-events: none; }
.site-home .section--contact::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--site-bg) 88%, transparent), color-mix(in srgb, var(--site-bg) 65%, transparent)), linear-gradient(0deg, var(--site-bg), transparent 30%, transparent 75%, var(--site-bg)); }
.site-home .contact-panel { background: color-mix(in srgb, var(--site-surface) 85%, transparent); }
@media (prefers-reduced-motion: no-preference) {
    .site-home .studio-values > :nth-child(2), .site-home .team-grid > :nth-child(2) { transition-delay: 70ms; }
    .site-home .studio-values > :nth-child(3), .site-home .team-grid > :nth-child(3) { transition-delay: 140ms; }
}
@media (prefers-reduced-motion: reduce) { .contact-landscape { transform: none !important; } }

/* Light palette: blue section bands, white cards and visible boundaries. */
.site-body:not([data-theme="dark"]) {
    --site-bg: #eaf2ff;
    --site-surface: #ffffff;
    --site-surface-2: #dceaff;
    --site-surface-soft: #e2edff;
    --site-text: #102b50;
    --site-muted: #465f80;
    --site-line: #adc6e8;
    --site-blue: #145dcc;
    --site-blue-strong: #104ba6;
    --site-blue-soft: #cfe2ff;
    --site-blue-ink: #123f80;
    --site-shadow: rgba(22, 65, 125, 0.14);
}

.site-body:not([data-theme="dark"]) .site-header {
    border-bottom-color: var(--site-line);
    background: rgba(255, 255, 255, 0.95);
}

.site-home:not([data-theme="dark"]) .section {
    border-top: 1px solid var(--site-line);
}

.site-home:not([data-theme="dark"]) :is(.section--intro, .section--handmade, .section--wiki) {
    background: var(--site-surface);
}

.site-home:not([data-theme="dark"]) :is(.section--products, .section--team) {
    background: linear-gradient(135deg, var(--site-bg), var(--site-surface-2));
}

.site-home:not([data-theme="dark"]) .section--custom {
    background: var(--site-surface-soft);
}

.site-home:not([data-theme="dark"]) .section--patreon {
    background: var(--site-surface);
}

.site-home:not([data-theme="dark"]) :is(.product-card, .team-card, .set-card, .set-showcase__intro, .custom-process, .contact-panel) {
    border-color: var(--site-line);
    background: var(--site-surface);
    box-shadow: 0 0.6rem 1.8rem var(--site-shadow);
}

.site-home:not([data-theme="dark"]) :is(.value-card, .patreon-panel) {
    border-color: var(--site-line);
    background: var(--site-surface-soft);
    box-shadow: 0 0.4rem 1.2rem var(--site-shadow);
}

.site-body:not([data-theme="dark"]) .site-footer {
    border-top: 1px solid var(--site-line);
    background: var(--site-surface-2);
}

/* Legal notice: readable sections in both site themes. */
.imprint-details {
    display: grid;
    gap: 1.75rem;
    margin-block: 2rem;
}

.imprint-details[hidden] {
  display: none;
}

.imprint-details h2 {
    font-size: 1.2rem;
    margin: 0 0 0.6rem;
}

.imprint-details p {
    margin: 0;
    line-height: 1.75;
}

.imprint-details a {
    overflow-wrap: anywhere;
    text-decoration: underline;
}

/* Give both all-or-nothing choices equal prominence. */
.privacy-panel, .privacy-opener {
    color: #172d49;
    background: #fff;
    border: 2px solid #366896;
    font: 1rem/1.5 system-ui, sans-serif;
    border-radius: .6rem;
    box-shadow: 0 4px 24px #0003;
}
.privacy-panel {
    position: fixed;
    z-index: 10000;
    bottom: 4.5rem;
    right: 1rem;
    width: min(38rem, calc(100vw - 2rem));
    max-height: calc(100dvh - 6rem);
    overflow-y: auto;
    box-sizing: border-box;
    padding: 1.25rem;
}
.privacy-panel[hidden] { display: none; }
.privacy-panel h2 { font-size: 1.3rem; margin: 0 0 .75rem; }
.privacy-panel p { margin: .75rem 0; }
.privacy-purpose { display: block; padding: .8rem 0; border-top: 1px solid currentColor; }
.privacy-purpose small { display: block; }
.privacy-panel label { display: flex; gap: .6rem; align-items: baseline; cursor: pointer; }
.privacy-required { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.privacy-panel input { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; }
.privacy-panel a { color: #174f86; text-decoration: underline; }
.privacy-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.privacy-actions button, .privacy-opener { padding: .65rem .8rem; cursor: pointer; }
.privacy-actions button { flex: 1 1 10rem; background: #e9f2fb; color: #172d49; border: 1px solid #366896; border-radius: .4rem; font: inherit; }
.privacy-actions [data-privacy-save] { flex-basis: 100%; }
.site-body[data-theme="dark"] .privacy-panel,
.site-body[data-theme="dark"] .privacy-opener { background: #202020; color: #eee; border-color: #555; }
.site-body[data-theme="dark"] .privacy-purpose { border-color: #555; }
.site-body[data-theme="dark"] .privacy-panel a { color: #b9dcff; }
.site-body[data-theme="dark"] .privacy-actions button { background: #202020; color: #eee; border-color: #777; }
.privacy-opener { position: fixed; z-index: 10001; bottom: 1rem; right: 1rem; }
.privacy-panel :focus-visible, .privacy-opener:focus-visible { outline: 3px solid #b34b00; outline-offset: 3px; }
