/* ==========================================================================
   Cytraa — site stylesheet
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #05070d;
  --ink-2: #0a0f1c;
  --ink-3: #111829;
  --ink-line: rgba(255, 255, 255, 0.1);
  --ink-line-strong: rgba(255, 255, 255, 0.18);
  --ink-text: #f3f5f9;
  --ink-text-2: #a3abbd;
  --ink-text-3: #6b7489;

  --paper: #ffffff;
  --paper-2: #f4f5f8;
  --paper-3: #eceef3;
  --line: #e2e5ec;
  --line-strong: #c9cedb;
  --text: #0a0f1c;
  --text-2: #475066;
  --text-3: #7a8297;

  --brand-navy: #0b3d91;
  --accent: #2d5bff;
  --accent-hover: #1f47e0;
  --accent-soft: #e9eeff;
  --accent-on-dark: #7b97ff;
  --signal: #19d3a2;

  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(80px, 11vw, 152px);
  --header-h: 76px;
  --radius: 2px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-variant-ligatures: no-contextual; /* stop Inter turning 24x7 into 24×7 */
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 16px; font-weight: 500;
}
.skip-link:focus { top: 16px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--ink-text); }

/* Faint echo of the hero grid, fading in from one corner (alternating sides down the page) */
.section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  --grid-line: rgba(10, 15, 28, 0.1);
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 100% 0%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 80% at 100% 0%, #000 10%, transparent 75%);
}
.section:nth-of-type(even)::before {
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 0% 100%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 80% at 0% 100%, #000 10%, transparent 75%);
}
.section--tint::before { --grid-line: rgba(10, 15, 28, 0.12); }
.section--dark::before { --grid-line: rgba(255, 255, 255, 0.07); }
/* Dark sections get the hero's blue glow, in the same corner as their grid */
.section--dark { background: radial-gradient(65% 85% at 100% 0%, rgba(45, 91, 255, 0.3), transparent 70%), var(--ink); }
.section--dark:nth-of-type(even) { background: radial-gradient(65% 85% at 0% 100%, rgba(45, 91, 255, 0.3), transparent 70%), var(--ink); }
.section--plain::before { content: none; }
.section > .container { position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--accent-on-dark); }

.display {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(42px, 6vw, 84px); line-height: 1.02; letter-spacing: -0.028em;
}
.h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(32px, 4vw, 56px); line-height: 1.08; letter-spacing: -0.024em;
}
.h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(22px, 2vw, 26px); line-height: 1.25; letter-spacing: -0.015em;
}
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--text-2); }
.section--dark .lead, .hero .lead, .page-hero .lead { color: var(--ink-text-2); }
.muted { color: var(--text-2); }
.section--dark .muted { color: var(--ink-text-2); }
.text-accent { color: var(--accent); }
.section--dark .text-accent, .hero .text-accent { color: var(--accent-on-dark); }

.section-head { display: grid; gap: 24px; max-width: 860px; margin-bottom: clamp(48px, 6vw, 80px); }
/* Two-column header: label on its own row, heading and intro top-aligned beside each other */
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: start; }
.section-head--split .eyebrow { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 960px) {
  .section-head--split { grid-template-columns: 1.15fr 1fr; column-gap: 64px; }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--accent); --btn-fg: #fff; --btn-bd: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding: 0 26px;
  font-size: 15.5px; font-weight: 500; letter-spacing: -0.005em;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { --btn-bg: var(--accent-hover); --btn-bd: var(--accent-hover); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--text); --btn-fg: #fff; --btn-bd: var(--text); }
.on-dark .btn--ghost, .section--dark .btn--ghost, .hero .btn--ghost, .page-hero .btn--ghost {
  --btn-fg: var(--ink-text); --btn-bd: var(--ink-line-strong);
}
.on-dark .btn--ghost:hover, .section--dark .btn--ghost:hover, .hero .btn--ghost:hover, .page-hero .btn--ghost:hover {
  --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff;
}
.btn--sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--paper-3); --btn-bd: var(--paper-3); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; color: var(--accent);
}
.link-arrow .arrow { transition: transform 0.25s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--accent-on-dark); }

.arrow { width: 16px; height: 16px; flex: none; }

/* ---------- Alert bar ---------- */
.alert-bar {
  background: var(--ink); color: var(--ink-text-2);
  font-size: 13.5px; border-bottom: 1px solid var(--ink-line);
}
.alert-bar .container { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; }
.alert-bar a { color: var(--ink-text); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.alert-bar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #ff5a5f; flex: none;
  box-shadow: 0 0 0 0 rgba(255, 90, 95, 0.6); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 90, 95, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(255, 90, 95, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 95, 0); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(5, 7, 13, 0.0);
  color: var(--ink-text);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-dark-start { margin-bottom: calc(var(--header-h) * -1); }
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line);
  color: var(--text);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; }
.brand-mark { width: 40px; height: 40px; flex: none; }
/* Wordmark matches the original site: Inter Bold */
.brand-word { font-family: "Inter", var(--font-body); font-weight: 700; font-size: 24px; letter-spacing: -0.01em; line-height: 1; }
.site-header.is-scrolled .brand-word, .site-header.is-solid .brand-word { color: var(--brand-navy); }
.menu-open .site-header .brand-word { color: var(--ink-text); }

.nav { display: none; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 14px;
  font-size: 15px; font-weight: 450; opacity: 0.82; transition: opacity 0.2s;
}
.nav-link:hover, .nav-link[aria-current="page"] { opacity: 1; }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: currentColor;
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { display: none; }
.site-header:not(.is-scrolled):not(.is-solid) .btn--ghost {
  --btn-fg: var(--ink-text); --btn-bd: var(--ink-line-strong);
}
.site-header:not(.is-scrolled):not(.is-solid) .btn--ghost:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }

.menu-toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; margin-right: -10px; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 22px; height: 1.5px; background: currentColor; position: relative;
  transition: transform 0.3s var(--ease), background-color 0.2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
  height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); overflow-y: auto;
  background: var(--ink); color: var(--ink-text);
  padding: 16px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 32px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.menu-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.menu-open { overflow: hidden; }
.menu-open .site-header { background: var(--ink); color: var(--ink-text); border-bottom-color: var(--ink-line); }
.mobile-nav ul { display: grid; }
.mobile-nav li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--ink-line);
  font-family: var(--font-display); font-size: 30px; letter-spacing: -0.02em;
}
.mobile-nav .btn { width: 100%; }

@media (min-width: 1000px) {
  .nav { display: block; }
  .menu-toggle, .mobile-nav { display: none; }
  .header-actions .btn { display: inline-flex; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--ink-text);
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 104px));
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(45, 91, 255, 0.22), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(45, 91, 255, 0.08), transparent 70%);
}
.grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
}
.hero-inner { position: relative; display: grid; gap: 40px; align-items: center; }
.hero-copy { display: grid; gap: 28px; max-width: 720px; position: relative; z-index: 2; }
.hero-copy .display em { font-style: normal; color: var(--ink-text-3); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero lead: two lines that cross-fade in the same spot (height = the taller line) */
.lead-rotator { display: grid; max-width: 640px; }
.lead-line {
  grid-area: 1 / 1; opacity: 0; transform: translateY(6px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.lead-line.is-active { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .lead-line { grid-area: auto; opacity: 1; transform: none; }
}
.hero-visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; margin-inline: auto; }
.hero-visual canvas { width: 100%; height: 100%; }
.hero-visual::after {
  content: ""; position: absolute; inset: 12%; border-radius: 50%;
  box-shadow: 0 0 120px 20px rgba(45, 91, 255, 0.16); pointer-events: none;
}
.globe-legend {
  position: absolute; left: 0; bottom: 6%;
  display: grid; gap: 8px; font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-text-3);
}
.globe-legend span { display: inline-flex; align-items: center; gap: 8px; }
.globe-legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-on-dark); box-shadow: 0 0 10px var(--accent-on-dark); }
.globe-legend i.ok { background: var(--signal); box-shadow: 0 0 10px var(--signal); }

@media (min-width: 1000px) {
  .hero-inner { grid-template-columns: 1.08fr 0.92fr; gap: 24px; }
  .hero-visual { margin-right: -40px; }
}

.hero-stats {
  position: relative; margin-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--ink-line);
  display: grid; grid-template-columns: 1fr;
}
.hero-stat { padding: 28px 0; border-bottom: 1px solid var(--ink-line); display: grid; gap: 6px; align-content: start; }
.hero-stat-num {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 4vw, 56px);
  letter-spacing: -0.035em; line-height: 1;
}
.hero-stat-label { color: var(--ink-text); font-size: 15px; font-weight: 600; max-width: 300px; }
@media (min-width: 760px) {
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-stat { padding: 36px 32px 44px; border-bottom: 0; border-left: 1px solid var(--ink-line); }
  .hero-stat:first-child { border-left: 0; padding-left: 0; }
}
@media (max-width: 759px) {
  .hero-stat { justify-items: center; text-align: center; padding: 32px 0; }
}

/* Stat "+" drawn with CSS so it sits at exactly the same spot on every number:
   its top lines up with the top of the digits */
.hero-stat-num, .number-value { display: flex; align-items: flex-start; line-height: 1; }
.plus {
  flex: none; width: 0.3em; height: 0.3em; margin: 0.14em 0 0 0.07em;
  color: var(--accent);
  background:
    linear-gradient(currentColor, currentColor) center / 100% 0.06em no-repeat,
    linear-gradient(currentColor, currentColor) center / 0.06em 100% no-repeat;
}
.hero-stat-num .plus { color: var(--accent-on-dark); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--ink-text);
  padding-top: calc(var(--header-h) + clamp(64px, 9vw, 128px));
  padding-bottom: clamp(72px, 9vw, 128px);
}
.page-hero .container { position: relative; display: grid; gap: 28px; }
.page-hero .display { max-width: 1000px; }
.page-hero .lead { max-width: 680px; }
.page-hero .hero-bg {
  background: radial-gradient(50% 80% at 90% 0%, rgba(45, 91, 255, 0.24), transparent 70%);
}
.breadcrumb {
  display: flex; gap: 10px; font-family: var(--font-mono); font-size: 12.5px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-text-3);
}
.breadcrumb a:hover { color: var(--ink-text); }

/* ---------- Experience strip ---------- */
.experience {
  background: var(--ink-2); color: var(--ink-text-2);
  border-top: 1px solid var(--ink-line);
}
.experience .container {
  display: grid; gap: 24px; align-items: center; padding-block: 36px;
}
.experience-label {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-text-3);
}
.experience-list {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 48px;
}
.experience-list li { display: flex; align-items: center; }
.experience-list--clone { display: none; }
.exp-logo {
  height: var(--h, 32px); width: auto; max-width: 170px; object-fit: contain;
  filter: brightness(0) invert(1); opacity: 0.66; transition: opacity 0.2s;
}
.exp-logo:hover { opacity: 1; }
@media (min-width: 1000px) {
  .experience .container { grid-template-columns: 240px 1fr; gap: 48px; }
  .experience-list { justify-content: space-between; }
}

/* Smaller screens: centered label, logos scroll past in a continuous loop */
@media (max-width: 999px) {
  .experience .container { justify-items: center; text-align: center; gap: 28px; }
  .experience-marquee {
    width: calc(100% + var(--gutter) * 2); margin-inline: calc(var(--gutter) * -1); overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  }
  .experience-track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
  .experience-marquee:hover .experience-track { animation-play-state: paused; }
  .experience-list, .experience-list--clone { display: flex; flex-wrap: nowrap; gap: 0; }
  .experience-list li { padding-right: 64px; }
  .exp-logo { height: calc(var(--h, 32px) * 0.85); max-width: 150px; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 999px) and (prefers-reduced-motion: reduce) {
  .experience-track { animation: none; }
  .experience-list--clone { display: none; }
  .experience-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding-inline: var(--gutter); }
}

/* ---------- Intro / statement ---------- */
.statement { display: grid; gap: 40px; }
.statement-body { display: grid; gap: 24px; align-content: start; }
.statement-body p { color: var(--text-2); font-size: 18px; }
@media (min-width: 960px) {
  .statement { grid-template-columns: 1.2fr 1fr; gap: 96px; }
  .statement-body { padding-top: 14px; }
}

/* ---------- Services grid ---------- */
.services {
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.service {
  position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 18px;
  padding: 40px 0 36px; border-bottom: 1px solid var(--line);
  transition: background-color 0.3s var(--ease);
}
.service-top { display: flex; justify-content: space-between; align-items: flex-start; }
.service-num { font-family: var(--font-mono); font-size: 13px; color: var(--text-3); letter-spacing: 0.04em; }
.service-icon { width: 40px; height: 40px; color: var(--accent); }
.service p { color: var(--text-2); font-size: 16px; }
.service .link-arrow { padding-top: 8px; }
.service::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--accent);
  transition: width 0.45s var(--ease);
}
.service:hover::before { width: 100%; }
@media (min-width: 720px) {
  .services { grid-template-columns: repeat(2, 1fr); border-left: 1px solid var(--line); }
  .service { padding: 44px 40px 40px; border-right: 1px solid var(--line); }
  .service:hover { background: var(--paper-2); }
}
@media (min-width: 1100px) {
  .services { grid-template-columns: repeat(3, 1fr); }
  .service { min-height: 380px; }
}

/* ---------- Approach ---------- */
.approach { display: grid; grid-template-columns: 1fr; position: relative; counter-reset: step; }
.step { position: relative; padding: 32px 0 40px 0; border-top: 1px solid var(--ink-line); display: grid; gap: 14px; align-content: start; }
.step-index {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-text-3);
}
.step-index b { color: var(--accent-on-dark); font-weight: 500; }
.step h3 { font-size: clamp(28px, 2.6vw, 36px); }
.step p { color: var(--ink-text-2); font-size: 16px; max-width: 320px; }
.step::before {
  content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--accent-on-dark);
}
@media (min-width: 900px) {
  .approach { grid-template-columns: repeat(4, 1fr); }
  .step { padding: 40px 32px 0 0; }
}
.approach-note {
  margin-top: clamp(56px, 7vw, 96px); padding-top: 40px; border-top: 1px solid var(--ink-line);
  display: grid; gap: 24px; align-items: center;
}
.approach-note p {
  font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 36px); line-height: 1.25; letter-spacing: -0.02em;
  max-width: 900px; color: var(--ink-text-2);
}
.approach-note p strong { color: var(--ink-text); font-weight: 500; }
@media (min-width: 900px) { .approach-note { grid-template-columns: 1fr auto; gap: 48px; } }

/* ---------- Global presence ---------- */
.presence { display: grid; gap: 56px; }
.map {
  position: relative; width: 100%; aspect-ratio: 2 / 1;
}
.map-dots { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; user-select: none; }
.map-pin {
  position: absolute; transform: translate(-50%, -50%);
  width: 14px; height: 14px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(45, 91, 255, 0.18);
}
.map-pin::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--accent);
  animation: ring 2.6s var(--ease) infinite; animation-delay: var(--d, 0s);
}
@keyframes ring { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(3.2); opacity: 0; } }
.map-pin span {
  position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--ink); color: #fff; padding: 5px 8px; white-space: nowrap;
}
.map-pin--below span { bottom: auto; top: calc(100% + 10px); }
.map-pin--left span { left: auto; right: calc(100% + 10px); bottom: 50%; transform: translateY(50%); }
.map-pin--right span { left: calc(100% + 10px); bottom: 50%; transform: translateY(50%); }
@media (max-width: 720px) { .map-pin span { display: none; } .map-pin { width: 10px; height: 10px; } }

.regions { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.region { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.region-name { display: flex; align-items: center; justify-content: space-between; }
.region h3 { font-size: 20px; }
.region-code { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); letter-spacing: 0.06em; }
.region p { color: var(--text-2); font-size: 15.5px; }
@media (min-width: 720px) {
  .regions { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
}
@media (min-width: 1100px) {
  .regions { grid-template-columns: repeat(5, 1fr); column-gap: 0; }
  .region { padding: 32px 28px 32px 0; border-bottom: 0; }
  .region + .region { padding-left: 28px; border-left: 1px solid var(--line); }
}

/* ---------- Why us ---------- */
.why { display: grid; gap: 56px; }
.why-list { display: grid; grid-template-columns: 1fr; }
.why-item { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--line); align-content: start; }
.why-item svg { width: 32px; height: 32px; color: var(--accent); }
.why-item h3 { font-size: 21px; margin-bottom: 8px; }
.why-item p { color: var(--text-2); font-size: 16px; }
@media (min-width: 760px) {
  .why-list { grid-template-columns: repeat(2, 1fr); column-gap: 56px; }
}
@media (min-width: 1100px) {
  .why-item { grid-template-columns: 1fr; gap: 20px; padding: 36px 0 40px; }
  .why { grid-template-columns: 0.85fr 1.15fr; gap: 96px; }
  .why .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 48px); align-self: start; }
}

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--accent); color: #fff;
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
}
.cta .container { position: relative; display: grid; gap: 40px; padding-block: clamp(72px, 9vw, 128px); }
.cta .h2 { max-width: 820px; }
.cta p { color: rgba(255, 255, 255, 0.82); max-width: 640px; font-size: 18px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.4); }
.cta .btn--ghost:hover { --btn-bg: #fff; --btn-fg: var(--accent); --btn-bd: #fff; }
@media (min-width: 960px) {
  .cta .container { grid-template-columns: 1fr auto; align-items: end; gap: 64px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--ink-text-2); font-size: 15px; }
.footer-top {
  display: grid; gap: 48px; padding-block: clamp(64px, 8vw, 104px) 56px;
  grid-template-columns: 1fr;
}
.footer-brand { display: grid; gap: 20px; align-content: start; max-width: 340px; }
.footer-brand .brand { color: var(--ink-text); }
.footer-col h4 {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-text-3); margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a:hover { color: #fff; }
address { font-style: normal; }
.footer-bottom {
  border-top: 1px solid var(--ink-line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding-block: 28px; font-size: 13.5px; color: var(--ink-text-3);
}
.footer-bottom ul { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal { padding-bottom: 32px; display: grid; gap: 10px; font-size: 12px; line-height: 1.6; color: var(--ink-text-3); max-width: 880px; }
.footer-legal a { text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: var(--ink-text); }
.footer-bottom a:hover { color: var(--ink-text); }
@media (min-width: 720px) { .footer-top { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }

/* ---------- About: numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.number { padding: 32px 0 36px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.number:nth-child(odd) { padding-right: 20px; }
.number:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.number-value { font-family: var(--font-display); font-weight: 500; font-size: clamp(44px, 5vw, 72px); line-height: 1; letter-spacing: -0.04em; }
.number-label { color: var(--text); font-size: 15.5px; font-weight: 600; }
@media (min-width: 960px) {
  .numbers { grid-template-columns: repeat(4, 1fr); }
  .number, .number:nth-child(odd), .number:nth-child(even) { padding: 40px 32px 44px; border-left: 1px solid var(--line); border-bottom: 0; }
  .number:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- About: story ---------- */
.story { display: grid; gap: 40px; }
.story-body { display: grid; gap: 22px; }
.story-body p { color: var(--text-2); font-size: 18px; }
.story-body p:first-child { color: var(--text); font-family: var(--font-display); font-size: clamp(22px, 2vw, 28px); line-height: 1.35; letter-spacing: -0.015em; }
@media (min-width: 960px) { .story { grid-template-columns: 0.9fr 1.1fr; gap: 96px; } }

/* ---------- About: foundation ---------- */
.pillars { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--ink-line); }
.pillar { padding: 36px 0 40px; border-bottom: 1px solid var(--ink-line); display: grid; gap: 16px; align-content: start; }
.pillar p { color: var(--ink-text-2); }
.values-list { display: grid; gap: 0; }
.values-list li {
  display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--ink-line); color: var(--ink-text);
  font-weight: 600;
}
.values-list li:last-child { border-bottom: 0; }
.values-list li::before { content: ""; width: 6px; height: 6px; background: var(--accent-on-dark); flex: none; }
@media (min-width: 960px) {
  .pillars { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--ink-line); }
  .pillar { padding: 44px 40px 48px; border-bottom: 0; border-left: 1px solid var(--ink-line); }
  .pillar:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- About: leadership ---------- */
.sectors { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
/* Icon, title, text, tags: the text row takes up the slack so every card's tags
   sit on the same line as the tallest card's (Cloud Technology) */
.sector { padding: 40px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-rows: auto auto 1fr auto; gap: 18px; }
.sector svg { width: 40px; height: 40px; color: var(--accent); }
.sector p { color: var(--text-2); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; align-self: end; }
.tag {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em;
  padding: 6px 10px; border: 1px solid var(--line-strong); color: var(--text-2);
}
@media (min-width: 960px) {
  .sectors { grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line); }
  .sector { padding: 44px 40px; border-right: 1px solid var(--line); }
}

/* ---------- About: timeline ---------- */
.timeline { display: grid; grid-template-columns: 1fr; }
.era { position: relative; padding: 0 0 48px 32px; border-left: 1px solid var(--line-strong); display: grid; gap: 12px; align-content: start; }
.era:last-child { padding-bottom: 0; }
.era::before {
  content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; background: var(--paper-2); border: 1px solid var(--accent);
}
.era:last-child::before { background: var(--accent); }
.era-date { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; color: var(--accent); }
.era p { color: var(--text-2); max-width: 420px; }
@media (min-width: 960px) {
  .timeline { grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
  .era { padding: 40px 40px 0 0; border-left: 0; }
  .era::before { left: 0; top: -5px; }
}

/* ---------- Contact page ---------- */
.contact { display: grid; gap: 56px; }
@media (min-width: 1000px) { .contact { grid-template-columns: 1.35fr 0.65fr; gap: 80px; align-items: start; } }

.form-card { background: var(--paper); border: 1px solid var(--line); padding: clamp(28px, 4vw, 56px); }
.form-card h2 { margin-bottom: 8px; }
.form-card > p { color: var(--text-2); margin-bottom: 36px; }
.form-grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; position: relative; }
.field label { font-size: 14px; font-weight: 500; color: var(--text); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; background: var(--paper-2);
  border: 1px solid transparent; border-bottom-color: var(--line-strong); border-radius: 0;
  font-size: 16px; color: var(--text); transition: border-color 0.2s, background-color 0.2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23475066' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:hover, .field select:hover, .field textarea:hover { border-bottom-color: var(--text-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--paper); border-color: var(--accent);
}
.field .error { border-color: #d92d3a; border-bottom-color: #d92d3a; }
.error-message { font-size: 13px; color: #d92d3a; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; }
.form-footer small { color: var(--text-3); font-size: 13px; max-width: 340px; }
.form-message { padding: 16px 18px; margin-bottom: 24px; font-size: 15px; border-left: 3px solid; transition: opacity 0.3s; }
.form-message.success { background: #e8faf3; border-color: #12a37c; color: #0b5e48; }
.form-message.error { background: #fdecee; border-color: #d92d3a; color: #8c1823; }
.form-message.info { background: var(--accent-soft); border-color: var(--accent); color: #1a2f80; }

.aside { display: grid; gap: 40px; }
.aside-block { display: grid; gap: 16px; }
.aside-block h3 {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3);
}
.contact-line { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-line:last-child { border-bottom: 1px solid var(--line); }
.contact-line svg { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.contact-line span { display: block; font-size: 13.5px; color: var(--text-3); }
.contact-line a, .contact-line strong { font-weight: 500; font-size: 16px; }
.contact-line a:hover { color: var(--accent); }
.contact-line strong { display: inline-block; line-height: 1.5; }
.contact-line .map-link { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--accent); }
.checks { display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--text-2); font-size: 15.5px; }
.checks svg { width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }

.incident-card { background: var(--ink); color: var(--ink-text); padding: 28px; display: grid; gap: 14px; }
.incident-card h3 { color: var(--ink-text); font-family: var(--font-display); font-size: 20px; text-transform: none; letter-spacing: -0.01em; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.incident-card p { color: var(--ink-text-2); font-size: 15px; }

.benefits { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.benefit { padding: 36px 0; border-bottom: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.benefit-num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.benefit p { color: var(--text-2); }
@media (min-width: 900px) {
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .benefit { padding: 40px 40px 0 0; border-bottom: 0; }
  .benefit + .benefit { padding-left: 40px; border-left: 1px solid var(--line); }
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Legal pages ---------- */
.legal { display: grid; gap: 48px; }
.legal-toc { display: none; }
.legal-body { max-width: 760px; }
.legal-body .updated { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 32px; }
.legal-body h2 {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2vw, 26px); letter-spacing: -0.015em;
  margin: 56px 0 16px; padding-top: 24px; border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--text-2); font-size: 16.5px; line-height: 1.7; }
.legal-body p + p { margin-top: 14px; }
.legal-body ul { margin: 14px 0; display: grid; gap: 10px; }
.legal-body li { position: relative; padding-left: 22px; }
.legal-body li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 6px; height: 6px; background: var(--accent); }
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-body strong { color: var(--text); font-weight: 600; }
@media (min-width: 1000px) {
  .legal { grid-template-columns: 240px 1fr; gap: 96px; }
  .legal-toc { display: block; position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
  .legal-toc h3 { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
  .legal-toc ol { display: grid; gap: 10px; counter-reset: toc; }
  .legal-toc a { font-size: 14.5px; color: var(--text-2); }
  .legal-toc a:hover { color: var(--accent); }
}
