/* Fonts self-hosted (SIL Open Font License) — no requests to Google */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300; font-display: swap; src: url(fonts/outfit-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/outfit-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/outfit-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/outfit-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/public-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/public-sans-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/public-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); }
/* Layout concept: aerospace corporate — full-bleed dark "space" sections with imagery, alternating with
   light technical sections; faint vertical column grid, uppercase micro-labels, one cyan accent, gold only in the material renders. */
:root {
  --space: #050404;
  --navy: #08090c;
  --navy-2: #2f3447;
  --panel: #0f1117;
  --line: rgba(255, 255, 255, .12);
  --fg: #ffffff;
  --muted: #a9afbd;
  --accent: #ff3b00;
  --accent-2: #cc2f00;
  --gold: #d6ad52;
  --display: "Outfit", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --max: 1280px;
  --gutter: clamp(16px, 4.5vw, 56px);
  --head-h: 76px;
  color-scheme: dark;
}
/* Light technical sections redefine the same tokens locally */
.light {
  --ink: #ffffff; --ink-2: #a9afbd; --paper: #0f1117; --line: rgba(255,255,255,.13);
  background: radial-gradient(120% 90% at 100% 20%, #2a2f40 0%, #111319 45%, #060506 80%); color: var(--fg);
}
.dark { background: var(--space); color: var(--fg); --ink: #ffffff; --ink-2: #a9afbd; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--space); color: var(--fg); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0; max-width: 64ch; }
.eyebrow { font-family: var(--display); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.muted { color: var(--muted); }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--muted); }
.mono { font-family: var(--mono); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: #fff; color: #000; padding: 8px 12px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.head-row .stack { max-width: 720px; }

/* Column grid overlay (sector trope: faint vertical rules) */
.grid-lines { position: relative; }
.grid-lines::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%; opacity: .5; }

/* Top bar */
.topbar { background: var(--space); border-bottom: 1px solid rgba(255,255,255,.08); font-size: .82rem; color: #9fb0cc; position: relative; z-index: 21; }
.topbar .wrap { display: flex; align-items: center; gap: 16px; min-height: 36px; padding-block: 6px; }
.topbar .tag { font-family: var(--display); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-size: .72rem; white-space: nowrap; }
.topbar a.news { text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
.topbar a.news:hover { color: #fff; }
.lang { display: flex; gap: 2px; font-family: var(--display); font-weight: 600; font-size: .78rem; }
.lang a, .lang span { padding: 2px 8px; text-decoration: none; border-radius: 2px; }
.lang span { background: rgba(255,255,255,.12); color: #fff; }
.lang a:hover { color: #fff; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(5, 10, 23, .82); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .wrap { display: flex; align-items: center; gap: 32px; min-height: var(--head-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: .08em; line-height: 1; }
.brand-name small { display: block; font-size: .56rem; letter-spacing: .22em; color: #9fb0cc; font-weight: 600; margin-top: 4px; }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a { font-family: var(--display); font-weight: 600; font-size: .98rem; text-decoration: none; color: #dbe4f3; padding-block: 26px; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 1rem; text-decoration: none; padding: 12px 26px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; line-height: 1.2; }
.btn-accent { background: var(--accent); color: #041022; }
.btn-accent:hover { background: #fff; }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.light .btn-accent { color: #fff; }
.light .btn-accent:hover { background: var(--fg); }
.more { font-family: var(--display); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; color: var(--fg); }
.more::after { content: "→"; color: var(--accent); transition: transform .2s; }
.more:hover::after { transform: translateX(4px); }
.menu-btn { display: none; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 999px; padding: 8px 14px; font: 600 .9rem var(--display); }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .site-header .btn-accent { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--space); border-bottom: 1px solid rgba(255,255,255,.1); padding: 8px var(--gutter) 16px; }
  .nav[hidden] { display: none !important; }
  .nav a { padding-block: 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
}
@media (min-width: 961px) { .nav[hidden] { display: flex !important; } }

/* Hero */
.hero { position: relative; min-height: min(86vh, 860px); display: flex; align-items: stretch; overflow: hidden; background: var(--space); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 20%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(5,10,23,.97) 0%, rgba(5,10,23,.9) 42%, rgba(5,10,23,.35) 72%, rgba(5,10,23,.3) 100%),
  linear-gradient(0deg, rgba(5,10,23,1) 0%, rgba(5,10,23,0) 38%); }
.hero .wrap { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding-block: clamp(56px, 9vw, 120px) 40px; width: 100%; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; max-width: 720px; }
.hero-copy .lede { color: #c6d2e6; max-width: 56ch; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.credit { position: absolute; right: var(--gutter); bottom: 12px; font-family: var(--mono); font-size: .68rem; color: rgba(255,255,255,.45); }

/* Domain rail in hero (dots on a line) */
.rail { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.25); }
.rail a { position: relative; padding: 22px 16px 4px 0; text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.rail a::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--space); border: 2px solid var(--accent); transition: background .2s; }
.rail a:hover::before { background: var(--accent); }
.rail b { font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.rail span { font-size: .88rem; color: #9fb0cc; }
@media (max-width: 760px) { .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; } }

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; background: var(--space); }
.page-hero .hero-media::after { background: linear-gradient(90deg, rgba(5,10,23,.97) 0%, rgba(5,10,23,.85) 45%, rgba(5,10,23,.35) 100%); }
.page-hero .wrap { position: relative; padding-block: clamp(64px, 9vw, 128px) clamp(48px, 6vw, 80px); display: flex; flex-direction: column; gap: 22px; }
.page-hero .lede { color: #c6d2e6; }
.crumbs { font-family: var(--display); font-size: .82rem; color: #9fb0cc; display: flex; gap: 8px; }
.crumbs a { text-decoration: none; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.subnav a { font-family: var(--display); font-weight: 600; font-size: .88rem; text-decoration: none; padding: 7px 16px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; }
.subnav a:hover { border-color: var(--accent); color: var(--accent); }

/* About: overlapping image + panels */
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0; align-items: stretch; }
.about .txt { grid-column: 1 / span 5; background: var(--panel); padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 1; margin-top: 64px; border-left: 2px solid var(--accent); }
.about .img { grid-column: 6 / span 7; min-height: 420px; position: relative; }
.about .img img { width: 100%; height: 100%; object-fit: cover; }
.about .vision { grid-column: 4 / span 6; background: linear-gradient(135deg, #0f7fae, #0b5d86); color: #fff; padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 16px; margin-top: -80px; position: relative; z-index: 2; }
.about .vision .eyebrow { color: #c9ecfb; }
.about .vision blockquote { margin: 0; font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 600; line-height: 1.3; }
.about .vision p { color: #dff2fb; }
@media (max-width: 900px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .about .txt, .about .img, .about .vision { grid-column: 1; margin: 0; }
  .about .img { min-height: 260px; order: -1; }
}

/* KPI band */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpi { padding: 28px 24px 28px 0; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); }
.kpi + .kpi { padding-left: 24px; border-left: 1px solid var(--line); }
.kpi .v { overflow-wrap: anywhere; font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; color: var(--fg); font-variant-numeric: tabular-nums; }
.kpi .k { font-family: var(--display); font-weight: 600; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.kpi .d { font-size: .95rem; color: var(--muted); }
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpi:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 460px) { .kpis { grid-template-columns: minmax(0, 1fr); } .kpi + .kpi { padding-left: 0; border-left: 0; } }

/* Domain tiles */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.tile { position: relative; min-height: 460px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,10,23,.97) 0%, rgba(5,10,23,.9) 48%, rgba(5,10,23,.2) 78%, rgba(5,10,23,.05) 100%); }
.tile .body { position: relative; z-index: 1; padding: 28px; display: flex; flex-direction: column; gap: 12px; min-height: 300px; }
.tile .body .more { margin-top: auto; }
.tile .idx { font-family: var(--display); font-weight: 600; font-size: .74rem; letter-spacing: .16em; color: var(--accent); text-transform: uppercase; }
.tile h3 { font-size: 1.55rem; }
.tile ul { margin: 0; padding-left: 1.1em; font-size: .94rem; color: #c6d2e6; }
.tile .more { color: #fff; }
.tile:hover img { transform: scale(1.05); }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile { min-height: 380px; } }
@media (max-width: 600px) { .tiles { grid-template-columns: minmax(0, 1fr); } }

/* Feature split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split .media { position: relative; min-width: 0; }
.split .media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split .media .badge { position: absolute; left: 0; bottom: 0; background: var(--space); color: #fff; padding: 14px 18px; font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; }
.split .copy { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.specs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--line); margin: 0; }
.specs div { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.specs dt { font-family: var(--display); font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split.rev .media { order: -1; } }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 34px 20px 0 0; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; top: -14px; left: 0; background: var(--navy); padding-right: 10px; font-family: var(--display); font-weight: 700; color: var(--accent); font-size: 1rem; }
.light .steps li::before { background: #111319; }
.steps h3 { font-size: 1.12rem; }
.steps p { font-size: .95rem; color: var(--muted); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Partners strip */
.partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.partners li { list-style: none; padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.partners { padding: 0; margin: 0; }
.partners b { font-family: var(--display); font-size: 1.1rem; letter-spacing: .02em; }
.partners span { font-size: .92rem; color: var(--muted); }
@media (max-width: 800px) { .partners { grid-template-columns: minmax(0, 1fr); } }

/* News cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--panel); display: flex; flex-direction: column; min-width: 0; text-decoration: none; border: 1px solid var(--line); }
.card .top { height: 6px; background: var(--accent); }
.card .in { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card .date { font-family: var(--display); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.card h3 { font-size: 1.25rem; }
.card p { font-size: .96rem; color: var(--muted); }
.card .more { margin-top: auto; }
@media (max-width: 900px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* Product cards (solutions) */
.domain-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: start; margin-bottom: 40px; }
.domain-intro .media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
@media (max-width: 900px) { .domain-intro { grid-template-columns: minmax(0, 1fr); } }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product { background: var(--panel); border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.product h3 { font-size: 1.18rem; }
.product p { font-size: .96rem; color: var(--muted); }
.product .partner { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.product .partner b { color: var(--fg); font-weight: 600; }
.status { align-self: flex-start; font-family: var(--display); font-weight: 700; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.status.prod { background: var(--accent); color: #fff; }
.dark .status.prod { color: #041022; }
.status.study { border: 1px solid var(--muted); color: var(--muted); }
@media (max-width: 1000px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .products { grid-template-columns: minmax(0, 1fr); } }
.figure { margin: 0; background: var(--panel); border: 1px solid var(--line); }
.figure svg { display: block; width: 100%; height: auto; }
.figure figcaption { padding: 12px 16px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.note { font-size: .92rem; color: var(--muted); border-left: 2px solid var(--accent); padding-left: 14px; margin-top: 28px; }
.callout { margin-top: 28px; background: var(--space); color: #fff; padding: clamp(24px, 3vw, 40px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.callout p { color: #c6d2e6; }

/* Capabilities */
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cap { padding: 28px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.cap svg { width: 44px; height: 44px; color: var(--accent); }
.cap p { font-size: .96rem; color: var(--muted); }
@media (max-width: 900px) { .caps { grid-template-columns: minmax(0, 1fr); } }

/* Reference list */
.refs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.refs li { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.refs .yr { font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--accent); line-height: 1.1; }
.refs h3 { font-size: 1.2rem; margin-bottom: 6px; }
.refs p { font-size: .96rem; color: var(--muted); }
.refs .tag { font-family: var(--mono); font-size: .8rem; color: var(--muted); white-space: nowrap; }
.refs a.doi { font-family: var(--mono); font-size: .85rem; color: var(--accent); word-break: break-all; }
@media (max-width: 700px) { .refs li { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.info { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.info dl { margin: 0; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px 18px; }
.info dt { font-family: var(--display); font-weight: 600; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.info dd { margin: 0; }
.person { padding: 20px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.person .role { color: var(--accent); font-family: var(--display); font-weight: 600; font-size: .9rem; }
.person .t { color: var(--muted); font-size: .94rem; }
.person a { text-decoration: none; }
.person a:hover { color: var(--accent); }
form.rfq { background: var(--panel); border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-family: var(--display); font-weight: 600; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; color: var(--fg); background: #fff; border: 1px solid var(--line); padding: 12px 14px; border-radius: 2px; width: 100%; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
@media (max-width: 560px) { .row2 { grid-template-columns: minmax(0, 1fr); } }
.form-msg { min-height: 1.4em; font-size: .92rem; color: var(--muted); }
.reach { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.reach > div { padding: 24px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.reach b { font-family: var(--display); font-size: 1.05rem; }
.reach p { color: var(--muted); font-size: .95rem; }
@media (max-width: 800px) { .reach { grid-template-columns: minmax(0, 1fr); } }

/* CTA band */
.cta { position: relative; overflow: hidden; background: #0b5d86; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; mix-blend-mode: luminosity; }
.cta .wrap { position: relative; padding-block: clamp(56px, 7vw, 96px); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta p { color: #dff2fb; margin-top: 12px; }
.cta .btn { background: #fff; color: #0a1530; }
.cta .btn:hover { background: var(--space); color: #fff; }

/* Footer */
.site-footer { background: var(--space); color: #9fb0cc; font-size: .94rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-block: 64px 28px; }
.site-footer h4 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 14px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; font-size: .8rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .wrap > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer .wrap { grid-template-columns: minmax(0, 1fr); } }

.prose { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .tile img, .more::after { transition: none; } }
@media (max-width: 760px) { .hero-media::after { background: linear-gradient(0deg, rgba(5,10,23,.96), rgba(5,10,23,.8)); } }

/* ---- v3: Tex Tech corporate identity (from the company presentation) ---- */
body { background: var(--space); }
.brand img { height: 30px; width: auto; }
.eyebrow { font-family: var(--display); font-weight: 700; font-size: clamp(1rem, 1.4vw, 1.2rem); letter-spacing: .02em; color: var(--accent); text-transform: uppercase; }
.eyebrow::before { display: none; }
.head-row { border-bottom: 1px solid rgba(255,255,255,.55); padding-bottom: 28px; }
.btn-accent, .light .btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover, .light .btn-accent:hover { background: #fff; color: #050404; }
.dark .status.prod, .status.prod { background: var(--accent); color: #fff; }
.product, .card, .cap, form.rfq, .reach > div, .about .txt { border: 1px solid rgba(255, 59, 0, .7); background: rgba(8, 9, 12, .75); }
.product { padding: 0; overflow: hidden; }
.product .ph { aspect-ratio: 4 / 3; overflow: hidden; background: #111; }
.product .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product:hover .ph img { transform: scale(1.04); }
.product .in { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product .partner { border-top-color: rgba(255,255,255,.12); }
.field input, .field select, .field textarea { background: #07080b; color: #fff; border-color: rgba(255,255,255,.2); }
.topbar { background: #000; }
.topbar .tag { color: var(--accent); }
.site-header { background: rgba(5,4,4,.88); }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.rail a::before { border-color: var(--accent); background: #050404; }
.rail a:hover::before { background: var(--accent); }
.hero { background: radial-gradient(90% 120% at 100% 30%, #2f3447 0%, #14161d 40%, #050404 75%); min-height: 0; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px 56px; align-items: center; }
.hero .rail { grid-column: 1 / -1; }
.hero-photo { position: relative; margin: 0; min-width: 0; }
.hero-photo img { width: 100%; aspect-ratio: 655 / 429; object-fit: cover; border-radius: 6px; }
.hero-photo figcaption { font-size: .82rem; color: var(--muted); margin-top: 10px; }
.tagline { font-family: var(--display); font-weight: 300; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-size: clamp(.8rem, 1.2vw, .98rem); border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 12px; align-self: flex-start; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }
.about .vision { background: linear-gradient(135deg, #ff3b00, #b82a00); }
.about .vision .eyebrow { color: #fff; }
.about .vision p { color: #ffe3d8; }
.about .txt { border-left: 1px solid rgba(255,59,0,.7); }
.cta { background: #b82a00; }
.cta .btn:hover { background: #050404; color: #fff; }
.tile::after { background: linear-gradient(0deg, rgba(5,4,4,.97) 0%, rgba(5,4,4,.88) 45%, rgba(5,4,4,.15) 78%, rgba(5,4,4,0) 100%); }
.tile .idx { color: var(--accent); }
.card .top { background: var(--accent); height: 3px; }
.card .ph { aspect-ratio: 16 / 9; overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.split .media .badge { font-family: var(--body); font-size: .8rem; background: rgba(5,4,4,.85); }
.split .media img { border-radius: 6px; }
.domain-intro .media img { border-radius: 6px; }
.page-hero { background: radial-gradient(90% 140% at 100% 30%, #2f3447 0%, #14161d 40%, #050404 75%); }
.page-hero .hero-media { left: auto; width: 48%; }
.page-hero .hero-media img { opacity: .55; mask-image: linear-gradient(to right, transparent, #000 45%); -webkit-mask-image: linear-gradient(to right, transparent, #000 45%); }
.page-hero .hero-media::after { display: none; }
@media (max-width: 760px) { .page-hero .hero-media { width: 100%; } .page-hero .hero-media img { opacity: .22; } }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .projects { grid-template-columns: minmax(0, 1fr); } }
.logos { font-size: .92rem; color: var(--muted); margin-top: 18px; }
.grid-lines::before { opacity: .35; }
.partners { border-color: rgba(255,59,0,.5); }
.partners li { border-color: rgba(255,255,255,.12); }

/* events */
.ev-h { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 8px 0 18px; }
.cards + .ev-h { margin-top: 48px; }
.card .place { color: #fff; font-weight: 600; font-size: .95rem; }
.card a.more { margin-top: auto; }
.empty { color: var(--muted); border: 1px dashed rgba(255,255,255,.25); padding: 22px; grid-column: 1 / -1; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg.ok { color: #7ee2a8; } .form-msg.err { color: #ff8a65; }

.privacy-note { font-size: .88rem; color: var(--muted); margin: 0; }
.privacy-note a { color: #fff; }

.caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .caps { grid-template-columns: minmax(0, 1fr); } }
.partners { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .partners { grid-template-columns: minmax(0, 1fr); } }
.product .date { font-family: var(--display); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.doi-link { font-family: var(--mono); font-size: .85rem; color: var(--accent); word-break: break-all; }
.refs .yr.pat { font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; }
h2.ev-h { font-size: 1.1rem; }

/* solutions: drawing figures supplied as images (white technical drawings) */
.figure.fig-img img { width: 100%; height: auto; background: #fff; }
/* capabilities: qualification note */
.callout.qual { border: 1px solid rgba(255,59,0,.7); background: rgba(8,9,12,.75); }
.callout.qual p { max-width: none; }
.callout.qual strong { color: #fff; }
.domain-intro:has(> .media:empty) { grid-template-columns: minmax(0, 1fr); }
.domain-intro > .media:empty { display: none; }
/* keep the last lines of "Who we are" clear of the overlapping vision panel */
@media (min-width: 901px) { .about .txt { padding-bottom: calc(clamp(28px, 4vw, 52px) + 88px); } }
/* events: when nothing is scheduled, the most recent event is shown large */
.cards.latest { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 761px) {
  .cards.latest .card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .cards.latest .card .top { grid-column: 1 / -1; }
  .cards.latest .card .ph { aspect-ratio: 16 / 10; }
  .cards.latest .card .in { padding: clamp(26px, 3vw, 44px); justify-content: center; }
  .cards.latest .card h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
}
/* credentials: optional link / download under each figure */
.kpi .more { margin-top: 6px; font-size: .9rem; }
/* language switch: fixed order, same box for both labels, only the style changes */
.lang a, .lang span { min-width: 2.4em; text-align: center; border: 1px solid transparent; }
