/* ============================================================
   Alliance Trading International
   Corporate multinational trade house design system
   ============================================================ */

:root {
  /* Palette - Corporate blue with industrial orange accent */
  --navy-950: #061529;
  --navy-900: #0a2540;
  --navy-800: #14304f;
  --navy-700: #1e3a5f;
  --navy-600: #2c4c76;

  --accent: #d4a734;
  --accent-dark: #a8831d;
  --accent-light: #e8c470;

  --white: #ffffff;
  --grey-25: #fafbfc;
  --grey-50: #f5f7fa;
  --grey-100: #edf1f6;
  --grey-200: #dde3ec;
  --grey-300: #c4ccd8;
  --grey-400: #94a0b0;
  --grey-500: #64748b;
  --grey-600: #475569;
  --grey-700: #334155;
  --grey-800: #1e293b;

  --ink: #0f172a;
  --ink-strong: #030712;

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', Menlo, monospace;

  /* Spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.25rem;
  --s-6: 1.5rem;
  --s-8: 2rem;
  --s-10: 2.5rem;
  --s-12: 3rem;
  --s-16: 4rem;
  --s-20: 5rem;
  --s-24: 6rem;
  --s-32: 8rem;

  /* Layout */
  --max-w: 1280px;
  --max-w-narrow: 960px;
  --max-w-prose: 68ch;
}

/* Reset */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* ============================================================
   Typography
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink-strong);
  letter-spacing: -0.025em;
}

.display-hero {
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--white);
}

.display-1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.display-2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.display-3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.lead {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--grey-600);
  max-width: 62ch;
  font-weight: 400;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

p {
  max-width: var(--max-w-prose);
}

/* ============================================================
   Layout
   ============================================================ */

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

@media (min-width: 768px) {
  .container {
    padding: 0 var(--s-8);
  }
}

section {
  padding: var(--s-24) 0;
}

@media (max-width: 640px) {
  section {
    padding: var(--s-16) 0;
  }
}

.section-grey {
  background: var(--grey-50);
}

.section-navy {
  background: var(--navy-900);
  color: var(--grey-100);
}

.section-navy h1,
.section-navy h2,
.section-navy h3,
.section-navy h4 {
  color: var(--white);
}

.section-navy .eyebrow {
  color: var(--accent-light);
}

.section-navy .lead {
  color: var(--grey-300);
}

/* ============================================================
   Top ribbon
   ============================================================ */

.ribbon {
  background: var(--navy-950);
  color: var(--grey-300);
  padding: var(--s-2) 0;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.ribbon .container {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ribbon a {
  color: var(--grey-300);
}

.ribbon a:hover {
  color: var(--white);
}

/* ============================================================
   Navigation
   ============================================================ */

.nav {
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--s-5);
  padding-bottom: var(--s-5);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: 0.16em;
  line-height: 1;
}

.brand-sub {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-links {
  display: none;
  gap: var(--s-8);
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey-700);
  letter-spacing: -0.005em;
  padding: var(--s-2) 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy-900);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.65rem 1.25rem;
  background: var(--navy-900);
  color: var(--white) !important;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: background 0.15s ease;
}

.nav-cta:hover {
  background: var(--navy-800);
}

.nav-cta::after {
  display: none;
}

.nav-toggle {
  display: block;
  padding: var(--s-2) var(--s-3);
  color: var(--navy-900);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  font-weight: 500;
  border: 1px solid var(--grey-300);
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--grey-200);
  padding: var(--s-4) 0 var(--s-8);
  background: var(--white);
}

.nav-mobile.open {
  display: block;
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
}

.nav-mobile a {
  display: block;
  padding: var(--s-4) 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--grey-700);
  border-bottom: 1px solid var(--grey-100);
}

.nav-mobile a.active {
  color: var(--navy-900);
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .nav-mobile {
    display: none !important;
  }
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--white);
}

.btn-light:hover {
  background: var(--grey-100);
  border-color: var(--grey-100);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}

.btn-outline-dark:hover {
  background: var(--navy-900);
  color: var(--white);
}

.btn-arrow::after {
  content: '→';
  margin-left: 0.4rem;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  background: var(--navy-900);
  color: var(--white);
  padding: var(--s-24) 0 var(--s-32);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(233, 117, 20, 0.06) 100%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
  opacity: 0.4;
}

.hero-inner {
  position: relative;
  max-width: 900px;
}

.hero .eyebrow {
  margin-bottom: var(--s-6);
  color: var(--accent-light);
}

.hero-headline {
  margin-bottom: var(--s-8);
  max-width: 18ch;
}

.hero-sub {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.5;
  color: var(--grey-300);
  max-width: 58ch;
  margin-bottom: var(--s-10);
  font-weight: 400;
}

.hero-sub:not(:last-of-type) {
  margin-bottom: var(--s-5);
}

.hero-actions {
  display: flex;
  gap: var(--s-4);
  flex-wrap: wrap;
}

/* ============================================================
   Section headers
   ============================================================ */

.section-header {
  max-width: 720px;
  margin-bottom: var(--s-16);
}

.section-header .eyebrow {
  margin-bottom: var(--s-4);
}

.section-header .display-1 {
  margin-bottom: var(--s-4);
}

.section-header-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header-center .eyebrow {
  display: block;
}

/* ============================================================
   V2 DECK-INSPIRED ADDITIONS (Neel: continuous flow, native HTML)
   ============================================================ */

/* -- Global uppercase display style matching deck headlines -- */
.display-uppercase {
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  font-weight: 800;
}

.display-uppercase-gold {
  color: var(--accent);
}

/* -- Gold accent bar under section headings (matches deck) -- */
.gold-bar {
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin: var(--s-4) 0 var(--s-6);
}

/* -- Persistent gold arc on left of dark sections (deck signature) -- */
.section-with-arc {
  position: relative;
  overflow: hidden;
}

.section-with-arc::before {
  content: '';
  position: absolute;
  left: -300px;
  top: -100px;
  width: 500px;
  height: calc(100% + 200px);
  background: linear-gradient(135deg, transparent 45%, rgba(212, 167, 52, 0.06) 50%, transparent 55%);
  transform: skewX(-8deg);
  pointer-events: none;
  z-index: 1;
}

/* -- Full-bleed hero with background image + navy gradient overlay -- */
.hero-v2 {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  padding: 0;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
}

.hero-v2-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  opacity: 0.45;
}

.hero-v2::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy-900) 0%, rgba(10, 30, 58, 0.85) 40%, rgba(10, 30, 58, 0.4) 70%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-v2 .container {
  position: relative;
  z-index: 2;
  padding-top: var(--s-24);
  padding-bottom: var(--s-24);
}

.hero-v2-inner {
  max-width: 780px;
}

.hero-v2 .eyebrow {
  color: var(--accent-light);
  margin-bottom: var(--s-6);
}

.hero-v2-headline {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--s-6);
}

.hero-v2-headline .gold {
  color: var(--accent);
  display: block;
}

.hero-v2-tagline {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: var(--s-8);
}

.hero-v2-sub {
  font-size: 1.05rem;
  color: var(--grey-200);
  line-height: 1.65;
  margin-bottom: var(--s-10);
  max-width: 640px;
}

/* -- Hero credibility strip (icons row at bottom of hero) -- */
.hero-cred {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
  padding-top: var(--s-8);
  margin-top: var(--s-8);
  border-top: 1px solid rgba(255,255,255,0.15);
}

@media (min-width: 640px) {
  .hero-cred {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hero-cred-item {
  display: flex;
  gap: var(--s-3);
  align-items: center;
}

.hero-cred-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.hero-cred-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.hero-cred-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.2;
  font-weight: 500;
}

/* -- Flow section: navy-to-light gradient transition -- */
.flow-transition-down {
  height: 60px;
  background: linear-gradient(180deg, var(--navy-900), var(--grey-25));
}

.flow-transition-up {
  height: 60px;
  background: linear-gradient(180deg, var(--grey-25), var(--navy-900));
}

/* -- Enhanced portfolio grid with real photos -- */
.portfolio-v2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}

@media (min-width: 640px) {
  .portfolio-v2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .portfolio-v2 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .portfolio-v2 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.portfolio-v2-item {
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
  text-decoration: none;
  border: 1px solid rgba(212, 167, 52, 0.15);
}

.portfolio-v2-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5);
  border-color: var(--accent);
}

.portfolio-v2-visual {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--navy-800);
  position: relative;
}

.portfolio-v2-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 30, 58, 0.85));
}

.portfolio-v2-body {
  padding: var(--s-5) var(--s-5) var(--s-6);
  position: relative;
}

.portfolio-v2-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--s-5);
  width: 32px;
  height: 3px;
  background: var(--accent);
}

.portfolio-v2-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.2;
  margin-top: var(--s-3);
  margin-bottom: var(--s-2);
}

.portfolio-v2-desc {
  font-size: 0.82rem;
  color: var(--grey-300);
  line-height: 1.55;
}

/* -- Sections with world-map background (Global page) -- */
.section-worldmap {
  background: var(--navy-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section-worldmap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
  z-index: 0;
}

.section-worldmap .container {
  position: relative;
  z-index: 1;
}

/* -- Section with photo background at top (like about hero) -- */
.section-photo-header {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  padding: var(--s-24) 0;
  overflow: hidden;
}

.section-photo-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}

.section-photo-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy-900) 0%, rgba(10, 30, 58, 0.85) 50%, rgba(10, 30, 58, 0.55) 100%);
  z-index: 1;
}

.section-photo-header .container {
  position: relative;
  z-index: 2;
}

/* -- Photo strip: alternating text + image sections for editorial flow -- */
.photo-strip {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  overflow: hidden;
}

@media (min-width: 900px) {
  .photo-strip {
    grid-template-columns: 1fr 1fr;
  }
  .photo-strip.reverse .photo-strip-image {
    order: 2;
  }
}

.photo-strip-image {
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.photo-strip-content {
  padding: var(--s-16) var(--s-8);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 900px) {
  .photo-strip-content {
    padding: var(--s-20) var(--s-16);
  }
}

/* -- Enhanced 6-step numbered process with visual flow -- */
.process-v2 {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}

@media (min-width: 640px) {
  .process-v2 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-4);
  }
}

@media (min-width: 1024px) {
  .process-v2 {
    grid-template-columns: repeat(6, 1fr);
    gap: var(--s-2);
    position: relative;
  }
  .process-v2::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent) 15%, var(--accent) 85%, transparent);
    z-index: 0;
  }
}

.process-v2-step {
  padding: var(--s-4) var(--s-3);
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-v2-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--white);
  border: 3px solid var(--accent);
  border-radius: 50%;
  margin: 0 auto var(--s-4);
  color: var(--accent);
  position: relative;
}

.process-v2-circle svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.process-v2-num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 26px;
  height: 26px;
  background: var(--navy-900);
  color: var(--accent);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent);
}

.process-v2-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-strong);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: var(--s-2);
}

.process-v2-desc {
  font-size: 0.78rem;
  color: var(--grey-600);
  line-height: 1.5;
}

/* -- Section on dark navy specifically for the process, matches deck -- */
.section-navy-process {
  background: var(--navy-900);
  color: var(--white);
  padding: var(--s-24) 0;
}

.section-navy-process .process-v2-circle {
  background: var(--navy-900);
  color: var(--accent);
}

.section-navy-process .process-v2-title {
  color: var(--white);
}

.section-navy-process .process-v2-desc {
  color: var(--grey-300);
}

.section-navy-process .process-v2-num {
  background: var(--accent);
  color: var(--navy-900);
  border-color: var(--white);
}

/* -- Certifications matching deck design -- */
.certs-v2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}

@media (min-width: 640px) {
  .certs-v2 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cert-v2 {
  padding: var(--s-6);
  border: 2px solid var(--accent);
  text-align: center;
  background: rgba(212, 167, 52, 0.05);
  transition: background 0.2s ease;
}

.cert-v2:hover {
  background: rgba(212, 167, 52, 0.12);
}

.cert-v2-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto var(--s-3);
  color: var(--accent);
}

.cert-v2-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; }

.cert-v2-name {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: var(--s-1);
}

.cert-v2-desc {
  font-size: 0.72rem;
  color: var(--grey-500);
  letter-spacing: 0.03em;
  line-height: 1.3;
}

/* -- Overrides for uppercase eyebrow style matching deck -- */
.eyebrow-gold {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

/* -- Trust bar (bottom of hero, deck style) -- */
.trust-bar {
  background: var(--navy-deepest, #061530);
  color: var(--white);
  padding: var(--s-8) 0;
  border-top: 1px solid rgba(212, 167, 52, 0.2);
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
  align-items: center;
}

@media (min-width: 900px) {
  .trust-bar-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.trust-bar-item {
  text-align: center;
  padding: 0 var(--s-3);
}

.trust-bar-value {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--s-2);
}

.trust-bar-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--grey-300);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.35;
}



.slide-section {
  background: var(--white);
  padding: 0;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.slide-section-dark {
  background: var(--navy-900);
}

.slide-image {
  display: block;
  width: 100%;
  max-width: 1440px;
  height: auto;
  margin: 0 auto;
}

/* Divider between adjacent slide sections for visual separation */
.slide-section + .slide-section {
  border-top: 1px solid rgba(0,0,0,0.04);
}

/* ============================================================
   Indicative commodity price ticker (top strip)
   ============================================================ */

.price-ticker {
  background: #061530;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: stretch;
  height: 36px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--grey-300);
  position: relative;
}

.ticker-badge {
  background: var(--accent);
  color: #061530;
  font-weight: 700;
  padding: 0 var(--s-4);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
}

.ticker-badge::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 0;
  height: 100%;
  width: 10px;
  background: linear-gradient(90deg, var(--accent), transparent);
  pointer-events: none;
}

.ticker-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.ticker-viewport::before,
.ticker-viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 2;
  pointer-events: none;
}

.ticker-viewport::before {
  left: 0;
  background: linear-gradient(90deg, #061530, transparent);
}

.ticker-viewport::after {
  right: 0;
  background: linear-gradient(-90deg, #061530, transparent);
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: var(--s-8);
  animation: ticker-scroll 90s linear infinite;
  white-space: nowrap;
  padding-left: var(--s-6);
}

.price-ticker:hover .ticker-track {
  animation-play-state: paused;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
}

.ticker-item + .ticker-item::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.12);
  margin-right: var(--s-5);
}

.ticker-name {
  color: var(--white);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.ticker-unit {
  color: var(--grey-500);
  font-size: 0.62rem;
  margin-left: -6px;
}

.ticker-price {
  color: var(--accent-light);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.ticker-delta {
  font-size: 0.68rem;
  font-weight: 500;
  padding: 1px 6px;
  border-radius: 2px;
}

.ticker-delta.up {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.08);
}

.ticker-delta.down {
  color: #f87171;
  background: rgba(248, 113, 113, 0.08);
}

.ticker-delta.flat {
  color: var(--grey-500);
}

.ticker-note {
  display: flex;
  align-items: center;
  padding: 0 var(--s-4);
  color: var(--grey-500);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-left: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
  position: relative;
  z-index: 3;
  background: #061530;
}

.ticker-note a {
  color: var(--accent-light);
  text-decoration: none;
  margin-left: 4px;
}

.ticker-note a:hover {
  color: var(--accent);
}

@media (max-width: 640px) {
  .ticker-note {
    display: none;
  }
  .ticker-badge {
    font-size: 0.58rem;
    padding: 0 var(--s-3);
  }
}



.big-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
  padding: var(--s-8) 0;
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
}

@media (min-width: 768px) {
  .big-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .big-stats {
    grid-template-columns: repeat(5, 1fr);
  }
}

.big-stat {
  text-align: center;
  padding: var(--s-4);
}

.big-stat-value {
  font-size: clamp(2.25rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--s-3);
}

.big-stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--grey-600);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ============================================================
   Testimonials
   ============================================================ */

.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
}

@media (min-width: 900px) {
  .testimonials {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  background: var(--navy-900);
  color: var(--white);
  padding: var(--s-10) var(--s-8);
  position: relative;
  border-top: 3px solid var(--accent);
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: var(--s-4);
  right: var(--s-8);
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.3;
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--grey-100);
  margin-bottom: var(--s-6);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-attr {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-light);
  letter-spacing: 0.05em;
  border-top: 1px solid var(--navy-700);
  padding-top: var(--s-4);
}

.testimonial-attr strong {
  display: block;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: -0.005em;
  font-weight: 600;
  margin-bottom: 2px;
}

/* ============================================================
   Global offices grid
   ============================================================ */

.offices {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}

@media (min-width: 640px) {
  .offices {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .offices {
    grid-template-columns: repeat(5, 1fr);
  }
}

.office {
  padding: var(--s-6);
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-top: 3px solid var(--accent);
  transition: border-color 0.2s ease;
}

.office:hover {
  border-color: var(--grey-400);
  border-top-color: var(--accent);
}

.office-flag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: var(--s-3);
}

.office-city {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink-strong);
  letter-spacing: -0.015em;
  margin-bottom: var(--s-1);
}

.office-region {
  font-size: 0.85rem;
  color: var(--grey-600);
  line-height: 1.5;
}

/* ============================================================
   Six-step process (numbered flow)
   ============================================================ */

.process-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}

@media (min-width: 640px) {
  .process-flow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-flow {
    grid-template-columns: repeat(6, 1fr);
    gap: var(--s-3);
  }
}

.flow-step {
  padding: var(--s-6) var(--s-4);
  background: var(--white);
  border: 1px solid var(--grey-200);
  position: relative;
  text-align: center;
}

.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--navy-900);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50%;
  margin: 0 auto var(--s-4);
  border: 2px solid var(--accent);
}

.flow-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-strong);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: var(--s-2);
  text-transform: uppercase;
}

.flow-desc {
  font-size: 0.82rem;
  color: var(--grey-600);
  line-height: 1.5;
}

/* ============================================================
   Icon feature grid (circular navy icon + text)
   ============================================================ */

.feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}

@media (min-width: 640px) {
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-8);
  }
}

.feature-list-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}

@media (min-width: 640px) {
  .feature-list-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-list-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-6);
  }
}

.feature {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--navy-900);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.feature-body {
  flex-grow: 1;
}

.feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-strong);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: var(--s-2);
  line-height: 1.25;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--grey-600);
  line-height: 1.55;
}

/* Vertical feature (centered, for services grid) */
.feature-vertical {
  text-align: center;
  padding: var(--s-6) var(--s-4);
}

.feature-vertical .feature-icon {
  margin: 0 auto var(--s-4);
}

.feature-vertical .feature-title {
  margin-bottom: var(--s-3);
}

/* ============================================================
   Commodity portfolio grid (12 categories, image-driven cards)
   ============================================================ */

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}

@media (min-width: 640px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.portfolio-item {
  background: var(--white);
  border: 1px solid var(--grey-200);
  transition: border-color 0.2s ease;
  overflow: hidden;
}

.portfolio-item:hover {
  border-color: var(--accent);
}

.portfolio-visual {
  aspect-ratio: 16 / 10;
  background: var(--navy-900);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-visual svg {
  width: 60%;
  height: 60%;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.portfolio-body {
  padding: var(--s-5) var(--s-5) var(--s-6);
}

.portfolio-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-strong);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: var(--s-2);
}

.portfolio-desc {
  font-size: 0.85rem;
  color: var(--grey-600);
  line-height: 1.55;
}

/* ============================================================
   Bottom promise stripe (like deck's footer bars)
   ============================================================ */

.promise-strip {
  background: var(--navy-900);
  color: var(--white);
  padding: var(--s-8) 0;
}

.promise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  align-items: center;
}

@media (min-width: 640px) {
  .promise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .promise-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.promise-item {
  text-align: center;
  padding: 0 var(--s-4);
  border-right: 1px solid var(--navy-700);
}

.promise-item:last-child {
  border-right: none;
}

.promise-item strong {
  display: block;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.promise-item span {
  font-size: 0.85rem;
  color: var(--grey-300);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   Certifications row
   ============================================================ */

.certs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  justify-content: center;
  padding: var(--s-8);
  background: var(--navy-900);
  color: var(--white);
}

.cert {
  padding: var(--s-4) var(--s-6);
  border: 2px solid var(--accent);
  text-align: center;
  min-width: 130px;
}

.cert-name {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: var(--s-1);
}

.cert-desc {
  font-size: 0.7rem;
  color: var(--grey-300);
  letter-spacing: 0.02em;
  line-height: 1.3;
}



.image-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}

@media (min-width: 640px) {
  .image-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .image-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.image-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--grey-200);
  transition: border-color 0.2s ease;
}

.image-card:hover {
  border-color: var(--grey-400);
}

.image-card-visual {
  aspect-ratio: 16 / 10;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-card-visual svg {
  width: 100%;
  height: 100%;
  display: block;
}

.image-card-body {
  padding: var(--s-8);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.image-card-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}

.image-card-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink-strong);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--s-3);
}

.image-card-desc {
  font-size: 0.92rem;
  color: var(--grey-600);
  line-height: 1.6;
  margin-bottom: var(--s-5);
  flex-grow: 1;
}

.image-card-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--navy-900);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
  align-self: flex-start;
  transition: color 0.15s ease;
}

.image-card-link:hover {
  color: var(--accent);
}

/* ============================================================
   Commodity pill list
   ============================================================ */

.commodity-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-8);
}

.commodity-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--grey-300);
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy-900);
  letter-spacing: -0.005em;
  transition: all 0.15s ease;
}

.commodity-pill::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: var(--s-3);
  flex-shrink: 0;
}

.commodity-pill:hover {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: var(--white);
}

/* ============================================================
   Three-column "We open markets" trust block
   ============================================================ */

.open-markets {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
}

@media (min-width: 900px) {
  .open-markets {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-12);
  }
}

.open-markets-item {
  padding-top: var(--s-6);
  border-top: 3px solid var(--accent);
}

.open-markets-mark {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: var(--s-4);
}

.open-markets-title {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: var(--s-4);
}

.open-markets-desc {
  font-size: 0.95rem;
  color: var(--grey-300);
  line-height: 1.6;
}

/* ============================================================
   Partnership CTA section (StoneX-style with visual)
   ============================================================ */

.partnership {
  background: var(--navy-900);
  color: var(--white);
  padding: var(--s-24) 0;
  position: relative;
  overflow: hidden;
}

.partnership::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(233, 117, 20, 0.08));
  pointer-events: none;
}

.partnership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12);
  align-items: center;
  position: relative;
}

@media (min-width: 900px) {
  .partnership-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: var(--s-16);
  }
}

.partnership-visual {
  aspect-ratio: 4 / 3;
  background: var(--navy-800);
  border-left: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* ============================================================
   Intro block (StoneX-style content lead)
   ============================================================ */

.intro-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12);
}

@media (min-width: 900px) {
  .intro-block {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-16);
    align-items: start;
  }
}

.intro-body h2 {
  margin-bottom: var(--s-6);
}

.intro-body p {
  font-size: 1.05rem;
  color: var(--grey-700);
  line-height: 1.65;
  margin-bottom: var(--s-4);
}

.intro-visual {
  aspect-ratio: 4 / 3;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
  border-left: 3px solid var(--accent);
}

/* ============================================================
   Hero background pattern (subtle)
   ============================================================ */

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(135deg, black, transparent 70%);
  -webkit-mask-image: linear-gradient(135deg, black, transparent 70%);
}



.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--grey-200);
  border: 1px solid var(--grey-200);
}

@media (min-width: 900px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-card {
  background: var(--white);
  padding: var(--s-10) var(--s-8);
  display: flex;
  flex-direction: column;
  min-height: 360px;
  transition: background 0.2s ease;
}

.pillar-card:hover {
  background: var(--grey-25);
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--s-6);
}

.pillar-title {
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--ink-strong);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: var(--s-4);
  max-width: 18ch;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--grey-600);
  line-height: 1.6;
  margin-bottom: var(--s-6);
  flex-grow: 1;
}

.pillar-items {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--grey-500);
  letter-spacing: 0.02em;
  line-height: 1.7;
  padding-top: var(--s-4);
  border-top: 1px solid var(--grey-200);
  margin-bottom: var(--s-4);
}

.pillar-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--navy-900);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
  align-self: flex-start;
}

.pillar-link:hover {
  color: var(--accent);
}

/* ============================================================
   Four-step process
   ============================================================ */

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 640px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  padding: var(--s-8) var(--s-6) var(--s-8) 0;
  border-top: 2px solid var(--accent);
  position: relative;
}

@media (min-width: 640px) {
  .process-step {
    padding: var(--s-8);
    padding-left: var(--s-8);
    border-right: 1px solid var(--grey-200);
  }
  .process-step:nth-child(2n) {
    border-right: none;
  }
  .process-step:first-child {
    padding-left: 0;
  }
}

@media (min-width: 1024px) {
  .process-step {
    border-right: 1px solid var(--grey-200);
  }
  .process-step:nth-child(2n) {
    border-right: 1px solid var(--grey-200);
  }
  .process-step:last-child {
    border-right: none;
  }
}

.process-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}

.process-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink-strong);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--s-3);
}

.process-desc {
  font-size: 0.9rem;
  color: var(--grey-600);
  line-height: 1.6;
}



.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--grey-200);
  border: 1px solid var(--grey-200);
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--white);
  padding: var(--s-10) var(--s-8);
  display: flex;
  flex-direction: column;
  min-height: 320px;
  position: relative;
  transition: background 0.2s ease;
}

.service-card:hover {
  background: var(--grey-25);
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--s-6);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink-strong);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: var(--s-4);
  max-width: 16ch;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--grey-600);
  line-height: 1.55;
  margin-bottom: var(--s-6);
  flex-grow: 1;
}

.service-products {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--grey-500);
  letter-spacing: 0.02em;
  line-height: 1.6;
  padding-top: var(--s-4);
  border-top: 1px solid var(--grey-200);
}

/* ============================================================
   Stats bar
   ============================================================ */

.stats-bar {
  background: var(--navy-900);
  color: var(--white);
  padding: var(--s-16) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  padding-left: var(--s-4);
  border-left: 2px solid var(--accent);
}

.stat-value {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--s-3);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--grey-300);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ============================================================
   Industries grid
   ============================================================ */

.industries {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}

@media (min-width: 640px) {
  .industries {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .industries {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-8);
  }
}

.industry {
  padding: var(--s-6) 0;
  border-top: 1px solid var(--grey-200);
}

.industry-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}

.industry-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink-strong);
  letter-spacing: -0.015em;
  margin-bottom: var(--s-2);
}

.industry-desc {
  font-size: 0.9rem;
  color: var(--grey-600);
  line-height: 1.55;
}

/* ============================================================
   Regions grid (global reach)
   ============================================================ */

.regions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--grey-200);
}

@media (min-width: 768px) {
  .regions {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .regions {
    grid-template-columns: repeat(3, 1fr);
  }
}

.region {
  padding: var(--s-8) var(--s-6) var(--s-8) 0;
  border-bottom: 1px solid var(--grey-200);
  position: relative;
}

@media (min-width: 768px) {
  .region {
    padding: var(--s-8);
    border-right: 1px solid var(--grey-200);
  }
  .region:nth-child(2n) {
    border-right: none;
  }
}

@media (min-width: 1024px) {
  .region:nth-child(2n) {
    border-right: 1px solid var(--grey-200);
  }
  .region:nth-child(3n) {
    border-right: none;
  }
}

.region-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}

.region-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink-strong);
  letter-spacing: -0.02em;
  margin-bottom: var(--s-3);
}

.region-desc {
  font-size: 0.9rem;
  color: var(--grey-600);
  line-height: 1.55;
  margin-bottom: var(--s-4);
}

.region-tags {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--grey-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   Trust markers
   ============================================================ */

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4) var(--s-8);
}

@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-item {
  display: flex;
  align-items: baseline;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--grey-200);
}

.trust-mark {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  flex-shrink: 0;
  font-weight: 500;
}

.trust-text {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-strong);
  letter-spacing: -0.01em;
  line-height: 1.35;
}

/* ============================================================
   CTA section
   ============================================================ */

.cta-section {
  background: var(--navy-900);
  color: var(--white);
  padding: var(--s-24) 0;
  position: relative;
  overflow: hidden;
}

.cta-inner {
  max-width: 720px;
}

.cta-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--s-6);
}

.cta-sub {
  font-size: 1.15rem;
  color: var(--grey-300);
  line-height: 1.5;
  margin-bottom: var(--s-10);
  max-width: 56ch;
}

/* ============================================================
   Page header (subpages)
   ============================================================ */

.page-header {
  background: var(--navy-900);
  color: var(--white);
  padding: var(--s-24) 0 var(--s-20);
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 40%);
  opacity: 0.5;
}

.page-header .eyebrow {
  margin-bottom: var(--s-5);
  color: var(--accent-light);
}

.page-header .display-1 {
  color: var(--white);
  max-width: 22ch;
  margin-bottom: var(--s-6);
}

.page-header .lead {
  color: var(--grey-300);
  max-width: 60ch;
}

/* ============================================================
   Two column layout
   ============================================================ */

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12);
}

@media (min-width: 900px) {
  .two-col {
    grid-template-columns: 300px 1fr;
    gap: var(--s-16);
  }
}

.side-label .eyebrow {
  display: block;
  margin-bottom: var(--s-4);
}

.side-label-rule {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-bottom: var(--s-4);
}

.side-note {
  font-size: 0.85rem;
  color: var(--grey-500);
  line-height: 1.6;
  margin-top: var(--s-4);
}

.prose {
  max-width: var(--max-w-prose);
}

.prose p {
  margin-bottom: var(--s-4);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--grey-700);
}

.prose p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   Service detail sections
   ============================================================ */

.service-detail {
  padding: var(--s-16) 0;
  border-bottom: 1px solid var(--grey-200);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
}

@media (min-width: 900px) {
  .service-detail-grid {
    grid-template-columns: 340px 1fr;
    gap: var(--s-16);
  }
}

.service-detail-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
  font-weight: 500;
}

.service-detail-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--ink-strong);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: var(--s-4);
}

.service-detail-desc {
  font-size: 1rem;
  color: var(--grey-600);
  line-height: 1.55;
}

.product-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 640px) {
  .product-list {
    grid-template-columns: 1fr 1fr;
  }
}

.product-list li {
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--grey-200);
  display: flex;
  align-items: baseline;
  gap: var(--s-4);
}

.product-code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
  min-width: 70px;
}

.product-name {
  font-size: 0.95rem;
  color: var(--grey-700);
  font-weight: 500;
}

/* ============================================================
   Contact block
   ============================================================ */

.contact-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12);
}

@media (min-width: 900px) {
  .contact-block {
    grid-template-columns: 1fr 1.3fr;
    gap: var(--s-16);
  }
}

.contact-details {
  padding-right: var(--s-4);
}

.contact-line {
  display: block;
  margin-bottom: var(--s-6);
  font-size: 0.95rem;
  color: var(--grey-700);
}

.contact-line strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: var(--s-2);
  font-weight: 500;
}

.contact-line a {
  color: var(--navy-900);
  border-bottom: 1px solid var(--grey-300);
  padding-bottom: 1px;
}

.contact-line a:hover {
  border-bottom-color: var(--accent);
}

.contact-form {
  display: grid;
  gap: var(--s-5);
  padding: var(--s-10);
  background: var(--grey-50);
  border-top: 3px solid var(--accent);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.form-field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--grey-600);
  text-transform: uppercase;
  font-weight: 500;
}

.form-field input,
.form-field textarea,
.form-field select {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--grey-300);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.15s ease;
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--navy-900);
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: var(--navy-950);
  color: var(--grey-300);
  padding: var(--s-20) 0 var(--s-10);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-10);
  margin-bottom: var(--s-16);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer h5 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: var(--s-5);
  font-weight: 500;
}

.footer-brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: var(--s-3);
}

.footer-brand-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.16em;
  line-height: 1;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--grey-400);
  line-height: 1.6;
  max-width: 34ch;
}

.footer ul li {
  margin-bottom: var(--s-2);
}

.footer ul a {
  color: var(--grey-300);
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

.footer ul a:hover {
  color: var(--white);
}

.footer-address {
  font-size: 0.9rem;
  color: var(--grey-300);
  line-height: 1.7;
  font-style: normal;
}

.footer-address a {
  color: var(--grey-300);
  border-bottom: 1px dotted var(--grey-500);
}

.footer-address a:hover {
  color: var(--white);
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--grey-400);
  line-height: 1.65;
  padding-top: var(--s-8);
  border-top: 1px solid var(--navy-800);
  max-width: 100ch;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  justify-content: space-between;
  padding-top: var(--s-6);
  margin-top: var(--s-8);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--grey-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 1px solid var(--navy-800);
}

/* ============================================================
   Utility
   ============================================================ */

.text-white { color: var(--white); }
.text-grey { color: var(--grey-500); }
.text-navy { color: var(--navy-900); }
.text-accent { color: var(--accent); }

.mt-6 { margin-top: var(--s-6); }
.mt-8 { margin-top: var(--s-8); }
.mt-12 { margin-top: var(--s-12); }
.mb-6 { margin-bottom: var(--s-6); }
.mb-8 { margin-bottom: var(--s-8); }

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: var(--s-2) var(--s-4);
  z-index: 200;
}

.skip-link:focus {
  top: 0;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   Portfolio v2 - SVG icon variant (replaces extracted photos)
   ============================================================ */
.portfolio-v2-visual-icon {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #0d2447 0%, #061530 100%) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-image: none !important;
}

.portfolio-v2-visual-icon::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -30%;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(212, 167, 52, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.portfolio-v2-visual-icon::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 24px;
  width: 40px;
  height: 3px;
  background: var(--accent);
  opacity: 0.7;
}

.portfolio-v2-visual-icon svg {
  width: 56px;
  height: 56px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.portfolio-v2-item:hover .portfolio-v2-visual-icon svg {
  transform: scale(1.08);
}

.portfolio-v2-item:hover .portfolio-v2-visual-icon {
  background: linear-gradient(135deg, #112c56 0%, #08193a 100%) !important;
}

/* ============================================================
   Portfolio v2 - 3-column variant (for 9-item industrial grid)
   ============================================================ */
@media (min-width: 900px) {
  .portfolio-v2.portfolio-v2-3col {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .portfolio-v2.portfolio-v2-3col {
    grid-template-columns: repeat(3, 1fr);
  }
}


.footer-brand-sub {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--accent);
  text-transform: uppercase;
  line-height: 1;
}

/* ============================================================
   Market Headlines — news card grid linking to external sources
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-top: var(--s-8);
}

@media (min-width: 720px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-6);
  }
}

@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card {
  background: var(--white);
  border: 1px solid #E5E7EB;
  border-left: 3px solid var(--accent);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-left-color 0.25s ease;
  min-height: 240px;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(10, 30, 58, 0.10);
  border-left-color: var(--accent-light);
}

.news-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
  display: inline-block;
}

.news-headline {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.35;
  margin: 0 0 var(--s-3) 0;
  letter-spacing: -0.005em;
}

.news-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--grey-500);
  letter-spacing: 0.03em;
  margin-bottom: var(--s-4);
}

.news-take {
  font-size: 0.88rem;
  color: var(--grey-700);
  font-style: italic;
  line-height: 1.5;
  margin: 0 0 var(--s-4) 0;
  padding-top: var(--s-3);
  border-top: 1px solid #F1F5F9;
}

.news-link {
  margin-top: auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-card:hover .news-arrow {
  transform: translateX(4px);
}

.news-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
