/* Signal Becomes Form — the opening only. Later sections retain their own styles. */
body {
    background: #091714;
    background-image: linear-gradient(180deg, #0b1c19 0, #08131f 1100px);
}
.page-shell { width: min(1380px, calc(100% - 80px)); padding-top: 0; }
.site-header {
    top: 0;
    grid-template-columns: auto 1fr auto;
    min-height: 92px;
    margin: 0;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid #c4e9d72b;
    border-radius: 0;
    background: #0b1b18f5;
    box-shadow: none;
    backdrop-filter: none;
}
.brand img { width: 138px; }
.site-nav { justify-content: flex-end; gap: 28px; padding-right: 32px; }
.site-nav a { color: #c6d4cd; font-size: .8rem; font-weight: 500; }
.site-nav a[aria-current="location"] { color: #c6f1d9; text-decoration: underline; text-decoration-color: #c6f1d978; text-underline-offset: 8px; }
.lang-switch { border-radius: 3px; padding: 0; border-color: #c4e9d72b; background: none; justify-self: end; }
.lang-btn { border-radius: 1px; padding: 7px 10px; font-size: .72rem; }
.lang-btn.is-active { background: #b5e2cc; color: #0b1b18; }
.opening {
    position: relative;
    display: block;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    isolation: isolate;
}
.opening-coordinate {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    color: #8ea79c;
    font: .62rem/1.5 ui-monospace, Consolas, monospace;
    letter-spacing: .13em;
}
.opening-stage {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    align-items: center;
    gap: 32px;
    padding: 40px 0 46px;
    min-height: 580px;
}
.opening .hero-copy { position: relative; z-index: 2; min-width: 0; }
.opening .eyebrow {
    max-width: 44ch;
    color: #b3c9bc;
    font-size: .66rem;
    font-weight: 500;
    letter-spacing: .13em;
    line-height: 1.7;
    margin-bottom: 22px;
}
.opening h1 {
    max-width: 17ch;
    font-size: clamp(2.7rem, 4.65vw, 4.65rem);
    line-height: 1.075;
    font-weight: 500;
    letter-spacing: -.055em;
    color: #f1f0e8;
    text-wrap: balance;
}
.signal-phrase { color: #a8ddbe; }
.opening .hero-text { max-width: 48ch; margin-top: 26px; color: #b1c3ba; font-size: .93rem; line-height: 1.75; }
.opening .hero-actions { gap: 24px; margin-top: 28px; align-items: center; }
.opening .primary-btn, .opening .secondary-btn {
    min-height: 48px;
    border-radius: 2px;
    font-size: .8rem;
    font-weight: 600;
    transition: background var(--motion-duration), color var(--motion-duration);
}
.opening .primary-btn { background: #b8e4cc; color: #0c2019; padding: 0 20px; gap: 22px; }
.opening .primary-btn::after { content: '↗'; font-size: 1.1rem; font-weight: 400; }
.opening .primary-btn:hover { background: #d5f2e1; transform: none; }
.opening .secondary-btn { padding: 0; border: 0; border-bottom: 1px solid #9cb2a866; background: none; color: #dce6de; }
.opening .secondary-btn:hover { color: #b8e4cc; border-color: #b8e4cc; transform: none; }
.opening-capabilities {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 24px 0;
    border-top: 1px solid #c4e9d72b;
    border-bottom: 1px solid #c4e9d72b;
}
.opening-capabilities article { padding: 0 28px; border: 0; border-left: 1px solid #c4e9d72b; border-radius: 0; background: none; box-shadow: none; }
.opening-capabilities article:first-child { padding-left: 0; border-left: 0; }
.opening-capabilities strong { color: #e4e9e0; font-size: .83rem; font-weight: 500; margin-bottom: 7px; }
.opening-capabilities span { display: block; max-width: 34ch; color: #99b0a4; font-size: .73rem; line-height: 1.7; }
.opening-footnote { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0 56px; color: #9bb4a7; font-size: .68rem; letter-spacing: .02em; }
.opening-footnote a { display: inline-flex; gap: 24px; align-items: center; min-height: 32px; }
.opening-footnote a span:last-child { font-size: 1.1rem; color: #b8e4cc; }

/* Three registered drawing planes: fragments, connections, and usable output. */
.signal-field { position: relative; min-width: 0; width: 100%; margin: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.signal-field-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: #9bb5a8; font: .6rem/1.6 ui-monospace, Consolas, monospace; letter-spacing: .035em; }
.signal-field-label::before { content: ''; display: inline-block; width: 5px; height: 5px; margin: 0 8px 1px 0; background: #dc7b64; }
.signal-field-index { color: #81998c; white-space: nowrap; }
.signal-viewport { position: relative; height: 500px; perspective: 1200px; overflow: clip; }
.signal-orbit { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(var(--pointer-x, 0deg)) rotateX(var(--pointer-y, 0deg)); }
.signal-stack { position: absolute; width: 62%; aspect-ratio: 440 / 360; top: 47%; left: 50%; transform-style: preserve-3d; transform: translate(-50%, -50%) rotateX(49deg) rotateY(-7deg) rotateZ(-30deg); }
.signal-plane { position: absolute; inset: 0; border: 1px solid #b9e6ce4f; background: #15362b12; transform-style: preserve-3d; }
.signal-plane-source { transform: translate3d(-16px, 6px, -90px); border-color: #b9e6ce36; }
.signal-plane-system { transform: translate3d(0, 0, 0); background: #11352a33; }
.signal-plane-decision { transform: translate3d(16px, -6px, 90px); border-color: #b9e6ce87; background: #15362b18; }
.signal-plane svg { display: block; width: 100%; height: 100%; overflow: visible; }
.plane-rule { stroke: #b8ddc920; stroke-width: 1; }
.plane-registration { stroke: #b8ddc972; stroke-width: 1; }
.signal-fragments { stroke: #a5bfb175; stroke-width: 1.5; }
.signal-fragments circle { fill: #a5bfb1; stroke: none; }
.signal-connections { stroke: #7bbf9d; stroke-width: 1.5; }
.signal-core { stroke: #aad8bf; stroke-width: 1.5; fill: #1b4434; }
.signal-core-ring { stroke: #aad8bf66; stroke-width: 1; }
.signal-output { stroke: #c8f3d8; stroke-width: 2.5; }
.signal-output-echo { stroke: #b5e9cb33; stroke-width: 1; }
.signal-terminal { fill: #e9a18b; stroke: #102c21; stroke-width: 2; }
.plane-label { position: absolute; left: 24px; top: 20px; font: .66rem/1.4 ui-monospace, Consolas, monospace; letter-spacing: .13em; color: #b7d0c1; }
.plane-label b { margin-right: 14px; font-weight: 400; color: #7f9b8c; }
.plane-foot { position: absolute; left: 24px; bottom: 20px; font: .52rem/1.4 ui-monospace, Consolas, monospace; color: #a6c4b3; letter-spacing: .035em; }
.signal-reticle { position: absolute; width: 16px; height: 16px; border-color: #9ec6b14d; border-style: solid; }
.signal-reticle-top { top: 25px; left: 0; border-width: 1px 0 0 1px; }
.signal-reticle-bottom { bottom: 25px; right: 0; border-width: 0 1px 1px 0; }
.signal-depth-scale { position: absolute; right: 0; top: 35%; display: grid; gap: 12px; color: #abc4b64d; font-size: .5rem; }
.signal-field figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #c4e9d726; padding-top: 18px; color: #a0b8aa; font-size: .68rem; line-height: 1.7; }
.signal-caption-arrow { color: #b8e4cc; font-size: 1.1rem; }
:lang(el) .opening h1 { font-size: clamp(2.5rem, 3.75vw, 3.8rem); letter-spacing: -.035em; max-width: 21ch; }

@media (min-width: 1600px) { .opening-stage { min-height: 680px; } .signal-viewport { height: 505px; } }
@media (max-width: 1100px) {
    .page-shell { width: calc(100% - 48px); }
    .opening-stage { gap: 20px; min-height: 520px; }
    .opening h1 { font-size: clamp(2.6rem, 4.9vw, 3.5rem); }
    .signal-viewport { height: 410px; }
    .signal-stack { width: 62%; }
    .site-header { position: sticky; }
}
@media (max-width: 900px) {
    .opening-stage { grid-template-columns: 1fr; padding-top: 36px; gap: 36px; }
    .opening h1 { max-width: 23ch; font-size: clamp(2.6rem, 6.8vw, 3.65rem); }
    :lang(el) .opening h1 { max-width: 27ch; font-size: clamp(2.4rem, 5.7vw, 3.1rem); }
    .opening .hero-text { max-width: 62ch; }
    .signal-field { max-width: 580px; margin-inline: auto; }
    .signal-viewport { height: 380px; }
    .signal-stack { width: 56%; }
    .signal-plane-source { transform: translate3d(-10px, 4px, -62px); }
    .signal-plane-decision { transform: translate3d(10px, -4px, 62px); }
    .site-nav { gap: 18px; padding-right: 12px; }
}
@media (max-width: 600px) {
    .page-shell { width: calc(100% - 36px); }
    .site-header { grid-template-columns: 1fr auto; gap: 0; min-height: 110px; padding: 10px 0 0; }
    .brand img { width: 112px; }
    .site-nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; padding: 0; gap: 12px; }
    .site-nav a { font-size: .74rem; }
    .lang-switch { grid-column: 2; grid-row: 1; }
    .lang-btn { font-size: .65rem; }
    .opening-coordinate { padding-top: 19px; font-size: .5rem; letter-spacing: .08em; }
    .opening-stage { padding: 28px 0; gap: 38px; }
    .opening .eyebrow { font-size: .6rem; max-width: 40ch; margin-bottom: 18px; }
    .opening h1 { font-size: clamp(2.25rem, 9.7vw, 3.2rem); max-width: 18ch; letter-spacing: -.05em; line-height: 1.09; }
    :lang(el) .opening h1 { font-size: clamp(2rem, 8.4vw, 2.8rem); line-height: 1.16; max-width: 22ch; }
    .opening .hero-text { font-size: .86rem; line-height: 1.75; margin-top: 22px; }
    .opening .hero-actions { flex-direction: row; align-items: center; gap: 20px; margin-top: 24px; flex-wrap: wrap; }
    .opening .primary-btn, .opening .secondary-btn { width: auto; min-height: 46px; font-size: .73rem; }
    .opening .primary-btn { padding: 0 15px; gap: 12px; }
    .signal-viewport { height: 310px; }
    .signal-stack { width: 64%; }
    .signal-field-heading { font-size: .53rem; }
    .plane-label { left: 16px; top: 14px; font-size: .5rem; }
    .plane-foot { left: 16px; bottom: 14px; font-size: .42rem; }
    .signal-field figcaption { font-size: .62rem; padding-top: 12px; }
    .opening-capabilities { grid-template-columns: 1fr; padding: 0; }
    .opening-capabilities article, .opening-capabilities article:first-child { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 17px 0; border: 0; border-bottom: 1px solid #c4e9d71a; }
    .opening-capabilities article:last-child { border-bottom: 0; }
    .opening-capabilities strong { margin: 0; font-size: .76rem; padding-top: 2px; }
    .opening-capabilities span { font-size: .69rem; }
    .opening-footnote { font-size: .59rem; padding: 18px 0 36px; }
    .opening-footnote a { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .signal-orbit { transform: none; }
    .signal-stack { transform: translate(-50%, -50%) rotateX(35deg) rotateZ(-20deg); }
}
