/* ============================================================
   TRIAXIUM DESIGN SYSTEM  (v2)
   One stylesheet for every page. Change tokens once, everything updates.
   ============================================================ */

:root {
  /* Brand palette */
  --navy:        #0A1628;
  --navy-2:      #0F1E36;
  --navy-3:      #14253F;
  --brand-blue:  #1479D6;
  --cyan:        #38BDF8;
  --green:       #22C55E;
  --amber:       #F59E0B;
  --white:       #FFFFFF;

  /* Text on dark */
  --text:        #E6EEF7;
  --text-muted:  rgba(230, 238, 247, 0.68);
  --text-faint:  rgba(230, 238, 247, 0.45);

  /* Light band */
  --paper:       #F3F6FA;
  --paper-2:     #E8EEF5;
  --ink:         #0A1628;
  --ink-muted:   #46566B;

  /* Lines and surfaces */
  --line:        rgba(56, 189, 248, 0.18);
  --line-soft:   rgba(255, 255, 255, 0.07);
  --card:        rgba(255, 255, 255, 0.03);
  --card-hover:  rgba(56, 189, 248, 0.05);

  /* Type */
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --display: 'Montserrat', var(--sans);

  /* Spacing */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px;

  /* Layout */
  --container: 1180px;
  --radius:    12px;
  --radius-sm: 8px;
  --shadow:    0 24px 60px rgba(0, 0, 0, 0.35);
}

/* ============================================================
   BASE
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--cyan); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--white); }

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

button { font-family: inherit; cursor: pointer; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--cyan); color: var(--navy);
  padding: 10px 16px; z-index: 1000; font-weight: 600;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin: 0 0 var(--s-4);
  color: var(--white);
}
h1 { font-size: clamp(38px, 5.4vw, 64px); letter-spacing: -1.2px; }
h2 { font-size: clamp(28px, 3.6vw, 42px); }
h3 { font-size: clamp(20px, 2vw, 24px); }
h4 { font-size: 17px; }

h1 em, h2 em { color: var(--cyan); font-style: italic; }

p { margin: 0 0 var(--s-4); color: var(--text-muted); }
.lede { font-size: 18px; line-height: 1.6; color: var(--text); max-width: 640px; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: var(--s-4);
}

/* Sans headings for cards and small blocks */
.h-sans { font-family: var(--sans); font-weight: 600; letter-spacing: -0.2px; }

/* ============================================================
   LAYOUT
   ============================================================ */

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--s-5); }

section { padding: var(--s-9) 0; }
section.compact { padding: var(--s-7) 0; }

.band      { background: var(--navy-2); border-block: 1px solid var(--line-soft); }
.band-blue { background: rgba(20, 121, 214, 0.07); border-block: 1px solid rgba(20, 121, 214, 0.18); }

/* Light band: used sparingly for rhythm and image-led sections */
.light { background: var(--paper); color: var(--ink); }
.light h1, .light h2, .light h3, .light h4 { color: var(--ink); }
.light p { color: var(--ink-muted); }
.light .lede { color: var(--ink); }
.light .eyebrow { color: var(--brand-blue); }
.light h2 em { color: var(--brand-blue); }

.section-header { max-width: 720px; margin-bottom: var(--s-7); }
.section-header.center { margin-inline: auto; text-align: center; }
.section-header.center .lede { margin-inline: auto; }
.section-header p:last-child { margin-bottom: 0; }

.section-top {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--s-5); flex-wrap: wrap; margin-bottom: var(--s-7);
}
.section-top .section-header { margin-bottom: 0; }

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  section { padding: var(--s-8) 0; }
  section.compact { padding: var(--s-6) 0; }
  .section-header { margin-bottom: var(--s-6); }
}

/* Two-column text + image */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: var(--s-6); }
  .split.reverse > :first-child { order: 0; }
}

/* ============================================================
   IMAGES
   ============================================================ */

.media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--navy-2);
  box-shadow: var(--shadow);
}
.light .media { border-color: rgba(10, 22, 40, 0.08); box-shadow: 0 18px 40px rgba(10, 22, 40, 0.12); }
.media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.media.tall img { aspect-ratio: 4 / 3; }

.media-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--s-7) var(--s-5) var(--s-5);
  background: linear-gradient(180deg, rgba(10,22,40,0) 0%, rgba(10,22,40,0.88) 70%);
}
.media-caption strong { display: block; color: var(--white); font-size: 15px; }
.media-caption span { color: var(--text-muted); font-size: 13.5px; }

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  max-width: var(--container); margin: 0 auto; padding: 14px var(--s-5);
}
.nav-brand img { height: 40px; width: auto; }

.nav-menu { display: flex; align-items: center; gap: var(--s-6); }
.nav-links { display: flex; gap: var(--s-6); list-style: none; margin: 0; padding: 0; }
.nav-links > li > a {
  color: var(--text-muted); font-size: 14.5px; font-weight: 500;
  padding: 8px 0; display: inline-flex; align-items: center; gap: 4px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--cyan); }

.has-dropdown { position: relative; }
.chev { font-size: 9px; opacity: 0.6; transition: transform 0.2s ease; }
.has-dropdown:hover .chev, .has-dropdown:focus-within .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translate(-50%, -4px);
  min-width: 320px;
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.dropdown::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.dropdown a {
  display: block; padding: 10px 14px; border-radius: var(--radius-sm);
  color: var(--white); font-size: 14px; font-weight: 600;
}
.dropdown a span { display: block; font-size: 12.5px; font-weight: 400; color: var(--text-muted); margin-top: 2px; }
.dropdown a:hover { background: var(--card-hover); }

.nav-cta {
  background: var(--cyan); color: var(--navy);
  padding: 10px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
}
.nav-cta:hover { background: var(--white); color: var(--navy); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  color: var(--white); font-size: 15px; font-weight: 600;
  padding: 8px 14px; border-radius: 999px;
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav-menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: var(--s-4);
    background: var(--navy-2);
    padding: var(--s-5);
    border-bottom: 1px solid var(--line-soft);
    max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .nav.open .nav-menu { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links > li > a { padding: 14px 0; font-size: 17px; width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav-links a[aria-current="page"] { box-shadow: none; color: var(--cyan); }
  .chev { display: none; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: none; background: transparent;
    min-width: 0; padding: var(--s-2) 0 var(--s-2) var(--s-4);
  }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { transform: none; }
  .dropdown a { padding: 8px 0; font-weight: 500; color: var(--text-muted); }
  .dropdown a span { display: none; }
  .nav-cta { text-align: center; padding: 14px 20px; font-size: 15px; }
}

/* ============================================================
   HERO
   ============================================================ */

.hero { padding: var(--s-8) 0 var(--s-9); position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -260px; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 1000px;
  background: radial-gradient(circle, rgba(56,189,248,0.09) 0%, rgba(56,189,248,0) 60%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: var(--s-8); align-items: center;
}
.hero-sub {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--text-muted);
  margin: var(--s-5) 0 0;
  max-width: 560px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: var(--s-4); flex-wrap: wrap; margin-top: var(--s-6); }
.hero-points {
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5);
  margin: var(--s-6) 0 0; padding: 0; list-style: none;
  font-size: 14px; color: var(--text-muted);
}
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hero-points li:nth-child(2)::before { background: var(--cyan); }
.hero-points li:nth-child(3)::before { background: var(--amber); }

.hero.simple { padding-bottom: var(--s-8); }
.hero.simple .hero-copy { max-width: 780px; }

@media (max-width: 900px) {
  .hero { padding: var(--s-7) 0 var(--s-8); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-6); }
}

/* ============================================================
   BUTTONS AND LINKS
   ============================================================ */

.btn {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-primary { background: var(--cyan); color: var(--navy); }
.btn-primary:hover { background: var(--white); color: var(--navy); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(56,189,248,0.35); }
.btn-ghost:hover { border-color: var(--cyan); background: var(--card-hover); color: var(--white); }
.light .btn-ghost { color: var(--ink); border-color: rgba(10,22,40,0.2); }
.light .btn-ghost:hover { border-color: var(--brand-blue); background: rgba(20,121,214,0.06); color: var(--ink); }
.arrow { transition: transform 0.2s ease; }
.btn:hover .arrow, .text-link:hover .arrow { transform: translateX(3px); }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--cyan); }
.light .text-link { color: var(--brand-blue); }
.light .text-link:hover { color: var(--ink); }

/* ============================================================
   STATS STRIP
   ============================================================ */

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--navy-2); overflow: hidden;
}
.stat { padding: var(--s-6) var(--s-5); text-align: center; border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(30px, 3.6vw, 44px); line-height: 1; letter-spacing: -1px;
  margin-bottom: var(--s-2); color: var(--white);
}
.stat-num.blue { color: var(--brand-blue); }
.stat-num.cyan { color: var(--cyan); }
.stat-num.green { color: var(--green); }
.stat-num.amber { color: var(--amber); }
.stat-label { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
@media (max-width: 700px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
}

/* ============================================================
   CARDS
   ============================================================ */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-6);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
a.card { display: block; color: inherit; }
a.card:hover { background: var(--card-hover); border-color: rgba(56,189,248,0.4); transform: translateY(-2px); }
.card h3 { font-family: var(--sans); font-size: 19px; font-weight: 600; letter-spacing: -0.2px; margin-bottom: var(--s-3); }
.card p { font-size: 15px; margin-bottom: 0; }
.card .text-link { margin-top: var(--s-4); }

.icon-tile {
  width: 48px; height: 48px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--s-5);
}
.icon-tile.blue  { background: rgba(20,121,214,0.14); }
.icon-tile.cyan  { background: rgba(56,189,248,0.12); }
.icon-tile.green { background: rgba(34,197,94,0.12); }
.icon-tile.amber { background: rgba(245,158,11,0.12); }

.tag {
  display: inline-block; font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase;
  font-weight: 600; padding: 4px 10px; border-radius: 999px; margin-bottom: var(--s-4); align-self: flex-start;
}
.tag.blue  { background: rgba(20,121,214,0.14); color: #4DA3F0; }
.tag.cyan  { background: rgba(56,189,248,0.12); color: var(--cyan); }
.tag.green { background: rgba(34,197,94,0.12);  color: var(--green); }
.tag.amber { background: rgba(245,158,11,0.12); color: var(--amber); }
.tag.white { background: rgba(255,255,255,0.08); color: var(--white); }

.tools { margin-top: var(--s-4); font-size: 12.5px; font-weight: 600; color: var(--text-faint); }

/* Service cards on the home page */
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s-5); }
.services-grid > * { grid-column: span 2; }
@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-grid > * { grid-column: auto; }
}
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PROBLEM LIST (home)
   ============================================================ */

.signals { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.signal {
  display: flex; gap: var(--s-3); align-items: flex-start;
  padding: var(--s-5); border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line-soft);
  font-size: 15px; color: var(--text);
}
.signal svg { flex-shrink: 0; margin-top: 3px; }
@media (max-width: 900px) { .signals { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .signals { grid-template-columns: 1fr; } }

/* ============================================================
   PILLARS (People, Process, Technology)
   ============================================================ */

.pillar-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(10,22,40,0.08);
  box-shadow: 0 14px 34px rgba(10,22,40,0.08);
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.pillar-card { color: inherit; }
a.pillar-card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(10,22,40,0.14); }
.pillar-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pillar-body { padding: var(--s-5) var(--s-6) var(--s-6); border-top: 4px solid; flex: 1; display: flex; flex-direction: column; }
.pillar-card.people .pillar-body { border-top-color: var(--amber); }
.pillar-card.process .pillar-body { border-top-color: var(--green); }
.pillar-card.technology .pillar-body { border-top-color: var(--brand-blue); }
.pillar-body h3 { font-family: var(--sans); font-weight: 700; font-size: 20px; margin-bottom: var(--s-2); }
.pillar-body p { font-size: 15px; flex: 1; }
.pillar-body .text-link { margin-top: var(--s-2); }

/* Detailed pillar rows (approach page) */
.pillar-row + .pillar-row { margin-top: var(--s-9); }
.pillar-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700;
  margin-bottom: var(--s-4);
}
.pillar-label::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.pillar-label.amber { color: var(--amber); }
.pillar-label.green { color: var(--green); }
.pillar-label.blue  { color: #4DA3F0; }

/* ============================================================
   LISTS
   ============================================================ */

.check-list { list-style: none; padding: 0; margin: var(--s-5) 0 0; }
.check-list li {
  position: relative; padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px; color: var(--text);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: ''; position: absolute; left: 2px; top: 17px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}
.check-list.green li::before { border-color: var(--green); }
.check-list.amber li::before { border-color: var(--amber); }
.check-list.blue  li::before { border-color: #4DA3F0; }
.light .check-list li { color: var(--ink); border-bottom-color: rgba(10,22,40,0.08); }

/* ============================================================
   PROCESS STEPS
   ============================================================ */

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-4); position: relative; counter-reset: step; }
.steps::before {
  content: ''; position: absolute; top: 24px; left: 10%; right: 10%;
  height: 1px; background: var(--line);
}
.step { text-align: center; position: relative; }
.step-num {
  width: 48px; height: 48px; margin: 0 auto var(--s-4);
  background: var(--navy); border: 1px solid var(--brand-blue); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 14px; color: #4DA3F0;
}
.step h4 { font-family: var(--sans); font-weight: 600; font-size: 16px; margin-bottom: var(--s-2); }
.step p { font-size: 14px; margin: 0; line-height: 1.55; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 560px; }
  .steps::before { top: 24px; bottom: 24px; left: 24px; right: auto; width: 1px; height: auto; }
  .step { text-align: left; display: grid; grid-template-columns: 48px 1fr; gap: 0 var(--s-5); padding-bottom: var(--s-5); }
  .step-num { margin: 0; grid-row: span 2; }
  .step h4 { margin-top: 12px; }
}

/* ============================================================
   CASE STUDIES
   ============================================================ */

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
.case-mini {
  display: flex; flex-direction: column;
  background: var(--navy-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.case-mini:hover { border-color: rgba(56,189,248,0.45); transform: translateY(-2px); color: inherit; }
.case-mini img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.case-mini-body { padding: var(--s-5) var(--s-6) var(--s-6); display: flex; flex-direction: column; flex: 1; }
.case-mini h3 { font-family: var(--sans); font-weight: 600; font-size: 19px; margin-bottom: var(--s-2); }
.case-mini p { font-size: 15px; flex: 1; }
.case-result { font-size: 13.5px; font-weight: 600; color: var(--green); margin: 0 0 var(--s-4); }
@media (max-width: 760px) { .case-grid { grid-template-columns: 1fr; } }

.case {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--s-7);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-6); align-items: start;
}
.case + .case { margin-top: var(--s-6); }
.case .media { box-shadow: none; }
.case h2 { font-family: var(--sans); font-weight: 600; font-size: 26px; letter-spacing: -0.4px; margin: var(--s-4) 0 var(--s-3); }
.case-summary { font-size: 15.5px; }
.case-detail { padding: var(--s-4) 0; border-bottom: 1px solid var(--line-soft); }
.case-detail:first-child { padding-top: 0; }
.case-detail:last-child { border-bottom: none; padding-bottom: 0; }
.case-detail h3 {
  font-family: var(--sans); font-size: 11.5px; letter-spacing: 1.8px; text-transform: uppercase;
  font-weight: 700; color: var(--cyan); margin-bottom: var(--s-2);
}
.case-detail.result h3 { color: var(--green); }
.case-detail p { font-size: 15px; margin: 0; color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
.chip {
  font-size: 12px; font-weight: 500; color: var(--text-muted);
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line);
}
@media (max-width: 900px) { .case { grid-template-columns: 1fr; gap: var(--s-5); padding: var(--s-5); } }

/* ============================================================
   WHO WE HELP
   ============================================================ */

.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); margin-bottom: var(--s-7); }
.audience-item { background: var(--white); border-radius: var(--radius); padding: var(--s-6); border: 1px solid rgba(10,22,40,0.08); }
.audience-item h3 { font-family: var(--sans); font-weight: 700; font-size: 18px; margin-bottom: var(--s-2); }
.audience-item p { font-size: 15px; margin: 0; }
.sector-list { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; list-style: none; padding: 0; margin: 0; }
.sector-list li {
  padding: 10px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500;
  background: var(--white); color: var(--ink); border: 1px solid rgba(10,22,40,0.1);
}
@media (max-width: 900px) { .audience { grid-template-columns: 1fr; } }

/* ============================================================
   WHY / VALUE ITEMS
   ============================================================ */

.why-list { display: grid; gap: var(--s-4); }
.why-item { display: flex; gap: var(--s-4); align-items: flex-start; }
.why-item .icon-tile { margin: 0; width: 44px; height: 44px; flex-shrink: 0; }
.why-item h3 { font-family: var(--sans); font-weight: 600; font-size: 16.5px; margin: 2px 0 4px; }
.why-item p { font-size: 14.5px; margin: 0; }

/* ============================================================
   SERVICE DETAIL BLOCKS
   ============================================================ */

.service {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--s-8); align-items: center;
}
.service.reverse > :first-child { order: 2; }
.service-block + .service-block { border-top: 1px solid var(--line-soft); }
.service h2 { font-family: var(--sans); font-weight: 600; font-size: clamp(26px, 3vw, 32px); letter-spacing: -0.5px; }
.service-for {
  font-size: 15px; color: var(--text); margin-bottom: var(--s-4);
  padding-left: var(--s-4); border-left: 3px solid var(--brand-blue);
}
.service-visual {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-6); min-height: 280px;
  display: flex; align-items: center; justify-content: center;
}
.service-outcome { margin-top: var(--s-5); font-size: 14.5px; color: var(--text-muted); }
.service-outcome strong { color: var(--white); }
.service-num { font-family: var(--display); font-weight: 800; color: var(--text-faint); margin-right: 8px; }
@media (max-width: 900px) {
  .service { grid-template-columns: 1fr; gap: var(--s-6); }
  .service.reverse > :first-child { order: 0; }
  .service-visual { min-height: 220px; }
}

.jump-links { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.jump-links a {
  padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500;
  color: var(--text); border: 1px solid var(--line);
}
.jump-links a:hover { border-color: var(--cyan); color: var(--white); background: var(--card-hover); }

/* Engagement options */
.option { background: var(--white); border-radius: var(--radius); padding: var(--s-6); border: 1px solid rgba(10,22,40,0.08); }
.option h3 { font-family: var(--sans); font-weight: 700; font-size: 18px; margin-bottom: var(--s-2); }
.option p { font-size: 15px; margin: 0; }
.option-num { font-family: var(--display); font-weight: 800; font-size: 13px; color: var(--brand-blue); letter-spacing: 1px; margin-bottom: var(--s-3); }

/* ============================================================
   TEAM / EXPERTISE
   ============================================================ */

.expertise { padding: var(--s-5); }
.expertise h3 { font-size: 17px; }
.expertise p { font-size: 14.5px; }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5) var(--s-7); }
.value { display: grid; grid-template-columns: 56px 1fr; gap: var(--s-4); }
.value-num { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--brand-blue); line-height: 1; }
.value h3 { font-family: var(--sans); font-weight: 700; font-size: 18px; margin-bottom: var(--s-2); }
.value p { margin: 0; font-size: 15px; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }

/* ============================================================
   CTA STRIP
   ============================================================ */

.cta {
  background: linear-gradient(135deg, rgba(20,121,214,0.18) 0%, rgba(56,189,248,0.08) 50%, rgba(34,197,94,0.06) 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-8) var(--s-7); text-align: center;
}
.cta h2 { margin-bottom: var(--s-4); }
.cta p { font-size: 17px; max-width: 560px; margin: 0 auto var(--s-6); }
.cta .hero-actions { justify-content: center; margin-top: 0; }
@media (max-width: 600px) { .cta { padding: var(--s-7) var(--s-5); } }

/* ============================================================
   CONTACT
   ============================================================ */

.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s-8); align-items: start; }
.form-row { margin-bottom: var(--s-5); }
.form-row.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
label {
  display: block; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: var(--s-2); font-weight: 600;
}
label .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--text-faint); }
input, textarea, select {
  width: 100%; padding: 14px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--white); font-family: inherit; font-size: 15px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
select option { background: var(--navy-2); color: var(--white); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--cyan); background: var(--card-hover); }
textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: 13px; color: var(--text-faint); margin-top: var(--s-4); }

.panel { background: var(--navy-2); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-6); }
.panel h2 { font-family: var(--sans); font-weight: 600; font-size: 19px; margin-bottom: var(--s-5); }
.panel + .panel { margin-top: var(--s-5); }
.info-item { padding: var(--s-4) 0; border-bottom: 1px solid var(--line-soft); }
.info-item:last-child { border-bottom: none; padding-bottom: 0; }
.info-item:first-of-type { padding-top: 0; }
.info-label { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cyan); font-weight: 600; margin-bottom: 4px; }
.info-item a, .info-item span { color: var(--white); font-size: 15.5px; font-weight: 500; }

.next-steps { list-style: none; padding: 0; margin: 0; counter-reset: n; }
.next-steps li { counter-increment: n; position: relative; padding: 0 0 var(--s-5) 44px; font-size: 15px; color: var(--text); }
.next-steps li:last-child { padding-bottom: 0; }
.next-steps li::before {
  content: counter(n); position: absolute; left: 0; top: -2px;
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--brand-blue); color: #4DA3F0;
  font-family: var(--display); font-weight: 800; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.next-steps strong { display: block; color: var(--white); font-weight: 600; }
.next-steps span { color: var(--text-muted); font-size: 14.5px; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .form-row.split-2 { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer { border-top: 1px solid var(--line-soft); padding: var(--s-8) 0 var(--s-6); background: #08121F; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s-6); margin-bottom: var(--s-7); }
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { font-size: 14px; max-width: 320px; margin-top: var(--s-4); }
.footer h2 {
  font-family: var(--sans); font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-faint); font-weight: 600; margin: 0 0 var(--s-4);
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: var(--s-3); font-size: 14.5px; color: var(--text-muted); }
.footer li a { color: var(--text-muted); }
.footer li a:hover { color: var(--white); }
.footer-bottom {
  padding-top: var(--s-5); border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; gap: var(--s-4);
  font-size: 13px; color: var(--text-faint);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   UTILITIES AND MOTION
   ============================================================ */

.center { text-align: center; }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }

.fade-in { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: none; }
.no-js .fade-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Service illustrations scale to their panel */
.service-visual svg { width: 100%; height: auto; max-width: 380px; }
@media (max-width: 600px) { .signal { padding: var(--s-4); } }

/* ============================================================
   WORDPRESS ADDITIONS
   ============================================================ */

/* Keep the sticky header below the admin bar when logged in */
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
@media (max-width: 600px) { .admin-bar .nav { top: 0; } }

.nav-brand img, .footer-brand img { width: auto; }

/* Contact form: spam trap and messages */
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: var(--s-4) var(--s-5); border-radius: var(--radius-sm); margin-bottom: var(--s-5); font-size: 15px; }
.form-alert.success { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.4); color: #BBF7D0; }
.form-alert.error { background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.4); color: #FDE68A; }
.form-plugin input, .form-plugin textarea, .form-plugin select { margin-bottom: var(--s-4); }
.form-plugin input[type="submit"] { width: auto; background: var(--cyan); color: var(--navy); border: none; border-radius: 999px; padding: 14px 24px; font-weight: 600; cursor: pointer; }

/* Content written in the WordPress editor (generic pages) */
.entry-content { max-width: 760px; }
.entry-content > * + * { margin-top: var(--s-4); }
.entry-content h2 { margin-top: var(--s-7); }
.entry-content h3 { margin-top: var(--s-6); font-family: var(--sans); font-weight: 600; }
.entry-content p, .entry-content li { color: var(--text); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content a { text-decoration: underline; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content .wp-block-image figcaption { color: var(--text-muted); font-size: 14px; }
.alignwide { max-width: var(--container); }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { margin-inline: auto; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.nav-links .page-numbers, .pagination .page-numbers { padding: 6px 12px; }
