/* ============================================
   Kybr TechSolutions — v2
   Editorial corporate with rich visuals
   ============================================ */

/* Per AW-1182: the zip's web fonts (Fraunces / Inter / JetBrains Mono) are
   intentionally NOT used. The site keeps the current system sans-serif stack
   the user prefers — all three font roles map to it below, no @import. */

:root {
  --navy: #0a1f6b;
  --navy-deep: #060f3d;
  --navy-ink: #050a26;
  --blue: #2f7bff;
  --blue-bright: #4a8bff;
  --blue-soft: #7da9ff;
  --blue-pale: #e8f0ff;
  --cream: #f4efe2;
  --paper: #fbfaf6;
  --ink: #0f1320;
  --muted: #5b6275;
  --line: #e3e0d6;
  --line-strong: #c8c3b3;
  --accent: #ff6b35;
  --gold: #d4a946;

  --serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1280px;
  --pad: clamp(1.25rem, 3vw, 2.5rem);
  --shadow: 0 30px 60px -25px rgba(10,31,107,0.25);
  --shadow-sm: 0 8px 24px -8px rgba(10,31,107,0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Container ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.dotted-bg {
  background-image: radial-gradient(circle, rgba(10,31,107,0.08) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, 0.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo-mark {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}
.logo-mark .kybr {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 0.85;
}
.logo-mark .ts {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--blue);
}
.footer .logo-mark .kybr { color: var(--paper); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
}

.nav-cta {
  background: var(--navy);
  color: var(--paper) !important;
  padding: 0.75rem 1.4rem;
  border-radius: 2px;
  font-weight: 500;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-cta::after { content: '→'; transition: transform 0.25s; }
.nav-cta:hover { background: var(--navy-deep); }
.nav-cta:hover::after { transform: translateX(4px); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.3s; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 78px; left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    padding: 1.5rem var(--pad);
    gap: 1.25rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.3s;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 1.05rem; }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--blue);
  font-weight: 500;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--navy-ink);
}

h1 {
  font-size: clamp(2.8rem, 6.8vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.038em;
}
h1 em { font-style: italic; font-weight: 300; color: var(--blue); }

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  margin-bottom: 1.2rem;
}
h2 em { font-style: italic; font-weight: 300; color: var(--blue); }

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 500;
  margin-bottom: 0.65rem;
}

p.lead {
  font-size: clamp(1.08rem, 1.4vw, 1.22rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 640px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.btn-primary { background: var(--navy); color: var(--paper); }
.btn-primary:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(10,31,107,0.45);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--paper); }

.btn-light {
  background: var(--paper);
  color: var(--navy);
}
.btn-light:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.4);
}

/* ============================================
   HERO (homepage)
   ============================================ */
.hero {
  position: relative;
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3.5rem, 6vw, 5rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Reworked hero typography (AW-1183): stronger size/weight/spacing hierarchy
   on the system sans stack — no custom display font introduced. */
.hero-copy { max-width: 620px; }

.hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-weight: 400;
  letter-spacing: -0.03em;
}
.hero-sub {
  font-size: clamp(1.12rem, 1.5vw, 1.3rem);
  color: var(--muted);
  margin-bottom: 2.6rem;
  max-width: 540px;
  line-height: 1.6;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.hero-trust-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  flex-shrink: 0;
}
.hero-trust-logos {
  display: flex;
  gap: 1.8rem;
  align-items: center;
  flex-wrap: wrap;
}
.hero-trust-logos span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
  opacity: 0.7;
}

/* Hero visual collage */
.hero-visual {
  position: relative;
  height: 540px;
}
.hero-img {
  position: absolute;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-1 {
  top: 0; right: 0;
  width: 75%; height: 60%;
}
.hero-img-2 {
  bottom: 0; left: 0;
  width: 65%; height: 50%;
  border: 6px solid var(--paper);
}
.hero-img-tag {
  position: absolute;
  bottom: 24%;
  right: 8%;
  background: var(--navy-ink);
  color: var(--paper);
  padding: 1rem 1.4rem;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  z-index: 2;
}
.hero-img-tag .badge {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74,222,128,0.2);
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { height: 420px; }
}
@media (max-width: 600px) {
  .hero-visual { height: 320px; }
  .hero-img-tag { font-size: 0.62rem; padding: 0.7rem 1rem; }
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: clamp(4rem, 7vw, 6.5rem) 0; }
.section-tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }

.section-header {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.section-header .eyebrow { margin-bottom: 1rem; display: block; }
@media (max-width: 880px) {
  .section-header { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }
}

.section-dark {
  background: var(--navy-ink);
  color: var(--paper);
  position: relative;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--paper); }
.section-dark h2 em, .section-dark h1 em { color: var(--blue-soft); }
.section-dark .eyebrow { color: var(--blue-soft); }
.section-dark .section-header { border-color: rgba(255,255,255,0.12); }
.section-dark p { color: rgba(255,255,255,0.7); }

.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(47,123,255,0.12), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(125,169,255,0.08), transparent 40%);
  pointer-events: none;
}
.section-dark > .container { position: relative; z-index: 1; }

.section-cream { background: var(--cream); }

/* ============================================
   STATS
   ============================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-block {
  padding: 2.5rem 1.5rem;
  border-right: 1px solid var(--line);
  position: relative;
}
.stat-block:last-child { border-right: none; }
.stat-icon {
  width: 32px; height: 32px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.5;
  margin-bottom: 1.2rem;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.stat-num em { font-style: italic; color: var(--blue); font-weight: 300; }
.stat-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
@media (max-width: 880px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-block:nth-child(2n) { border-right: none; }
  .stat-block:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ============================================
   SERVICE CARDS (homepage)
   ============================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card-v2 {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2.2rem 1.8rem;
  border-radius: 4px;
  position: relative;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.service-card-v2:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.section-dark .service-card-v2 {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}
.section-dark .service-card-v2:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--blue);
}
.service-icon-wrap {
  width: 52px; height: 52px;
  background: var(--blue-pale);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.section-dark .service-icon-wrap {
  background: rgba(47,123,255,0.15);
}
.service-icon-wrap svg {
  width: 24px; height: 24px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.8;
}
.service-num-badge {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.section-dark .service-num-badge { color: rgba(255,255,255,0.4); }
.service-card-v2 h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.service-card-v2 p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.section-dark .service-card-v2 p { color: rgba(255,255,255,0.7); }
.service-link {
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s;
}
.service-card-v2:hover .service-link { gap: 0.8rem; }

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

/* ============================================
   INDUSTRIES with imagery
   ============================================ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.industry-card {
  position: relative;
  height: 380px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s;
}
.industry-card:hover { transform: translateY(-6px); }
.industry-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.industry-card:hover img { transform: scale(1.08); }
.industry-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,10,38,0.05) 0%, rgba(5,10,38,0.5) 50%, rgba(5,10,38,0.95) 100%);
}
.industry-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.8rem 1.5rem;
  z-index: 1;
  color: var(--paper);
}
.industry-content .industry-icon-mini {
  width: 36px; height: 36px;
  margin-bottom: 1rem;
  stroke: var(--blue-soft);
  fill: none;
  stroke-width: 1.5;
}
.industry-content h4 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--paper);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.industry-content p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
}
@media (max-width: 880px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .industry-grid { grid-template-columns: 1fr; }
  .industry-card { height: 260px; }
}

/* ============================================
   PROCESS / TIMELINE
   ============================================ */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 0; right: 0;
  height: 1px;
  background: var(--line-strong);
}
.process-step { padding: 0 1.5rem 0 0; position: relative; }
.process-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--navy);
  position: relative;
  z-index: 1;
  margin-top: 21px;
  margin-bottom: 1.5rem;
}
.section-dark .process-dot { background: var(--navy-ink); border-color: var(--blue-soft); }
.section-dark .process::before { background: rgba(255,255,255,0.15); }
.process-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--blue);
  letter-spacing: 0.18em;
  margin-bottom: 0.5rem;
}
.section-dark .process-num { color: var(--blue-soft); }
.process-step h4 {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
  color: var(--navy-ink);
  font-weight: 500;
}
.section-dark .process-step h4 { color: var(--paper); }
.process-step p { font-size: 0.9rem; color: var(--muted); line-height: 1.55; }
.section-dark .process-step p { color: rgba(255,255,255,0.7); }
@media (max-width: 880px) {
  .process { grid-template-columns: 1fr; gap: 2rem; }
  .process::before { left: 6px; top: 0; bottom: 0; width: 1px; height: auto; }
  .process-step { padding-left: 2rem; }
  .process-dot { position: absolute; left: 0; top: 0; margin: 0; }
}

/* ============================================
   QUOTE / CALLOUT
   ============================================ */
.quote-block {
  background: var(--cream);
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  border-radius: 4px;
  position: relative;
  border-left: 4px solid var(--blue);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
}
.quote-block svg {
  width: 60px; height: 60px;
  stroke: var(--blue);
  fill: var(--blue);
  opacity: 0.2;
  flex-shrink: 0;
}
.quote-text {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--navy-ink);
  margin-bottom: 1.5rem;
}
.quote-author {
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}
@media (max-width: 600px) {
  .quote-block { grid-template-columns: 1fr; gap: 1rem; }
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  background: var(--navy-ink);
  color: var(--paper);
  padding: clamp(4rem, 7vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(47,123,255,0.18), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(125,169,255,0.12), transparent 50%);
  pointer-events: none;
}
.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cta-band h2 { color: var(--paper); margin-bottom: 0; }
.cta-band h2 em { color: var(--blue-soft); }
@media (max-width: 880px) {
  .cta-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-ink);
  color: rgba(255,255,255,0.7);
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(47,123,255,0.08), transparent 50%);
  pointer-events: none;
}
.footer > .container { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.footer-brand-block { max-width: 320px; }
.footer .logo-mark { margin-bottom: 1.2rem; }
.footer-desc { font-size: 0.92rem; line-height: 1.6; margin-bottom: 1.5rem; }
.footer-social {
  display: flex;
  gap: 0.6rem;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--blue); border-color: var(--blue); }
.footer-social svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

.footer-col h5 {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--paper);
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; font-size: 0.9rem; }
.footer-col a:hover { color: var(--blue-soft); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-family: var(--mono);
}
.footer-bottom a:hover { color: var(--blue-soft); }
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.8rem; text-align: center; }
}

/* ============================================
   PAGE HEADER (sub-pages)
   ============================================ */
.page-header {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-header .breadcrumb {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}
.page-header .breadcrumb a { color: var(--blue); }
.page-header .breadcrumb span { color: var(--line-strong); margin: 0 0.6rem; }
.page-header h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  max-width: 900px;
  margin-bottom: 1.5rem;
}
.page-header p.lead { max-width: 720px; }

/* ============================================
   TWO COLUMN
   ============================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 880px) {
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
}
.two-col p { margin-bottom: 1.2rem; color: var(--muted); line-height: 1.7; }
.two-col p:last-child { margin-bottom: 0; }

/* ============================================
   ABOUT - image + text combo
   ============================================ */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-hero-img {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}
.about-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.about-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,31,107,0.3));
}
@media (max-width: 880px) {
  .about-hero { grid-template-columns: 1fr; gap: 3rem; }
}

/* ============================================
   TEAM
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.team-card {
  position: relative;
}
.team-card-img {
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1.2rem;
  position: relative;
}
.team-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.team-card:hover .team-card-img img { transform: scale(1.05); }
.team-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,31,107,0.4));
}
.team-card h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.team-card .role {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
}
.team-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 880px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
@media (max-width: 500px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ============================================
   PRINCIPLES (icon grid)
   ============================================ */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.principle {
  padding: 2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  transition: all 0.3s;
}
.principle:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-3px);
}
.principle-icon {
  width: 44px; height: 44px;
  background: rgba(47,123,255,0.15);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
}
.principle-icon svg {
  width: 22px; height: 22px;
  stroke: var(--blue-soft);
  fill: none;
  stroke-width: 1.8;
}
.principle h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
  color: var(--paper);
}
.principle p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}
@media (max-width: 880px) {
  .principles { grid-template-columns: 1fr; }
}

/* ============================================
   SERVICE CARDS (services page detail)
   ============================================ */
.service-detail {
  display: grid;
  grid-template-columns: 80px 1.2fr 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service-detail:last-child { border-bottom: none; }
.service-detail-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-style: italic;
  color: var(--blue);
  font-weight: 300;
  line-height: 1;
}
.service-detail-content h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.service-detail-content > p { color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; }
.service-detail-meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.service-detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.service-detail-meta svg {
  width: 14px; height: 14px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
}
.service-detail ul { list-style: none; }
.service-detail ul li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink);
  display: flex;
  align-items: start;
  gap: 0.7rem;
}
.service-detail ul li svg {
  width: 16px; height: 16px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
  margin-top: 3px;
}
.service-detail ul li:last-child { border-bottom: none; }
@media (max-width: 880px) {
  .service-detail { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.5rem 0; }
}

/* ============================================
   INDUSTRY PAGE - sector blocks
   ============================================ */
.sector-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.sector-block.reverse { direction: rtl; }
.sector-block.reverse > * { direction: ltr; }
.sector-img {
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.sector-img img { width: 100%; height: 100%; object-fit: cover; }
.sector-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(10,31,107,0.15));
}
.sector-icon-large {
  width: 56px; height: 56px;
  background: var(--blue-pale);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.sector-icon-large svg {
  width: 28px; height: 28px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.8;
}
.sector-block h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.sector-features {
  list-style: none;
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1.5rem;
}
.sector-features li {
  font-size: 0.9rem;
  display: flex;
  align-items: start;
  gap: 0.6rem;
  color: var(--ink);
}
.sector-features li svg {
  width: 14px; height: 14px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
  margin-top: 4px;
}
@media (max-width: 880px) {
  .sector-block { grid-template-columns: 1fr; gap: 2.5rem; }
  .sector-block.reverse { direction: ltr; }
  .sector-features { grid-template-columns: 1fr; }
}

/* ============================================
   RIGHTS LIST (resources)
   ============================================ */
.rights-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.right-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.right-num {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--blue);
  font-weight: 500;
  line-height: 1;
  flex-shrink: 0;
}
.right-item h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
  font-family: var(--sans);
  letter-spacing: 0;
}
.right-item p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 600px) {
  .rights-list { grid-template-columns: 1fr; }
}

/* ============================================
   OBLIGATIONS (resources)
   ============================================ */
.oblig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.oblig-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 2rem;
  transition: all 0.3s;
}
.oblig-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--blue);
}
.oblig-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--blue-soft);
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  display: block;
}
.oblig-icon {
  width: 40px; height: 40px;
  background: rgba(47,123,255,0.15);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.oblig-icon svg {
  width: 20px; height: 20px;
  stroke: var(--blue-soft);
  fill: none;
  stroke-width: 1.8;
}
.oblig-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; color: var(--paper); }
.oblig-card p { font-size: 0.88rem; color: rgba(255,255,255,0.7); line-height: 1.6; }
@media (max-width: 880px) {
  .oblig-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FAQ / Accordion
   ============================================ */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.6rem 0;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy-ink);
  gap: 1rem;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q .plus {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--blue-pale);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}
.faq-q .plus svg { width: 14px; height: 14px; stroke: var(--blue); fill: none; stroke-width: 2.5; transition: transform 0.3s; }
details[open] .plus { background: var(--blue); }
details[open] .plus svg { stroke: white; transform: rotate(45deg); }
.faq-a {
  padding-top: 1rem;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.98rem;
  max-width: 800px;
}

/* ============================================
   FORM
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.contact-info-block {
  margin-bottom: 1.8rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1.2rem;
  align-items: start;
}
.contact-info-block:last-of-type { border-bottom: none; }
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--blue-pale);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg {
  width: 20px; height: 20px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.8;
}
.contact-info-block .label {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.contact-info-block .value {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--navy-ink);
  line-height: 1.5;
}
.contact-info-block .value a:hover { color: var(--blue); }

form.contact-form {
  background: var(--paper);
  padding: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.2rem; }
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--paper);
  transition: border 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47,123,255,0.1);
}
.form-field textarea { resize: vertical; min-height: 120px; font-family: inherit; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-success {
  display: none;
  padding: 1rem 1.2rem;
  background: var(--blue-pale);
  border-left: 3px solid var(--blue);
  color: var(--navy);
  margin-top: 1rem;
  font-size: 0.92rem;
  align-items: center;
  gap: 0.7rem;
}
.form-success.show { display: flex; }
.form-success svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 2.5; flex-shrink: 0; }

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease-out forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ============================================
   MAP placeholder (contact page)
   ============================================ */
.map-block {
  margin-top: 2rem;
  aspect-ratio: 16/9;
  border-radius: 4px;
  overflow: hidden;
  background: var(--cream);
  position: relative;
  border: 1px solid var(--line);
}
.map-block iframe { width: 100%; height: 100%; border: 0; }

/* ============================================
   FEATURED LOGO BANNER (clients/trust)
   ============================================ */
.trust-banner {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.trust-banner-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-banner-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.trust-banner-logos {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.trust-banner-logos span {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--navy);
  opacity: 0.65;
}
