/* ============================================================
   AV HORIZON — v9 Apple-Style Light Glassmorphism
   Light body, frosted white glass panels, soft gradient meshes
   ============================================================ */

:root {
  --red-900: #3b0a0a; --red-800: #6e1414; --red-700: #8b1a1a;
  --red-600: #a61e1e; --red-500: #b71c1c; --red-400: #c62828;
  --red-300: #e53935; --red-100: #ffebee; --red-50: #fef5f5;

  --dark: #0a0a0a; --dark-800: #141414; --dark-700: #1a1a1a;
  --gray-900: #1a1a1a; --gray-800: #2d2d2d; --gray-700: #555;
  --gray-600: #6b6b6b; --gray-500: #888; --gray-400: #aaa; --gray-300: #ccc;
  --gray-200: #e2e2e2; --gray-100: #f0f0f0; --gray-50: #f8f8f8;
  --white: #ffffff;

  --nav-h: clamp(90px, 8vw, 120px);

  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur: 400ms;

  --container: 1400px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body); color: var(--gray-900);
  background: #f8f8fa; line-height: 1.6; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(24px, 4vw, 60px); }

/* === SPLASH (dark with subtle red atmosphere — not pitch black) === */
.splash {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background:
    radial-gradient(ellipse 900px 700px at 50% 50%, rgba(198,40,40,0.14) 0%, rgba(198,40,40,0.04) 40%, transparent 70%),
    radial-gradient(ellipse 1400px 800px at 50% 50%, #1a1216 0%, #0e0c0d 45%, #060404 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity 1s ease, visibility 1s ease;
  overflow: hidden;
}
.splash--hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.splash__particles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }

/* --- Scattered atmospheric red orbs --- */
.splash__orb {
  position: absolute; border-radius: 50%; z-index: 0;
  pointer-events: none; filter: blur(40px);
  opacity: 0;
  animation: orbIn 1.5s ease forwards 0.2s, orbDrift 9s ease-in-out infinite 1.5s;
}
@keyframes orbIn { to { opacity: 0.55; } }
.splash__orb--tl {
  top: -80px; left: -80px;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(198,40,40,0.18) 0%, rgba(198,40,40,0.06) 45%, transparent 70%);
  animation-delay: 0.1s, 1.2s;
}
.splash__orb--tr {
  top: 10%; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,100,100,0.14) 0%, rgba(198,40,40,0.05) 45%, transparent 70%);
  animation-delay: 0.3s, 1.8s;
}
.splash__orb--bl {
  bottom: 5%; left: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(198,40,40,0.15) 0%, rgba(198,40,40,0.04) 45%, transparent 70%);
  animation-delay: 0.5s, 2.5s;
}
.splash__orb--br {
  bottom: -80px; right: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(220,60,60,0.17) 0%, rgba(198,40,40,0.05) 45%, transparent 70%);
  animation-delay: 0.2s, 1.6s;
}
.splash__orb--c1 {
  top: 60%; left: 18%;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255,120,120,0.11) 0%, rgba(198,40,40,0.03) 45%, transparent 70%);
  animation-delay: 0.6s, 3.2s;
}
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(18px, -12px) scale(1.06); }
  66%  { transform: translate(-14px, 10px) scale(0.96); }
}

.splash__glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -55%);
  width: 640px; height: 640px; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle,
    rgba(255, 220, 220, 0.25) 0%,
    rgba(198, 40, 40, 0.32) 14%,
    rgba(198, 40, 40, 0.15) 35%,
    rgba(198, 40, 40, 0.05) 55%,
    transparent 72%);
  opacity: 0; animation: glowPulse 3s ease-in-out infinite, fadeIn 1.2s ease forwards 0.15s;
  filter: blur(8px);
}
@keyframes glowPulse {
  0%, 100% { transform: translate(-50%, -55%) scale(1); opacity: 0.85; }
  50% { transform: translate(-50%, -55%) scale(1.12); opacity: 1; }
}
.splash__center { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }

/* Inline SVG logo — fades in whole, while letters/swoosh reveal in sequence */
.splash__logo-svg {
  width: 320px; height: auto; display: block;
  opacity: 0; transform: scale(0.85) translateY(10px);
  animation:
    splashIn 0.5s var(--ease) forwards 0.1s,
    logoAura 3s ease-in-out infinite 0.8s;
  overflow: visible;
  filter:
    drop-shadow(0 0 28px rgba(198,40,40,0.45))
    drop-shadow(0 0 60px rgba(198,40,40,0.22));
}
@keyframes splashIn {
  0% { opacity: 0; transform: scale(0.85) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
/* Pulsing glow around the whole logo — backlights the A/V so they're visible */
@keyframes logoAura {
  0%, 100% {
    filter:
      drop-shadow(0 0 28px rgba(198,40,40,0.45))
      drop-shadow(0 0 60px rgba(198,40,40,0.22));
  }
  50% {
    filter:
      drop-shadow(0 0 36px rgba(255,220,220,0.55))
      drop-shadow(0 0 80px rgba(198,40,40,0.38))
      drop-shadow(0 0 130px rgba(198,40,40,0.18));
  }
}

/* HORIZON text — fades in gently at the start */
.splash__horizon {
  opacity: 0;
  animation: fadeIn 0.4s ease forwards 0.2s;
}

/* LETTER A — reveal top → bottom + glowing light edge during reveal */
.splash__letter-a {
  clip-path: inset(0 0 100% 0);
  -webkit-clip-path: inset(0 0 100% 0);
  animation:
    revealDown 1.1s var(--ease) forwards 0.3s,
    letterLight 1.3s ease-out forwards 0.3s;
}
@keyframes revealDown {
  0%   { clip-path: inset(0 0 100% 0); -webkit-clip-path: inset(0 0 100% 0); }
  100% { clip-path: inset(0 0 0 0);    -webkit-clip-path: inset(0 0 0 0); }
}

/* LETTER V — reveal bottom → top (simultaneous with A) + same glow */
.splash__letter-v {
  clip-path: inset(100% 0 0 0);
  -webkit-clip-path: inset(100% 0 0 0);
  animation:
    revealUp 1.1s var(--ease) forwards 0.3s,
    letterLight 1.3s ease-out forwards 0.3s;
}
@keyframes revealUp {
  0%   { clip-path: inset(100% 0 0 0); -webkit-clip-path: inset(100% 0 0 0); }
  100% { clip-path: inset(0 0 0 0);    -webkit-clip-path: inset(0 0 0 0); }
}

/* Letter glow — drop-shadow filter makes the clipping edge itself emit light.
   Strong white-red glow during reveal (0-66%), fades off by end. */
@keyframes letterLight {
  0% {
    filter:
      drop-shadow(0 0 6px rgba(255,255,255,0.95))
      drop-shadow(0 0 14px rgba(255,200,200,0.75))
      drop-shadow(0 0 26px rgba(198,40,40,0.7));
  }
  50% {
    filter:
      drop-shadow(0 0 10px rgba(255,255,255,0.85))
      drop-shadow(0 0 20px rgba(198,40,40,0.6));
  }
  100% {
    filter: drop-shadow(0 0 0 transparent);
  }
}

/* SWOOSH — reveal left → right (no fade-in glow; light sweep handles it after reveal) */
.splash__swoosh {
  clip-path: inset(0 100% 0 0);
  -webkit-clip-path: inset(0 100% 0 0);
  animation: revealRight 0.7s var(--ease) forwards 1.45s;
}
@keyframes revealRight {
  0%   { clip-path: inset(0 100% 0 0); -webkit-clip-path: inset(0 100% 0 0); }
  100% { clip-path: inset(0 0 0 0);    -webkit-clip-path: inset(0 0 0 0); }
}

/* Single thick white light sweep on the swoosh — plays ONCE, kicks in tight after reveal */
.splash__swoosh-lights {
  opacity: 0;
  animation: fadeIn 0.1s linear forwards 1.9s;
  mix-blend-mode: screen;
}
.splash__swoosh-light {
  /* forwards = stays at end state, no loop = no second streak */
  animation: swooshLightSlide 0.75s ease-out forwards 1.95s;
}
@keyframes swooshLightSlide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(820px); }
}

/* ========================================
   SWOOSH SHINE — header nav + footer logos
   A white streak slides across the swoosh only (masked to swoosh shape),
   reusing assets/swoosh-mask.svg.
   ======================================== */
/* .nav__logo already has position:relative and display:flex — don't override */
.footer__logo-wrap {
  position: relative;
  display: inline-block;
  line-height: 0;
}
.nav__logo::after,
.footer__logo-wrap::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgba(255, 255, 255, 1) 42%,
    rgba(255, 255, 255, 1) 58%,
    transparent 80%
  );
  background-size: 280% 100%;
  background-repeat: no-repeat;
  background-position: -160% 0;
  mask: url('/assets/swoosh-mask.svg') no-repeat center / contain;
  -webkit-mask: url('/assets/swoosh-mask.svg') no-repeat center / contain;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: swooshSheenPass 5s ease-in-out infinite 2.5s;
}
@keyframes swooshSheenPass {
  0%   { background-position: -160% 0; }
  40%  { background-position: 160% 0; }
  100% { background-position: 160% 0; }
}
.splash__line {
  width: 160px; height: 2px; background: rgba(255,255,255,0.08);
  margin-top: 36px; border-radius: 2px; overflow: hidden;
  opacity: 0; animation: fadeIn 0.5s ease forwards 1s;
}
@keyframes fadeIn { to { opacity: 1; } }
.splash__progress {
  width: 0%; height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--red-700), var(--red-400), var(--red-300));
  box-shadow: 0 0 12px rgba(198,40,40,0.5), 0 0 4px rgba(198,40,40,0.8);
  animation: progress 2.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.6s;
}
@keyframes progress { 0% { width: 0; } 40% { width: 55%; } 80% { width: 85%; } 100% { width: 100%; } }
.splash__tagline {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.28em; color: rgba(255,255,255,0.75);
  margin-top: 36px; opacity: 0; animation: taglineIn 0.6s ease forwards 1.4s;
  text-align: center;
  max-width: min(90vw, 540px);
  line-height: 1.5;
}
@keyframes taglineIn {
  0% { opacity: 0; letter-spacing: 0.5em; }
  100% { opacity: 1; letter-spacing: 0.28em; }
}
body.splash-active { overflow: hidden; }

/* ========================================
   NAV — BIG, ALWAYS GLASS (Apple-style)
   Over hero: transparent -> scroll: white glass
   Over light sections: white glass
   ======================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.nav__inner {
  max-width: 1800px; margin: 0 auto;
  padding: 0 clamp(28px, 5vw, 100px);
  display: flex; align-items: center; justify-content: space-between;
  height: clamp(90px, 8vw, 120px);
}
.nav__logo img {
  height: clamp(60px, 6vw, 85px); width: auto;
  transition: opacity var(--dur) var(--ease);
}
.nav__logo { position: relative; display: flex; }
.nav__logo-light { opacity: 1; }
.nav__logo-dark { position: absolute; top: 0; left: 0; opacity: 0; }

/* Scrolled = white frosted glass */
.nav--scrolled {
  background: rgba(255,255,255,0.72);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}
.nav--scrolled .nav__logo-light { opacity: 0; }
.nav--scrolled .nav__logo-dark { opacity: 1; }

.nav__links { display: flex; align-items: center; gap: clamp(28px, 3vw, 52px); }
.nav__link {
  font-family: var(--font-display); font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  font-weight: 500; color: rgba(255,255,255,0.8); letter-spacing: 0.02em;
  transition: color var(--dur) var(--ease); position: relative;
}
.nav__link::after {
  content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px;
  background: var(--red-400); border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.nav__link:hover { color: white; }
.nav__link:hover::after { width: 100%; }

/* Scrolled nav links = dark text */
.nav--scrolled .nav__link { color: var(--gray-700); }
.nav--scrolled .nav__link:hover { color: var(--gray-900); }
.nav--scrolled .nav__link::after { background: var(--red-500); }
.nav__cta { margin-left: 16px; }

.nav__toggle {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav__toggle span {
  width: 28px; height: 2px; background: white;
  border-radius: 2px; transition: all var(--dur) var(--ease);
}
.nav--scrolled .nav__toggle span { background: var(--gray-900); }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(0.88rem, 1vw, 1.02rem);
  padding: 16px 36px; border-radius: var(--radius-lg); border: none; cursor: pointer;
  transition: all var(--dur) var(--ease); position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 0; height: 0; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transform: translate(-50%, -50%);
  transition: width 0.6s var(--ease), height 0.6s var(--ease);
}
.btn:hover::before { width: 300px; height: 300px; }
.btn--primary {
  background: linear-gradient(135deg, var(--red-500), var(--red-400));
  color: white;
  box-shadow: 0 4px 24px rgba(183,28,28,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(183,28,28,0.45), inset 0 1px 0 rgba(255,255,255,0.2);
}
/* Outline on hero (white outline over dark images) */
.btn--outline {
  background: rgba(0,0,0,0.45); color: white;
  border: 2px solid rgba(255,255,255,0.85);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.95);
  color: var(--gray-900);
  border-color: #fff;
  text-shadow: none;
}
.btn--white {
  background: rgba(255,255,255,0.9); color: var(--red-500);
}
.btn--white:hover { background: white; transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn--lg { font-size: clamp(0.95rem, 1.1vw, 1.1rem); padding: 20px 48px; }
.btn--full { width: 100%; }
/* Dark-bg button variant for light sections */
.btn--dark {
  background: var(--gray-900); color: white;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn--dark:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.18); }

/* ========================================
   HERO (stays dark — over images)
   ======================================== */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  overflow: hidden; background: var(--dark);
}
.hero__slider { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.hero__slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; z-index: 0; transition: opacity 1.6s ease-in-out;
}
.hero__slide--active { opacity: 1; z-index: 2; }
.hero__slide--exiting { opacity: 0; z-index: 1; transition: opacity 1.6s ease-in-out; }
.hero__slide--active .hero__slide-img { animation: kenBurns 8s ease-in-out forwards; }
.hero__slide-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
@keyframes kenBurns { 0% { transform: scale(1); } 100% { transform: scale(1.08); } }
.hero__overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.75) 30%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.15) 85%, rgba(0,0,0,0.05) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.7) 100%);
}
.hero__content {
  position: relative; z-index: 2; height: 100%;
  max-width: var(--container); margin: 0 auto; padding: 0 clamp(24px, 4vw, 60px);
  display: flex; flex-direction: column; justify-content: center;
}
.hero__text { max-width: 950px; }
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8.5vw, 8.5rem);
  font-weight: 800; line-height: 1.02;
  letter-spacing: -0.045em; color: white;
  margin-bottom: 28px;
}
.hero__line { display: block; overflow: hidden; }
.hero__word {
  display: inline-block; transform: translateY(110%);
  transition: transform 0.8s var(--ease);
  position: relative;
}
.hero--revealed .hero__word { transform: translateY(0); }
/* DESIGN. — clean white */
.hero__line:nth-child(1) .hero__word {
  transition-delay: 0.1s;
  color: #fff;
}
/* BUILD. — bold red */
.hero__line:nth-child(2) .hero__word {
  transition-delay: 0.25s;
  color: var(--red-400);
}
/* INSTALL. — clean white */
.hero__line:nth-child(3) .hero__word {
  transition-delay: 0.4s;
  color: #fff;
}
.hero__sub {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem); color: #fff;
  margin-bottom: 40px; max-width: 640px; font-weight: 500;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9), 0 4px 24px rgba(0,0,0,0.7);
  padding: 14px 22px;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 70%, rgba(0,0,0,0) 100%);
  border-left: 3px solid var(--red-400);
  border-radius: 0 8px 8px 0;
  display: inline-block;
  opacity: 0; transform: translateY(20px);
  transition: all 0.8s var(--ease) 0.6s;
}
.hero--revealed .hero__sub { opacity: 1; transform: translateY(0); }
.hero__ctas {
  display: flex; gap: 16px;
  opacity: 0; transform: translateY(20px);
  transition: all 0.8s var(--ease) 0.75s;
}
.hero--revealed .hero__ctas { opacity: 1; transform: translateY(0); }

/* Hero dots — glass pill */
.hero__dots {
  position: absolute; bottom: clamp(30px, 4vw, 60px); left: clamp(24px, 4vw, 60px);
  display: flex; gap: 8px; z-index: 3;
  background: rgba(0,0,0,0.35);
  padding: 10px 16px; border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.1);
}
.hero__dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.4); background: transparent;
  cursor: pointer; padding: 0; transition: all 0.5s var(--ease-spring);
}
.hero__dot--active {
  background: white; border-color: white;
  width: 28px; border-radius: 8px;
  box-shadow: 0 0 12px rgba(255,255,255,0.3);
}
.hero__dot:hover { border-color: white; }

.hero__scroll {
  position: absolute; bottom: clamp(30px, 4vw, 60px); right: clamp(24px, 4vw, 60px);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.4); font-size: 0.65rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.15em;
}
.hero__scroll-line {
  width: 1px; height: 40px; background: rgba(255,255,255,0.15);
  position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0;
  width: 1px; height: 100%; background: rgba(255,255,255,0.6);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0% { top: -100%; } 100% { top: 100%; } }

/* ========================================
   SECTION HEADERS — light theme
   ======================================== */
.section-label {
  font-family: var(--font-display); font-size: clamp(0.7rem, 0.9vw, 0.85rem);
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--red-500); margin-bottom: 12px;
  position: relative; display: inline-block;
}
.section-label::after {
  content: ''; display: block; width: 40px; height: 2px; margin-top: 10px;
  background: linear-gradient(90deg, var(--red-500), transparent);
}
.section-label--light { color: rgba(255,255,255,0.4); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.03em;
  color: var(--gray-900); margin-bottom: 56px;
}
/* Dark section title override */
.section-title--dark { color: var(--gray-900); }
/* Both portfolio and services are now light */
.section-title--left { text-align: left; }

/* ========================================
   PORTFOLIO — light bg, images pop
   ======================================== */
.work {
  padding: clamp(80px, 8vw, 120px) 0 60px;
  background: linear-gradient(180deg, #d5d4dc 0%, #cccbd4 50%, #d2d1d9 100%);
  position: relative; overflow: hidden;
}
/* Subtle red tint glow behind gallery */
.work::before {
  content: ''; position: absolute;
  width: 900px; height: 500px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(198,40,40,0.05) 0%, transparent 70%);
  top: -150px; left: 50%; transform: translateX(-50%); z-index: 0;
  pointer-events: none;
}
.work > .container { position: relative; z-index: 1; }
.work__gallery {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px; position: relative; z-index: 1;
}
.work__item {
  position: relative; aspect-ratio: 1; overflow: hidden; cursor: pointer;
  border-radius: var(--radius-lg);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.work__item:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  z-index: 2;
}
.work__item--lg { grid-column: span 2; aspect-ratio: 2/1; }
.work__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.work__item:hover .work__img { transform: scale(1.08); }
.work__info { display: none !important; }
.work__item::after { display: none !important; }

/* ========================================
   SERVICES ACCORDION (stays dark — images)
   ======================================== */
.services {
  padding: clamp(80px, 8vw, 120px) 0;
  background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
}
.services .section-label { color: var(--red-400); }
.services .section-title {
  background-image: linear-gradient(135deg, #fff 0%, #d4d4d4 50%, #fff 100%) !important;
}
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.svc-card {
  background:
    radial-gradient(ellipse 380px 260px at 0% 0%, rgba(198,40,40,0.18), transparent 55%),
    linear-gradient(160deg, #1a1a1e 0%, #0a0a0c 100%);
  border: 1px solid rgba(198,40,40,0.22);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow:
    0 16px 50px rgba(0,0,0,0.4),
    0 40px 80px -20px rgba(198,40,40,0.2),
    inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  display: flex; flex-direction: column; position: relative;
}
/* Red top accent line — matches .area__col and .about__cap */
.svc-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--red-500) 30%, var(--red-400) 50%, var(--red-500) 70%, transparent);
  opacity: 0.9;
  box-shadow: 0 0 14px rgba(198,40,40,0.5);
}
.svc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(198,40,40,0.55);
  box-shadow:
    0 24px 70px rgba(0,0,0,0.5),
    0 40px 100px -20px rgba(198,40,40,0.35),
    0 0 0 1px rgba(198,40,40,0.2);
}
.svc-card__img { aspect-ratio: 16/10; overflow: hidden; background: #0a0a0a; position: relative; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.9; transition: opacity 0.4s ease; }
.svc-card:hover .svc-card__img img { opacity: 1; }
.svc-card__body { padding: 28px 28px 32px; }
.svc-card__num {
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
  background: linear-gradient(135deg, var(--red-500) 0%, var(--red-300) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.14em; display: block; margin-bottom: 12px;
  text-shadow: 0 0 20px rgba(198,40,40,0.35);
}
.svc-card__body h3 {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  color: #fff; margin-bottom: 10px; letter-spacing: 0.01em;
}
.svc-card__body p {
  font-size: 0.95rem; line-height: 1.6; color: rgba(255,255,255,0.82);
}

/* ========================================
   PROCESS — LIGHT BG + GRADIENT MESH +
   FROSTED WHITE GLASS CARDS (Apple-style)
   ======================================== */
.process {
  padding: clamp(100px, 10vw, 140px) 0;
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #f5f6f8 0%, #ececef 50%, #f5f6f8 100%);
}
.process .section-label { color: var(--red-500); }
.process .section-title {
  background-image: linear-gradient(135deg, #1a1a1a 0%, #3a3a3a 50%, #1a1a1a 100%) !important;
}
/* Soft gradient mesh blobs — gives glass something to blur */
.process::before {
  content: ''; position: absolute;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198,40,40,0.09) 0%, rgba(198,40,40,0.03) 40%, transparent 70%);
  top: -250px; right: -200px; z-index: 0;
  animation: meshFloat 18s ease-in-out infinite;
}
.process::after {
  content: ''; position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(100,120,240,0.06) 0%, transparent 70%);
  bottom: -200px; left: -150px; z-index: 0;
  animation: meshFloat2 22s ease-in-out infinite;
}
@keyframes meshFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-50px, 40px) scale(1.1); }
}
@keyframes meshFloat2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px, -50px) scale(1.15); }
}
.process > .container { position: relative; z-index: 1; }
.process__track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process__step {
  text-align: center; padding: clamp(36px, 3vw, 56px) clamp(20px, 2vw, 32px);
  background: linear-gradient(160deg, #ffffff 0%, #fafbfc 60%, #f1f2f5 100%);
  border: 1px solid rgba(20,20,30,0.08);
  border-radius: var(--radius-xl);
  box-shadow: 0 2px 6px rgba(20,20,30,0.04), 0 18px 40px -12px rgba(20,20,30,0.12);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  position: relative; overflow: hidden;
}
.process__step::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--red-500) 30%, var(--red-400) 70%, transparent);
  opacity: 0.9;
}
/* Shimmer on hover */
.process__step::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(135deg, transparent 40%, rgba(198,40,40,0.08) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.8s var(--ease);
  pointer-events: none;
}
.process__step:hover::before { transform: translateX(30%); }
.process__step:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(198,40,40,0.35);
  box-shadow: 0 6px 14px rgba(20,20,30,0.06), 0 30px 70px -20px rgba(198,40,40,0.22);
}
.process__num {
  font-family: var(--font-display); font-size: clamp(2.5rem, 3.5vw, 3.5rem); font-weight: 700;
  background: linear-gradient(135deg, var(--red-500), var(--red-400));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 16px;
  transition: transform var(--dur) var(--ease-spring);
}
.process__step:hover .process__num { transform: scale(1.15); }
.process__step h3 {
  font-family: var(--font-display); font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  font-weight: 700; margin-bottom: 10px; color: var(--gray-900);
}
.process__step p { font-size: clamp(0.9rem, 0.95vw, 1rem); color: var(--gray-700); line-height: 1.6; }

/* ========================================
   ABOUT — light bg, glass capability cards
   ======================================== */
.about {
  padding: clamp(80px, 8vw, 120px) 0;
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
}
.about .section-label { color: var(--red-400); }
.about .section-title {
  background-image: linear-gradient(135deg, #fff 0%, #d4d4d4 50%, #fff 100%) !important;
}
.about__text { color: rgba(255,255,255,0.85) !important; }
.about::before {
  content: ''; position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198,40,40,0.08) 0%, transparent 70%);
  top: 50%; right: -150px; transform: translateY(-50%); z-index: 0;
  animation: meshFloat 20s ease-in-out infinite;
}
.about > .container { position: relative; z-index: 1; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px, 6vw, 100px); align-items: center; }
.about__img {
  width: 100%; aspect-ratio: 4/5; border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: 0 24px 80px rgba(0,0,0,0.12);
}
.about__text { font-size: clamp(1rem, 1.2vw, 1.15rem); color: var(--gray-700); line-height: 1.7; margin-bottom: 36px; }
.about__caps { display: flex; flex-direction: column; gap: 14px; }
.about__cap {
  display: flex; gap: 16px; align-items: flex-start;
  font-size: 0.95rem; line-height: 1.55;
  background: linear-gradient(135deg, rgba(198,40,40,0.18) 0%, rgba(20,22,28,0.95) 45%, rgba(0,0,0,1) 100%);
  border: 1px solid rgba(198,40,40,0.25);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 20px 50px -10px rgba(198,40,40,0.15);
  transition: transform 0.4s var(--ease-spring), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative; overflow: hidden;
}
.about__cap::after {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, transparent, var(--red-500) 40%, var(--red-400) 60%, transparent);
  opacity: 0.9;
}
.about__cap:hover {
  transform: translateX(8px) scale(1.01);
  border-color: rgba(198,40,40,0.55);
  box-shadow: 0 14px 40px rgba(0,0,0,0.6), 0 30px 70px -10px rgba(198,40,40,0.3);
}
.about__cap strong { color: #fff; display: block; font-size: 1rem; letter-spacing: 0.01em; margin-bottom: 2px; }
.about__cap span { color: rgba(255,255,255,0.72); font-size: 0.9rem; }
.about__num {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 800;
  background: linear-gradient(135deg, var(--red-500) 0%, var(--red-300) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0; width: 42px; text-align: center; margin-top: 0;
  text-shadow: 0 0 20px rgba(198,40,40,0.35);
}
.about__icon {
  width: 36px; height: 36px; border-radius: var(--radius);
  background: var(--red-100); color: var(--red-500);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}

/* ========================================
   PARTNER — red gradient (same)
   ======================================== */
.partner {
  padding: clamp(80px, 8vw, 120px) 0;
  background: #dddce3;
}
.partner__card {
  background: linear-gradient(135deg, var(--red-900) 0%, var(--red-700) 40%, var(--red-500) 100%);
  border-radius: var(--radius-xl); padding: clamp(60px, 6vw, 120px);
  position: relative; overflow: hidden;
  box-shadow: 0 32px 80px rgba(59,10,10,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}
.partner__card::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.partner__card::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,0.03);
}
.partner__title {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700; color: white; line-height: 1.1; margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.partner__text { font-size: clamp(1rem, 1.1vw, 1.1rem); color: rgba(255,255,255,0.75); max-width: 520px; margin-bottom: 32px; line-height: 1.7; }
.partner__checks { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.partner__checks span {
  font-size: 0.9rem; color: rgba(255,255,255,0.85); font-weight: 500;
  padding-left: 24px; position: relative;
}
.partner__checks span::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3);
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ========================================
   SERVICE AREA — light bg, glass cards
   ======================================== */
.area {
  padding: clamp(80px, 8vw, 120px) 0;
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #f5f6f8 0%, #ececef 50%, #f5f6f8 100%);
}
.area .section-label { color: var(--red-500); }
.area .section-title {
  background-image: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-700) 50%, var(--gray-900) 100%) !important;
}
.area::before {
  content: ''; position: absolute;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198,40,40,0.08) 0%, transparent 65%);
  top: -140px; left: -140px; z-index: 0;
  animation: meshFloat2 20s ease-in-out infinite;
  filter: blur(20px);
}
.area::after {
  content: ''; position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198,40,40,0.06) 0%, transparent 70%);
  bottom: -120px; right: -120px; z-index: 0;
  animation: meshFloat 18s ease-in-out infinite;
  filter: blur(20px);
}
.area > .container { position: relative; z-index: 1; }
.area__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.area__col {
  background:
    radial-gradient(ellipse 420px 320px at 0% 0%, rgba(198,40,40,0.28), transparent 55%),
    radial-gradient(ellipse 300px 500px at 100% 100%, rgba(198,40,40,0.08), transparent 60%),
    linear-gradient(160deg, #1a1a1e 0%, #0a0a0c 100%);
  border: 1px solid rgba(198,40,40,0.28);
  border-radius: var(--radius-xl); padding: clamp(32px, 3vw, 48px);
  box-shadow:
    0 16px 50px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 40px 80px -20px rgba(198,40,40,0.25);
  transition: transform 0.5s var(--ease-spring), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
  position: relative; overflow: hidden;
}
/* Subtle red vertical accent line on the left (fades top + bottom) — matches .about__cap */
.area__col::after {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, transparent, var(--red-500) 40%, var(--red-400) 60%, transparent);
  opacity: 0.9;
}
.area__col::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-400), transparent);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.area__col:hover::before { opacity: 1; }
.area__col:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(198,40,40,0.6);
  box-shadow: 0 24px 70px rgba(0,0,0,0.7), 0 40px 100px -20px rgba(198,40,40,0.3);
}
.area__col h3 {
  font-family: var(--font-display); font-size: clamp(1.15rem, 1.3vw, 1.3rem); font-weight: 700;
  margin-bottom: 20px; padding-bottom: 18px;
  border-bottom: 1px solid rgba(198,40,40,0.3); color: #fff;
  letter-spacing: 0.01em;
}
.area__col li {
  font-size: clamp(0.95rem, 1vw, 1.05rem); color: rgba(255,255,255,0.92); padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: padding-left 0.3s var(--ease), color 0.3s var(--ease);
  font-weight: 400;
}
.area__col li:hover { padding-left: 10px; color: var(--red-300); }
.area__col li:last-child { border: none; }

/* ========================================
   CONTACT — light bg, glass form
   ======================================== */
.contact {
  padding: clamp(80px, 8vw, 120px) 0;
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #d5d4dc 0%, #cdccd5 50%, #d5d4dc 100%);
}
.contact::before {
  content: ''; position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198,40,40,0.08) 0%, transparent 70%);
  top: -100px; right: -100px; z-index: 0;
  animation: meshFloat 16s ease-in-out infinite;
}
.contact > .container { position: relative; z-index: 1; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(60px, 6vw, 100px); align-items: start; }
.contact__text { font-size: clamp(1rem, 1.1vw, 1.1rem); color: var(--gray-500); margin-bottom: 32px; margin-top: 8px; }
.contact__info { display: flex; flex-direction: column; gap: 12px; }
.contact__info a {
  font-size: 0.95rem; color: var(--red-500); font-weight: 600;
  transition: color var(--dur) var(--ease);
}
.contact__info a:hover { color: var(--red-400); }
.contact__info span { font-size: 0.9rem; color: var(--gray-500); }
.contact__right {
  background:
    radial-gradient(ellipse 420px 320px at 0% 0%, rgba(198,40,40,0.08), transparent 55%),
    rgba(255,255,255,0.72);
  border: 1px solid rgba(198,40,40,0.22);
  border-radius: var(--radius-xl); padding: clamp(36px, 3vw, 56px);
  box-shadow:
    0 16px 64px rgba(198,40,40,0.1),
    0 40px 80px -20px rgba(198,40,40,0.15),
    inset 0 1px 0 rgba(255,255,255,0.9);
  position: relative; overflow: hidden;
}
.contact__right::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, transparent, var(--red-500) 40%, var(--red-400) 60%, transparent);
  opacity: 0.9;
  pointer-events: none;
}
.form { display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field label {
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; color: var(--gray-700);
}
.form__field input, .form__field select, .form__field textarea {
  font-family: var(--font-body); font-size: 0.9rem;
  padding: 14px 16px; border: 1px solid rgba(0,0,0,0.08); border-radius: var(--radius);
  background: rgba(255,255,255,0.6); color: var(--gray-900); outline: none;
  transition: all var(--dur) var(--ease);
}
.form__field input:focus, .form__field select:focus, .form__field textarea:focus {
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px rgba(183,28,28,0.1), 0 4px 16px rgba(183,28,28,0.06);
  background: rgba(255,255,255,0.8);
}
.form__field input::placeholder, .form__field textarea::placeholder { color: var(--gray-400); }
.form__field select {
  appearance: none; color: var(--gray-500);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.form__field textarea { resize: vertical; min-height: 100px; }

/* --- File upload --- */
.form__hint {
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 400;
  color: var(--gray-500); letter-spacing: 0;
  text-transform: none; margin-left: 6px;
}
.form__file {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border: 1px dashed rgba(0,0,0,0.18); border-radius: var(--radius);
  background: rgba(255,255,255,0.5); cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.form__file:hover {
  border-color: var(--red-500); background: rgba(255,255,255,0.75);
  box-shadow: 0 4px 16px rgba(183,28,28,0.06);
}
.form__file:focus-within {
  border-style: solid; border-color: var(--red-500);
  box-shadow: 0 0 0 3px rgba(183,28,28,0.1);
  background: rgba(255,255,255,0.8);
}
.form__file input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer;
  width: 100%; height: 100%; padding: 0; border: 0;
}
.form__file-icon {
  flex-shrink: 0; color: var(--gray-600);
  transition: color var(--dur) var(--ease);
}
.form__file:hover .form__file-icon { color: var(--red-500); }
.form__file-label {
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
  color: var(--gray-900); flex-shrink: 0;
}
.form__file-list {
  font-family: var(--font-body); font-size: 0.85rem; color: var(--gray-500);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.form__file-list.has-files { color: var(--red-700); font-weight: 500; }

.form__submit[disabled] { opacity: 0.75; cursor: progress; }
.form__error {
  margin: 4px 0 0; padding: 14px 16px;
  background: rgba(198,40,40,0.08); border: 1px solid rgba(198,40,40,0.25);
  border-radius: var(--radius); color: var(--red-700);
  font-size: 0.9rem; line-height: 1.5;
}
.form__error a { color: var(--red-700); text-decoration: underline; font-weight: 600; }
.form__success {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(32px, 4vw, 56px) clamp(20px, 2vw, 32px);
  animation: formSuccessIn 0.5s var(--ease-spring) both;
}
.form__success[hidden],
.form__error[hidden] { display: none !important; }
.form__success-mark {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red-500), var(--red-400));
  color: #fff; margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(198,40,40,0.25);
}
.form__success h3 {
  font-family: var(--font-display); font-size: clamp(1.3rem, 1.6vw, 1.6rem);
  font-weight: 700; color: var(--gray-900); margin-bottom: 8px; letter-spacing: -0.01em;
}
.form__success p {
  font-size: 1rem; line-height: 1.6; color: var(--gray-700); max-width: 340px;
}
@keyframes formSuccessIn {
  0% { opacity: 0; transform: translateY(12px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ========================================
   FOOTER — dark
   ======================================== */
.footer { background: linear-gradient(180deg, #0f0f0f 0%, #000 100%); color: rgba(255,255,255,0.75); padding: 80px 0 32px; }
.footer__top { display: flex; justify-content: space-between; margin-bottom: 60px; }
.footer__logo { height: clamp(50px, 4vw, 60px); width: auto; margin-bottom: 16px; }
.footer__brand p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.75); }
.footer__cols { display: flex; gap: clamp(60px, 6vw, 100px); }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 700;
  color: var(--red-400); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 6px;
}
.footer__col a { font-size: 0.95rem; color: rgba(255,255,255,0.85); transition: color var(--dur) var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex; justify-content: space-between; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.85rem; color: rgba(255,255,255,0.6);
}

/* ========================================
   SCROLL REVEAL
   ======================================== */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal--visible { opacity: 1; transform: translateY(0); }
.reveal--visible.work__item { transition-delay: calc(var(--i, 0) * 0.08s); }
.reveal--visible.process__step { transition-delay: calc(var(--i, 0) * 0.12s); }
.reveal--visible.area__col { transition-delay: calc(var(--i, 0) * 0.1s); }

/* ========================================
   CUSTOM CURSOR (desktop only)
   ======================================== */
.cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red-500);
  pointer-events: none; transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-spring), height 0.3s var(--ease-spring),
              background 0.3s ease, opacity 0.3s ease;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9997;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(198,40,40,0.3);
  pointer-events: none; transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-spring), height 0.4s var(--ease-spring),
              border-color 0.4s ease, opacity 0.4s ease;
}
.cursor-dot, .cursor-ring { display: none !important; }

/* ========================================
   FLOATING LABEL UNDERLINE ANIMATION
   ======================================== */
.form__field input, .form__field textarea {
  background-image: linear-gradient(var(--red-500), var(--red-500));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: center bottom;
  transition: all var(--dur) var(--ease), background-size 0.4s var(--ease);
}
.form__field input:focus, .form__field textarea:focus {
  background-size: 100% 2px;
}

/* ========================================
   TILT / 3D CARD EFFECT
   ======================================== */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}
.tilt-card > * {
  transform: translateZ(20px);
}

/* ========================================
   GRADIENT TEXT ANIMATIONS
   ======================================== */
.section-title {
  background-image: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-700) 50%, var(--gray-900) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShine 4s ease infinite;
}
@keyframes textShine {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}
/* Work & Services sit on light backgrounds — use dark gradient for readability */
.work .section-title, .services .section-title {
  background-image: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-700) 50%, var(--gray-900) 100%);
}

/* ========================================
   PORTFOLIO IMAGE TILT ON HOVER
   ======================================== */
.work__item {
  transform-style: preserve-3d;
  perspective: 800px;
}

/* ========================================
   MAGNETIC HOVER FOR NAV LINKS
   ======================================== */
.nav__link {
  transition: color var(--dur) var(--ease), transform 0.3s var(--ease-spring);
}

/* ========================================
   ANIMATED SECTION DIVIDERS
   ======================================== */
.section-divider {
  width: 100%; height: 1px; position: relative; overflow: hidden;
  margin: 0;
}
.section-divider::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--red-400), transparent);
  animation: dividerSlide 3s ease-in-out infinite;
}
@keyframes dividerSlide {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ========================================
   PULSING RED DOT ON SECTION LABELS
   ======================================== */
.section-label::before {
  content: ''; display: inline-block; vertical-align: middle;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red-500); margin-right: 10px;
  animation: dotPulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(198,40,40,0.4);
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(198,40,40,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(198,40,40,0); }
}

/* ========================================
   NUMBER COUNTER BOUNCE
   ======================================== */
.process__num {
  display: inline-block;
  animation: none;
}
.reveal--visible .process__num {
  animation: numBounce 0.6s var(--ease-spring) forwards;
  animation-delay: calc(var(--i, 0) * 0.12s + 0.3s);
}
@keyframes numBounce {
  0% { transform: scale(0) rotate(-10deg); opacity: 0; }
  60% { transform: scale(1.2) rotate(3deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* ========================================
   ABOUT CARD SLIDE-IN FROM LEFT
   ======================================== */
.about__cap {
  opacity: 0; transform: translateX(-30px);
  transition: all 0.6s var(--ease);
}
.about__cap.reveal--visible {
  opacity: 1; transform: translateX(0);
}
.about__cap:nth-child(1) { transition-delay: 0.1s; }
.about__cap:nth-child(2) { transition-delay: 0.2s; }
.about__cap:nth-child(3) { transition-delay: 0.3s; }
.about__cap:nth-child(4) { transition-delay: 0.4s; }

/* ========================================
   PARTNER CARD FLOATING PARTICLES
   ======================================== */
.partner__card {
  position: relative;
}
.partner__card .particle {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
  animation: particleFloat 6s ease-in-out infinite;
}
@keyframes particleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
  50% { transform: translateY(-20px) scale(1.3); opacity: 0.8; }
}

/* ========================================
   CTA BUTTON GLOW PULSE
   ======================================== */
.btn--primary {
  animation: btnGlow 3s ease-in-out infinite;
}
@keyframes btnGlow {
  0%, 100% { box-shadow: 0 4px 24px rgba(183,28,28,0.35), inset 0 1px 0 rgba(255,255,255,0.15); }
  50% { box-shadow: 0 4px 36px rgba(183,28,28,0.55), 0 0 20px rgba(198,40,40,0.2), inset 0 1px 0 rgba(255,255,255,0.15); }
}

/* ========================================
   AREA CARD NUMBER INDICATOR
   ======================================== */
.area__col {
  counter-increment: area-counter;
}
.area__col h3::before {
  content: counter(area-counter, decimal-leading-zero);
  display: block; font-size: 3rem; font-weight: 800;
  background: linear-gradient(135deg, var(--red-400), var(--red-300));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 12px; opacity: 1;
  text-shadow: 0 0 30px rgba(198,40,40,0.4);
  transition: transform 0.4s var(--ease);
}
.area__col:hover h3::before { transform: scale(1.05); }
.area__grid { counter-reset: area-counter; }

/* ========================================
   SMOOTH GRADIENT BORDER ON FOCUS
   ======================================== */
.form__field input:focus, .form__field select:focus, .form__field textarea:focus {
  border-image: linear-gradient(135deg, var(--red-500), var(--red-300)) 1;
  border-radius: var(--radius);
}

/* ========================================
   TYPING CURSOR FOR HERO HEADLINE (removed)
   ======================================== */
.hero__line:last-child .hero__word::after {
  content: none;
}

/* ========================================
   SCROLL PROGRESS BAR
   ======================================== */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 1001;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--red-500), var(--red-300));
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(198,40,40,0.4);
}

/* ========================================
   FOOTER LINK ARROW SLIDE
   ======================================== */
.footer__col a {
  position: relative; display: inline-block;
  padding-left: 0; transition: color var(--dur) var(--ease), padding-left 0.3s var(--ease);
}
.footer__col a::before {
  content: '\2192'; position: absolute; left: -16px; top: 0;
  opacity: 0; transition: opacity 0.3s var(--ease), left 0.3s var(--ease);
  color: var(--red-400);
}
.footer__col a:hover { padding-left: 20px; }
.footer__col a:hover::before { opacity: 1; left: 0; }

/* ========================================
   HOME-PAGE SECTION OUTRO CTAs (link to subpages)
   ======================================== */
.work__outro {
  margin-top: clamp(32px, 4vw, 56px);
  text-align: center;
}
.work__outro .btn {
  background: #fff;
  color: var(--gray-900);
  border: 1.5px solid var(--red-500);
  box-shadow: 0 4px 16px rgba(198,40,40,0.15);
}
.work__outro .btn:hover {
  background: var(--red-500);
  color: #fff;
  border-color: var(--red-500);
  box-shadow: 0 10px 28px rgba(198,40,40,0.35);
  transform: translateY(-2px);
}
.services__outro {
  margin-top: clamp(40px, 4vw, 60px);
  text-align: center;
}
.services__outro .btn {
  color: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.25);
}
.services__outro .btn:hover {
  background: #fff; color: var(--gray-900); border-color: #fff;
}
.about__cta {
  margin-top: 32px;
}

/* ========================================
   MULTI-PAGE / SUBPAGE STYLES
   ======================================== */

/* Light-page body — no dark hero, nav stays in scrolled state */
body.page--light {
  background: #fff;
}

/* --- Page hero (compact, light-theme top of each subpage) --- */
.page-hero {
  padding: calc(var(--nav-h, 90px) + clamp(48px, 6vw, 96px)) 0 clamp(40px, 5vw, 72px);
  background: linear-gradient(180deg, #fafbfc 0%, #f5f6f8 100%);
  border-bottom: 1px solid rgba(20,20,30,0.06);
}
.page-hero--compact {
  padding: calc(var(--nav-h, 90px) + clamp(40px, 5vw, 72px)) 0 clamp(32px, 4vw, 56px);
}
.page-hero__eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red-500);
  margin-bottom: 20px;
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.02em;
  color: var(--gray-900);
  max-width: 960px;
  margin-bottom: 24px;
}
.page-hero__lead {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.55; color: var(--gray-600);
  max-width: 720px;
}

/* --- Breadcrumb --- */
.breadcrumb {
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 500;
  color: var(--gray-500);
  margin-bottom: 20px; letter-spacing: 0.02em;
}
.breadcrumb a {
  color: var(--gray-600); text-decoration: none;
  border-bottom: 1px solid transparent; transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.breadcrumb a:hover { color: var(--red-500); border-color: var(--red-500); }
.breadcrumb span { margin: 0 10px; color: var(--gray-400); }

/* --- Page sections (generic content container on subpages) --- */
.page-section {
  padding: clamp(60px, 7vw, 120px) 0;
  background: #fff;
}
.page-section--alt {
  background: linear-gradient(180deg, #f5f6f8 0%, #ececef 50%, #f5f6f8 100%);
}
.page-section__cta {
  margin-top: 40px; text-align: center;
}

/* BEM-variant section headings for subpages (lighter weight than home) */
.section__eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red-500); margin-bottom: 16px;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 700; line-height: 1.12; letter-spacing: -0.02em;
  color: var(--gray-900);
  max-width: 800px;
  margin-bottom: 40px;
}

/* --- Page grid (2-col image + text) --- */
.page-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 5vw, 80px); align-items: center;
}
.page-grid--reverse .page-grid__text { order: 2; }
.page-grid--reverse .page-grid__image { order: 1; }
.page-grid__text .section__title { margin-bottom: 28px; }
.page-grid__image img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 20px; aspect-ratio: 4/5;
  box-shadow: 0 20px 60px -20px rgba(20,20,30,0.2);
}
.page-prose {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.7; color: var(--gray-700);
  margin-bottom: 20px;
}

/* --- About: pillars --- */
.about-pillars {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 48px); margin-top: 48px;
}
.about-pillar {
  padding: clamp(28px, 3vw, 40px);
  background: #fff;
  border: 1px solid rgba(20,20,30,0.08);
  border-radius: 20px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.about-pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(198,40,40,0.25);
  box-shadow: 0 20px 50px -20px rgba(20,20,30,0.12);
}
.about-pillar h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  color: var(--gray-900); margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.about-pillar p {
  font-family: var(--font-body);
  font-size: 0.95rem; line-height: 1.6;
  color: var(--gray-600);
}

/* --- About: service area layout --- */
.about-area {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 5vw, 80px); margin-top: 40px;
}
.about-area__text { align-self: start; }
.about-area__list {
  padding: clamp(28px, 3vw, 40px);
  background: #fff;
  border: 1px solid rgba(20,20,30,0.08);
  border-left: 3px solid var(--red-500);
  border-radius: 12px;
}
.about-area__list h4 {
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray-700); margin-bottom: 16px;
}
.about-area__list ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.about-area__list li {
  font-family: var(--font-body);
  font-size: 0.95rem; color: var(--gray-700);
  padding-left: 20px; position: relative;
}
.about-area__list li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 8px; height: 2px; background: var(--red-500);
}

/* --- Credentials section --- */
.credentials { background: linear-gradient(180deg, #0c0d10 0%, #16171b 100%); color: #fff; }
.credentials .section__eyebrow { color: var(--red-300); }
.credentials .section__title { color: #fff; }
.credentials__lead {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.6; color: rgba(255,255,255,0.7);
  max-width: 720px; margin-bottom: 48px;
}
.credentials__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 2.5vw, 36px);
}
.credential {
  padding: clamp(24px, 2.5vw, 32px);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  transition: all var(--dur) var(--ease);
}
.credential:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(198,40,40,0.3);
  transform: translateY(-2px);
}
.credential h3 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  color: #fff; margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.credential p {
  font-family: var(--font-body);
  font-size: 0.9rem; line-height: 1.55;
  color: rgba(255,255,255,0.65);
}
.credentials__note {
  margin-top: 40px;
  font-family: var(--font-body); font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
}
.credentials__note a { color: var(--red-300); text-decoration: underline; font-weight: 500; }

/* --- Page CTA block (bottom of subpages) --- */
.page-cta {
  padding: clamp(60px, 7vw, 110px) 0;
  background: linear-gradient(135deg, #0c0d10 0%, #1a1b1f 100%);
  color: #fff; text-align: center;
}
.page-cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700; letter-spacing: -0.02em;
  color: #fff; margin-bottom: 16px;
}
.page-cta__lead {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.55; color: rgba(255,255,255,0.7);
  max-width: 640px; margin: 0 auto 32px;
}
.page-cta__actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.page-cta .btn--outline {
  color: #fff; border-color: rgba(255,255,255,0.3);
}
.page-cta .btn--outline:hover {
  background: #fff; color: var(--gray-900);
}

/* --- Contact full (dedicated page) --- */
.contact-full {
  padding: clamp(60px, 6vw, 100px) 0 clamp(80px, 8vw, 140px);
  background: linear-gradient(180deg, #fff 0%, #f5f6f8 100%);
}
.contact__block {
  padding: clamp(24px, 2.5vw, 32px);
  background: #fff;
  border: 1px solid rgba(20,20,30,0.06);
  border-radius: 16px;
  margin-bottom: 20px;
  transition: border-color var(--dur) var(--ease);
}
.contact__block:hover { border-color: rgba(198,40,40,0.2); }
.contact__block--muted { background: #fafbfc; }
.contact__block h3 {
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gray-500); margin-bottom: 10px;
}
.contact__big {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700;
  margin-bottom: 6px;
}
.contact__big a {
  color: var(--gray-900); text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.contact__big a:hover { color: var(--red-500); border-color: var(--red-500); }
.contact__meta {
  font-family: var(--font-body);
  font-size: 0.9rem; color: var(--gray-500); line-height: 1.5;
}
.contact__block p {
  font-family: var(--font-body); font-size: 0.95rem;
  line-height: 1.6; color: var(--gray-700);
}

/* --- Services hub --- */
.services-hub {
  padding: clamp(60px, 7vw, 110px) 0;
  background: #fff;
}
.svc-card--link {
  text-decoration: none; color: inherit; display: block;
  transition: transform var(--dur) var(--ease);
}
.svc-card--link:hover { transform: translateY(-6px); }
.svc-card__cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 600;
  color: var(--red-500);
  transition: gap var(--dur) var(--ease);
}
.svc-card--link:hover .svc-card__cta { gap: 14px; }

/* --- Service detail: service-list --- */
.service-list {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.5vw, 36px); margin-top: 40px;
}
.service-list__item {
  padding: clamp(24px, 2.5vw, 32px);
  background: #fff;
  border: 1px solid rgba(20,20,30,0.08);
  border-radius: 16px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.page-section--alt .service-list__item { background: rgba(255,255,255,0.7); }
.service-list__item:hover {
  border-color: rgba(198,40,40,0.25);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -16px rgba(20,20,30,0.12);
}
.service-list__item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  color: var(--gray-900); margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.service-list__item p {
  font-family: var(--font-body);
  font-size: 0.95rem; line-height: 1.6;
  color: var(--gray-600);
}

/* --- Inline process (service pages) --- */
.process-inline {
  display: grid; grid-template-columns: 1fr;
  gap: 20px; margin-top: 40px;
  max-width: 820px;
}
.process-inline__step {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 28px; align-items: start;
  padding: 24px 0;
  border-top: 1px solid rgba(20,20,30,0.08);
}
.process-inline__step:first-child { border-top: 0; padding-top: 0; }
.process-inline__step > span {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  color: var(--red-500); letter-spacing: -0.01em;
}
.process-inline__step h4 {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700;
  color: var(--gray-900); margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.process-inline__step p {
  font-family: var(--font-body);
  font-size: 0.95rem; line-height: 1.6;
  color: var(--gray-600);
}

/* --- Teaser grid (portfolio teasers on service pages) --- */
.teaser-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px); margin-top: 40px;
}
.teaser {
  position: relative; display: block; overflow: hidden;
  border-radius: 14px; aspect-ratio: 4/3;
  text-decoration: none; color: #fff;
  transition: transform var(--dur) var(--ease);
}
.teaser img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.teaser:hover { transform: translateY(-4px); }
.teaser:hover img { transform: scale(1.05); }
.teaser span {
  position: absolute; left: 16px; right: 16px; bottom: 14px;
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 600;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  z-index: 2;
}
.teaser::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 55%);
  z-index: 1;
}

/* --- Jurisdictions (permitting page) --- */
.jurisdictions {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px); margin-top: 40px;
}
.jurisdictions__col {
  padding: clamp(24px, 2.5vw, 32px);
  background: #fff;
  border: 1px solid rgba(20,20,30,0.08);
  border-radius: 16px;
}
.jurisdictions__col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red-500); margin-bottom: 14px;
}
.jurisdictions__col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.jurisdictions__col li {
  font-family: var(--font-body);
  font-size: 0.95rem; color: var(--gray-700);
  padding-left: 18px; position: relative;
}
.jurisdictions__col li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 8px; height: 2px; background: var(--red-500);
}
.jurisdictions__note {
  margin-top: 28px; text-align: center;
  font-family: var(--font-body); font-size: 0.95rem;
  color: var(--gray-500); font-style: italic;
}

/* --- Active nav link indicator --- */
.nav__link--active { color: var(--red-500) !important; }
.nav__link--active::after { width: 100% !important; background: var(--red-500) !important; }

/* ========================================
   SUBPAGE VISUAL UPGRADE — dark, glass, red, silver
   Overrides the flat defaults above to match the home page vibe
   ======================================== */

/* --- Body: dark canvas for all subpages --- */
body.page--light {
  background: #0a0b0e;
  color: #e8e9ec;
}

/* --- Subpage nav: dark glass instead of white frost --- */
body.page--light .nav--scrolled {
  background: rgba(10, 11, 14, 0.75);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.5);
}
body.page--light .nav--scrolled .nav__logo-light { opacity: 1; }
body.page--light .nav--scrolled .nav__logo-dark { opacity: 0; }
body.page--light .nav--scrolled .nav__link { color: rgba(255, 255, 255, 0.75); }
body.page--light .nav--scrolled .nav__link:hover { color: #fff; }
body.page--light .nav--scrolled .nav__toggle span { background: #fff; }
body.page--light .nav__link--active { color: var(--red-300) !important; }
body.page--light .nav__link--active::after { background: var(--red-300) !important; }

/* --- Page hero: dark gradient + red glow + silver metallic title --- */
.page-hero {
  position: relative;
  background:
    radial-gradient(ellipse 1200px 500px at 75% -100px, rgba(198, 40, 40, 0.22), transparent 62%),
    radial-gradient(ellipse 700px 400px at 10% 110%, rgba(150, 155, 170, 0.05), transparent 60%),
    linear-gradient(180deg, #0a0b0e 0%, #13141a 55%, #0d0e12 100%);
  color: #fff;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 15%; right: -150px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 40, 40, 0.35) 0%, rgba(198, 40, 40, 0.1) 40%, transparent 70%);
  filter: blur(70px);
  animation: heroOrb 12s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroOrb {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
  50% { transform: translate(-40px, 30px) scale(1.12); opacity: 1; }
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__eyebrow {
  color: var(--red-300);
  opacity: 0; transform: translateY(10px);
  animation: heroFadeUp 0.9s var(--ease) 0.1s forwards;
}
.page-hero__title {
  background: linear-gradient(180deg, #ffffff 0%, #c5c7cc 55%, #8a8d94 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  opacity: 0; transform: translateY(14px);
  animation: heroFadeUp 1.1s var(--ease) 0.2s forwards;
}
.page-hero__lead {
  color: rgba(255, 255, 255, 0.65);
  opacity: 0; transform: translateY(14px);
  animation: heroFadeUp 1.1s var(--ease) 0.4s forwards;
}
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* --- Breadcrumb on dark hero --- */
.breadcrumb { color: rgba(255, 255, 255, 0.45); opacity: 0; animation: heroFadeUp 0.8s var(--ease) 0.05s forwards; }
.breadcrumb a { color: rgba(255, 255, 255, 0.72); }
.breadcrumb a:hover { color: var(--red-300); border-color: var(--red-300); }
.breadcrumb span { color: rgba(255, 255, 255, 0.3); }

/* --- Page sections: dark base with red-tinted radials --- */
.page-section {
  position: relative;
  background: #0c0d11;
  color: #e8e9ec;
  overflow: hidden;
}
.page-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 900px 450px at 20% 0%, rgba(198, 40, 40, 0.05), transparent 60%),
    radial-gradient(ellipse 700px 350px at 80% 100%, rgba(150, 155, 170, 0.03), transparent 60%);
  pointer-events: none;
}
.page-section .container { position: relative; z-index: 1; }
.page-section .section__title {
  background: linear-gradient(180deg, #ffffff 0%, #c0c3ca 60%, #9a9da5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.page-section .section__eyebrow { color: var(--red-300); }
.page-section .page-prose { color: rgba(255, 255, 255, 0.65); }

/* Alt section = richer red glow, slightly lighter base for rhythm */
.page-section--alt {
  background:
    radial-gradient(ellipse 1200px 500px at 50% 0%, rgba(198, 40, 40, 0.1), transparent 60%),
    linear-gradient(180deg, #13141a 0%, #1a1b22 100%);
}
.page-section--alt::before {
  background:
    radial-gradient(ellipse 600px 300px at 10% 110%, rgba(198, 40, 40, 0.08), transparent 60%);
}

/* --- Cards: glass morphism with red-glow hover --- */
.service-list__item,
.about-pillar,
.jurisdictions__col,
.contact__block {
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e8e9ec;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.service-list__item:hover,
.about-pillar:hover,
.jurisdictions__col:hover,
.contact__block:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(198, 40, 40, 0.4);
  box-shadow:
    0 24px 60px -20px rgba(198, 40, 40, 0.22),
    0 0 0 1px rgba(198, 40, 40, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
}
.page-section--alt .service-list__item,
.page-section--alt .about-pillar,
.page-section--alt .jurisdictions__col {
  background: rgba(255, 255, 255, 0.04);
}
.service-list__item h3,
.about-pillar h3,
.jurisdictions__col h4,
.contact__block h3 {
  color: #fff;
}
.service-list__item p,
.about-pillar p,
.contact__block p {
  color: rgba(255, 255, 255, 0.6);
}
.jurisdictions__col li { color: rgba(255, 255, 255, 0.72); }
.jurisdictions__note { color: rgba(255, 255, 255, 0.45); }

/* --- Credentials section: amplify existing dark, add red pulse --- */
.credentials { background: linear-gradient(180deg, #0a0b0e 0%, #13141a 100%); }
.credentials::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 1000px 500px at 50% 50%, rgba(198, 40, 40, 0.1), transparent 60%);
  pointer-events: none;
}
.credentials .container { position: relative; z-index: 1; }
.credential {
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.credential:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(198, 40, 40, 0.45);
  box-shadow: 0 24px 60px -20px rgba(198, 40, 40, 0.25);
}

/* --- Page grid image: chrome border + red shadow glow --- */
.page-grid__image img {
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 40px 100px -30px rgba(198, 40, 40, 0.22),
    0 15px 50px -15px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* --- About area list: glass card with red edge --- */
.about-area__list {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--red-500);
  box-shadow: 0 24px 60px -20px rgba(198, 40, 40, 0.15);
}
.about-area__list h4 { color: rgba(255, 255, 255, 0.75); }
.about-area__list li { color: rgba(255, 255, 255, 0.72); }

/* --- Contact page blocks --- */
.contact__block { margin-bottom: 16px; }
.contact__block--muted { background: rgba(255, 255, 255, 0.015); }
.contact__block h3 { color: rgba(255, 255, 255, 0.5); }
.contact__big a { color: #fff; border-bottom-color: transparent; }
.contact__big a:hover { color: var(--red-300); border-bottom-color: var(--red-300); }
.contact__meta { color: rgba(255, 255, 255, 0.5); }

/* --- Form fields on dark page --- */
body.page--light .form__field label { color: rgba(255, 255, 255, 0.72); }
body.page--light .form__field input,
body.page--light .form__field select,
body.page--light .form__field textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}
body.page--light .form__field input::placeholder,
body.page--light .form__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
body.page--light .form__field input:focus,
body.page--light .form__field select:focus,
body.page--light .form__field textarea:focus {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--red-400);
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.15), 0 4px 20px rgba(198, 40, 40, 0.1);
}
body.page--light .form__file {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.2);
}
body.page--light .form__file:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--red-400);
}
body.page--light .form__file-label { color: #fff; }
body.page--light .form__file-list { color: rgba(255, 255, 255, 0.5); }
body.page--light .form__file-icon { color: rgba(255, 255, 255, 0.55); }
body.page--light .form__hint { color: rgba(255, 255, 255, 0.4); }

/* Services hub page background (matches other dark sections) */
.services-hub {
  background: #0c0d11;
  position: relative;
  overflow: hidden;
}
.services-hub::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 1200px 600px at 50% 100%, rgba(198, 40, 40, 0.08), transparent 60%);
  pointer-events: none;
}
.services-hub .container { position: relative; z-index: 1; }

/* --- Contact-full section dark glass --- */
.contact-full {
  background: linear-gradient(180deg, #f5f6f8 0%, #ececef 50%, #f5f6f8 100%);
  position: relative;
  overflow: hidden;
}
.contact-full::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 900px 500px at 80% 0%, rgba(198, 40, 40, 0.06), transparent 60%),
    radial-gradient(ellipse 700px 400px at 10% 100%, rgba(198, 40, 40, 0.04), transparent 60%);
  pointer-events: none;
}
.contact-full .container { position: relative; z-index: 1; }

/* Contact info blocks on LIGHT section — white glass with red accent */
.contact-full .contact__block {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(198, 40, 40, 0.18);
  box-shadow: 0 8px 24px -12px rgba(198, 40, 40, 0.12);
  position: relative;
  overflow: hidden;
}
.contact-full .contact__block::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, transparent, var(--red-500) 40%, var(--red-400) 60%, transparent);
  opacity: 0.85;
  pointer-events: none;
}
.contact-full .contact__block:hover {
  border-color: rgba(198, 40, 40, 0.4);
  box-shadow: 0 24px 60px -20px rgba(198, 40, 40, 0.2), 0 0 0 1px rgba(198, 40, 40, 0.1);
}
.contact-full .contact__block--muted { background: #fafbfc; }
.contact-full .contact__block h3 { color: var(--gray-500); }
.contact-full .contact__big a { color: var(--gray-900); }
.contact-full .contact__big a:hover { color: var(--red-500); border-bottom-color: var(--red-500); }
.contact-full .contact__meta { color: var(--gray-500); }
.contact-full .contact__block p { color: var(--gray-700); }

/* Form card on LIGHT contact section — white glass with red accent (matches home) */
.contact-full .contact__right {
  background:
    radial-gradient(ellipse 420px 320px at 0% 0%, rgba(198,40,40,0.08), transparent 55%),
    rgba(255,255,255,0.85);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid rgba(198, 40, 40, 0.22);
  box-shadow:
    0 16px 64px rgba(198, 40, 40, 0.1),
    0 40px 80px -20px rgba(198, 40, 40, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: clamp(32px, 3.5vw, 48px);
  border-radius: 24px;
}
.contact__right::before { display: none; }

/* Red vertical accent line on the contact form card in light contact section */
.contact-full .contact__right::before {
  content: ''; display: block;
  position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, transparent, var(--red-500) 40%, var(--red-400) 60%, transparent);
  opacity: 0.9;
  pointer-events: none;
}

/* Form fields on LIGHT contact section — must beat body.page--light dark defaults on specificity */
body.page--light .contact-full .form__field label { color: var(--gray-700); }
body.page--light .contact-full .form__field input,
body.page--light .contact-full .form__field select,
body.page--light .contact-full .form__field textarea {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--gray-900);
}
body.page--light .contact-full .form__field input::placeholder,
body.page--light .contact-full .form__field textarea::placeholder {
  color: var(--gray-400);
}
body.page--light .contact-full .form__field select {
  color: var(--gray-900);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
body.page--light .contact-full .form__field input:focus,
body.page--light .contact-full .form__field select:focus,
body.page--light .contact-full .form__field textarea:focus {
  background: #fff;
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px rgba(183, 28, 28, 0.12), 0 4px 16px rgba(183, 28, 28, 0.08);
}
body.page--light .contact-full .form__file {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.2);
}
body.page--light .contact-full .form__file:hover {
  background: #fff;
  border-color: var(--red-500);
}
body.page--light .contact-full .form__file-label { color: var(--gray-900); }
body.page--light .contact-full .form__file-list { color: var(--gray-500); }
body.page--light .contact-full .form__file-icon { color: var(--gray-600); }
body.page--light .contact-full .form__hint { color: var(--gray-500); }

/* --- Services hub card: glass variant --- */
.svc-card--link {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.svc-card--link:hover {
  border-color: rgba(198, 40, 40, 0.4);
  box-shadow: 0 30px 60px -20px rgba(198, 40, 40, 0.25), 0 0 0 1px rgba(198, 40, 40, 0.15);
  transform: translateY(-8px);
}
.svc-card--link .svc-card__body { background: transparent; }
.svc-card--link h3 { color: #fff; }
.svc-card--link p { color: rgba(255, 255, 255, 0.62); }
.svc-card--link .svc-card__num { color: rgba(255, 255, 255, 0.3); }

/* --- Teaser cards: enhance with red-tinted hover --- */
.teaser {
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.teaser:hover {
  box-shadow: 0 30px 60px -20px rgba(198, 40, 40, 0.3);
  border-color: rgba(198, 40, 40, 0.4);
}

/* --- Page CTA: richer gradient + glowing accent --- */
.page-cta {
  position: relative;
  background:
    radial-gradient(ellipse 900px 450px at 50% 0%, rgba(198, 40, 40, 0.32), transparent 62%),
    radial-gradient(ellipse 700px 400px at 20% 110%, rgba(100, 100, 120, 0.08), transparent 60%),
    linear-gradient(135deg, #0a0b0e 0%, #16171d 100%);
  overflow: hidden;
}
.page-cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.page-cta .container { position: relative; z-index: 1; }
.page-cta__title {
  background: linear-gradient(180deg, #ffffff 0%, #d5d7dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* --- Process-inline steps: bordered lines on dark --- */
.process-inline__step {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.process-inline__step:first-child { border-top: 0; }
.process-inline__step h4 { color: #fff; }
.process-inline__step p { color: rgba(255, 255, 255, 0.62); }
.process-inline__step > span {
  background: linear-gradient(180deg, var(--red-400), var(--red-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* --- Reveal stagger on subpage grids --- */
.reveal--visible.service-list__item { transition-delay: calc(var(--i, 0) * 0.06s); }
.reveal--visible.about-pillar { transition-delay: calc(var(--i, 0) * 0.08s); }
.reveal--visible.credential { transition-delay: calc(var(--i, 0) * 0.05s); }
.reveal--visible.jurisdictions__col { transition-delay: calc(var(--i, 0) * 0.1s); }
.reveal--visible.process-inline__step { transition-delay: calc(var(--i, 0) * 0.1s); }
.reveal--visible.teaser { transition-delay: calc(var(--i, 0) * 0.08s); }
.reveal--visible.contact__block { transition-delay: calc(var(--i, 0) * 0.08s); }

/* --- Portfolio page: work gallery on light, with red glow --- */
body.page--light .work {
  background:
    radial-gradient(ellipse 1000px 400px at 50% 0%, rgba(198, 40, 40, 0.04), transparent 60%),
    linear-gradient(180deg, #f5f6f8 0%, #ececef 50%, #f5f6f8 100%);
  padding: clamp(60px, 6vw, 100px) 0 clamp(80px, 8vw, 120px);
}
body.page--light .work::before {
  background:
    radial-gradient(ellipse 1200px 500px at 50% 50%, rgba(198, 40, 40, 0.03), transparent 60%);
}
body.page--light .work__item {
  border: 1px solid rgba(20, 20, 30, 0.05);
}
body.page--light .work__item:hover {
  box-shadow: 0 24px 60px -10px rgba(198, 40, 40, 0.25);
  border-color: rgba(198, 40, 40, 0.25);
}

/* ============================================================
   ALTERNATING RHYTHM OVERRIDE
   .page-section (default)  = LIGHT
   .page-section--alt       = DARK (glass, red glow)
   .page-hero, .page-cta    = DARK
   .credentials             = LIGHT
   .services-hub            = LIGHT
   Everything else preserved.
   ============================================================ */

/* --- Default .page-section as LIGHT --- */
.page-section {
  background: linear-gradient(180deg, #f5f6f8 0%, #ececef 50%, #f5f6f8 100%);
  color: var(--gray-900);
}
.page-section::before {
  background:
    radial-gradient(ellipse 900px 450px at 20% 0%, rgba(198, 40, 40, 0.04), transparent 60%),
    radial-gradient(ellipse 700px 350px at 80% 100%, rgba(150, 155, 170, 0.03), transparent 60%);
}
.page-section .section__title {
  background: linear-gradient(180deg, var(--gray-900) 0%, var(--gray-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.page-section .section__eyebrow { color: var(--red-500); }
.page-section .page-prose { color: var(--gray-700); }

/* Cards on LIGHT page-section: white with soft shadow, red glow on hover */
.page-section .service-list__item,
.page-section .about-pillar,
.page-section .jurisdictions__col {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(20, 20, 30, 0.08);
  box-shadow: 0 8px 24px -12px rgba(20, 20, 30, 0.08);
  color: var(--gray-900);
}
.page-section .service-list__item:hover,
.page-section .about-pillar:hover,
.page-section .jurisdictions__col:hover {
  background: #fff;
  border-color: rgba(198, 40, 40, 0.3);
  box-shadow:
    0 24px 60px -20px rgba(198, 40, 40, 0.22),
    0 0 0 1px rgba(198, 40, 40, 0.12);
  transform: translateY(-4px);
}
.page-section .service-list__item h3,
.page-section .about-pillar h3,
.page-section .jurisdictions__col h4 { color: var(--gray-900); }
.page-section .service-list__item p,
.page-section .about-pillar p { color: var(--gray-600); }
.page-section .jurisdictions__col li { color: var(--gray-700); }
.page-section .jurisdictions__note { color: var(--gray-500); }

/* Process-inline on light */
.page-section .process-inline__step { border-top-color: rgba(20, 20, 30, 0.08); }
.page-section .process-inline__step h4 { color: var(--gray-900); }
.page-section .process-inline__step p { color: var(--gray-600); }
.page-section .process-inline__step > span {
  background: linear-gradient(180deg, var(--red-400), var(--red-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* About-area on light */
.page-section .about-area__text .page-prose { color: var(--gray-700); }
.page-section .about-area__list {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(20, 20, 30, 0.08);
  border-left: 3px solid var(--red-500);
  box-shadow: 0 20px 50px -20px rgba(198, 40, 40, 0.12);
}
.page-section .about-area__list h4 { color: var(--gray-700); }
.page-section .about-area__list li { color: var(--gray-700); }

/* --- Credentials section: LIGHT (was dark) for rhythm --- */
.credentials {
  background: linear-gradient(180deg, #f5f6f8 0%, #ececef 50%, #f5f6f8 100%);
  color: var(--gray-900);
}
.credentials::before {
  background: radial-gradient(ellipse 1000px 500px at 50% 50%, rgba(198, 40, 40, 0.05), transparent 60%);
}
.credentials .section__eyebrow { color: var(--red-500); }
.credentials .section__title {
  background: linear-gradient(180deg, var(--gray-900) 0%, var(--gray-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.credentials__lead { color: var(--gray-600); }
.credential {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(20, 20, 30, 0.08);
  box-shadow: 0 8px 24px -12px rgba(20, 20, 30, 0.08);
}
.credential:hover {
  background: #fff;
  border-color: rgba(198, 40, 40, 0.35);
  box-shadow:
    0 24px 60px -20px rgba(198, 40, 40, 0.22),
    0 0 0 1px rgba(198, 40, 40, 0.12);
  transform: translateY(-3px);
}
.credential h3 { color: var(--gray-900); }
.credential p { color: var(--gray-600); }
.credentials__note { color: var(--gray-600); }
.credentials__note a { color: var(--red-500); }

/* --- Services hub: LIGHT --- */
.services-hub {
  background: linear-gradient(180deg, #f5f6f8 0%, #ececef 50%, #f5f6f8 100%);
}
.services-hub::before {
  background: radial-gradient(ellipse 1200px 600px at 50% 100%, rgba(198, 40, 40, 0.05), transparent 60%);
}
.svc-card--link {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(20, 20, 30, 0.08);
  box-shadow: 0 8px 24px -12px rgba(20, 20, 30, 0.08);
}
.svc-card--link:hover {
  border-color: rgba(198, 40, 40, 0.3);
  box-shadow:
    0 30px 60px -20px rgba(198, 40, 40, 0.22),
    0 0 0 1px rgba(198, 40, 40, 0.12);
}
.svc-card--link h3 { color: var(--gray-900); }
.svc-card--link p { color: var(--gray-600); }
.svc-card--link .svc-card__num { color: var(--gray-400); }

/* --- Page-section--alt stays DARK (contrast island) --- */
.page-section--alt {
  background:
    radial-gradient(ellipse 1200px 500px at 50% 0%, rgba(198, 40, 40, 0.12), transparent 60%),
    linear-gradient(180deg, #0f1014 0%, #15161c 100%);
  color: #e8e9ec;
}
.page-section--alt::before {
  background:
    radial-gradient(ellipse 600px 300px at 10% 110%, rgba(198, 40, 40, 0.08), transparent 60%);
}
.page-section--alt .section__title {
  background: linear-gradient(180deg, #ffffff 0%, #c0c3ca 60%, #9a9da5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.page-section--alt .section__eyebrow { color: var(--red-300); }
.page-section--alt .page-prose { color: rgba(255, 255, 255, 0.68); }

/* Cards on DARK alt sections: glass morphism */
.page-section--alt .service-list__item,
.page-section--alt .about-pillar,
.page-section--alt .jurisdictions__col {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  color: #e8e9ec;
}
.page-section--alt .service-list__item:hover,
.page-section--alt .about-pillar:hover,
.page-section--alt .jurisdictions__col:hover {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(198, 40, 40, 0.4);
  box-shadow:
    0 24px 60px -20px rgba(198, 40, 40, 0.25),
    0 0 0 1px rgba(198, 40, 40, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.page-section--alt .service-list__item h3,
.page-section--alt .about-pillar h3,
.page-section--alt .jurisdictions__col h4 { color: #fff; }
.page-section--alt .service-list__item p,
.page-section--alt .about-pillar p { color: rgba(255, 255, 255, 0.62); }
.page-section--alt .jurisdictions__col li { color: rgba(255, 255, 255, 0.72); }
.page-section--alt .jurisdictions__note { color: rgba(255, 255, 255, 0.5); }

/* Process-inline on dark alt */
.page-section--alt .process-inline__step { border-top-color: rgba(255, 255, 255, 0.08); }
.page-section--alt .process-inline__step h4 { color: #fff; }
.page-section--alt .process-inline__step p { color: rgba(255, 255, 255, 0.62); }

/* About-area on dark alt */
.page-section--alt .about-area__text .page-prose { color: rgba(255, 255, 255, 0.65); }
.page-section--alt .about-area__list {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--red-500);
  box-shadow: 0 24px 60px -20px rgba(198, 40, 40, 0.15);
}
.page-section--alt .about-area__list h4 { color: rgba(255, 255, 255, 0.75); }
.page-section--alt .about-area__list li { color: rgba(255, 255, 255, 0.72); }

/* --- Mobile nav on dark subpages --- */
@media (max-width: 768px) {
  body.page--light .nav__links {
    background: rgba(10, 11, 14, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  body.page--light .nav__links--open .nav__link { color: rgba(255, 255, 255, 0.85); }
}

/* ========================================
   SHINE-PASS EFFECT — a diagonal light sweep on hover
   Injected via JS (see initShine) into buttons and cards.
   ======================================== */
.shine {
  position: absolute;
  top: -50%;
  left: -75%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    100deg,
    transparent 30%,
    rgba(255, 255, 255, 0.38) 50%,
    transparent 70%
  );
  transform: skewX(-18deg);
  transition: left 1.5s var(--ease);
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: overlay;
}
/* Trigger the sweep on hover of any parent container that has a .shine child */
.btn:hover > .shine,
.svc-card:hover > .shine,
.svc-card--link:hover > .shine,
.service-list__item:hover > .shine,
.about-pillar:hover > .shine,
.credential:hover > .shine,
.jurisdictions__col:hover > .shine,
.contact__block:hover > .shine,
.teaser:hover > .shine,
.work__item:hover > .shine,
.about__cap:hover > .shine,
.area__col:hover > .shine {
  left: 130%;
}

/* Dark-context cards need a whiter sheen to read on black */
.service-list__item .shine,
.about-pillar .shine,
.credential .shine,
.jurisdictions__col .shine,
.contact__block .shine,
.about__cap .shine,
.area__col .shine {
  background: linear-gradient(
    100deg,
    transparent 30%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 70%
  );
  mix-blend-mode: screen;
}

/* Reduce motion respect */
@media (prefers-reduced-motion: reduce) {
  .shine { display: none; }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__media { order: -1; }
  .contact__grid { grid-template-columns: 1fr; }

  /* Subpages */
  .page-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-grid--reverse .page-grid__text { order: 1; }
  .page-grid--reverse .page-grid__image { order: 2; }
  .page-grid__image img { aspect-ratio: 16/10; }
  .about-pillars { grid-template-columns: 1fr 1fr; }
  .about-area { grid-template-columns: 1fr; }
  .credentials__grid { grid-template-columns: repeat(2, 1fr); }
  .service-list { grid-template-columns: 1fr 1fr; }
  .teaser-grid { grid-template-columns: 1fr 1fr; }
  .jurisdictions { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links {
    display: none; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,0.9);
    padding: 24px; gap: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  }
  .nav__links--open { display: flex; }
  .nav__links--open .nav__link { color: var(--gray-700); }
  .nav__cta { margin-left: 0; width: 100%; }
  .nav__toggle { display: flex; }

  .hero__headline { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .hero__scroll { display: none; }

  .work__gallery { grid-template-columns: 1fr 1fr; }
  .work__item--lg { grid-column: span 2; }
  .svc-grid { grid-template-columns: 1fr; }

  .process__track { grid-template-columns: 1fr 1fr; }
  .area__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .partner__card { padding: 48px 24px; }

  .footer__top { flex-direction: column; gap: 40px; }
  .footer__cols { gap: 48px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Subpages on mobile */
  .about-pillars { grid-template-columns: 1fr; }
  .credentials__grid { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .teaser-grid { grid-template-columns: 1fr; gap: 16px; }
  .process-inline__step { grid-template-columns: 60px 1fr; gap: 16px; }
  .process-inline__step > span { font-size: 1.3rem; }
  .page-hero { padding-top: calc(var(--nav-h, 80px) + 40px); }
}

@media (max-width: 480px) {
  .work__gallery { grid-template-columns: 1fr; }
  .work__item--lg { grid-column: span 1; aspect-ratio: 4/3; }
  .process__track { grid-template-columns: 1fr; }
  .footer__cols { flex-direction: column; gap: 32px; }
}

/* ========================================
   MOBILE POLISH — small-screen tuning for all sections
   ======================================== */
@media (max-width: 768px) {
  /* --- Splash screen: shrink logo, tagline, orbs for smaller viewports --- */
  .splash__logo-svg { width: 240px; }
  .splash__tagline { font-size: 1rem; letter-spacing: 0.24em; margin-top: 28px; }
  .splash__line { width: 140px; margin-top: 28px; }
  .splash__glow { width: 460px; height: 460px; }
  .splash__orb--tl,
  .splash__orb--tr,
  .splash__orb--bl,
  .splash__orb--br { width: 220px; height: 220px; filter: blur(32px); }
  .splash__orb--c1 { width: 140px; height: 140px; filter: blur(32px); }

  /* --- Mobile nav: dark glass menu (premium, matches site vibe on all pages) --- */
  .nav__links {
    background: rgba(10, 11, 14, 0.96);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 28px 24px;
    gap: 20px;
  }
  .nav__links .nav__link,
  .nav__links--open .nav__link {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    padding: 10px 0;
  }
  .nav__cta { margin-top: 8px; text-align: center; }

  /* --- Subpage page-hero --- */
  .page-hero {
    padding-top: calc(var(--nav-h, 80px) + 32px);
    padding-bottom: 48px;
  }
  .page-hero__title {
    font-size: clamp(1.75rem, 7.2vw, 2.4rem);
    line-height: 1.12;
    margin-bottom: 18px;
  }
  .page-hero__lead { font-size: 0.98rem; line-height: 1.6; }
  .page-hero__eyebrow { font-size: 0.7rem; margin-bottom: 14px; }

  /* --- Page sections --- */
  .page-section { padding: 56px 0; }
  .page-section__cta { margin-top: 28px; }
  .section__title { font-size: clamp(1.5rem, 6.5vw, 2.1rem); margin-bottom: 28px; line-height: 1.15; }
  .section__eyebrow { font-size: 0.7rem; margin-bottom: 12px; }
  .page-prose { font-size: 0.96rem; line-height: 1.65; }

  /* --- Card padding + heading sizes on mobile --- */
  .service-list__item,
  .about-pillar,
  .credential,
  .jurisdictions__col,
  .contact__block { padding: 22px; }
  .service-list__item h3,
  .about-pillar h3,
  .credential h3,
  .contact__block h3 { font-size: 1rem; }
  .service-list__item p,
  .about-pillar p,
  .credential p,
  .contact__block p { font-size: 0.9rem; }

  /* --- Page-grid image on mobile --- */
  .page-grid__image img { aspect-ratio: 16/10; border-radius: 14px; }
  .page-grid { gap: 32px; }

  /* --- About area list (left-accent red card) --- */
  .about-area__list { padding: 22px; }
  .about-area__list h4 { font-size: 0.78rem; }
  .about-area__list li { font-size: 0.9rem; padding-left: 16px; }

  /* --- Breadcrumb smaller on mobile --- */
  .breadcrumb { font-size: 0.75rem; margin-bottom: 14px; }
  .breadcrumb span { margin: 0 6px; }

  /* --- Bottom CTA section --- */
  .page-cta { padding: 56px 0; }
  .page-cta__title { font-size: clamp(1.4rem, 6vw, 1.9rem); line-height: 1.2; }
  .page-cta__lead { font-size: 0.95rem; margin-bottom: 24px; }
  .page-cta__actions { flex-direction: column; gap: 12px; align-items: stretch; }
  .page-cta__actions .btn { width: 100%; }

  /* --- Buttons globally on mobile --- */
  .btn { padding: 14px 24px; font-size: 0.9rem; }
  .btn--lg { padding: 16px 28px; font-size: 0.95rem; }
  .btn--full { width: 100%; }

  /* --- Home section titles (capped for small screens) --- */
  .section-title { font-size: clamp(1.7rem, 7vw, 2.3rem); line-height: 1.15; }

  /* --- Home contact card + contact-full form card --- */
  .contact__right { padding: 28px 22px; border-radius: 20px; }
  body.page--light .contact__right { padding: 28px 22px; border-radius: 20px; }

  /* --- Form fields (16px prevents iOS zoom on focus) --- */
  .form__field input,
  .form__field select,
  .form__field textarea { font-size: 16px; padding: 12px 14px; }
  .form__file { padding: 12px 14px; gap: 10px; }
  .form__file-label { font-size: 0.85rem; }
  .form__file-list { font-size: 0.78rem; }
  .form__hint { display: block; margin-left: 0; margin-top: 3px; font-size: 0.72rem; }

  /* --- Home work section --- */
  .work__outro { margin-top: 32px; padding: 0 24px; }
  .work__outro .btn { width: 100%; max-width: 320px; }
  .services__outro { margin-top: 32px; }
  .services__outro .btn { width: 100%; max-width: 320px; }
  .about__cta { margin-top: 24px; }
  .about__cta .btn { width: 100%; }

  /* --- Services hub cards full width --- */
  .services-hub .svc-grid { gap: 16px; }
  .svc-card--link .svc-card__body { padding: 22px; }

  /* --- Area cards (home) --- */
  .area__col { padding: 28px 24px; }
  .area__col h3 { font-size: 1.05rem; }

  /* --- About caps (home) --- */
  .about__cap { padding: 18px 20px; gap: 14px; }
  .about__num { font-size: 1.1rem; width: 36px; }
  .about__cap strong { font-size: 0.95rem; }
  .about__cap span { font-size: 0.82rem; }

  /* --- Inline process steps --- */
  .process-inline { margin-top: 28px; gap: 14px; }
  .process-inline__step { grid-template-columns: 50px 1fr; gap: 14px; padding: 18px 0; }
  .process-inline__step > span { font-size: 1.2rem; }
  .process-inline__step h4 { font-size: 0.98rem; }
  .process-inline__step p { font-size: 0.88rem; }

  /* --- Teaser grid --- */
  .teaser-grid { margin-top: 28px; }
  .teaser { aspect-ratio: 5/3; border-radius: 12px; }
  .teaser span { font-size: 0.8rem; left: 12px; right: 12px; bottom: 10px; }

  /* --- Jurisdictions --- */
  .jurisdictions { margin-top: 28px; gap: 16px; }
  .jurisdictions__col { padding: 22px; }

  /* --- Credentials --- */
  .credentials__grid { gap: 14px; margin-top: 24px; }
  .credentials__lead { font-size: 0.95rem; margin-bottom: 28px; }
  .credentials__note { font-size: 0.88rem; margin-top: 24px; }

  /* --- About pillars heading size --- */
  .about-pillars { gap: 14px; margin-top: 28px; }

  /* --- Footer --- */
  .footer__logo { width: 120px; }
  .footer__brand p { font-size: 0.9rem; }
  .footer__col h4 { font-size: 0.85rem; margin-bottom: 12px; }
  .footer__col a { font-size: 0.92rem; padding: 6px 0; }

  /* --- Shine effect speed/strength (faster on small screens, feels less laggy) --- */
  .shine { transition: left 1.1s var(--ease); }

  /* --- Contact info blocks on /contact/ --- */
  .contact__block { padding: 22px; }
  .contact__big { font-size: clamp(1.1rem, 5vw, 1.4rem); }
  .contact__meta { font-size: 0.88rem; }
}

@media (max-width: 480px) {
  /* Splash — even smaller for tiny screens */
  .splash__logo-svg { width: 200px; }
  .splash__tagline { font-size: 0.85rem; letter-spacing: 0.2em; margin-top: 22px; }
  .splash__line { width: 120px; }
  .splash__glow { width: 360px; height: 360px; }
  .splash__orb--tl,
  .splash__orb--tr,
  .splash__orb--bl,
  .splash__orb--br { width: 180px; height: 180px; }
  .splash__orb--c1 { width: 120px; height: 120px; }

  /* Typography floor */
  .page-hero__title { font-size: 1.7rem; }
  .section__title { font-size: 1.35rem; margin-bottom: 22px; }
  .section-title { font-size: 1.6rem; }
  .page-cta__title { font-size: 1.4rem; }

  /* Compact section padding on very small screens */
  .page-section { padding: 48px 0; }
  .page-cta { padding: 48px 0; }
  .services-hub { padding: 48px 0 56px; }
  .contact-full { padding: 48px 0 64px; }

  /* Smaller card paddings */
  .service-list__item,
  .about-pillar,
  .credential,
  .jurisdictions__col,
  .contact__block { padding: 18px; }
  .area__col { padding: 22px 18px; }
  .about__cap { padding: 16px 18px; }
  .about-area__list { padding: 18px; }

  /* Container padding */
  .container { padding: 0 20px; }
}

/* === LARGE SCREENS (1440px+) === */
@media (min-width: 1440px) {
  .work__gallery { gap: 10px; }
  .process__track { gap: 28px; }
}

/* === EXTRA LARGE (1920px+) === */
@media (min-width: 1920px) {
  .container { max-width: 1600px; }
  .svc-accordion { border-radius: 32px; }
  .process__step { border-radius: 32px; }
  .area__col { border-radius: 32px; }
  .partner__card { border-radius: 32px; }
  .contact__right { border-radius: 32px; }
}
