/* ============================================
   COREXUS RESOLVE - PROPOSAL 005
   Brand-aligned active template
   Sans-serif typography aligned with the Corexus deck
   ============================================ */

:root {
  /* Brand Colors */
  --ink: #00231f;
  --ink-deep: #001a16;
  --mint: #49c898;
  --mint-bright: #49c898;
  --mint-soft: rgba(73, 200, 152, 0.12);
  --paper: #f0f4df;
  --white: #ffffff;
  --gray-50: #f0f4df;
  --gray-100: #e8e8e8;
  --gray-200: #e8e8e8;
  --gray-400: #9ca3a0;
  --gray-600: #5a6360;
  --gray-800: #1a1a1a;
  
  /* Functional */
  --muted: rgba(0, 35, 31, 0.6);
  --muted-light: rgba(255, 255, 255, 0.7);
  --border: rgba(0, 35, 31, 0.1);
  --border-light: rgba(255, 255, 255, 0.15);
  
  /* Layout */
  --max-width: 1280px;
  --header-height: 80px;
  
  /* Typography */
  --font-brand: "Helvetica Neue", Helvetica, Arial, sans-serif;
  
  font-size: 16px;
  line-height: 1.6;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-brand);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

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

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 35, 31, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding-right: clamp(12px, 2vw, 28px);
}

.brand img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
}

.main-nav a {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}

.main-nav a:hover {
  opacity: 1;
  color: var(--mint);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--mint);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s, transform 0.2s;
}

.header-cta:hover {
  background: var(--mint-bright);
  opacity: 1;
  transform: translateY(-1px);
}

.header-cta svg {
  transition: transform 0.2s;
}

.header-cta:hover svg {
  transform: translateX(3px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-height) + 60px) clamp(20px, 4vw, 48px) 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 35, 31, 0.94) 0%, rgba(0, 35, 31, 0.82) 50%, rgba(0, 35, 31, 0.7) 100%),
    url("corexus/photo-hero-editorial.png") center/cover no-repeat;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 35, 31, 0.24) 0%, transparent 100%);
  z-index: -1;
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.hero-main {
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--mint);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
  padding: 8px 16px;
  background: rgba(73, 200, 152, 0.1);
  border: 1px solid rgba(73, 200, 152, 0.25);
  border-radius: 4px;
}

.hero-title {
  font-size: clamp(2.9rem, 5.8vw, 4.9rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 32px;
  letter-spacing: 0;
}

.title-accent {
  font-weight: 500;
  color: var(--mint);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.7;
  color: var(--muted-light);
  margin-bottom: 44px;
  max-width: 640px;
}

.hero-microstat-line {
  max-width: 660px;
  margin-bottom: 34px;
  padding-left: 16px;
  border-left: 2px solid rgba(73, 200, 152, 0.5);
  color: rgba(232, 240, 236, 0.84);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--mint);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--mint-bright);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(73, 200, 152, 0.3);
}

.btn-primary.large {
  padding: 18px 32px;
  font-size: 1.05rem;
}

.btn-primary svg {
  transition: transform 0.2s;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 28px;
  background: transparent;
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  transition: background 0.2s, border-color 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.hero-action-link {
  background: rgba(73, 200, 152, 0.12);
  border-color: rgba(73, 200, 152, 0.28);
}

.hero-action-link:hover {
  background: rgba(73, 200, 152, 0.18);
  border-color: rgba(73, 200, 152, 0.44);
}

.hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 20px;
}

.sidebar-item {
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.sidebar-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 10px;
}

.sidebar-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted-light);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  padding: 120px clamp(20px, 4vw, 48px);
  background: var(--white);
}

.about-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.lead-paragraph {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 720px;
}

.about-copy {
  max-width: 820px;
}

.about-copy .lead-paragraph {
  margin-bottom: 22px;
}

.about-copy p:not(.lead-paragraph) {
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 20px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.credential-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.credential-tag {
  padding: 10px 18px;
  background: var(--mint-soft);
  border: 1px solid rgba(73, 200, 152, 0.2);
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  transition: all 0.2s;
}

.credential-tag:hover {
  background: rgba(73, 200, 152, 0.18);
  border-color: var(--mint);
  transform: translateY(-2px);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  padding: 120px clamp(20px, 4vw, 48px);
  background: var(--white);
}

.section-brand-block {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 2.5vw, 32px);
  margin: 0 auto clamp(40px, 5vw, 64px);
  max-width: var(--max-width);
}

.section-brand-block::before {
  content: '';
  flex-shrink: 0;
  width: clamp(18px, 2vw, 28px);
  height: clamp(40px, 5vw, 72px);
  background: url('corexus/bar-element.svg') center / contain no-repeat;
  margin-top: 4px;
}

.section-brand-block-content {
  flex: 1;
  min-width: 0;
}

.section-brand-block.light h3 {
  color: var(--muted-light);
}

.section-label {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
}

.section-brand-block-content h2 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.2;
}

.section-brand-block-content h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 6px;
}

.services-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  padding: 44px 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 35, 31, 0.1);
  border-color: var(--mint);
}

.service-card.featured {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.service-card.featured::before {
  background: var(--mint-bright);
}

.service-card.featured:hover {
  border-color: var(--mint);
}

.card-content h3 {
  font-size: 1.18rem;
  font-weight: 500;
  margin-bottom: 18px;
  letter-spacing: 0;
}

.card-content > p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 28px;
}

.service-card.featured .card-content > p {
  color: var(--muted-light);
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.service-card.featured .card-list {
  border-color: var(--border-light);
}

.card-list li {
  font-size: 0.92rem;
  padding: 10px 0;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-card.featured .card-list li {
  color: var(--muted-light);
}

.card-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--mint);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   APPROACH SECTION
   ============================================ */
.approach-section {
  padding: 120px clamp(20px, 4vw, 48px);
  background: #f8f9f6;
}

.approach-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.approach-intro,
.sectors-intro {
  margin-top: 16px;
}

.approach-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 720px;
}

.approach-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.approach-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--mint), var(--border));
}

.timeline-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 32px;
  padding: 36px 0;
  position: relative;
}

.timeline-marker {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 2px solid var(--mint);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mint);
  position: relative;
  z-index: 2;
  transition: all 0.3s;
}

.timeline-item:hover .timeline-marker {
  background: var(--mint);
  color: var(--white);
  transform: scale(1.1);
}

.timeline-content h4 {
  font-size: 1.18rem;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 0;
}

.timeline-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.approach-editorial {
  gap: 0;
  max-width: 960px;
  margin-top: 42px;
}

.approach-editorial::before {
  content: none;
}

.approach-editorial .timeline-item {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 38px 0;
  border-top: 1px solid rgba(0, 35, 31, 0.12);
}

.approach-editorial .timeline-item:last-child {
  border-bottom: 1px solid rgba(0, 35, 31, 0.12);
}

.approach-editorial .timeline-content {
  --timeline-marker-width: 72px;
  --timeline-heading-gap: 14px;
}

.approach-editorial .timeline-marker {
  flex: 0 0 72px;
  width: 72px;
  height: calc(clamp(1.35rem, 2vw, 1.8rem) * 1.05);
  display: flex;
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: inherit;
}

.approach-editorial .timeline-item:hover .timeline-marker {
  background: transparent;
  transform: none;
}

.approach-logo-progress {
  display: block;
  width: 100%;
  height: 100%;
}

.approach-logo-progress .is-on {
  fill: var(--mint);
}

.approach-logo-progress .is-off {
  fill: rgba(0, 35, 31, 0.22);
}

.approach-editorial .timeline-heading {
  display: flex;
  align-items: center;
  gap: var(--timeline-heading-gap);
  margin-bottom: 12px;
}

.approach-editorial .timeline-content h4 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.05;
  margin: 0;
}

.approach-editorial .timeline-content p {
  max-width: 680px;
  font-size: 1.05rem;
  padding-left: calc(var(--timeline-marker-width) + var(--timeline-heading-gap));
}

@media (max-width: 768px) {
  .approach-editorial .timeline-item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 30px 0;
  }

  .approach-editorial .timeline-heading {
    margin-bottom: 10px;
  }

  .approach-editorial .timeline-content {
    --timeline-marker-width: 64px;
    --timeline-heading-gap: 12px;
  }

  .approach-editorial .timeline-marker {
    flex-basis: 64px;
    width: 64px;
  }
}

/* ============================================
   SECTORS SECTION
   ============================================ */
.sectors-section {
  position: relative;
  padding: 120px clamp(20px, 4vw, 48px);
  overflow: hidden;
}

.sectors-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 35, 31, 0.96) 0%, rgba(0, 35, 31, 0.88) 100%),
    url("corexus/pattern-wide.png") center/cover no-repeat;
  z-index: -2;
}

.sectors-overlay {
  position: absolute;
  inset: 0;
  background: none;
  z-index: -1;
}

.sectors-content {
  max-width: var(--max-width);
  margin: 0 auto;
  color: var(--white);
}

.sectors-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted-light);
  max-width: 720px;
}

.sectors-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.sector-card {
  position: relative;
  display: flex;
  overflow: hidden;
  border: 1px solid #17493b;
  border-radius: 0;
  background: #0d1c19;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.sector-image {
  position: relative;
  min-height: 246px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 14px;
  padding: 24px;
  background-image: linear-gradient(180deg, rgba(0, 35, 31, 0.04) 0%, rgba(0, 35, 31, 0.44) 100%), var(--sector-image);
  background-position: center;
  background-size: cover;
}

.sector-card:hover {
  border-color: var(--mint);
  box-shadow: 0 24px 64px rgba(0, 35, 31, 0.32);
  transform: translateY(-4px);
}

.sector-card h4 {
  max-width: 300px;
  margin: 0;
  position: relative;
  color: var(--white);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.32);
  z-index: 1;
}

.sector-tags {
  position: absolute;
  top: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: min(58%, 240px);
  z-index: 1;
}

.sector-tags span {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.sector-tags span::before {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 18px;
  margin-right: 10px;
  background: url("corexus/bar-element.svg") center/contain no-repeat;
}

.sector-card-power {
  --sector-image: url("corexus/sector-power-energy-symbolic.png");
}

.sector-card-oil-gas {
  --sector-image: url("corexus/sector-oil-gas-symbolic.png");
}

.sector-card-industrial {
  --sector-image: url("corexus/sector-industrial-symbolic.png");
}

.sector-card-infrastructure {
  --sector-image: url("corexus/sector-infrastructure-symbolic.png");
}

.sector-card-marine {
  --sector-image: url("corexus/sector-marine-symbolic.png");
}

.sector-card-buildings {
  --sector-image: url("corexus/sector-buildings-symbolic.png");
}

/* ============================================
   LEADERSHIP SECTION
   ============================================ */
.leadership-section {
  padding: 120px clamp(20px, 4vw, 48px) 76px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 244, 223, 0.42) 100%);
}

.leadership-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.leader-profile {
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  margin-top: 64px;
  align-items: start;
}

.leader-aside {
  display: grid;
  gap: 0;
  padding: clamp(18px, 2.5vw, 24px);
  background: linear-gradient(180deg, rgba(0, 35, 31, 0.96), rgba(0, 26, 22, 1));
  border: 1px solid rgba(73, 200, 152, 0.34);
  overflow: hidden;
}

.leader-image-wrap {
  position: relative;
}

.leader-image {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  box-shadow: 0 24px 60px rgba(0, 9, 8, 0.34);
}

.leader-image-wrap::before {
  content: '';
  position: absolute;
  inset: 16px 16px auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(73, 200, 152, 0.75), rgba(73, 200, 152, 0));
  z-index: 1;
}

.leader-image-wrap::after {
  content: '';
  position: absolute;
  inset: auto 0 0 auto;
  width: 46%;
  height: 14px;
  background: linear-gradient(90deg, rgba(73, 200, 152, 0), rgba(73, 200, 152, 0.4));
  pointer-events: none;
  z-index: 1;
}

.leader-details {
  display: grid;
  gap: 20px;
  padding-top: 8px;
}

.leader-intro-panel {
  position: relative;
  padding: clamp(28px, 4vw, 40px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 244, 223, 0.62));
  border: 1px solid rgba(0, 35, 31, 0.09);
  overflow: visible;
}

.leader-intro-panel::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: clamp(96px, 18%, 140px);
  height: 2px;
  background: var(--mint);
}

.leader-header {
  display: grid;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 35, 31, 0.1);
}

.leader-title-row {
  display: block;
}

.leader-header h3 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
  max-width: none;
  white-space: nowrap;
}

.leader-linkedin {
  position: absolute;
  top: -1px;
  right: clamp(18px, 3vw, 28px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 104px;
  padding: 0;
  border: 1px solid var(--mint);
  border-top: 0;
  background: var(--mint);
  color: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 68% 100%, 50% calc(100% - 14px), 32% 100%, 0 100%);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.leader-linkedin:hover {
  color: var(--ink);
  border-color: var(--mint-bright);
  background: var(--mint-bright);
  transform: translateY(2px);
}

.leader-linkedin svg {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  color: #0a66c2;
}

.leader-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
}

.leader-meta span,
.leader-meta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(0, 35, 31, 0.1);
  background: rgba(255, 255, 255, 0.72);
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.leader-meta a:hover {
  color: var(--ink);
  border-color: rgba(73, 200, 152, 0.44);
  background: rgba(73, 200, 152, 0.08);
}

.leader-meta svg {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  color: var(--mint);
}

.leader-bio-stack {
  display: grid;
  gap: 18px;
  padding-top: 28px;
}

.leader-bio {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 0;
  max-width: 68ch;
}

.leader-bio-intro {
  font-size: 1.28rem;
  line-height: 1.7;
  color: var(--ink);
}

.leader-bio-secondary {
  font-size: 1.02rem;
  line-height: 1.75;
}

.leader-bio strong {
  color: var(--ink);
  font-weight: 600;
}

.leader-facts {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.fact-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 18px 0;
  border-top: 1px solid rgba(73, 200, 152, 0.14);
  background: transparent;
  min-height: 100%;
}

.fact-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.fact-item dt {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 8px;
}

.fact-item dd {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.76);
}

.fact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.fact-list li {
  position: relative;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.76);
}

.fact-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.08em;
  width: 10px;
  height: 18px;
  background: url("corexus/bar-element.svg") center/contain no-repeat;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  position: relative;
  padding: 52px 0 84px;
  background: var(--white);
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.testimonials-connector {
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 84px;
  background: linear-gradient(to bottom, var(--mint), transparent);
  opacity: 0.34;
}

.testimonials-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.testimonials-intro {
  text-align: center;
  margin-bottom: 42px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 16px;
}

.testimonials-context {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
  font-style: italic;
}

.testimonials-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 28px;
}

.carousel-nav {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 0;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-nav:hover {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--white);
  transform: scale(1.1);
}

.carousel-nav:active {
  transform: scale(0.95);
}

.carousel-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 700px;
  height: 308px;
  perspective: 1000px;
}

.testimonial-card {
  position: absolute;
  width: 100%;
  max-width: 600px;
  padding: 40px 36px 32px;
  background: #f8f9f6;
  border: 1px solid var(--border);
  border-radius: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  opacity: 0;
  transform: translateX(0) scale(0.8);
  pointer-events: none;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mint), var(--mint-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
  z-index: 5;
}

.testimonial-card.active::before {
  transform: scaleX(1);
}

.testimonial-card.prev {
  opacity: 0.3;
  transform: translateX(-120%) scale(0.85) rotateY(15deg);
  pointer-events: none;
}

.testimonial-card.next {
  opacity: 0.3;
  transform: translateX(120%) scale(0.85) rotateY(-15deg);
  pointer-events: none;
}

.testimonial-card.far-prev {
  opacity: 0.15;
  transform: translateX(-200%) scale(0.7) rotateY(25deg);
  pointer-events: none;
}

.testimonial-card.far-next {
  opacity: 0.15;
  transform: translateX(200%) scale(0.7) rotateY(-25deg);
  pointer-events: none;
}

.quote-mark {
  position: relative;
  display: block;
  font-family: var(--font-serif);
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 0.42;
  color: var(--mint);
  opacity: 0.28;
  pointer-events: none;
  margin-bottom: 0;
}

.testimonial-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
}

.testimonial-card blockquote p {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  margin-top: -2px;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.testimonial-attribution {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.attribution-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.attribution-project {
  flex: 1 1 auto;
}

.attribution-region {
  flex: 0 0 auto;
  margin-left: auto;
}

.attribution-region .attribution-copy {
  align-items: flex-end;
  text-align: right;
}

.attribution-icon {
  width: 22px;
  height: 22px;
  color: var(--mint);
  flex: 0 0 22px;
  align-self: center;
}

.attribution-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.attribution-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.attribution-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.attribution-value {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--mint);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 0;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.indicator:hover {
  background: var(--mint);
  transform: scale(1.3);
}

.indicator.active {
  background: var(--mint);
  width: 32px;
  border-radius: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 100px clamp(20px, 4vw, 48px);
  background: var(--gray-50);
  border-top: 1px solid var(--border);
}

.cta-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.45rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: 0;
}

.cta-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 600px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.btn-contact-direct {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.2s;
}

.btn-contact-direct:hover {
  border-color: var(--mint);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 35, 31, 0.08);
  opacity: 1;
}

.direct-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
}

.direct-email {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 80px clamp(20px, 4vw, 48px) 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 6vw, 100px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-light);
}

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 24px;
}

.footer-brand p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-light);
  max-width: 400px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.column-title {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 8px;
}

.footer-column a,
.footer-column span {
  font-size: 0.95rem;
  color: var(--muted-light);
  transition: color 0.2s;
}

.footer-column a:hover {
  color: var(--white);
  opacity: 1;
}

.footer-column a svg {
  flex: 0 0 auto;
}

.footer-contact-divider {
  display: block;
  width: 100%;
  max-width: 160px;
  height: 1px;
  background: rgba(123, 211, 193, 0.6);
  margin: 2px 0 0;
}

.footer-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mint) !important;
  font-weight: 500;
}

.footer-location svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 32px;
  text-align: center;
}

.footer-bottom span {
  font-size: 0.88rem;
  color: var(--muted-light);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-hero {
  position: relative;
  padding: calc(var(--header-height) + 80px) clamp(20px, 4vw, 48px) 80px;
  overflow: hidden;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 35, 31, 0.96) 0%, rgba(0, 35, 31, 0.88) 100%),
    url("corexus/pattern-wide.png") center/cover no-repeat;
  z-index: -2;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: none;
  z-index: -1;
}

.contact-hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  align-items: start;
}

.contact-hero-main .hero-eyebrow {
  margin-bottom: 24px;
}

.contact-hero-main .hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 24px;
}

.contact-hero-main .hero-subtitle {
  font-size: 1.15rem;
  color: var(--muted-light);
  max-width: 640px;
}

/* Contact Form Section */
.contact-form-section {
  padding: 100px clamp(20px, 4vw, 48px);
  background: var(--white);
}

.contact-form-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.form-intro h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: 0;
}

.form-intro > p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 40px;
}

.contact-form {
  padding: 44px;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  font-family: var(--font-brand);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(73, 200, 152, 0.15);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235a6360' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.form-actions button {
  border: none;
  cursor: pointer;
  font-family: var(--font-brand);
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Contact CTA Section */
.contact-cta-section {
  padding: 80px clamp(20px, 4vw, 48px);
  background: var(--gray-50);
  border-top: 1px solid var(--border);
}

.contact-cta-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.contact-cta-content h2 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 8px;
}

.contact-cta-content p {
  font-size: 1rem;
  color: var(--muted);
}

/* Privacy Policy Page */
.privacy-hero {
  padding: 160px clamp(20px, 4vw, 48px) 80px;
  background: linear-gradient(135deg, rgba(0, 35, 31, 0.96) 0%, rgba(0, 35, 31, 0.88) 100%),
    url("corexus/pattern-wide.png") center/cover no-repeat;
  color: var(--white);
}

.privacy-inner {
  max-width: 920px;
  margin: 0 auto;
}

.privacy-hero h1 {
  max-width: 760px;
  margin: 12px 0 18px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

.privacy-hero p:last-child {
  color: var(--muted-light);
  font-size: 1rem;
}

.privacy-section {
  padding: 88px clamp(20px, 4vw, 48px);
  background: var(--white);
}

.privacy-content {
  max-width: 820px;
}

.privacy-content p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.privacy-content h2 {
  margin: 40px 0 12px;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .sidebar-item {
    flex: 1;
    min-width: 200px;
  }
  
  .about-inner {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .sectors-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .leader-profile {
    grid-template-columns: 1fr;
  }

  .leader-image-wrap {
    max-width: 420px;
  }

  .leader-aside {
    max-width: 420px;
  }

  .leader-details {
    padding-top: 0;
  }

  .testimonials-carousel {
    gap: 14px;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
  }

  .carousel-track {
    height: 336px;
  }

  .testimonial-card {
    padding: 30px 30px 28px;
  }

  .testimonial-card blockquote p {
    font-size: 1.1rem;
  }

  .testimonial-card.prev,
  .testimonial-card.next {
    opacity: 0.2;
  }

  .testimonial-card.far-prev,
  .testimonial-card.far-next {
    display: none;
  }
  
  .leader-image {
    max-width: none;
  }
  
  .cta-inner {
    grid-template-columns: 1fr;
  }
  
  .footer-inner {
    grid-template-columns: 1fr;
  }
  
  .contact-hero-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form-inner {
    grid-template-columns: 1fr;
  }
  
  .contact-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .hero-title {
  font-size: clamp(2.5rem, 10vw, 3.5rem);
  }
  
  .sectors-showcase {
    grid-template-columns: 1fr;
  }

  .carousel-nav {
    display: none;
  }

  .carousel-track {
    height: 360px;
  }

  .testimonial-attribution {
    flex-direction: column;
    gap: 14px;
  }

  .leader-intro-panel {
    padding: 24px 20px;
  }

  .leader-header h3 {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .leader-title-row {
    display: block;
  }

  .leader-meta span,
  .leader-meta a {
    width: 100%;
  }

  .fact-item {
    padding: 18px 0;
  }

  .attribution-region {
    margin-left: 0;
  }

  .attribution-region .attribution-copy {
    align-items: flex-start;
    text-align: left;
  }

  .attribution-region .attribution-icon {
    order: 2;
  }

  .testimonial-card.prev,
  .testimonial-card.next,
  .testimonial-card.far-prev,
  .testimonial-card.far-next {
    display: none;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .approach-timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    grid-template-columns: 40px 1fr;
    gap: 20px;
  }
  
  .timeline-marker {
    width: 40px;
    height: 40px;
  font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .credential-strip {
    flex-direction: column;
  }
  
  .credential-tag {
    width: 100%;
    text-align: center;
  }
}

/* ============================================
   ANIMATIONS & INTERACTIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-eyebrow {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-subtitle {
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-microstat-line {
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-actions {
  animation: fadeInUp 0.8s ease-out 1s both;
}

.hero-sidebar {
  animation: slideInLeft 0.8s ease-out 1.2s both;
}

/* Smooth reveal on scroll */
.about-section,
.services-section,
.approach-section,
.sectors-section,
.leadership-section,
.testimonials-section,
.cta-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.about-section.visible,
.services-section.visible,
.approach-section.visible,
.sectors-section.visible,
.leadership-section.visible,
.testimonials-section.visible,
.cta-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced hover effects */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(73, 200, 152, 0.05), transparent);
  transition: left 0.6s ease;
}

.service-card:hover::after {
  left: 100%;
}

/* Premium button effects */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
  width: 400px;
  height: 400px;
}

.btn-primary span,
.btn-primary svg {
  position: relative;
  z-index: 1;
}

/* Enhanced credential tags */
.credential-tag {
  position: relative;
  overflow: hidden;
}

.credential-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(73, 200, 152, 0.2), transparent);
  transition: left 0.5s ease;
}

.credential-tag:hover::before {
  left: 100%;
}

/* Smooth form interactions */
.form-group input,
.form-group select,
.form-group textarea {
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(73, 200, 152, 0.15);
}

/* Enhanced card hover states */
.sidebar-item {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 35, 31, 0.2);
}

/* Smooth navigation transitions */
.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--mint);
  transition: width 0.3s ease;
}

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

/* Premium loading states */
img {
  transition: opacity 0.3s ease;
}

img[loading] {
  opacity: 0.5;
}

/* Sophisticated gradient overlays */
.hero-overlay {
  background: linear-gradient(135deg, rgba(0, 35, 31, 0.3) 0%, transparent 100%);
}

/* Enhanced section transitions */
section {
  position: relative;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  opacity: 0;
  transition: opacity 0.6s ease;
}

section.visible::before {
  opacity: 1;
}

/* Premium card shadows */
.service-card,
.sidebar-item {
  box-shadow: 0 4px 16px rgba(0, 35, 31, 0.06);
}

.service-card:hover,
.sidebar-item:hover {
  box-shadow: 0 16px 48px rgba(0, 35, 31, 0.12);
}

/* Smooth page transitions */
main {
  animation: fadeIn 0.6s ease-out;
}

/* Enhanced focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

@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;
  }

  .about-section,
  .services-section,
  .approach-section,
  .sectors-section,
  .leadership-section,
  .testimonials-section,
  .cta-section,
  .contact-form-section,
  .contact-cta-section {
    opacity: 1;
    transform: none;
  }
}

/* Premium hover states for links */
.footer-column a {
  position: relative;
  transition: all 0.3s ease;
}

.footer-column a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--mint);
}

.footer-column a:hover::before {
  left: -16px;
  opacity: 1;
}

.footer-column a:hover {
  padding-left: 8px;
}

/* Brand shape alignment: keep surfaces sharp, technical and deck-like. */
.header-cta,
.btn-primary,
.btn-secondary,
.sidebar-item,
.credential-tag,
.service-card,
.timeline-marker,
.leader-image,
.leader-location-badge,
.btn-contact-direct,
.contact-form,
.form-group input,
.form-group select,
.form-group textarea {
  border-radius: 0;
}

.service-card,
.sidebar-item,
.leader-image,
.btn-contact-direct {
  box-shadow: none;
}

.header-cta:hover,
.btn-primary:hover,
.credential-tag:hover,
.service-card:hover,
.timeline-item:hover .timeline-marker,
.btn-contact-direct:hover,
.sidebar-item:hover,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  transform: none;
  box-shadow: none;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-hero {
  position: relative;
  padding: calc(var(--header-height) + 80px) clamp(20px, 4vw, 48px) 80px;
  overflow: hidden;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 35, 31, 0.96) 0%, rgba(0, 35, 31, 0.88) 100%),
    url("corexus/pattern-wide.png") center/cover no-repeat;
  z-index: -2;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: none;
  z-index: -1;
}

.contact-hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  align-items: start;
}

.contact-hero-main .hero-eyebrow {
  margin-bottom: 24px;
}

.contact-hero-main .hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 24px;
}

.contact-hero-main .hero-subtitle {
  font-size: 1.15rem;
  color: var(--muted-light);
  max-width: 640px;
}

/* Contact Form Section */
.contact-form-section {
  padding: 100px clamp(20px, 4vw, 48px);
  background: var(--white);
}

.contact-form-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.form-intro h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: 0;
}

.form-intro > p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 40px;
}

.contact-form {
  padding: 44px;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  font-family: var(--font-brand);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(73, 200, 152, 0.15);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235a6360' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.form-actions button {
  border: none;
  cursor: pointer;
  font-family: var(--font-brand);
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Contact CTA Section */
.contact-cta-section {
  padding: 80px clamp(20px, 4vw, 48px);
  background: var(--gray-50);
  border-top: 1px solid var(--border);
}

.contact-cta-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.contact-cta-content h2 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 8px;
}

.contact-cta-content p {
  font-size: 1rem;
  color: var(--muted);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .sidebar-item {
    flex: 1;
    min-width: 200px;
  }
  
  .about-inner {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .sectors-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .leader-profile {
    grid-template-columns: 1fr;
  }
  
  .leader-image-wrap {
    max-width: 420px;
  }

  .leader-aside {
    max-width: 420px;
  }

  .leader-details {
    padding-top: 0;
  }

  .leader-image {
    max-width: none;
  }
  
  .cta-inner {
    grid-template-columns: 1fr;
  }
  
  .footer-inner {
    grid-template-columns: 1fr;
  }
  
  .contact-hero-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form-inner {
    grid-template-columns: 1fr;
  }
  
  .contact-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .hero-title {
  font-size: clamp(2.5rem, 10vw, 3.5rem);
  }
  
  .sectors-showcase {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .approach-timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    grid-template-columns: 40px 1fr;
    gap: 20px;
  }
  
  .timeline-marker {
    width: 40px;
    height: 40px;
  font-size: 0.8rem;
  }

  .leader-intro-panel {
    padding: 24px 20px;
  }

  .leader-header h3 {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .leader-title-row {
    display: block;
  }

  .leader-meta span,
  .leader-meta a {
    width: 100%;
  }

  .fact-item {
    padding: 18px 0;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .credential-strip {
    flex-direction: column;
  }
  
  .credential-tag {
    width: 100%;
    text-align: center;
  }
}

/* ============================================
   ANIMATIONS & INTERACTIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-eyebrow {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-subtitle {
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-microstat-line {
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-actions {
  animation: fadeInUp 0.8s ease-out 1s both;
}

.hero-sidebar {
  animation: slideInLeft 0.8s ease-out 1.2s both;
}

/* Smooth reveal on scroll */
.about-section,
.services-section,
.approach-section,
.sectors-section,
.leadership-section,
.testimonials-section,
.cta-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.about-section.visible,
.services-section.visible,
.approach-section.visible,
.sectors-section.visible,
.leadership-section.visible,
.testimonials-section.visible,
.cta-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced hover effects */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(73, 200, 152, 0.05), transparent);
  transition: left 0.6s ease;
}

.service-card:hover::after {
  left: 100%;
}

/* Premium button effects */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
  width: 400px;
  height: 400px;
}

.btn-primary span,
.btn-primary svg {
  position: relative;
  z-index: 1;
}

/* Enhanced credential tags */
.credential-tag {
  position: relative;
  overflow: hidden;
}

.credential-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(73, 200, 152, 0.2), transparent);
  transition: left 0.5s ease;
}

.credential-tag:hover::before {
  left: 100%;
}

/* Smooth form interactions */
.form-group input,
.form-group select,
.form-group textarea {
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(73, 200, 152, 0.15);
}

/* Enhanced card hover states */
.sidebar-item {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 35, 31, 0.2);
}

/* Smooth navigation transitions */
.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--mint);
  transition: width 0.3s ease;
}

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

/* Premium loading states */
img {
  transition: opacity 0.3s ease;
}

img[loading] {
  opacity: 0.5;
}

/* Sophisticated gradient overlays */
.hero-overlay {
  background: linear-gradient(135deg, rgba(0, 35, 31, 0.3) 0%, transparent 100%);
}

/* Enhanced section transitions */
section {
  position: relative;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  opacity: 0;
  transition: opacity 0.6s ease;
}

section.visible::before {
  opacity: 1;
}

/* Premium card shadows */
.service-card,
.sidebar-item {
  box-shadow: 0 4px 16px rgba(0, 35, 31, 0.06);
}

.service-card:hover,
.sidebar-item:hover {
  box-shadow: 0 16px 48px rgba(0, 35, 31, 0.12);
}

/* Smooth page transitions */
main {
  animation: fadeIn 0.6s ease-out;
}

/* Enhanced focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

/* Premium hover states for links */
.footer-column a {
  position: relative;
  transition: all 0.3s ease;
}

.footer-column a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--mint);
}

.footer-column a:hover::before {
  left: -16px;
  opacity: 1;
}

.footer-column a:hover {
  padding-left: 8px;
}
