:root {
  --navy: #6d8ba3;
  --navy-mid: #92abbd;
  --blue: #d7e4ee;
  --accent: #7e97b2;
  --accent-light: #9bb2c6;
  --offwhite: #f3f6f8;
  --white: #ffffff;
  --text: #425362;
  --muted: #6f7d8a;
  --border: rgba(109,139,163,0.16);
  --c1: #7e97b2;
  --c2: #b8cad8;
  --c3: #7e97b2;
  --c4: #d7e4ee;
  --gold-light:  #9bb2c6;
  --gold-pale:   #e3edf4;
  --gold-dim:    rgba(126,151,178,0.15);
  --black:       #6d8ba3;
  --ink:         #425362;
  --char:        #6f7d8a;
  --cream:       #fbfcfd;
  --smoke:       #eef3f6;
  --border-dark: rgba(109,139,163,0.16);
  --shadow:      0 10px 46px rgba(109,139,163,0.12);
  --nav-h:       76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  font-size: 19px;
}

/* -- NAVBAR -- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h, 80px);
  padding: 0 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(247, 250, 252, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 9999;
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.logo img {
  height: 88px;
  object-fit: contain;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  display: block;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 6px 12px;
  border-radius: 6px;
  position: relative;
  transition: color 0.3s, background 0.3s;
  z-index: 10;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a.active {
  color: var(--accent) !important;
  font-weight: 600;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-cta {
  background: #7f9ab0;
  color: #ffffff !important;
  border-radius: 8px;
  padding: 8px 18px;
  margin-left: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.25s, transform 0.2s, color 0.25s;
}

.nav-cta:hover {
  background: #9bb3c4;
  color: #ffffff;
  transform: translateY(-2px);
}

.nav-links a.nav-cta.active {
  background: var(--accent) !important;
  color: var(--navy) !important;
}

.nav-links a.nav-cta.active::after {
  display: none;
}


/* -- HERO -- */
.hero {
  position: relative;
  height: calc(100vh - 80px);
  min-height: 600px;
  margin-top: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #7e9ab0 0%, #b2c6d6 52%, #dde8f0 100%);
}

.hero-photo-bg {
  display: none;
}

.hero-photo-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #7894aa 0%, #a7bdce 50%, #dce7ef 100%);
  opacity: 0;
}

.hero-overlay-left {
  background: linear-gradient(
    105deg,
    rgba(109,139,163,0.72) 0%,
    rgba(109,139,163,0.38) 52%,
    rgba(109,139,163,0.08) 100%
  );
}
.hero-overlay-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(146,171,189,0.90) 100%);
  z-index: 1;
}
.hero-overlay-dark {
  position: absolute;
  inset: 0;
  background: rgba(109, 139, 163, 0.20);
  z-index: 1;
  pointer-events: none;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(240,180,0,0.04) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(240,180,0,0.04) 60px);
  pointer-events: none;
}

.hero-accent-bar {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 38%;
  background: linear-gradient(180deg, rgba(109,139,163,0.24) 0%, rgba(215,228,238,0.10) 100%);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 2;
}

.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(64px, 15vw, 200px);
  font-weight: 900;
  letter-spacing: -2px;
  color: rgba(240,180,0,0.04);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  z-index: 2;
  animation: watermarkFadeIn 2s ease 0.5s both;
}
@keyframes watermarkFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero-left-rule {
  position: absolute;
  left: 0; top: 80px; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent) 0%, transparent 70%);
  opacity: 0.5;
  z-index: 3;
  animation: ruleSlideDown 1s ease 0.8s both;
}
@keyframes ruleSlideDown {
  from { transform: scaleY(0); transform-origin: top; }
  to   { transform: scaleY(1); transform-origin: top; }
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 3rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-text { max-width: 580px; flex: 1; }

.hero-brand-block {
  margin-bottom: 36px;
}

.hero-brand-badge {
  display: inline-flex;
  align-items: stretch;
  margin-bottom: 12px;
}

.brand-aig {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  color: #060a10;
  background: var(--accent);
  padding: 8px 18px;
  line-height: 1;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
}

.brand-tech {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  color: var(--white);
  background: transparent;
  border: 2px solid rgba(255,255,255,0.2);
  border-left: none;
  padding: 8px 18px;
  line-height: 1;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
}

.hero-brand-sub {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-brand-line {
  width: 40px;
  height: 2px;
  background: var(--accent);
}
.hero-brand-sub span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-family: 'DM Sans', sans-serif;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent-light);
}

.hero h1::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(240,180,0,0.4), transparent);
  margin-top: 22px;
}

.hero-desc {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.78;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  gap: 14px;
}

.btn-primary {
  background: var(--accent);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.35);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.07); }

.hero-stat-card {
  position: absolute;
  right: 10px;
  top: 55%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 4;
}

.stat-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 22px 32px;
  text-align: center;
  backdrop-filter: blur(12px);
  min-width: 175px;
  position: relative;
  overflow: hidden;
  animation: fadeSlideRight 0.8s cubic-bezier(0.16,1,0.3,1) both;
  transition: background 0.3s, border-color 0.3s;
}
.stat-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.stat-item:hover { background: rgba(240,180,0,0.07); border-color: rgba(240,180,0,0.25); }
.stat-item:hover::before { opacity: 1; }
.stat-item:nth-child(1) { animation-delay: 0.6s; }
.stat-item:nth-child(2) { animation-delay: 0.75s; }
.stat-item:nth-child(3) { animation-delay: 0.9s; }

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
}

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 80px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.35);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 4;
  animation: fadeSlideUp 0.7s ease 1s both;
}
.scroll-line {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.25);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLine 2s ease-in-out infinite;
}


/* ------------------------------------------
   ABOUT  �  now light background
   ------------------------------------------ */
.about {
  padding: 120px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  /* CHANGED: was var(--navy) dark, now light offwhite */
  background: var(--offwhite);
  position: relative;
}

/* Gold left-edge accent rule */
.about::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent) 0%, transparent 70%);
  opacity: 0.6;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.about h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  /* CHANGED: was var(--white), now dark for light bg */
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 24px;
}

.about p {
  /* CHANGED: was rgba(255,255,255,0.6), now dark muted for light bg */
  color: var(--muted);
  line-height: 1.85;
  font-size: 0.97rem;
  margin-bottom: 20px;
}

/* CHANGED: section label color now uses standard accent (gold on light) */
.about .section-label {
  color: var(--accent);
}
.about .section-label::before {
  background: var(--accent);
}

/* About button � on light bg use navy style */
.about .btn-primary {
  background: var(--navy);
  color: var(--white);
}
.about .btn-primary:hover {
  background: var(--blue);
}

.about-image-wrap { position: relative; }
.about-image-wrap img {
  width: 100%;
  border-radius: 16px;
  display: block;
  object-fit: cover;
  height: 460px;
}
.about-image-placeholder {
  width: 100%;
  height: 460px;
  border-radius: 16px;
  /* CHANGED: gold gradient instead of flat dark gray placeholder */
  background: linear-gradient(135deg, #c8922a 0%, #f0b400 50%, #ffd440 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.about-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--navy);
  color: var(--accent);
  border-radius: 12px;
  padding: 22px 28px;
  font-family: 'Playfair Display', serif;
  /* CHANGED: was accent-on-navy, now inverted for light section contrast */
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.about-badge .big { font-size: 2.2rem; font-weight: 700; line-height: 1; }
.about-badge .small {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,220,64,0.75);
}


/* ------------------------------------------
   VALUES  �  card grid layout on white
   ------------------------------------------ */
.values { width: 100%; background: var(--offwhite); }

.values-hero-header {
  /* CHANGED: was var(--white), now offwhite to blend with section bg */
  background: var(--white);
  padding: 100px 80px 80px;
}
.values-hero-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--navy);
  line-height: 1.18;
  margin: 0 0 20px;
  max-width: 640px;
}
.values-hero-inner h2 em {
  font-style: italic;
  color: var(--accent);
}
.values-hero-inner p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.8;
  max-width: 520px;
}
.values-hero-header .section-label {
  color: var(--accent);
}
.values-hero-header .section-label::before {
  background: var(--accent);
}

/* CHANGED: framework section now white/light instead of dark navy */
.values-framework {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 80px 80px;
  /* CHANGED: was var(--navy) dark, now white */
  background: var(--white);
  align-items: start;
  border-bottom: 3px solid var(--accent);
}

.values-framework-left h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  /* CHANGED: was var(--white), now navy for light bg */
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 24px;
}
.values-framework-left h3 em {
  font-style: italic;
  color: var(--accent);
}
.values-framework-left p {
  /* CHANGED: was rgba(255,255,255,0.55), now muted dark */
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.85;
  margin-bottom: 16px;
}
.values-framework .section-label {
  /* CHANGED: was accent-light on dark, now standard accent on light */
  color: var(--accent);
}
.values-framework .section-label::before {
  background: var(--accent);
}

/* CHANGED: values list replaced with 2x2 card grid */
.values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* CHANGED: was horizontal dark bar, now vertical card with gold top border */
.values-list-item {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.values-list-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

/* Ghost letter watermark behind card content */
.values-list-item::before {
  content: attr(data-letter);
  position: absolute;
  right: 12px;
  top: 4px;
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(240,180,0,0.12);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* CHANGED: badge hidden � ghost letter does the job now */
.values-list-badge {
  display: none;
}

.values-list-text {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.values-list-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  /* CHANGED: was var(--white), now navy for light bg */
  color: var(--navy);
}
.values-list-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  /* CHANGED: was rgba(255,255,255,0.4), now readable muted dark */
  color: var(--muted);
}


/* -- SERVICES TEASER � now dark background -- */
.services-teaser {
  /* CHANGED: was var(--white), now dark navy */
  background: var(--navy);
  padding: 80px 80px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Subtle diagonal grid watermark on dark */
.services-teaser::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(240,180,0,0.04) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(240,180,0,0.04) 40px);
  pointer-events: none;
}

/* Gold left rule */
.services-teaser::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent 0%, var(--accent) 30%, var(--accent) 70%, transparent 100%);
  opacity: 0.5;
}

/* Subtle radial gold glow top-right */
.services-teaser-glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(240,180,0,0.1) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.services-teaser-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.services-teaser-left { max-width: 600px; }

.services-teaser-left .section-label {
  margin-bottom: 18px;
  /* CHANGED: label on dark bg */
  color: var(--accent-light);
}
.services-teaser-left .section-label::before {
  background: var(--accent-light);
}

.services-teaser-left h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  /* CHANGED: was navy on white, now white on dark */
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
}

.services-teaser-left h2 em {
  font-style: italic;
  color: var(--accent-light);
}

.services-teaser-left p {
  font-size: 0.97rem;
  /* CHANGED: was var(--muted), now lighter for dark bg */
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  font-weight: 300;
  max-width: 480px;
}

/* CHANGED: chips now amber-tinted on dark */
.services-teaser-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.services-chip {
  /* CHANGED: was offwhite/light, now gold-tinted dark */
  background: rgba(240,180,0,0.1);
  border: 1px solid rgba(240,180,0,0.25);
  color: var(--accent-light);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 100px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.services-chip:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy);
  cursor: default;
}

.services-teaser-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.services-teaser-count {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  font-weight: 700;
  /* CHANGED: was navy, now gold on dark */
  color: var(--accent-light);
  line-height: 1;
  position: relative;
}

.services-teaser-count span {
  position: absolute;
  top: 8px; right: -20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255,220,64,0.55);
}

.services-teaser-count-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  /* CHANGED: was muted dark, now light muted on dark */
  color: rgba(255,255,255,0.35);
  margin-top: -8px;
}

.services-teaser-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  /* CHANGED: was navy bg/white text, now gold bg/navy text � primary CTA */
  background: var(--accent);
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  margin-top: 8px;
  transition: background 0.25s, transform 0.2s;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.services-teaser-btn:hover {
  background: var(--accent-light);
  color: var(--navy);
  transform: translateY(-2px);
}

.services-teaser-btn svg {
  width: 16px; height: 16px;
  stroke: currentColor; fill: none;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.2s;
}

.services-teaser-btn:hover svg { transform: translateX(3px); }

@media (max-width: 900px) {
  .services-teaser { padding: 60px 40px; }
  .services-teaser-inner { flex-direction: column; align-items: flex-start; gap: 40px; }
  .services-teaser-right { align-items: flex-start; text-align: left; }
}

@media (max-width: 600px) {
  .services-teaser { padding: 50px 24px; }
}


/* -- TEAM � unchanged (already dark) -- */
.team {
  padding: 120px 80px;
  background: var(--navy);
}
.team-header { margin-bottom: 60px; }
.team-header .section-label { color: var(--accent-light); }
.team-header .section-label::before { background: var(--accent-light); }
.team-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.team-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  overflow: hidden;
  transition: background 0.3s, transform 0.3s;
}
.team-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-4px);
}
.team-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 15%;
}
.team-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--navy-mid), rgba(26,95,168,0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.2);
}
.team-info { padding: 20px; }
.team-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 4px;
}
.team-title {
  font-size: 0.72rem;
  color: var(--accent-light);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* ------------------------------------------
   CERTIFICATIONS  �  now dark background
   ------------------------------------------ */
.certs {
  padding: 100px 80px;
  /* CHANGED: was var(--offwhite) light, now dark navy */
  background: var(--navy);
}
.certs-header { text-align: center; margin-bottom: 60px; }
.certs-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  /* CHANGED: was navy on light, now white on dark */
  color: var(--white);
  margin-top: 10px;
}
/* CHANGED: section label for certs on dark */
.certs-header .section-label {
  color: var(--accent-light);
}
.certs-header .section-label::before {
  background: var(--accent-light);
}
.certs-header p {
  /* CHANGED: was var(--muted), now lighter for dark bg */
  color: rgba(255,255,255,0.45);
  margin-top: 12px;
  font-size: 0.93rem;
}

.certs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.cert-block {
  /* CHANGED: was white on light, now glass panel on dark */
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  padding: 40px;
  border: 0.5px solid rgba(255,255,255,0.1);
  /* CHANGED: was left gold border, now gold top border */
  border-top: 3px solid var(--accent);
  border-left: none;
}
.cert-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  /* CHANGED: was navy, now gold on dark */
  color: var(--accent-light);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.cert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cert-tag {
  /* CHANGED: was plain offwhite pill, now gold-tinted amber pill on dark */
  background: rgba(240,180,0,0.12);
  border: 0.5px solid rgba(240,180,0,0.25);
  color: var(--accent-light);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
}
.cert-tag:hover {
  background: rgba(240,180,0,0.22);
}


/* -- CTA � unchanged -- */
.cta-section {
  padding: 100px 80px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--blue) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(200,150,42,0.15) 0%, transparent 50%),
                    radial-gradient(circle at 80% 50%, rgba(26,95,168,0.3) 0%, transparent 50%);
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 16px;
}
.cta-section p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}
.cta-btns { display: flex; justify-content: center; gap: 14px; }


/* ------------------------------------------
   CONTACT  �  now dark background
   ------------------------------------------ */
.contact {
  padding: 100px 80px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  /* CHANGED: was var(--white) light, now dark navy */
  background: var(--navy);
}
.contact-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  /* CHANGED: was navy, now white on dark */
  color: var(--white);
  margin-bottom: 12px;
}
/* Contact info subtext */
.contact-info > p {
  /* CHANGED: was muted dark, now lighter for dark bg */
  color: rgba(255,255,255,0.45);
  line-height: 1.85;
  margin-bottom: 32px;
  font-size: 0.93rem;
}
.contact-info .section-label {
  color: var(--accent-light);
}
.contact-info .section-label::before {
  background: var(--accent-light);
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-icon {
  width: 40px;
  height: 40px;
  /* CHANGED: was var(--offwhite) plain, now gold-tinted on dark */
  background: rgba(240,180,0,0.12);
  border: 0.5px solid rgba(240,180,0,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail-text strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-detail-text span {
  font-size: 0.9rem;
  /* CHANGED: was var(--text) dark, now light for dark bg */
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* CHANGED: form panel on dark bg � glass style */
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 48px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  /* CHANGED: was navy dark, now muted light for dark bg */
  color: rgba(255,255,255,0.45);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  /* CHANGED: was light border on white, now subtle on dark */
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--white);
  /* CHANGED: was var(--white), now transparent dark glass */
  background: rgba(255,255,255,0.06);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.2);
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group select {
  color: rgba(255,255,255,0.65);
}
.form-group select option {
  background: var(--navy-mid);
  color: var(--white);
}
.form-group textarea { height: 120px; resize: vertical; }

/* CHANGED: submit button is now gold primary */
.btn-submit {
  width: 100%;
  background: var(--accent);
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.btn-submit:hover { background: var(--accent-light); transform: translateY(-1px); }

/* Resume note on dark */
.resume-note {
  margin-top: 40px;
  padding: 32px;
  background: rgba(240,180,0,0.08);
  border: 1px solid rgba(240,180,0,0.2);
  border-radius: 3px;
}
.resume-note .note-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.resume-note p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
}


/* -- FOOTER -- */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.55);
  padding: 60px 80px 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}
.footer-brand .logo-text { color: var(--white); font-size: 1.2rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.75; margin-top: 14px; }
.footer-col h3 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  text-decoration: none;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}


/* -- ANIMATIONS -- */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scrollLine {
  0%   { left: -100%; }
  50%  { left: 0%; }
  100% { left: 100%; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}
.reveal.visible {
  opacity: 1;
  transform: none;
  pointer-events: all;
}


/* -- TEAM MODAL -- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 45, 78, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-card {
  background: var(--white);
  border-radius: 20px;
  width: 580px;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s ease;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}
.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--offwhite);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.8rem;
  cursor: pointer;
  color: var(--navy);
  z-index: 10;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: var(--border); }
.modal-img-wrap {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  flex-shrink: 0;
  height: 320px;
}
.modal-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}
.modal-body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
  border-radius: 0 0 20px 20px;
}
.modal-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.modal-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
}
.modal-bio {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.85;
  white-space: pre-line;
}
.team-card {
  cursor: pointer;
  pointer-events: all;
}

/* -- SERVICE MODAL -- */
.service-modal-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 36px 36px 0;
  flex-shrink: 0;
}
.service-modal-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.service-modal-overview {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.logo { position: relative; }

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.hero-bg-pattern { z-index: 2; }
.hero-accent-bar  { z-index: 2; }
.hero-content     { z-index: 4; }
.scroll-hint      { z-index: 4; }

.stat-num { font-variant-numeric: tabular-nums; }


/* -- MAP -- */
.map-section {
  border-top: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  background: var(--navy);
}
.map-label-bar {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 20px 60px;
  background: var(--navy);
}
.map-office {
  display: flex;
  align-items: center;
  gap: 14px;
}
.map-office-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(240,180,0,0.25);
}
.map-office strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
}
.map-office span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}
.map-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}
.map-frames {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 420px;
  gap: 2px;
  background: var(--accent);
}
.map-frames iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: grayscale(15%) contrast(1.05);
}


/* ------------------------------------------
   TEAM CATEGORY GRID
   ------------------------------------------ */
.team-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto 24px;
  padding: 0 40px;
}

.team-category-card {
  display: block;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.team-category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent, #c19948);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.team-category-card:hover {
  background: rgba(193, 153, 72, 0.05);
  border-color: rgba(193, 153, 72, 0.25);
  transform: translateY(-4px);
}

.team-category-card:hover::before {
  transform: scaleX(1);
}

.tcc-inner {
  padding: 44px 40px 40px;
  display: flex;
  flex-direction: column;
}

.tcc-count {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--accent, #c19948);
  line-height: 1;
  margin-bottom: 2px;
}

.tcc-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}

.tcc-divider {
  width: 32px;
  height: 1px;
  background: rgba(193, 153, 72, 0.35);
  margin-bottom: 20px;
}

.tcc-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
  transition: color 0.2s;
}

.team-category-card:hover .tcc-title { color: #fff; }

.tcc-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  margin-bottom: 24px;
}

.tcc-names {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 32px;
  flex: 1;
}

.tcc-names span {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.02em;
  padding-left: 12px;
  position: relative;
}

.tcc-names span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent, #c19948);
  border-radius: 50%;
  opacity: 0.5;
}

.tcc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent, #c19948);
  margin-top: auto;
}

.tcc-cta svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform 0.2s;
}

.team-category-card:hover .tcc-cta svg { transform: translateX(4px); }

.team-category-hint {
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 0.03em;
  padding: 0 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 960px) {
  .team-category-grid {
    grid-template-columns: 1fr;
    padding: 0 24px;
    gap: 12px;
  }
  .tcc-inner { padding: 32px 28px 28px; }
  .tcc-count { font-size: 2.4rem; }
}

@media (min-width: 961px) and (max-width: 1200px) {
  .team-category-grid { padding: 0 24px; }
  .tcc-inner { padding: 36px 28px 32px; }
}

.logo {
  position: relative;
  cursor: pointer;
  text-decoration: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: block;
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.section-label-light {
  color: var(--accent-light) !important;
}

.section-label-light::before {
  background: var(--accent-light) !important;
}

.section-label-centered {
  justify-content: center;
}

.contact-link {
  color: inherit;
  text-decoration: none;
}

.contact-link:hover {
  color: var(--white);
}

[hidden] {
  display: none !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(255, 212, 64, 0.65);
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .navbar {
    padding: 0 20px;
    gap: 16px;
  }

  .nav-links {
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    height: auto;
    min-height: 680px;
  }

  .hero-content,
  .about,
  .values-framework,
  .services-teaser-inner,
  .contact,
  .certs-grid,
  .footer-top,
  .map-frames {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero-content,
  .about,
  .values-hero-header,
  .values-framework,
  .services-teaser,
  .team,
  .certs,
  .cta-section,
  .contact,
  footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-stat-card {
    position: static;
    transform: none;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat-item {
    min-width: 0;
    flex: 1 1 180px;
  }

  .scroll-hint,
  .hero-left-rule,
  .map-divider {
    display: none;
  }

  .form-row,
  .certs-grid,
  .map-frames {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 28px;
  }

  .map-label-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
  }

  .map-frames {
    height: auto;
  }

  .map-frames iframe {
    min-height: 320px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    pointer-events: all;
  }
}

body {
  background: linear-gradient(180deg, #f7f4ee 0%, #ffffff 22%, #ffffff 100%);
}

.navbar {
  height: 84px;
  padding: 0 40px;
  background: rgba(255, 252, 246, 0.88);
  border-bottom: 1px solid rgba(13, 13, 13, 0.08);
  backdrop-filter: blur(18px);
}

.navbar.scrolled {
  box-shadow: 0 14px 36px rgba(16, 18, 20, 0.08);
}

.logo img {
  height: 56px;
}

.nav-links {
  gap: 8px;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.72);
  padding: 10px 12px;
  border-radius: 999px;
}

.nav-links a:hover {
  color: var(--navy);
  background: rgba(0, 0, 0, 0.045);
}

.nav-links a.active {
  color: var(--navy) !important;
}

.nav-links a.active::after {
  display: none;
}

.nav-cta {
  background: var(--accent);
  color: var(--navy) !important;
  box-shadow: 0 10px 24px rgba(240, 180, 0, 0.2);
}

.nav-cta:hover {
  background: var(--accent-light);
  color: var(--navy);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(13, 13, 13, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  min-height: 720px;
  margin-top: 84px;
  background: #0f1114;
}

.hero-video {
  opacity: 0.62;
  transform: scale(1.02);
}

.hero-overlay-left {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(11, 12, 14, 0.74) 0%, rgba(11, 12, 14, 0.46) 42%, rgba(11, 12, 14, 0.08) 100%);
}

.hero-overlay-bottom {
  background: linear-gradient(180deg, transparent 46%, rgba(11, 12, 14, 0.76) 100%);
}

.hero-overlay-dark {
  background: linear-gradient(180deg, rgba(11, 12, 14, 0.08) 0%, rgba(11, 12, 14, 0.18) 100%);
}

.hero-bg-pattern,
.hero-watermark,
.scroll-hint,
#progress-bar,
#hero-canvas {
  display: none !important;
}

.hero-accent-bar {
  width: 32%;
  background: linear-gradient(180deg, rgba(240, 180, 0, 0.08) 0%, rgba(240, 180, 0, 0.02) 100%);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-left-rule {
  width: 2px;
  opacity: 0.35;
}

.hero-content {
  max-width: 1240px;
  padding: 88px 40px;
  gap: 80px;
}

.hero-text {
  max-width: 640px;
}

.hero-brand-block {
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.45rem, 4.2vw, 4.35rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.hero h1::after {
  width: 180px;
  background: linear-gradient(90deg, rgba(240, 180, 0, 0.85), transparent);
}

.hero-desc {
  max-width: 560px;
  font-size: 0.94rem;
  line-height: 1.76;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 28px;
}

.hero-btns {
  gap: 12px;
}

.btn-primary,
.btn-outline,
.btn-submit,
.services-teaser-btn {
  min-height: 50px;
  border-radius: 999px;
  clip-path: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.btn-primary {
  padding: 0 24px;
  box-shadow: 0 14px 28px rgba(240, 180, 0, 0.2);
}

.btn-outline {
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.hero-stat-card {
  position: static;
  transform: none;
  width: min(360px, 100%);
  gap: 12px;
}

.stat-item {
  min-width: 0;
  padding: 24px 24px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.stat-num {
  font-size: 2.2rem;
}

.about,
.values-framework,
.services-teaser,
.team,
.certs,
.cta-section,
.contact,
footer {
  padding-left: 40px;
  padding-right: 40px;
}

.about,
.values-framework,
.services-teaser,
.contact {
  gap: 56px;
}

.about,
.values-hero-header,
.values-framework,
.services-teaser,
.team,
.certs,
.cta-section,
.contact {
  padding-top: 96px;
  padding-bottom: 96px;
}

.section-label {
  margin-bottom: 16px;
}

.about-image-wrap img,
.about-image-placeholder {
  border-radius: 22px;
}

.values-hero-header {
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
}

.values-framework {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.values-list {
  gap: 18px;
}

.values-list-item,
.cert-block,
.contact-form {
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(16, 18, 20, 0.06);
}

.services-teaser {
  background: linear-gradient(135deg, #d7e4ee 0%, #f3f6f8 100%);
}

.services-teaser::before {
  opacity: 0.45;
}

.services-chip,
.cert-tag {
  border-radius: 999px;
}

.team-category-grid {
  gap: 16px;
  padding: 0;
}

.team-category-card {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.team-category-card:hover {
  transform: translateY(-6px);
}

.tcc-inner {
  padding: 36px 32px 32px;
}

.certs {
  background: linear-gradient(180deg, #dce8f0 0%, #f3f6f8 100%);
}

.cta-section {
  background: linear-gradient(135deg, #adc2d2 0%, #dce7ee 100%);
}

.contact {
  background: linear-gradient(180deg, #dce8f0 0%, #f3f6f8 100%);
}

.contact-form {
  padding: 40px;
}

.form-group input,
.form-group textarea,
.form-group select {
  min-height: 52px;
  border-radius: 14px;
}

.form-group textarea {
  min-height: 148px;
}

.btn-submit {
  clip-path: none;
}

.map-section {
  border-top: 1px solid rgba(240, 180, 0, 0.22);
  border-bottom: 1px solid rgba(240, 180, 0, 0.22);
}

footer {
  background: #d7e4ee;
}

@media (max-width: 960px) {
  body.nav-open {
    overflow: hidden;
  }

  .navbar {
    padding: 0 20px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    z-index: 10001;
  }

  .nav-links {
    position: fixed;
    top: 84px;
    left: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
    background: rgba(255, 252, 246, 0.98);
    border: 1px solid rgba(13, 13, 13, 0.08);
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 16px;
    background: transparent;
    border-radius: 14px;
  }

  .nav-cta {
    text-align: center;
    justify-content: center !important;
  }

  .hero {
    min-height: 640px;
  }

  .hero-content {
    padding: 56px 24px;
    gap: 32px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 9vw, 3.4rem);
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
  }

  .hero-stat-card {
    width: 100%;
  }

  .about,
  .values-hero-header,
  .values-framework,
  .services-teaser,
  .team,
  .certs,
  .cta-section,
  .contact,
  footer {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .contact-form,
  .cert-block,
  .values-list-item {
    border-radius: 18px;
  }
}

/* Refined Homepage System */
body {
  color: #17181b;
  background:
    radial-gradient(circle at top right, rgba(240, 180, 0, 0.08), transparent 24%),
    linear-gradient(180deg, #f7f4ee 0%, #fffdf9 18%, #ffffff 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(240, 180, 0, 0.08), transparent 22%),
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.35), transparent 18%);
  pointer-events: none;
  z-index: -1;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.08));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover img {
  transform: translateY(-1px);
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.12));
}

.navbar {
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.95) 0%, rgba(255, 251, 244, 0.86) 100%);
  border-bottom-color: rgba(26, 26, 26, 0.06);
  box-shadow: 0 12px 34px rgba(16, 18, 20, 0.04);
}

.nav-links a {
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover {
  transform: translateY(-1px);
}

.nav-links a.active {
  background: rgba(26, 26, 26, 0.06);
}

.nav-cta {
  box-shadow: 0 16px 34px rgba(240, 180, 0, 0.22);
}

.hero {
  position: relative;
  min-height: 760px;
  background:
    radial-gradient(circle at 78% 22%, rgba(240, 180, 0, 0.18), transparent 20%),
    linear-gradient(135deg, #0c0d10 0%, #13161b 48%, #0c0d10 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(240, 180, 0, 0.14), transparent 0 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 22%);
  z-index: 1;
  pointer-events: none;
}

.hero-accent-bar {
  display: none;
}

.hero-content {
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}

.hero-text {
  position: relative;
  flex: 0 1 700px;
  max-width: 700px;
  margin: 0;
  margin-right: clamp(24px, 6vw, 96px);
  padding: 28px 30px 32px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(6px);
}

.hero-brand-sub {
  gap: 14px;
}

.hero-brand-line {
  width: 56px;
  background: linear-gradient(90deg, var(--accent), rgba(240, 180, 0, 0.15));
}

.hero-brand-sub span {
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.24em;
}

.hero h1 {
  text-wrap: balance;
}

.hero h1 em {
  color: #f6d36d;
}

.hero-desc {
  font-size: 1.02rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.76);
}

.btn-primary,
.btn-outline,
.btn-submit,
.services-teaser-btn {
  letter-spacing: 0.08em;
}

.btn-primary:hover,
.btn-outline:hover,
.btn-submit:hover,
.services-teaser-btn:hover {
  transform: translateY(-2px);
}

.hero-stat-card {
  padding: 16px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.stat-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.stat-item::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(240, 180, 0, 0.92), transparent 70%);
}

.stat-label {
  color: rgba(255, 255, 255, 0.64);
  letter-spacing: 0.14em;
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
}

.about {
  position: relative;
  align-items: center;
}

.about::before {
  content: '';
  position: absolute;
  inset: 44px 40px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(247, 243, 234, 0.96) 0%, rgba(255, 255, 255, 0.92) 62%, rgba(249, 244, 235, 0.9) 100%);
  border: 1px solid rgba(26, 26, 26, 0.05);
  box-shadow: 0 28px 70px rgba(16, 18, 20, 0.06);
  z-index: 0;
}

.about > * {
  position: relative;
  z-index: 1;
}

.about-text {
  max-width: 560px;
}

.about-text h2,
.team-header h2,
.certs-header h2,
.contact-info h2,
.cta-section h2 {
  letter-spacing: -0.03em;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.9;
  color: #555b65;
}

.about-image-wrap {
  max-width: 560px;
}

.about-image-wrap img,
.about-image-placeholder {
  position: relative;
  z-index: 1;
  box-shadow: 0 26px 54px rgba(16, 18, 20, 0.12);
}

.about-badge {
  border-radius: 24px;
  box-shadow: 0 18px 38px rgba(16, 18, 20, 0.16);
}

.values-hero-header {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(240, 180, 0, 0.1), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, #fbf7f0 100%);
}

.values-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

.values-hero-inner p,
.values-framework-left p,
.certs-header p,
.cta-section p,
.contact-info > p {
  text-wrap: pretty;
}

.values-framework {
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  align-items: start;
}

.values-framework-left {
  padding: 32px 30px 34px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 250, 241, 0.96) 0%, rgba(255, 255, 255, 0.96) 100%);
  border: 1px solid rgba(26, 26, 26, 0.05);
  box-shadow: 0 20px 48px rgba(16, 18, 20, 0.05);
}

.values-framework-right {
  padding: 12px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(20, 22, 26, 0.04) 0%, rgba(20, 22, 26, 0.01) 100%);
}

.values-list {
  gap: 20px;
}

.values-list-item {
  min-height: 158px;
  padding: 28px 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 245, 236, 0.92) 100%);
  border: 1px solid rgba(26, 26, 26, 0.06);
  box-shadow: 0 20px 44px rgba(16, 18, 20, 0.06);
}

.values-list-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 56px rgba(16, 18, 20, 0.1);
}

.values-list-name {
  font-size: 1.3rem;
}

.services-teaser {
  position: relative;
  overflow: hidden;
}

.services-teaser-inner {
  padding: 42px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.16);
}

.services-chip {
  padding: 8px 15px;
  font-weight: 600;
}

.services-teaser-right {
  padding: 26px 24px;
  min-width: 260px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.team {
  background:
    radial-gradient(circle at 84% 16%, rgba(240, 180, 0, 0.12), transparent 20%),
    linear-gradient(180deg, #d7e4ee 0%, #eef3f6 100%);
}

.team-category-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.025) 100%);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
}

.team-category-card:hover {
  box-shadow: 0 30px 54px rgba(0, 0, 0, 0.18);
}

.tcc-inner {
  gap: 10px;
}

.tcc-title {
  line-height: 1.1;
}

.tcc-desc,
.tcc-names span,
.team-category-hint {
  color: rgba(255, 255, 255, 0.66);
}

.certs {
  position: relative;
  overflow: hidden;
}

.certs::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 18%, rgba(240, 180, 0, 0.12), transparent 20%);
  pointer-events: none;
}

.certs-grid,
.certs-header,
.cta-section > *,
.contact > * {
  position: relative;
  z-index: 1;
}

.cert-block {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.cta-section {
  overflow: hidden;
}

.cta-section::after {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  pointer-events: none;
}

.careers-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 80px 80px;
  background:
    radial-gradient(circle at 10% 12%, rgba(240, 180, 0, 0.08), transparent 20%),
    linear-gradient(180deg, #dce8f0 0%, #f3f6f8 100%);
}

.careers-preview-copy {
  position: relative;
  padding: 12px 0 0;
  width: min(100%, 920px);
  text-align: center;
}

.careers-preview-copy h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.16;
  color: var(--white);
  margin-bottom: 18px;
}

.careers-preview-copy h2 em {
  font-style: normal;
  color: var(--accent-light);
}

.careers-preview-copy p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
}

.careers-preview-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.contact {
  position: relative;
  align-items: start;
  background:
    radial-gradient(circle at 88% 12%, rgba(240, 180, 0, 0.1), transparent 18%),
    linear-gradient(180deg, #dce8f0 0%, #f3f6f8 100%);
}

.contact-detail {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-icon {
  min-width: 54px;
  width: auto;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.resume-note {
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(240, 180, 0, 0.08) 0%, rgba(240, 180, 0, 0.04) 100%);
}

.contact-form {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.form-group input,
.form-group textarea,
.form-group select {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.map-label-bar {
  background: linear-gradient(135deg, #121418 0%, #1a1d22 100%);
}

.map-office {
  padding: 8px 0;
}

.map-office strong {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-office span {
  color: rgba(255, 255, 255, 0.68);
}

.map-frames iframe {
  border-radius: 0;
  filter: saturate(0.88) contrast(1.02);
}

footer {
  position: relative;
  background: linear-gradient(180deg, #d7e4ee 0%, #eef3f6 100%);
}

.footer-top {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.footer-brand p,
.footer-col a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.62);
}

.footer-col a:hover {
  color: var(--accent-light);
}

@media (max-width: 960px) {
  .hero {
    min-height: 680px;
  }

  .hero-content {
    justify-content: center;
    align-items: center;
  }

  .hero-text,
  .services-teaser-inner,
  .values-framework-left {
    padding: 28px 24px;
    border-radius: 24px;
  }

  .about::before,
  .cta-section::after {
    inset: 14px;
    border-radius: 24px;
  }

  .contact {
    gap: 32px;
  }

  .careers-preview {
    padding: 0 24px 56px;
  }

  .careers-preview-copy {
    border-radius: 24px;
  }

  .careers-preview-copy {
    padding: 28px 24px;
  }
}

@media (max-width: 640px) {
  .hero-text {
    padding: 24px 20px 22px;
  }

  .hero-brand-line {
    width: 40px;
  }

  .services-teaser-right,
  .contact-detail {
    padding: 18px;
  }

  .contact-icon {
    min-width: 48px;
    padding: 0 10px;
    letter-spacing: 0.12em;
  }

  .careers-preview-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Homepage contrast correction */
.navbar {
  min-height: 96px;
  padding: 0 44px;
}

.logo img {
  height: 78px !important;
}

.nav-links a {
  color: #5f7488;
}

.nav-links a.active {
  background: rgba(143, 170, 193, 0.18);
  color: #4f667d !important;
}

.section-label,
.section-label-light,
.certs-header .section-label,
.contact-info .section-label,
.careers-preview .section-label {
  color: #7e97b2 !important;
}

.section-label::before,
.section-label-light::before,
.certs-header .section-label::before,
.contact-info .section-label::before,
.careers-preview .section-label::before {
  background: #7e97b2 !important;
}

.certs {
  background: linear-gradient(180deg, #d7e4ee 0%, #edf3f7 100%);
}

.certs-header h2,
.cert-block h3,
.careers-preview-copy h2,
.careers-preview-copy h2 em,
.contact-info h2,
.footer-brand .logo-text,
.footer-col h3 {
  color: #4f667d !important;
}

.certs-header p,
.careers-preview-copy p,
.contact-info > p,
.contact-detail-text span,
.footer-brand p,
.footer-col a,
.footer-bottom,
.team-category-hint {
  color: rgba(79, 102, 125, 0.82) !important;
}

.cert-block,
.contact-form,
.team-category-card,
.contact-detail {
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid rgba(126, 151, 178, 0.18) !important;
}

.cert-tag {
  background: rgba(143, 170, 193, 0.14) !important;
  border-color: rgba(143, 170, 193, 0.28) !important;
  color: #6a839a !important;
}

.careers-preview {
  background:
    radial-gradient(circle at 10% 12%, rgba(143, 170, 193, 0.14), transparent 20%),
    linear-gradient(180deg, #d7e4ee 0%, #edf3f7 100%) !important;
}

.contact {
  background:
    radial-gradient(circle at 88% 12%, rgba(143, 170, 193, 0.14), transparent 18%),
    linear-gradient(180deg, #d7e4ee 0%, #edf3f7 100%) !important;
}

.contact-detail-text strong,
.contact-link,
.tcc-title {
  color: #4f667d !important;
}

.contact-icon {
  background: rgba(143, 170, 193, 0.14) !important;
  border-color: rgba(143, 170, 193, 0.24) !important;
  color: #6a839a !important;
}

.form-group label {
  color: rgba(79, 102, 125, 0.84) !important;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(126, 151, 178, 0.22) !important;
  color: #4f667d !important;
  box-shadow: none !important;
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group select,
.form-group select option {
  color: rgba(95, 116, 136, 0.72) !important;
}

.map-label-bar {
  background: linear-gradient(135deg, #8ea9bf 0%, #c3d3df 100%) !important;
}

.map-office strong,
.map-office span {
  color: #4f667d !important;
}

footer {
  background: #d7e4ee !important;
}

.footer-top {
  border-bottom-color: rgba(126, 151, 178, 0.2) !important;
}

.footer-col a:hover,
.contact-link:hover {
  color: #6a839a !important;
}

/* Global blue-grey cleanup */
.btn-primary,
.btn-submit,
.nav-cta,
.job-apply,
.services-teaser-btn {
  background: #8ea9bf !important;
  color: #f7fbfe !important;
  box-shadow: 0 14px 28px rgba(126, 151, 178, 0.22) !important;
}

.btn-primary:hover,
.btn-submit:hover,
.nav-cta:hover,
.job-apply:hover,
.services-teaser-btn:hover {
  background: #9bb2c6 !important;
  color: #f7fbfe !important;
}

.btn-outline {
  border-color: rgba(126, 151, 178, 0.3) !important;
  background: rgba(142, 169, 191, 0.08) !important;
  color: #5f7488 !important;
}

.btn-outline:hover {
  border-color: #8ea9bf !important;
  background: rgba(142, 169, 191, 0.14) !important;
  color: #4f667d !important;
}

.hero h1 em,
.page-hero h1 em,
.cta-banner h2 em,
.careers-hero h1 em,
.career-apply-copy h1 em,
.values-hero-inner h2 em,
.services-teaser-left h2 em,
.careers-preview-copy h2 em {
  color: #7e97b2 !important;
}

.hero-stat-num,
.stat-num,
.services-teaser-count,
.hero-stat-card .stat-num {
  color: #6f88a1 !important;
}

.cert-tag,
.services-chip,
.card-tag,
.job-meta span,
.career-apply-tags span {
  background: rgba(142, 169, 191, 0.14) !important;
  border-color: rgba(142, 169, 191, 0.24) !important;
  color: #5f7488 !important;
}

.featured-tag,
.card-category,
.job-dept,
.panel-category-badge,
.featured-label,
.card-client,
.meta-label,
.cta-eyebrow,
.hero-eyebrow,
.careers-eyebrow,
.career-apply-eyebrow {
  background: rgba(142, 169, 191, 0.16) !important;
  color: #5f7488 !important;
}

.featured-tag::before,
.cta-eyebrow::before,
.hero-eyebrow::before,
.careers-eyebrow::before,
.career-apply-eyebrow::before,
.section-label::before {
  background: #8ea9bf !important;
}

.team-category-card,
.tcc-title,
.tcc-desc,
.tcc-names span,
.team-header h2,
.certs-header h2,
.contact-info h2,
.careers-preview-copy h2 {
  color: #4f667d !important;
}

/* White-base layout across the site */
body,
.values-hero-header,
.values-framework,
.services-teaser,
.team,
.certs,
.careers-preview,
.contact,
.map-section,
footer,
.careers-page,
.career-apply-page {
  background: #ffffff !important;
}

.cert-block,
.contact-form,
.team-category-card,
.contact-detail,
.values-list-item,
.hero-stat-card,
.stat-item,
.careers-hero-aside,
.career-apply-side,
.career-apply-form,
.job-card,
.svc-card,
.svc-modal,
.panel-highlight-card,
.site-mgmt-cap-card {
  background: #f5f9fc !important;
  border: 1px solid rgba(126, 151, 178, 0.18) !important;
}

.hero-accent-bar,
.page-hero-left-rule,
.hero-left-rule,
.map-office-dot,
.current-dot {
  background: #8ea9bf !important;
}

.values-framework,
.map-section,
.footer-top {
  border-color: rgba(126, 151, 178, 0.18) !important;
}

.hero-desc,
.about-text p,
.values-hero-inner p,
.values-framework-left p,
.svc-tagline,
.certs-header p,
.careers-preview-copy p,
.contact-info > p,
.contact-detail-text span,
.footer-brand p,
.footer-col a,
.footer-bottom,
.job-card p,
.job-card ul,
.career-apply-copy p,
.career-apply-side p,
.career-apply-note,
.career-apply-footer-inner {
  color: #6f7d8a !important;
}

/* Homepage about split layout */
.about {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px) minmax(0, 1fr) !important;
  gap: clamp(28px, 4vw, 56px) !important;
  align-items: center !important;
}

.about-text {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.about .section-label {
  justify-content: center;
}

.about-text p {
  margin-left: auto;
  margin-right: auto;
}

.about .btn-primary {
  display: inline-flex;
}

.about-image-wrap {
  width: 100%;
  max-width: 460px;
  display: flex;
  justify-content: center;
}

.about-image-left {
  justify-self: start;
  flex-direction: column;
  gap: clamp(18px, 2vw, 28px);
}

.about-image-right {
  justify-self: end;
  flex-direction: column;
  gap: clamp(18px, 2vw, 28px);
}

.about-image-left img,
.about-image-right img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
}

.about-image-right img {
  aspect-ratio: 7 / 5;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1100px) {
  .about {
    grid-template-columns: 1fr !important;
  }

  .about-image-left,
  .about-image-right,
  .about-text {
    justify-self: center;
  }

  .about-image-left {
    order: 1;
  }

  .about-text {
    order: 2;
  }

  .about-image-right {
    order: 3;
  }
}

/* Homepage hero readability pass */
.hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(240, 180, 0, 0.12), transparent 18%),
    linear-gradient(135deg, #0f141b 0%, #18212b 48%, #10171f 100%) !important;
}

.hero::before {
  display: block;
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 14, 22, 0.68) 0%, rgba(8, 14, 22, 0.34) 34%, rgba(8, 14, 22, 0.18) 56%, rgba(8, 14, 22, 0.52) 100%),
    linear-gradient(180deg, rgba(4, 8, 14, 0.14) 0%, rgba(4, 8, 14, 0.46) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-video {
  opacity: 0.94;
}

.hero-overlay-left {
  display: block;
  background: linear-gradient(90deg, rgba(6, 10, 16, 0.52) 0%, rgba(6, 10, 16, 0.12) 58%, transparent 100%);
}

.hero-overlay-bottom {
  display: block;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 10, 16, 0.24) 58%, rgba(6, 10, 16, 0.66) 100%);
}

.hero-overlay-dark {
  display: block;
  background: radial-gradient(circle at 62% 50%, transparent 0%, rgba(8, 14, 22, 0.18) 52%, rgba(8, 14, 22, 0.42) 100%);
}

.hero-content {
  justify-content: flex-start !important;
  align-items: center !important;
}

.hero-text {
  margin-left: clamp(20px, 4vw, 64px) !important;
  margin-right: 0 !important;
  background: linear-gradient(180deg, rgba(13, 20, 29, 0.66) 0%, rgba(19, 28, 38, 0.50) 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.hero h1 {
  color: #ffffff;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.hero h1 em {
  color: #caa24c !important;
}

.hero-brand-sub span,
.hero-desc {
  color: rgba(255, 255, 255, 0.88);
}

.hero-brand-line {
  background: linear-gradient(90deg, rgba(202, 162, 76, 0.92), rgba(202, 162, 76, 0.22));
}

.hero-desc {
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.04);
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.10);
}

.scroll-hint {
  color: rgba(95, 116, 136, 0.72);
}

.services-teaser,
.team,
.certs,
.cta-section,
.contact {
  background: #ffffff !important;
}

.values-hero-header {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%) !important;
}

.values-framework,
.services-teaser-inner,
.team-category-card,
.cert-block,
.contact-form,
.contact-detail {
  background: linear-gradient(180deg, #f5f9fc 0%, #ffffff 100%) !important;
  border-color: rgba(142, 169, 191, 0.18) !important;
  box-shadow: 0 18px 40px rgba(142, 169, 191, 0.12) !important;
}

.services-teaser-left h2,
.team-header h2,
.certs-header h2,
.cta-section h2,
.contact-info h2 {
  color: #5f7488 !important;
}

.services-teaser-left p,
.contact-info > p,
.certs-header p,
.cta-section p,
.tcc-desc,
.contact-detail-text span {
  color: rgba(95, 116, 136, 0.78) !important;
}

.services-chip,
.cert-tag,
.card-tag,
.job-meta span,
.career-apply-tags span,
.tcc-names span {
  background: rgba(142, 169, 191, 0.12) !important;
  border-color: rgba(142, 169, 191, 0.18) !important;
  color: #6a839a !important;
}

.services-teaser-right {
  background: linear-gradient(180deg, #edf4f8 0%, #ffffff 100%);
  border: 1px solid rgba(142, 169, 191, 0.18);
}

.services-teaser-count,
.tcc-title,
.contact-detail-text strong,
.contact-link {
  color: #7e97b2 !important;
}

.services-teaser-count-label,
.team-category-hint,
.footer-brand p,
.footer-col a,
.footer-bottom {
  color: rgba(95, 116, 136, 0.72) !important;
}

.team-category-card:hover,
.cert-block:hover,
.contact-detail:hover {
  box-shadow: 0 24px 48px rgba(142, 169, 191, 0.16) !important;
}

/* Final light palette cleanup */
:root {
  --navy: #2f5d7c;
  --navy-mid: #6f95b1;
  --blue: #dcecf7;
  --accent: #caa54a;
  --accent-light: #efd687;
  --offwhite: #f7fbff;
  --white: #ffffff;
  --text: #264b62;
  --muted: #607586;
  --border: rgba(111, 149, 177, 0.18);
  --shadow: 0 20px 42px rgba(111, 149, 177, 0.14);
}

body {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  color: var(--text) !important;
}

.hero {
  background: linear-gradient(135deg, #f4faff 0%, #deedf8 54%, #fff5dd 100%) !important;
}

.about {
  background: linear-gradient(180deg, #ffffff 0%, #f4faff 100%) !important;
}

.values {
  background: linear-gradient(180deg, #fff8eb 0%, #ffffff 100%) !important;
}

.values-hero-header {
  background: linear-gradient(180deg, #f2f8fd 0%, #fff7e7 100%) !important;
}

.services-teaser {
  background: linear-gradient(180deg, #ffffff 0%, #eef7fd 100%) !important;
}

.team {
  background: linear-gradient(180deg, #fffaf0 0%, #ffffff 100%) !important;
}

.certs {
  background: linear-gradient(180deg, #f6fbff 0%, #fff8eb 100%) !important;
}

.careers-preview {
  background: linear-gradient(180deg, #ffffff 0%, #edf7ff 100%) !important;
}

.cta-section {
  background: linear-gradient(135deg, #eef7ff 0%, #fff4dc 100%) !important;
}

.contact {
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%) !important;
}

footer {
  background: linear-gradient(180deg, #f2f8fd 0%, #fff8ea 100%) !important;
  color: var(--text) !important;
}

.hero-overlay-left {
  background: linear-gradient(105deg, rgba(255,255,255,0.84) 0%, rgba(243,249,253,0.70) 52%, rgba(255,245,221,0.28) 100%) !important;
}

.hero-overlay-bottom {
  background: linear-gradient(180deg, transparent 55%, rgba(255,248,232,0.84) 100%) !important;
}

.hero-overlay-dark {
  background: rgba(255,255,255,0.14) !important;
}

.hero-bg-pattern {
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(202,165,74,0.05) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(111,149,177,0.05) 60px) !important;
}

.hero-accent-bar {
  background: linear-gradient(180deg, rgba(111,149,177,0.16) 0%, rgba(202,165,74,0.10) 100%) !important;
}

.hero-watermark {
  color: rgba(111,149,177,0.12) !important;
}

.brand-aig {
  background: linear-gradient(135deg, #efd687, #caa54a) !important;
  color: var(--navy) !important;
}

.brand-tech {
  background: rgba(255,255,255,0.74) !important;
  border-color: rgba(47,93,124,0.14) !important;
  color: var(--navy) !important;
}

.section-label,
.section-label-light,
.values-hero-header .section-label,
.values-framework .section-label,
.hero-eyebrow,
.careers-eyebrow,
.career-apply-eyebrow {
  color: var(--accent) !important;
}

.section-label::before,
.section-label-light::before,
.values-hero-header .section-label::before,
.values-framework .section-label::before,
.hero-eyebrow::before,
.careers-eyebrow::before,
.career-apply-eyebrow::before {
  background: linear-gradient(90deg, var(--navy-mid), var(--accent)) !important;
}

.btn-primary,
.btn-submit,
.job-apply,
.services-teaser-btn {
  background: linear-gradient(135deg, var(--accent-light), var(--accent)) !important;
  color: var(--navy) !important;
  box-shadow: 0 16px 30px rgba(202, 165, 74, 0.22) !important;
}

.btn-primary:hover,
.btn-submit:hover,
.job-apply:hover,
.services-teaser-btn:hover {
  background: linear-gradient(135deg, #f5dc96, #d2ac57) !important;
  color: var(--navy) !important;
}

.nav-cta {
  background: linear-gradient(135deg, var(--navy-mid), #4f7898) !important;
  color: #ffffff !important;
  box-shadow: 0 16px 30px rgba(111, 149, 177, 0.22) !important;
}

.nav-cta:hover {
  background: linear-gradient(135deg, #6288a7, #426987) !important;
  color: #ffffff !important;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(111, 149, 177, 0.28) !important;
  color: var(--navy) !important;
}

.btn-outline:hover {
  background: rgba(220, 236, 247, 0.7) !important;
  border-color: rgba(202, 165, 74, 0.34) !important;
  color: var(--navy) !important;
}

.hero h1 em,
.page-hero h1 em,
.careers-hero h1 em,
.career-apply-copy h1 em,
.values-hero-inner h2 em,
.values-framework-left h3 em,
.services-teaser-left h2 em,
.careers-preview-copy h2 em,
.cta-section h2 em {
  color: var(--accent) !important;
}

.hero h1 {
  color: var(--navy) !important;
}

.values-hero-inner h2,
.values-framework-left h3,
.values-list-name,
.services-teaser-left h2,
.team-header h2,
.certs-header h2,
.contact-info h2,
.careers-preview-copy h2,
.tcc-title,
.contact-detail-text strong,
.contact-link,
.footer-brand h3,
.footer-col h3 {
  color: var(--navy) !important;
}

.values-hero-inner p,
.values-framework-left p,
.values-list-tag,
.hero-brand-sub span,
.hero-desc,
.stat-label,
.scroll-hint,
.services-teaser-left p,
.contact-info > p,
.certs-header p,
.cta-section p,
.tcc-desc,
.contact-detail-text span,
.footer-brand p,
.footer-col a,
.footer-bottom {
  color: var(--muted) !important;
}

.values-framework,
.values-list-item,
.services-teaser-inner,
.services-teaser-right,
.team-category-card,
.cert-block,
.contact-form,
.contact-detail,
.job-card,
.svc-card,
.svc-modal,
.career-apply-side,
.career-apply-form {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(235, 245, 252, 0.92)) !important;
  border: 1px solid rgba(111, 149, 177, 0.18) !important;
  box-shadow: 0 18px 40px rgba(111, 149, 177, 0.12) !important;
}

.values-framework {
  border-bottom: 1px solid rgba(111, 149, 177, 0.16) !important;
}

.values-list-item {
  border-top: 1px solid rgba(111, 149, 177, 0.18) !important;
}

.values-list-item::before {
  color: rgba(202, 165, 74, 0.22) !important;
}

.services-chip,
.cert-tag,
.card-tag,
.job-meta span,
.career-apply-tags span,
.tcc-names span,
.featured-tag,
.card-category,
.job-dept,
.panel-category-badge,
.featured-label,
.card-client,
.meta-label {
  background: linear-gradient(135deg, rgba(202, 165, 74, 0.16), rgba(111, 149, 177, 0.12)) !important;
  border-color: rgba(111, 149, 177, 0.18) !important;
  color: var(--navy) !important;
}

.stat-item {
  background: linear-gradient(180deg, rgba(255,255,255,0.80), rgba(235,245,252,0.66)) !important;
  border-color: rgba(111,149,177,0.18) !important;
}

.stat-item:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,247,226,0.84)) !important;
  border-color: rgba(202,165,74,0.28) !important;
}

.stat-num {
  color: var(--navy) !important;
}

.scroll-line,
.hero h1::after {
  background: linear-gradient(90deg, rgba(111,149,177,0.36), rgba(202,165,74,0.34), transparent) !important;
}

/* Final type scale cleanup */
body {
  font-size: 22px;
  line-height: 1.78;
}

p,
li,
.hero-desc,
.about-text p,
.values-hero-inner p,
.values-framework-left p,
.svc-tagline,
.certs-header p,
.careers-preview-copy p,
.contact-info > p,
.contact-detail-text span,
.job-card p,
.job-card ul,
.career-apply-copy p,
.career-apply-side p,
.career-apply-note,
.career-apply-footer-inner,
.member-bio,
.member-callout p {
  font-size: 1.14rem !important;
  line-height: 1.92 !important;
}

.section-label,
.section-label-light,
.hero-brand-sub span,
.values-list-tag,
.stat-label,
.scroll-hint,
.nav-links a,
.btn-primary,
.btn-outline,
.btn-submit,
.nav-cta {
  font-size: 0.94rem !important;
}

.hero h1,
.page-hero h1,
.careers-hero h1,
.career-apply-copy h1,
.team-page-hero h1 {
  font-size: clamp(3.25rem, 5.2vw, 5.35rem) !important;
  line-height: 1.06 !important;
}

.about-text h2,
.values-hero-inner h2,
.values-framework-left h3,
.services-teaser-left h2,
.team-header h2,
.certs-header h2,
.cta-section h2,
.contact-info h2,
.careers-filter-head h2,
.careers-cta-copy h3,
.career-apply-side h3,
.page-hero h2,
.site-mgmt-hero-content h2 {
  font-size: clamp(2.3rem, 3.4vw, 3.35rem) !important;
  line-height: 1.14 !important;
}

.values-list-name,
.svc-name,
.job-card h3,
.card-body h3,
.panel-title,
.member-name,
.tcc-title,
.contact-detail-text strong {
  font-size: clamp(1.45rem, 2.1vw, 1.9rem) !important;
  line-height: 1.25 !important;
}

.job-meta span,
.career-apply-tags span,
.services-chip,
.cert-tag,
.card-tag,
.expertise-tag,
.dept-filter,
.job-dept {
  font-size: 0.9rem !important;
}

/* Map section flow update */
.map-section {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.9fr);
  gap: 32px;
  align-items: stretch;
  padding: 0 40px 104px;
  background: transparent !important;
  border: none !important;
}

.map-label-bar {
  display: none !important;
}

.map-statewide {
  position: relative;
  min-height: 620px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(235, 245, 252, 0.92));
  border: 1px solid rgba(111, 149, 177, 0.18);
  box-shadow: 0 22px 46px rgba(111, 149, 177, 0.12);
  overflow: hidden;
}

.map-statewide iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 620px;
  border: none;
  display: block;
  filter: saturate(0.96) contrast(1.02);
}

.map-city-label,
.map-frame-city {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid rgba(111, 149, 177, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 20px rgba(38, 75, 98, 0.16);
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.map-city-label-richardson {
  top: 31%;
  left: 49%;
}

.map-city-label-houston {
  top: 59%;
  left: 55%;
}

.map-frames {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 24px;
  min-height: 620px;
  background: transparent;
}

.map-frame {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 24px;
}

.map-frame-city {
  right: 14px;
  bottom: 14px;
}

.map-frames::before {
  display: none;
}

.map-frames iframe {
  width: 100%;
  height: 100%;
  min-height: 298px;
  border: 1px solid rgba(111, 149, 177, 0.18);
  border-radius: 24px;
  box-shadow: 0 18px 34px rgba(111, 149, 177, 0.14);
  background: #ffffff;
  filter: none;
  overflow: hidden;
}

.map-frames iframe:hover {
  box-shadow: 0 24px 44px rgba(111, 149, 177, 0.18);
}

/* Final home hero readability pass */
.hero-video {
  opacity: 0;
  object-position: center bottom;
  transform: none;
  transition: opacity 0.7s ease;
  will-change: opacity;
}

.hero-video.is-active {
  opacity: 0.94;
}

.hero-overlay-left {
  background: linear-gradient(90deg, rgba(8, 14, 22, 0.58) 0%, rgba(8, 14, 22, 0.18) 48%, transparent 74%) !important;
}

.hero-overlay-bottom {
  background: linear-gradient(180deg, transparent 62%, rgba(8, 14, 22, 0.44) 100%) !important;
}

.hero-overlay-dark {
  background: none !important;
}

.hero-bg-pattern,
.hero-accent-bar,
.hero-watermark,
.hero-left-rule {
  display: none !important;
}

.hero-text {
  background: linear-gradient(180deg, rgba(14, 22, 32, 0.78) 0%, rgba(18, 28, 39, 0.62) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.28) !important;
}

.hero h1 {
  color: #ffffff !important;
}

.hero h1 em {
  color: #efd687 !important;
}

.hero-brand-sub span,
.hero-desc,
.scroll-hint,
.stat-label {
  color: rgba(255, 255, 255, 0.88) !important;
}

.hero-brand-line,
.hero h1::after,
.scroll-line {
  background: linear-gradient(90deg, rgba(239, 214, 135, 0.94), transparent) !important;
}

.stat-item {
  background: rgba(10, 18, 28, 0.54) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.stat-item:hover {
  background: rgba(10, 18, 28, 0.64) !important;
  border-color: rgba(239, 214, 135, 0.28) !important;
}

.stat-num {
  color: #ffffff !important;
}

.hero .btn-outline {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.34) !important;
  color: #ffffff !important;
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
}

/* Compact home hero card keeps more of the background video visible. */
.hero {
  align-items: flex-start;
}

.hero-content {
  max-width: none;
  margin: 0;
  padding: clamp(32px, 5vh, 56px) clamp(24px, 4vw, 64px);
}

.hero-text {
  flex: 0 1 590px;
  max-width: 590px;
  margin-left: 0 !important;
  padding: 26px 30px 28px;
  background: linear-gradient(180deg, rgba(14, 22, 32, 0.70) 0%, rgba(18, 28, 39, 0.54) 100%) !important;
}

.hero-brand-block {
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 1rem !important;
  line-height: 1;
  margin-bottom: 16px;
}

.hero-heading-lead,
.hero h1 em span {
  display: block;
  text-wrap: balance;
}

.hero-heading-lead {
  font-size: clamp(2.35rem, 2.8vw, 3.35rem);
  line-height: 1.02;
}

.hero h1 em {
  display: block;
  margin-top: 7px;
  font-size: clamp(2.6rem, 3.15vw, 3.7rem);
  line-height: 0.98;
}

.hero h1::after {
  margin-top: 16px;
}

.hero-desc {
  max-width: 50ch;
  margin-bottom: 24px;
  font-size: 0.98rem;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .hero-text {
    max-width: min(590px, calc(100% - 48px));
    margin-left: 24px !important;
    margin-right: 24px !important;
  }
}

@media (max-width: 640px) {
  .hero-content {
    padding: 24px 0;
  }

  .hero-text {
    max-width: calc(100% - 32px);
    margin-left: 16px !important;
    margin-right: 16px !important;
    padding: 22px 20px 24px;
  }

  .hero-heading-lead {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .hero h1 em {
    font-size: clamp(2.2rem, 11vw, 2.85rem);
  }

  .hero-brand-block {
    margin-bottom: 16px;
  }
}

@media (max-width: 980px) {
  .map-section {
    grid-template-columns: 1fr;
    padding: 0 24px 72px;
    gap: 24px;
  }

  .map-statewide {
    min-height: 460px;
  }

  .map-statewide iframe {
    min-height: 460px;
  }

  .map-frames {
    min-height: auto;
  }

  .map-frames iframe {
    min-height: 260px;
  }

}

/* Homepage team section restructure */
.team {
  padding: 110px 40px 100px !important;
  background:
    radial-gradient(circle at 12% 16%, rgba(202, 165, 74, 0.10), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #f4faff 100%) !important;
}

.team-overview-shell {
  max-width: 1320px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 28px;
  align-items: start;
}

.team-header {
  margin: 0 !important;
  padding: 34px 32px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(235, 245, 252, 0.92)) !important;
  border: 1px solid rgba(111, 149, 177, 0.18);
  box-shadow: 0 18px 40px rgba(111, 149, 177, 0.12);
}

.team-header h2 {
  margin-bottom: 14px !important;
}

.team-overview-copy {
  margin: 0 0 24px;
  color: var(--muted) !important;
  font-size: 1.04rem !important;
  line-height: 1.88 !important;
}

.team-overview-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.team-overview-stat {
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(202,165,74,0.14), rgba(111,149,177,0.10));
  border: 1px solid rgba(111, 149, 177, 0.16);
}

.team-overview-stat strong {
  display: block;
  margin-bottom: 4px;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--navy);
}

.team-overview-stat span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.team-category-grid {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px !important;
}

.team-category-card {
  height: 100%;
  border-radius: 28px !important;
  overflow: hidden;
}

.team-category-card:hover {
  transform: none !important;
}

.tcc-inner {
  height: 100%;
  box-sizing: border-box;
  padding: 28px 28px 26px !important;
  gap: 0;
}

.tcc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.tcc-kicker {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tcc-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(202,165,74,0.16), rgba(111,149,177,0.12));
  border: 1px solid rgba(111, 149, 177, 0.18);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tcc-divider {
  margin-bottom: 18px !important;
}

.tcc-title {
  margin-bottom: 12px !important;
}

.tcc-desc {
  margin-bottom: 18px !important;
  max-width: 38ch;
  min-height: 6.6em;
}

.tcc-names {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(44px, auto);
  align-content: start;
  gap: 8px !important;
  min-height: 200px;
  margin-bottom: 24px !important;
  flex: 0 0 auto;
}

.tcc-names span {
  display: flex;
  align-items: center;
  min-height: 44px;
  box-sizing: border-box;
  padding: 9px 12px 9px 20px !important;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(231,241,248,0.68)) !important;
  border: 1px solid rgba(111, 149, 177, 0.14);
  font-size: 0.88rem !important;
  color: var(--navy) !important;
}

.tcc-names span::before {
  left: 9px !important;
  width: 5px !important;
  height: 5px !important;
  background: var(--accent) !important;
  opacity: 0.9 !important;
}

.tcc-cta {
  margin-top: auto;
}

.team-category-hint {
  max-width: 1320px !important;
  padding: 0 !important;
  margin: 0 auto !important;
  text-align: left !important;
}

@media (max-width: 1100px) {
  .team-overview-shell {
    grid-template-columns: 1fr;
  }

  .tcc-inner {
    padding: 28px 22px 26px !important;
  }
}

@media (max-width: 760px) {
  .team {
    padding: 84px 24px 72px !important;
  }

  .team-header {
    padding: 26px 22px;
  }

  .team-overview-stats,
  .team-category-grid,
  .tcc-names {
    grid-template-columns: 1fr !important;
  }

  .tcc-inner {
    padding: 24px 22px 22px !important;
  }

  .tcc-desc,
  .tcc-names {
    min-height: 0;
  }
}

/* Contact select readability fix */
.contact .form-group select {
  color: var(--navy) !important;
  background-color: rgba(255, 255, 255, 0.96) !important;
}

.contact .form-group select option {
  background: #ffffff !important;
  color: var(--navy) !important;
}

/* Executive-only homepage team section */
.team .team-executive-shell {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.team .team-executive-copy {
  padding: 10px 0;
}

.team .team-executive-copy h2 {
  margin-bottom: 18px !important;
}

.team .team-executive-copy p {
  max-width: 44ch;
  color: var(--muted) !important;
  font-size: 1.08rem !important;
  line-height: 1.85 !important;
}

.team .team-executive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.team .team-executive-card {
  width: 100%;
  padding: 0 0 28px;
  border: 1px solid rgba(111, 149, 177, 0.18) !important;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(235, 245, 252, 0.92)) !important;
  box-shadow: 0 18px 42px rgba(111, 149, 177, 0.14);
  cursor: pointer;
  text-align: center;
  overflow: hidden;
}

.team .team-executive-card:hover,
.team .team-executive-card:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(202, 165, 74, 0.38) !important;
  box-shadow: 0 26px 58px rgba(111, 149, 177, 0.18);
  outline: none;
}

.team .team-executive-photo-wrap {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(111,149,177,0.14), rgba(202,165,74,0.12));
}

.team .team-executive-card .team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
  display: block;
  transition: transform 0.35s ease;
}

.team .team-executive-card:hover .team-img,
.team .team-executive-card:focus-visible .team-img {
  transform: scale(1.04);
}

.team .team-executive-name {
  display: block;
  margin: 24px 22px 6px;
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1.18;
}

.team .team-executive-title {
  display: block;
  margin: 0 22px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team .team-category-hint {
  max-width: 1180px !important;
  margin: 30px auto 0 !important;
  text-align: center !important;
  color: var(--muted) !important;
}

@media (max-width: 920px) {
  .team .team-executive-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .team .team-executive-grid {
    grid-template-columns: 1fr;
  }

  .team .team-executive-name {
    font-size: 1.35rem;
  }
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Homepage team preview */
.team.team-preview {
  padding: clamp(82px, 9vw, 124px) 40px !important;
  background:
    radial-gradient(circle at 8% 18%, rgba(202, 165, 74, 0.12), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #edf6fc 100%) !important;
}

.team-preview-inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(460px, 1.18fr);
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
  width: min(1320px, 100%);
  margin: 0 auto;
}

.team-preview-copy .section-label {
  margin-bottom: 24px;
  color: var(--accent);
}

.team-preview-copy h2 {
  margin: 0 0 24px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.8rem, 6vw, 6.6rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.05em;
  color: var(--navy);
}

.team-preview-copy > p {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.team-preview-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 34px 0;
  padding: 22px 0;
  border-top: 1px solid rgba(47, 93, 124, 0.18);
  border-bottom: 1px solid rgba(47, 93, 124, 0.18);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.team-preview-stats strong {
  margin-right: 7px;
  color: var(--navy);
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0;
}

.team-preview-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.team-preview-cta svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  transition: transform 0.25s ease;
}

.team-preview-cta:hover,
.team-preview-cta:focus-visible {
  background: var(--accent);
  color: #ffffff;
  transform: translateY(-2px);
}

.team-preview-cta:hover svg,
.team-preview-cta:focus-visible svg {
  transform: translateX(4px);
}

.team-preview-visual {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  background: #dbeaf4;
  box-shadow: 0 28px 70px rgba(28, 59, 81, 0.2);
}

.team-preview-visual::after {
  content: '';
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(180deg, transparent, rgba(16, 40, 57, 0.9));
  pointer-events: none;
}

.team-preview-visual img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-preview-visual:hover img,
.team-preview-visual:focus-visible img {
  transform: scale(1.025);
}

.team-preview-visual-label {
  position: absolute;
  right: 28px;
  bottom: 26px;
  left: 28px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.team-preview-visual-label strong {
  color: #f4d779;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 920px) {
  .team-preview-inner {
    grid-template-columns: 1fr;
  }

  .team-preview-visual,
  .team-preview-visual img {
    min-height: 390px;
  }
}

@media (max-width: 560px) {
  .team.team-preview {
    padding-right: 24px !important;
    padding-left: 24px !important;
  }

  .team-preview-copy h2 {
    font-size: clamp(3.2rem, 16vw, 4.3rem);
  }

  .team-preview-stats,
  .team-preview-visual-label {
    align-items: flex-start;
    flex-direction: column;
  }

  .team-preview-visual,
  .team-preview-visual img {
    min-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-preview-cta,
  .team-preview-cta svg,
  .team-preview-visual img {
    transition: none;
  }
}

/* Full-height, flush-left navbar logo */
.navbar {
  padding-left: 0 !important;
}

.navbar .logo {
  align-self: stretch;
  display: flex;
  flex: 0 0 auto;
  height: 100%;
}

.navbar .logo > span {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.navbar .logo img {
  width: auto;
  max-width: none;
  height: 100% !important;
  display: block;
  object-fit: contain;
  object-position: left center;
  filter: none;
}

.navbar .logo:hover img {
  transform: none;
  filter: none;
}

@media (max-width: 960px) {
  .navbar {
    padding-right: 20px !important;
  }
}

/* Embedded About video */
.about-video-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  margin-top: 30px;
  padding: 0 24px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.about-video-cta svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  transition: transform 0.25s ease;
}

.about-video-cta:hover,
.about-video-cta:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  transform: translateY(-2px);
}

.about-video-cta:hover svg,
.about-video-cta:focus-visible svg {
  transform: translateX(4px);
}

.about-video-cta[aria-expanded="true"] svg {
  transform: rotate(-90deg);
}

.about-video-section {
  display: grid;
  grid-template-rows: 0fr;
  scroll-margin-top: 96px;
  padding: 0 40px;
  background:
    radial-gradient(circle at 88% 12%, rgba(202, 165, 74, 0.12), transparent 25%),
    linear-gradient(180deg, #eef6fc 0%, #ffffff 100%);
  border-top: 0 solid rgba(111, 149, 177, 0.18);
  border-bottom: 0 solid rgba(111, 149, 177, 0.18);
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  pointer-events: none;
  transition:
    grid-template-rows 0.8s ease-in-out,
    padding 0.8s ease-in-out,
    opacity 0.35s ease,
    border-width 0.8s ease-in-out,
    visibility 0s linear 0.8s;
}

.about-video-section.is-open {
  grid-template-rows: 1fr;
  padding: clamp(82px, 9vw, 126px) 40px;
  border-top-width: 1px;
  border-bottom-width: 1px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    grid-template-rows 0.8s ease-in-out,
    padding 0.8s ease-in-out,
    opacity 0.45s ease 0.08s,
    border-width 0.8s ease-in-out,
    visibility 0s linear 0s;
}

.about-video-inner {
  min-height: 0;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.about-video-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  align-items: end;
  gap: 50px;
  margin-bottom: clamp(36px, 5vw, 58px);
}

.about-video-heading h2 {
  margin: 12px 0 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.4rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--navy);
}

.about-video-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.about-video-frame {
  position: relative;
  overflow: hidden;
  background: #102b3d;
  box-shadow: 0 30px 80px rgba(24, 54, 74, 0.24);
}

.about-video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #102b3d;
  object-fit: contain;
}

@media (max-width: 760px) {
  .about-video-section {
    padding-right: 24px;
    padding-left: 24px;
  }

  .about-video-section.is-open {
    padding-right: 24px;
    padding-left: 24px;
  }

  .about-video-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-video-heading h2 {
    font-size: clamp(3rem, 14vw, 4.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-video-cta,
  .about-video-cta svg,
  .about-video-section {
    transition: none;
  }
}

/* Interactive Four P's */
.values-trigger {
  width: 100%;
  margin: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
}

.values-trigger:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}

.values-modal-open {
  overflow: hidden;
}

.values-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(5, 22, 34, 0.8);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.values-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.35s ease, visibility 0s linear 0s;
}

.values-modal {
  position: relative;
  width: min(1120px, 100%);
  height: min(720px, calc(100dvh - 56px));
  overflow: hidden;
  background: #17374b;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
  transform: translateY(24px) scale(0.985);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.values-modal-overlay.is-open .values-modal {
  transform: translateY(0) scale(1);
}

.values-modal::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 19, 30, 0.05) 38%, rgba(4, 19, 30, 0.58) 100%);
}

.values-modal-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.values-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(9, 35, 52, 0.62);
  color: #fff;
  font: 300 2rem/1 Arial, sans-serif;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.values-modal-close:hover,
.values-modal-close:focus-visible {
  background: var(--gold);
  transform: rotate(4deg);
  outline: none;
}

.values-modal-copy {
  position: absolute;
  left: clamp(24px, 5vw, 64px);
  bottom: clamp(24px, 5vw, 58px);
  z-index: 2;
  width: min(650px, calc(100% - 48px));
  max-height: calc(100% - 120px);
  overflow-y: auto;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(9, 35, 52, 0.72);
  color: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(15px);
}

.values-modal-kicker {
  display: block;
  margin-bottom: 10px;
  color: #efc45c;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.values-modal-copy h2 {
  margin: 0 0 18px;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 400;
  line-height: 0.95;
}

.values-modal-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.75;
}

@media (max-width: 640px) {
  .values-modal-overlay {
    padding: 12px;
  }

  .values-modal {
    height: calc(100dvh - 24px);
  }

  .values-modal-close {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }

  .values-modal-copy {
    left: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
    max-height: calc(100% - 92px);
    padding: 24px;
  }

  .values-modal-copy h2 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .values-modal-overlay,
  .values-modal {
    transition: none;
  }
}

/* Four P image-backed cards */
.values-trigger {
  min-height: 220px;
  justify-content: flex-end;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 20px 44px rgba(15, 42, 59, 0.18) !important;
}

.values-trigger[data-value="pledge"] {
  background: linear-gradient(180deg, rgba(8, 30, 45, 0.08) 18%, rgba(8, 30, 45, 0.82) 100%), url('/images/pledge.png') center / cover no-repeat !important;
}

.values-trigger[data-value="participate"] {
  background: linear-gradient(180deg, rgba(8, 30, 45, 0.08) 18%, rgba(8, 30, 45, 0.82) 100%), url('/images/Participate.png') center / cover no-repeat !important;
}

.values-trigger[data-value="persist"] {
  background: linear-gradient(180deg, rgba(8, 30, 45, 0.08) 18%, rgba(8, 30, 45, 0.82) 100%), url('/images/Persist.png') center / cover no-repeat !important;
}

.values-trigger[data-value="produce"] {
  background: linear-gradient(180deg, rgba(8, 30, 45, 0.08) 18%, rgba(8, 30, 45, 0.82) 100%), url('/images/Produce.png') center / cover no-repeat !important;
}

.values-trigger::before {
  z-index: 1;
  color: rgba(255, 255, 255, 0.48) !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.values-trigger .values-list-text {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}

.values-trigger .values-list-name {
  color: #fff !important;
  font-size: 1.55rem;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.34);
}

.values-trigger .values-list-tag {
  color: rgba(255, 255, 255, 0.82) !important;
}

.values-trigger:hover {
  border-color: rgba(239, 196, 92, 0.7) !important;
  box-shadow: 0 28px 58px rgba(15, 42, 59, 0.25) !important;
}

@media (max-width: 640px) {
  .values-trigger {
    min-height: 190px;
  }
}
.form-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

/* Homepage office locations */
.locations-section {
  padding: 96px 40px 104px;
  background:
    radial-gradient(circle at 8% 12%, rgba(142, 169, 191, 0.12), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f5f9fc 100%);
  border-top: 1px solid rgba(126, 151, 178, 0.16);
}

.locations-heading,
.locations-grid {
  width: min(1240px, 100%);
  margin-inline: auto;
}

.locations-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  align-items: end;
  gap: clamp(36px, 7vw, 96px);
  margin-bottom: 40px;
}

.locations-heading h2 {
  margin: 0;
  color: #4f667d;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 4.6vw, 4.4rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.locations-heading h2 em {
  color: #8ea9bf;
  font-weight: 400;
}

.locations-heading > p {
  max-width: 540px;
  margin: 0 0 5px;
  color: #6f7d8a;
  font-size: 1rem;
  line-height: 1.8;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.location-card {
  overflow: hidden;
  border: 1px solid rgba(126, 151, 178, 0.2);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 20px 44px rgba(41, 70, 91, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 54px rgba(41, 70, 91, 0.13);
}

.location-map {
  height: 310px;
  overflow: hidden;
  background: #e8f0f5;
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.88) contrast(1.02);
}

.location-card-body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 164px;
  padding: 26px 28px 28px;
}

.location-code {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 15px;
  background: #edf4f8;
  color: #5f7488;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.location-type {
  display: block;
  margin-bottom: 4px;
  color: #8ea9bf;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.location-details h3 {
  margin: 0 0 7px;
  color: #4f667d;
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.1;
}

.location-details address {
  color: #6f7d8a;
  font-size: 0.87rem;
  font-style: normal;
  line-height: 1.55;
}

.location-link {
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(95, 116, 136, 0.4);
  color: #5f7488;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.location-link:hover,
.location-link:focus-visible {
  border-color: #efc45c;
  color: #314d62;
}

@media (max-width: 900px) {
  .locations-section {
    padding: 76px 24px 80px;
  }

  .locations-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .locations-heading > p {
    max-width: 680px;
  }

  .locations-grid {
    grid-template-columns: 1fr;
  }

  .location-map {
    height: 290px;
  }
}

@media (max-width: 540px) {
  .locations-section {
    padding: 64px 16px 68px;
  }

  .locations-heading {
    margin-bottom: 30px;
  }

  .location-card {
    border-radius: 20px;
  }

  .location-map {
    height: 240px;
  }

  .location-card-body {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    padding: 22px 20px 24px;
  }

  .location-link {
    grid-column: 2;
    justify-self: start;
    margin-top: 2px;
  }
}
