/* ============================================================
   DESIGN SYSTEM v2: Simplicity Title, LLC
   ELEVATED — Award-tier, Dribbble-featurable
   Palette: Deep navy/slate + teal accent #00a1b1 + white
   Type: Cormorant Garamond (display serif) + Inter (body sans)
   ============================================================ */

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

:root {
  /* --- Slate/Dark scale --- */
  --slate-950: #0b0e14;
  --slate-900: #131720;
  --slate-800: #1e2330;
  --slate-700: #2d3344;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;

  /* --- White tones --- */
  --white: #ffffff;
  --off-white: #f9fafb;
  --warm-white: #fafbfd;

  /* --- Teal accent (brand) --- */
  --teal-600: #009aa7;
  --teal-500: #00a1b1;
  --teal-400: #22c3d3;
  --teal-300: #5dd4e0;
  --teal-200: #99e6ee;
  --teal-glow: rgba(0, 161, 177, 0.12);
  --teal-subtle: rgba(0, 161, 177, 0.05);

  /* --- Navy (hero/dark sections) --- */
  --navy-950: #080d18;
  --navy-900: #0c1425;
  --navy-800: #111d36;
  --navy-700: #192d4d;
  --navy-600: #1e3a5f;

  /* --- Gold accent (secondary — premium feel) --- */
  --gold-500: #c5a55a;
  --gold-400: #d4b96a;
  --gold-300: #e5d49e;

  /* --- Status --- */
  --success: #22c55e;
  --warning: #f59e0b;

  /* --- Shadows --- */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.03);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.12);
  --shadow-teal: 0 4px 24px rgba(0,161,177,0.25);

  /* --- Type scale (fluid) --- */
  --fs-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  --fs-sm: clamp(0.8125rem, 0.75rem + 0.3vw, 0.875rem);
  --fs-base: clamp(0.9375rem, 0.85rem + 0.4vw, 1rem);
  --fs-lg: clamp(1.0625rem, 0.95rem + 0.5vw, 1.125rem);
  --fs-xl: clamp(1.25rem, 1.1rem + 0.7vw, 1.375rem);
  --fs-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  --fs-3xl: clamp(1.875rem, 1.3rem + 2.5vw, 2.875rem);
  --fs-4xl: clamp(2.25rem, 1.4rem + 3.8vw, 3.625rem);
  --fs-5xl: clamp(2.75rem, 1.5rem + 5.5vw, 4.5rem);

  /* --- Spacing --- */
  --section-py: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --container-px: clamp(1.25rem, 1rem + 2vw, 3rem);
  --container-max: 1200px;

  /* --- Transitions --- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration: 0.5s;
  --duration-fast: 0.3s;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--slate-600);
  background: var(--white);
  overflow-x: hidden;
}

.serif { font-family: 'Cormorant Garamond', 'Georgia', serif; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  color: var(--slate-800);
  line-height: 1.12;
  font-weight: 600;
}

a { color: var(--teal-500); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal-600); }

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

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

/* Label chip */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--teal-500);
}

.section-title {
  font-size: var(--fs-3xl);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: var(--fs-lg);
  color: var(--slate-500);
  max-width: 600px;
  line-height: 1.6;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  letter-spacing: 0.02em;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-400) 0%, var(--teal-600) 100%);
  color: var(--white) !important;
  box-shadow: 0 2px 12px rgba(0, 161, 177, 0.3);
  text-decoration: none !important;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
  color: var(--white) !important;
}

.btn-outline {
  background: transparent;
  color: var(--slate-700);
  border: 1.5px solid var(--slate-300);
}
.btn-outline:hover {
  border-color: var(--teal-500);
  color: var(--teal-500);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline-light:hover {
  border-color: var(--teal-400);
  color: var(--teal-400);
  background: rgba(255,255,255,0.03);
}

.btn-sm { padding: 0.625rem 1.5rem; font-size: var(--fs-xs); }
.btn-lg { padding: 1rem 2.5rem; font-size: var(--fs-base); }

.btn-white {
  background: var(--white);
  color: var(--slate-800);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--teal-600);
}

/* ============================================================
   UTILITY BAR (above main nav)
   ============================================================ */
.utility-bar {
  background: var(--navy-900);
  color: rgba(255,255,255,0.8);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  position: relative;
  z-index: 1001;
}
.utility-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.5rem var(--container-px);
}
.utility-left,
.utility-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.utility-bar a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
}
.utility-bar a:hover { color: var(--teal-400); }
.utility-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
  color: var(--white);
}
.utility-phone svg { width: 13px; height: 13px; flex-shrink: 0; }
.utility-offices {
  color: rgba(255,255,255,0.55);
  font-size: 0.6875rem;
}
.utility-divider {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.15);
}
.utility-right a {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(226,231,239,0.25);
  transition: background 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out),
              border-color 0.4s var(--ease-out),
              top 0.35s var(--ease-out);
  background: transparent;
}
/* When page is at top (no scroll) over dark hero, keep header transparent */
/* Frosted glass kicks in on scroll */
.site-header.scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom-color: rgba(226,231,239,0.5);
  box-shadow: 0 1px 24px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  transition: height 0.4s var(--ease-out);
}
.header-inner > .logo-link { justify-self: start; }
.header-inner > nav { justify-self: center; }
.header-inner > .nav-toggle { justify-self: end; }
.site-header.scrolled .header-inner { height: 62px; }

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}
.logo-link:hover { opacity: 0.85; transform: scale(1.03); }
.logo-img {
  height: 36px;
  width: auto;
  transition: height 0.4s var(--ease-out);
}
.site-header.scrolled .logo-img { height: 30px; }

/* --- Nav link default: white text when over dark hero (transparent header) --- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}
.nav-links > li > a {
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--white);
  transition: color 0.25s;
  position: relative;
  padding: 0.25rem 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
/* Animated teal underline: slides from left */
.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--teal-400);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease-out);
}
.nav-links > li > a:hover { color: var(--white); text-shadow: none; }
.nav-links > li > a:hover::after { transform: scaleX(1); }
.nav-links > li > a.active { color: var(--white); font-weight: 600; }
.nav-links > li > a.active::after { transform: scaleX(1); }

/* --- Once scrolled, switch nav text to dark --- */
.site-header.scrolled .nav-links > li > a {
  color: var(--slate-600);
  text-shadow: none;
}
.site-header.scrolled .nav-links > li > a:hover { color: var(--slate-800); }
.site-header.scrolled .nav-links > li > a.active { color: var(--teal-500); }
.site-header.scrolled .nav-links > li > a::after { background: var(--teal-500); }

/* --- CTA button in nav --- */
.nav-cta { position: absolute; right: var(--container-px); top: 50%; transform: translateY(-50%); }
/* Mobile-menu footer (JS-injected) is for the mobile overlay only — hide on desktop */
.mobile-menu-footer { display: none; }
/* Dropdown chevron shows only inside the mobile menu */
.dd-arrow { display: none; }
.nav-cta a.btn {
  background: linear-gradient(135deg, var(--teal-400) 0%, var(--teal-600) 100%);
  color: var(--white) !important;
  text-shadow: none !important;
  border-radius: 50px;
  padding: 0.6rem 1.6rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 12px rgba(0,161,177,0.3);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.nav-cta a.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,161,177,0.35);
}
.nav-cta a::after { display: none !important; }

/* --- Dropdown --- */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.04);
  padding: 0.5rem 0;
  min-width: 190px;
  z-index: 100;
  /* Hidden by default with fade+slide */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out),
              transform 0.25s var(--ease-out),
              visibility 0.25s;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Teal accent bar at top of dropdown */
.nav-dropdown-menu::after {
  content: '';
  position: absolute;
  top: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-400), var(--teal-600));
  border-radius: 2px;
}
/* invisible bridge fills the 12px gap so hover isn't lost moving to the submenu */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.55rem 1.25rem;
  font-size: var(--fs-sm);
  color: var(--slate-600);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
  position: relative;
}
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover {
  color: var(--teal-500);
  background: var(--teal-subtle);
  padding-left: 1.5rem;
}

/* --- Mobile nav toggle --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1010;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s ease, background 0.3s;
  transform-origin: center;
}
.site-header.scrolled .nav-toggle span { background: var(--slate-800); }

/* Hamburger → X animation */
.nav-toggle.is-active span { background: var(--white) !important; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Body scroll lock when mobile menu is open */
body.nav-open { overflow: hidden; position: fixed; width: 100%; }

/* ============================================================
   PAGE HERO (inner pages — with background image)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 150px 0 60px;
  background: var(--navy-950);
  overflow: hidden;
  text-align: center;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,13,24,0.42) 0%, rgba(8,13,24,0.52) 55%, rgba(8,13,24,0.66) 100%);
}
.page-hero .hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.page-hero h1 {
  font-size: var(--fs-4xl);
  color: var(--white);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
}
.page-hero h1 em { font-style: italic; color: var(--teal-300); }
.page-hero .hero-subhead {
  font-size: var(--fs-xl);
  color: var(--slate-300);
  line-height: 1.55;
  max-width: 620px;
  margin: 0 auto;
  font-weight: 300;
  position: relative;
  z-index: 2;
}
.page-hero .hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: 1rem;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.page-hero .hero-label::before {
  content: '';
  width: 32px;
  height: 1.5px;
  background: var(--teal-400);
}
.page-hero .hero-breadcrumb {
  position: relative;
  z-index: 2;
  margin-top: 1rem;
  font-size: var(--fs-xs);
  color: var(--slate-500);
}
.page-hero .hero-breadcrumb a { color: var(--slate-400); }
.page-hero .hero-breadcrumb a:hover { color: var(--teal-400); }

/* ============================================================
   HOMEPAGE HERO — VIDEO BACKGROUND
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-950);
  overflow: hidden;
  padding-top: 104px; /* 72px header + ~32px utility bar */
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-video-bg video,
.hero-video-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(8,13,24,0.82) 0%, rgba(8,13,24,0.6) 40%, rgba(8,13,24,0.75) 100%);
}

/* Teal glow accent */
.hero::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0,161,177,0.06) 0%, transparent 70%);
  top: -200px; right: -200px;
  pointer-events: none;
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,161,177,0.03) 0%, transparent 70%);
  bottom: -100px; left: -100px;
  pointer-events: none;
  z-index: 1;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  padding: clamp(2rem, 3vw, 4rem) 0;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: 1rem;
}
.hero-label::before {
  content: '';
  width: 32px;
  height: 1.5px;
  background: var(--teal-400);
}

.hero h1 {
  font-size: var(--fs-5xl);
  color: var(--white);
  font-weight: 600;
  margin-bottom: 1.25rem;
  line-height: 1.06;
}
.hero h1 em { font-style: italic; color: var(--teal-300); }

.hero-subhead {
  font-size: var(--fs-xl);
  color: var(--slate-300);
  line-height: 1.55;
  margin-bottom: 2rem;
  max-width: 560px;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Stat strip */
.stat-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stat-item {
  text-align: left;
  flex: 1;
  min-width: 0;
}
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--teal-400);
  line-height: 1;
  margin-bottom: 0.125rem;
}
.stat-label {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--slate-400);
  letter-spacing: 0.02em;
}

/* Audience routing cards */
.audience-section {
  padding: clamp(2rem, 2vw, 3rem) 0;
  background: var(--white);
  border-bottom: 1px solid var(--slate-100);
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.audience-grid.audience-grid-5 {
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.audience-grid-5 .audience-card {
  padding: 1.25rem 1rem;
}
.audience-grid-5 .audience-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  margin-bottom: 0.75rem;
}
.audience-grid-5 .audience-card-icon svg {
  width: 21px;
  height: 21px;
}
.audience-grid-5 .audience-card h3 {
  font-size: var(--fs-sm);
}
.audience-grid-5 .audience-card p {
  font-size: 0.7rem;
}
.audience-card {
  padding: 1.5rem;
  border-radius: 10px;
  border: 1.5px solid var(--slate-200);
  background: var(--white);
  text-align: center;
  transition: all 0.4s var(--ease-out);
  text-decoration: none;
  display: block;
}
.audience-card:hover {
  border-color: var(--teal-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.audience-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.audience-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--teal-400);
}
.audience-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 0.375rem;
}
.audience-card p {
  font-size: var(--fs-xs);
  color: var(--slate-500);
  line-height: 1.5;
}

/* ============================================================
   SERVICES CARDS (inline-icon beside heading)
   ============================================================ */
.services {
  padding: var(--section-py) 0;
}

.services-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.services-header .section-subtitle { margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  padding: 1.75rem;
  border-radius: 10px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  transition: all 0.4s var(--ease-out);
}
.service-card:hover {
  border-color: var(--teal-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-icon svg { width: 20px; height: 20px; color: var(--teal-400); }

.service-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--slate-800);
}

.service-card p {
  font-size: var(--fs-sm);
  color: var(--slate-500);
  line-height: 1.6;
}

.service-turnaround {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.75rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--teal-600);
}
.service-turnaround svg { width: 14px; height: 14px; }

/* ============================================================
   IMAGE + TEXT SPLIT SECTIONS
   ============================================================ */
.split-section {
  padding: var(--section-py) 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 3vw, 4rem);
  align-items: center;
}
.split-grid.reverse { direction: rtl; }
.split-grid.reverse > * { direction: ltr; }

.split-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-image-accent {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 120px;
  height: 120px;
  border-radius: 12px;
  background: var(--teal-500);
  opacity: 0.15;
  z-index: -1;
}

.split-content h2 {
  font-size: var(--fs-3xl);
  margin-bottom: 1.25rem;
}
.split-content p {
  margin-bottom: 1rem;
  line-height: 1.75;
}
.split-content .btn { margin-top: 0.5rem; }

/* ============================================================
   PHOTO-BACKED FEATURE ROW
   ============================================================ */
.photo-feature {
  position: relative;
  padding: var(--section-py) 0;
  background: var(--navy-950);
  overflow: hidden;
}
.photo-feature-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}
.photo-feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,13,24,0.82) 0%, rgba(8,13,24,0.5) 50%, rgba(8,13,24,0.2) 100%);
}
.photo-feature .container { position: relative; z-index: 2; }
.photo-feature h2 { color: var(--white); font-size: var(--fs-3xl); margin-bottom: 1rem; }
.photo-feature p { color: var(--slate-300); max-width: 560px; margin-bottom: 2rem; line-height: 1.7; }

/* ============================================================
   THE SIMPLE ETHOS
   ============================================================ */
.simple-section {
  padding: var(--section-py) 0;
}

.simple-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.simple-header .section-subtitle { margin: 0 auto; }

.simple-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.simple-card {
  padding: 1.75rem;
  border-radius: 10px;
  background: var(--slate-50);
  border: 1px solid transparent;
  transition: all 0.4s var(--ease-out);
}
.simple-card:hover {
  background: var(--white);
  border-color: var(--slate-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.simple-card-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.75rem;
}

.simple-letter {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
}

.simple-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--slate-800);
}

.simple-card p {
  font-size: var(--fs-sm);
  color: var(--slate-500);
  line-height: 1.6;
}

/* ============================================================
   HOW IT WORKS (TIMELINE)
   ============================================================ */
.process {
  padding: var(--section-py) 0;
  background: var(--slate-50);
}

.process-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.process-header .section-subtitle { margin: 0 auto; }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: var(--slate-200);
}

.timeline-step {
  text-align: center;
  position: relative;
  padding: 0 0.75rem;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--teal-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.timeline-step h3 {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 0.5rem;
}

.timeline-step p {
  font-size: var(--fs-sm);
  color: var(--slate-500);
  line-height: 1.55;
}

/* ============================================================
   CREDENTIALS STRIP
   ============================================================ */
.credentials {
  padding: clamp(2.5rem, 3vw, 4rem) 0;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}
.credentials::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cred-item h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--fs-3xl);
  color: var(--teal-400);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.cred-item p {
  font-size: var(--fs-sm);
  color: var(--slate-400);
  font-weight: 500;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: var(--section-py) 0;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.testimonials-header .section-subtitle { margin: 0 auto; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--slate-200);
  position: relative;
  transition: all 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}
.testimonial-stars svg {
  width: 16px;
  height: 16px;
  color: var(--gold-500);
  fill: var(--gold-500);
}

.testimonial-card blockquote {
  font-size: var(--fs-base);
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal-400);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--slate-800);
}
.testimonial-role {
  font-size: var(--fs-xs);
  color: var(--slate-500);
}

.testimonial-placeholder {
  text-align: center;
  padding: 0.5rem 1rem;
  background: var(--teal-subtle);
  border-radius: 6px;
  font-size: var(--fs-xs);
  color: var(--teal-600);
  font-weight: 500;
  margin-top: -0.5rem;
}

/* ============================================================
   COMMUNITY / GIVING BACK
   ============================================================ */
.community {
  padding: clamp(2.5rem, 3vw, 3.5rem) 0;
  background: var(--teal-subtle);
  border-top: 1px solid rgba(0,161,177,0.06);
  border-bottom: 1px solid rgba(0,161,177,0.06);
}
.community-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  flex-direction: column;
}
.community-inner svg { width: 32px; height: 32px; color: var(--teal-500); flex-shrink: 0; }
.community-inner h3 {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 0.25rem;
}
.community-inner p {
  font-size: var(--fs-sm);
  color: var(--slate-500);
  line-height: 1.6;
  max-width: 640px;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq {
  padding: var(--section-py) 0;
}

.faq-header {
  text-align: center;
  margin-bottom: 2rem;
}
.faq-header .section-subtitle { margin: 0 auto; }

.faq-category {
  max-width: 760px;
  margin: 0 auto 2rem;
}
.faq-category-label {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 1rem;
  padding-left: 0;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--slate-200);
  padding: 1.5rem 0;
}
.faq-item:first-child { border-top: 1px solid var(--slate-200); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--slate-800);
  line-height: 1.4;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--slate-400);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}
.faq-item.open .faq-question svg {
  transform: rotate(45deg);
  color: var(--teal-500);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s;
}
.faq-item.open .faq-answer {
  max-height: 600px;
  padding-top: 1rem;
}

.faq-answer p {
  font-size: var(--fs-base);
  color: var(--slate-600);
  line-height: 1.65;
}
.faq-answer p + p { margin-top: 0.75rem; }

/* ============================================================
   CONTACT CTA (dark section)
   ============================================================ */
.contact-cta {
  padding: var(--section-py) 0;
  background: linear-gradient(165deg, var(--navy-950) 0%, var(--navy-800) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.contact-cta::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,161,177,0.05) 0%, transparent 70%);
  top: -200px; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: var(--fs-3xl);
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-content > p {
  font-size: var(--fs-lg);
  color: var(--slate-400);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cta-contact-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--slate-400);
}
.cta-contact-item svg { width: 16px; height: 16px; color: var(--teal-400); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 2.5rem 0 1.5rem;
  background: var(--slate-950);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-brand .logo-img-footer {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: var(--fs-sm);
  color: var(--slate-500);
  max-width: 280px;
  line-height: 1.55;
}

.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 0.75rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { font-size: var(--fs-sm); color: var(--slate-500); transition: color 0.2s; }
.footer-col a:hover { color: var(--teal-400); }

.footer-offices {
  font-size: var(--fs-xs);
  color: var(--slate-500);
  line-height: 1.5;
}
.footer-offices strong {
  color: var(--slate-400);
  font-weight: 600;
  display: block;
  margin-top: 0.5rem;
}
.footer-offices strong:first-child { margin-top: 0; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: var(--fs-xs);
  color: var(--slate-600);
}
.footer-bottom a { color: var(--slate-500); }
.footer-bottom a:hover { color: var(--teal-400); }

/* --- Footer social icons --- */
.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--slate-500);
  transition: color 0.25s, background 0.25s, transform 0.25s var(--ease-out);
}
.footer-social a:hover {
  color: var(--teal-400);
  background: rgba(0, 161, 177, 0.12);
  transform: translateY(-2px);
}
.footer-social svg { width: 18px; height: 18px; }

/* --- Nav parent (non-link dropdown trigger) --- */
.nav-parent {
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--white);
  transition: color 0.25s;
  position: relative;
  padding: 0.25rem 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.15);
  cursor: default;
  user-select: none;
}
.nav-parent::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--teal-400);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease-out);
}
.nav-dropdown:hover .nav-parent::after { transform: scaleX(1); }
.site-header.scrolled .nav-parent {
  color: var(--slate-600);
  text-shadow: none;
}
.site-header.scrolled .nav-parent::after { background: var(--teal-500); }
.site-header.scrolled .nav-dropdown:hover .nav-parent { color: var(--slate-800); }
.nav-parent.active { color: var(--white); font-weight: 600; }
.nav-parent.active::after { transform: scaleX(1); }
.site-header.scrolled .nav-parent.active { color: var(--teal-500); }
.site-header.scrolled .nav-parent.active::after { background: var(--teal-500); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-section {
  padding: var(--section-py) 0;
}

.about-intro {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.about-intro p {
  font-size: var(--fs-lg);
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.about-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 3vw, 4rem);
  align-items: start;
  margin-top: 2rem;
}
.about-team-content h2 {
  font-size: var(--fs-3xl);
  margin-bottom: 1.25rem;
}
.about-team-content p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  padding: var(--section-py) 0;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.office-card {
  padding: 1.75rem;
  border-radius: 10px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  transition: all 0.4s var(--ease-out);
}
.office-card:hover {
  border-color: var(--teal-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.office-card-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
}

.office-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--slate-800);
}

.office-card .office-hq {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--teal-500);
  background: var(--teal-subtle);
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
}

.office-card address {
  font-style: normal;
  font-size: var(--fs-sm);
  color: var(--slate-500);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.office-card .office-contact {
  font-size: var(--fs-xs);
  color: var(--slate-400);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.office-card .office-contact a {
  color: var(--teal-600);
  font-weight: 500;
}

.contact-form-section {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--section-py) var(--container-px);
}

.contact-form-section h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}
.contact-form-section .section-subtitle {
  text-align: center;
  margin: 0 auto 2rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--slate-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--slate-200);
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-base);
  color: var(--slate-800);
  background: var(--white);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: var(--fs-xs);
  color: var(--slate-400);
  text-align: center;
  margin-top: 1rem;
  grid-column: 1 / -1;
}

/* ============================================================
   CALCULATOR PAGE
   ============================================================ */
.calc-section {
  padding: var(--section-py) 0;
}

.calc-container {
  max-width: 960px;
  margin: 0 auto;
}

.calc-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--slate-200);
}

.calc-tab {
  padding: 1rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--slate-500);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}
.calc-tab:hover { color: var(--slate-800); }
.calc-tab.active { color: var(--teal-500); border-bottom-color: var(--teal-500); }

.calc-panel { display: none; }
.calc-panel.active { display: block; }

.calc-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.calc-results {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 1.5rem;
}

.calc-results h3 {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 1rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--slate-200);
}

.calc-line-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0;
  font-size: var(--fs-sm);
  color: var(--slate-600);
  border-bottom: 1px solid var(--slate-100);
}
.calc-line-item:last-child { border-bottom: none; }
.calc-line-item span:last-child {
  font-weight: 600;
  color: var(--slate-800);
  font-variant-numeric: tabular-nums;
}

.calc-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0 0;
  margin-top: 0.5rem;
  border-top: 2px solid var(--slate-800);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--slate-800);
}
.calc-total span:last-child { color: var(--teal-500); font-size: var(--fs-xl); }

.calc-disclaimer {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--teal-subtle);
  border-left: 3px solid var(--teal-500);
  border-radius: 0 8px 8px 0;
  font-size: var(--fs-sm);
  color: var(--slate-600);
  line-height: 1.6;
}
.calc-disclaimer strong { color: var(--slate-800); }

/* Amortization table */
.amort-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1rem;
}
.amort-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
}
.amort-table thead th {
  position: sticky;
  top: 0;
  background: var(--navy-800);
  color: var(--white);
  font-weight: 600;
  padding: 0.625rem 0.75rem;
  text-align: right;
  white-space: nowrap;
}
.amort-table thead th:first-child { text-align: center; border-radius: 6px 0 0 0; }
.amort-table thead th:last-child { border-radius: 0 6px 0 0; }
.amort-table tbody td {
  padding: 0.5rem 0.75rem;
  text-align: right;
  border-bottom: 1px solid var(--slate-100);
  color: var(--slate-600);
}
.amort-table tbody td:first-child { text-align: center; font-weight: 600; color: var(--slate-700); }
.amort-table tbody tr:nth-child(even) { background: var(--slate-50); }
.amort-table tbody tr:hover { background: var(--teal-subtle); }

/* ============================================================
   PRICING PAGE
   ============================================================ */
.pricing-section {
  padding: var(--section-py) 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.pricing-table {
  border-radius: 10px;
  border: 1px solid var(--slate-200);
  overflow: hidden;
}

.pricing-table-header {
  padding: 1.25rem 1.75rem;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
}
.pricing-table-header h3 {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.pricing-table-header p { font-size: var(--fs-xs); color: var(--slate-300); }

.pricing-table-body { padding: 0; }

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 1.75rem;
  border-bottom: 1px solid var(--slate-100);
  font-size: var(--fs-sm);
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row:nth-child(even) { background: var(--slate-50); }
.pricing-row span:first-child { color: var(--slate-600); }
.pricing-row span:last-child { font-weight: 600; color: var(--slate-800); font-variant-numeric: tabular-nums; }

.pricing-note {
  padding: 1.25rem 1.75rem;
  background: var(--teal-subtle);
  font-size: var(--fs-xs);
  color: var(--slate-500);
  line-height: 1.6;
}

.pricing-additional { max-width: 760px; margin: 0 auto; }
.pricing-additional h3 {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 1rem;
}

.pricing-fees-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pricing-fee-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--slate-50);
  border-radius: 8px;
  font-size: var(--fs-sm);
  color: var(--slate-600);
}
.pricing-fee-item svg { width: 18px; height: 18px; color: var(--teal-500); flex-shrink: 0; }

/* ============================================================
   CAREERS PAGE
   ============================================================ */
.careers-section {
  padding: var(--section-py) 0;
}

.careers-intro {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.careers-intro p {
  font-size: var(--fs-lg);
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.job-card {
  max-width: 760px;
  margin: 0 auto 1.25rem;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  transition: all 0.4s var(--ease-out);
}
.job-card:hover { border-color: var(--teal-500); box-shadow: var(--shadow-md); }

.job-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.job-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--slate-800);
}

.job-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--teal-600);
  background: var(--teal-subtle);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}

.job-card p {
  font-size: var(--fs-sm);
  color: var(--slate-500);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.job-responsibilities {
  list-style: none;
  margin-bottom: 1.5rem;
}
.job-responsibilities li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--slate-600);
}
.job-responsibilities li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
}

.job-apply {
  padding-top: 1rem;
  border-top: 1px solid var(--slate-200);
  font-size: var(--fs-sm);
  color: var(--slate-500);
}
.job-apply a { font-weight: 600; }

/* ============================================================
   RESOURCES PAGE
   ============================================================ */
.resource-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.resource-link-card {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
}
.resource-link-card:hover {
  border-color: var(--teal-500);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.resource-link-card svg { width: 20px; height: 20px; color: var(--teal-500); flex-shrink: 0; margin-top: 2px; }
.resource-link-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 0.25rem;
}
.resource-link-card p { font-size: var(--fs-xs); color: var(--slate-500); line-height: 1.5; }

/* Wire fraud guide */
.wire-fraud-guide {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--section-py) 0;
}
.wire-fraud-guide h2 { margin-bottom: 1rem; }
.wire-fraud-guide h3 {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--slate-800);
  margin: 1.5rem 0 0.625rem;
}
.wire-fraud-guide p { margin-bottom: 1rem; line-height: 1.75; }
.wire-fraud-guide ul {
  list-style: none;
  margin: 0 0 1.5rem;
}
.wire-fraud-guide ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.625rem;
  line-height: 1.6;
}
.wire-fraud-guide ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-500);
}

.alert-box {
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.alert-box.warning {
  background: rgba(245,158,11,0.08);
  border-left: 4px solid var(--warning);
  color: var(--slate-700);
}
.alert-box.danger {
  background: rgba(239,68,68,0.06);
  border-left: 4px solid #ef4444;
  color: var(--slate-700);
}
.alert-box strong { color: var(--slate-800); }

/* ============================================================
   INSIGHTS / BLOG PAGE
   ============================================================ */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.insight-card {
  border-radius: 10px;
  border: 1px solid var(--slate-200);
  overflow: hidden;
  background: var(--white);
  transition: all 0.4s var(--ease-out);
}
.insight-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.insight-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--slate-100);
}
.insight-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.insight-card:hover .insight-card-image img { transform: scale(1.05); }

.insight-card-body { padding: 1.25rem; }
.insight-card-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--teal-600);
  background: var(--teal-subtle);
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.insight-card-body h3 {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.insight-card-body p {
  font-size: var(--fs-sm);
  color: var(--slate-500);
  line-height: 1.55;
  margin-bottom: 1rem;
}
.insight-card-meta {
  font-size: var(--fs-xs);
  color: var(--slate-400);
}

/* ============================================================
   ARTICLE / KNOWLEDGE CENTER PAGES
   ============================================================ */
.article-content {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--section-py) 0;
}

.article-content h2 {
  font-size: var(--fs-2xl);
  margin: 2rem 0 0.75rem;
  color: var(--slate-800);
}
.article-content h2:first-child { margin-top: 0; }

.article-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--slate-800);
  margin: 1.5rem 0 0.625rem;
}

.article-content p {
  margin-bottom: 1rem;
  line-height: 1.75;
  color: var(--slate-600);
}

.article-content ul,
.article-content ol {
  margin: 0 0 1.25rem 1.25rem;
  line-height: 1.7;
  color: var(--slate-600);
}
.article-content li { margin-bottom: 0.5rem; }

.article-content strong { color: var(--slate-700); }

.article-content a {
  color: var(--teal-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-content a:hover { color: var(--teal-600); }

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--slate-200);
  font-size: var(--fs-sm);
  color: var(--slate-500);
}
.article-meta .article-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--teal-600);
  background: var(--teal-subtle);
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
}

.article-callout {
  padding: 1.5rem 2rem;
  background: var(--teal-subtle);
  border-left: 3px solid var(--teal-500);
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
  font-size: var(--fs-base);
  color: var(--slate-700);
  line-height: 1.65;
}
.article-callout strong { color: var(--slate-800); }

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--teal-500);
  margin-bottom: 1.5rem;
}
.article-back:hover { color: var(--teal-600); }
.article-back svg { width: 16px; height: 16px; }

.article-cta-box {
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-radius: 12px;
  text-align: center;
}
.article-cta-box h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--fs-2xl);
  color: var(--white);
  margin-bottom: 0.75rem;
}
.article-cta-box p {
  color: var(--slate-300);
  font-size: var(--fs-sm);
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.article-cta-box .btn { margin: 0 0.5rem; }

/* Gallery grid (About page) */
.gallery-section {
  padding: var(--section-py) 0;
  background: var(--white);
}
.gallery-header {
  text-align: center;
  margin-bottom: 2rem;
}
.gallery-header .section-subtitle { margin: 0 auto; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: default;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1rem 0.75rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-caption { opacity: 1; }
}

/* ============================================================
   GALLERY PAGE (dedicated page with lightbox)
   ============================================================ */
.gallery-page-section {
  padding: var(--section-py) 0;
  background: var(--white);
}
.gallery-page-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.gallery-page-header .section-subtitle { margin: 0 auto; }

.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.125rem;
}

.gp-tile {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--slate-100);
}
.gp-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out), filter 0.3s;
}
.gp-tile:hover img {
  transform: scale(1.06);
  filter: brightness(0.85);
}
.gp-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 0.75rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--white);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
}
.gp-tile:hover .gp-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Video tile play button overlay */
.gp-video-tile .gp-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}
.gp-play-overlay svg {
  width: 64px;
  height: 48px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35));
  opacity: 0.88;
  transition: opacity 0.3s, transform 0.3s var(--ease-spring);
}
.gp-video-tile:hover .gp-play-overlay svg {
  opacity: 1;
  transform: scale(1.12);
}

/* Gallery page responsive */
@media (max-width: 1024px) {
  .gallery-page-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-page-grid { grid-template-columns: 1fr; }
  .gp-caption { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   NESTED ALBUM GALLERY (album grid + album detail + photo grid)
   ============================================================ */

/* --- Album card grid (landing view) --- */
.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.album-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  border: 1px solid var(--slate-100);
}
.album-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.album-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--slate-100);
}
.album-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.4s;
}
.album-card:hover .album-card-img img {
  transform: scale(1.08);
  filter: brightness(0.75);
}

.album-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s;
}
.album-card:hover .album-card-overlay {
  opacity: 1;
}

.album-card-view {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  background: rgba(0, 161, 177, 0.92);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 100px;
  backdrop-filter: blur(6px);
  transform: translateY(8px);
  transition: transform 0.35s var(--ease-out);
}
.album-card:hover .album-card-view {
  transform: translateY(0);
}

.album-card-overlay--video {
  background: rgba(0, 0, 0, 0.25);
  opacity: 1;
}
.album-card-play {
  display: flex;
  align-items: center;
  justify-content: center;
}
.album-card-play svg {
  width: 64px;
  height: 48px;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.4));
  opacity: 0.9;
  transition: opacity 0.3s, transform 0.3s var(--ease-spring);
}
.album-card:hover .album-card-play svg {
  opacity: 1;
  transform: scale(1.12);
}

.album-card-info {
  padding: 1rem 1.25rem 1.125rem;
}
.album-card-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--slate-800);
  line-height: 1.25;
  margin-bottom: 0.25rem;
}
.album-card-count {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-xs);
  color: var(--slate-500);
  font-weight: 500;
}
.album-card-count svg {
  flex-shrink: 0;
  color: var(--teal-500);
}

/* Album grid responsive */
@media (max-width: 1024px) {
  .album-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
@media (max-width: 600px) {
  .album-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* --- Album detail view (opened album) --- */
.album-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 1px solid var(--slate-200);
  color: var(--slate-600);
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: 0.5rem 1.125rem 0.5rem 0.875rem;
  border-radius: 100px;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
  margin-bottom: 1.25rem;
}
.album-back-btn:hover {
  border-color: var(--teal-500);
  color: var(--teal-600);
  background: var(--teal-subtle);
}
.album-back-btn svg {
  flex-shrink: 0;
}

.album-detail-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--slate-800);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}
.album-detail-count {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-sm);
  color: var(--slate-500);
  margin-bottom: 1.5rem;
}

/* --- Album photo grid (thumbnails inside album detail) --- */
.album-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.album-thumb {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--slate-100);
  cursor: pointer;
}
.album-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out), filter 0.3s;
}
.album-thumb:hover img {
  transform: scale(1.06);
  filter: brightness(0.82);
}

/* Video thumb inside album detail */
.album-thumb--video {
  aspect-ratio: 16/9;
}
.album-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}
.album-thumb-play svg {
  width: 56px;
  height: 42px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35));
  opacity: 0.88;
  transition: opacity 0.3s, transform 0.3s var(--ease-spring);
}
.album-thumb--video:hover .album-thumb-play svg {
  opacity: 1;
  transform: scale(1.12);
}

/* Album photo grid responsive */
@media (max-width: 1024px) {
  .album-photo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .album-photo-grid { grid-template-columns: repeat(2, 1fr); gap: 0.625rem; }
}
@media (max-width: 480px) {
  .album-photo-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .album-thumb { border-radius: 6px; }
}

/* ============================================================
   LIGHTBOX (fullscreen overlay)
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 8, 15, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
  padding: 1rem;
}
.lightbox.lb-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lb-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  z-index: 10;
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 2.5rem;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  transition: color 0.2s, transform 0.2s;
}
.lb-close:hover {
  color: var(--white);
  transform: scale(1.15);
}

.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  line-height: 1;
  padding: 0;
}
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
.lb-prev:hover, .lb-next:hover {
  background: rgba(0,161,177,0.25);
  color: var(--white);
  transform: translateY(-50%) scale(1.08);
}

.lb-content {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 80vh;
  position: relative;
}

.lb-img {
  max-width: 90vw;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.5);
  animation: lbFadeIn 0.3s var(--ease-out);
}

.lb-iframe {
  width: min(90vw, 960px);
  height: min(50.625vw, 540px); /* 16:9 aspect */
  border-radius: 6px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.5);
  animation: lbFadeIn 0.3s var(--ease-out);
}

@keyframes lbFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.lb-caption {
  margin-top: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-align: center;
  max-width: 600px;
}

.lb-counter {
  margin-top: 0.375rem;
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.4);
  text-align: center;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .lb-prev, .lb-next { width: 40px; height: 40px; font-size: 1.5rem; }
  .lb-prev { left: 0.5rem; }
  .lb-next { right: 0.5rem; }
  .lb-close { top: 0.5rem; right: 0.75rem; font-size: 2rem; }
  .lb-iframe {
    width: 92vw;
    height: 51.75vw;
  }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .simple-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .office-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .about-values-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-form { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid.audience-grid-5 { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .audience-grid-5 .audience-card { padding: 1.25rem; }
  .audience-grid-5 .audience-card-icon { width: 44px; height: 44px; margin-bottom: 0.875rem; }
  .audience-grid-5 .audience-card-icon svg { width: 22px; height: 22px; }
  .audience-grid-5 .audience-card h3 { font-size: var(--fs-sm); }
  .audience-grid-5 .audience-card p { font-size: var(--fs-xs); }
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-links-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* Utility bar: simplify on mobile */
  .utility-offices { display: none; }
  .utility-divider { display: none; }
  .utility-right { gap: 0.75rem; }
  .utility-bar-inner { padding: 0.4rem var(--container-px); }

  .nav-links { display: none; }
  .nav-cta { display: none !important; } /* CTA moves to mobile menu footer */
  .nav-toggle { display: flex; }

  /* =========================================================
     PREMIUM FULL-SCREEN MOBILE MENU OVERLAY
     ========================================================= */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    inset: 0;
    z-index: 1005;
    background: linear-gradient(175deg, var(--navy-900) 0%, var(--navy-950) 60%, #050910 100%);
    padding: 100px var(--container-px) 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    border: none;
    box-shadow: none;
    /* Entrance animation */
    animation: mobileMenuFadeIn 0.4s var(--ease-out) both;
  }

  @keyframes mobileMenuFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  /* Staggered slide-in for each link */
  .nav-links.open > li {
    opacity: 0;
    transform: translateX(-20px);
    animation: mobileMenuItemSlide 0.4s var(--ease-out) forwards;
  }
  .nav-links.open > li:nth-child(1) { animation-delay: 0.08s; }
  .nav-links.open > li:nth-child(2) { animation-delay: 0.13s; }
  .nav-links.open > li:nth-child(3) { animation-delay: 0.18s; }
  .nav-links.open > li:nth-child(4) { animation-delay: 0.23s; }
  .nav-links.open > li:nth-child(5) { animation-delay: 0.28s; }
  .nav-links.open > li:nth-child(6) { animation-delay: 0.33s; }
  .nav-links.open > li:nth-child(7) { animation-delay: 0.38s; }

  @keyframes mobileMenuItemSlide {
    to { opacity: 1; transform: translateX(0); }
  }

  /* --- Top-level links: left-aligned, generous spacing, dividers --- */
  .nav-links.open > li {
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .nav-links.open > li:last-child { border-bottom: none; }

  .nav-links.open > li > a {
    display: block;
    color: rgba(255,255,255,0.92) !important;
    text-shadow: none !important;
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 1rem 0;
    text-align: left;
    transition: color 0.2s, padding-left 0.25s var(--ease-out);
  }
  .nav-links.open > li > a::after,
  .nav-links.open > li > .nav-parent::after { display: none; } /* Remove desktop underline */

  /* nav-parent (Services span) mirrors link styling in mobile */
  .nav-links.open > li > .nav-parent {
    display: block;
    color: rgba(255,255,255,0.92) !important;
    text-shadow: none !important;
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 1rem 0;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s, padding-left 0.25s var(--ease-out);
  }
  .nav-links.open > li > .nav-parent:hover,
  .nav-links.open > li > .nav-parent:active {
    color: var(--teal-400) !important;
    padding-left: 0.5rem;
  }
  .nav-links.open > li > a:hover,
  .nav-links.open > li > a:active {
    color: var(--teal-400) !important;
    padding-left: 0.5rem;
  }
  .nav-links.open > li > a.active {
    color: var(--teal-400) !important;
    font-weight: 600;
  }

  /* --- Dropdown groups (Services, Resources): expanded, indented sub-links --- */
  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0 0 0.5rem 0;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-dropdown-menu::after { display: none; }
  .nav-dropdown-menu::before { display: none; }
  .nav-dropdown:hover .nav-dropdown-menu { transform: none; }

  /* --- Accordion: dropdown groups stay collapsed until the parent is tapped --- */
  .nav-links.open .nav-dropdown .nav-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    padding-bottom: 0;
    transition: max-height 0.32s var(--ease-out), padding 0.32s var(--ease-out);
  }
  .nav-links.open .nav-dropdown.accordion-open .nav-dropdown-menu {
    max-height: 320px;
    padding-bottom: 0.5rem;
  }
  /* Chevron indicator on the accordion parent (Services / Resources) */
  /* Dropdown chevron: real inline element, sits right after the word */
  .nav-links.open .dd-arrow {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 0.55rem;
    border-right: 2px solid rgba(255,255,255,0.55);
    border-bottom: 2px solid rgba(255,255,255,0.55);
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.3s var(--ease-out), border-color 0.2s;
    vertical-align: middle;
  }
  .nav-links.open .nav-dropdown.accordion-open .dd-arrow {
    transform: translateY(1px) rotate(-135deg);
    border-color: var(--teal-400);
  }

  .nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.6rem 0 0.6rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255,255,255,0.55) !important;
    border-left: 2px solid var(--teal-500);
    margin-left: 0.25rem;
    white-space: normal;
    transition: color 0.2s, padding-left 0.2s, background 0.2s;
    background: transparent;
    border-radius: 0;
  }
  .nav-dropdown-menu a:hover {
    color: var(--teal-300) !important;
    padding-left: 1.5rem;
    background: rgba(0,161,177,0.06);
  }

  /* --- Mobile Menu Footer (phone, login, CTA) --- */
  .nav-links.open > .mobile-menu-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    transform: translateY(10px);
    animation: mobileMenuItemSlide 0.5s var(--ease-out) 0.45s forwards;
  }

  .mobile-menu-footer .mobile-menu-phone {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75) !important;
    text-decoration: none;
    padding: 0.4rem 0;
    letter-spacing: 0.02em;
  }
  .mobile-menu-footer .mobile-menu-phone svg,
  .mobile-menu-footer .mobile-menu-login svg,
  .mobile-menu-footer .mobile-menu-cta svg {
    padding: 2px;
    box-sizing: content-box;
  }
  .mobile-menu-footer .mobile-menu-phone:hover { color: var(--teal-400) !important; }
  .mobile-menu-footer .mobile-menu-phone svg {
    width: 18px;
    height: 18px;
    color: var(--teal-400);
    flex-shrink: 0;
  }

  .mobile-menu-footer .mobile-menu-login {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    align-self: flex-start;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5) !important;
    padding: 0.4rem 0;
  }
  .mobile-menu-footer .mobile-menu-login:hover { color: var(--teal-400) !important; }
  .mobile-menu-footer .mobile-menu-login svg {
    width: 15px;
    height: 15px;
    color: var(--teal-400);
    flex-shrink: 0;
  }

  .mobile-menu-footer .mobile-menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    margin-top: 0.5rem;
    padding: 1.15rem 1.5rem;
    background: linear-gradient(135deg, var(--teal-400) 0%, var(--teal-600) 100%);
    color: var(--white) !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 8px 28px rgba(0,161,177,0.40), inset 0 1px 0 rgba(255,255,255,0.28);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s, filter 0.25s;
  }
  .mobile-menu-footer .mobile-menu-cta:active {
    transform: translateY(1px) scale(0.99);
    filter: brightness(1.05);
    box-shadow: 0 4px 16px rgba(0,161,177,0.45), inset 0 1px 0 rgba(255,255,255,0.28);
  }
  .mobile-menu-footer .mobile-menu-cta svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  /* Higher-specificity overrides: the generic ".nav-links.open > li > a" rule
     forces display:block on these, killing flex gap + centering. Restore them. */
  .nav-links.open .mobile-menu-footer .mobile-menu-phone {
    display: flex; text-align: left; gap: 1.1rem; padding: 0.5rem 0;
  }
  .nav-links.open .mobile-menu-footer .mobile-menu-login {
    display: inline-flex; text-align: left; gap: 1.1rem; padding: 0.5rem 0;
  }
  .nav-links.open .mobile-menu-footer .mobile-menu-cta,
  .nav-links.open .mobile-menu-footer .mobile-menu-cta.active {
    display: flex; justify-content: center; text-align: center;
    gap: 0.7rem; padding: 1.15rem 1.5rem;
    color: #ffffff !important;
  }
  .nav-links.open .mobile-menu-footer .mobile-menu-cta svg { color: #ffffff !important; }

  /* Keep header above the overlay so X button is accessible */
  .site-header { z-index: 1006; }

  .site-header.scrolled .nav-links.open { top: 0; } /* fixed overlay ignores scroll offset */

  .hero { min-height: auto; padding: 130px 0 60px; }
  .hero h1 { font-size: var(--fs-4xl); }
  .page-hero { padding: 130px 0 48px; }

  .split-grid { grid-template-columns: 1fr; }
  .split-grid.reverse { direction: ltr; }

  .timeline {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-left: 3rem;
  }
  .timeline::before {
    top: 28px;
    bottom: 28px;
    left: 28px;
    width: 2px;
    height: auto;
    right: auto;
  }
  .timeline-step { text-align: left; padding: 0; }
  .step-number {
    position: absolute;
    left: -3rem;
    margin: 0;
    width: 48px;
    height: 48px;
    font-size: 1.125rem;
  }

  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .simple-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .office-grid { grid-template-columns: 1fr; }
  .about-team-grid { grid-template-columns: 1fr; }
  .about-values-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .pricing-fees-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-grid.audience-grid-5 { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .audience-grid-5 .audience-card { padding: 1.25rem; }
  .audience-grid-5 .audience-card-icon { width: 44px; height: 44px; }
  .audience-grid-5 .audience-card h3 { font-size: var(--fs-sm); }
  .audience-grid-5 .audience-card p { font-size: var(--fs-xs); }
  .insights-grid { grid-template-columns: 1fr; }

  .calc-tabs {
    flex-direction: column;
    border-bottom: none;
    gap: 0.5rem;
  }
  .calc-tab {
    border-bottom: none;
    border-left: 2px solid var(--slate-200);
    margin-bottom: 0;
    text-align: left;
  }
  .calc-tab.active {
    border-left-color: var(--teal-500);
    border-bottom-color: transparent;
  }
}

@media (max-width: 480px) {
  .audience-grid.audience-grid-5 { grid-template-columns: 1fr; gap: 0.625rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .stat-strip { flex-direction: column; gap: 1rem; }
  .stat-item { flex: none; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
  .cta-contact-info { flex-direction: column; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
