/* ------------------------------------------------------------
   Self-hosted IBM Plex — the site makes no third-party requests.
   Latin and Latin-Extended only; add Cyrillic subsets if the site
   ever carries Russian or Bulgarian text.
   ------------------------------------------------------------ */

/* --- Cyrillic (Bulgarian, Russian) --- */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-400-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-500-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-500-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-600-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 600;            /* variable: one file, all weights */
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 600;            /* variable: one file, all weights */
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================================
   Simple Solutions — simplesolutions.ltd
   Communications / Intelligence / Unmanned systems
   ============================================================ */

:root {
  --ink:        #0A0C0F;   /* page ground            */
  --surface:    #10141A;   /* alternating band       */
  --card:       #141920;   /* raised card            */
  --card-2:     #171D25;
  --line:       #232B35;
  --line-soft:  #1A212A;

  --text:       #E7EBF0;
  --muted:      #98A5B4;
  --dim:        #6E7C8B;

  --accent:     #C08A3E;   /* signal bronze          */
  --accent-lt:  #D9A65C;
  --accent-dk:  #A8762F;
  --accent-tint: rgba(192,138,62,.11);

  --wrap: 1180px;
  --r-sm: 6px;
  --r:    10px;

  --header-h: 76px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--muted);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { color: var(--text); line-height: 1.16; letter-spacing: -.018em; font-weight: 600; }
a { color: var(--accent-lt); text-decoration: none; }
a:hover { color: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: #0A0C0F; padding: 10px 16px; border-radius: var(--r-sm);
  font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #0A0C0F; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 26px; }
.wrap-mid { max-width: 840px; }

.section { padding: clamp(70px, 8.5vw, 116px) 0; }
.band { background: var(--surface); border-block: 1px solid var(--line-soft); }

.section-head { max-width: 680px; margin-bottom: clamp(38px, 5vw, 60px); }
.section-head h2 { font-size: clamp(27px, 3.6vw, 39px); margin-bottom: 15px; }
.section-sub { font-size: 17px; color: var(--muted); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}

.mono { font-family: var(--mono); font-size: 13.5px; letter-spacing: .01em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--mono);
  font-weight: 500; font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase;
  line-height: 1; padding: 15px 24px;
  border-radius: var(--r-sm); border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease),
              color .2s var(--ease), transform .2s var(--ease);
}
.btn-lg { padding: 17px 30px; }
.btn-sm { padding: 11px 17px; font-size: 12.5px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--accent); color: #0A0C0F; font-weight: 600; }
.btn-primary:hover { background: var(--accent-lt); color: #0A0C0F; transform: translateY(-1px); }
.btn-primary[disabled] { opacity: .55; pointer-events: none; }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { color: var(--text); border-color: var(--accent); background: var(--accent-tint); transform: translateY(-1px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,12,15,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); background: rgba(10,12,15,.94); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { width: 32px; height: 32px; color: var(--accent); flex: none; }
.brand-name {
  font-family: var(--mono); font-weight: 600; font-size: 15px;
  letter-spacing: .13em; color: var(--text);
}
.brand-name-2 { color: var(--dim); }

.nav { display: flex; align-items: center; gap: 32px; }
.nav > a {
  font-size: 14.5px; font-weight: 400; color: var(--muted); position: relative;
  transition: color .18s var(--ease);
}
.nav > a:not(.btn):hover, .nav > a.is-active { color: var(--text); }
.nav > a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav > a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0; margin-right: -10px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--text);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(74px, 10vw, 124px) 0 clamp(66px, 8vw, 100px); overflow: hidden; }

.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(80% 62% at 22% 34%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(80% 62% at 22% 34%, #000 30%, transparent 78%);
}
.hero-glow {
  position: absolute; top: -300px; left: -180px; width: 900px; height: 760px;
  pointer-events: none;
  background: radial-gradient(46% 46% at 50% 50%, rgba(192,138,62,.13), transparent 72%);
}

.hero-inner { position: relative; max-width: 880px; }
.hero-title { font-size: clamp(33px, 5.6vw, 60px); letter-spacing: -.028em; margin-bottom: 24px; font-weight: 600; }
.hero-sub { font-size: clamp(16.5px, 1.7vw, 19px); color: var(--muted); max-width: 660px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 52px; }

.facts { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); }
.facts > div { padding: 20px 34px 0 0; margin-right: 34px; border-right: 1px solid var(--line); }
.facts > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.facts dt {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 6px;
}
.facts dd { font-size: 17px; color: var(--text); font-weight: 500; }

/* ---------- Lede ---------- */
.lede { font-size: clamp(18px, 2.1vw, 22px); line-height: 1.6; color: var(--text); font-weight: 400; }

/* ---------- Capabilities ---------- */
.cap-list { border-top: 1px solid var(--line); }
.cap {
  display: grid; grid-template-columns: 340px 1fr; gap: 40px;
  padding: 42px 0; border-bottom: 1px solid var(--line);
}
.cap-head { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; }
.cap-num {
  display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .16em;
  color: var(--accent); margin-bottom: 12px;
}
.cap-head h3 { font-size: clamp(21px, 2.4vw, 26px); }

.cap-body > p { margin-bottom: 22px; max-width: 62ch; }
.cap-body ul { display: grid; gap: 11px; }
.cap-body li {
  position: relative; padding-left: 24px; font-size: 15.5px; color: var(--muted);
}
.cap-body li::before {
  content: ''; position: absolute; left: 0; top: .68em;
  width: 9px; height: 1.5px; background: var(--accent); opacity: .8;
}

.restricted {
  margin-top: 24px; padding: 15px 18px; font-size: 14.5px; color: var(--muted);
  background: var(--accent-tint); border-left: 2px solid var(--accent); border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.restricted strong { color: var(--accent-lt); font-weight: 600; }

/* ---------- Clients ---------- */
.clients { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.client-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 32px 30px 34px;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.client-card:hover { border-color: #303B48; background: var(--card-2); }
.tier {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.client-card h3 { font-size: 21px; margin-bottom: 10px; }
.client-sub { font-size: 15px; color: var(--dim); margin-bottom: 24px; }
.client-card ul { display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.client-card li { position: relative; padding-left: 22px; font-size: 15.5px; }
.client-card li::before {
  content: ''; position: absolute; left: 0; top: .66em;
  width: 8px; height: 1.5px; background: var(--dim);
}

.note {
  margin-top: 26px; font-size: 14.5px; color: var(--dim);
  font-family: var(--mono); line-height: 1.7;
}

/* ---------- Steps ---------- */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px 28px;
}
.step-num {
  display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em;
  color: var(--accent); margin-bottom: 14px;
}
.step h3 { font-size: 17.5px; margin-bottom: 9px; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- Split ---------- */
.split { display: grid; gap: clamp(38px, 5.5vw, 70px); grid-template-columns: 1fr 1fr; align-items: start; }
.split-text h2 { font-size: clamp(25px, 3.3vw, 36px); margin-bottom: 22px; }
.split-text p { margin-bottom: 18px; max-width: 58ch; }

.split-list { display: grid; }
.split-list li { padding: 22px 0; border-top: 1px solid var(--line); }
.split-list li:last-child { border-bottom: 1px solid var(--line); }
.split-list h3 { font-size: 16.5px; margin-bottom: 7px; }
.split-list p { font-size: 15px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-details { margin-top: 30px; display: grid; }
.contact-details li {
  display: flex; gap: 20px; align-items: baseline;
  padding: 14px 0; border-top: 1px solid var(--line); font-size: 15.5px;
}
.contact-details li:last-child { border-bottom: 1px solid var(--line); }
.contact-label {
  width: 96px; flex: none; font-family: var(--mono); font-size: 11.5px;
  letter-spacing: .13em; text-transform: uppercase; color: var(--dim);
}

.opsec {
  margin-top: 26px; padding: 16px 18px; font-size: 14.5px; line-height: 1.65;
  color: var(--muted); background: rgba(192,138,62,.07);
  border: 1px solid rgba(192,138,62,.26); border-radius: var(--r-sm);
}
.opsec strong { color: var(--accent-lt); font-weight: 600; }

.form {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(26px, 3.2vw, 36px);
}
.field { margin-bottom: 18px; }
.field label {
  display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 8px;
}
.opt { text-transform: none; letter-spacing: 0; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; font-size: 15.5px;
  background: var(--ink); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 118px; }
.field textarea::placeholder { color: #55616F; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E7C8B' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 15px;
  padding-right: 38px;
}
.field select option { background: var(--ink); color: var(--text); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(192,138,62,.15);
}
.field.has-error input, .field.has-error textarea { border-color: #C4553F; }
.err { font-size: 13.5px; color: #DE7A63; margin-top: 7px; display: none; }
.field.has-error .err { display: block; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: 15px; font-size: 14.5px; text-align: center; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-ok  { color: #6FBF8F; }
.form-status.is-bad { color: #DE7A63; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 58px 0 32px; }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between;
  align-items: flex-start; padding-bottom: 36px;
}
.footer-brand p { margin-top: 14px; font-size: 14.5px; color: var(--dim); max-width: 34ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-nav a { color: var(--muted); font-size: 14.5px; }
.footer-nav a:hover { color: var(--text); }

.compliance {
  padding: 22px 0; border-top: 1px solid var(--line);
}
.compliance p {
  font-family: var(--mono); font-size: 12.5px; line-height: 1.75; color: var(--dim);
  max-width: 90ch;
}

.footer-legal {
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--dim);
}
.footer-legal a { color: var(--dim); }
.footer-legal a:hover { color: var(--text); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cap { grid-template-columns: 1fr; gap: 22px; padding: 36px 0; }
  .cap-head { position: static; }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line);
    padding: 8px 26px 22px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .22s var(--ease), transform .22s var(--ease);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav > a { padding: 16px 0; font-size: 16px; border-bottom: 1px solid var(--line-soft); }
  .nav > a::after { display: none; }
  .nav-cta { margin-top: 18px; border-bottom: 0 !important; }
  .nav-toggle { display: flex; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 560px) {
  .wrap { padding-inline: 20px; }
  .hero-actions .btn { width: 100%; }
  .facts { display: grid; grid-template-columns: 1fr; }
  .facts > div { border-right: 0; border-bottom: 1px solid var(--line); margin-right: 0; padding: 16px 0; }
  .facts > div:last-child { border-bottom: 0; }
  .contact-details li { flex-direction: column; gap: 3px; }
  .contact-label { width: auto; }
  .mono { font-size: 12.5px; word-break: break-all; }
}

/* ---------- Anchor offset for the sticky header ---------- */
section[id], main [id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ============================================================
   Operator profiles — About section
   ============================================================ */

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.operators-wrap { margin-top: clamp(56px, 6.5vw, 84px); }
.operators-head { margin-bottom: clamp(30px, 4vw, 44px); }

.operators {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.operator {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 28px 30px;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.operator:hover { border-color: #303B48; background: var(--card-2); }

/* ---- Portrait ---- */
.operator-portrait {
  position: relative; float: left; width: 132px; margin: 0 24px 18px 0;
}
.operator-portrait svg {
  width: 100%; aspect-ratio: 4 / 5; display: block;
  background:
    linear-gradient(180deg, #1B222B 0%, #12171E 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
/* crop marks, top-left and bottom-right */
.operator-portrait::before,
.operator-portrait::after {
  content: ''; position: absolute; width: 13px; height: 13px; pointer-events: none;
  border-color: var(--accent); opacity: .75;
}
.operator-portrait::before {
  top: -3px; left: -3px; border-top: 1.5px solid; border-left: 1.5px solid;
}
.operator-portrait::after {
  bottom: 30px; right: -3px; border-bottom: 1.5px solid; border-right: 1.5px solid;
}

.withheld {
  margin-top: 9px; font-family: var(--mono); font-size: 10px;
  letter-spacing: .13em; text-transform: uppercase; color: var(--dim);
  text-align: center; line-height: 1.4;
}

/* ---- Body ---- */
.callsign-label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 5px;
}
.callsign {
  font-family: var(--mono); font-size: 27px; font-weight: 600;
  letter-spacing: .02em; color: var(--text); margin-bottom: 7px;
}
.operator-role { font-size: 14.5px; color: var(--accent-lt); }
.operator-bio {
  overflow: hidden; margin-top: 18px; padding-top: 18px;
  border-top: 1px solid var(--line);
}
.operator-bio p { font-size: 15px; color: var(--muted); margin-bottom: 13px; }
.operator-bio p:last-child { margin-bottom: 0; }

.tags {
  clear: both; display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line);
}
.tags li {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em;
  color: var(--muted); background: rgba(192,138,62,.09);
  border: 1px solid rgba(192,138,62,.24); border-radius: 3px;
  padding: 5px 10px;
}

@media (max-width: 460px) {
  .operator-portrait { float: none; width: 148px; margin: 0 0 20px; }
  .operator-portrait::after { bottom: 30px; }
}

.operator-motto {
  font-family: var(--mono); font-size: 13px; color: var(--dim);
  margin-top: 6px; letter-spacing: .01em;
}

/* ============================================================
   Contact channels
   ============================================================ */

.channel-group { margin-bottom: 38px; }
.channel-group:last-of-type { margin-bottom: 0; }

.channel-title {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 8px;
}
.channel-note { font-size: 14.5px; color: var(--dim); margin-bottom: 18px; max-width: 52ch; }

.contact-details li { align-items: flex-start; }

.copyable {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px;
  min-width: 0; flex: 1;
}
.copyable code {
  font-family: var(--mono); font-size: 13px; color: var(--text);
  word-break: break-all; line-height: 1.55;
}

.copy-btn {
  flex: none; cursor: pointer;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--dim); background: transparent;
  border: 1px solid var(--line); border-radius: 3px; padding: 3px 8px;
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}
.copy-btn:hover { color: var(--accent-lt); border-color: var(--accent); background: var(--accent-tint); }
.copy-btn.is-done { color: #6FBF8F; border-color: rgba(111,191,143,.5); background: rgba(111,191,143,.1); }

.tor-note {
  flex-basis: 100%; font-size: 12.5px; color: var(--dim);
  font-family: var(--mono); line-height: 1.6;
}

/* ---------- Standalone pages (thanks, 404) ---------- */
.centre { min-height: 80vh; display: grid; place-content: center; text-align: center; padding: 40px 0; }
.centre h1 { font-size: clamp(27px, 4.4vw, 40px); margin-bottom: 18px; }
.centre p { color: var(--muted); max-width: 48ch; margin: 0 auto 26px; }

/* ---------- Working languages ---------- */
.languages {
  margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 20px;
}
.languages-label {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); flex: none;
}
.languages ul { display: flex; flex-wrap: wrap; gap: 8px; }
.languages li {
  font-family: var(--mono); font-size: 12.5px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 3px; padding: 5px 11px;
}

/* ============================================================
   Print — buyers in this sector print capability statements
   and circulate them as PDFs.
   ============================================================ */
@media print {
  :root {
    --ink: #fff; --surface: #fff; --card: #fff; --card-2: #fff;
    --text: #000; --muted: #222; --dim: #444;
    --line: #bbb; --line-soft: #ddd; --accent: #7a5312; --accent-lt: #7a5312;
  }
  body { background: #fff; color: #000; font-size: 10.5pt; line-height: 1.45; }

  /* Furniture that means nothing on paper */
  .site-header, .nav, .nav-toggle, .hero-glow, .hero-grid,
  .form, .copy-btn, .skip-link, .footer-nav, .operator-portrait { display: none !important; }

  .reveal { opacity: 1 !important; transform: none !important; }
  .section { padding: 14pt 0; }
  .wrap { max-width: none; padding-inline: 0; }
  .split, .clients, .steps, .operators, .grid { display: block; }

  h1, h2, h3 { color: #000; }
  .hero { padding: 0 0 12pt; }
  .hero-title { font-size: 22pt; }
  .hero-sub { font-size: 11pt; }

  .cap { grid-template-columns: 1fr; gap: 6pt; padding: 12pt 0; }
  .cap-head { position: static; }
  .card, .client-card, .step, .operator {
    border: 1px solid #bbb; margin-bottom: 10pt; padding: 10pt;
  }

  /* Keep a capability domain or a profile on one page */
  .cap, .operator, .client-card, .step { break-inside: avoid; page-break-inside: avoid; }
  h2, h3 { break-after: avoid; page-break-after: avoid; }

  /* Contact details are the reason it was printed — spell the addresses out */
  a { color: #000; text-decoration: none; }
  .contact-details a::after { content: ""; }
  .copyable code { font-size: 8.5pt; }

  .opsec, .restricted { border: 1px solid #999; background: none; }
  .site-footer { border-top: 1px solid #bbb; padding: 12pt 0 0; }
  .compliance p { font-size: 8pt; color: #333; }
}

/* ============================================================
   Language switcher
   ============================================================ */
.lang-switch {
  display: flex; align-items: center; gap: 2px;
  padding: 3px; border: 1px solid var(--line); border-radius: var(--r-sm);
}
.lang-switch a,
.lang-switch .lang-current {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .07em; line-height: 1;
  padding: 6px 8px; border-radius: 3px;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.lang-switch a { color: var(--dim); }
.lang-switch a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.lang-switch .lang-current { color: #0A0C0F; background: var(--accent); font-weight: 600; }

@media (max-width: 780px) {
  .lang-switch {
    margin-top: 18px; align-self: flex-start;
    border-bottom: 0 !important;
  }
  .lang-switch a,
  .lang-switch .lang-current { padding: 9px 12px; font-size: 12.5px; }
}

@media print { .lang-switch { display: none !important; } }
