/* =============================================================================
   INSIGHT CARGO SOLUTIONS
   css/styles.css  — master stylesheet for all pages
   Mobile-first | Dark/Light mode | xs / sm(480) / md(768) / lg(1024) / xl(1280)
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;400;600;700&family=Barlow:wght@300;400;500&display=swap');

/* ─────────────────────────────────────────────────────────────────────────────
   DESIGN TOKENS — CSS Custom Properties
   ───────────────────────────────────────────────────────────────────────────── */
:root {
  /* Dark palette (default) */
  --bg:           #162D33;
  --bg-mid:       #0f1f24;
  --bg-surface:   #1c3540;
  --orange:       #E8631A;
  --orange-dim:   rgba(232,99,26,0.15);
  --orange-glow:  rgba(232,99,26,0.06);
  --text:         #F2F0EC;
  --muted:        rgba(242,240,236,0.42);
  --line:         rgba(242,240,236,0.09);
  --line-solid:   #1e3d47;
  --toggle-bg:    rgba(242,240,236,0.08);
  --shadow:       rgba(0,0,0,0.4);
  --header-bg:    rgba(22,45,51,0.7);

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --ease-expo:    cubic-bezier(0.16, 1, 0.3, 1);

  /* Responsive horizontal padding — increased for breathing space */
  --pad: 1rem;
}
@media (min-width: 480px)  { :root { --pad: 1.5rem;  } }
@media (min-width: 768px)  { :root { --pad: 3.5rem;  } }
@media (min-width: 1024px) { :root { --pad: 6rem;    } }
@media (min-width: 1280px) { :root { --pad: 8rem;    } }

[data-theme="light"] {
  --bg:           #F5F3EF;
  --bg-mid:       #EAE7E1;
  --bg-surface:   #FFFFFF;
  --orange:       #D4530D;
  --orange-dim:   rgba(212,83,13,0.1);
  --orange-glow:  rgba(212,83,13,0.04);
  --text:         #162D33;
  --muted:        rgba(22,45,51,0.5);
  --line:         rgba(22,45,51,0.1);
  --line-solid:   rgba(22,45,51,0.1);
  --toggle-bg:    rgba(22,45,51,0.07);
  --shadow:       rgba(22,45,51,0.12);
  --header-bg:    rgba(245,243,239,0.85);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100dvh;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

a { color: inherit; text-decoration: none; cursor: pointer; }
button { cursor: pointer; border: none; background: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   CUSTOM CURSOR  (pointer/hover devices only)
   ───────────────────────────────────────────────────────────────────────────── */
#cursor { display: none; }

@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  button, a, input, label { cursor: none; }

  #cursor {
    display: block;
    position: fixed; top: 0; left: 0;
    z-index: 9999; pointer-events: none;
    /* No mix-blend-mode — keep it visually sharp on all backgrounds */
  }
}

#cursor .dot {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 6px rgba(232, 99, 26, 0.8);
}
#cursor .ring {
  position: absolute; top: 0; left: 0;
  width: 34px; height: 34px;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.55;
  transition: width 0.35s var(--ease-expo), height 0.35s var(--ease-expo), opacity 0.2s ease;
}
#cursor.is-hovering .ring { width: 52px; height: 52px; opacity: 0.8; }

/* Click ripple */
.click-ripple {
  position: fixed;
  width: 28px; height: 28px;
  pointer-events: none;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: clickRipple 1.6s cubic-bezier(0.4,0,0.6,1) forwards;
  z-index: 9998;
}
@keyframes clickRipple {
  0%   { width: 28px;  height: 28px;  opacity: 0.8; }
  100% { width: 140px; height: 140px; opacity: 0;   }
}

/* ─────────────────────────────────────────────────────────────────────────────
   BACKGROUND — Shipping route map
   ───────────────────────────────────────────────────────────────────────────── */
.bg-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
  transition: opacity 0.4s ease;
}
.bg-canvas svg {
  width: 100%; height: 100%;
  opacity: 0.1;
  transform: translateY(60px);
}
[data-theme="light"] .bg-canvas svg { opacity: 0.25; }

/* Route draw-on animation */
.route-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: drawRoute 4s var(--ease-expo) forwards;
}
.route-path:nth-child(2)  { animation-delay: .4s;  animation-duration: 5s;   }
.route-path:nth-child(3)  { animation-delay: .9s;  animation-duration: 4.5s; }
.route-path:nth-child(4)  { animation-delay: 1.3s; animation-duration: 6s;   }
.route-path:nth-child(5)  { animation-delay: .6s;  animation-duration: 5.5s; }
.route-path:nth-child(6)  { animation-delay: 1.6s; animation-duration: 4s;   }
.route-path:nth-child(7)  { animation-delay: .8s;  animation-duration: 7s;   }
.route-path:nth-child(8)  { animation-delay: 1.1s; animation-duration: 8s;   }

[data-theme="light"] .route-path { stroke: rgba(22,45,51,0.75) !important; }

/* Port node pulse */
.route-node { animation: nodePulse 3s ease-in-out infinite; }
.route-node:nth-child(1)  { animation-delay: 0s;   }
.route-node:nth-child(2)  { animation-delay: .5s;  }
.route-node:nth-child(3)  { animation-delay: 1s;   }
.route-node:nth-child(4)  { animation-delay: 1.5s; }
.route-node:nth-child(5)  { animation-delay: 2s;   }
.route-node:nth-child(6)  { animation-delay: .8s;  }
.route-node:nth-child(7)  { animation-delay: 1.3s; }
.route-node:nth-child(8)  { animation-delay: .3s;  }
.route-node:nth-child(9)  { animation-delay: 1.8s; }
.route-node:nth-child(10) { animation-delay: 2.2s; }
[data-theme="light"] .route-node { fill: rgba(212,83,13,1) !important; }

/* Noise grain overlay */
.bg-noise {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025;
}

/* Left accent bar */
.accent-bar {
  position: fixed; left: 0; top: 22%; bottom: 22%;
  width: 3px; background: var(--orange); z-index: 3;
  opacity: 0;
  animation: fadeIn 0.6s 2.2s var(--ease-expo) forwards;
}
@media (max-width: 767px) { .accent-bar { display: none; } }

/* Ship traveller */
#ship-traveller {
  filter: drop-shadow(0 0 4px rgba(232,99,26,0.7));
}
[data-theme="light"] #ship-traveller {
  filter: drop-shadow(0 0 8px rgba(212,83,13,1)) drop-shadow(0 0 4px rgba(212,83,13,1));
}
#ship-wake {
  stroke: rgba(232,99,26,0.35);
  stroke-width: 1.2;
  fill: none;
  stroke-linecap: round;
}
[data-theme="light"] #ship-wake {
  stroke: rgba(212,83,13,0.98);
  stroke-width: 2;
}

/* ─────────────────────────────────────────────────────────────────────────────
   PAGE SHELL
   ───────────────────────────────────────────────────────────────────────────── */
#app {
  position: relative; z-index: 2;
  min-height: 100dvh;
}

/* ─────────────────────────────────────────────────────────────────────────────
   HEADER  — sticky, glass blur, logo + nav + theme toggle
   ───────────────────────────────────────────────────────────────────────────── */
header {
  padding: 0 var(--pad);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s ease, border-color 0.4s ease;
  opacity: 0;
  animation: fadeDown 0.9s 0.15s var(--ease-expo) forwards;
}
@media (min-width: 768px) { header { height: 80px; } }
@media (min-width: 1024px) { header { height: 90px; } }

/* ── Logo zone ─────────────────────────────────────────────────────────────── */
.logo-zone {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-link {
  display: flex;
  align-items: center;
  height: 100%;
  transition: opacity 0.3s ease;
}
.logo-link:hover { opacity: 0.85; }

.logo-zone img {
  height: auto;
  width: auto;
  max-height: 55px;
  object-fit: contain;
}
@media (min-width: 768px)  { .logo-zone img { max-height: 64px; } }
@media (min-width: 1024px) { .logo-zone img { max-height: 74px; } }

/* Theme-aware logo visibility */
.logo-dark-mode  { display: block; }
.logo-light-mode { display: none;  }
[data-theme="light"] .logo-dark-mode  { display: none;  }
[data-theme="light"] .logo-light-mode { display: block; }

/* ── Header right cluster ──────────────────────────────────────────────────── */
.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ── Desktop navigation ───────────────────────────────────────────────────── */
.nav-desktop {
  display: none;
}
@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin-right: 1.25rem;
  }
}
.nav-desktop a {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.25s ease;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease-expo);
}
.nav-desktop a:hover          { color: var(--text); }
.nav-desktop a:hover::after   { transform: scaleX(1); }
.nav-desktop a.is-active      { color: var(--orange); }
.nav-desktop a.is-active::after { transform: scaleX(1); }

/* ── Services dropdown ─────────────────────────────────────────────────────── */
.nav-item--has-dropdown {
  position: relative;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: -1.5rem;
  min-width: 260px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.5rem 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease-expo);
  z-index: 100;
}
.nav-item--has-dropdown:hover .nav-dropdown,
.nav-item--has-dropdown:focus-within .nav-dropdown,
.nav-dropdown.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
/* Bridge gap between trigger and dropdown so mouse can reach it */
.nav-item--has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -1.5rem;
  right: -1.5rem;
  height: 0.85rem;
}
.nav-dropdown a {
  display: block;
  padding: 0.65rem 1.5rem;
  font-size: 0.694rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.nav-dropdown a:hover { color: var(--orange); background: var(--orange-glow); }
.nav-dropdown a::after { display: none; }

/* ── Theme toggle ─────────────────────────────────────────────────────────── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--toggle-bg);
  border: 1px solid var(--line) !important;
  position: relative; overflow: hidden;
  flex-shrink: 0;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.theme-toggle:hover { border-color: rgba(232,99,26,0.5) !important; transform: scale(1.05); }
.theme-toggle:active { transform: scale(0.95); }

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  width: 18px; height: 18px;
  color: var(--text);
  transition: transform 0.4s var(--ease-expo), opacity 0.3s ease;
}
.theme-toggle .icon-sun  { opacity: 1; transform: translateY(0) rotate(0deg); }
.theme-toggle .icon-moon { opacity: 0; transform: translateY(12px) rotate(-30deg); }

[data-theme="light"] .theme-toggle .icon-sun  { opacity: 0; transform: translateY(-12px) rotate(30deg); }
[data-theme="light"] .theme-toggle .icon-moon { opacity: 1; transform: translateY(0) rotate(0deg); }

/* ── Hamburger button  (visible < 768px) ──────────────────────────────────── */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: var(--toggle-bg);
  border: 1px solid var(--line) !important;
  padding: 10px;
  flex-shrink: 0;
  transition: border-color 0.25s ease;
}
@media (min-width: 768px) { .nav-toggle { display: none; } }
.nav-toggle:hover { border-color: rgba(232,99,26,0.5) !important; }
.nav-toggle span {
  display: block; width: 100%; height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease-expo), opacity 0.2s ease;
  transform-origin: center;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile nav drawer ─────────────────────────────────────────────────────── */
.nav-mobile {
  display: none;
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15,31,36,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  opacity: 0;
  transition: opacity 0.3s var(--ease-expo);
}
@media (min-width: 768px) { .nav-mobile { display: none !important; } }
.nav-mobile.is-open { display: flex; opacity: 1; }

.nav-mobile a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 8vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  padding: 0.5rem 1.5rem;
  opacity: 0;
  transform: translateY(18px);
  transition: color 0.2s ease;
}
.nav-mobile a:hover { color: var(--orange); }
.nav-mobile a.is-active { color: var(--orange); }

.nav-mobile.is-open a {
  animation: navItemIn 0.45s var(--ease-expo) forwards;
}
.nav-mobile.is-open a:nth-child(1) { animation-delay: 0.05s; }
.nav-mobile.is-open a:nth-child(2) { animation-delay: 0.10s; }
.nav-mobile.is-open a:nth-child(3) { animation-delay: 0.15s; }
.nav-mobile.is-open a:nth-child(4) { animation-delay: 0.20s; }
.nav-mobile.is-open a:nth-child(5) { animation-delay: 0.25s; }
.nav-mobile.is-open a:nth-child(6) { animation-delay: 0.30s; }

.nav-mobile__close {
  position: absolute; top: 1.25rem; right: var(--pad);
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line) !important;
  color: var(--text);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.25s ease;
}
.nav-mobile__close:hover { border-color: var(--orange) !important; }

/* ─────────────────────────────────────────────────────────────────────────────
   TICKER
   ───────────────────────────────────────────────────────────────────────────── */
.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 0.6rem 0;
  background: var(--orange-glow);
  transition: background 0.4s ease;
}
.ticker__inner {
  display: flex;
  white-space: nowrap;
  animation: ticker 34s linear infinite;
}
.ticker__item {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(0.72rem, 1.5vw, 0.85rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 1.75rem;
  flex-shrink: 0;
  line-height: 1;
}
.ticker__dot { color: var(--orange); margin-right: 0.5rem; }

/* ─────────────────────────────────────────────────────────────────────────────
   HERO SECTION  (index.html only)
   ───────────────────────────────────────────────────────────────────────────── */
.hero {
  min-height: calc(100dvh - 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem var(--pad) 3rem;
  gap: 1.5rem;
}
@media (min-width: 768px)  { .hero { min-height: calc(100dvh - 80px);  gap: 2rem;   padding-top: 5rem; } }
@media (min-width: 1024px) { .hero { min-height: calc(100dvh - 90px);  gap: 2.25rem; padding-top: 5.5rem; } }

/* Centre hero on mobile/tablet */
@media (max-width: 767px) {
  .hero { align-items: center; text-align: center; }
  .eyebrow, .coming-soon-social, .countdown { justify-content: center; }
  .countdown { flex-wrap: wrap; }
}

/* Eyebrow overline */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.694rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
  opacity: 0;
  animation: fadeRight 0.8s 0.5s var(--ease-expo) forwards;
}
.eyebrow__line {
  width: 24px; height: 1px;
  background: var(--orange);
  flex-shrink: 0;
}
@media (min-width: 768px) { .eyebrow__line { width: 36px; } }

/* H1 */
.headline {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
  font-size: clamp(2.8rem, 10.5vw, 8.5rem);
  max-width: 960px;
}
.headline .line { display: block; overflow: hidden; }
.headline .line span {
  display: block;
  transform: translateY(110%);
  animation: slideUp 1s var(--ease-expo) forwards;
}
.headline .line:nth-child(1) span { animation-delay: 0.55s; }
.headline .line:nth-child(2) span { animation-delay: 0.70s; }
.headline .line:nth-child(3) span { animation-delay: 0.85s; }
.headline em {
  font-style: normal;
  -webkit-text-stroke: 1.5px var(--text);
  color: transparent;
}

/* Slogan below H1 */
.hero-slogan {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  line-height: 1.4;
  color: var(--text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: 640px;
  margin-top: -0.25rem;
  opacity: 0;
  animation: fadeUp 0.9s 1s var(--ease-expo) forwards;
}

/* H2 sub-headline */
.sub-headline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.8;
  color: var(--muted);
  max-width: 620px;
  opacity: 0;
  animation: fadeUp 0.9s 1.15s var(--ease-expo) forwards;
}

/* ─────────────────────────────────────────────────────────────────────────────
   COUNTDOWN
   ───────────────────────────────────────────────────────────────────────────── */
.countdown-wrap {
  opacity: 0;
  animation: fadeUp 0.9s 1.4s var(--ease-expo) forwards;
  padding-top: 0.25rem;
}
.countdown-label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.694rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
  display: block;
}
.countdown {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
}
@media (min-width: 480px)  { .countdown { gap: 1.25rem; } }
@media (min-width: 768px)  { .countdown { gap: 2rem;    } }
@media (min-width: 1024px) { .countdown { gap: 2.5rem;  } }

.countdown__item { text-align: left; }
.countdown__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 7vw, 4rem);
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.countdown__num.flip { animation: flip 0.3s var(--ease-expo); }
.countdown__lbl {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
  display: block;
}
@media (min-width: 768px) { .countdown__lbl { font-size: 0.694rem; } }
.countdown__sep {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.2rem, 4vw, 2rem);
  color: var(--line);
  padding-bottom: 0.35rem;
  line-height: 1;
}

/* ─────────────────────────────────────────────────────────────────────────────
   COMING SOON LABEL + SOCIAL ICONS (hero)
   ───────────────────────────────────────────────────────────────────────────── */
.coming-soon-social {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 0.9s 1.55s var(--ease-expo) forwards;
}
.coming-soon-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.9rem, 2.5vw, 1.35rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text);
}
.coming-soon-label__line {
  flex: 1;
  height: 1px;
  background: var(--line);
  max-width: 80px;
}
.coming-soon-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.coming-soon-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1.5px solid var(--muted);
  color: var(--text);
  transition: background 0.25s ease, color 0.25s ease,
              border-color 0.25s ease, transform 0.2s ease;
}
.coming-soon-icon svg { width: 18px; height: 18px; fill: currentColor; }

@media (hover: hover) and (pointer: fine) {
  .coming-soon-icon:hover {
    background: var(--orange-dim);
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-3px);
  }
}
.coming-soon-icon:active { transform: scale(0.95); }

/* ─────────────────────────────────────────────────────────────────────────────
   STATS STRIP  (index.html bottom of hero)
   ───────────────────────────────────────────────────────────────────────────── */
.stats-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: fadeUp 0.9s 1.7s var(--ease-expo) forwards;
  transition: border-color 0.4s ease;
}
@media (min-width: 1024px) {
  .stats-strip { grid-template-columns: repeat(4,1fr); }
}
.stat {
  padding: 1.5rem var(--pad);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
  transition: border-color 0.4s ease;
}
.stat:nth-child(2n)  { border-right: none; }
@media (min-width: 1024px) {
  .stat              { border-bottom: none; }
  .stat:nth-child(2n) { border-right: 1px solid var(--line); }
  .stat:last-child    { border-right: none; }
}
.stat::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--orange-dim) 0%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.55s var(--ease-expo);
}
@media (hover: hover) and (pointer: fine) {
  .stat:hover::after { transform: translateX(0); }
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 3.5vw, 1.728rem);
  color: var(--orange);
  line-height: 1;
}
.stat__desc {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.4rem;
}
@media (min-width: 768px) { .stat__desc { font-size: 0.694rem; } }

/* ─────────────────────────────────────────────────────────────────────────────
   FOOTER  (shared across all pages)
   ───────────────────────────────────────────────────────────────────────────── */
footer {
  padding: 1.5rem var(--pad);
  border-top: 1px solid var(--line);
  transition: border-color 0.4s ease;
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }
}
.footer-social { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-social a {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.694rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.3rem 0;
  transition: color 0.25s ease;
}
.footer-social a:hover { color: var(--orange); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }
}
.footer-copy,
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-links a {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.3rem 0;
  transition: color 0.25s ease;
}
.footer-links a:hover { color: var(--orange); }
.footer-slogan {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.65rem, 1.5vw, 0.82rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

/* ─────────────────────────────────────────────────────────────────────────────
   INNER PAGE LAYOUT  (shared by all pages except index)
   ───────────────────────────────────────────────────────────────────────────── */
#app.page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

/* Page hero intro */
.page-hero {
  padding: 5rem var(--pad) 4rem;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.4s ease;
}
@media (min-width: 768px)  { .page-hero { padding-top: 6rem; padding-bottom: 5rem; } }
@media (min-width: 1024px) { .page-hero { padding-top: 7rem; padding-bottom: 6rem; } }

.page-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.694rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeRight 0.8s 0.3s var(--ease-expo) forwards;
}
.page-hero__eyebrow-line { width: 28px; height: 1px; background: var(--orange); flex-shrink: 0; }

.page-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
  font-size: clamp(2.6rem, 8.5vw, 6.5rem);
  max-width: 860px;
  opacity: 0;
  animation: fadeUp 0.9s 0.45s var(--ease-expo) forwards;
}
.page-hero__title em {
  font-style: normal;
  -webkit-text-stroke: 1.5px var(--text);
  color: transparent;
}
.page-hero__sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.8;
  color: var(--muted);
  max-width: 580px;
  margin-top: 1.75rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.6s var(--ease-expo) forwards;
}

/* Section wrapper */
.section {
  padding: 4.5rem var(--pad);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.4s ease, background 0.4s ease;
}
@media (min-width: 768px)  { .section { padding-top: 5.5rem; padding-bottom: 5.5rem; } }
@media (min-width: 1024px) { .section { padding-top: 6.5rem; padding-bottom: 6.5rem; } }
.section--flush      { border-bottom: none; }
.section--alt        { background: var(--bg-mid); }

.section__overline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.694rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.section__overline::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--orange);
  flex-shrink: 0;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: -0.01em;
  font-size: clamp(1.9rem, 5.5vw, 4.2rem);
  margin-bottom: 2rem;
}
.section__title em {
  font-style: normal;
  -webkit-text-stroke: 1.5px var(--text);
  color: transparent;
}
.section__lead {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.8;
  color: var(--muted);
  max-width: 640px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SCROLL REVEAL
   ───────────────────────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-expo), transform 0.75s var(--ease-expo);
}
.reveal.is-visible              { opacity: 1; transform: translateY(0); }
.reveal--left                   { transform: translateX(-28px); }
.reveal--right                  { transform: translateX(28px); }
.reveal--left.is-visible,
.reveal--right.is-visible       { transform: translateX(0); }

.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }
.reveal[data-delay="6"] { transition-delay: 0.6s; }

/* ─────────────────────────────────────────────────────────────────────────────
   CARD BASE
   ───────────────────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
  transition: border-color 0.3s ease, background 0.4s ease, transform 0.3s var(--ease-expo);
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-expo);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover                 { border-color: rgba(232,99,26,0.3); transform: translateY(-4px); }
  .card:hover::before         { transform: scaleX(1); }
}

/* Primary button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.694rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--orange);
  color: #F2F0EC;
  padding: 0.9rem 2rem;
  min-height: 48px;
  position: relative; overflow: hidden;
  transition: background 0.25s ease, transform 0.15s ease;
  border: none;
  white-space: nowrap;
}
.btn-primary::after {
  content: '';
  position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: left 0.5s ease;
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover          { background: #cc561a; }
  .btn-primary:hover::after   { left: 150%; }
}
.btn-primary:active           { background: #b84e17; transform: scale(0.98); }

/* Ghost button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.694rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.9rem 2rem;
  min-height: 48px;
  transition: border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
}

/* ─────────────────────────────────────────────────────────────────────────────
   ABOUT PAGE
   ───────────────────────────────────────────────────────────────────────────── */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .story-grid { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
}

.story-body p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.story-body p:last-child { margin-bottom: 0; }

.story-pull {
  border-left: 3px solid var(--orange);
  padding: 1.5rem 2rem;
  background: var(--orange-glow);
}
.story-pull__quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.5vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--text);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.story-pull__attr {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.694rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  overflow: hidden;
}
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }

.value-item {
  padding: 2.5rem 2rem;
  background: var(--bg);
  position: relative; overflow: hidden;
  transition: background 0.4s ease;
}
@media (hover: hover) and (pointer: fine) {
  .value-item:hover { background: var(--bg-surface); }
}
.value-item__icon  { font-size: 1.5rem; margin-bottom: 1rem; display: block; }
.value-item__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.value-item__desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

/* Timeline */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 1px; background: var(--line);
}
@media (min-width: 768px) { .timeline { padding-left: 3rem; } }

.timeline__item { position: relative; padding-bottom: 3rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: -2.35rem; top: 0.2rem;
  width: 10px; height: 10px;
  border: 2px solid var(--orange);
  background: var(--bg);
  transform: rotate(45deg);
  transition: background 0.3s ease;
}
@media (min-width: 768px) { .timeline__dot { left: -3.35rem; } }
.timeline__item:hover .timeline__dot { background: var(--orange); }

.timeline__year {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.694rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.4rem;
  display: block;
}
.timeline__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.timeline__body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 560px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SERVICES PAGE
   ───────────────────────────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@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(--bg-surface);
  border: 1px solid var(--line);
  padding: 2rem;
  position: relative; overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s var(--ease-expo), background 0.4s ease;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-expo);
}
@media (hover: hover) and (pointer: fine) {
  .service-card:hover                 { border-color: rgba(232,99,26,0.35); transform: translateY(-5px); }
  .service-card:hover::before         { transform: scaleX(1); }
}
.service-card__icon {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  display: block;
}
.service-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}
.service-card__desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.service-card__pain-point {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--orange);
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: var(--orange-glow);
  border-left: 2px solid var(--orange);
}
.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.75rem;
}
.service-card__list li {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
}
.service-card__list li::before {
  content: '◆';
  position: absolute; left: 0;
  color: var(--orange);
  font-size: 0.5rem;
  top: 0.15em;
}
.service-card__link {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.694rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .service-card__link:hover { gap: 0.75rem; }
}

/* Benefits strip */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 768px)  { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(6, 1fr); } }

.benefit-item {
  padding: 1.75rem 1.5rem;
  background: var(--bg);
  text-align: center;
  transition: background 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .benefit-item:hover { background: var(--bg-surface); }
}
.benefit-item__icon  { font-size: 1.5rem; margin-bottom: 0.75rem; }
.benefit-item__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.3;
}

/* ─────────────────────────────────────────────────────────────────────────────
   TECHNOLOGY PAGE
   ───────────────────────────────────────────────────────────────────────────── */
.tech-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .tech-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tech-features { grid-template-columns: repeat(3, 1fr); } }

.tech-feature {
  padding: 2rem;
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
  background: var(--bg-surface);
  cursor: pointer;
  transition: border-color 0.35s ease, background 0.4s ease, transform 0.35s var(--ease-expo), box-shadow 0.35s ease;
}
/* Card top accent line */
.tech-feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-expo);
}
@media (hover: hover) and (pointer: fine) {
  .tech-feature:hover {
    border-color: rgba(232,99,26,0.45);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  }
  .tech-feature:hover::before { transform: scaleX(1); }
  .tech-feature:hover .tech-icon-anim { opacity: 1; transform: scale(1); }
}
.tech-feature__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--orange);
  opacity: 0.75;
  line-height: 1;
  margin-bottom: 0.75rem;
}
/* Animated SVG icon container */
.tech-icon-anim {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1.25rem;
  height: 52px;
  opacity: 0.7;
  transform: scale(0.97);
  transition: opacity 0.3s ease, transform 0.35s var(--ease-expo);
}
.tech-icon-anim svg {
  overflow: visible;
}
.tech-feature__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.tech-feature__desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ─────────────────────────────────────────────────────────────────────────────
   TEAM PAGE
   ───────────────────────────────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }

.team-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.35s var(--ease-expo), background 0.4s ease;
}
@media (hover: hover) and (pointer: fine) {
  .team-card:hover { border-color: rgba(232,99,26,0.35); transform: translateY(-6px); }
  .team-card:hover .team-card__img-wrap::after  { opacity: 1; }
  .team-card:hover .team-card__socials          { opacity: 1; transform: translateY(0); }
  .team-card:hover .team-card__img              { transform: scale(1.04); }
}
.team-card__img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-mid);
}
.team-card__img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(22,45,51,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.team-card__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-expo);
  filter: grayscale(20%);
}
.team-card__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bg-mid) 0%, var(--bg-surface) 100%);
}
.team-card__initials {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
  opacity: 0.6;
}
.team-card__socials {
  position: absolute; bottom: 1rem; right: 1rem; z-index: 2;
  display: flex; gap: 0.5rem;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-expo);
}
.team-card__social-btn {
  width: 32px; height: 32px;
  background: rgba(22,45,51,0.75);
  border: 1px solid rgba(242,240,236,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.team-card__social-btn svg { width: 14px; height: 14px; fill: currentColor; }
@media (hover: hover) and (pointer: fine) {
  .team-card__social-btn:hover { background: var(--orange); border-color: var(--orange); }
}
.team-card__body { padding: 1.25rem 1.5rem 1.5rem; }
.team-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.team-card__role {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.694rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.9rem;
  display: block;
}
.team-card__bio {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
}
.team-grid--featured { grid-template-columns: 1fr; margin-bottom: 1.5rem; }
@media (min-width: 640px)  { .team-grid--featured { grid-template-columns: repeat(2, 1fr); } }
.team-card--featured .team-card__img-wrap { aspect-ratio: 4/3; }
.team-card--featured .team-card__name     { font-size: 1.5rem; }

/* ─────────────────────────────────────────────────────────────────────────────
   CONTACT PAGE
   ───────────────────────────────────────────────────────────────────────────── */
.contact-layout {
  display: grid; grid-template-columns: 1fr; gap: 4rem;
}
@media (min-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group   { display: flex; flex-direction: column; gap: 0.5rem; }
@media (min-width: 640px) {
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}
.form-label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.694rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-input, .form-textarea, .form-select {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: max(1rem, 16px);
  padding: 0.85rem 1.25rem;
  width: 100%; min-height: 48px;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: rgba(232,99,26,0.6);
}
[data-theme="light"] .form-input,
[data-theme="light"] .form-textarea,
[data-theme="light"] .form-select { background: rgba(255,255,255,0.6); }
.form-input::placeholder,
.form-textarea::placeholder   { color: var(--muted); opacity: 0.7; }
.form-textarea                { min-height: 140px; resize: vertical; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(242,240,236,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  padding-right: 3rem;
  cursor: pointer;
}
.form-select option { background: #162D33; color: #F2F0EC; }
.form-input[aria-invalid="true"],
.form-textarea[aria-invalid="true"] { border-color: rgba(232,99,26,0.8); }
.form-error {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  display: none;
}
.form-input[aria-invalid="true"] + .form-error,
.form-textarea[aria-invalid="true"] + .form-error { display: block; }
.form-submit {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.694rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--orange);
  color: #F2F0EC;
  border: none;
  padding: 1rem 2.5rem;
  min-height: 52px;
  align-self: flex-start;
  position: relative; overflow: hidden;
  transition: background 0.25s ease, transform 0.15s ease;
  cursor: pointer;
}
.form-submit::after {
  content: '';
  position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: left 0.5s ease;
}
@media (hover: hover) and (pointer: fine) {
  .form-submit:hover        { background: #cc561a; }
  .form-submit:hover::after { left: 150%; }
}
.form-submit:active         { transform: scale(0.98); background: #b84e17; }
.form-submit:disabled       { opacity: 0.6; pointer-events: none; }
.form-success {
  display: none;
  padding: 1.25rem 1.5rem;
  background: var(--orange-glow);
  border: 1px solid rgba(232,99,26,0.3);
  margin-top: 0.5rem;
}
.form-success.is-visible {
  display: flex; align-items: flex-start; gap: 0.75rem;
  animation: fadeUp 0.5s var(--ease-expo) forwards;
}
.form-success__icon  { color: var(--orange); font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }
.form-success__text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.694rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text); line-height: 1.6;
}
.contact-info { display: flex; flex-direction: column; gap: 2.5rem; }
.contact-detail {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.4s ease;
}
.contact-detail:last-child { border-bottom: none; padding-bottom: 0; }
.contact-detail__label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.694rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.contact-detail__value {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}
.contact-detail__value a {
  color: var(--text);
  border-bottom: 1px solid var(--line);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.contact-detail__value a:hover { color: var(--orange); border-color: var(--orange); }
.map-embed {
  width: 100%; aspect-ratio: 16/9;
  background: var(--bg-mid);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  transition: border-color 0.4s ease;
}
.map-embed iframe { width: 100%; height: 100%; border: none; filter: grayscale(100%) contrast(0.9); }
.map-embed__placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.75rem; background: var(--bg-mid);
}
.map-embed__icon  { font-size: 2rem; opacity: 0.4; }
.map-embed__label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.694rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); transition: border-color 0.4s ease; }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-question {
  width: 100%; background: transparent; border: none; outline: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0; text-align: left; cursor: pointer;
}
.faq-question__text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  transition: color 0.25s ease;
}
.faq-question:hover .faq-question__text { color: var(--orange); }
.faq-question__icon {
  width: 20px; height: 20px; flex-shrink: 0;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.35s var(--ease-expo), border-color 0.25s ease, background 0.25s ease;
}
.faq-item.is-open .faq-question__icon {
  transform: rotate(45deg);
  border-color: var(--orange); background: var(--orange);
}
.faq-answer {
  overflow: hidden; max-height: 0;
  transition: max-height 0.4s var(--ease-expo), padding 0.3s ease;
}
.faq-item.is-open .faq-answer { max-height: 400px; padding-bottom: 1.25rem; }
.faq-answer__text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ─────────────────────────────────────────────────────────────────────────────
   LEGAL PAGES (Privacy Policy / Terms of Use)
   ───────────────────────────────────────────────────────────────────────────── */
.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem var(--pad) 5rem;
}
.legal-container h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.94;
  margin-bottom: 0.75rem;
}
.legal-container .legal-date {
  font-family: var(--font-display);
  font-size: 0.694rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 3rem;
  display: block;
}
.legal-container h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2.5rem;
  margin-bottom: 0.85rem;
}
.legal-container p {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 1rem;
}
.legal-container strong { color: var(--text); font-weight: 500; }
.legal-container ul {
  list-style: none;
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}
.legal-container ul li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.4rem;
}
.legal-container ul li::before {
  content: '◆';
  position: absolute; left: -0.25rem;
  color: var(--orange);
  font-size: 0.5rem;
  top: 0.4em;
}

/* ─────────────────────────────────────────────────────────────────────────────
   KEYFRAME ANIMATIONS
   ───────────────────────────────────────────────────────────────────────────── */
@keyframes fadeDown  { from{opacity:0;transform:translateY(-18px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeUp    { from{opacity:0;transform:translateY(18px)}  to{opacity:1;transform:translateY(0)} }
@keyframes fadeRight { from{opacity:0;transform:translateX(-18px)} to{opacity:1;transform:translateX(0)} }
@keyframes slideUp   { from{transform:translateY(110%)}            to{transform:translateY(0)} }
@keyframes fadeIn    { to{opacity:1} }
@keyframes ticker    { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes drawRoute { from{stroke-dashoffset:1} to{stroke-dashoffset:0} }
@keyframes nodePulse { 0%,100%{opacity:.5} 50%{opacity:1} }
@keyframes navItemIn { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes flip      { 0%{transform:translateY(-6px);opacity:0} 100%{transform:translateY(0);opacity:1} }
@keyframes clickRipple {
  0%   { width:28px;  height:28px;  opacity:0.8; }
  100% { width:140px; height:140px; opacity:0;   }
}

/* ─────────────────────────────────────────────────────────────────────────────
   REDUCED MOTION
   ───────────────────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ─── Universal SVG icon sizing ──────────────────────────────────────────────
   Icons use currentColor — they inherit from their parent container.
   Size is controlled by width/height on the wrapper span/div.             */

/* Service tile icons */
.svc-tile__icon svg,
.service-card__icon svg { width: 28px; height: 28px; color: var(--orange); }

/* Why / benefit items */
.why-item__icon svg,
.benefit-item__icon svg,
.value-item__icon svg { width: 26px; height: 26px; color: var(--orange); }

/* Tech mini items */
.tech-mini-item__icon svg { width: 22px; height: 22px; color: var(--orange); }

/* Reset font-size on icon wrappers (was set for emoji) */
.svc-tile__icon,
.service-card__icon,
.why-item__icon,
.benefit-item__icon,
.value-item__icon,
.tech-mini-item__icon {
  font-size: inherit;
  display: flex;
  align-items: center;
}
