:root {
    color-scheme: dark;
    --bg: #0a0c10;
    --bg-2: #0f172a;
    --panel: rgba(15, 23, 42, 0.78);
    --panel-strong: rgba(10, 12, 16, 0.92);
    --line: rgba(148, 163, 184, 0.22);
    --line-bright: rgba(226, 232, 240, 0.42);
    --text: #f8fafc;
    --muted: rgba(226, 232, 240, 0.72);
    --dim: rgba(148, 163, 184, 0.64);
    --blue: #3b82f6;
    --blue-deep: #1d4ed8;
    --cyan: #06b6d4;
    --cyan-deep: #0891b2;
    --amber: #f59e0b;
    --amber-deep: #d97706;
    --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, "Liberation Mono", monospace;
    --sans: Inter, Montserrat, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 118px;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    font-family: var(--sans);
    background:
        linear-gradient(rgba(59, 130, 246, 0.042) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.035) 1px, transparent 1px),
        radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.18), transparent 360px),
        radial-gradient(circle at 18% 42%, rgba(6, 182, 212, 0.09), transparent 330px),
        radial-gradient(circle at 82% 70%, rgba(245, 158, 11, 0.08), transparent 340px),
        linear-gradient(180deg, var(--bg), var(--bg-2) 46%, #090d15);
    background-size: 34px 34px, 34px 34px, auto, auto, auto, auto;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(10, 12, 16, 0.16), rgba(10, 12, 16, 0.64)),
        repeating-linear-gradient(90deg, rgba(248, 250, 252, 0.018) 0 1px, transparent 1px 90px);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.42;
    background: linear-gradient(180deg, transparent, rgba(10, 12, 16, 0.78));
}

a {
    color: inherit;
}

.site-header {
    position: fixed;
    top: 18px;
    left: 50%;
    z-index: 20;
    width: min(1180px, calc(100% - 32px));
    transform: translateX(-50%);
}

.site-nav {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    min-height: 76px;
    padding: 10px 14px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(18px);
}

.site-nav::before {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: -1;
    border-radius: 7px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.08), rgba(245, 158, 11, 0.08));
}

.nav-cluster {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 8px;
}

.nav-left {
    text-align: right;
}

.nav-right {
    text-align: left;
}

.nav-cluster a,
.brand-lockup,
.action-button {
    text-decoration: none;
}

.nav-cluster a {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 10px;
    color: rgba(248, 250, 252, 0.78);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: color 220ms ease, border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.nav-cluster a:hover,
.nav-cluster a:focus-visible,
.nav-cluster a.is-current {
    color: #ffffff;
    border-color: rgba(6, 182, 212, 0.34);
    background: rgba(8, 145, 178, 0.12);
    transform: translateY(-1px);
    outline: none;
}

.brand-lockup {
    min-width: 300px;
    display: grid;
    place-items: center;
    gap: 4px;
    padding: 9px 18px;
    text-align: center;
    border-left: 1px solid rgba(148, 163, 184, 0.22);
    border-right: 1px solid rgba(148, 163, 184, 0.22);
}

.brand-name {
    font-size: 1.62rem;
    font-weight: 950;
    line-height: 1;
    letter-spacing: 0;
}

.brand-subtitle,
.section-kicker,
.core-hud,
.visual-hud,
.dimension-layer text,
.ai-stage text,
.skill-tile text,
.skill-meter text {
    font-family: var(--mono);
    letter-spacing: 0;
}

.brand-subtitle {
    color: rgba(226, 232, 240, 0.72);
    font-size: 0.64rem;
    font-weight: 800;
    line-height: 1.25;
}

.site-main {
    min-height: 100vh;
}

.hero-section {
    width: min(1180px, calc(100% - 32px));
    min-height: 100vh;
    margin-inline: auto;
    display: grid;
    grid-template-rows: auto auto;
    justify-items: center;
    align-content: center;
    gap: 28px;
    padding: 132px 0 72px;
    text-align: center;
}

.hero-copy {
    width: min(900px, 100%);
    min-width: 0;
}

.section-kicker {
    margin: 0 0 15px;
    color: var(--cyan);
    font-size: 0.75rem;
    font-weight: 900;
    line-height: 1.5;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.hero-copy h1 {
    max-width: 100%;
    margin: 0;
    color: #ffffff;
    font-size: 5.85rem;
    font-weight: 950;
    line-height: 0.94;
    letter-spacing: 0;
    text-wrap: balance;
    overflow-wrap: normal;
}

.hero-subtext,
.gateway-copy p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.72;
}

.hero-subtext {
    width: min(760px, 100%);
    margin: 24px auto 0;
}

.hero-core {
    position: relative;
    width: min(760px, 100%);
    aspect-ratio: 1.35 / 1;
    min-height: 430px;
    touch-action: pan-y;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background:
        linear-gradient(rgba(59, 130, 246, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.046) 1px, transparent 1px),
        radial-gradient(circle at 50% 46%, rgba(6, 182, 212, 0.18), transparent 260px),
        rgba(10, 12, 16, 0.76);
    background-size: 28px 28px, 28px 28px, auto, auto;
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.hero-core::before,
.visual-window::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.045);
    border-radius: inherit;
}

.hero-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.orbit-nav {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.orbit-nav::before {
    content: "";
    position: absolute;
    top: 52%;
    left: 50%;
    width: min(72%, 430px);
    aspect-ratio: 1;
    border: 1px solid rgba(6, 182, 212, 0.12);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-button {
    position: absolute;
    top: 52%;
    left: 50%;
    width: 178px;
    min-height: 42px;
    padding: 10px 12px;
    pointer-events: auto;
    will-change: transform;
}

.orbit-button.is-braking {
    border-color: rgba(255, 255, 255, 0.44);
    filter: saturate(1.2) brightness(1.08);
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.36), 0 0 36px color-mix(in srgb, var(--button-color) 34%, transparent);
}

.core-hud,
.visual-hud {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: grid;
    gap: 4px;
    min-width: 168px;
    padding: 11px 12px;
    text-align: left;
    color: var(--cyan);
    border: 1px solid rgba(6, 182, 212, 0.38);
    border-radius: 8px;
    background: rgba(10, 12, 16, 0.72);
    backdrop-filter: blur(10px);
    transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease, color 140ms ease;
}

.core-hud.is-hot {
    color: #ffffff;
    border-color: rgba(245, 158, 11, 0.78);
    background: rgba(36, 25, 7, 0.84);
    box-shadow: 0 0 32px rgba(245, 158, 11, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.core-hud span,
.visual-hud span {
    font-size: 0.66rem;
    font-weight: 900;
}

.core-hud strong,
.visual-hud strong {
    color: var(--text);
    font-size: 1.02rem;
    line-height: 1.2;
}

.core-hud small,
.visual-hud small {
    color: rgba(226, 232, 240, 0.68);
    font-size: 0.72rem;
}

.action-button {
    --button-color: var(--cyan);
    --button-deep: var(--cyan-deep);
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 16px;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 900;
    line-height: 1.16;
    text-align: center;
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal;
    border: 1px solid rgba(226, 232, 240, 0.14);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent),
        linear-gradient(135deg, color-mix(in srgb, var(--button-color) 88%, #111827), color-mix(in srgb, var(--button-deep) 78%, #0a0c10));
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28), 0 0 28px color-mix(in srgb, var(--button-color) 18%, transparent);
    transform: translateZ(0);
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease, filter 300ms ease;
}

.action-button:hover,
.action-button:focus-visible {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.36);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34), 0 0 34px color-mix(in srgb, var(--button-color) 30%, transparent);
    filter: saturate(1.12);
    outline: none;
}

.action-blue {
    --button-color: var(--blue);
    --button-deep: var(--blue-deep);
}

.action-cyan {
    --button-color: var(--cyan);
    --button-deep: var(--cyan-deep);
}

.action-amber {
    --button-color: var(--amber);
    --button-deep: var(--amber-deep);
}

.gateway-section {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 28px;
    padding: 32px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 8px;
    background:
        linear-gradient(rgba(226, 232, 240, 0.034) 1px, transparent 1px),
        linear-gradient(90deg, rgba(226, 232, 240, 0.03) 1px, transparent 1px),
        rgba(15, 23, 42, 0.66);
    background-size: 30px 30px, 30px 30px, auto;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.gateway-section::before,
.guide-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.07), rgba(6, 182, 212, 0.055), rgba(245, 158, 11, 0.05));
}

.gateway-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 1.18fr) minmax(210px, 0.72fr);
    align-items: stretch;
    gap: 24px;
}

.gateway-copy {
    display: grid;
    align-content: center;
    min-height: 420px;
    padding-right: 10px;
}

.gateway-copy h2 {
    margin: 0;
    color: #ffffff;
    font-size: 2.35rem;
    font-weight: 950;
    line-height: 1.04;
    letter-spacing: 0;
    text-wrap: balance;
}

.gateway-copy p:not(.section-kicker) {
    margin: 20px 0 0;
    color: rgba(226, 232, 240, 0.8);
}

.gateway-action {
    display: grid;
    place-items: center;
    min-height: 420px;
}

.gateway-action .action-button {
    width: min(100%, 230px);
}

.guide-section {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 48px;
    padding: 34px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 8px;
    background:
        linear-gradient(rgba(226, 232, 240, 0.034) 1px, transparent 1px),
        linear-gradient(90deg, rgba(226, 232, 240, 0.03) 1px, transparent 1px),
        rgba(10, 12, 16, 0.72);
    background-size: 30px 30px, 30px 30px, auto;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.guide-heading,
.guide-grid,
.contact-grid {
    position: relative;
    z-index: 1;
}

.guide-heading {
    width: min(880px, 100%);
    margin: 0 auto 26px;
    text-align: center;
}

.guide-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: 2.45rem;
    font-weight: 950;
    line-height: 1.04;
    letter-spacing: 0;
}

.guide-heading p:not(.section-kicker) {
    margin: 18px auto 0;
    color: rgba(226, 232, 240, 0.78);
    font-size: 1.04rem;
    line-height: 1.68;
}

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

.guide-card {
    --guide-color: var(--cyan);
    display: grid;
    align-content: start;
    gap: 12px;
    min-height: 220px;
    padding: 20px;
    color: inherit;
    text-decoration: none;
    border: 1px solid color-mix(in srgb, var(--guide-color) 42%, transparent);
    border-radius: 8px;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--guide-color) 10%, transparent), transparent),
        rgba(10, 12, 16, 0.62);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.guide-card:hover,
.guide-card:focus-visible {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--guide-color) 72%, transparent);
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.32), 0 0 26px color-mix(in srgb, var(--guide-color) 18%, transparent);
    outline: none;
}

.guide-card span,
.contact-link span {
    color: var(--guide-color);
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1.4;
    text-transform: uppercase;
}

.guide-card strong {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.32;
}

.guide-card small {
    color: rgba(226, 232, 240, 0.72);
    font-size: 0.9rem;
    line-height: 1.62;
}

.guide-blue {
    --guide-color: var(--blue);
}

.guide-cyan {
    --guide-color: var(--cyan);
}

.guide-amber {
    --guide-color: var(--amber);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
    gap: 18px;
    margin-top: 20px;
    padding-top: 22px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.contact-identity,
.contact-actions {
    min-width: 0;
}

.contact-identity h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.36rem;
    font-weight: 950;
    line-height: 1.25;
}

.contact-identity address {
    margin-top: 14px;
    color: rgba(226, 232, 240, 0.76);
    font-style: normal;
    line-height: 1.68;
}

.contact-actions {
    display: grid;
    align-content: center;
    gap: 12px;
}

.contact-link {
    --guide-color: var(--cyan);
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 16px;
    color: inherit;
    text-decoration: none;
    border: 1px solid color-mix(in srgb, var(--guide-color) 44%, transparent);
    border-radius: 8px;
    background: rgba(10, 12, 16, 0.58);
    transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--guide-color) 70%, transparent);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26), 0 0 22px color-mix(in srgb, var(--guide-color) 16%, transparent);
    outline: none;
}

.contact-link strong {
    min-width: 0;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.contact-phone {
    --guide-color: var(--amber);
}

.contact-mail {
    --guide-color: var(--cyan);
}

.site-footer {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 30px;
    padding: 18px 4px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    color: rgba(226, 232, 240, 0.58);
    font-size: 0.82rem;
    line-height: 1.5;
}

.site-footer p {
    margin: 0;
}

.site-footer span {
    color: rgba(6, 182, 212, 0.76);
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.visual-window {
    --visual-color: var(--blue);
    position: relative;
    min-height: 420px;
    border: 1px solid color-mix(in srgb, var(--visual-color) 52%, transparent);
    border-radius: 8px;
    background:
        linear-gradient(rgba(226, 232, 240, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(226, 232, 240, 0.04) 1px, transparent 1px),
        radial-gradient(circle at 52% 42%, color-mix(in srgb, var(--visual-color) 23%, transparent), transparent 250px),
        rgba(10, 12, 16, 0.78);
    background-size: 26px 26px, 26px 26px, auto, auto;
    overflow: hidden;
}

.visual-blue {
    --visual-color: var(--blue);
}

.visual-cyan {
    --visual-color: var(--cyan);
}

.visual-amber {
    --visual-color: var(--amber);
}

.visual-hud {
    color: var(--visual-color);
    border-color: color-mix(in srgb, var(--visual-color) 40%, transparent);
}

.engineering-visual {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    filter: saturate(1.08);
}

.interactive-visual .engineering-visual {
    cursor: crosshair;
    touch-action: none;
}

.interactive-visual {
    transition: border-color 240ms ease, box-shadow 240ms ease, filter 240ms ease;
}

.interactive-visual:hover,
.interactive-visual:focus-within {
    border-color: color-mix(in srgb, var(--visual-color) 72%, transparent);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), 0 0 34px color-mix(in srgb, var(--visual-color) 20%, transparent);
}

.blueprint-grid path {
    fill: none;
    stroke: color-mix(in srgb, var(--visual-color) 24%, transparent);
    stroke-width: 1;
}

.datum,
.dimension-line,
.dimension-arc,
.origin-arc-guide,
.reach-ring,
.ghost-arm,
.primary-arm,
.secondary-arm,
.tool-arm,
.ai-loop-track,
.skill-link-layer line {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.datum {
    stroke: rgba(226, 232, 240, 0.28);
    stroke-width: 1.4;
    stroke-dasharray: 7 8;
}

.dimension-line {
    stroke: rgba(226, 232, 240, 0.32);
    stroke-width: 1.2;
}

.dimension-arc {
    stroke: var(--cyan);
    stroke-width: 2;
}

.origin-arc-guide {
    stroke: rgba(6, 182, 212, 0.2);
    stroke-width: 1.2;
    stroke-dasharray: 5 8;
}

.reach-ring {
    stroke: rgba(59, 130, 246, 0.24);
    stroke-width: 1.4;
    stroke-dasharray: 10 12;
}

.dimension-layer text,
.ai-stage text,
.skill-tile text,
.skill-meter text {
    fill: rgba(226, 232, 240, 0.78);
    font-size: 14px;
    font-weight: 900;
}

.ghost-arm {
    stroke: rgba(226, 232, 240, 0.2);
    stroke-width: 7;
}

.primary-arm {
    stroke: var(--blue);
    stroke-width: 11;
}

.secondary-arm {
    stroke: var(--cyan);
    stroke-width: 8;
}

.tool-arm {
    stroke: rgba(226, 232, 240, 0.72);
    stroke-width: 4;
}

.joint,
.tool-node {
    fill: #0a0c10;
    stroke: var(--visual-color);
    stroke-width: 4;
}

.joint-base {
    stroke: rgba(226, 232, 240, 0.74);
}

.tool-node {
    stroke: var(--amber);
}

.ai-loop-track {
    fill: none;
    stroke: url(#aiSignalGradient);
    stroke-width: 4;
    stroke-dasharray: 16 14;
    stroke-linecap: round;
    filter: drop-shadow(0 0 12px rgba(6, 182, 212, 0.38));
}

.ai-signal-pulse {
    fill: var(--amber);
    stroke: rgba(255, 251, 235, 0.94);
    stroke-width: 2;
    filter: drop-shadow(0 0 14px rgba(245, 158, 11, 0.72));
}

.ai-stage {
    cursor: pointer;
    outline: none;
}

.ai-stage rect {
    fill: rgba(10, 12, 16, 0.92);
    stroke: rgba(6, 182, 212, 0.48);
    stroke-width: 1.8;
    transition: fill 180ms ease, stroke 180ms ease, filter 180ms ease;
}

.ai-stage circle {
    fill: rgba(6, 182, 212, 0.65);
    stroke: rgba(226, 232, 240, 0.72);
    stroke-width: 1.5;
}

.ai-stage text {
    fill: rgba(226, 232, 240, 0.86);
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 900;
    text-anchor: middle;
}

.ai-stage .ai-stage-subtext {
    fill: rgba(226, 232, 240, 0.58);
    font-size: 10px;
}

.ai-stage.is-hot rect,
.ai-stage:focus-visible rect {
    fill: rgba(8, 145, 178, 0.18);
    stroke: var(--cyan);
    filter: drop-shadow(0 0 16px rgba(6, 182, 212, 0.56));
}

.ai-stage.is-nearest circle {
    fill: var(--amber);
    filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.72));
}

.ai-stage-core .ai-core-glow {
    fill: url(#aiCoreGlow);
}

.ai-rotor circle {
    fill: rgba(6, 182, 212, 0.1);
    stroke: rgba(59, 130, 246, 0.72);
    stroke-width: 2;
}

.ai-rotor path {
    fill: none;
    stroke: rgba(226, 232, 240, 0.56);
    stroke-width: 2.1;
    stroke-linecap: round;
}

.ai-gauge-track {
    fill: rgba(226, 232, 240, 0.12);
}

.ai-gauge-fill {
    fill: rgba(6, 182, 212, 0.75);
    filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.5));
}

.ai-control-vector {
    pointer-events: none;
    filter: drop-shadow(0 0 18px rgba(245, 158, 11, 0.5));
}

.ai-control-field {
    fill: rgba(245, 158, 11, 0.08);
    stroke: rgba(245, 158, 11, 0.42);
    stroke-width: 1.4;
    stroke-dasharray: 7 9;
}

.ai-control-dot {
    fill: var(--amber);
    stroke: rgba(255, 251, 235, 0.92);
    stroke-width: 2;
}

.skill-link-layer line {
    stroke: rgba(245, 158, 11, 0.26);
    stroke-width: 1.7;
    transition: opacity 180ms ease, stroke-width 180ms ease;
}

.skill-meter-base {
    fill: rgba(10, 12, 16, 0.96);
    stroke: rgba(226, 232, 240, 0.16);
    stroke-width: 14;
}

.skill-meter-fill {
    fill: none;
    stroke: var(--amber);
    stroke-width: 14;
    stroke-linecap: round;
    stroke-dasharray: 74 100;
    filter: drop-shadow(0 0 16px rgba(245, 158, 11, 0.58));
    transform: rotate(-90deg);
}

.skill-meter text {
    fill: rgba(255, 251, 235, 0.88);
    font-size: 1.08rem;
    font-weight: 950;
    text-anchor: middle;
    dominant-baseline: middle;
}

.skill-tile {
    cursor: pointer;
    outline: none;
}

.skill-tile rect {
    fill: rgba(24, 18, 8, 0.92);
    stroke: rgba(245, 158, 11, 0.46);
    stroke-width: 1.8;
    transition: fill 220ms ease, stroke 220ms ease, filter 220ms ease;
}

.skill-tile text {
    fill: rgba(255, 251, 235, 0.9);
    font-size: 13px;
    font-weight: 900;
    text-anchor: middle;
}

.skill-tile .skill-subtext {
    fill: rgba(255, 251, 235, 0.58);
    font-size: 10px;
}

.skill-tile.is-active rect,
.skill-tile:focus-visible rect {
    fill: rgba(120, 68, 12, 0.84);
    stroke: #fbbf24;
    filter: drop-shadow(0 0 18px rgba(245, 158, 11, 0.72));
}

.motion-enabled .reveal {
    opacity: 0;
    transform: translateY(28px);
}

.motion-enabled .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 760ms ease, transform 760ms ease;
}

@keyframes dashFlow {
    to {
        stroke-dashoffset: -180;
    }
}

@keyframes barBreathe {
    50% {
        opacity: 0.58;
    }
}

@media (max-width: 1120px) {
    .site-nav {
        gap: 12px;
    }

    .brand-lockup {
        min-width: 256px;
        padding-inline: 12px;
    }

    .brand-name {
        font-size: 1.38rem;
    }

    .nav-cluster a {
        font-size: 0.7rem;
        padding-inline: 6px;
    }

    .hero-copy h1 {
        font-size: 4.72rem;
    }

    .gateway-grid {
        grid-template-columns: minmax(0, 1fr) minmax(330px, 1.1fr) minmax(180px, 0.66fr);
        gap: 18px;
    }

    .gateway-section {
        padding: 24px;
    }
}

@media (max-width: 900px) {
    html {
        scroll-padding-top: 150px;
    }

    .site-header {
        top: 10px;
        width: min(760px, calc(100% - 20px));
    }

    .site-nav {
        grid-template-columns: 1fr;
        gap: 8px;
        min-height: 0;
        padding: 10px;
        overflow: hidden;
    }

    .brand-lockup {
        order: -1;
        min-width: 0;
        border: 0;
        border-bottom: 1px solid rgba(148, 163, 184, 0.2);
        padding: 4px 8px 10px;
    }

    .nav-cluster {
        display: flex;
        grid-template-columns: none;
        justify-content: stretch;
    }

    .nav-left,
    .nav-right {
        text-align: center;
    }

    .hero-section {
        min-height: auto;
        padding-top: 178px;
    }

    .hero-copy h1 {
        font-size: 3.66rem;
    }

    .hero-core {
        min-height: 380px;
    }

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

    .guide-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        justify-content: center;
        text-align: center;
    }

    .gateway-copy,
    .gateway-action {
        min-height: 0;
        text-align: center;
        padding-right: 0;
    }

    .gateway-action .action-button {
        width: min(100%, 360px);
    }
}

@media (max-width: 680px) {
    html {
        scroll-padding-top: 174px;
    }

    body {
        background-size: 28px 28px, 28px 28px, auto, auto, auto, auto;
    }

    .site-header {
        width: min(760px, calc(100% - 14px));
    }

    .site-nav {
        border-radius: 8px;
    }

    .brand-name {
        font-size: 1.18rem;
    }

    .brand-subtitle {
        font-size: 0.56rem;
    }

    .nav-cluster {
        gap: 5px;
    }

    .nav-cluster a {
        flex: 1 1 0;
        min-height: 36px;
        font-size: 0.62rem;
        line-height: 1.12;
    }

    .hero-section,
    .gateway-section,
    .guide-section,
    .site-footer {
        width: min(1180px, calc(100% - 18px));
    }

    .hero-section {
        gap: 22px;
        padding-top: 176px;
        padding-bottom: 44px;
    }

    .section-kicker {
        font-size: 0.66rem;
    }

    .hero-copy h1 {
        font-size: 2.24rem;
        line-height: 1;
        max-width: 340px;
        margin-inline: auto;
        text-wrap: wrap;
        overflow-wrap: break-word;
    }

    .hero-subtext,
    .gateway-copy p {
        font-size: 1rem;
        line-height: 1.62;
    }

    .hero-core {
        aspect-ratio: 1 / 1.12;
        min-height: 0;
    }

    .orbit-nav::before {
        width: min(78%, 350px);
    }

    .orbit-button {
        width: 136px;
        min-height: 40px;
        font-size: 0.72rem;
        padding: 9px 10px;
    }

    .core-hud,
    .visual-hud {
        top: 10px;
        left: 10px;
        min-width: 138px;
        padding: 9px 10px;
    }

    .core-hud strong,
    .visual-hud strong {
        font-size: 0.88rem;
    }

    .action-button {
        min-height: 46px;
        font-size: 0.82rem;
    }

    .gateway-section {
        margin-bottom: 18px;
        padding: 18px;
    }

    .guide-section {
        margin-bottom: 28px;
        padding: 18px;
    }

    .gateway-copy h2 {
        font-size: 2rem;
    }

    .guide-heading h2 {
        font-size: 2rem;
    }

    .guide-card {
        min-height: 0;
    }

    .visual-window,
    .engineering-visual {
        min-height: 340px;
    }
}

@media (max-width: 430px) {
    .brand-subtitle {
        max-width: 230px;
    }

    .nav-cluster a {
        font-size: 0.57rem;
        padding-inline: 4px;
    }

    .hero-copy h1 {
        max-width: 300px;
        font-size: 1.72rem;
    }

    .gateway-section {
        padding: 14px;
    }

    .guide-section {
        padding: 14px;
    }

    .gateway-copy h2 {
        font-size: 1.72rem;
    }

    .guide-heading h2 {
        font-size: 1.72rem;
    }

    .contact-identity h3 {
        font-size: 1.12rem;
    }

    .visual-window,
    .engineering-visual {
        min-height: 300px;
    }

    .core-hud small,
    .visual-hud small {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
