:root { --ink: #edf6ff; --muted: #a7bbce; --line: rgba(162, 205, 236, .22); --navy: #0d1623; --deep: #081019; --blue: #66b8ff; --green: #72e0b7; --content: 76rem; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--deep); color: var(--ink); font: 400 16px/1.6 "IBM Plex Sans", sans-serif; }
a { color: inherit; }
img { max-width: 100%; }
.shell { width: min(calc(100% - 3rem), var(--content)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 60; top: 1rem; left: 1rem; transform: translateY(-200%); padding: .6rem .8rem; background: var(--green); color: #06131a; font: 600 .72rem/1 "IBM Plex Mono", monospace; }
.skip-link:focus { transform: translateY(0); }
.project-header { position: relative; z-index: 3; border-bottom: 1px solid var(--line); background: rgba(8, 16, 25, .86); backdrop-filter: blur(14px); }
.header-inner { display: flex; min-height: 4.5rem; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: #fff; font: 600 .92rem/1 "IBM Plex Sans", sans-serif; text-decoration: none; }
.mark { display: inline-grid; width: 1.8rem; height: 1.8rem; place-items: center; border: 1px solid var(--blue); color: var(--blue); font: 500 .48rem/1 "IBM Plex Mono", monospace; }
.language-links { display: flex; gap: .25rem; }
.language-links a { padding: .35rem .45rem; color: var(--muted); font: 500 .67rem/1 "IBM Plex Mono", monospace; text-decoration: none; }
.language-links a:hover { color: var(--ink); }
.language-links a[aria-current="page"] { color: var(--green); border-bottom: 1px solid var(--green); }

.sentinel-hero { position: relative; overflow: hidden; padding: clamp(4rem, 9vw, 8rem) 0; background: radial-gradient(circle at 84% 7%, rgba(62, 133, 201, .25), transparent 26rem), linear-gradient(120deg, #0d1927, #071019 72%); }
.sentinel-hero::before { position: absolute; inset: 0; background-image: linear-gradient(rgba(146, 204, 243, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(146, 204, 243, .05) 1px, transparent 1px); background-size: 3rem 3rem; content: ""; mask-image: linear-gradient(to bottom, black, transparent 90%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .82fr) minmax(28rem, 1.18fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.eyebrow, .section-kicker { margin: 0 0 1rem; color: var(--green); font: 500 .7rem/1.4 "IBM Plex Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: .5rem; height: .5rem; margin-right: .5rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 1rem var(--green); }
h1, h2, h3 { margin: 0; font-family: "Space Grotesk", sans-serif; line-height: 1.08; }
h1 { max-width: 9ch; font-size: clamp(3.4rem, 8vw, 6.8rem); letter-spacing: -.065em; }
h2 { max-width: 16ch; font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.05em; }
.hero-lede { max-width: 33rem; margin: 1.5rem 0 0; color: #f7fbff; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.45; }
.hero-detail { max-width: 33rem; margin: 1rem 0 0; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button-primary, .button-secondary { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.9rem; padding: .75rem 1rem; font: 500 .72rem/1 "IBM Plex Mono", monospace; letter-spacing: .04em; text-decoration: none; }
.button-primary { background: var(--green); color: #07131a; }
.button-secondary { border: 1px solid var(--line); color: #e5f1fb; }
.button-primary:hover { background: #a1f4d5; }
.button-secondary:hover, .release-links > a:not(.button-primary):hover { border-color: var(--blue); color: var(--blue); }
.platform-note { margin: 1rem 0 0; color: #7f9ab0; font: 400 .68rem/1.5 "IBM Plex Mono", monospace; }

.hero-screen { position: relative; margin: 0; }
.hero-screen .shot-open { display: block; overflow: hidden; width: 100%; padding: 0; border: 1px solid rgba(116, 190, 239, .42); background: #0b1622; box-shadow: 1.5rem 1.5rem 0 rgba(25, 88, 134, .18), 0 2rem 5rem rgba(0, 0, 0, .42); cursor: zoom-in; }
.hero-screen img { display: block; width: 100%; height: auto; }
.hero-rail { display: flex; flex-wrap: wrap; gap: 1.25rem; margin: .9rem 0 0; color: #7f9ab0; font: 400 .66rem/1.6 "IBM Plex Mono", monospace; }
.hero-rail span { position: relative; padding-left: .85rem; }
.hero-rail span::before { position: absolute; left: 0; top: .5em; width: .32rem; height: .32rem; background: var(--blue); content: ""; }
.hero-rail b { color: var(--green); font-weight: 500; }
.shot-open { -webkit-tap-highlight-color: transparent; }

.sentinel-section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.facts-section { background: #eef5f9; color: #102238; }
.facts-section .section-kicker { color: #157b63; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3rem; border-top: 1px solid #c8dae7; }
.facts-grid article { min-height: 15rem; padding: 1.5rem 1.6rem 1.5rem 0; border-right: 1px solid #c8dae7; }
.facts-grid article + article { padding-left: 1.6rem; }
.facts-grid article:last-child { border-right: 0; }
.facts-grid span { color: #2b75b6; font: 500 .68rem/1 "IBM Plex Mono", monospace; }
.facts-grid h3 { margin-top: 2.4rem; font-size: 1.35rem; letter-spacing: -.035em; }
.facts-grid p { max-width: 22rem; margin: .8rem 0 0; color: #466078; }

.operation-section { background: #101d2b; }
.operation-grid { display: grid; grid-template-columns: minmax(16rem, .75fr) minmax(22rem, 1.25fr); gap: clamp(3rem, 8vw, 8rem); }
.operation-list { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; counter-reset: operation; }
.operation-list li { position: relative; display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; padding: 0 0 1.25rem; border-bottom: 1px solid var(--line); }
.operation-list li::before { counter-increment: operation; content: "0" counter(operation); color: var(--green); font: 500 .68rem/1.6 "IBM Plex Mono", monospace; }
.operation-list strong { grid-column: 2; font-size: 1.05rem; }
.operation-list span { grid-column: 2; color: var(--muted); }

.gallery-section { background: #090f17; }
.section-heading { display: flex; gap: 2rem; align-items: end; justify-content: space-between; }
.section-heading > p { max-width: 26rem; margin: 0; color: var(--muted); }

.gallery { margin-top: 3rem; }
.gallery-viewport { position: relative; border: 1px solid var(--line); background: #0c1621; }
.gallery-status { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: .7rem 1rem; border-bottom: 1px solid var(--line); color: #cfe1f2; font: 500 .68rem/1 "IBM Plex Mono", monospace; letter-spacing: .04em; }
.gallery-status .gallery-count { color: #7f9ab0; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track figure { flex: 0 0 100%; scroll-snap-align: center; margin: 0; }
.gallery-track figure figcaption { padding: .55rem 1rem; color: #8ba6bc; font: 500 .64rem/1 "IBM Plex Mono", monospace; }
.gallery-track .shot-open { display: block; width: 100%; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: #0c1621; cursor: zoom-in; }
.gallery-track img { display: block; width: 100%; height: auto; aspect-ratio: 1907 / 900; object-fit: cover; object-position: top; }
.has-js .gallery-track { overflow: hidden; scroll-snap-type: none; }
.has-js .gallery-track figure { transition: opacity 320ms ease; }
.has-js .gallery-track figure[hidden] { display: none; }

.gallery-arrow { position: absolute; top: calc(50% + .8rem); display: none; width: 2.6rem; height: 2.6rem; align-items: center; justify-content: center; transform: translateY(-50%); border: 1px solid var(--line); background: rgba(8, 16, 25, .82); color: var(--ink); font-size: 1rem; cursor: pointer; }
.gallery-arrow:hover { border-color: var(--blue); color: var(--blue); }
.gallery-prev { left: .8rem; }
.gallery-next { right: .8rem; }
.has-js .gallery-arrow { display: inline-flex; }

.gallery-thumbs { display: flex; gap: .6rem; overflow-x: auto; margin-top: .8rem; padding-bottom: .4rem; scrollbar-width: thin; }
.gallery-thumbs a { position: relative; flex: 0 0 auto; width: 8.5rem; border: 1px solid var(--line); background: #0c1621; text-decoration: none; }
.gallery-thumbs a img { display: block; width: 100%; height: 4.4rem; object-fit: cover; object-position: top; opacity: .5; transition: opacity 200ms ease; }
.gallery-thumbs a span { display: block; padding: .35rem .5rem; color: #8ba6bc; font: 500 .6rem/1 "IBM Plex Mono", monospace; }
.gallery-thumbs a:hover img { opacity: .8; }
.gallery-thumbs a[aria-selected="true"] { border-color: var(--green); }
.gallery-thumbs a[aria-selected="true"] img { opacity: 1; }
.gallery-thumbs a[aria-selected="true"] span { color: var(--green); }

.release-section { background: #dff2eb; color: #102238; }
.release-section .section-kicker { color: #16785e; }
.release-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 5vw, 4rem); border: 1px solid #9ccdbd; background: #f6fcf9; }
.release-panel p:not(.section-kicker):not(.release-targets) { max-width: 34rem; margin: 1rem 0 0; color: #466078; }
.release-targets { margin: 1.25rem 0 0; color: #2b6b57; font: 500 .68rem/1.5 "IBM Plex Mono", monospace; letter-spacing: .03em; }
.release-links { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; min-width: 11rem; }
.release-links > a:not(.button-primary) { color: #26516a; font: 500 .7rem/1.4 "IBM Plex Mono", monospace; text-decoration: none; }

.project-footer { border-top: 1px solid var(--line); padding: 1.4rem 0; background: #071019; }
.project-footer .shell { display: flex; justify-content: space-between; gap: 1rem; color: #8ba6bc; font: 400 .68rem/1.5 "IBM Plex Mono", monospace; }
.project-footer a { color: var(--green); }

a:focus-visible, button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.lightbox { position: fixed; z-index: 80; inset: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); }
.lightbox:not([open]) { display: none; }
.lightbox::backdrop { background: rgba(4, 8, 13, .92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; background: rgba(4, 8, 13, .92); }
.lightbox-figure { display: flex; flex-direction: column; gap: .8rem; align-items: center; max-width: min(94vw, 90rem); margin: 0; }
.lightbox-figure img { max-width: 94vw; max-height: 82vh; width: auto; height: auto; border: 1px solid rgba(116, 190, 239, .35); object-fit: contain; }
.lightbox-status { display: flex; gap: 1rem; color: #cfe1f2; font: 500 .72rem/1 "IBM Plex Mono", monospace; letter-spacing: .04em; }
.lightbox-status span:last-child { color: #7f9ab0; }
.lightbox-close, .lightbox-nav { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border: 1px solid var(--line); background: rgba(8, 16, 25, .78); color: var(--ink); font-size: 1.4rem; cursor: pointer; }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); font-size: 1.2rem; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-close:hover, .lightbox-nav:hover { border-color: var(--blue); color: var(--blue); }
body.lightbox-open { overflow: hidden; }

@media (max-width: 900px) {
  .hero-grid, .operation-grid { grid-template-columns: 1fr; }
  .hero-screen { max-width: 48rem; }
  .section-heading { align-items: start; flex-direction: column; }
}
@media (max-width: 680px) {
  .shell { width: min(calc(100% - 2rem), var(--content)); }
  .facts-grid { grid-template-columns: 1fr; }
  .facts-grid article, .facts-grid article + article { min-height: 0; padding: 1.25rem 0; border-right: 0; border-bottom: 1px solid #c8dae7; }
  .facts-grid article:last-child { border-bottom: 0; }
  .facts-grid h3 { margin-top: 1.25rem; }
  .release-panel, .project-footer .shell { align-items: flex-start; flex-direction: column; }
  .gallery-thumbs a { width: 6.5rem; }
  .gallery-thumbs a img { height: 3.4rem; }
  h1 { font-size: clamp(3rem, 16vw, 4.6rem); }
  .lightbox-nav { width: 2.6rem; height: 2.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .has-js .gallery-track figure, .gallery-thumbs a img { transition: none; }
}
