/* Singulus AI company homepage — vision-only system */

.home-vision-page {
    --home-paper: #f4f1e9;
    --home-paper-2: #ebe6da;
    --home-paper-3: #ddd6c8;
    --home-ink: #191917;
    --home-ink-2: #25241f;
    --home-muted: #5f5b53;
    --home-muted-light: #bcb5a9;
    --home-line: #b9b2a5;
    --home-line-dark: #4b4841;
    --home-rust: #bd4321;
    --home-rust-dark: #8c3018;
    --home-rust-light: #f09a78;
    --home-white: #fffaf1;
    --home-sans: "Geist", Arial, Helvetica, sans-serif;
    --home-mono: "Geist Mono", "Courier New", monospace;
    --home-ease: cubic-bezier(.22, .78, .22, 1);
    margin: 0;
    background: var(--home-paper);
    color: var(--home-ink);
    font-family: var(--home-sans);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: clip;
}

.home-vision-page *,
.home-vision-page *::before,
.home-vision-page *::after {
    box-sizing: border-box;
}

.home-vision-page a {
    color: inherit;
    text-decoration: none;
}

.home-vision-page button,
.home-vision-page a {
    -webkit-tap-highlight-color: transparent;
}

.home-vision-page button {
    font: inherit;
}

.home-vision-page :focus-visible {
    outline: 3px solid var(--home-rust);
    outline-offset: 4px;
    border-radius: 2px;
}

.home-genesis :focus-visible,
.home-specialists :focus-visible,
.home-self :focus-visible,
.home-horizon :focus-visible,
.home-footer :focus-visible {
    outline-color: var(--home-rust-light);
}

.home-vision-page ::selection {
    background: var(--home-rust);
    color: var(--home-white);
}

.home-vision-page html,
html:has(.home-vision-page) {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

.home-container {
    width: min(100% - clamp(2rem, 6vw, 7.5rem), 88rem);
    margin-inline: auto;
}

.home-main > section {
    scroll-margin-top: 5rem;
}

.home-hero {
    container: home-hero / inline-size;
}

.home-section > .home-container,
.home-horizon > .home-container,
.home-contact > .home-container {
    container: home-section / inline-size;
}

.home-hero h1,
.home-split-head h2,
.home-section-head h2,
.home-contact h2,
.home-horizon h2,
.home-vision-page button strong,
.home-vision-page figcaption strong,
.home-foundry-output strong,
.home-ecology-readout strong,
.home-native-readout strong,
.home-scale-readout strong,
.home-succession-readout strong {
    overflow-wrap: anywhere;
}

.home-vision-page :where(h1, h2, h3, p, li, button, figcaption, strong, small, span) {
    min-width: 0;
    overflow-wrap: anywhere;
}

.home-foundry-gap,
.home-foundry-core,
.home-ecology-core,
.home-native-core,
.home-native-network,
.home-self-core,
.home-self-readout,
.home-team-card > div {
    min-width: 0;
}

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

.home-vision-page .skip-link {
    position: fixed;
    inset: .75rem auto auto .75rem;
    z-index: 1000;
    padding: .75rem 1rem;
    background: var(--home-ink);
    color: var(--home-white);
    font-weight: 700;
    transform: translateY(-180%);
    transition: transform .18s ease;
}

.home-vision-page .skip-link:focus {
    top: .75rem;
    transform: translateY(0);
}

/* Navigation */

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

.home-nav {
    min-height: 4.75rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.home-logo {
    display: inline-flex;
    align-items: center;
    gap: .72rem;
    flex: 0 0 auto;
    font-family: var(--home-mono);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .1em;
}

.home-mark {
    width: 1.9rem;
    height: 1.9rem;
    flex: 0 0 auto;
}

.home-mark-a {
    stroke: var(--home-rust);
    stroke-width: 3.1;
    stroke-linecap: round;
}

.home-mark-b {
    stroke: currentColor;
    stroke-width: 3.1;
    stroke-linecap: round;
}

.home-mark-dust-a rect { fill: var(--home-rust); opacity: .75; }
.home-mark-dust-b rect { fill: currentColor; opacity: .55; }
.home-mark-star { fill: var(--home-rust); }

.home-logo:hover .home-mark-a,
.home-logo:hover .home-mark-star { stroke: var(--home-rust-dark); fill: var(--home-rust-dark); }

.home-nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(.75rem, 1.3vw, 1.35rem);
    min-width: 0;
    margin-left: auto;
}

.home-nav-links a {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    font-size: .84rem;
    font-weight: 600;
    white-space: nowrap;
}

.home-nav-links a:not(.home-nav-cta):hover {
    color: var(--home-rust-dark);
}

.home-nav-cta {
    padding-inline: 1.15rem;
    border: 1px solid var(--home-ink);
    border-radius: 999px;
}

.home-nav-cta:hover {
    background: var(--home-ink);
    color: var(--home-white);
}

.home-nav-toggle {
    min-width: 4.75rem;
    min-height: 2.75rem;
    margin-left: auto;
    padding: 0 .9rem;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    border: 1px solid var(--home-ink);
    border-radius: 999px;
    background: transparent;
    color: var(--home-ink);
    font-family: var(--home-mono);
    font-size: .8125rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.home-nav-toggle[hidden] { display: none !important; }

.home-nav-toggle i {
    width: .95rem;
    height: .7rem;
    display: grid;
    align-content: space-between;
}

.home-nav-toggle i span {
    width: 100%;
    height: 1px;
    background: currentColor;
}

/* Product dropdown */
.home-nav-group {
    position: relative;
    display: inline-flex;
}

.home-nav-group-toggle {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font-size: .84rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.home-nav-group-toggle svg {
    width: .6rem;
    height: .38rem;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    transition: transform .18s var(--home-ease);
}

.home-nav-group-toggle:hover { color: var(--home-rust-dark); }
.home-nav-group.is-open .home-nav-group-toggle svg { transform: rotate(180deg); }

html.home-js .home-nav-sub {
    position: absolute;
    top: calc(100% + .4rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 10.5rem;
    padding: .45rem;
    display: none;
    border: 1px solid var(--home-ink);
    background: var(--home-paper);
    box-shadow: .5rem .5rem 0 rgba(189, 67, 33, .12);
    z-index: 40;
}

html.home-js .home-nav-group.is-open .home-nav-sub { display: grid; }

.home-nav-sub a {
    min-height: 2.9rem;
    padding: .5rem .8rem;
    display: inline-flex;
    align-items: center;
    font-size: .84rem;
    font-weight: 600;
}

.home-nav-sub a + a { border-top: 1px solid var(--home-line); }
.home-nav-sub a:hover { color: var(--home-rust-dark); }

/* Shared editorial system */

.home-section {
    padding-block: clamp(2.75rem, 5vw, 4.5rem);
    border-top: 1px solid var(--home-line);
}

.home-section-label {
    margin: 0 0 1rem;
    color: var(--home-rust-dark);
    font-family: var(--home-mono);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.home-section-label--light {
    color: var(--home-rust-light);
}

.home-split-head {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .75fr);
    align-items: end;
    gap: clamp(3rem, 7vw, 7rem);
    margin-bottom: clamp(3.5rem, 6vw, 6rem);
}

.home-split-head h2,
.home-section-head h2,
.home-contact h2,
.home-horizon h2 {
    margin: 0;
    font-size: clamp(3rem, 5.4vw, 5rem);
    font-weight: 700;
    line-height: .96;
    letter-spacing: -.052em;
    text-wrap: balance;
}

.home-split-head > div:last-child > p,
.home-split-head > p,
.home-section-head > p:last-child,
.home-contact-copy > p {
    margin: 0;
    color: var(--home-muted);
    font-size: clamp(1.05rem, 1.35vw, 1.22rem);
    line-height: 1.56;
}

.home-emphasis-line {
    margin-top: 1.25rem !important;
    padding-top: 1.25rem;
    border-top: 1px solid var(--home-line);
    color: var(--home-ink) !important;
    font-weight: 650;
}

.home-split-head--dark,
.home-split-head--dark > p,
.home-split-head--dark > div:last-child > p {
    color: var(--home-white);
}

.home-emphasis-line--dark {
    border-color: var(--home-line-dark);
    color: var(--home-white) !important;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.home-btn {
    min-height: 3.5rem;
    padding: .75rem 1.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border: 1px solid var(--home-ink);
    border-radius: 999px;
    font-size: .98rem;
    font-weight: 700;
    transition: transform .18s ease, background-color .18s ease, color .18s ease;
}

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

.home-btn--primary {
    background: var(--home-ink);
    color: var(--home-white) !important;
}

.home-btn--primary:hover {
    background: var(--home-rust-dark);
    border-color: var(--home-rust-dark);
}

.home-btn--secondary {
    background: transparent;
}

.home-btn--secondary:hover {
    background: var(--home-white);
}

/* Hero */

.home-hero {
    position: relative;
    min-height: calc(100svh - 4.75rem);
    display: grid;
    align-items: center;
    overflow: clip;
    border-bottom: 1px solid var(--home-line);
}

.home-grid-field {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, color-mix(in srgb, var(--home-line) 25%, transparent) 1px, transparent 1px),
        linear-gradient(to bottom, color-mix(in srgb, var(--home-line) 25%, transparent) 1px, transparent 1px);
    background-size: 5rem 5rem;
    mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.7) 75%, transparent 100%);
}

.home-hero-layout {
    position: relative;
    padding-block: clamp(3.5rem, 7vh, 6rem);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(3rem, 5vw, 5.5rem);
}

.home-hero-copy {
    min-width: 0;
}

.home-hero h1 {
    margin: 0;
    max-width: 8.8em;
    font-size: clamp(4rem, 4.85vw, 5.15rem);
    font-weight: 700;
    line-height: .92;
    letter-spacing: -.062em;
}

.home-hero h1 span {
    display: block;
}

.home-hero h1 span:last-child {
    margin-top: .28em;
    font-size: .78em;
    line-height: 1.02;
    letter-spacing: -.045em;
}

.home-hero h1 em {
    color: var(--home-rust);
    font-style: normal;
}

.home-hero-intro {
    max-width: 38rem;
    margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.home-hero-intro p {
    margin: 0;
    color: #4f4b44;
    font-size: clamp(1.04rem, 1.3vw, 1.18rem);
    line-height: 1.55;
}

.home-hero-intro p + p {
    margin-top: .95rem;
    color: var(--home-ink);
}

.home-hero .home-actions {
    margin-top: clamp(1.5rem, 3vw, 2.2rem);
}

.home-hero-boundary {
    margin: 1.4rem 0 0;
    color: var(--home-muted);
    font-family: var(--home-mono);
    font-size: .8125rem;
    line-height: 1.5;
}

.home-hero-boundary span {
    margin-right: .5rem;
    color: var(--home-rust-dark);
    font-weight: 700;
    text-transform: uppercase;
}

/* Hero genesis visual */

.home-genesis {
    min-width: 0;
    margin: 0;
    border: 1px solid #34332e;
    background: var(--home-ink);
    color: var(--home-white);
    box-shadow: 1.2rem 1.2rem 0 color-mix(in srgb, var(--home-rust) 11%, transparent);
    container: genesis / inline-size;
}

.home-genesis-head {
    min-height: 4.25rem;
    padding: .75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--home-line-dark);
    color: var(--home-rust-light);
    font-family: var(--home-mono);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-genesis-toggle {
    min-width: 5.6rem;
    min-height: 2.75rem;
    padding: .55rem .85rem;
    display: none;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    border: 1px solid var(--home-muted-light);
    border-radius: 999px;
    background: transparent;
    color: var(--home-white);
    font-family: var(--home-mono);
    font-size: .8125rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.home-genesis-head-state {
    display: none;
}

.home-genesis-toggle i {
    width: .72rem;
    height: .72rem;
    display: inline-block;
    border: 2px solid currentColor;
    border-radius: 50%;
}

html.home-js .home-genesis.is-ready .home-genesis-toggle {
    display: inline-flex;
}

html.home-js .home-genesis.is-static .home-genesis-toggle {
    display: none;
}

.home-genesis-field {
    position: relative;
    min-height: 39.5rem;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 50% 45%, rgba(189,67,33,.16), transparent 32%),
        radial-gradient(circle, rgba(255,250,241,.12) 1px, transparent 1.2px);
    background-size: auto, 1.35rem 1.35rem;
}

.home-genesis-mandate {
    position: absolute;
    z-index: 5;
    top: 1.25rem;
    left: 50%;
    min-width: 15rem;
    padding: .72rem 1rem;
    display: grid;
    gap: .15rem;
    border: 1px solid var(--home-line-dark);
    background: #211f1b;
    transform: translateX(-50%);
    text-align: center;
}

.home-genesis-mandate span,
.home-genesis-core span,
.home-genesis-controls span,
.home-genesis-generations {
    font-family: var(--home-mono);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.home-genesis-mandate span {
    color: var(--home-rust-light);
}

.home-genesis-mandate strong {
    font-size: .84rem;
    font-weight: 600;
}

.home-genesis-orbits {
    position: absolute;
    z-index: 1;
    inset: 7% 5%;
    width: 90%;
    height: 86%;
    overflow: visible;
}

.home-genesis-orbits ellipse,
.home-genesis-orbits path {
    fill: none;
    stroke: #5d5950;
    stroke-width: 1;
    stroke-dasharray: 3 8;
}

.home-genesis-orbits ellipse:nth-child(2) {
    stroke: var(--home-rust-dark);
    stroke-dasharray: none;
    opacity: .55;
}

.home-genesis-core {
    position: absolute;
    z-index: 4;
    top: 47%;
    left: 50%;
    width: min(42%, 18rem);
    min-width: 15rem;
    aspect-ratio: 1;
    padding: 2.15rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--home-rust-light);
    border-radius: 50%;
    background: #201d19;
    box-shadow:
        0 0 0 1rem rgba(189,67,33,.08),
        0 0 4rem rgba(189,67,33,.2);
    transform: translate(-50%, -50%);
    text-align: center;
}

.home-genesis-core span {
    color: var(--home-rust-light);
}

.home-genesis-core strong {
    margin-top: .7rem;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.04;
    letter-spacing: -.03em;
}

.home-genesis-core p {
    margin: .8rem 0 0;
    color: var(--home-muted-light);
    font-size: .83rem;
    line-height: 1.45;
}

.home-genesis-controls button {
    position: absolute;
    z-index: 6;
    width: 9.5rem;
    min-height: 3.25rem;
    padding: .65rem .8rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: .6rem;
    border: 1px solid #68635a;
    background: #1c1b18;
    color: var(--home-white);
    text-align: left;
    cursor: pointer;
}

.home-genesis-controls button:disabled,
.home-foundry-controls button:disabled,
.home-ecology-controls button:disabled,
.home-native-controls button:disabled,
.home-self-controls button:disabled,
.home-scale-controls button:disabled,
.home-succession-line button:disabled {
    cursor: default;
}

.home-genesis-controls button span {
    color: var(--home-rust-light);
}

.home-genesis-controls button strong {
    min-width: 0;
    font-size: .85rem;
    line-height: 1.15;
}

.home-genesis-controls button:nth-child(1) { top: 19%; left: 2.5%; }
.home-genesis-controls button:nth-child(2) { top: 19%; right: 2.5%; }
.home-genesis-controls button:nth-child(3) { right: 2.5%; bottom: 20%; }
.home-genesis-controls button:nth-child(4) { left: 2.5%; bottom: 20%; }
.home-genesis-controls button:nth-child(5) { bottom: 3.2%; left: 50%; transform: translateX(-50%); }

.home-genesis-controls button.is-active {
    border-color: var(--home-rust-light);
    background: var(--home-rust);
    color: var(--home-white);
    box-shadow: 0 0 0 .2rem rgba(240,154,120,.12);
}

.home-genesis-controls button.is-active span {
    color: var(--home-white);
}

.home-genesis-generations {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 14.5%;
    display: flex;
    align-items: center;
    gap: .65rem;
    color: var(--home-muted-light);
    transform: translateX(-50%);
}

.home-genesis-generations i {
    color: var(--home-rust-light);
    font-style: normal;
}

.home-genesis-generations strong {
    color: var(--home-white);
}

html.home-js .home-genesis.is-ready .home-genesis-core,
html.home-js .home-genesis.is-ready .home-genesis-controls button,
html.home-js .home-genesis.is-ready .home-genesis-orbits,
html.home-js .home-genesis.is-ready .home-genesis-generations {
    transition: border-color .28s ease, box-shadow .28s ease, transform .55s var(--home-ease);
}

html.home-js .home-genesis.is-ready:not(.is-paused) .home-genesis-orbits {
    animation: home-genesis-turn 18s linear infinite;
}

@keyframes home-genesis-turn {
    to { transform: rotate(360deg); }
}

/* Capability foundry */

.home-foundry,
.home-native-studio,
.home-scale-studio,
.home-succession-studio {
    margin: 0;
    border: 1px solid var(--home-ink);
    background: color-mix(in srgb, var(--home-white) 44%, transparent);
}

.home-foundry > figcaption,
.home-ecology > figcaption,
.home-native-studio > figcaption,
.home-self-studio > figcaption,
.home-scale-studio > figcaption,
.home-succession-studio > figcaption {
    min-height: 4.6rem;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border-bottom: 1px solid currentColor;
}

.home-foundry figcaption span,
.home-ecology figcaption span,
.home-native-studio figcaption span,
.home-self-studio figcaption span,
.home-scale-studio figcaption span,
.home-succession-studio figcaption span,
.home-foundry-output span,
.home-ecology-readout span,
.home-native-readout span,
.home-scale-readout span,
.home-succession-readout span {
    font-family: var(--home-mono);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.home-foundry figcaption strong,
.home-ecology figcaption strong,
.home-native-studio figcaption strong,
.home-self-studio figcaption strong,
.home-scale-studio figcaption strong,
.home-succession-studio figcaption strong {
    font-size: 1rem;
    text-align: right;
}

.home-foundry-layout {
    padding: clamp(1.5rem, 4vw, 3.5rem);
    display: grid;
    grid-template-columns: minmax(11rem, .8fr) minmax(11rem, .72fr) minmax(22rem, 1.6fr);
    align-items: center;
    gap: clamp(1.25rem, 3vw, 3rem);
}

.home-foundry-gap,
.home-foundry-core {
    min-height: 13.5rem;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--home-line);
    background: var(--home-paper);
}

.home-foundry-gap span,
.home-foundry-core span,
.home-native-core span,
.home-self-core span {
    color: var(--home-rust-dark);
    font-family: var(--home-mono);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.home-foundry-gap strong,
.home-foundry-core strong {
    margin-top: .75rem;
    font-size: clamp(1.35rem, 2.1vw, 2.05rem);
    line-height: 1.04;
    letter-spacing: -.035em;
}

.home-foundry-gap i {
    width: 70%;
    height: 1px;
    margin-top: 1.4rem;
    background: var(--home-rust);
}

.home-foundry-core {
    position: relative;
    border-radius: 50%;
    border-color: var(--home-rust);
    background: var(--home-ink);
    color: var(--home-white);
    text-align: center;
}

.home-foundry-core span {
    color: var(--home-rust-light);
}

.home-foundry-core i {
    position: absolute;
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: var(--home-rust-light);
}

.home-foundry-core i:nth-of-type(1) { top: 13%; left: 22%; }
.home-foundry-core i:nth-of-type(2) { top: 31%; right: 10%; }
.home-foundry-core i:nth-of-type(3) { bottom: 13%; left: 40%; }

.home-foundry-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--home-line);
    border-left: 1px solid var(--home-line);
}

.home-foundry-controls button,
.home-ecology-controls button,
.home-native-controls button,
.home-self-controls button,
.home-scale-controls button,
.home-succession-line button {
    min-height: 4.75rem;
    padding: .9rem 1rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: .7rem;
    border: 0;
    border-right: 1px solid var(--home-line);
    border-bottom: 1px solid var(--home-line);
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.home-foundry-controls button span,
.home-ecology-controls button span,
.home-native-controls button span,
.home-self-controls button span,
.home-scale-controls button span,
.home-succession-line button span {
    color: var(--home-rust-dark);
    font-family: var(--home-mono);
    font-size: .8125rem;
    font-weight: 700;
}

.home-foundry-controls button strong,
.home-native-controls button strong,
.home-self-controls button strong,
.home-scale-controls button strong,
.home-succession-line button strong {
    min-width: 0;
    font-size: .87rem;
    line-height: 1.25;
}

.home-foundry-controls button.is-active,
.home-native-controls button.is-active,
.home-scale-controls button.is-active,
.home-succession-line button.is-active {
    background: var(--home-ink);
    color: var(--home-white);
}

.home-foundry-controls button.is-active span,
.home-native-controls button.is-active span,
.home-scale-controls button.is-active span,
.home-succession-line button.is-active span {
    color: var(--home-rust-light);
}

.home-foundry-output,
.home-ecology-readout,
.home-native-readout,
.home-scale-readout,
.home-succession-readout {
    min-height: 6rem;
    padding: 1.25rem;
    display: grid;
    grid-template-columns: minmax(12rem, .45fr) minmax(0, 1fr);
    align-items: center;
    gap: 2rem;
    border-top: 1px solid var(--home-ink);
}

.home-foundry-output span,
.home-native-readout span,
.home-scale-readout span,
.home-succession-readout span {
    color: var(--home-rust-dark);
}

.home-foundry-output strong,
.home-ecology-readout strong,
.home-native-readout strong,
.home-scale-readout strong,
.home-succession-readout strong {
    font-size: 1rem;
    line-height: 1.5;
}

/* Specialist ecology */

.home-specialists,
.home-self {
    background: var(--home-ink);
    color: var(--home-white);
}

.home-ecology {
    margin: 0;
    border: 1px solid var(--home-line-dark);
    background: #211f1b;
}

.home-ecology > figcaption,
.home-self-studio > figcaption {
    border-color: var(--home-line-dark);
}

.home-ecology-visual {
    position: relative;
    min-height: 21rem;
    margin: clamp(1.5rem, 4vw, 3.5rem);
    overflow: hidden;
    border: 1px solid var(--home-line-dark);
    background:
        linear-gradient(90deg, transparent 49.8%, #514d45 50%, transparent 50.2%),
        linear-gradient(transparent 49.8%, #514d45 50%, transparent 50.2%);
}

.home-ecology-axis {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .65rem;
    color: var(--home-muted-light);
    font-family: var(--home-mono);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
}

.home-ecology-axis i {
    display: block;
    background: var(--home-rust-light);
}

.home-ecology-axis--field { left: 1rem; bottom: 1rem; }
.home-ecology-axis--field i { width: 4rem; height: 1px; }
.home-ecology-axis--task { top: 1rem; right: 1rem; flex-direction: column; align-items: flex-end; }
.home-ecology-axis--task i { width: 1px; height: 3rem; }

.home-ecology-cells {
    position: absolute;
    inset: 15% 18%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: .65rem;
    transform: rotate(-6deg);
}

.home-ecology-cells i {
    border: 1px solid #5b564d;
    background: rgba(255,250,241,.025);
}

.home-ecology[data-ecology="domain"] .home-ecology-cells i:nth-child(-n+3),
.home-ecology[data-ecology="subdomain"] .home-ecology-cells i:nth-child(4),
.home-ecology[data-ecology="task"] .home-ecology-cells i:nth-child(8),
.home-ecology[data-ecology="portfolio"] .home-ecology-cells i {
    border-color: var(--home-rust-light);
    background: rgba(189,67,33,.22);
}

.home-ecology-core {
    position: absolute;
    inset: 50% auto auto 50%;
    width: min(68%, 30rem);
    padding: 1.25rem;
    display: grid;
    gap: .45rem;
    border: 1px solid var(--home-rust-light);
    background: #1a1916;
    transform: translate(-50%, -50%);
    text-align: center;
}

.home-ecology-core span {
    color: var(--home-rust-light);
    font-family: var(--home-mono);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.home-ecology-core strong {
    font-size: clamp(1.3rem, 2.4vw, 2.1rem);
    line-height: 1.08;
}

.home-ecology-controls {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--home-line-dark);
}

.home-ecology-controls button {
    min-height: 6.25rem;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "n title" ". desc";
    border-color: var(--home-line-dark);
    color: var(--home-white);
}

.home-ecology-controls button span { grid-area: n; color: var(--home-rust-light); }
.home-ecology-controls button strong { grid-area: title; font-size: .9rem; }
.home-ecology-controls button small { grid-area: desc; color: var(--home-muted-light); font-size: .8125rem; line-height: 1.25; }

.home-ecology-controls button.is-active {
    background: var(--home-rust);
}

.home-ecology-controls button.is-active small {
    color: var(--home-white);
}

.home-ecology-controls button.is-active span {
    color: var(--home-white);
}

.home-ecology-readout {
    border-color: var(--home-line-dark);
}

.home-ecology-readout span {
    color: var(--home-rust-light);
}

/* Agent-native substrate */

.home-native-layout {
    padding: clamp(1.5rem, 4vw, 3.5rem);
    display: grid;
    grid-template-columns: minmax(15rem, .8fr) minmax(18rem, 1.3fr) minmax(17rem, .8fr);
    align-items: stretch;
    gap: clamp(1rem, 2.5vw, 2.5rem);
}

.home-native-core {
    min-height: 17rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--home-rust);
    background: var(--home-ink);
    color: var(--home-white);
}

.home-native-core span { color: var(--home-rust-light); }
.home-native-core strong { margin-top: .8rem; font-size: clamp(1.5rem, 2.4vw, 2.35rem); line-height: 1.03; letter-spacing: -.04em; }
.home-native-core i { width: 4rem; height: 1px; margin-top: 1.5rem; background: var(--home-rust-light); }

.home-native-network {
    min-height: 17rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .7rem;
    align-content: center;
    background-image: linear-gradient(var(--home-line), var(--home-line));
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1px 70%;
}

.home-native-network span {
    min-height: 4.25rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--home-line);
    background: var(--home-paper);
    font-family: var(--home-mono);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.home-native-network span:last-child {
    grid-column: 1 / -1;
    width: 50%;
    justify-self: center;
    border-color: var(--home-rust);
}

.home-native-controls {
    display: grid;
    border-top: 1px solid var(--home-line);
    border-left: 1px solid var(--home-line);
}

.home-native-controls button {
    min-height: 5.5rem;
}

/* Literal self-direction */

.home-self-studio {
    margin: 0;
    border: 1px solid var(--home-line-dark);
    background: #211f1b;
}

.home-self-layout {
    padding: clamp(1.5rem, 4vw, 3.5rem);
    display: grid;
    grid-template-columns: minmax(17rem, .75fr) minmax(21rem, 1.1fr) minmax(20rem, 1fr);
    gap: clamp(1rem, 2.5vw, 2.5rem);
}

.home-self-core {
    min-height: 22rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--home-rust-light);
    background: #181714;
}

.home-self-core span { color: var(--home-rust-light); }
.home-self-core strong { margin-top: .8rem; font-size: clamp(1.4rem, 2.2vw, 2.15rem); line-height: 1.08; letter-spacing: -.035em; }
.home-self-core i { width: 5rem; height: 5rem; margin-top: 1.75rem; border: 1px solid var(--home-rust); border-radius: 50%; box-shadow: inset 0 0 0 1rem #181714, inset 0 0 0 1.08rem rgba(240,154,120,.7); }

.home-self-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--home-line-dark);
    border-left: 1px solid var(--home-line-dark);
}

.home-self-controls button {
    min-height: 6rem;
    border-color: var(--home-line-dark);
    color: var(--home-white);
}

.home-self-controls button span { color: var(--home-rust-light); }
.home-self-controls button.is-active { background: var(--home-rust); }
.home-self-controls button.is-active span { color: var(--home-white); }

.home-self-readout {
    min-height: 22rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--home-line-dark);
    background: #181714;
}

.home-self-readout h3 {
    margin: .15rem 0 0;
    font-size: clamp(1.7rem, 3vw, 2.65rem);
    line-height: 1.02;
    letter-spacing: -.04em;
}

.home-self-readout > p:not(.home-section-label) {
    margin: 1rem 0 0;
    color: var(--home-muted-light);
    font-size: .98rem;
    line-height: 1.5;
}

.home-self-readout ul {
    margin: 1.4rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    list-style: none;
}

.home-self-readout li {
    padding: .42rem .65rem;
    border: 1px solid var(--home-line-dark);
    color: var(--home-white);
    font-family: var(--home-mono);
    font-size: .8125rem;
}

/* Economics */

.home-scale-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 1px solid var(--home-ink);
}

.home-scale-controls button {
    min-height: 5.5rem;
}

.home-scale-visual {
    position: relative;
    min-height: 21rem;
    margin: clamp(1.5rem, 4vw, 3.5rem);
    overflow: hidden;
    border-left: 1px solid var(--home-ink);
    border-bottom: 1px solid var(--home-ink);
    background:
        linear-gradient(to right, color-mix(in srgb, var(--home-line) 45%, transparent) 1px, transparent 1px),
        linear-gradient(to bottom, color-mix(in srgb, var(--home-line) 45%, transparent) 1px, transparent 1px);
    background-size: 4rem 4rem;
}

.home-scale-axis {
    position: absolute;
    right: 1rem;
    bottom: .75rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--home-mono);
    font-size: .75rem;
    font-weight: 700;
}

.home-scale-axis i {
    width: 3rem;
    height: 1px;
    background: var(--home-rust);
}

.home-scale-envelope {
    position: absolute;
    inset: auto 8% 3.5rem 8%;
    height: 65%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: 3px solid var(--home-rust);
    clip-path: polygon(0 100%, 0 76%, 30% 66%, 58% 47%, 78% 25%, 100% 0, 100% 100%);
    background: color-mix(in srgb, var(--home-rust) 20%, transparent);
}

.home-scale-studio[data-scale="generalist"] .home-scale-envelope {
    width: 32%;
    right: auto;
    clip-path: polygon(0 100%, 0 70%, 50% 46%, 100% 20%, 100% 100%);
}

.home-scale-envelope span,
.home-scale-envelope strong {
    position: absolute;
    top: 1rem;
    font-family: var(--home-mono);
    font-size: .75rem;
    text-transform: uppercase;
}

.home-scale-envelope span { left: 1rem; }
.home-scale-envelope strong { right: 1rem; color: var(--home-rust-dark); }

.home-scale-markers {
    position: absolute;
    inset: 1.1rem 1rem auto;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--home-muted);
    font-family: var(--home-mono);
    font-size: .75rem;
}

.home-scale-note,
.home-succession-note {
    margin: 0;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--home-line);
    color: var(--home-muted);
    font-size: .84rem;
    line-height: 1.5;
}

.home-scale-note span,
.home-succession-note span {
    margin-right: .55rem;
    color: var(--home-rust-dark);
    font-family: var(--home-mono);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Recursive succession */

.home-succession {
    background: var(--home-paper-2);
}

.home-succession-line {
    margin: 0;
    padding: clamp(1.5rem, 4vw, 3.5rem);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
}

.home-succession-line li {
    position: relative;
}

.home-succession-line li:not(:last-child)::after {
    content: "→";
    position: absolute;
    z-index: 3;
    top: 50%;
    right: -.55rem;
    width: 1.1rem;
    height: 1.1rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--home-rust);
    color: var(--home-white);
    font-size: .7rem;
    transform: translateY(-50%);
}

.home-succession-line button {
    width: 100%;
    min-height: 9rem;
    grid-template-columns: 1fr;
    align-content: center;
    gap: .65rem;
    border: 1px solid var(--home-line);
    border-right: 0;
}

.home-succession-line li:last-child button {
    border-right: 1px solid var(--home-line);
}

.home-succession-line button strong {
    font-size: 1rem;
}

/* ASI horizon */

.home-horizon {
    padding-block: clamp(3.25rem, 5.5vw, 5rem);
    overflow: hidden;
    background: var(--home-ink);
    color: var(--home-white);
}

.home-horizon-head {
    max-width: 78rem;
}

.home-horizon h2 {
    max-width: 14em;
    font-size: clamp(3.4rem, 7vw, 7rem);
}

.home-horizon-head > p:last-child {
    max-width: 52rem;
    margin: 2rem 0 0;
    color: var(--home-muted-light);
    font-size: clamp(1.1rem, 1.55vw, 1.35rem);
    line-height: 1.58;
}

.home-horizon-system {
    position: relative;
    min-height: 38rem;
    margin-top: clamp(4rem, 8vw, 7rem);
    display: grid;
    grid-template-columns: minmax(18rem, .72fr) minmax(25rem, 1.28fr);
    align-items: center;
    gap: clamp(3rem, 8vw, 8rem);
}

.home-horizon-properties {
    display: grid;
    border-top: 1px solid var(--home-line-dark);
}

.home-horizon-properties span {
    min-height: 4.5rem;
    padding: 1rem 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--home-line-dark);
    font-family: var(--home-mono);
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.home-horizon-properties span::before {
    content: "";
    width: .55rem;
    height: .55rem;
    margin-right: 1rem;
    border: 1px solid var(--home-rust-light);
    border-radius: 50%;
}

.home-horizon-core {
    position: relative;
    min-height: 36rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--home-rust-light);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(189,67,33,.26), transparent 58%);
    text-align: center;
}

.home-horizon-core::before,
.home-horizon-core::after {
    content: "";
    position: absolute;
    inset: 8%;
    border: 1px dashed #615d54;
    border-radius: 50%;
}

.home-horizon-core::after {
    inset: 18%;
}

.home-horizon-core span {
    position: relative;
    z-index: 2;
    color: var(--home-rust-light);
    font-family: var(--home-mono);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.home-horizon-core strong {
    position: relative;
    z-index: 2;
    margin-top: 1rem;
    font-size: clamp(2.6rem, 5.2vw, 5.4rem);
    line-height: .94;
    letter-spacing: -.055em;
}

.home-horizon-core i {
    position: absolute;
    z-index: 1;
    width: .8rem;
    height: .8rem;
    top: 11%;
    left: 24%;
    border-radius: 50%;
    background: var(--home-rust-light);
    box-shadow: 19rem 22rem 0 var(--home-rust), 7rem 27rem 0 #8d877c, 23rem 8rem 0 #8d877c;
}

.home-horizon-close {
    margin-top: clamp(3rem, 6vw, 5rem);
    padding-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 6vw, 6rem);
    border-top: 1px solid var(--home-line-dark);
}

.home-horizon-close p {
    margin: 0;
    color: var(--home-muted-light);
    font-size: 1rem;
    line-height: 1.6;
}

.home-horizon-close strong {
    color: var(--home-white);
}

/* Team, contact, footer */

.home-section-head {
    max-width: 60rem;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.home-section-head > p:last-child {
    max-width: 44rem;
    margin-top: 1.5rem;
}

.home-team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--home-line);
    border-left: 1px solid var(--home-line);
}

.home-team-card {
    min-width: 0;
    padding: clamp(1.5rem, 3.5vw, 3rem);
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 1.5rem;
    border-right: 1px solid var(--home-line);
    border-bottom: 1px solid var(--home-line);
}

.home-team-card img {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(100%);
}

.home-team-role {
    margin: 0;
    color: var(--home-rust-dark);
    font-family: var(--home-mono);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.home-team-card h3 {
    margin: .35rem 0 .7rem;
    font-size: 1.55rem;
    line-height: 1.05;
}

.home-team-card p:not(.home-team-role) {
    margin: 0;
    color: var(--home-muted);
    font-size: .92rem;
    line-height: 1.55;
}

.home-team-card a {
    margin-top: 1rem;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--home-rust-dark);
    font-size: .9rem;
    font-weight: 700;
}

.home-contact {
    padding-block: clamp(3rem, 5vw, 4.5rem);
    border-top: 1px solid var(--home-line);
    background: var(--home-rust);
    color: var(--home-white);
}

.home-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(19rem, .65fr);
    align-items: end;
    gap: clamp(3rem, 8vw, 8rem);
}

.home-contact .home-section-label {
    color: var(--home-white);
}

.home-contact-copy > p {
    color: var(--home-white);
}

.home-contact .home-btn {
    margin-top: 1.5rem;
    border-color: var(--home-white);
}

.home-contact .home-btn--primary {
    background: var(--home-white);
    color: var(--home-ink) !important;
}

.home-footer {
    padding-block: 2rem;
    background: var(--home-ink);
    color: var(--home-muted-light);
}

.home-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.home-footer p {
    margin: 0;
    font-size: .82rem;
}

.home-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.home-footer a {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    font-size: .82rem;
    font-weight: 650;
}

/* Interactive state accents */

html.home-js .home-foundry-controls button,
html.home-js .home-ecology-controls button,
html.home-js .home-native-controls button,
html.home-js .home-self-controls button,
html.home-js .home-scale-controls button,
html.home-js .home-succession-line button {
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

/* Responsive navigation */

@media (max-width: 1080px) {
    .home-nav.is-ready .home-nav-toggle:not([hidden]) {
        display: inline-flex;
    }

    .home-js .home-nav.is-ready .home-nav-links {
        position: absolute;
        top: calc(100% + .5rem);
        right: max(clamp(1rem, 3vw, 3.75rem), calc((100vw - 88rem) / 2));
        width: min(23rem, calc(100vw - 2rem));
        max-height: calc(100svh - 5.75rem);
        padding: .65rem;
        display: none;
        overflow-y: auto;
        overscroll-behavior: contain;
        border: 1px solid var(--home-ink);
        background: var(--home-paper);
        box-shadow: .65rem .65rem 0 rgba(189,67,33,.12);
        scrollbar-gutter: stable;
    }

    .home-js .home-nav.is-ready .home-nav-links.is-open {
        display: grid;
    }

    .home-js .home-nav.is-ready .home-nav-links a {
        min-height: 3.25rem;
        padding: .6rem .85rem;
        border-bottom: 1px solid var(--home-line);
    }

    .home-js .home-nav.is-ready .home-nav-links .home-nav-cta {
        margin-top: .3rem;
        justify-content: center;
        border: 1px solid var(--home-ink);
    }

    .home-js .home-nav.is-ready .home-nav-links .home-nav-group {
        display: grid;
        border-bottom: 1px solid var(--home-line);
    }

    .home-js .home-nav.is-ready .home-nav-links .home-nav-group-toggle {
        min-height: 3.25rem;
        padding: .6rem .85rem;
        justify-content: space-between;
    }

    html.home-js .home-nav.is-ready .home-nav-links .home-nav-sub {
        position: static;
        transform: none;
        display: grid;
        border: 0;
        box-shadow: none;
        padding: 0 0 .35rem .85rem;
    }

    .home-js .home-nav.is-ready .home-nav-links .home-nav-sub a { border: 0; min-height: 2.75rem; }
    .home-js .home-nav.is-ready .home-nav-links .home-nav-group-toggle svg { display: none; }

    html:not(.home-js) .home-nav,
    .home-nav:not(.is-ready) {
        flex-wrap: wrap;
        padding-block: .75rem;
    }

    html:not(.home-js) .home-header,
    .home-header:has(.home-nav:not(.is-ready)) {
        position: static;
    }

    html:not(.home-js) .home-nav-toggle,
    .home-nav:not(.is-ready) .home-nav-toggle {
        display: none;
    }

    html:not(.home-js) .home-nav-links,
    .home-nav:not(.is-ready) .home-nav-links {
        flex: 1 0 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .5rem 1rem;
    }

    html:not(.home-js) .home-nav-links .home-nav-group,
    .home-nav:not(.is-ready) .home-nav-links .home-nav-group,
    html:not(.home-js) .home-nav-links .home-nav-sub,
    .home-nav:not(.is-ready) .home-nav-links .home-nav-sub {
        display: contents;
    }

    html:not(.home-js) .home-nav-links .home-nav-group-toggle,
    .home-nav:not(.is-ready) .home-nav-links .home-nav-group-toggle {
        display: none;
    }
}

/* Layout reflow */

@media (max-width: 1180px) {
    .home-hero {
        min-height: auto;
    }

    .home-hero-layout {
        grid-template-columns: minmax(0, 1fr);
        padding-block: clamp(3rem, 7vw, 5rem);
    }

    .home-hero-copy {
        max-width: 54rem;
    }

    .home-hero h1 {
        max-width: 10em;
        font-size: clamp(4rem, 8.5vw, 6rem);
    }

    .home-genesis {
        width: 100%;
    }

    .home-foundry-layout,
    .home-native-layout,
    .home-self-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-foundry-controls,
    .home-native-controls,
    .home-self-readout {
        grid-column: 1 / -1;
    }

    .home-native-network {
        grid-column: 2;
    }

    .home-native-controls {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-self-controls {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Font-relative reflow: also catches text-only 200% enlargement. */
@container home-hero (max-width: 56rem) {
    .home-hero {
        min-height: auto;
    }

    .home-hero-layout {
        grid-template-columns: minmax(0, 1fr);
        padding-block: clamp(3rem, 7vw, 5rem);
    }

    .home-hero-copy {
        max-width: 54rem;
    }

    .home-hero h1 {
        max-width: 10em;
        font-size: clamp(4rem, 8.5vw, 6rem);
    }
}

@media (min-width: 901px) and (max-width: 1180px) {
    .home-hero-layout {
        grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
        align-items: start;
        gap: clamp(1.75rem, 3vw, 2.5rem);
        padding-block: 3rem;
    }

    .home-hero-copy {
        max-width: none;
    }

    .home-hero h1 {
        max-width: 9em;
        font-size: clamp(3rem, 5vw, 3.7rem);
    }

    .home-hero-intro {
        margin-top: 1.5rem;
    }

    .home-hero-intro p {
        font-size: 1rem;
    }

    .home-hero .home-actions {
        margin-top: 1.4rem;
    }
}

@container home-section (max-width: 75rem) {
    .home-split-head,
    .home-contact-layout {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 2rem;
    }

    .home-foundry-layout,
    .home-native-layout,
    .home-self-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-foundry-controls,
    .home-native-network,
    .home-native-controls,
    .home-self-controls,
    .home-self-readout {
        grid-column: auto;
    }

    .home-foundry-controls,
    .home-ecology-controls,
    .home-self-controls,
    .home-succession-line,
    .home-scale-controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-native-controls {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-foundry-output,
    .home-ecology-readout,
    .home-native-readout,
    .home-scale-readout,
    .home-succession-readout,
    .home-horizon-system,
    .home-horizon-close,
    .home-team-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-horizon-system {
        min-height: auto;
    }

    .home-succession-line li::after {
        display: none;
    }

    .home-succession-line button,
    .home-succession-line li:last-child button {
        border: 1px solid var(--home-line);
    }
}

@media (max-width: 900px) {
    .home-hero-layout {
        gap: 2rem;
    }

    .home-hero h1 {
        font-size: clamp(3rem, 7vw, 4rem);
    }

    .home-hero-boundary {
        display: none;
    }

    .home-split-head,
    .home-contact-layout {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 2rem;
    }

    .home-split-head > div:last-child,
    .home-split-head > p,
    .home-contact-copy {
        max-width: 42rem;
    }

    .home-ecology-controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-foundry-output,
    .home-ecology-readout,
    .home-native-readout,
    .home-scale-readout,
    .home-succession-readout {
        grid-template-columns: minmax(0, 1fr);
        gap: .55rem;
    }

    .home-succession-line {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .75rem;
    }

    .home-succession-line li::after {
        display: none;
    }

    .home-succession-line button,
    .home-succession-line li:last-child button {
        border: 1px solid var(--home-line);
    }

    .home-horizon-system {
        min-height: auto;
        grid-template-columns: minmax(0, 1fr);
    }

    .home-horizon-core {
        min-height: min(80vw, 36rem);
    }

    .home-team-card {
        grid-template-columns: 6rem minmax(0, 1fr);
    }

    .home-team-card img {
        width: 6rem;
        height: 6rem;
    }
}

@container genesis (max-width: 46rem) {
    .home-genesis-field {
        min-height: 0;
        padding: 1rem;
        display: grid;
        grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
        gap: 1rem;
    }

    .home-genesis-mandate,
    .home-genesis-core,
    .home-genesis-controls button,
    .home-genesis-generations {
        position: static;
        width: auto;
        min-width: 0;
        aspect-ratio: auto;
        transform: none !important;
    }

    .home-genesis-mandate {
        min-height: 4.6rem;
        grid-column: 1 / -1;
        order: 1;
    }

    .home-genesis-core {
        min-height: 18rem;
        grid-column: 1;
        order: 2;
        border-radius: 0;
    }

    .home-genesis-orbits {
        inset: 5rem 0 auto;
        width: 100%;
        height: 18rem;
    }

    .home-genesis-controls {
        z-index: 5;
        grid-column: 2;
        order: 3;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        border-top: 1px solid #68635a;
        border-left: 1px solid #68635a;
    }

    .home-genesis-controls button {
        min-height: 3.6rem;
        border: 0;
        border-right: 1px solid #68635a;
        border-bottom: 1px solid #68635a;
    }

    .home-genesis-controls button:nth-child(5) {
        grid-column: auto;
    }

    .home-genesis-generations {
        min-height: 3.5rem;
        grid-column: 1 / -1;
        order: 4;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@container home-section (max-width: 35rem) {
    .home-scale-visual {
        min-height: 0;
        padding: 1rem;
        display: grid;
        gap: .85rem;
        overflow: visible;
        border: 1px solid var(--home-line);
        background: none;
    }

    .home-scale-axis,
    .home-scale-envelope,
    .home-scale-markers {
        position: static;
        inset: auto;
        width: auto !important;
        height: auto;
        min-width: 0;
        clip-path: none;
        transform: none;
    }

    .home-native-network {
        grid-template-columns: minmax(0, 1fr);
        background-image: none;
    }

    .home-native-network span:last-child {
        grid-column: auto;
        width: 100%;
    }

    .home-scale-markers,
    .home-scale-axis {
        display: grid;
        justify-content: stretch;
        gap: .45rem;
    }

    .home-scale-axis i {
        width: 100%;
    }

    .home-scale-envelope {
        min-height: 7rem;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-content: end;
        gap: .45rem;
        padding: 1rem;
        border: 1px solid var(--home-rust);
        background: color-mix(in srgb, var(--home-rust) 12%, transparent);
    }

    .home-scale-envelope span,
    .home-scale-envelope strong {
        position: static;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .home-horizon-core {
        min-height: 0;
        max-width: 100%;
        padding: clamp(3rem, 12vw, 5rem) 1rem;
        overflow: hidden;
        border-radius: 0;
    }

    .home-horizon-core::before,
    .home-horizon-core::after,
    .home-horizon-core i {
        display: none;
    }

    .home-horizon-core strong {
        max-width: 100%;
        font-size: clamp(2rem, 10vw, 3.5rem);
        overflow-wrap: anywhere;
    }
}

@media (max-width: 700px) {
    .home-container {
        width: min(100% - 2rem, 88rem);
    }

    .home-section {
        padding-block: 5.25rem;
    }

    .home-hero-layout {
        padding-block: 2.75rem 4rem;
        gap: 2.25rem;
    }

    .home-hero h1 {
        max-width: 9.5em;
        font-size: clamp(2.6rem, 9vw, 3.6rem);
        line-height: .94;
        letter-spacing: -.052em;
    }

    .home-hero-intro p {
        font-size: 1rem;
    }

    .home-split-head h2,
    .home-section-head h2,
    .home-contact h2,
    .home-horizon h2 {
        font-size: clamp(2.6rem, 11vw, 4rem);
    }

    .home-foundry > figcaption,
    .home-ecology > figcaption,
    .home-native-studio > figcaption,
    .home-self-studio > figcaption,
    .home-scale-studio > figcaption,
    .home-succession-studio > figcaption {
        align-items: flex-start;
        flex-direction: column;
        gap: .35rem;
    }

    .home-foundry figcaption strong,
    .home-ecology figcaption strong,
    .home-native-studio figcaption strong,
    .home-self-studio figcaption strong,
    .home-scale-studio figcaption strong,
    .home-succession-studio figcaption strong {
        text-align: left;
    }

    .home-foundry-layout,
    .home-native-layout,
    .home-self-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-foundry-controls,
    .home-native-network,
    .home-native-controls,
    .home-self-controls,
    .home-self-readout {
        grid-column: auto;
    }

    .home-foundry-core {
        border-radius: 0;
    }

    .home-foundry-controls,
    .home-self-controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-native-controls {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-ecology-visual,
    .home-scale-visual {
        min-height: 18rem;
        margin: 1rem;
    }

    .home-horizon-close,
    .home-team-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-horizon-core {
        min-height: min(92vw, 31rem);
    }

    .home-horizon-core i {
        box-shadow: 10rem 15rem 0 var(--home-rust), 4rem 18rem 0 #8d877c, 14rem 5rem 0 #8d877c;
    }

    .home-team-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .home-container {
        width: min(100% - 1.5rem, 88rem);
    }

    .home-nav {
        min-height: 4.25rem;
        gap: 12px;
    }

    .home-logo {
        min-width: 0;
        font-size: .75rem;
    }

    .home-nav-toggle {
        width: 44px;
        min-width: 44px;
        min-height: 44px;
        padding: 0;
        justify-content: center;
    }

    .home-nav-toggle > span {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .home-nav-toggle i {
        width: 16px;
        height: 12px;
    }

    .home-hero-layout {
        padding-top: 1rem;
        gap: .75rem;
    }

    .home-hero h1 {
        font-size: clamp(2.15rem, 10.8vw, 3.25rem);
    }

    .home-hero-intro {
        margin-top: 1.25rem;
    }

    .home-hero-intro p + p {
        display: none;
    }

    .home-hero .home-actions {
        margin-top: 1rem;
    }

    .home-hero-boundary {
        display: none;
    }

    .home-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .home-hero .home-btn--secondary {
        display: none;
    }

    .home-btn {
        min-height: 3rem;
        min-width: 0;
        padding-inline: .85rem;
        gap: .45rem;
        font-size: .86rem;
    }

    .home-hero-boundary {
        font-size: .8125rem;
    }

    html.home-js .home-genesis.is-ready .home-genesis-toggle {
        display: none;
    }

    .home-genesis-head {
        min-height: 3.5rem;
        display: grid;
        align-content: center;
        justify-content: stretch;
        gap: .1rem;
        padding-block: .45rem;
    }

    .home-genesis-head-state {
        display: block;
        color: var(--home-white);
        font-family: var(--home-sans);
        font-size: .78rem;
        line-height: 1.2;
        letter-spacing: 0;
        text-transform: none;
    }

    .home-genesis-core {
        min-height: 13rem;
        padding: 1.35rem;
    }

    .home-genesis-field {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-genesis-mandate,
    .home-genesis-core,
    .home-genesis-controls,
    .home-genesis-generations {
        grid-column: auto;
    }

    .home-genesis-controls,
    .home-foundry-controls,
    .home-ecology-controls,
    .home-self-controls,
    .home-succession-line,
    .home-scale-controls {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-genesis-controls button:nth-child(5) {
        grid-column: auto;
    }

    .home-genesis-controls button,
    .home-foundry-controls button,
    .home-ecology-controls button,
    .home-self-controls button,
    .home-succession-line button,
    .home-scale-controls button {
        min-height: 4.25rem;
    }

    .home-ecology-controls button {
        grid-template-areas: "n title" ". desc";
    }

    .home-self-core,
    .home-self-readout {
        min-height: 17rem;
    }

    .home-team-card img {
        width: 7rem;
        height: 7rem;
    }
}

@media (max-width: 340px) {
    .home-container {
        width: min(100% - 1.25rem, 88rem);
    }

    .home-logo > span {
        display: none;
    }

    .home-hero h1 {
        font-size: 2rem;
    }

    .home-hero-intro p {
        font-size: .94rem;
        line-height: 1.45;
    }

}

@media (max-width: 340px) and (max-height: 520px) {
    .home-hero .home-actions {
        display: none;
    }
}

/* Short landscape and laptop heights */

@media (min-width: 1181px) and (max-height: 760px) {
    .home-hero-layout {
        align-items: start;
        padding-block: 1.75rem;
    }

    .home-hero h1 {
        font-size: clamp(3.1rem, 3.5vw, 3.6rem);
    }

    .home-hero-intro {
        margin-top: 1.2rem;
    }

    .home-hero-intro p {
        font-size: .94rem;
        line-height: 1.46;
    }

    .home-hero-intro p + p {
        margin-top: .65rem;
    }

    .home-hero .home-actions {
        margin-top: 1.15rem;
    }

    .home-hero-boundary {
        margin-top: .8rem;
        font-size: .8125rem;
    }

    .home-genesis-field {
        min-height: 31rem;
    }

    .home-genesis-core {
        width: 14rem;
        min-width: 14rem;
        padding: 1.55rem;
    }

    .home-genesis-core strong {
        font-size: 1.45rem;
    }

    .home-genesis-controls button:nth-child(1),
    .home-genesis-controls button:nth-child(2) { top: 18%; }
    .home-genesis-controls button:nth-child(3),
    .home-genesis-controls button:nth-child(4) { bottom: 18%; }
    .home-genesis-controls button:nth-child(5) { bottom: 2%; }
    .home-genesis-generations { bottom: 13%; }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    html:has(.home-vision-page) {
        scroll-behavior: auto !important;
    }

    .home-vision-page *,
    .home-vision-page *::before,
    .home-vision-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    html.home-js .home-genesis.is-ready .home-genesis-toggle {
        display: none;
    }

    .home-genesis-orbits {
        transform: none !important;
    }
}

/* Forced colors */

@media (forced-colors: active) {
    .home-header,
    .home-genesis,
    .home-foundry,
    .home-ecology,
    .home-native-studio,
    .home-self-studio,
    .home-scale-studio,
    .home-succession-studio,
    .home-horizon,
    .home-contact,
    .home-footer,
    .home-genesis-core,
    .home-foundry-core,
    .home-native-core,
    .home-self-core,
    .home-self-readout,
    .home-horizon-core {
        background: Canvas;
        color: CanvasText;
        border-color: CanvasText;
        box-shadow: none;
    }

    .home-genesis-controls button,
    .home-foundry-controls button,
    .home-ecology-controls button,
    .home-native-controls button,
    .home-self-controls button,
    .home-scale-controls button,
    .home-succession-line button,
    .home-btn,
    .home-nav-toggle {
        border: 1px solid ButtonText;
        background: ButtonFace;
        color: ButtonText;
    }

    .home-genesis-controls button.is-active,
    .home-foundry-controls button.is-active,
    .home-ecology-controls button.is-active,
    .home-native-controls button.is-active,
    .home-self-controls button.is-active,
    .home-scale-controls button.is-active,
    .home-succession-line button.is-active {
        outline: 3px solid Highlight;
        outline-offset: -4px;
        background: Highlight;
        color: HighlightText;
    }

    .home-grid-field,
    .home-genesis-orbits,
    .home-ecology-cells,
    .home-scale-visual,
    .home-horizon-core::before,
    .home-horizon-core::after,
    .home-horizon-core i {
        display: none;
    }
}
