/* Selected direction: round two, Signal works. */
.home-page main { max-width: 1600px; margin: auto; }
.home-page main>section { padding: 85px 5%; }
.home-page .hero-signal { display: grid; grid-template-columns: .9fr 1.2fr; gap: 3%; align-items: center; padding-block: 85px 75px; }
.hero-copy h1 { font-size: clamp(60px, 6.2vw, 92px); margin: 30px 0 25px; line-height: .99; }
.hero-copy .intro { max-width: 410px; font-size: 16px; color: var(--muted); line-height: 1.75; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 31px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 18px; border: 1px solid var(--line); font: 600 12px/1.3 var(--font-sans); text-decoration: none; }
.primary { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.primary:hover { background: #ff945f; color: var(--ink); }
.secondary { color: var(--fg); }
.secondary:hover { color: var(--fg); border-color: var(--accent); }
.microproof { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; color: var(--muted); font: 8px/1.7 var(--font-mono); letter-spacing: .8px; }
.hero-figure { border: 1px solid var(--line); background: #1c211d; }
.plate-head, .figure-foot { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 18px 22px; font: 9px/1.6 var(--font-mono); letter-spacing: .7px; color: var(--muted); }
.plate-head { border-bottom: 1px solid var(--line); }
.figure-foot { border-top: 1px solid var(--line); }
.figure-foot b { font: 400 11px/1.6 var(--font-sans); letter-spacing: 0; color: var(--fg); }
.figure-foot>span { font-size: 8px; }
.spec-rail { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 5%; border-block: 1px solid var(--line); }
.spec-rail>span { display: flex; align-items: center; gap: 15px; padding: 24px 25px; border-right: 1px solid var(--line); font-size: 13px; }
.spec-rail>span:first-child { padding-left: 0; }
.spec-rail>span:last-child { border: 0; padding-right: 0; }
.spec-rail small { font: 8px var(--font-mono); color: var(--muted); }
.home-page .explanation { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; border-bottom: 1px solid var(--line); }
.section-intro h2 { margin: 25px 0; }
.section-intro>p:not(.eyebrow) { max-width: 420px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.text-link { display: inline-block; margin-top: 25px; font-size: 12px; text-decoration: none; }
.steps article { display: flex; gap: 28px; padding: 27px 0; border-top: 1px solid var(--line); }
.steps article>span { padding-top: 5px; color: var(--accent); font: 11px var(--font-mono); }
.steps h3 { font-size: 22px; margin-bottom: 13px; }
.steps p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.section-top { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12%; align-items: end; margin-bottom: 43px; }
.section-top h2 { margin: 23px 0 0; }
.section-top>p { max-width: 420px; font-size: 15px; line-height: 1.75; color: var(--muted); }
.home-page .projects { background: #1c211e; border-block: 1px solid var(--line); }
.project-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.project-list>a { display: flex; flex-direction: column; align-items: start; gap: 20px; border-block: 1px solid var(--line); padding: 30px 0; text-decoration: none; }
.project-list>a:hover h3 { color: var(--accent); }
.project-index { font: 9px var(--font-mono); color: var(--muted); letter-spacing: 1px; }
.project-list h3 { font-size: 26px; }
.project-list p { flex: 1; font-size: 14px; color: var(--muted); line-height: 1.7; }
.project-arrow { color: var(--accent); font-size: 25px; margin-top: 15px; }
.home-page .namespace-section { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; border-bottom: 1px solid var(--line); align-items: center; }
.namespace-section h2 { margin: 22px 0; }
.namespace-section>div>p:not(.eyebrow) { max-width: 430px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.hierarchy { border: 1px solid var(--line); background: var(--panel); }
.panel-heading { padding: 15px 20px; display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); color: var(--muted); font: 8px/1.6 var(--font-mono); letter-spacing: .7px; }
.tree { display: flex; flex-direction: column; padding: 25px; font: 13px/2.1 var(--font-mono); color: var(--muted); overflow-x: auto; }
.tree b { color: var(--fg); font-weight: 400; }
.tree-leaf { color: var(--accent); }
.tree-note { padding: 20px 25px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); line-height: 1.7; }
.system-figure { border: 1px solid var(--line); background: var(--panel); padding: 24px; }
.system-figure>svg { display: block; width: 100%; height: auto; }
.system-figure figcaption { color: var(--muted); font: 9px/1.6 var(--font-mono); padding-top: 15px; }
.application-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.application-grid>a { display: flex; flex-direction: column; padding-top: 26px; border-top: 1px solid var(--line); text-decoration: none; }
.application-grid span { color: var(--accent); font: 9px var(--font-mono); margin-bottom: 24px; }
.application-grid h3 { font-size: 23px; margin-bottom: 15px; }
.application-grid p { color: var(--muted); font-size: 14px; line-height: 1.75; flex: 1; }
.application-grid b { font: 400 12px var(--font-sans); margin-top: 25px; }
.home-page .closing { display: flex; align-items: center; justify-content: space-between; gap: 40px; background: var(--accent); color: var(--ink); }
.closing h2 { margin: 20px 0 0; color: var(--ink); }
.closing .eyebrow { color: #402919; }
.closing .actions { margin: 0; flex-direction: column; align-items: stretch; }
.closing .primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.closing .secondary { color: var(--ink); border-color: #754127; }
/* Isometric machinery, retained directly from the selected mockup. */
.factory-svg { --wire: #a0aa95; --front: #333b34; --side: #232b25; --top: #414c40; --window: #171f1a; width: 100%; height: auto; display: block; color: var(--wire); padding: 17px 0 5px; }
.factory-svg path { stroke-linejoin: round; stroke-linecap: round; }
.floor-grid { stroke: var(--wire); stroke-width: .65; fill: none; opacity: .17; }
.floor-edge { stroke: var(--wire); stroke-width: 1; fill: var(--panel); fill-opacity: .4; stroke-dasharray: 5 7; }
.shadow { fill: #080e09; opacity: .35; }
.face-front { fill: var(--front); stroke: var(--wire); stroke-width: 1.1; }
.face-side { fill: var(--side); stroke: var(--wire); stroke-width: 1.1; }
.face-top { fill: var(--top); stroke: var(--wire); stroke-width: 1.1; }
.machine-window { fill: var(--window); stroke: var(--wire); stroke-width: 1; }
.wire { fill: none; stroke: var(--wire); stroke-width: 1; }
.accent-fill, .signal-points { fill: var(--accent); }
.signal-path { stroke: var(--accent); stroke-width: 2; fill: none; }
.hub-side { fill: var(--side); stroke: var(--accent); }
.hub-top { fill: var(--accent); stroke: var(--accent); }
.hub-mark { fill: none; stroke: var(--ink); stroke-width: 2; }
.svg-label { fill: var(--fg); font: 9px var(--font-mono); letter-spacing: 1px; }
.svg-caption { fill: var(--muted); font: 9px var(--font-mono); letter-spacing: .7px; }
.leader { fill: none; stroke: var(--wire); stroke-width: .7; opacity: .7; }
.registration { fill: none; stroke: var(--wire); stroke-width: 1; }
@keyframes signal-flow { to { stroke-dashoffset: -24; } }
.h-flow-line { stroke-dasharray: 4 8; animation: signal-flow 2s linear infinite; }
@keyframes h-pulse { 0%,100% { opacity:.3; } 50% { opacity:1; } }
@keyframes h-packet {
  0% { offset-distance:0%; opacity:0; }
  10%,90% { opacity:1; }
  100% { offset-distance:100%; opacity:0; }
}
@keyframes h-reveal { from { opacity:0; } to { opacity:1; } }
.h-pulse { animation:h-pulse 2.4s ease-in-out infinite; }
.h-pulse-d2 { animation-delay:.6s; }
.h-pulse-d3 { animation-delay:1.2s; }
.h-packet { offset-rotate:0deg; animation:h-packet 2.8s ease-in-out infinite backwards; }
.h-packet-d2 { animation-delay:.7s; }
.h-packet-d3 { animation-delay:1.4s; }
.h-packet-d4 { animation-delay:2.1s; }
.h-fade { animation:h-reveal .5s ease-out both; }
.h-fade-d1 { animation-delay:.1s; }
.h-fade-d2 { animation-delay:.25s; }
.h-fade-d3 { animation-delay:.4s; }
.h-fade-d4 { animation-delay:.55s; }
.h-fade-d5 { animation-delay:.7s; }
.h-glow { animation:diagram-glow 3s ease-in-out infinite; }
.h-kpi { animation:h-reveal .6s ease-out both; }
.h-kpi-d1 { animation-delay:1.8s; }
.h-kpi-d2 { animation-delay:2s; }
.h-kpi-d3 { animation-delay:2.2s; }
.h-kpi-d4 { animation-delay:2.4s; }
@media (max-width: 1100px) {
  .hero-copy h1 { font-size: 68px; }
  .hero-copy .button { font-size: 11px; padding: 15px; gap: 12px; }
  .spec-rail>span { flex-direction: column; align-items: start; gap: 9px; padding: 22px; }
  .figure-foot { flex-wrap: wrap; gap: 8px; }
  .tree { font-size: 11px; }
}
@media (max-width: 900px) {
  .home-page .hero-signal { grid-template-columns: 1fr; gap: 40px; padding-top: 45px; }
  .hero-copy h1 { font-size: 78px; }
  .hero-copy .intro { max-width: 570px; }
  .hero-figure { max-width: 760px; width: 100%; margin: auto; }
  .factory-svg { max-height: 500px; }
  .home-page .explanation, .home-page .namespace-section { gap: 7%; }
  .section-top { gap: 7%; }
  .application-grid, .project-list { gap: 22px; }
  .project-list h3 { font-size: 23px; }
}
@media (max-width: 600px) {
  .home-page main>section { padding: 55px 5%; }
  .hero-copy h1 { font-size: clamp(51px, 12vw, 72px); }
  .hero-copy .eyebrow { font-size: 8px; }
  .hero-copy .intro { font-size: 15px; }
  .microproof { font-size: 7px; gap: 15px; }
  .plate-head, .figure-foot { padding: 14px; font-size: 7px; }
  .figure-foot b { font-size: 10px; }
  .spec-rail { grid-template-columns: 1fr 1fr; }
  .spec-rail>span { padding: 20px; border-bottom: 1px solid var(--line); }
  .spec-rail>span:nth-child(2) { border-right: 0; }
  .spec-rail>span:nth-child(3) { border-bottom: 0; padding-left: 0; }
  .spec-rail>span:last-child { padding: 20px; }
  .home-page .explanation, .home-page .namespace-section { grid-template-columns: 1fr; gap: 35px; }
  .section-top { grid-template-columns: 1fr; gap: 25px; margin-bottom: 30px; }
  .section-intro>p:not(.eyebrow) { font-size: 15px; }
  .steps h3 { font-size: 21px; }
  .steps article { gap: 20px; padding-block: 22px; }
  .project-list, .application-grid { grid-template-columns: 1fr; gap: 30px; }
  .project-list>a { border-bottom: 0; padding-bottom: 0; }
  .project-list h3 { font-size: 26px; }
  .project-arrow { margin-top: 0; }
  .tree { font-size: 11px; padding: 22px 18px; }
  .system-figure { padding: 10px; }
  .system-figure figcaption { font-size: 8px; }
  .home-page .closing { flex-direction: column; align-items: start; gap: 30px; }
  .closing .actions { flex-direction: row; gap: 10px; }
  .closing .button { padding: 14px; gap: 10px; font-size: 11px; }
}
