/* ============================================================
   PPK Consultancy — styles.css
   Editorial / engineering identity. White, ink, one amber.
   Monospace appears ONLY in the hero transaction trace.
   Fonts are self-hosted (see assets/fonts, via @fontsource).
   ============================================================ */

/* ---------- Self-hosted fonts ---------- */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/archivo-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/archivo-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/archivo-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/archivo-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/archivo-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, 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("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, 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("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #14171D;
  --ink-2: #1A1E26;
  --paper: #FFFFFF;
  --paper-2: #F5F6F8;
  --text: #191C21;
  --muted: #4E545E;
  --line: #E5E7EB;
  --line-dark: #2D323C;
  --accent: #B9740E;
  --accent-bright: #F2A83B;
  --ok: #4CAF74;
  --dark-text: #F0F1F4;
  --dark-muted: #A9ADB6;
  --font-display: "Archivo", "IBM Plex Sans", sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace; /* trace panel only */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 28px; }

a { color: inherit; text-decoration: none; }

h1, h2 { font-family: var(--font-display); letter-spacing: -0.02em; }

.label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.section-dark .label { color: var(--accent-bright); }

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 18px;
  max-width: 720px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 3px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--accent-bright); color: var(--ink); }
.btn-primary:hover { background: #FFC46A; }
.btn-ghost { border: 1px solid var(--line-dark); color: var(--dark-text); }
.btn-ghost:hover { border-color: var(--accent-bright); color: var(--accent-bright); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(20, 23, 29, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 66px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: block; border-radius: 6px; }
.brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.main-nav { display: flex; gap: 26px; }
.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark-muted);
  transition: color 0.15s;
}
.main-nav a:hover { color: var(--accent-bright); }
.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch { display: flex; border: 1px solid var(--line-dark); border-radius: 3px; overflow: hidden; }
.lang-switch button {
  background: none;
  border: none;
  color: var(--dark-muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 13px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.lang-switch button.active { background: var(--accent-bright); color: var(--ink); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
}
.nav-burger span { width: 22px; height: 1.5px; background: #fff; }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--dark-text);
  padding: 96px 0 72px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.06;
  color: #fff;
  margin-bottom: 26px;
}
.hero .lead {
  color: var(--dark-muted);
  font-size: 1.15rem;
  max-width: 540px;
  margin-bottom: 38px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* 3D hero showcase (Three.js) — falls back to the static trace panel */
.hero-visual-fx { position: relative; }
.fx-canvas { width: 100%; height: auto; display: block; }
.fx-dots { display: flex; justify-content: center; gap: 9px; margin-top: 6px; }
.fx-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: #39435A;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.fx-dots button.on { background: var(--accent-bright); transform: scale(1.25); }

/* Transaction trace panel — the one intentionally monospaced element */
.hero-trace {
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  background: var(--ink-2);
  overflow: hidden;
}
.trace-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--dark-muted);
  padding: 10px 16px;
  border-bottom: 1px solid var(--line-dark);
}
.trace {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.9;
  padding: 18px 16px 14px;
  overflow-x: auto;
  white-space: pre;
}
.t-cmd { color: var(--dark-text); }
.t-out { color: var(--dark-muted); }
.t-in { color: var(--dark-muted); }
.t-in b { color: var(--ok); font-weight: 500; }
.t-dim { color: #7E8492; }
.t-cursor { color: var(--accent-bright); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 72px;
  padding-top: 36px;
  border-top: 1px solid var(--line-dark);
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}
.stat-num::after { content: "_"; color: var(--accent-bright); }
.stat-label { font-size: 0.95rem; color: var(--dark-muted); max-width: 240px; display: block; margin-top: 3px; }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-dark { background: var(--ink); color: var(--dark-text); }
.section-line { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }

/* ---------- Services ---------- */
.service-rows { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.row-no {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  padding-top: 6px;
}
.row-body h2 { font-size: 1.55rem; font-weight: 600; margin-bottom: 10px; }
.row-body p { color: var(--muted); max-width: 660px; }
.row-tags {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.9;
}

/* ---------- How we engage ---------- */
.engage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.engage-item { border-top: 1px solid var(--line); padding-top: 20px; }
.engage-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.engage-item p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Focus ---------- */
.focus-lead {
  font-size: 1.15rem;
  color: var(--dark-muted);
  max-width: 740px;
  margin-bottom: 52px;
}
.focus-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 56px;
}
.focus-list > div {
  border-top: 1px solid var(--line-dark);
  padding-top: 18px;
}
.focus-list dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  color: #fff;
  margin-bottom: 6px;
}
.focus-list dd { color: var(--dark-muted); font-size: 1rem; }
.standards {
  margin-top: 52px;
  font-size: 0.95rem;
  color: #9298A3;
  line-height: 2;
}
.standards span { color: var(--dark-text); font-weight: 600; }

/* ---------- Selected work ---------- */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px 56px;
}
.work-item { border-top: 1px solid var(--line); padding-top: 20px; }
.work-tag {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.work-item p:not(.work-tag) { color: var(--text); font-size: 1.05rem; max-width: 470px; }

/* ---------- Clients ---------- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
}
.client { display: flex; flex-direction: column; gap: 4px; }
.client-logo { margin-bottom: 8px; }
.client-loc { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.client-logo {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 9px;
  filter: grayscale(0.15);
  transition: filter 0.15s;
}
.client:hover .client-logo { filter: none; }
.kolayz-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: #1d4ed8;
}
.loot-img { border-radius: 50%; }
.loot-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: #6D5326;
}
.client-role { font-size: 0.88rem; color: var(--muted); }
.textmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.khora-mark { letter-spacing: 0.22em; }

/* ---------- References / brand wall ---------- */
.wall-note {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 26px;
}
.brand-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.chip {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 54px;
  padding: 0 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  white-space: nowrap;
}
.section-line .chip, #references .chip { background: #fff; }
.chip b, .chip i { font-style: normal; font-family: var(--font-display); }

/* Processor wordmarks — brand-colored recreations */
.b-worldpay   { color: #E4002B; font-weight: 700; font-size: 1.05rem; }
.b-worldline  { color: #41B4A6; font-weight: 700; font-size: 1.05rem; }
.b-fiserv     { color: #FF6600; font-weight: 700; font-size: 1.05rem; }
.b-jpm        { color: #3B3331; font-family: Georgia, "Times New Roman", serif !important; font-weight: 600; font-size: 1rem; letter-spacing: 0.02em; }
.b-citi       { color: #056DAE; font-weight: 700; font-size: 1.05rem; }
.b-elavon     { color: #00A160; font-weight: 700; font-size: 1.05rem; }
.b-nexi       { color: #2D32AA; font-weight: 700; font-size: 1.05rem; }
.b-moneris    { color: #43B02A; font-weight: 700; font-size: 1.05rem; }
.b-shift4     { color: #191C21; font-weight: 700; font-size: 1.05rem; }
.b-shift4 em  { font-style: normal; color: #0066FF; }
.b-redsys     { color: #E30613; font-weight: 700; font-size: 1.05rem; }
.b-checkout   { color: #0B0E11; font-weight: 700; font-size: 1.02rem; }
.b-rapyd      { color: #14054E; font-weight: 700; font-size: 1.05rem; }
.b-vakif      { color: #1A1A1A; font-weight: 700; font-size: 1.05rem; }
.b-bkmtech    { color: #96794A; font-weight: 800; font-size: 1.05rem; }
.b-bkmtech em { font-style: normal; color: #2A2E35; font-weight: 700; }
.b-mollie     { color: #000000; font-weight: 700; font-size: 1.05rem; }
.b-postfinance{ background: #FFCC02; color: #1A1A1A; font-weight: 700; font-size: 0.95rem; padding: 4px 8px; border-radius: 2px; }
.b-swedbank   { color: #EE7023; font-weight: 700; font-size: 1.05rem; }
.b-seb        { color: #45A041; font-weight: 800; font-size: 1.05rem; letter-spacing: 0.04em; }
.b-sia        { color: #004A99; font-weight: 800; font-size: 1.05rem; letter-spacing: 0.06em; }
.b-plain      { color: #2A2E35; font-weight: 700; font-size: 1.05rem; }
.b-mypos      { color: #143A63; font-weight: 700; font-size: 1.05rem; }
.b-mypos em   { font-style: normal; color: #F26E21; }

/* American Express box */
.amex-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #016FD0;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.42rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  border-radius: 3px;
  text-align: center;
}
.chip .amex-name { color: #016FD0; font-weight: 700; font-size: 1rem; }

/* Scheme marks */
.s-visa { color: #1A1F71; font-weight: 800; font-style: italic !important; font-size: 1.15rem; letter-spacing: 0.02em; }
.s-mc-name { color: #191C21; font-weight: 600; font-size: 0.98rem; }
.s-discover { color: #231F20; font-weight: 700; font-size: 1.02rem; display: inline-flex; align-items: center; }
.disc-o {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #FF6000;
  margin: 0 1px;
}
.s-diners { color: #0079BE; font-weight: 700; font-size: 1rem; }
.s-jcb-name { color: #191C21; font-weight: 600; font-size: 0.98rem; }
.s-up-name { color: #00447C; font-weight: 700; font-size: 1rem; }
.s-interac { color: #231F20; font-weight: 700; font-size: 1.02rem; }
.interac-dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: #FDB913; margin-left: 5px; }
.s-bancontact { color: #005498; font-weight: 700; font-size: 1.02rem; }
.bc-sq { display: inline-block; width: 11px; height: 11px; background: #FFBF00; margin-right: 6px; border-radius: 2px; }
.s-girocard { color: #003366; font-weight: 700; font-size: 1.02rem; }
.s-dankort {
  background: #E30A18;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 5px 12px;
  border-radius: 10px 4px 10px 4px;
}
.s-bankaxept { color: #002776; font-weight: 700; font-size: 1.02rem; }
.s-troy { color: #002E5F; font-weight: 800; font-size: 1.1rem; }
.s-troy em { font-style: normal; color: #E30613; }

.footnote {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 20px;
}
.institutions { margin-top: 72px; }
.inst-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.inst-cols h3 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.inst-cols p { font-size: 1rem; color: var(--muted); line-height: 2; }

/* ---------- About ---------- */
.about-statement {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}
.about-body { color: var(--muted); max-width: 640px; font-size: 1.05rem; }
.text-link {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--accent);
}
.text-link:hover { color: var(--text); }

/* ---------- Contact ---------- */
.contact-mail {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.8vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent-bright);
  border-bottom: 2px solid var(--accent-bright);
  padding-bottom: 4px;
  margin: 6px 0 42px;
  transition: color 0.15s, border-color 0.15s;
}
.contact-mail:hover { color: #FFC46A; border-color: #FFC46A; }
.contact-lines p {
  display: flex;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 1.02rem;
  color: var(--dark-text);
  max-width: 680px;
}
.contact-lines a:hover { color: var(--accent-bright); }
.c-key {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dark-muted);
  min-width: 100px;
  padding-top: 4px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--dark-muted);
}
.footer-link { text-decoration: underline; text-underline-offset: 3px; }
.footer-link:hover { color: var(--accent-bright); }

/* ---------- Simple pages (privacy, 404) ---------- */
.page { padding: 72px 0 96px; min-height: 60vh; }
.page h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 700; margin-bottom: 24px; }
.page h2 { font-size: 1.25rem; font-weight: 600; margin: 34px 0 10px; }
.page p, .page li { color: var(--muted); max-width: 720px; margin-bottom: 12px; }
.page ul { padding-left: 22px; }
.err-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  color: var(--accent-bright);
  line-height: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .focus-list { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
    padding: 8px 28px 16px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
  .nav-burger { display: flex; }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
  .stats { grid-template-columns: 1fr; gap: 18px; }
  .service-row { grid-template-columns: 1fr; gap: 8px; padding: 32px 0; }
  .client-grid { grid-template-columns: 1fr; }
  .inst-cols { grid-template-columns: 1fr; }
  .contact-lines p { flex-direction: column; gap: 4px; }
  .chip { height: 48px; padding: 0 14px; }
}
