/* ================================================================
   TRADESPHERE INTERNATIONAL CONSULTANCY LLC
   Global Stylesheet — v3.0
   Design: Cinematic Dark Luxury
   Brand: #0B5D7F (ocean) · #88C057 (leaf)
   Fonts: Cormorant Garamond (display) · Barlow (body/UI)
================================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Barlow:wght@300;400;500;600&family=Barlow+Condensed:wght@400;500;600;700&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --primary:      #0B5D7F;
  --primary-dark: #084a65;
  --accent:       #88C057;
  --accent-dark:  #6fa044;
  --dark:         #080c10;
  --dark2:        #0d1419;
  --dark3:        #111820;
  --dark4:        #161f27;
  --light:        #f0ede8;
  --light2:       #d8d4ce;
  --muted:        #6b7a87;
  --border:       rgba(255,255,255,0.07);
  --border2:      rgba(255,255,255,0.12);
  --glass:        rgba(8,12,16,0.75);
  --glass2:       rgba(13,20,25,0.9);
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Barlow', system-ui, sans-serif;
  --font-cond:    'Barlow Condensed', system-ui, sans-serif;
  --ease-expo:    cubic-bezier(0.16,1,0.3,1);
  --ease-back:    cubic-bezier(0.34,1.56,0.64,1);
  --nav-h:        80px;
  --container:    1240px;
  --container-sm: 800px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--dark);
  color: var(--light);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

/* ── Noise Grain ──────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 9990;
  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.022;
  pointer-events: none;
}

/* ── Custom Cursor (desktop only) ─────────────────────────── */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button, [role="button"] { cursor: none; }
}
.c-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: opacity 0.3s;
}
.c-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(136,192,87,0.45);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width 0.35s var(--ease-expo), height 0.35s var(--ease-expo),
              border-color 0.35s, background 0.35s;
}
.c-ring.is-hovered {
  width: 56px; height: 56px;
  border-color: var(--accent);
  background: rgba(136,192,87,0.06);
}

/* ================================================================
   NAVIGATION
================================================================ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 800;
  display: flex; align-items: center;
  padding: 0 2.5rem;
  transition: background 0.5s, backdrop-filter 0.5s, border-color 0.5s,
              box-shadow 0.5s;
  border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled {
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-color: var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}
.site-nav.is-page {
  background: var(--glass2);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: var(--border);
}

.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  width: 100%; max-width: var(--container);
  margin: 0 auto;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  display: block;
  height: 40px;
  max-width: 200px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Desktop Links */
.nav-menu {
  display: flex; align-items: center; gap: 0.25rem;
  margin-left: auto; margin-right: 1.5rem;
}
.nav-item { position: relative; }

.nav-link {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-cond);
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(240,237,232,0.72);
  transition: color 0.25s;
  white-space: nowrap;
  border-radius: 2px;
}
.nav-link svg { width: 10px; height: 10px; transition: transform 0.3s; }
.nav-link:hover, .nav-link.is-active { color: var(--light); }
.nav-item.is-open .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute; top: calc(100% + 0.5rem); left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--dark3);
  border: 1px solid var(--border2);
  border-radius: 4px;
  min-width: 240px;
  padding: 0.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s var(--ease-expo), transform 0.25s var(--ease-expo),
              visibility 0.25s;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  z-index: 100;
}
.nav-dropdown::before {
  content: '';
  position: absolute; top: -6px; left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--border2);
}
.nav-item:hover .nav-dropdown,
.nav-item.is-open .nav-dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.82rem; font-weight: 300;
  color: var(--light2);
  border-radius: 3px;
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
}
.nav-dropdown a:hover {
  background: rgba(136,192,87,0.08);
  color: var(--light);
  padding-left: 1.2rem;
}
.nav-dropdown a::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s;
}
.nav-dropdown a:hover::before { opacity: 1; }
.nav-dropdown-divider {
  height: 1px; background: var(--border); margin: 0.4rem 0.5rem;
}

/* CTA button */
.nav-cta {
  font-family: var(--font-cond);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.58rem 1.4rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
  transition: background 0.25s, color 0.25s, transform 0.25s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--accent); color: var(--dark);
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none;
  padding: 6px; z-index: 10; margin-left: 1rem;
}
.nav-toggle span {
  display: block; width: 24px; height: 1.5px;
  background: var(--light);
  transition: transform 0.4s var(--ease-expo), opacity 0.3s, width 0.3s;
  transform-origin: center;
}

/* Mobile overlay menu */
.nav-overlay {
  position: fixed; inset: 0;
  background: var(--dark2);
  z-index: 9;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 2rem) 2rem 3rem;
  opacity: 0; visibility: hidden;
  transform: translateX(100%);
  transition: opacity 0.45s var(--ease-expo), transform 0.45s var(--ease-expo),
              visibility 0.45s;
  overflow-y: auto;
}
.nav-overlay.is-open {
  opacity: 1; visibility: visible; transform: translateX(0);
}

/* Hamburger → X animation */
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu items */
.nav-overlay-links { display: flex; flex-direction: column; gap: 0; }
.nav-mobile-item { border-bottom: 1px solid var(--border); }
.nav-mobile-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 0;
  font-family: var(--font-serif); font-size: 1.6rem; font-weight: 300;
  color: var(--light);
  width: 100%;
  background: none; border: none; text-align: left;
}
.nav-mobile-link svg { width: 16px; height: 16px; transition: transform 0.3s; }
.nav-mobile-item.is-open .nav-mobile-link svg { transform: rotate(180deg); }

.nav-mobile-sub {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease-expo);
  display: flex; flex-direction: column; gap: 0.1rem;
  padding-bottom: 0;
}
.nav-mobile-item.is-open .nav-mobile-sub { max-height: 600px; padding-bottom: 0.75rem; }
.nav-mobile-sub a {
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 300;
  color: var(--muted); padding: 0.45rem 0 0.45rem 1rem;
  border-left: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}
.nav-mobile-sub a:hover { color: var(--accent); border-color: var(--accent); }

.nav-mobile-cta {
  display: inline-flex; margin-top: 2rem;
  font-family: var(--font-cond); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 1rem 2.5rem; border: 1px solid var(--accent);
  color: var(--accent); border-radius: 2px;
  transition: background 0.25s, color 0.25s;
  align-self: flex-start;
}
.nav-mobile-cta:hover { background: var(--accent); color: var(--dark); }

/* ================================================================
   LAYOUT UTILITIES
================================================================ */
.container {
  width: min(100% - 3rem, var(--container));
  margin-inline: auto;
}
.container-sm {
  width: min(100% - 3rem, var(--container-sm));
  margin-inline: auto;
}
.pt-nav { padding-top: var(--nav-h); }

/* Section spacing */
.section    { padding: 6rem 0; }
.section-lg { padding: 8rem 0; }
.section-sm { padding: 4rem 0; }

/* Section labels */
.label {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-cond); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.label::before {
  content: ''; display: block;
  width: 28px; height: 1px; background: var(--accent);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300; line-height: 1.1;
  color: var(--light);
}
.section-title em { font-style: italic; color: rgba(240,237,232,0.4); }

.section-title-lg {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300; line-height: 1.05;
  color: var(--light);
}
.section-title-lg em { font-style: italic; color: rgba(240,237,232,0.4); }

.section-desc {
  font-size: 0.95rem; font-weight: 300;
  color: var(--muted); line-height: 1.85;
  max-width: 560px;
}

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }

/* Divider */
.divider { height: 1px; background: var(--border); }

/* ================================================================
   REVEAL ANIMATIONS
================================================================ */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.85s var(--ease-expo), transform 0.85s var(--ease-expo);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-40px); transition: opacity 0.85s var(--ease-expo), transform 0.85s var(--ease-expo); }
.reveal-left.in { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.85s var(--ease-expo), transform 0.85s var(--ease-expo); }
.reveal-right.in { opacity: 1; transform: translateX(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }
.d6 { transition-delay: 0.48s; }

/* ================================================================
   BUTTONS
================================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-cond); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.85rem 2rem; border-radius: 2px;
  transition: transform 0.3s var(--ease-back), box-shadow 0.3s, background 0.25s, color 0.25s, border-color 0.25s;
}
.btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent); color: var(--dark); border: 1px solid var(--accent);
}
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 12px 36px rgba(136,192,87,0.28); }

.btn-outline {
  background: transparent; color: var(--light); border: 1px solid rgba(240,237,232,0.3);
}
.btn-outline:hover { border-color: var(--light); background: rgba(240,237,232,0.05); }

.btn-ghost {
  background: transparent; color: var(--accent); border: 1px solid var(--border2);
  padding: 0.65rem 1.25rem;
}
.btn-ghost:hover { border-color: var(--accent); }

/* ================================================================
   TICKER / MARQUEE
================================================================ */
.ticker { background: var(--primary); overflow: hidden; padding: 0.85rem 0; }
.ticker-track {
  display: flex; gap: 3.5rem; white-space: nowrap;
  animation: ticker-scroll 28s linear infinite;
}
.ticker-item {
  display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0;
  font-family: var(--font-cond); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(240,237,232,0.65);
}
.ticker-item span { color: var(--accent); font-size: 0.85rem; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ================================================================
   HERO (shared)
================================================================ */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: 100svh;
}
.hero-slides {
  position: absolute; inset: 0; z-index: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.6s ease-in-out;
}
.hero-slide.is-active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to right, rgba(8,12,16,0.88) 35%, rgba(8,12,16,0.25)),
    linear-gradient(to top,   rgba(8,12,16,0.92) 0%, transparent 55%);
}
.hero-scan {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(0,0,0,0.025) 2px, rgba(0,0,0,0.025) 4px
  );
}
.hero-body {
  position: relative; z-index: 3;
  padding: calc(var(--nav-h) + 4rem) 2.5rem 8rem;
  width: 100%; max-width: calc(var(--container) + 3rem);
  margin: 0 auto;
}
.hero-label {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-cond); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.5rem;
  opacity: 0; animation: anim-up 1s var(--ease-expo) 0.3s forwards;
}
.hero-label::before { content: ''; display: block; width: 32px; height: 1px; background: var(--accent); }
.hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6.5vw, 6rem);
  font-weight: 300; line-height: 1.02;
  color: var(--light); max-width: 800px;
  margin-bottom: 1.5rem;
  opacity: 0; animation: anim-up 1.1s var(--ease-expo) 0.45s forwards;
}
.hero-h1 em { font-style: italic; color: rgba(240,237,232,0.42); }
.hero-sub {
  font-size: 1rem; font-weight: 300;
  color: rgba(240,237,232,0.58); max-width: 480px; line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0; animation: anim-up 1.1s var(--ease-expo) 0.6s forwards;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0; animation: anim-up 1.1s var(--ease-expo) 0.75s forwards;
}
.hero-scroll-hint {
  position: absolute; bottom: 1.75rem; right: 2.5rem; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  opacity: 0; animation: anim-fade 1s ease 1.4s forwards;
}
.hero-scroll-hint span {
  writing-mode: vertical-rl;
  font-family: var(--font-cond); font-size: 0.58rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(240,237,232,0.3);
}
.scroll-line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: pulse-line 2.2s ease-in-out infinite;
}
@keyframes pulse-line {
  0%,100% { opacity: 0.3; transform: scaleY(1); transform-origin: top; }
  50%      { opacity: 1;   transform: scaleY(1.15); }
}

/* Stats strip */
.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 4;
  display: grid; grid-template-columns: repeat(4,1fr);
  background: rgba(11,93,127,0.18);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-top: 1px solid var(--border2);
  opacity: 0; animation: anim-up 1s var(--ease-expo) 1s forwards;
}
.stat {
  padding: 1.4rem 1.75rem;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat:last-child { border-right: none; }
.stat-n {
  font-family: var(--font-serif); font-size: 2.1rem; font-weight: 300;
  color: var(--light); line-height: 1;
}
.stat-n sup { color: var(--accent); font-size: 1.2rem; }
.stat-l {
  font-family: var(--font-cond); font-size: 0.62rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(240,237,232,0.38); margin-top: 0.25rem;
}

/* Sub-page hero (shorter) */
.hero-sub-page {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: 55vh;
}
.hero-sub-page .hero-body {
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 4rem;
}
.hero-sub-page .hero-h1 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

/* ================================================================
   KEYFRAMES
================================================================ */
@keyframes anim-up {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes anim-fade {
  from { opacity:0; } to { opacity:1; }
}

/* ================================================================
   CARDS
================================================================ */
/* Service cards */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--border);
  background: var(--border);
  gap: 1px;
}
.svc-card {
  background: var(--dark2); padding: 2.25rem;
  position: relative; overflow: hidden;
  transition: background 0.4s;
}
.svc-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--accent);
  transition: width 0.5s var(--ease-expo);
}
.svc-card:hover { background: var(--dark3); }
.svc-card:hover::after { width: 100%; }
.svc-num {
  font-family: var(--font-serif); font-size: 4.5rem;
  font-weight: 300; color: rgba(240,237,232,0.04);
  position: absolute; top: 0.5rem; right: 1rem; line-height: 1;
}
.svc-img {
  width: 100%; height: 180px; object-fit: cover;
  border-radius: 1px; margin-bottom: 1.5rem;
  filter: grayscale(0.35) brightness(0.82);
  transition: filter 0.45s;
}
.svc-card:hover .svc-img { filter: grayscale(0) brightness(0.92); }
.svc-card h3 {
  font-family: var(--font-cond); font-size: 1rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--light); margin-bottom: 0.6rem;
}
.svc-card p {
  font-size: 0.83rem; font-weight: 300;
  color: var(--muted); line-height: 1.75;
}
.card-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1rem;
  font-family: var(--font-cond); font-size: 0.66rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent);
  transition: gap 0.3s;
}
.card-link:hover { gap: 0.75rem; }
.card-link svg { width: 12px; height: 12px; }

/* Industry strip */
.ind-strip {
  display: grid; grid-template-columns: repeat(5,1fr);
  border: 1px solid var(--border); gap: 0;
}
.ind-tile {
  position: relative; overflow: hidden; height: 300px;
  border-right: 1px solid var(--border);
}
.ind-tile:last-child { border-right: none; }
.ind-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-expo), filter 0.5s;
  filter: grayscale(0.55) brightness(0.48);
}
.ind-tile:hover img { transform: scale(1.08); filter: grayscale(0) brightness(0.38); }
.ind-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,12,16,0.88) 30%, transparent);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem;
}
.ind-name {
  font-family: var(--font-cond); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--light);
  transition: color 0.3s;
}
.ind-tile:hover .ind-name { color: var(--accent); }
.ind-arrow {
  width: 26px; height: 26px; border: 1px solid rgba(240,237,232,0.18);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin-top: 0.5rem; opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s, transform 0.4s var(--ease-expo);
}
.ind-tile:hover .ind-arrow { opacity: 1; transform: translateY(0); }
.ind-arrow svg { width: 10px; height: 10px; }

/* Project cards */
.proj-card {
  position: relative; overflow: hidden; border-radius: 2px;
  background: var(--dark3);
}
.proj-card-img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  transition: transform 0.7s var(--ease-expo), filter 0.5s;
  filter: brightness(0.75);
}
.proj-card:hover .proj-card-img { transform: scale(1.05); filter: brightness(0.5); }
.proj-card-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.75rem;
  background: linear-gradient(to top, rgba(8,12,16,0.95), transparent);
}
.proj-cat {
  font-family: var(--font-cond); font-size: 0.62rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.35rem;
}
.proj-name {
  font-family: var(--font-serif); font-size: 1.25rem; font-weight: 300;
  color: var(--light); line-height: 1.25;
}

/* Insights */
.insight-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.insight-card {
  background: var(--dark2); border-radius: 1px; overflow: hidden;
  transition: background 0.35s;
}
.insight-card:hover { background: var(--dark3); }
.insight-card img {
  width: 100%; height: 220px; object-fit: cover;
  transition: transform 0.6s var(--ease-expo), filter 0.4s;
  filter: brightness(0.85);
}
.insight-card:hover img { transform: scale(1.04); filter: brightness(0.7); }
.insight-body { padding: 1.75rem; }
.ins-tag {
  font-family: var(--font-cond); font-size: 0.62rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.6rem;
}
.ins-title {
  font-family: var(--font-serif); font-size: 1.15rem; font-weight: 300;
  color: var(--light); line-height: 1.3; margin-bottom: 0.75rem;
  transition: color 0.3s;
}
.insight-card:hover .ins-title { color: rgba(240,237,232,0.72); }
.ins-meta { font-size: 0.75rem; color: var(--muted); }

/* ================================================================
   CTA BAND
================================================================ */
.cta-band {
  position: relative; overflow: hidden;
  padding: 7rem 2.5rem; text-align: center;
}
.cta-band-bg {
  position: absolute; inset: 0;
}
.cta-band-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.22);
}
.cta-band-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,93,127,0.65), rgba(8,12,16,0.45));
}
.cta-band-body { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.cta-band h2 { color: var(--light); margin-bottom: 1rem; }
.cta-band p {
  font-size: 0.97rem; font-weight: 300;
  color: rgba(240,237,232,0.55); line-height: 1.85; margin-bottom: 2.5rem;
}
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ================================================================
   FOOTER
================================================================ */
.site-footer {
  background: var(--dark3); border-top: 1px solid var(--border);
  padding: 5rem 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem; margin-bottom: 4rem;
}
.footer-brand p.tagline {
  font-size: 0.85rem; font-weight: 300;
  color: var(--muted); line-height: 1.85; max-width: 280px; margin-top: 1rem;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.footer-logo img {
  display: block;
  height: 42px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer-col h5 {
  font-family: var(--font-cond); font-size: 0.65rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a {
  font-size: 0.84rem; font-weight: 300; color: var(--muted);
  transition: color 0.25s;
}
.footer-col ul li a:hover { color: var(--light); }
.footer-contact-item {
  font-size: 0.84rem; font-weight: 300; color: var(--muted); line-height: 1.9;
}
.footer-contact-item a { color: var(--accent); transition: color 0.25s; }
.footer-contact-item a:hover { color: var(--accent-dark); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 0.75rem;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(107,122,135,0.55); }

/* ================================================================
   PAGE INNER CONTENT
================================================================ */
/* Text content blocks */
.prose h2 {
  font-family: var(--font-serif); font-size: clamp(1.6rem,3vw,2.4rem);
  font-weight: 300; color: var(--light); margin-bottom: 1rem; margin-top: 3rem;
}
.prose h3 {
  font-family: var(--font-cond); font-size: 1rem; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 600;
  color: var(--accent); margin-bottom: 0.6rem; margin-top: 2rem;
}
.prose p { font-size: 0.95rem; font-weight: 300; color: var(--muted); line-height: 1.9; margin-bottom: 1.25rem; }
.prose ul { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.prose ul li {
  font-size: 0.93rem; font-weight: 300; color: var(--muted); line-height: 1.75;
  padding-left: 1.25rem; position: relative;
}
.prose ul li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 5px; height: 5px; background: var(--accent); border-radius: 50%;
}

/* Highlight box */
.highlight-box {
  border: 1px solid var(--border2);
  border-left: 3px solid var(--accent);
  background: rgba(136,192,87,0.04);
  padding: 1.5rem 1.75rem; border-radius: 2px;
  margin: 2rem 0;
}
.highlight-box p { margin: 0; color: var(--light2); font-size: 0.92rem; }

/* Info grid (for service/industry detail pages) */
.info-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem;
  margin: 2.5rem 0;
}
.info-tile {
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: 2px; padding: 1.5rem;
  transition: border-color 0.3s, background 0.3s;
}
.info-tile:hover { border-color: rgba(136,192,87,0.25); background: rgba(136,192,87,0.03); }
.info-tile h4 {
  font-family: var(--font-cond); font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem;
}
.info-tile p { font-size: 0.84rem; color: var(--muted); line-height: 1.7; margin: 0; }

/* breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-cond); font-size: 0.65rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(240,237,232,0.35);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: rgba(240,237,232,0.35); transition: color 0.25s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--accent); }

/* ================================================================
   SHOWCASE SLIDER (insights box)
================================================================ */
.showcase {
  position: relative; border-radius: 3px; overflow: hidden;
  background: var(--dark3); border: 1px solid var(--border);
}
.showcase-slides { position: relative; height: 480px; overflow: hidden; }
.showcase-slide {
  position: absolute; inset: 0;
  opacity: 0; transform: translateX(24px);
  transition: opacity 0.75s var(--ease-expo), transform 0.75s var(--ease-expo);
  pointer-events: none;
}
.showcase-slide.is-active { opacity: 1; transform: translateX(0); pointer-events: auto; }
.showcase-slide.is-exit  { opacity: 0; transform: translateX(-24px); }
.showcase-slide img { width: 100%; height: 240px; object-fit: cover; }
.showcase-body { padding: 1.75rem; }
.showcase-tag {
  font-family: var(--font-cond); font-size: 0.62rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.6rem;
}
.showcase-title {
  font-family: var(--font-serif); font-size: 1.3rem; font-weight: 300;
  color: var(--light); line-height: 1.3; margin-bottom: 0.6rem;
}
.showcase-desc { font-size: 0.82rem; font-weight: 300; color: var(--muted); line-height: 1.7; }
.showcase-progress { height: 2px; background: rgba(255,255,255,0.05); }
.showcase-bar {
  height: 100%; background: var(--accent); width: 0%;
  transition: width linear;
}
.showcase-dots {
  position: absolute; top: 0.85rem; right: 0.85rem; z-index: 2;
  display: flex; gap: 0.4rem;
}
.showcase-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(240,237,232,0.18); border: none;
  cursor: pointer; transition: background 0.3s, transform 0.3s;
}
.showcase-dot.is-active { background: var(--accent); transform: scale(1.4); }

/* ================================================================
   CONTACT FORM
================================================================ */
.contact-form {
  display: grid; gap: 1.25rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-field { display: flex; flex-direction: column; gap: 0.45rem; }
.form-field label {
  font-family: var(--font-cond); font-size: 0.65rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border2);
  border-radius: 2px;
  color: var(--light);
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 300;
  padding: 0.75rem 1rem;
  transition: border-color 0.25s, background 0.25s;
  outline: none; width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  background: rgba(136,192,87,0.04);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field select option { background: var(--dark3); }
.form-note { font-size: 0.78rem; color: var(--muted); margin-top: -0.25rem; }
.form-honey { display: none !important; }

/* ================================================================
   RESPONSIVE — TABLET 900px
================================================================ */
@media (max-width: 900px) {
  :root { --nav-h: 70px; }

  /* Nav */
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  /* Grids */
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .ind-strip { grid-template-columns: repeat(3,1fr); }
  .ind-tile:nth-child(n+4) { border-top: 1px solid var(--border); }
  .ind-tile:nth-child(3n) { border-right: none; }
  .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .insight-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: none; }

  /* Hero */
  .hero-body { padding-bottom: 10rem; }

  /* Showcase layout */
  .insights-layout { grid-template-columns: 1fr; }
}

/* ================================================================
   RESPONSIVE — MOBILE 640px
================================================================ */
@media (max-width: 640px) {
  :root { --nav-h: 64px; }

  .section    { padding: 4rem 0; }
  .section-lg { padding: 5rem 0; }
  .container  { width: min(100% - 2rem, var(--container)); }

  /* Nav */
  .site-nav { padding: 0 1.25rem; }
  .nav-logo svg { width: 140px; }

  /* Hero */
  .hero-body { padding: calc(var(--nav-h) + 3rem) 1.25rem 9rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-scroll-hint { display: none; }

  /* Grids */
  .svc-grid { grid-template-columns: 1fr; }
  .ind-strip { grid-template-columns: 1fr 1fr; }
  .ind-tile:nth-child(2n) { border-right: none; }
  .ind-tile:nth-child(n+3) { border-top: 1px solid var(--border); }
  .grid-3 { grid-template-columns: 1fr; }
  .insight-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }

  /* Text */
  .hero-h1 { font-size: clamp(2.2rem,8vw,3.2rem); }

  /* CTA band */
  .cta-band { padding: 5rem 1.25rem; }

  /* Footer */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.4rem; }

  /* Stats */
  .stat { padding: 1.1rem 1rem; }
  .stat-n { font-size: 1.7rem; }
}

@media (max-width: 400px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
