/* ============================================================
   PHC — Professional Human Capital Consulting
   styles.css — Complete site styles

   TO CUSTOMISE:
   — Edit CSS variables in the :root block below (colours, fonts, spacing)
   — All colour tokens start with --clr-
   — All typography tokens start with --font- or --text-
   — All spacing tokens start with --space-
   ============================================================ */


/* ============================================================
   FONT FACE
   Drop Neo Sans Pro .woff2 files into /fonts/ to activate.
   ============================================================ */
@font-face {
  font-family: 'Neo Sans Pro';
  src: url('../fonts/NeoSansPro-Regular.woff2') format('woff2'),
       url('../fonts/NeoSansPro-Regular.woff')  format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Neo Sans Pro';
  src: url('../fonts/NeoSansPro-Medium.woff2') format('woff2'),
       url('../fonts/NeoSansPro-Medium.woff')  format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Neo Sans Pro';
  src: url('../fonts/NeoSansPro-Bold.woff2') format('woff2'),
       url('../fonts/NeoSansPro-Bold.woff')  format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* ----- Colours ----- */
  --clr-primary:         #26998a;   /* Teal — main brand */
  --clr-primary-dark:    #184a6a;   /* Dark navy */
  --clr-primary-light:   #3ab5a4;   /* Lighter teal */
  --clr-primary-xlight:  #e0f5f2;   /* Very light green tint */
  --clr-gold:            #4dd9c8;   /* Light teal accent */
  --clr-gold-dark:       #26998a;   /* Darker gold */
  --clr-gold-light:      #7de9dc;   /* Lighter gold */
  --clr-gold-bg:         #e0f5f2;   /* Pale gold background */
  --clr-sage:            #6bbfb3;   /* Sage green */
  --clr-cream:           #f8f5ef;   /* Warm cream — main background */
  --clr-cream-dark:      #ede8de;   /* Slightly darker cream */
  --clr-dark:            #1a1a1a;   /* Near-black for body text */
  --clr-text:            #3a3a3a;   /* Body text */
  --clr-muted:           #6b6b6b;   /* Muted/secondary text */
  --clr-subtle:          #999;      /* Very muted text */
  --clr-line:            #ddd8ce;   /* Divider lines */
  --clr-white:           #ffffff;

  /* ----- Typography ----- */
  --font-primary: 'Neo Sans Pro', 'Helvetica Neue', Arial, sans-serif;
  --font-serif:   Georgia, 'Times New Roman', serif;

  --text-xs:    0.75rem;    /* 12px */
  --text-sm:    0.875rem;   /* 14px */
  --text-base:  1rem;       /* 16px */
  --text-lg:    1.125rem;   /* 18px */
  --text-xl:    1.25rem;    /* 20px */
  --text-2xl:   1.5rem;     /* 24px */
  --text-3xl:   1.875rem;   /* 30px */
  --text-4xl:   2.25rem;    /* 36px */
  --text-5xl:   3rem;       /* 48px */
  --text-6xl:   3.75rem;    /* 60px */

  --leading-tight:  1.2;
  --leading-snug:   1.4;
  --leading-normal: 1.6;
  --leading-relaxed:1.75;

  --tracking-tight:  -0.02em;
  --tracking-normal:  0em;
  --tracking-wide:    0.05em;
  --tracking-wider:   0.1em;
  --tracking-widest:  0.15em;

  /* ----- Spacing ----- */
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-5:   1.25rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;
  --space-32:  8rem;

  /* ----- Layout ----- */
  --container-max: 1200px;
  --container-pad: clamp(1rem, 4vw, 2rem);

  /* ----- Radius ----- */
  --radius-sm:   0.25rem;
  --radius-md:   0.5rem;
  --radius-lg:   1rem;
  --radius-xl:   1.5rem;
  --radius-full: 9999px;

  /* ----- Shadows ----- */
  --shadow-sm:  0 1px 4px  rgba(38, 153, 138, 0.08);
  --shadow-md:  0 4px 16px rgba(38, 153, 138, 0.10);
  --shadow-lg:  0 8px 32px rgba(38, 153, 138, 0.12);
  --shadow-xl:  0 16px 48px rgba(38, 153, 138, 0.15);

  /* ----- Transitions ----- */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.4, 0, 1, 1);
  --ease-io:   cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:  0.15s;
  --dur-base:  0.25s;
  --dur-slow:  0.4s;
  --dur-slower:0.6s;
  --dur-reveal:0.8s;

  /* ----- Header ----- */
  --header-h:        80px;
  --header-h-mobile: 66px;

  /* ----- Section spacing ----- */
  --section-py: clamp(4rem, 8vw, 7rem);
}


/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--clr-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-base) var(--ease-io);
}

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font: inherit;
}

address {
  font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
  line-height: var(--leading-tight);
  color: var(--clr-dark);
  font-weight: 700;
}


/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.section-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--space-3);
}

.section-eyebrow--light {
  color: var(--clr-gold-light);
}

.section-title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: #1b4a68;
  margin-bottom: var(--space-6);
}

.section-title--light {
  color: var(--clr-white);
}

.section-intro {
  font-size: var(--text-lg);
  color: var(--clr-muted);
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--space-12);
  line-height: var(--leading-relaxed);
}

.lead-text {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--clr-text);
  margin-bottom: var(--space-6);
}

.lead-text--light {
  color: rgba(255, 255, 255, 0.85);
}


/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--section-py);
}

.section-alt {
  background-color: #f7f7f7;
}

.section-dark {
  background-color: var(--clr-primary-dark);
}

.section-header {
  margin-bottom: var(--space-12);
}

.text-center {
  text-align: center;
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 2rem;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border-radius: var(--radius-full);
  transition:
    background-color var(--dur-base) var(--ease-io),
    color           var(--dur-base) var(--ease-io),
    border-color    var(--dur-base) var(--ease-io),
    transform       var(--dur-fast) var(--ease-io),
    box-shadow      var(--dur-base) var(--ease-io);
  white-space: nowrap;
  cursor: pointer;
}

.btn:focus-visible {
  outline: 3px solid var(--clr-gold);
  outline-offset: 3px;
}

.btn:active {
  transform: scale(0.97);
}

/* Primary — green fill */
.btn-primary {
  background-color: var(--clr-primary);
  color: var(--clr-white);
  border: 2px solid var(--clr-primary);
}
.btn-primary:hover {
  background-color: var(--clr-primary-light);
  border-color: var(--clr-primary-light);
  box-shadow: var(--shadow-md);
}

/* Gold — gold fill */
.btn-gold {
  background-color: var(--clr-gold);
  color: var(--clr-dark);
  border: 2px solid var(--clr-gold);
}
.btn-gold:hover {
  background-color: var(--clr-gold-dark);
  border-color: var(--clr-gold-dark);
  box-shadow: var(--shadow-md);
}

/* Outline white — transparent with white border (for hero) */
.btn-outline-white {
  background-color: transparent;
  color: var(--clr-white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--clr-white);
}


/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background-color: transparent;
  transition:
    background-color var(--dur-slow) var(--ease-io),
    box-shadow       var(--dur-slow) var(--ease-io),
    height           var(--dur-slow) var(--ease-io);
}

.site-header.scrolled {
  background-color: var(--clr-white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  height: 70px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
    width: 86px;
    height: auto;
    flex-shrink: 0;
    transition: opacity var(--dur-base)
0.25s
;}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-abbr {
  font-size: var(--text-xl);

  letter-spacing: var(--tracking-wide);
  color: var(--clr-white);
  transition: color var(--dur-slow);
}

.logo-full {
  font-size: var(--text-xl);
  letter-spacing: var(--tracking-wide);
  text-transform:capitalize;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--dur-slow);
}

.site-header.scrolled .logo-abbr {
  color: var(--clr-primary);
}

.site-header.scrolled .logo-full {
  color: var(--clr-muted);
}

/* Nav */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  padding: 0.5rem 0.875rem;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-full);
  transition: all var(--dur-base) var(--ease-io);
}

.nav-link:hover {
  color: var(--clr-white);
  background-color: rgba(255, 255, 255, 0.12);
}

.site-header.scrolled .nav-link {
  color: var(--clr-text);
}

.site-header.scrolled .nav-link:hover {
  color: var(--clr-primary);
  background-color: var(--clr-primary-xlight);
}

/* CTA button in nav */
.nav-link.nav-cta {
  background-color: var(--clr-gold);
  color: var(--clr-dark);
  padding: 0.5rem 1.25rem;
  font-weight: 700;
}

.nav-link.nav-cta:hover {
  background-color: var(--clr-gold-dark);
  color: var(--clr-dark);
}

.site-header.scrolled .nav-link.nav-cta {
  color: var(--clr-dark);
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background-color: var(--clr-white);
  transition: all var(--dur-base) var(--ease-io);
  transform-origin: center;
}

.site-header.scrolled .nav-toggle span {
  background-color: var(--clr-dark);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}


/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  background-color: var(--clr-primary-dark);
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity var(--dur-slower) var(--ease-io);
}

/* Fallback gradient if image hasn't loaded */
.hero-slide:nth-child(1) {
  background-color: #26998a;
  background-image:
    linear-gradient(135deg, rgba(24, 74, 106, 0.9) 0%, rgba(58, 181, 164, 0.6) 100%),
    url('../images/hero-01.jpg');
}
.hero-slide:nth-child(2) {
  background-color: #184a6a;
  background-image:
    linear-gradient(135deg, rgba(24, 74, 106, 0.9) 0%, rgba(58, 181, 164, 0.6) 100%),
    url('../images/hero-02.jpg');
}
.hero-slide:nth-child(3) {
  background-color: #26998a;
  background-image:
    linear-gradient(135deg, rgba(24, 74, 106, 0.9) 0%, rgba(58, 181, 164, 0.6) 100%),
    url('../images/hero-03.jpg');
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(24, 74, 106, 0.72) 0%,
    rgba(24, 74, 106, 0.40) 60%,
    rgba(24, 74, 106, 0.20) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: calc(var(--header-h) + 2rem) 5rem;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--clr-gold-light);
  margin-bottom: var(--space-4);
  opacity: 0;
  transform: translateY(12px);
  animation: heroFadeUp 0.7s var(--ease-out) 0.1s forwards;
}

.hero-title {
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: 1.05;
  color: var(--clr-white);
  margin-bottom: var(--space-6);
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.8s var(--ease-out) 0.25s forwards;
}

.hero-subtitle {
  font-size: clamp(var(--text-base), 2vw, var(--text-xl));
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-bottom: var(--space-10);
  opacity: 0;
  transform: translateY(12px);
  animation: heroFadeUp 0.8s var(--ease-out) 0.4s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  opacity: 0;
  transform: translateY(12px);
  animation: heroFadeUp 0.8s var(--ease-out) 0.55s forwards;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reset animations when slide changes */
.hero-slide:not(.active) .hero-eyebrow,
.hero-slide:not(.active) .hero-title,
.hero-slide:not(.active) .hero-subtitle,
.hero-slide:not(.active) .hero-actions {
  animation: none;
  opacity: 0;
  transform: translateY(12px);
}

/* Controls */
.hero-controls {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.hero-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--clr-white);
  transition: all var(--dur-base) var(--ease-io);
  backdrop-filter: blur(8px);
}

.hero-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-nav-btn img {
  filter: brightness(0) invert(1);
}

.hero-dots {
  display: flex;
  gap: var(--space-2);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-io);
}

.hero-dot.active {
  width: 28px;
  background-color: var(--clr-gold);
}

.hero-dot:hover:not(.active) {
  background-color: rgba(255, 255, 255, 0.7);
}


/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
  background-color: #1b4a68;
  padding-block: var(--space-8);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  min-width: 120px;
}

.stat-number {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--clr-gold);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}

.stat-label {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.stat-divider {
  width: 1px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.15);
}


/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.about-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image-frame::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 3px solid var(--clr-gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-image-frame img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top;
  display: block;
}

.about-badge {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  right: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background-color: var(--clr-white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--clr-primary);
}

.about-badge img {
  flex-shrink: 0;
}

.about-content > p {
  margin-bottom: var(--space-5);
  color: var(--clr-text);
}

.founder-profile {
  margin-block: var(--space-8);
  padding: var(--space-6) var(--space-8);
  background-color: var(--clr-primary-xlight);
  border-left: 4px solid var(--clr-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.founder-name {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: var(--space-1);
}

.founder-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--clr-gold-dark);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.founder-profile > p {
  color: var(--clr-text);
  margin-bottom: var(--space-4);
}

.qualifications {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.qual-tag {
  padding: 0.25rem 0.75rem;
  background-color: var(--clr-primary);
  color: var(--clr-white);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  border-radius: var(--radius-full);
}


/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.service-card {
  background-color: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-line);
  transition:
    transform var(--dur-slow) var(--ease-out),
    box-shadow var(--dur-slow) var(--ease-out),
    border-color var(--dur-base) var(--ease-io);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-sage);
}

.service-icon-wrap {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--clr-primary-xlight);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
  transition: background-color var(--dur-base);
}

.service-card:hover .service-icon-wrap {
  background-color: var(--clr-primary);
}

.service-icon-wrap img {
  transition: filter var(--dur-base);
}

.service-card:hover .service-icon-wrap img {
  filter: brightness(0) invert(1);
}

.service-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--clr-dark);
  margin-bottom: var(--space-3);
  line-height: var(--leading-snug);
}

.service-card p {
  font-size: var(--text-sm);
  color: var(--clr-muted);
  line-height: var(--leading-relaxed);
}


/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.team-card {
  background-color: var(--clr-white);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--clr-line);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-gold));
}

.team-card-top {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background-color: var(--clr-primary);
  color: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 1px;
}

.team-avatar--gold {
  background-color: var(--clr-gold);
  color: var(--clr-dark);
}

.team-name {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--clr-dark);
  margin-bottom: var(--space-1);
}

.team-role {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--clr-gold-dark);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.team-card > p {
  color: var(--clr-text);
  margin-bottom: var(--space-4);
  line-height: var(--leading-relaxed);
}

.team-quals {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.team-quals span {
  padding: 0.25rem 0.75rem;
  background-color: var(--clr-primary-xlight);
  color: var(--clr-primary);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  border-radius: var(--radius-full);
}

.team-services {
  margin-top: var(--space-4);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.team-services li {
  font-size: var(--text-sm);
  color: var(--clr-text);
  padding-left: var(--space-4);
  position: relative;
}

.team-services li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: var(--clr-gold);
}


/* ============================================================
   MISSION / APPROACH SECTION
   ============================================================ */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.mission-text > p {
  margin-bottom: var(--space-5);
}

.mission-quote {
  margin-block: var(--space-8);
  padding: var(--space-6) var(--space-8);
  border-left: 4px solid var(--clr-gold);
  background-color: rgba(255, 255, 255, 0.07);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-style: italic;
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.9);
}

.pillars-heading {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--clr-gold-light);
  margin-bottom: var(--space-8);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

.pillar {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-6);
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    background-color var(--dur-base) var(--ease-io),
    transform var(--dur-slow) var(--ease-out);
}

.pillar:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(201, 168, 76, 0.15);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.pillar-icon img {
  filter: brightness(0) saturate(100%) invert(72%) sepia(31%) saturate(743%) hue-rotate(138deg) brightness(100%) contrast(90%);
}

.pillar-content h4 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: var(--space-2);
}

.pillar-content p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--leading-relaxed);
}


/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-info h3 {
  font-size: var(--text-2xl);
  color: var(--clr-primary);
  margin-bottom: var(--space-8);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--clr-primary-xlight);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.contact-item-icon img {
  filter: invert(22%) sepia(42%) saturate(592%) hue-rotate(136deg) brightness(90%) contrast(96%);
}

.contact-item strong {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-bottom: var(--space-1);
}

.contact-item a,
.contact-item address {
  font-size: var(--text-base);
  color: var(--clr-text);
  line-height: var(--leading-relaxed);
  transition: color var(--dur-base);
}

.contact-item a:hover {
  color: var(--clr-primary);
}

/* Form */
.contact-form {
  background-color: var(--clr-white);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--clr-line);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-5);
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--clr-dark);
  margin-bottom: var(--space-2);
}

.required {
  color: var(--clr-gold-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--text-base);
  color: var(--clr-dark);
  background-color: var(--clr-cream);
  border: 1.5px solid var(--clr-line);
  border-radius: var(--radius-md);
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--clr-subtle);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(38, 153, 138, 0.12);
  background-color: var(--clr-white);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6b6b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

.form-footer {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}

.form-note {
  font-size: var(--text-xs);
  color: var(--clr-subtle);
}

.form-success {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-6);
  background-color: var(--clr-primary-xlight);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-sage);
}

.form-success img {
  flex-shrink: 0;
}

.form-success p {
  font-size: var(--text-sm);
  color: var(--clr-primary);
}

.form-success[hidden] {
  display: none;
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-image: url(/images/footer.jpg) ;
  background-size: cover;
  padding-block: var(--space-16) var(--space-8);
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--space-8);
}

.footer-logo {
  margin-bottom: var(--space-5);
}

.logo-abbr--white {
  color: var(--clr-white) !important;
}

.logo-full--white {
  color: rgba(255, 255, 255, 0.65) !important;
}

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: var(--tracking-wide);
  font-style: italic;
}

.footer-nav h4,
.footer-services h4,
.footer-contact-block h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--clr-gold-light);
  margin-bottom: var(--space-5);
}

.footer-nav ul li,
.footer-services ul li {
  margin-bottom: var(--space-3);
}

.footer-nav a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--dur-base);
}

.footer-nav a:hover {
  color: var(--clr-gold-light);
}

.footer-services li {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  padding-left: var(--space-4);
  position: relative;
}

.footer-services li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: var(--radius-full);
  background-color: var(--clr-gold);
  opacity: 0.6;
}

.footer-contact-block p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: var(--space-3);
}

.footer-contact-block a {
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--dur-base);
}

.footer-contact-block a:hover {
  color: var(--clr-gold-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: var(--tracking-wide);
}


/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition:
    opacity var(--dur-reveal) var(--ease-out),
    transform var(--dur-reveal) var(--ease-out);
}

.reveal {
  transform: translateY(32px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* Stagger for service cards */
.services-grid .service-card:nth-child(1)  { transition-delay: 0.05s; }
.services-grid .service-card:nth-child(2)  { transition-delay: 0.10s; }
.services-grid .service-card:nth-child(3)  { transition-delay: 0.15s; }
.services-grid .service-card:nth-child(4)  { transition-delay: 0.20s; }
.services-grid .service-card:nth-child(5)  { transition-delay: 0.25s; }
.services-grid .service-card:nth-child(6)  { transition-delay: 0.30s; }
.services-grid .service-card:nth-child(7)  { transition-delay: 0.35s; }
.services-grid .service-card:nth-child(8)  { transition-delay: 0.40s; }
.services-grid .service-card:nth-child(9)  { transition-delay: 0.45s; }


/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid,
  .mission-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .about-image {
    max-width: 500px;
    margin-inline: auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .stat-divider {
    display: none;
  }

  .stats-grid {
    gap: var(--space-8);
  }
}


/* ============================================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --header-h: var(--header-h-mobile);
  }

  /* Header mobile */
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h-mobile);
    left: 0;
    right: 0;
    background-color: var(--clr-white);
    box-shadow: var(--shadow-lg);
    padding: var(--space-6) var(--container-pad);
    transform: translateY(-110%);
    opacity: 0;
    transition:
      transform var(--dur-slow) var(--ease-out),
      opacity var(--dur-base) var(--ease-io);
    pointer-events: none;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
  }

  .nav-link {
    color: var(--clr-text);
    padding: 0.75rem 1rem;
    text-align: center;
    border-radius: var(--radius-md);
  }

  .nav-link:hover {
    background-color: var(--clr-primary-xlight);
    color: var(--clr-primary);
  }

  .nav-link.nav-cta {
    text-align: center;
    margin-top: var(--space-2);
    color: var(--clr-dark);
  }

  /* Hero */
  .hero {
    max-height: none;
    min-height: 100svh;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: var(--text-base);
  }

  .hero-actions {
    flex-direction: column;
  }

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

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }

  /* Team */
  .team-services {
    grid-template-columns: 1fr;
  }

  /* Contact form */
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: var(--space-6) var(--space-5);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}


/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero-controls {
    gap: var(--space-3);
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-nav-btn {
    width: 38px;
    height: 38px;
  }
}


/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header,
  .hero-controls,
  .nav-toggle,
  .contact-form,
  .site-footer {
    display: none;
  }

  .hero {
    height: auto;
    min-height: 0;
  }

  .hero-slide:not(.active) {
    display: none;
  }

  .hero-overlay {
    display: none;
  }

  .hero-content {
    color: var(--clr-dark);
    padding: var(--space-8);
  }

  .hero-title,
  .hero-subtitle,
  .hero-eyebrow {
    color: var(--clr-dark);
    opacity: 1;
    transform: none;
    animation: none;
  }

  body {
    background: white;
    color: black;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }
}
