:root { color-scheme: dark; --night: #091625; --night-2: #0e2035; --panel: #11263e; --panel-2: #152b45; --line: #29405a; --steel: #91a8c2; --muted: #8ea2b8; --orange: #ff9846; --white: #f4f7fb; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--white); background: var(--night); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
.section-shell, .site-header { width: min(1280px, calc(100% - 54px)); margin-inline: auto; }
.technical-grid { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .28; background-image: linear-gradient(rgba(111,142,174,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(111,142,174,.08) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, black, transparent 74%); }

.site-header { min-height: 88px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; border-bottom: 1px solid rgba(140,165,193,.18); }
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; text-decoration: none; font-size: 18px; letter-spacing: -.025em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #49637e; color: var(--orange); font-size: 12px; font-weight: 900; }
.brand strong { color: var(--steel); }
nav { display: flex; gap: 34px; }
nav a { color: #8ea3b9; text-decoration: none; font-size: 12px; font-weight: 700; }
nav a:hover { color: white; }
.header-cta { justify-self: end; padding-bottom: 4px; border-bottom: 1px solid #536c87; text-decoration: none; font-size: 12px; font-weight: 800; }
.header-cta span { margin-left: 6px; color: var(--orange); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 18px; }
.language-switch { padding: 3px; display: flex; gap: 2px; border: 1px solid #304962; background: rgba(13,32,52,.8); }
.language-switch a { min-width: 29px; height: 25px; display: grid; place-items: center; color: #71879d; text-decoration: none; font-size: 9px; font-weight: 900; }
.language-switch a.active { background: var(--orange); color: #132238; }

.hero { min-height: 790px; padding: 86px 0 110px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 62px; }
.hero-image { min-width: 0; min-height: 590px; position: relative; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 45px 100px rgba(0,0,0,.3); }
.hero-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% center; }
.image-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,18,30,.04), rgba(7,18,30,.42)), linear-gradient(90deg, transparent 65%, rgba(7,18,30,.2)); }
.hero-index { position: absolute; top: 22px; left: 24px; padding: 9px 11px; background: rgba(8,21,35,.83); color: var(--orange); font-family: ui-monospace, monospace; font-size: 9px; font-weight: 800; letter-spacing: .1em; backdrop-filter: blur(8px); }
.hero-index span { margin-left: 12px; color: #a9b8c8; }
.model-status { position: absolute; right: 20px; bottom: 20px; padding: 13px 16px; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(255,255,255,.15); background: rgba(8,21,35,.82); backdrop-filter: blur(10px); }
.model-status > i { width: 8px; height: 8px; border-radius: 50%; background: #58e09c; box-shadow: 0 0 14px #58e09c; }
.model-status span { display: flex; flex-direction: column; gap: 2px; color: #8fa3b8; font-size: 8px; }
.model-status strong { color: white; font-size: 10px; }
.eyebrow { margin: 0 0 20px; color: var(--orange); font-size: 10px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; font-size: clamp(56px, 6vw, 86px); line-height: .94; letter-spacing: -.055em; }
h1 span { color: var(--steel); }
.lead { max-width: 580px; margin: 30px 0 0; color: #a6b6c7; font-size: 17px; line-height: 1.75; }
.actions { margin-top: 35px; display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 55px; padding: 0 23px; display: inline-flex; align-items: center; justify-content: center; gap: 17px; text-decoration: none; font-size: 13px; font-weight: 850; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.primary { color: #122135; background: var(--orange); box-shadow: 0 18px 42px rgba(255,152,70,.13); }
.primary:hover { background: #ffab67; }
.line { border: 1px solid #39526d; color: #cad5e1; }
.hero-specs { margin-top: 45px; padding-top: 25px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.hero-specs div { min-width: 0; display: grid; grid-template-columns: 23px 1fr; }
.hero-specs span { grid-row: 1 / span 2; color: var(--orange); font-family: ui-monospace, monospace; font-size: 8px; }
.hero-specs strong { font-size: 10px; }
.hero-specs em { overflow: hidden; color: #7188a0; font-size: 8px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }

.signal-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0c1b2d; }
.signal-bar > div { min-height: 82px; padding: 20px 0; display: flex; align-items: center; justify-content: center; gap: 25px; }
.signal-bar span { color: #61778f; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.signal-bar strong { color: #b8c5d2; font-family: Georgia, serif; font-size: 15px; font-style: italic; font-weight: 500; }
.signal-bar i { color: var(--orange); font-style: normal; }

.project { padding: 135px 0 120px; }
.section-head { margin-bottom: 58px; display: grid; grid-template-columns: 95px 1.1fr .7fr; align-items: end; gap: 36px; }
.section-number { align-self: start; padding-top: 6px; color: #5f758c; font-family: ui-monospace, monospace; font-size: 9px; letter-spacing: .1em; }
.section-head h2 { margin: 0; font-size: clamp(46px, 5.5vw, 74px); line-height: .97; letter-spacing: -.052em; }
.section-head h2 span { color: var(--steel); }
.section-head > p { margin: 0 0 5px; color: #8da1b6; line-height: 1.75; }
.project-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.project-gallery figure { min-width: 0; margin: 0; }
.project-gallery .gallery-wide { grid-column: 1 / span 2; display: grid; grid-template-columns: 1.4fr .6fr; align-items: stretch; border: 1px solid var(--line); background: #0d1e32; }
.project-gallery .gallery-wide.reverse { grid-template-columns: .6fr 1.4fr; }
.project-gallery .gallery-wide.reverse .frame { grid-column: 2; }
.project-gallery .gallery-wide.reverse figcaption { grid-column: 1; grid-row: 1; }
.frame { min-height: 0; overflow: hidden; border: 1px solid var(--line); background: #10243a; }
.gallery-wide .frame { border: 0; }
.frame img { display: block; width: 100%; height: 100%; min-height: 430px; object-fit: cover; transition: transform .55s ease, filter .55s ease; }
.gallery-wide .frame img { min-height: 520px; }
.project-gallery figure:hover img { transform: scale(1.022); }
figcaption { padding: 15px 3px 3px; display: flex; justify-content: space-between; gap: 14px; color: #a9b8c7; font-size: 10px; }
.gallery-wide figcaption { padding: 42px; display: flex; flex-direction: column; justify-content: flex-end; }
figcaption b { margin-right: 8px; color: var(--orange); }
figcaption em { color: #657c93; font-style: normal; }
.gallery-wide figcaption span { font-size: 16px; font-weight: 800; }
.gallery-wide figcaption em { line-height: 1.5; }
.project-cta { min-height: 100px; margin-top: 55px; padding: 22px 27px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 30px; background: #0d1e31; }
.project-cta div { display: flex; flex-direction: column; gap: 6px; }
.project-cta div span { color: var(--orange); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
.project-cta div strong { font-size: 17px; }
.project-cta > a { color: white; font-size: 12px; font-weight: 800; text-underline-offset: 5px; }
.project-cta > a span { color: var(--orange); margin-left: 6px; }

.kernel-section { padding: 130px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #071321; }
.kernel-head { margin-bottom: 72px; display: grid; grid-template-columns: 95px 1.1fr .7fr; align-items: end; gap: 36px; }
.kernel-head h2 { margin: 0; font-size: clamp(46px, 5.5vw, 74px); line-height: .97; letter-spacing: -.052em; }
.kernel-head h2 span { color: var(--steel); }
.kernel-head > p { margin: 0 0 5px; color: #8da1b6; line-height: 1.75; }
.kernel-diagram { min-height: 350px; padding: 44px; display: grid; grid-template-columns: 1fr auto 200px auto 1fr; align-items: center; gap: 26px; border: 1px solid var(--line); background: #0c1c2e; }
.kernel-node { min-height: 180px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #2a435d; background: #10233a; }
.kernel-node span { color: var(--orange); font-family: ui-monospace, monospace; font-size: 8px; letter-spacing: .14em; }
.kernel-node strong { color: #a9bacb; font-size: 13px; line-height: 1.75; }
.kernel-arrow { color: #49637e; font-size: 25px; font-style: normal; }
.kernel-core { width: 200px; height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--orange); border-radius: 50%; background: #0b1b2d; box-shadow: 0 0 0 24px rgba(255,152,70,.025), 0 0 45px rgba(255,152,70,.08); text-align: center; }
.kernel-core span { color: #718ba5; font-size: 9px; }
.kernel-core strong { margin: 7px 0; font-size: 27px; line-height: .9; }
.kernel-core em { color: var(--orange); font-size: 7px; font-style: normal; letter-spacing: .14em; }
.kernel-benefits { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.kernel-benefits article { min-height: 220px; padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kernel-benefits b { color: var(--orange); font-family: ui-monospace, monospace; font-size: 9px; }
.kernel-benefits h3 { margin: 50px 0 10px; font-size: 17px; }
.kernel-benefits p { margin: 0; color: #7f94a9; font-size: 12px; line-height: 1.65; }

.system { padding: 130px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0c1b2d; }
.section-head.compact { margin-bottom: 66px; }
.system-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.system-grid article { min-height: 380px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0f2137; }
.article-top { display: flex; justify-content: space-between; color: #61778e; font-family: ui-monospace, monospace; font-size: 8px; }
.article-top i { color: #526a82; font-style: normal; letter-spacing: .13em; }
.system-icon { width: 50px; height: 50px; margin: 60px 0 28px; display: grid; place-items: center; border: 1px solid #3a536d; color: var(--orange); font-size: 21px; }
.system-grid h3 { margin: 0 0 13px; font-size: 21px; }
.system-grid p { margin: 0; color: #8499ae; font-size: 13px; line-height: 1.7; }
.system-grid ul { margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
.system-grid li, .interface-tags span { padding: 6px 8px; border: 1px solid #2f4862; color: #8fa4b8; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.interface-showcase { margin-top: 90px; display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 70px; }
.interface-copy h3 { margin: 0; max-width: 470px; font-size: clamp(37px, 4vw, 54px); line-height: 1.02; letter-spacing: -.045em; }
.interface-copy > p:not(.eyebrow) { max-width: 500px; margin: 24px 0; color: #8499ae; line-height: 1.75; }
.interface-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.interface-window { position: relative; overflow: hidden; border: 1px solid #38526d; background: #eef1f4; box-shadow: 0 35px 80px rgba(0,0,0,.25); }
.window-bar { height: 41px; padding: 0 13px; display: flex; align-items: center; gap: 6px; background: #12253b; }
.window-bar i { width: 6px; height: 6px; border-radius: 50%; background: #536d87; }
.window-bar i:first-child { background: var(--orange); }
.window-bar span { margin-left: 8px; color: #758ba1; font-family: ui-monospace, monospace; font-size: 8px; }
.interface-window img { display: block; width: 100%; aspect-ratio: 1.66; object-fit: cover; }
.interface-live { position: absolute; right: 13px; bottom: 13px; padding: 9px 11px; border: 1px solid rgba(255,255,255,.18); background: rgba(9,22,37,.9); color: #a7b9ca; font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.interface-live i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #56df9a; box-shadow: 0 0 10px #56df9a; }

.process { padding: 130px 0; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.timeline article { min-height: 300px; padding: 34px 30px 30px 0; display: grid; grid-template-columns: 55px 1fr; gap: 15px; border-right: 1px solid var(--line); }
.timeline article + article { padding-left: 30px; }
.timeline article:last-child { border: 0; }
.timeline-num { color: var(--orange); font-family: ui-monospace, monospace; font-size: 9px; }
.timeline em { color: #61788f; font-size: 8px; font-style: normal; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.timeline h3 { margin: 55px 0 13px; font-size: 20px; }
.timeline p { margin: 0; color: #8196aa; font-size: 13px; line-height: 1.7; }

.closing { min-height: 470px; margin-bottom: 72px; padding: 75px; position: relative; overflow: hidden; border-left: 3px solid var(--orange); background: var(--panel-2); display: grid; grid-template-columns: 1.15fr .65fr; align-items: end; gap: 70px; }
.closing-grid { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(145,168,194,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(145,168,194,.3) 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(90deg, transparent 42%, black); }
.closing > div:not(.closing-grid) { position: relative; z-index: 1; }
.closing h2 { margin: 0; font-size: clamp(51px, 6vw, 82px); line-height: .94; letter-spacing: -.055em; }
.closing-right p { margin: 0 0 27px; color: #a0b1c2; line-height: 1.72; }
.closing-right { display: flex; flex-direction: column; align-items: flex-start; }
.closing-right small { margin-top: 12px; color: #6d8399; font-size: 8px; }

footer { min-height: 160px; padding: 35px 0 45px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 45px; border-top: 1px solid var(--line); color: #667d93; font-size: 10px; }
.footer-brand { font-size: 15px; }
.footer-brand .brand-mark { width: 32px; height: 32px; }
footer p { margin: 0; }
footer > div { display: flex; gap: 20px; }
footer > div a { text-underline-offset: 4px; }

@media (max-width: 1060px) {
  .hero { grid-template-columns: 1fr; }
  .hero-content { max-width: 790px; grid-row: 1; }
  .hero-image { max-width: 900px; grid-row: 2; }
  .section-head { grid-template-columns: 70px 1fr; }
  .kernel-head { grid-template-columns: 70px 1fr; }
  .kernel-head > p { grid-column: 2; max-width: 700px; }
  .kernel-diagram { grid-template-columns: 1fr; justify-items: stretch; }
  .kernel-arrow { transform: rotate(90deg); text-align: center; }
  .kernel-core { justify-self: center; }
  .kernel-benefits { grid-template-columns: repeat(2, 1fr); }
  .section-head > p { grid-column: 2; max-width: 700px; }
  .interface-showcase { grid-template-columns: 1fr; }
  .interface-copy { max-width: 700px; }
  .closing { grid-template-columns: 1fr; }
  .closing-right { max-width: 600px; }
}

@media (max-width: 760px) {
  .section-shell, .site-header { width: min(100% - 30px, 1280px); }
  .site-header { min-height: 70px; grid-template-columns: 1fr auto; }
  nav { display: none; }
  .header-cta { font-size: 10px; }
  .header-actions { gap: 8px; }
  .hero { min-height: 0; padding: 62px 0 80px; gap: 45px; }
  h1 { font-size: clamp(48px, 14vw, 70px); }
  .lead { font-size: 16px; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-specs { grid-template-columns: 1fr; }
  .hero-image { min-height: 430px; }
  .signal-bar > div { flex-wrap: wrap; gap: 13px 18px; }
  .signal-bar span { width: 100%; text-align: center; }
  .project, .kernel-section, .system, .process { padding: 90px 0; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .section-number { display: none; }
  .section-head > p { grid-column: auto; }
  .kernel-head { grid-template-columns: 1fr; gap: 20px; }
  .kernel-head > p { grid-column: auto; }
  .kernel-diagram { padding: 22px; }
  .kernel-node { min-height: 150px; }
  .kernel-benefits { grid-template-columns: 1fr; }
  .kernel-benefits article { min-height: 180px; }
  .project-gallery { grid-template-columns: 1fr; }
  .project-gallery .gallery-wide, .project-gallery .gallery-wide.reverse { grid-column: auto; display: block; }
  .project-gallery .gallery-wide.reverse .frame, .project-gallery .gallery-wide.reverse figcaption { grid-column: auto; grid-row: auto; }
  .gallery-wide .frame img, .frame img { min-height: 310px; }
  .gallery-wide figcaption { padding: 18px 3px 5px; display: flex; flex-direction: row; }
  .gallery-wide figcaption span { font-size: 10px; }
  .project-cta { align-items: flex-start; flex-direction: column; }
  .system-grid, .timeline { grid-template-columns: 1fr; }
  .system-grid article { min-height: 310px; }
  .system-icon { margin-top: 42px; }
  .interface-showcase { margin-top: 70px; gap: 40px; }
  .interface-window img { min-height: 300px; object-position: 63% center; }
  .timeline article, .timeline article + article { min-height: 240px; padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .timeline h3 { margin-top: 35px; }
  .closing { min-height: 0; padding: 52px 25px; }
  .closing h2 { font-size: clamp(46px, 13vw, 66px); }
  .closing-right { align-items: stretch; }
  footer { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 430px) {
  .brand { font-size: 15px; }
  .header-cta { display: none; }
  .header-cta span { display: none; }
  .hero-image { min-height: 350px; }
  .hero-index span { display: none; }
}
