:root {
  /* Brand palette (AMBA) */
  --brand: #175661;            /* deep teal */
  --brand-soft: #1e6e7a;       /* hover tint on white */
  --brand-dark: #0f2f34;       /* headings on white */
  --gold: #C2A873;             /* gold accent */
  --gold-soft: #EFE3C3;        /* warm hover on white */

  --bg: var(--brand);          /* base background is brand blue */
  --bg-alt: #ffffff;           /* surface/cards remain white */
  --text: #e9eef4;             /* default text on blue */
  --muted: #c5cfdb;            /* muted text on blue */
  --border: #e5e7eb;           /* borders on white surfaces */
  --max-width: min(95vw, 1600px);
  --radius: 10px;
  --header-h: 64px;            /* sticky header height estimate */

  /* Link color variable (scoped in surfaces for contrast) */
  --link: var(--gold);         /* link on blue background */
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3 {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.15s ease-out, text-decoration-color 0.15s ease-out;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible, button:focus-visible, .btn-primary:focus-visible, .btn-secondary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  background: var(--gold);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  z-index: 1000;
}

/* HEADER / NAV */

header {
  background: rgba(23, 86, 97, 0.96);
  border-bottom: 1px solid rgba(194, 168, 115, 0.35);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(0.75rem, 2vw, 1.25rem) clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.nav-left {
  display: flex;
  align-items: center;
}

.nav-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.site-logo {
  height: clamp(4.5rem, 9vw, 6rem);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: #ffffff;
  transition: opacity 0.2s ease-out;
}

.nav-brand:hover {
  opacity: 0.92;
}

.nav-brand-main {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: #ffffff;
}

.nav-brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  align-items: flex-start;
}

.nav-logo {
  height: clamp(30px, 5vw, 44px);
  width: auto;
  filter: brightness(1.05) contrast(1.1) saturate(0.85);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  justify-content: flex-end;
}

.nav-links a {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: #e6edf0;
  position: relative;
  padding-bottom: 0.1rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.2s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--gold);
}

.nav-links a.active::after {
  width: 100%;
}

/* NAV OVERLAY (takeover) */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--brand);
  color: #fff;
  transform: translateY(-100%);
  transition: transform 320ms ease-out, opacity 320ms ease-out;
  opacity: 0;
  z-index: 50;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

body.nav-open .nav-overlay {
  transform: translateY(0);
  opacity: 1;
}

.nav-overlay-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}

.nav-overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-overlay-title {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: flex-start;
}

.nav-overlay-title .nav-brand-main {
  font-size: clamp(1.05rem, 2.8vw, 1.6rem);
  letter-spacing: 0.24em;
}

.nav-overlay-title .nav-brand-sub {
  font-size: clamp(0.6rem, 1.8vw, 0.75rem);
}

.nav-close {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.nav-overlay-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding-top: 2rem;
}

.nav-overlay-links a {
  color: #fff;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  text-decoration: none;
}

/* MAIN LAYOUT */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 5vw, 4rem);
  width: 100%;
  flex: 1 0 auto;
}

section {
  margin-bottom: 3rem;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-header h1,
.section-header h2 {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.section-header p {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 42rem;
}

/* HOME PAGE SCROLL-SNAP */
.home-main {
  scroll-snap-type: y mandatory;
  scroll-padding-top: var(--header-h);
  padding-top: clamp(1.1rem, 3vw, 1.8rem);
}
.home-section {
  scroll-snap-align: start;
  scroll-margin-top: var(--header-h);
}
.home-hero {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-content: center;
  padding: clamp(2rem, 6vw, 4rem) 0 clamp(3.5rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
}

/* HERO */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: stretch;
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background:
    linear-gradient(110deg, rgba(15, 47, 52, 0.85) 0%, rgba(15, 47, 52, 0.65) 38%, rgba(15, 47, 52, 0.4) 68%, rgba(15, 47, 52, 0.2) 100%),
    url("pictures/Better_opportunities.webp") center center / cover no-repeat;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  image-rendering: high-quality;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: -10% -20% -15% -20%;
  z-index: -1;
  background: radial-gradient(700px 520px at 15% 20%, rgba(194, 168, 115, 0.32), rgba(194, 168, 115, 0));
  pointer-events: none;
}

/* Optional photo background for hero */
.hero.photo-bg::after{display:none !important; content:"";}

/* Reusable photo overlay for other sections */
.photo-section {
  position: relative;
  isolation: isolate;
}
.photo-section::after{display:none !important; content:"";}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  line-height: 1.25;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  color: rgba(233, 238, 244, 0.7);
  margin-bottom: 0.8rem;
}

.hero p {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.hero-tags {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.hero-tags span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(233, 238, 244, 0.78);
}

.hero-metrics {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  border: 1px solid rgba(194, 168, 115, 0.45);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric-grid {
  display: grid;
  gap: 1rem;
  margin: 1rem 0 1.3rem;
}
.metric {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(233, 238, 244, 0.12);
}
.metric:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.metric-kicker {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(233, 238, 244, 0.55);
  margin-bottom: 0.25rem;
}
.metric strong {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 600;
}
.metric-footnote {
  color: rgba(233, 238, 244, 0.75);
  font-size: 0.82rem;
  line-height: 1.5;
}

.btn-primary,
.btn-secondary {
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.btn-primary {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
}

.btn-primary:hover {
  opacity: 0.95;
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.hero-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  color: #222;
  /* Use accent links inside surfaces */
  --link: var(--brand);
}

.hero-card-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #3f4752;
  margin-bottom: 0.5rem;
}

.hero-card h2 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: var(--brand-dark);
}

.hero-card ul {
  list-style: none;
  margin-top: 0.25rem;
}

.hero-card li {
  margin-bottom: 0.35rem;
  color: #2d2d2d;
  font-size: 0.9rem;
}
.hero-card p {
  color: #2d2d2d;
}

/* GENERIC CARDS & GRIDS */

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

.card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.03);
  color: #222;
  --link: var(--brand);
}

.card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
  color: var(--brand-dark);
}

.card span {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: #3f4752;
  display: block;
  margin-bottom: 0.6rem;
}

.card p {
  color: #2d2d2d;
  font-size: 0.9rem;
}

/* COMPANIES */

.companies-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.company-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1rem 1rem 0.9rem;
  font-size: 0.88rem;
  transition:
    background 0.22s ease-out,
    transform 0.22s ease-out,
    box-shadow 0.22s ease-out,
    border-color 0.22s ease-out,
    color 0.22s ease-out;
  cursor: pointer;
  color: #222;
  --link: var(--brand);
}

.company-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--brand-dark);
  transition: color 0.22s ease-out;
}

.company-meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #3f4752;
  margin-bottom: 0.4rem;
}

.company-desc {
  color: #2d2d2d;
  margin-bottom: 0.35rem;
}

.company-card:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.company-card:hover .company-name {
  color: var(--brand);
}

.company-card:focus, .company-card:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.split-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.split-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.6rem 1.5rem;
  color: #1f2b32;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  --link: var(--brand);
}

.split-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.8rem;
  color: var(--brand-dark);
}

.split-card ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: #2d2d2d;
}

.split-card li {
  position: relative;
  padding-left: 1.25rem;
}
.split-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  position: absolute;
  top: 0.5rem;
  left: 0.15rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.pillar-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(233, 238, 244, 0.86);
  backdrop-filter: blur(4px);
  min-height: 100%;
}

.pillar-card span {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  color: rgba(233, 238, 244, 0.6);
  margin-bottom: 0.45rem;
  display: block;
}

.pillar-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

.pillar-card p {
  font-size: 0.9rem;
  line-height: 1.55;
}

.verticals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.vertical-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.35rem 1.3rem;
  color: #242526;
  transition:
    border-color 0.22s ease-out,
    box-shadow 0.22s ease-out,
    transform 0.22s ease-out;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vertical-card h3 {
  font-size: 1.05rem;
  color: var(--brand-dark);
  margin-bottom: 0.55rem;
}

.vertical-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #2f393d;
}

.vertical-card:hover {
  border-color: var(--gold);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.12);
  transform: translateY(-6px);
}

.vertical-links {
  margin-top: 0.8rem;
  margin-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.vertical-links a {
  color: var(--brand);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.vertical-links a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

.vertical-meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(36, 52, 58, 0.65);
  margin-top: 1rem;
}

.timeline {
  list-style: none;
  display: grid;
  gap: 1.1rem;
  margin: 0;
}

.timeline-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.3rem 1.2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 1.1rem;
  color: #f0f5f8;
}

.timeline-step {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  color: #ffffff;
}

.timeline-item h3 {
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
  color: #ffffff;
}

.timeline-item p {
  font-size: 0.9rem;
  color: rgba(233, 238, 244, 0.78);
  line-height: 1.55;
}

.cta-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: center;
  backdrop-filter: blur(4px);
}

.cta-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.cta-text p {
  color: rgba(233, 238, 244, 0.78);
  font-size: 0.96rem;
  max-width: 32rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

.cta-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}
.cta-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* MISSION STRIP */

.mission-strip {
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.6rem 1.4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr);
  gap: 1.5rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: #222;
  --link: var(--brand);
}

.mission-strip h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.6rem;
  color: var(--brand-dark);
}

.mission-strip p {
  color: #2d2d2d;
  margin-bottom: 0.6rem;
}

.mission-list {
  list-style: none;
  color: #2d2d2d;
}

.mission-list li {
  margin-bottom: 0.4rem;
}

/* CONTACT */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.8fr);
  gap: 2.5rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: #222;
  --link: var(--brand);
}

.contact-block h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.5rem;
  color: var(--brand-dark);
}

.contact-block p {
  color: #555;
}

.contact-form {
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem 1.4rem;
  color: #222;
  --link: var(--brand);
}

.contact-form label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.3rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  margin-bottom: 0.9rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  font: inherit;
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form button {
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
}

/* TEAM */

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

.team-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.3rem 1.3rem 1.1rem;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.03);
  color: #222;
  --link: var(--brand);
}

.team-name {
  font-weight: 600;
  margin-bottom: 0.1rem;
  margin-top: 0;
  font-size: 1.1rem;
  color: var(--brand-dark);
}

.team-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #3f4752;
  margin-bottom: 0.5rem;
}

.team-bio {
  color: #2d2d2d;
  margin-bottom: 0.4rem;
}

.team-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

.team-email {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(194, 168, 115, 0.2);
}

.team-email a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease;
}

.team-email a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

/* ABOUT TEXT */

.about-body {
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid #d7dbe3;
  border-top: 3px solid var(--gold);
  padding: 1.6rem 1.5rem;
  font-size: 0.95rem;
  color: #2d2d2d;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
  --link: var(--brand);
}

.about-body h2:not(:first-of-type) {
  border-top: 1px solid #e6e9f0;
  padding-top: 0.9rem;
  margin-top: 1.1rem;
}

.about-body p + h2 {
  margin-top: 1.2rem;
}

/* tighten companies spacing a bit */
.companies-grid { gap: 1.2rem; }
.section-header { margin-bottom: 1.5rem; }

.about-body h2 {
  font-size: 1.1rem;
  margin-top: 1rem;
  margin-bottom: 0.4rem;
  color: var(--brand-dark);
}

.about-body p {
  margin-bottom: 0.7rem;
}

.about-body ul {
  margin-left: 1.2rem;
  margin-bottom: 0.8rem;
}

/* FOOTER */

footer {
  border-top: 1px solid var(--border);
  padding: clamp(1.2rem, 3vw, 2rem) clamp(1.25rem, 4vw, 2.5rem);
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

.footer-meta {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: clamp(0.8rem, 2vw, 1.5rem);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.footer-meta a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* SCROLL REVEAL ANIMATIONS */

.reveal{opacity:0;transform:translateY(18px);transition:opacity 0.6s ease-out, transform 0.6s ease-out;} .reveal-visible{opacity:1;transform:translateY(0);}
.reveal {
  transition-delay: var(--delay, 0s);
}

/* Directional reveal variants */
[data-reveal="left"] {
  transform: translateX(-32px);
}
[data-reveal="right"] {
  transform: translateX(32px);
}
[data-reveal="up"] {
  transform: translateY(32px);
}
[data-reveal="zoom"] {
  transform: scale(0.98);
}
[data-reveal].reveal-visible {
  transform: none;
}

/* Page decorative background */
.page-bg {
  position: relative;
  isolation: isolate;
}
.page-bg::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: -60px -80px -60px -80px;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 10% 5%, rgba(201, 166, 107, 0.18), rgba(201, 166, 107, 0) 60%),
    radial-gradient(800px 480px at 95% 0%, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 55%),
    linear-gradient(180deg, rgba(23,86,97,0.22), rgba(23,86,97,0.10));
  background-size: auto, auto, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
}

/* RESPONSIVE */

@media (max-width: 840px) {
  .home-hero {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    left: 0;
    right: 0;
    transform: none;
    padding: clamp(1.5rem, 5vw, 3rem) 0 clamp(2.5rem, 6vw, 4rem);
  }
  
  .home-hero::before {
    background-size: cover;
    background-position: center center;
    left: 0;
    right: 0;
    width: 100%;
  }

  .nav {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .hero,
  .mission-strip,
  .contact,
  .split-row,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 2rem;
  }

  .hero-metrics {
    background: rgba(255, 255, 255, 0.1);
  }

  .metric-grid {
    gap: 0.85rem;
  }

  .pillars-grid,
  .verticals-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .vertical-card {
    min-height: auto;
  }

  .timeline-item {
    grid-template-columns: auto 1fr;
  }
}

@media (max-width: 680px) {
  .grid-3,
  .companies-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .hero-tags span {
    font-size: 0.66rem;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

/* Large screen optimizations */
@media (min-width: 1400px) {
  :root {
    --max-width: min(92vw, 1800px);
  }
  
  .hero {
    gap: clamp(3rem, 5vw, 4.5rem);
  }
  
  main {
    padding: clamp(3rem, 5vw, 5rem) clamp(2rem, 6vw, 5rem);
  }
}

.home-section.auto-height{min-height:auto;}
/* Overrides */
.section-header { margin-bottom: 1.5rem !important; }


