:root {
  color-scheme: dark;
  --bg: #071522;
  --ink: #f0f7ff;
  --muted: #b7c8db;
  --cyan: #54deff;
  --line: #244057;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(ellipse at 68% 12%, #0c243b 0, transparent 38%); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.header { min-height: 83px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: 11px; align-items: center; font-weight: 850; font-size: 1.35rem; letter-spacing: -.05em; font-style: italic; }
.header nav { display: flex; gap: clamp(14px, 3vw, 36px); color: var(--muted); font-size: .95rem; }
.header nav a { padding-block: 12px; }
.header nav a:hover { color: var(--cyan); }
.languages { display: flex; border: 1px solid var(--line); padding: 3px; border-radius: 9px; }
.languages a { display: grid; place-items: center; min-width: 39px; min-height: 38px; border-radius: 6px; font-size: .875rem; font-weight: 750; color: var(--muted); }
.languages [aria-current] { color: var(--cyan); background: #15364d; }
.hero { display: grid; grid-template-columns: 1.14fr 1fr; align-items: center; gap: 40px; padding-block: clamp(65px, 9vw, 118px); }
.eyebrow { color: var(--cyan); text-transform: uppercase; letter-spacing: .15em; font-size: .875rem; font-weight: 750; margin: 0 0 15px; }
h1, h2 { margin: 0; letter-spacing: -.055em; line-height: 1.06; }
h1 { font-size: clamp(2.5rem, 5.65vw, 5.3rem); font-weight: 850; }
h2 { font-size: clamp(2.05rem, 4vw, 3.65rem); }
.accent { color: var(--cyan); }
p { line-height: 1.65; }
.intro, .project-copy > p:last-child, .studio div p, .contact p { color: var(--muted); }
.intro { max-width: 410px; font-size: 1.1rem; margin: 22px 0 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 20px; border-radius: 8px; background: var(--cyan); color: #042032; font-weight: 750; }
.button:hover { background: #98efff; }
.hero-brand { display: grid; place-items: center; min-height: 320px; background: radial-gradient(ellipse, #12609365 0, transparent 68%); position: relative; }
.hero-brand::before { content: ''; position: absolute; inset: 3% 0; background-image: linear-gradient(#315d7755 1px, transparent 1px), linear-gradient(90deg, #315d7755 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse, black, transparent 73%); }
.brand-tile { position: relative; display: grid; justify-items: center; gap: 5px; width: min(100%, 290px); padding: 34px 20px 29px; border: 1px solid #347093; border-radius: 29px; background: linear-gradient(145deg,#153754,#081a2e 75%); box-shadow: inset 0 1px #8cdfff35, 0 20px 48px #020d19b0; }
.brand-tile img { filter: drop-shadow(0 0 16px #0abfff59); }
.brand-tile span { font-size: clamp(2.25rem, 4.1vw, 3.65rem); letter-spacing: -.065em; line-height: 1; font-weight: 900; font-style: italic; color: #e7f2ff; }
.project { display: grid; grid-template-columns: .85fr 1.15fr; border: 1px solid var(--line); border-radius: 20px; background: #0c1e30; overflow: hidden; }
.project-copy { padding: clamp(25px, 5vw, 64px); align-self: center; }
.project-copy p:last-child { margin-bottom: 0; }
.status { display: inline-flex; align-items: center; gap: 8px; color: #a4f5ff; background: #15374b; border-radius: 100px; padding: 5px 12px; font-size: .875rem; margin-bottom: 0; }
.status span:first-child { width: 7px; height: 7px; border-radius: 100%; background: var(--cyan); }
.pipe-art { min-height: 280px; display: grid; background: radial-gradient(ellipse at 55% 40%, #143b55, #081a2b 82%); }
.pipe-art svg { width: 100%; height: 100%; display: block; }
section[id] { scroll-margin-top: 20px; }
.studio { display: grid; grid-template-columns: .55fr 1fr; gap: 20px; padding-block: clamp(60px, 9vw, 112px); }
.studio .eyebrow { margin-top: 10px; }
.studio p:last-child { max-width: 55ch; margin-bottom: 0; }
.contact { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 35px; border-top: 1px solid var(--line); }
.contact h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.contact p { margin-bottom: 0; }
.secondary { background: #122a40; border: 1px solid #31546c; color: var(--cyan); }
.secondary:hover { color: #042032; }
.footer { display: flex; align-items: center; justify-content: space-between; padding-block: 23px; border-top: 1px solid var(--line); color: var(--muted); }
.footer .brand { font-size: 1.05rem; }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .hero { grid-template-columns: 1fr; gap: 16px; padding-block: 50px 35px; }
  .hero-brand { min-height: 263px; }
  .brand-tile { width: min(100%, 241px); }
  .project { grid-template-columns: 1fr; }
  .pipe-art { min-height: 0; aspect-ratio: 1.85; }
  .studio { grid-template-columns: 1fr; gap: 0; }
  .studio .eyebrow { margin-top: 0; }
}
@media (max-width: 540px) {
  .header { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding-top: 10px; }
  .languages { grid-column: 2; grid-row: 1; }
  .header nav { grid-row: 2; grid-column: 1 / -1; flex-wrap: wrap; }
  .contact { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.footer { flex-wrap: wrap; gap: 12px 24px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer nav a, .legal a { text-decoration: underline; text-underline-offset: .2em; }
.footer nav a:hover, .legal a:hover { color: var(--cyan); }
.legal { max-width: 760px; padding-block: clamp(45px, 8vw, 90px); }
.legal h2 { font-size: clamp(1.3rem, 3vw, 1.65rem); letter-spacing: -.025em; margin-top: 32px; }
.legal p, .legal address { color: var(--muted); line-height: 1.65; }
.legal address { margin-top: 16px; font-style: normal; }
.legal a { color: var(--cyan); overflow-wrap: anywhere; }

.projects-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.projects-controls:not([hidden]) { display: flex; gap: 8px; }
.projects-controls button { font: inherit; font-weight: 750; cursor: pointer; }
.projects-controls button:focus-visible, .projects-track:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.projects-track { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-color: #3c617d #0c1e30; }
.projects-track .project { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.project-copy h3 { margin: 0; font-size: clamp(2rem, 4vw, 3.65rem); line-height: 1.06; letter-spacing: -.05em; }
.project-subtitle { margin: 12px 0 0; color: var(--cyan); font-weight: 750; }
.project-art { display: grid; place-items: center; min-height: 255px; color: var(--project-color); background: radial-gradient(ellipse at center, var(--project-glow), transparent 70%), #081a2b; }
.project-art svg { width: clamp(85px, 12vw, 140px); filter: drop-shadow(0 0 18px var(--project-color)); }
.project-art--alert { --project-color: #ffc370; --project-glow: #65391e; }
.project-art--guard { --project-color: #64dfff; --project-glow: #16495f; }
.project-art--mission { --project-color: #63ebc6; --project-glow: #174e4b; }
.project-art--base { --project-color: #c9b3ff; --project-glow: #393263; }
.project-position { margin: 8px 0 0; text-align: center; color: var(--muted); font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 760px) {
  .project-art { min-height: 0; aspect-ratio: 1.85; }
}
@media (prefers-reduced-motion: reduce) {
  .projects-track { scroll-behavior: auto; }
}
