:root {
  --navy: #0f2746;
  --navy-strong: #0a1c32;
  --gold: #c7a35a;
  --light: #f2f5f8;
  --muted: #5a6575;
  --text: #162032;
  --border: #dbe2ec;
  --card: #ffffff;
  --font-base: 'Segoe UI', sans-serif;
  --hero-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1600&q=80');
  --hero-overlay: linear-gradient(190deg, rgba(7, 28, 58, 0.82), rgba(13, 52, 94, 0.62));
  --hero-position: center 52%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-base);
  background: radial-gradient(circle at 18% 18%, rgba(235,239,247,0.8), transparent 40%), radial-gradient(circle at 82% 0%, rgba(223,230,242,0.6), transparent 36%), var(--light);
  color: var(--text);
  line-height: 1.65;
}

a {
  text-decoration: none;
  color: inherit;
}

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

header.site-header {
  position: sticky;
  top: 0;
  z-index: 12;
  background: #fff;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 18px 34px -26px rgba(15, 23, 42, 0.45);
}

.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2.75rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.1rem 0;
}

.nav .logo {
  font-family: var(--font-base);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.2rem;
  color: var(--navy);
  text-transform: uppercase;
  order: 3;
  margin-left: auto;
}

.nav-links {
  display: flex;
  gap: 1.05rem;
  flex-wrap: wrap;
  order: 1;
  align-items: center;
  flex: 1;
}

.nav-links a {
  color: #2d3645;
  font-weight: 600;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  background: rgba(32, 47, 70, 0.06);
  color: var(--navy);
}

.nav .nav-cta {
  order: 2;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--gold);
  color: #1f1b13;
  border: 1px solid transparent;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 16px 40px -22px rgba(15, 23, 42, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 46px -26px rgba(15, 23, 42, 0.55);
  background: #d3b06f;
}

.btn.ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
  box-shadow: none;
}

.btn.secondary {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  box-shadow: none;
}

.hero {
  position: relative;
  color: #fff;
  background: var(--hero-overlay), var(--hero-image);
  background-size: cover;
  background-position: var(--hero-position);
  background-attachment: fixed;
  min-height: 46vh;
  padding: 4.9rem 0 4.2rem;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 26, 40, 0.35), rgba(16, 26, 40, 0.1));
  z-index: 1;
}

.hero .shell {
  position: relative;
  z-index: 2;
}

.hero .kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 0.78rem;
  color: #d5dbe6;
  margin-bottom: 0.6rem;
}

.hero h1 {
  font-family: var(--font-base);
  font-size: clamp(2.4rem, 3vw + 1.2rem, 3.6rem);
  margin: 0.55rem 0 0.6rem;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero p {
  max-width: 48rem;
  color: #e7e9ef;
  font-size: 1.05rem;
  margin: 0 0 1.2rem;
}

.hero .subhead {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0.2rem 0 0.35rem;
}

.hero .fine-note {
  font-size: 0.95rem;
  color: #dce0e8;
  margin: 0;
}

.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #f3f4f6;
  font-weight: 600;
  font-size: 0.93rem;
}

.badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

.value-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 22px 48px -30px rgba(15,23,42,0.4);
  padding: 1.1rem 0;
}

.value-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.value-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.92rem;
}

.value-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #f7f8fc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.value-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.section {
  padding: 3.6rem 0;
}

.section h2 {
  font-family: var(--font-base);
  font-size: clamp(1.6rem, 2vw + 1rem, 2.35rem);
  margin: 0 0 0.25rem;
  color: var(--navy);
  letter-spacing: 0.015em;
}

.section p.lead {
  color: var(--muted);
  max-width: 820px;
}

.section.light {
  background: #fff;
}

.section.alt {
  background: #f7f8fb;
}

.section.dark {
  background: var(--navy);
  color: #e5e7eb;
}

.section.dark h2 {
  color: #fff;
}

.section-head {
  margin-bottom: 1.6rem;
}

.section-head .kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.83rem;
  margin: 0 0 0.35rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--card);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 22px 50px -32px rgba(15,23,42,0.45);
}

.card.muted {
  background: #f7f8fb;
  box-shadow: none;
}

.card-link {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  height: 100%;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card-link:hover {
  transform: translateY(-6px);
  border-color: #d2d8e3;
  box-shadow: 0 26px 54px -34px rgba(15,23,42,0.55);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: 1.2rem;
  color: var(--navy);
}

.card .link {
  margin-top: auto;
  display: inline-block;
}

.card p {
  margin: 0.25rem 0 0.7rem;
  color: var(--muted);
}

.card .kicker {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 0.15rem;
}

.link {
  color: var(--navy);
  font-weight: 700;
}

.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem 1.4rem;
}

.person {
  text-align: center;
  background: transparent;
  border-radius: 14px;
  padding: 1.6rem 1.2rem 1.3rem;
  border: 1px solid var(--border);
  box-shadow: 0 18px 38px -30px rgba(15,23,42,0.35);
}

.person img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 0.95rem;
  filter: grayscale(100%);
  border: 4px solid #fff;
  box-shadow: 0 12px 28px -14px rgba(15,23,42,0.55);
}

.person h3 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
}

.person .role {
  color: var(--muted);
  margin: 0.2rem 0 0.4rem;
}

.list-inline {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding: 0;
  margin: 0.4rem 0 0;
  list-style: none;
}

.checklist {
  padding-left: 1.1rem;
  margin: 0.2rem 0 0.6rem;
  color: var(--muted);
}

.checklist li {
  margin-bottom: 0.3rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(12,26,41,0.08);
  color: var(--navy);
  font-weight: 600;
}

.form {
  display: grid;
  gap: 1rem;
}

.form label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.75rem 0.8rem;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
  font-family: inherit;
  transition: border 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(194,155,74,0.18);
}

.expertise-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.expertise-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f7f8fb;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.card-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.footer-info {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer {
  background: var(--navy-strong);
  color: #d8dfea;
  padding: 2.2rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer a {
  color: #fff;
}

.footer .footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.footer .footer-bottom {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  color: #d7deeb;
  font-size: 0.95rem;
}

.table-legal {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.table-legal td {
  padding: 0.55rem 0.35rem;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
  color: var(--muted);
}

blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
  margin: 1rem 0;
  color: var(--navy);
}

.hero.simple {
  background: var(--hero-overlay), var(--hero-image);
  background-size: cover;
  background-position: var(--hero-position);
  background-attachment: fixed;
}

.team-avatars-grid .team-member img,
.people .person img {
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
  filter: grayscale(6%);
}

.team-avatars-grid .team-member:hover img,
.people .person:hover img {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 38px -22px rgba(15, 23, 42, 0.45);
  filter: none;
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    padding: 4.4rem 0 3.4rem;
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 0.8rem 0;
  }

  .cta-row {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
    width: 100%;
  }
}
