/* ── DARK MODE (default) ──────────────────────── */
:root {
  --navy: #0a1628;
  --navy-mid: #0f2040;
  --navy-light: #1a3058;
  --teal: #00b4a0;
  --teal-dim: #007d6f;
  --teal-bright: #00d4bc;
  --steel: #2a3f5a;
  --slate: #4a6280;
  --mist: #8ea8c3;
  --ice: #d4e5f5;
  --offwhite: #f2f6fb;
  --white: #ffffff;
  --charcoal: #1c2b3a;
  --amber: #e8a028;
  --text-primary: #0a1628;
  --text-secondary: #2a3f5a;
  --text-muted: #4a6280;
  --text-light: #8ea8c3;
  --border: rgba(10,22,40,0.10);
  --border-light: rgba(255,255,255,0.12);

  /* Semantic page tokens */
  --page-bg:      #ffffff;
  --page-bg-alt:  #f2f6fb;
  --page-text:    #0a1628;
  --page-text-2:  #2a3f5a;
  --page-text-3:  #4a6280;
  --card-bg:      #ffffff;
  --card-bg-alt:  #f2f6fb;
  --input-bg:     rgba(255,255,255,0.05);
  --input-border: rgba(255,255,255,0.12);
}

/* ── LIGHT MODE ───────────────────────────────── */
html.light {
  --page-bg:      #f4f7fb;
  --page-bg-alt:  #e8edf5;
  --page-text:    #0a1628;
  --page-text-2:  #1a3058;
  --page-text-3:  #2a4060;
  --card-bg:      #ffffff;
  --card-bg-alt:  #edf1f8;
  --input-bg:     rgba(10,22,40,0.04);
  --input-border: rgba(10,22,40,0.15);

  /* Override dark constants with light equivalents */
  --offwhite:  #edf1f8;
  --charcoal:  #1e344f;
  --border:    rgba(10,22,40,0.10);
}

/* Body background driven by token */
html.light body   { background: var(--page-bg); }
html.light .section--gray { background: var(--page-bg-alt); }

/* Light mode: white-bg sections become slightly off-white */
html.light .intro,
html.light .section:not(.section--dark):not(.section--charcoal) {
  background: var(--page-bg);
}

/* Light mode: service/tech cards */
html.light .service-card,
html.light .tech-card {
  background: var(--card-bg);
  border: 1px solid rgba(10,22,40,0.07);
}
html.light .service-card:hover { background: var(--navy); border-color: var(--teal); }
html.light .tech-card:hover { background: var(--navy); border: none; }

html.light .tech-card__icon { background: var(--card-bg-alt); }
html.light .intro__pillar  { background: var(--card-bg-alt); }
html.light .intro__pillar:hover { background: var(--page-bg-alt); }

html.light .tech-detail__specs { background: var(--page-bg-alt); }
html.light .tech-detail__spec  { background: var(--card-bg); }
html.light .tech-detail__best-for-tag { background: var(--card-bg-alt); }

html.light .trust-bar  { background: #1a3058; }
html.light .footer     { background: #0c1e35; }

/* Light mode: form inputs */
html.light .form__input,
html.light .form__select,
html.light .form__textarea {
  background: var(--card-bg);
  border-color: rgba(10,22,40,0.15);
  color: var(--navy);
}
html.light .form__label { color: var(--mist); }

/* Process step numbers */
html.light .process-step__num { background: var(--card-bg); }
html.light .section--gray .process-step__num { background: var(--card-bg-alt); }

/* Team creds */
html.light .team__cred { background: rgba(10,22,40,0.05); }

/* Engagement model cards on services page */
html.light [style*="background:var(--offwhite)"],
html.light [style*="background: var(--offwhite)"] {
  background: var(--card-bg-alt) !important;
}

/* ── THEME TOGGLE BUTTON ──────────────────────── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.18);
  cursor: pointer;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  color: var(--white);
  margin-left: 8px;
}
.theme-toggle:hover {
  background: rgba(0,180,160,0.15);
  border-color: var(--teal);
  transform: rotate(15deg);
}
.theme-toggle svg { width: 18px; height: 18px; }

/* Show correct icon based on current mode — both desktop and mobile toggles */
.theme-toggle .icon-sun,
.mobile-theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon,
.mobile-theme-toggle .icon-moon { display: block; }

html.light .theme-toggle .icon-sun,
html.light .mobile-theme-toggle .icon-sun  { display: block; }
html.light .theme-toggle .icon-moon,
html.light .mobile-theme-toggle .icon-moon { display: none; }

/* Light mode: toggle button adapts to lighter nav background */
html.light .theme-toggle {
  background: rgba(10,22,40,0.08);
  border-color: rgba(10,22,40,0.2);
  color: var(--navy);
}
html.light .theme-toggle:hover {
  background: rgba(0,180,160,0.15);
  border-color: var(--teal);
}

/* Mobile drawer theme toggle */
.mobile-theme-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  width: 100%;
  text-align: left;
}
.mobile-theme-toggle:hover { color: var(--teal-bright); }
.mobile-theme-toggle svg { width: 20px; height: 20px; flex-shrink: 0; }


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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── UTILITY ─────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container--wide { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.label--light { color: var(--teal-bright); }
.label--muted { color: var(--mist); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid currentColor;
}

.tag--teal { color: var(--teal); border-color: var(--teal); }
.tag--ice { color: var(--ice); border-color: rgba(212,229,245,0.4); }
.tag--amber { color: var(--amber); border-color: var(--amber); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn--primary {
  background: var(--teal);
  color: var(--navy);
}
.btn--primary:hover { background: var(--teal-bright); transform: translateY(-1px); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn--outline:hover { border-color: var(--teal); color: var(--teal); }

.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(10,22,40,0.3);
}
.btn--outline-dark:hover { border-color: var(--teal); color: var(--teal); }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── NAVIGATION ──────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(10,22,40,0.97);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
}

/* On interior (non-home) pages, nav needs a solid background from the start */
.nav.nav--solid {
  background: var(--navy);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav__logo-img {
  height: 40px;
  width: auto;
  display: block;
  flex-shrink: 0;
  border-radius: 50%;
}

.nav__wordmark {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  white-space: nowrap;
}

.nav__wordmark-accent {
  color: var(--teal);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav__links a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav__links a:hover { color: var(--teal-bright); }

.nav__links a.active { color: var(--teal-bright); }
.nav__links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--teal);
}

.nav__cta {
  margin-left: 16px;
  padding: 9px 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--teal);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.nav__cta:hover { background: var(--teal-bright); transform: translateY(-1px); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 1.5px solid rgba(255,255,255,0.2);
  cursor: pointer;
  padding: 9px 10px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.nav__hamburger:hover { border-color: var(--teal); }
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
/* Animated open state: bars morph to X */
.nav__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger.is-open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── PAGE HERO (interior pages) ─────────────── */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--navy);
  padding-top: 72px;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,180,160,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,160,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-hero__accent-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
  z-index: 3;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  padding: 64px 2rem 56px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-hero__breadcrumb a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.page-hero__breadcrumb a:hover { color: var(--teal-bright); }
.page-hero__breadcrumb span { color: var(--mist); }
.page-hero__breadcrumb .current { color: var(--teal); }

.page-hero__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
  max-width: 18ch;
}

.page-hero__title span { color: var(--teal); }

.page-hero__sub {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  max-width: 60ch;
  line-height: 1.7;
}

/* ── HERO (homepage only) ─────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--navy);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,22,40,0.25) 0%, rgba(10,22,40,0.65) 55%, rgba(10,22,40,0.97) 100%),
    linear-gradient(135deg, rgba(0,180,160,0.07) 0%, transparent 50%),
    url('images/hero-homepage.jpg') center / cover no-repeat;
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,180,160,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,160,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero__accent-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 120px 2rem 80px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.hero__eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--teal);
}

.hero__heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 28px;
  max-width: 14ch;
}

.hero__heading em {
  font-style: normal;
  color: var(--teal);
  display: block;
}

.hero__sub {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  max-width: 56ch;
  margin-bottom: 44px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 40px;
}

.hero__stat {
  padding: 0 32px 0 0;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.hero__stat:first-child { padding-left: 0; }
.hero__stat:last-child { border-right: none; }

.hero__stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.hero__stat-num span { color: var(--teal); }

.hero__stat-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--mist);
  letter-spacing: 0.03em;
  line-height: 1.4;
}

/* ── TRUST BAR — INFINITE MARQUEE ───────────────── */
.trust-bar {
  background: var(--charcoal);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  position: relative;
}

/* Fade-out mask at edges */
.trust-bar::before,
.trust-bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.trust-bar::before {
  left: 0;
  background: linear-gradient(to right, var(--charcoal) 0%, transparent 100%);
}
.trust-bar::after {
  right: 0;
  background: linear-gradient(to left, var(--charcoal) 0%, transparent 100%);
}

.trust-bar__track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}

.trust-bar__track:hover { animation-play-state: paused; }

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  border-right: 1px solid rgba(255,255,255,0.06);
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-bar__item svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; }
.trust-bar__item span { font-size: 13px; color: rgba(255,255,255,0.65); font-weight: 400; }
.trust-bar__item strong { color: rgba(255,255,255,0.9); font-weight: 500; }

/* ── SECTION SHARED ──────────────────────────── */
.section { padding: 100px 0; }
.section--gray { background: var(--offwhite); }
.section--dark { background: var(--navy); color: var(--white); }
.section--charcoal { background: var(--charcoal); color: var(--white); }

.section__header {
  margin-bottom: 64px;
}

.section__header--center { text-align: center; }

.section__header .label { margin-bottom: 12px; }

.section__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.section--dark .section__title,
.section--charcoal .section__title {
  color: var(--white);
}

.section__title span { color: var(--teal); }

.section__body {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 60ch;
  margin-top: 20px;
  line-height: 1.75;
}

.section--dark .section__body,
.section--charcoal .section__body {
  color: rgba(255,255,255,0.65);
}

.section__header--center .section__body {
  margin-left: auto;
  margin-right: auto;
}

/* ── INTRO / ABOUT STRIP ─────────────────────── */
.intro {
  padding: 100px 0;
  background: var(--white);
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro__visual {
  position: relative;
}

.intro__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.intro__img-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 140px;
  border: 3px solid var(--teal);
  pointer-events: none;
}

.intro__badges {
  position: absolute;
  top: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.intro__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.intro__badge svg { width: 14px; height: 14px; color: var(--teal); flex-shrink: 0; }

.intro__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 40px;
}

.intro__pillar {
  background: var(--offwhite);
  padding: 20px 22px;
  transition: background 0.2s;
}
.intro__pillar:hover { background: var(--ice); }

.intro__pillar-icon {
  width: 32px;
  height: 32px;
  color: var(--teal);
  margin-bottom: 10px;
}

.intro__pillar-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.intro__pillar-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── SERVICES GRID ───────────────────────────── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* Two-column variant used on About page "Two Sides" section */
.services__grid--two-col {
  grid-template-columns: repeat(2, 1fr);
}

.service-card {
  background: var(--white);
  padding: 40px 36px;
  position: relative;
  transition: background 0.25s;
  border-top: 3px solid transparent;
}
.service-card:hover { background: var(--navy); border-color: var(--teal); }
.service-card:hover .service-card__title,
.service-card:hover .service-card__body { color: var(--white); }
.service-card:hover .service-card__body { color: rgba(255,255,255,0.6); }
.service-card:hover .service-card__icon { color: var(--teal); }
.service-card:hover .service-card__num { color: rgba(255,255,255,0.1); }
.service-card:hover .label { color: var(--teal-bright); }

.service-card__num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 64px;
  font-weight: 700;
  color: rgba(10,22,40,0.06);
  line-height: 1;
  position: absolute;
  top: 24px;
  right: 24px;
  transition: color 0.25s;
  pointer-events: none;
  user-select: none;
}

.service-card__icon {
  width: 40px;
  height: 40px;
  color: var(--navy);
  margin-bottom: 20px;
  transition: color 0.25s;
}

.service-card__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
  transition: color 0.25s;
}

.service-card__body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  transition: color 0.25s;
  margin-bottom: 20px;
}

/* ── TECHNOLOGIES ────────────────────────────── */
.tech__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.tech-card {
  background: var(--white);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
}

.tech-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.tech-card:hover { background: var(--navy); }
.tech-card:hover::before { transform: scaleX(1); }
.tech-card:hover .tech-card__title { color: var(--white); }
.tech-card:hover .tech-card__body { color: rgba(255,255,255,0.55); }
.tech-card:hover .tech-card__tag { border-color: rgba(0,180,160,0.4); color: var(--teal-bright); }

.tech-card__icon {
  width: 48px;
  height: 48px;
  background: var(--offwhite);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.25s;
}
.tech-card:hover .tech-card__icon { background: rgba(255,255,255,0.06); }

.tech-card__icon svg { width: 24px; height: 24px; color: var(--teal); }

.tech-card__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  margin-bottom: 10px;
  transition: color 0.25s;
}

.tech-card__body {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  transition: color 0.25s;
}

.tech-card__tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  border-bottom: 1px solid var(--teal);
  padding-bottom: 2px;
  display: inline-block;
  transition: color 0.25s, border-color 0.25s;
}

/* ── TECH DETAIL PAGE BLOCKS ──────────────────── */
.tech-detail {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 90px;
}
.tech-detail:last-child { border-bottom: none; }
.tech-detail:nth-child(even) .tech-detail__visual { order: 2; }

.tech-detail__num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.tech-detail__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 18px;
  line-height: 1.05;
}

.tech-detail__body {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.tech-detail__specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 8px;
}

.tech-detail__spec {
  background: var(--offwhite);
  padding: 16px 18px;
}

.tech-detail__spec-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-dim);
  margin-bottom: 4px;
}

.tech-detail__spec-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
}

.tech-detail__visual {
  background: var(--navy);
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 3 / 4;
  width: 100%;
}

.tech-detail__visual svg { width: 100%; max-width: 280px; height: auto; }

/* Video variant */
.tech-detail__visual--video {
  padding: 0;
  overflow: hidden;
}

.tech-detail__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tech-detail__best-for {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tech-detail__best-for-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  background: var(--offwhite);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

/* ── APPLICATIONS ────────────────────────────── */
.applications__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.app-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  background: var(--navy-mid);
}

.app-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.app-card:hover .app-card__bg { transform: scale(1.05); }

.app-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.95) 0%, rgba(10,22,40,0.4) 50%, rgba(10,22,40,0.1) 100%);
}

.app-card__content {
  position: relative;
  z-index: 2;
  padding: 28px;
}

.app-card__icon {
  width: 40px;
  height: 40px;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.app-card__icon svg { width: 20px; height: 20px; color: var(--navy); }

.app-card__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
}

.app-card__desc {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
}

.app-card__metrics {
  margin-top: 14px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.app-card__metric {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-bright);
}

/* ── APPLICATION DETAIL BLOCKS ────────────────── */
.app-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.app-detail:last-child { border-bottom: none; }
.app-detail:nth-child(even) .app-detail__visual { order: 2; }

.app-detail__visual {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.app-detail__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-detail__badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--teal);
  color: var(--navy);
  padding: 8px 18px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.app-detail__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 18px;
  line-height: 1.05;
}

.app-detail__body {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.app-detail__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.app-detail__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.app-detail__list svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── APPROACH / PROCESS ──────────────────────── */
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process__steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: var(--teal);
  opacity: 0.3;
}

.process-step {
  padding: 0 24px;
  text-align: center;
}

.process-step__num {
  width: 72px;
  height: 72px;
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--teal);
  background: var(--white);
  position: relative;
  z-index: 1;
  transition: background 0.25s, color 0.25s;
}

.section--gray .process-step__num { background: var(--offwhite); }

.process-step:hover .process-step__num {
  background: var(--teal);
  color: var(--navy);
}

.process-step__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.process-step__body {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── TEAM ─────────────────────────────────────── */
.team__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

.team__photo-wrap {
  position: relative;
}

.team__photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  display: block;
  background: var(--navy-mid);
  overflow: hidden;
}

.team__photo-accent {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 60px;
  height: 60px;
  border-left: 3px solid var(--teal);
  border-top: 3px solid var(--teal);
  pointer-events: none;
}

.team__name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 6px;
}

.team__role {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 28px;
}

.team__bio {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 28px;
}

.team__expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.team__expertise-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid rgba(0,180,160,0.35);
  color: var(--teal-bright);
}

.team__credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 40px;
}

.team__cred {
  background: rgba(255,255,255,0.04);
  padding: 18px 20px;
  text-align: center;
}

.team__cred-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 4px;
}

.team__cred-label {
  font-size: 11.5px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.03em;
}

/* ── CTA BAND ─────────────────────────────────── */
.cta-band {
  padding: 80px 0;
  background: var(--teal);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-band__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-band__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--navy);
  line-height: 1.0;
  max-width: 18ch;
}

.cta-band__sub {
  font-size: 15px;
  color: rgba(10,22,40,0.7);
  max-width: 42ch;
  line-height: 1.6;
}

.cta-band__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
}
.btn--navy:hover { background: var(--navy-mid); }

.btn--teal-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn--teal-outline:hover { background: var(--navy); color: var(--white); }

/* ── CONTACT ──────────────────────────────────── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.contact__info-item:last-child { border-bottom: none; }

.contact__info-icon {
  width: 40px;
  height: 40px;
  background: rgba(0,180,160,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact__info-icon svg { width: 20px; height: 20px; color: var(--teal); }

.contact__info-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 4px;
}

.contact__info-value {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  font-weight: 400;
  text-decoration: none;
}

a.contact__info-value:hover { color: var(--teal-bright); }

/* ── FORM ─────────────────────────────────────── */
.form { display: flex; flex-direction: column; gap: 16px; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form__group { display: flex; flex-direction: column; gap: 6px; }

.form__label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}

.form__input,
.form__select,
.form__textarea {
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  color: var(--white);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 12px 16px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
  border-radius: 0;
}

.form__input::placeholder,
.form__textarea::placeholder { color: rgba(255,255,255,0.25); }

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--teal);
  background: rgba(0,180,160,0.05);
}

.form__select option { background: var(--navy); color: var(--white); }

.form__textarea { resize: vertical; min-height: 120px; }

.form__submit {
  align-self: flex-start;
  padding: 14px 36px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--teal);
  color: var(--navy);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form__submit:hover { background: var(--teal-bright); transform: translateY(-1px); }
.form__submit svg { width: 18px; height: 18px; }

.form__success {
  display: none;
  padding: 20px 24px;
  background: rgba(0,180,160,0.1);
  border: 1px solid rgba(0,180,160,0.3);
  color: var(--teal-bright);
  font-size: 15px;
  gap: 10px;
  align-items: center;
}

.form__success.visible { display: flex; }

/* ── FOOTER ──────────────────────────────────── */
.footer {
  background: #06101e;
  color: rgba(255,255,255,0.5);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}

.footer__brand-name span { color: var(--teal); }

.footer__brand-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  max-width: 32ch;
  margin-bottom: 20px;
}

.footer__col-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--white); }

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.footer__tagline {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dim);
}

/* ── MOBILE NAV DRAWER ───────────────────────── */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  bottom: 0;
  width: 300px;
  background: var(--navy);
  z-index: 200;
  padding: 0 0 32px;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  border-left: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav.open { right: 0; }

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 8px;
  flex-shrink: 0;
}

.mobile-nav__logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 150;
  backdrop-filter: blur(2px);
}
.mobile-nav-overlay.open { display: block; }

.mobile-nav__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  color: var(--white);
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.mobile-nav__close:hover { background: rgba(0,180,160,0.15); border-color: var(--teal); }
.mobile-nav__close svg { width: 18px; height: 18px; }

.mobile-nav__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 0;
  flex: 1;
  overflow-y: auto;
}

.mobile-nav__links li { border-bottom: 1px solid rgba(255,255,255,0.05); }

.mobile-nav__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
}
.mobile-nav__links a::after {
  content: '→';
  font-size: 14px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.2s;
  color: var(--teal);
}
.mobile-nav__links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.03);
  padding-left: 30px;
}
.mobile-nav__links a:hover::after { opacity: 1; transform: translateX(0); }

.mobile-nav__links a.active { color: var(--teal-bright); }
.mobile-nav__links a.active::before {
  content: '';
  position: absolute;
  left: 0;
  width: 3px;
  height: 24px;
  background: var(--teal);
}

.mobile-nav__footer {
  padding: 20px 24px 0;
  flex-shrink: 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 8px;
}

.mobile-nav__cta {
  display: block;
  text-align: center;
  padding: 14px;
  background: var(--teal);
  color: var(--navy);
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
  margin-bottom: 14px;
}
.mobile-nav__cta:hover { background: var(--teal-bright); }

.mobile-nav__address {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

/* ── ANIMATIONS ──────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.7s ease forwards; }
.fade-up-d1 { animation: fadeUp 0.7s 0.1s ease both; }
.fade-up-d2 { animation: fadeUp 0.7s 0.2s ease both; }
.fade-up-d3 { animation: fadeUp 0.7s 0.3s ease both; }
.fade-up-d4 { animation: fadeUp 0.7s 0.4s ease both; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .tech__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .team__grid { grid-template-columns: 1fr; max-width: 600px; }
  .team__photo { aspect-ratio: 4/3; }
  .tech-detail { grid-template-columns: 1fr 240px; gap: 36px; }
  .app-detail { grid-template-columns: 1fr; gap: 32px; }
  .app-detail:nth-child(even) .app-detail__visual { order: 0; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .applications__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Nav */
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .nav__wordmark { font-size: 17px; }
  .nav__logo-img { height: 34px; }

  /* Hero */
  .hero__content { padding: 100px 1.5rem 60px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }

  /* Page hero */
  .page-hero { min-height: 36vh; }
  .page-hero__content { padding: 44px 1.25rem 36px; }
  .page-hero__title { font-size: clamp(32px, 8vw, 52px); }

  /* Tech-detail — stacks, video above text */
  .tech-detail { grid-template-columns: 1fr; gap: 20px; }
  .tech-detail:nth-child(even) .tech-detail__visual { order: 0; }
  .tech-detail__visual { aspect-ratio: 16/9; max-height: 220px; border-radius: 0; }

  /* Tech grid overview — 3 per row on mobile */
  .tech__grid { grid-template-columns: repeat(3, 1fr); }
  .tech-card { padding: 20px 14px; }
  .tech-card__icon { width: 36px; height: 36px; margin-bottom: 12px; }
  .tech-card__title { font-size: 13px; }
  .tech-card__body { display: none; }

  /* Applications grid — 2 per row */
  .applications__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .app-card { aspect-ratio: 2/3; }
  .app-card__title { font-size: 16px; }
  .app-card__desc { display: none; }
  .app-card__content { padding: 16px; }

  /* Services grid — 2 per row */
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  /* Two-col variant (About page "Two Sides") forces single column on mobile */
  .services__grid.services__grid--two-col { grid-template-columns: 1fr; }
  .service-card { padding: 20px 16px; overflow: hidden; }
  .service-card__body { font-size: 12px; line-height: 1.5; }
  .service-card__title { font-size: 18px; }
  .service-card__num { font-size: 48px; top: 16px; right: 16px; }
  .service-card__body { font-size: 13px; }

  /* About — process steps: 2 per row */
  .process__steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .process__steps::before { display: none; }

  /* About — "Two Sides" who-we-work-with: fix to 1 col on mobile */
  .services__grid[style*="repeat(2"] { grid-template-columns: 1fr !important; }

  /* Team — smaller Ian photo */
  .team__grid { grid-template-columns: 1fr; gap: 32px; }
  .team__photo-wrap { max-width: 260px; margin: 0 auto; }
  .team__photo { aspect-ratio: 1/1; object-position: top; }
  .team__photo-accent { display: none; }
  .team__name { font-size: 28px; }
  .team__credentials { grid-template-columns: repeat(3, 1fr); }

  /* Misc */
  .intro__grid { grid-template-columns: 1fr; gap: 36px; }
  .intro__img-accent { display: none; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .form__row { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .tech-detail__specs { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  /* Tech grid — still 3 per row, but tighter */
  .tech__grid { grid-template-columns: repeat(3, 1fr); }
  .tech-card { padding: 14px 10px; }
  .tech-card__icon { width: 28px; height: 28px; }
  .tech-card__icon svg { width: 16px; height: 16px; }

  /* Applications — 2 per row even at 480 */
  .applications__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .app-card__title { font-size: 14px; }

  /* Services — 2 per row */
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid.services__grid--two-col { grid-template-columns: 1fr; }
  .service-card { padding: 18px 14px; }
  .service-card__num { font-size: 40px; }

  /* Hero stats */
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stat { padding: 0 12px 0 0; }
  .hero__stat-num { font-size: 30px; }

  /* Process steps */
  .process__steps { grid-template-columns: repeat(2, 1fr); }

  /* Intro pillars */
  .intro__pillars { grid-template-columns: 1fr 1fr; }

  /* Footer tighter */
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .team__credentials { grid-template-columns: repeat(3, 1fr); gap: 2px; }
}

/* Mobile drawer theme toggle labels */
.toggle-label-light { display: none; }
.toggle-label-dark  { display: inline; }
html.light .toggle-label-light { display: inline; }
html.light .toggle-label-dark  { display: none; }
