/* GTensor v2. Dark navy ground, lime for actions, cyan for labels. Oswald caps for headings. */
:root {
  color-scheme: dark;
  --ink: #040b13;
  --ink-2: #02070d;
  --navy: #061a30;
  --panel: #0a1726;
  --panel-2: #0e2034;
  --line: rgba(127, 220, 240, 0.16);
  --line-2: rgba(127, 220, 240, 0.3);
  --text: #e9f2f7;
  --muted: #a9c2d1;
  --faint: #7f97a8;
  --lime: #8ec904;
  --lime-hi: #a4e614;
  --lime-soft: rgba(142, 201, 4, 0.13);
  --cyan: #4fd5f8;
  --cyan-soft: rgba(79, 213, 248, 0.12);
  --warn: #f2b84b;
  --f-display: 'Oswald', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Open Sans', 'Segoe UI', Helvetica, Arial, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --gutter: max(clamp(20px, 4vw, 48px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(20px, 4vw, 48px), env(safe-area-inset-right, 0px));
  --band: clamp(4rem, 9vw, 7rem);
  --radius: 8px;
  --hdr-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 1rem/1.7 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: var(--lime); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0; text-wrap: balance; overflow-wrap: break-word; }
p, li, dd { overflow-wrap: break-word; }
/* German compounds need hyphenation in cards and body text; English does not */
:lang(de) :is(h3, p, li, dd) { hyphens: auto; hyphenate-limit-chars: 10 4 4; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--lime); color: var(--ink); padding: .6rem 1rem; border-radius: 4px; font-weight: 600; }
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }

/* ---------- type ---------- */
.eyebrow { font-family: var(--f-display); font-size: .78rem; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: var(--cyan); }
.display, .sec-title { font-family: var(--f-display); font-weight: 300; text-transform: uppercase; letter-spacing: .02em; line-height: 1.08; }
.display { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.display.xl { font-size: clamp(3rem, 9vw, 6.4rem); line-height: .98; letter-spacing: .01em; }
.display em, .sec-title em { font-style: normal; color: var(--lime); }
.sec-title { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.15rem); max-width: 60ch; }
h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: .05em; font-size: 1.2rem; line-height: 1.25; }
:lang(de) h3 { letter-spacing: .03em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; padding: .8rem 1.5rem; border-radius: 3px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn .ic { width: 18px; height: 18px; transition: transform .15s; }
.btn:hover .ic { transform: translateX(3px); }
.btn.lime { background: var(--lime); color: #071203; }
.btn.lime:hover { background: var(--lime-hi); color: #071203; }
.btn.ghost { border-color: rgba(233, 242, 247, .55); color: var(--text); }
.btn.ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn.sm { min-height: 40px; padding: .5rem 1.1rem; font-size: .78rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.center-row { display: flex; justify-content: center; margin-top: 2.4rem; }

.ic { width: 22px; height: 22px; flex: none; }
.ic.cyan { color: var(--cyan); }

/* ---------- preview bar ---------- */
.preview-bar { background: #2a1f05; color: var(--warn); font: 500 .78rem/1.4 var(--f-mono); text-align: center; padding: .45rem var(--gutter-r) .45rem var(--gutter); }

/* ---------- header ---------- */
/* The blur sits on a pseudo-element: backdrop-filter on .hdr itself would make it the
   containing block for the fixed mobile menu and squash the menu into the header. */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; border-bottom: 1px solid var(--line); }
.hdr::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(4, 11, 19, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--hdr-h); }
.logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 1.9rem; }
.nav-list > li { position: relative; }
.nav-list a, .sub-toggle { font-family: var(--f-display); font-weight: 400; font-size: .84rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(233, 242, 247, .82); text-decoration: none; background: none; border: 0; padding: .5rem 0; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; }
.nav-list a:hover, .sub-toggle:hover, .nav-list a[aria-current="page"], .has-sub.is-active > .sub-toggle { color: var(--lime); }
.nav-list > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--lime); }
.chev { width: 16px; height: 16px; transition: transform .15s; }
.sub-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.sub { list-style: none; position: absolute; top: calc(100% + 14px); left: -1.2rem; min-width: 270px; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); padding: .5rem; display: none; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .7); }
.sub.open { display: block; }
.sub a { display: block; padding: .7rem .9rem; border-radius: 5px; letter-spacing: .1em; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--lime-soft); }
.nav-end { display: flex; align-items: center; gap: 1.2rem; }
.lang { display: flex; gap: .15rem; font: 500 .78rem var(--f-mono); }
.lang a { color: var(--faint); text-decoration: none; padding: .45rem .55rem; border-radius: 3px; border: 1px solid transparent; }
.lang a:hover { color: var(--text); }
.lang a[aria-current="true"] { color: var(--lime); border-color: rgba(142, 201, 4, .45); }
.burger { display: none; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 4px; width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; }
.burger .i-close { display: none; }
.burger[aria-expanded="true"] .i-open { display: none; }
.burger[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 1000px) {
  .burger { display: inline-flex; }
  .nav { display: none; position: fixed; inset: var(--nav-top, 76px) 0 0 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 1.2rem var(--gutter-r) calc(2rem + env(safe-area-inset-bottom, 0px)) var(--gutter); overflow-y: auto; border-top: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list a, .sub-toggle { width: 100%; padding: 1rem 0; font-size: 1.05rem; justify-content: space-between; }
  .nav-list > li > a[aria-current="page"] { box-shadow: none; }
  .sub { position: static; min-width: 0; border: 0; box-shadow: none; padding: 0 0 .8rem .6rem; background: none; }
  .sub a { font-size: .95rem; padding: .7rem .6rem; }
  .nav-end { justify-content: space-between; padding-top: 1.4rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- bands ---------- */
.band { padding-block: var(--band); }
.band.dark { background: linear-gradient(180deg, var(--ink-2) 0%, var(--navy) 100%); }
.band.plain { background: var(--ink-2); }
.band.tight-top { padding-top: 1rem; }
.sec-head { display: grid; gap: .9rem; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.sec-head.center { justify-items: center; text-align: center; }
.sec-head.center .lead { margin-inline: auto; }
.sec-head.left { max-width: 760px; }

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 75% 40%, #0b3156 0%, #04182c 45%, var(--ink-2) 100%); border-bottom: 1px solid var(--line); }
.hero-photo { position: absolute; inset: 0; opacity: .26; mix-blend-mode: screen; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.net { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-body { position: relative; z-index: 2; display: grid; gap: 1.5rem; padding-block: clamp(5rem, 13vw, 10rem) clamp(4.5rem, 10vw, 8rem); }
.hero-body .lead { color: #c3d6e2; font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 54ch; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; font: 600 .82rem var(--f-body); letter-spacing: .02em; color: var(--muted); margin-top: .4rem; }
.facts li { display: inline-flex; align-items: center; gap: .55rem; }
.facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }

/* ---------- page hero ---------- */
.phero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--navy) 0%, var(--ink-2) 100%); border-bottom: 1px solid var(--line); }
.phero-body { position: relative; z-index: 2; display: grid; gap: 1.3rem; padding-block: clamp(4.5rem, 10vw, 8rem) clamp(4rem, 8vw, 6.5rem); max-width: 1200px; }
.phero-body .lead { max-width: 58ch; }
.phero-media { position: absolute; inset: 0 0 0 40%; }
.phero-media::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, var(--navy) 0%, rgba(6, 26, 48, .6) 35%, rgba(2, 7, 13, .2) 100%), linear-gradient(0deg, var(--ink-2) 0%, rgba(2, 7, 13, 0) 40%); }
.phero-media img { width: 100%; height: 100%; object-fit: cover; }
.phero.no-img .phero-body { padding-bottom: clamp(3rem, 6vw, 5rem); }
@media (max-width: 760px) {
  .phero-media { inset: 0; opacity: .45; }
  .phero-media::after { background: linear-gradient(0deg, var(--ink-2) 10%, rgba(6, 26, 48, .7) 100%); }
}

/* duotone treatment for every photo: normalise to grey, tint, then darken evenly */
.duo { position: relative; overflow: hidden; }
.phero-media.duo { position: absolute; }
.duo img { filter: grayscale(1) contrast(1.1) brightness(.7); }
.duo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(160deg, #0a3a66 0%, #04182c 60%, rgba(79, 213, 248, .25) 130%); mix-blend-mode: color; pointer-events: none; }
.split-media.duo::after, .case-media.duo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: #061a30; mix-blend-mode: multiply; opacity: .35; pointer-events: none; }

/* ---------- service cards ---------- */
.cards-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1.2rem; }
.svc { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: 2rem 1.6rem 1.7rem; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; transition: border-color .2s, transform .2s, background-color .2s; min-width: 0; }
.svc:hover { border-color: rgba(142, 201, 4, .55); transform: translateY(-3px); color: var(--text); }
.svc.flag { border-color: rgba(142, 201, 4, .45); background: rgba(142, 201, 4, .06); }
.svc p { color: var(--muted); font-size: .95rem; }
.svc h3 { min-height: 2.5em; }
.svc-ico { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; background: var(--cyan-soft); color: var(--cyan); flex: none; }
.svc.flag .svc-ico { background: var(--lime-soft); color: var(--lime); }
.svc-ico .ic { width: 24px; height: 24px; }
.badge { position: absolute; top: 1.2rem; right: 1.2rem; font: 500 .75rem var(--f-mono); color: var(--ink); background: var(--lime); padding: .15rem .5rem; border-radius: 3px; }
.ticks { list-style: none; display: grid; gap: .35rem; font-size: .9rem; color: #c9dbe6; }
.ticks li { display: flex; gap: .55rem; }
.ticks li::before { content: "›"; color: var(--lime); }
.more { margin-top: auto; padding-top: .4rem; display: inline-flex; align-items: center; gap: .45rem; font-family: var(--f-display); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.more .ic { width: 16px; height: 16px; transition: transform .15s; }
.svc:hover .more .ic { transform: translateX(3px); }

/* ---------- split layout ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(2.4rem, 5vw, 4.5rem); align-items: center; }
.split.top { align-items: start; }
.split-copy { display: grid; gap: 1.2rem; min-width: 0; align-content: start; }
.split-media { border-radius: var(--radius); aspect-ratio: 4 / 3; max-width: 100%; border: 1px solid var(--line); }
.split-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.feat { list-style: none; display: grid; gap: .9rem; }
.feat li { display: grid; grid-template-columns: 24px 1fr; gap: .8rem; color: #c9dbe6; font-size: .97rem; }
.feat .ic { margin-top: 2px; }
.feat strong { color: var(--text); font-weight: 600; }

/* ---------- product UI mock ---------- */
.ui { margin: 0; border: 1px solid var(--line-2); border-radius: 10px; background: #071322; overflow: hidden; font-size: .82rem; min-width: 0; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(142, 201, 4, .05); }
.ui-top { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line); }
.ui-name { font-family: var(--f-display); letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
.ui-region { display: inline-flex; align-items: center; gap: .4rem; font: 500 .7rem var(--f-mono); color: var(--lime); }
.ui-region i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.ui-body { display: grid; grid-template-columns: 140px 1fr; min-height: 330px; }
.ui-side { list-style: none; border-right: 1px solid var(--line); padding: .9rem .6rem; display: grid; gap: .15rem; align-content: start; color: var(--muted); }
.ui-side li { padding: .45rem .6rem; border-radius: 4px; }
.ui-side .on { background: var(--lime-soft); color: var(--lime); }
.ui-main { padding: 1rem; display: grid; gap: .8rem; align-content: start; min-width: 0; }
.ui-h { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; }
.ui-h b { font-family: var(--f-display); font-weight: 400; font-size: 1rem; letter-spacing: .05em; text-transform: uppercase; }
.chip { font: 500 .75rem var(--f-mono); padding: .15rem .5rem; border-radius: 3px; background: var(--cyan-soft); color: var(--cyan); }
.msg { padding: .7rem .85rem; border-radius: 6px; line-height: 1.55; }
.msg.q { background: #0d2238; justify-self: end; max-width: 88%; }
.msg.a { background: rgba(142, 201, 4, .07); border: 1px solid rgba(142, 201, 4, .25); max-width: 94%; }
.src { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .55rem; }
.src span { font: .75rem var(--f-mono); color: var(--faint); border: 1px solid var(--line); padding: .1rem .45rem; border-radius: 3px; }
.meter { display: grid; gap: .4rem; margin-top: .3rem; }
.meter-row { display: grid; grid-template-columns: 70px 1fr 38px; align-items: center; gap: .6rem; color: var(--faint); font: .75rem var(--f-mono); }
.bar { height: 5px; background: #102638; border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--lime)); }
.ui-cap { font: .75rem var(--f-mono); color: var(--faint); padding: .5rem 1rem; border-top: 1px solid var(--line); }
@media (max-width: 560px) {
  .ui-body { grid-template-columns: 1fr; }
  .ui-side { display: none; }
}

/* ---------- process ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.step { padding: 1.8rem 1.4rem 1.5rem; border-right: 1px solid var(--line); display: grid; gap: .7rem; align-content: start; }
.step:last-child { border-right: 0; }
.step .n { font-family: var(--f-display); font-weight: 300; font-size: 2.6rem; color: var(--text); line-height: 1; }
.step p { color: var(--muted); font-size: .95rem; }
.out { display: inline-flex; align-items: center; gap: .4rem; font: 600 .8rem var(--f-body); color: var(--cyan); }
.out .ic { width: 14px; height: 14px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
}

/* ---------- trust ---------- */
.trust { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1.6rem; }
.trust.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.trust li { border-top: 2px solid var(--line-2); padding-top: 1.1rem; display: grid; gap: .45rem; align-content: start; }
.trust h3 { font-size: 1.1rem; }
.trust p { color: var(--muted); font-size: .95rem; }

/* ---------- cases ---------- */
.case { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--panel); }
.band .trust + .case { margin-top: clamp(2.6rem, 5vw, 3.6rem); }
.case-media { min-height: 260px; }
.case-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-body { padding: clamp(1.6rem, 3vw, 2.4rem); display: grid; gap: 1rem; align-content: center; }
.case-body h3 { font-weight: 300; font-size: clamp(1.35rem, 2.4vw, 1.7rem); letter-spacing: .02em; }
.case-body > p { color: var(--muted); }
.case-tag { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-family: var(--f-display); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
.ex { font: 500 .75rem var(--f-mono); letter-spacing: 0; text-transform: none; color: var(--warn); border: 1px solid rgba(242, 184, 75, .45); padding: .05rem .4rem; border-radius: 3px; }
.kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin: .4rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.kv div { display: flex; flex-direction: column-reverse; gap: .2rem; }
.kv dd { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--text); line-height: 1.1; font-variant-numeric: tabular-nums; }
.kv dt { font-size: .75rem; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.case-list { display: grid; gap: 1.6rem; }
.case-list .case:nth-child(even) .case-media { order: 2; }
@media (max-width: 720px) { .case-list .case:nth-child(even) .case-media { order: 0; } }

/* ---------- service page parts ---------- */
.deliver { list-style: none; display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 700px) { .deliver { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .deliver.six { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.deliver li { padding: 1.7rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .025); display: grid; gap: .9rem; align-content: start; }
.deliver p { color: var(--muted); font-size: .95rem; }
.when { list-style: none; display: grid; gap: 0; counter-reset: w; }
.when li { position: relative; padding: 1.1rem 0 1.1rem 2.6rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: #d4e3ec; }
.when li:first-child { border-top: 1px solid var(--line); }
.when li::before { content: ""; position: absolute; left: .2rem; top: 1.55rem; width: 14px; height: 2px; background: var(--lime); }
.uses { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.6rem; }
.uses li { border-top: 2px solid var(--cyan); padding-top: 1.1rem; display: grid; gap: .5rem; }
.uses p { color: var(--muted); }

/* ---------- platform flow diagram ---------- */
.flow-wrap { overflow-x: auto; }
.flow { display: block; width: 100%; max-width: 860px; min-width: 520px; margin: 0 auto; height: auto; }
.flow-lines path { fill: none; stroke: var(--cyan); stroke-opacity: .55; stroke-width: 1.5; }
.flow-out path { fill: none; stroke: var(--lime); stroke-opacity: .8; stroke-width: 1.5; }
.flow-src { fill: var(--panel); stroke: var(--cyan); stroke-opacity: .5; }
.flow-core { fill: rgba(142, 201, 4, .1); stroke: var(--lime); stroke-width: 1.5; }
.flow-team { fill: var(--panel); stroke: var(--lime); }
.flow-t { fill: var(--muted); font: 13px var(--f-mono); }
.flow-core-t { fill: var(--text); font: 400 17px var(--f-display); letter-spacing: .08em; }
.flow-note { fill: var(--faint); font: 12px var(--f-mono); }

/* ---------- about ---------- */
.prose { display: grid; gap: 1.1rem; color: #c9dbe6; font-size: 1.05rem; max-width: 62ch; }
.facts-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 1.6rem 1.7rem; }
.facts-card h2 { font: 400 .8rem var(--f-display); letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1rem; }
.facts-card dl { margin: 0; display: grid; }
.facts-card dl div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.facts-card dl div:last-child { border-bottom: 0; }
.facts-card dt { color: var(--faint); font-size: .9rem; }
.facts-card dd { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: radial-gradient(90% 140% at 100% 0%, rgba(142, 201, 4, .14) 0%, rgba(142, 201, 4, 0) 55%), linear-gradient(180deg, var(--navy), var(--ink)); border-top: 1px solid var(--line); }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-in > div:first-child { display: grid; gap: 1rem; max-width: 640px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(2.4rem, 6vw, 5rem); padding-block: clamp(4rem, 9vw, 7rem); align-items: start; }
.contact-intro { display: grid; gap: 1.3rem; align-content: start; }
.mini-title { font: 400 .8rem var(--f-display); letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); margin-top: 1.2rem; }
.direct { margin: 0; display: grid; gap: 1rem; }
.direct div { display: grid; gap: .2rem; }
.direct dt { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; }
.direct dt .ic { width: 16px; height: 16px; color: var(--lime); }
.direct dd { margin: 0 0 0 1.5rem; font-size: 1.02rem; }
.direct a { color: var(--text); text-decoration-color: rgba(142, 201, 4, .6); }
.direct a:hover { color: var(--lime); }
.form { display: grid; gap: 1.1rem; padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1.1rem; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label { font: 400 .78rem var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.req { color: var(--lime); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; background: rgba(255, 255, 255, .04); border: 1px solid #56778c; border-radius: 4px; color: var(--text); padding: .75rem .85rem; font: 400 1rem var(--f-body); }
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(142, 201, 4, .2); }
.field [aria-invalid="true"] { border-color: #ff7a6b; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; font-size: .9rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--lime); }
.check[data-invalid] label { color: #ffb3a8; }
.form-note { font-size: .8rem; color: var(--faint); }
.form-status { font-size: .95rem; min-height: 1.4em; }
.form-status.ok { color: var(--lime); }
.form-status.err { color: #ff9d8f; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer ---------- */
.ftr { background: var(--ink-2); border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: env(safe-area-inset-bottom, 0px); }
.ftr-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.4rem; }
.ftr-brand { display: grid; gap: 1rem; align-content: start; }
.ftr-brand img { height: 36px; width: auto; }
.ftr-brand p { color: var(--muted); font-size: .92rem; max-width: 34ch; }
.ftr h2 { font: 400 .78rem var(--f-display); letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1rem; }
.ftr ul { list-style: none; display: grid; gap: .55rem; }
.ftr a { color: var(--muted); text-decoration: none; font-size: .93rem; }
.ftr a:hover { color: var(--lime); }
.ftr-contact li { display: grid; grid-template-columns: 18px 1fr; gap: .6rem; color: var(--muted); font-size: .93rem; }
.ftr-contact .ic { width: 16px; height: 16px; color: var(--lime); margin-top: .3rem; }
.ftr-base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-block: 1.4rem; color: var(--faint); font-size: .84rem; }
.ftr-legal { display: flex; gap: 1.4rem; }
@media (max-width: 860px) { .ftr-grid { grid-template-columns: 1fr 1fr; } .ftr-brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .ftr-grid { grid-template-columns: 1fr; } }

/* ---------- home: services + products ---------- */
.offer { display: grid; gap: clamp(2.4rem, 5vw, 3.4rem); }
.offer-group { display: grid; gap: 1.2rem; }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .6rem 2rem; }
.group-label { font: 400 .8rem var(--f-display); letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); padding-bottom: .8rem; border-bottom: 1px solid var(--line); flex: 1 1 auto; }
.group-head .group-label { border-bottom: 0; padding-bottom: 0; flex: 0 1 auto; }
.group-head { padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.2rem; }
.cards-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 1.2rem; }
.owned-note { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--muted); }
.owned-note .ic { width: 18px; height: 18px; color: var(--lime); }

/* ---------- GT Code AI editor mock ---------- */
.code-body { padding: 1rem; display: grid; gap: .9rem; }
.code-ask { display: grid; grid-template-columns: 22px 1fr; gap: .6rem; padding: .7rem .85rem; border-radius: 6px; background: #0d2238; color: #d4e3ec; font-size: .86rem; }
.code { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; padding: .9rem 1rem; border-radius: 6px; background: #050f1a; border: 1px solid var(--line); overflow-x: auto; font: .78rem/1.7 var(--f-mono); color: #c9dbe6; }
.code .k { color: var(--cyan); }
.code .f { color: var(--text); font-weight: 500; }
.code .add { display: inline-block; width: 100%; background: rgba(142, 201, 4, .09); box-shadow: inset 2px 0 0 var(--lime); padding-left: .4rem; margin-left: -.4rem; }

/* ---------- flow diagram: stacked version on phones ---------- */
.flow-stack { display: none; list-style: none; gap: .8rem; justify-items: center; text-align: center; }
.flow-stack li { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; position: relative; }
.flow-stack li + li::before { content: "↓"; position: absolute; top: -1.15rem; left: 50%; transform: translateX(-50%); color: var(--cyan); font-size: .9rem; }
.flow-stack li + li { margin-top: .9rem; }
.fs-src span { font: .8rem var(--f-mono); color: var(--muted); border: 1px solid rgba(79, 213, 248, .5); border-radius: 5px; padding: .35rem .7rem; background: var(--panel); }
.fs-core { flex-direction: column; font: 400 1.05rem var(--f-display); letter-spacing: .1em; text-transform: uppercase; padding: 1rem 1.6rem; border: 1.5px solid var(--lime); border-radius: 8px; background: rgba(142, 201, 4, .1); }
.fs-core small { font: .75rem var(--f-mono); letter-spacing: 0; text-transform: none; color: var(--faint); }
.fs-teams span { font: .8rem var(--f-mono); color: var(--text); border: 1px solid var(--lime); border-radius: 20px; padding: .35rem .9rem; }
@media (max-width: 600px) {
  .flow { display: none; }
  .flow-stack { display: grid; }
  .flow-wrap { overflow: visible; }
}

/* ---------- contact: field errors, notice, confirmation ---------- */
.f-err { color: #ff9d8f; font-size: .85rem; }
.notice { font-size: .85rem; color: var(--muted); }
.form-ok { display: grid; gap: 1rem; padding: clamp(1.6rem, 3vw, 2.4rem); background: var(--panel); border: 1px solid rgba(142, 201, 4, .45); border-radius: 10px; align-content: start; }
.form-ok:focus { outline: none; }
.form-ok h2 { font-family: var(--f-display); font-weight: 300; text-transform: uppercase; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; }
.form-ok p { color: var(--muted); }
.form-ok ol { margin: 0; padding-left: 1.3rem; display: grid; gap: .5rem; color: #d4e3ec; }
.form-ok .btn { justify-self: start; margin-top: .4rem; }
.ok-ico { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; background: var(--lime-soft); color: var(--lime); }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* case titles keep the card size whether they are h2 or h3 */
.case-body .case-title { font-family: var(--f-display); text-transform: uppercase; font-weight: 300; font-size: clamp(1.35rem, 2.4vw, 1.7rem); letter-spacing: .02em; line-height: 1.25; }

/* ---------- platform hero spacing ---------- */
.plat-hero .split { padding-block: clamp(4rem, 8vw, 6.5rem); }

/* ---------- case visuals (drawn, not photos) ---------- */
.case-art { position: relative; min-height: 260px; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(60% 70% at 50% 50%, rgba(79, 213, 248, .12), rgba(79, 213, 248, 0) 70%),
    linear-gradient(rgba(127, 220, 240, .07) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(127, 220, 240, .07) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--navy); }
.case-art .ic { width: 96px; height: 96px; color: var(--cyan); stroke-width: 1; }
.case-art::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(0deg, rgba(4, 11, 19, .6), transparent); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .svc:hover { transform: none; }
}

/* ---------- GT Code AI deployment options ---------- */
.deploy { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.2rem; }
.deploy li { padding: 1.7rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .025); display: grid; gap: .9rem; align-content: start; }
.deploy li.strict { border-color: rgba(142, 201, 4, .45); background: rgba(142, 201, 4, .05); }
.deploy li.strict .svc-ico { background: var(--lime-soft); color: var(--lime); }
.deploy p { color: var(--muted); font-size: .95rem; }

/* ---------- contact person ---------- */
.person { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; align-items: start; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.person-mark { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--lime-soft); color: var(--lime); font: 300 1.6rem var(--f-display); text-transform: uppercase; }
.person-name { font: 400 1.15rem var(--f-display); letter-spacing: .06em; text-transform: uppercase; }
.person-text { color: var(--muted); font-size: .92rem; margin-bottom: .2rem; }
.person a { color: var(--text); text-decoration-color: rgba(142, 201, 4, .6); }
.person a:hover { color: var(--lime); }

/* ---------- engagement models + history ---------- */
.engage { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.2rem; }
.engage li { padding: 1.8rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .025); display: grid; gap: .9rem; align-content: start; }
.engage p { color: var(--muted); font-size: .95rem; }

.hist-title { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: .05em; font-size: 1.2rem; line-height: 1.25; }
.text-link { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--f-display); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); text-decoration: none; }
.text-link .ic { width: 16px; height: 16px; transition: transform .15s; }
.text-link:hover .ic { transform: translateX(3px); }

/* ---------- legal pages ---------- */
.legal { max-width: 75ch; display: grid; gap: 1rem; color: #c9dbe6; }
.legal h2 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: .06em; font-size: 1.25rem; color: var(--text); margin-top: 1.4rem; }
.legal h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: .05em; font-size: 1rem; color: var(--cyan); margin-top: .6rem; }
.legal ul { padding-left: 1.3rem; display: grid; gap: .3rem; }
.legal a { color: var(--text); text-decoration-color: rgba(142, 201, 4, .6); }
.legal-dl { margin: 0; display: grid; border-top: 1px solid var(--line); }
.legal-dl div { display: grid; grid-template-columns: minmax(9rem, 14rem) 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.legal-dl dt { color: var(--faint); }
.legal-dl dd { margin: 0; }

/* touch targets for contact links (WCAG 2.5.8) */
.direct a, .person a, .ftr-contact a { display: inline-block; padding-block: .3rem; }

/* footer divider aligned with the content columns, not the padded wrapper */
.ftr-base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter-r); height: 1px; background: var(--line); }
.person-role { font-size: .8rem; color: var(--cyan); letter-spacing: .1em; text-transform: uppercase; font-family: var(--f-display); }

/* ---------- About: AI journey timeline (real sequence) ---------- */
.journey { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; }
.journey::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-2); }
.journey li { position: relative; padding: 2.2rem 1.6rem 0 0; display: grid; gap: .7rem; align-content: start; }
.journey li::before { content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--ink-2); border: 2px solid var(--cyan); }
.journey li:last-child::before { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 0 5px var(--lime-soft); }
.j-when { font: 400 .8rem var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
.journey li:last-child .j-when { color: var(--lime); }
.journey p { color: var(--muted); font-size: .97rem; }
.journey-close { margin-top: clamp(2.2rem, 4vw, 3rem); max-width: 62ch; font-size: 1.08rem; color: #d4e3ec; border-left: 2px solid var(--lime); padding-left: 1.1rem; }
@media (max-width: 820px) {
  .journey { grid-template-columns: 1fr; gap: 1.8rem; padding-left: 1.6rem; }
  .journey::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .journey li { padding: 0; }
  .journey li::before { left: -1.6rem; top: .15rem; }
}

/* ---------- AI integration path (6 steps) ---------- */
.path { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.path li { padding: 1.6rem 1.5rem 1.7rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .025); display: grid; gap: .8rem; align-content: start; }
.path-top { display: flex; align-items: center; justify-content: space-between; }
.path-n { font: 300 2rem/1 var(--f-display); color: var(--text); }
.path p { color: var(--muted); font-size: .95rem; }
.cta-pair { gap: .8rem; flex-wrap: wrap; }
@media (max-width: 960px) { .path { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .path { grid-template-columns: 1fr; } }
