/* ============================================================
   4WEALTH FINANCIAL GROUP — STYLESHEET
   ============================================================
   Table of Contents:
   1. CSS Variables (Design Tokens)
   2. Base / Reset
   3. Typography
   4. Scrollbar
   5. Animations & Keyframes
   6. Navigation
   7. Hero Section
   8. About Section
   9. Expertise (Service Cards)
  10. Perspectives (Team Quotes)
  11. Contact Section
  12. Footer
  13. Utilities
   ============================================================ */


/* ============================================================
   1. CSS VARIABLES (DESIGN TOKENS)
   ============================================================ */

:root {
  /* Colors */
  --color-bg:              #091119;
  --color-bg-dark:         #070d12;
  --color-bg-section:      rgba(9, 15, 21, 0.74);
  --color-surface:         rgba(255, 255, 255, 0.018);
  --color-surface-hover:   rgba(0,130,126, 0.04);

  --color-text-primary:    #F2F4F3;
  --color-text-heading:    #F4F6F5;
  --color-text-body:       #EDF0EF;
  --color-text-muted:      rgba(242, 244, 243, 0.62);
  --color-text-faint:      rgba(242, 244, 243, 0.42);

  --color-accent:          #00827E;
  --color-accent-dark:     #1F8A77;
  --color-accent-darker:   #249a85;
  --color-accent-muted:    #4FA08D;
  --color-accent-label:    rgba(120, 166, 150, 0.7);

  --color-border:          rgba(255, 255, 255, 0.09);
  --color-border-faint:    rgba(255, 255, 255, 0.07);
  --color-border-strong:   rgba(255, 255, 255, 0.13);
  --color-border-accent:   rgba(0,130,126, 0.45);
  --color-border-accent-strong: rgba(0,130,126, 0.55);

  /* Fonts */
  --font-serif:     'Playfair Display', serif;
  --font-sans:      'Figtree', sans-serif;
  --font-mono:      'JetBrains Mono', monospace;

  /* Spacing */
  --padding-page-x: clamp(28px, 6vw, 40px);
  --max-width:      1180px;

  /* Transitions */
  --transition-reveal: opacity 1.05s cubic-bezier(.16, .84, .44, 1),
                       transform 1.05s cubic-bezier(.16, .84, .44, 1);
  --transition-card:   transform .5s cubic-bezier(.16, .84, .44, 1),
                       border-color .5s,
                       background .5s,
                       box-shadow .5s;
}


/* ============================================================
   2. BASE / RESET
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(0,130,126, 0.28);
  color: #fff;
}

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

a {
  text-decoration: none;
}


/* ============================================================
   3. SCROLLBAR
   ============================================================ */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-dark);
}

::-webkit-scrollbar-thumb {
  background: rgba(0,130,126, 0.25);
  border-radius: 8px;
}


/* ============================================================
   4. ANIMATIONS & KEYFRAMES
   ============================================================ */

@keyframes quote-fade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* image-slot element default */
image-slot {
  --slot-bg: rgba(255, 255, 255, 0.02);
}

/* Reveal animation — elements start hidden and transition in via JS */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: var(--transition-reveal);
}


/* ============================================================
   5. BACKGROUND CANVAS
   ============================================================ */

#bgnet {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}


/* ============================================================
   6. NAVIGATION
   ============================================================ */

#nav4w {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  overflow: visible;

  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap; /* Keeps all nav items on one line */

  padding: 10px 12px 10px 26px;
  border: 1px solid var(--color-border-faint);
  border-radius: 999px;
  background: rgba(10, 18, 24, 0.32);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);

  opacity: 1;
}

/* Active nav link (first item, underlined) */
.nav-link-active {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-text-primary);
  border-bottom: 1.5px solid #00827E;
  transition: color 0.3s;
}

/* Standard nav links */
.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-text-muted);
  transition: color 0.3s;
}

.nav-link.is-current {
  color: #f2f4f3;
  border-bottom: 1.5px solid rgba(0,130,126, 0.8);
}

.nav-link:hover {
  color: var(--color-text-primary);
}

/* "Get In Touch" pill button */
.nav-cta {
  margin-left: 4px;
  padding: 12px 22px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-primary);
  border: 1px solid rgba(0,130,126, 0.55);
  border-radius: 999px;
  background: rgba(0,130,126, 0.10);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.nav-cta:hover {
  background: rgba(0,130,126, 0.22);
  transform: translateY(-1px);
}

/* Nav chevron icon */
.nav-chevron {
  width: 11px;
  height: 11px;
  transition: transform 0.25s ease;
}

/* Wrapper for nav items that have dropdowns */
.nav-item {
  position: relative;
}

.nav-item:hover .nav-chevron {
  transform: rotate(180deg);
}


/* ============================================================
   6b. DROPDOWN MENUS
   ============================================================ */

.dropdown {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  top: calc(100% + 14px);
  min-width: 300px;
  background: rgba(11, 21, 32, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--color-border-strong);
  border-radius: 14px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  z-index: 200;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dd-row {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 13px 14px;
  border-radius: 9px;
  transition: background 0.16s ease;
}

.dd-row:hover {
  background: rgba(0,130,126, 0.06);
}

.dd-ico {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 8px;
  background: rgba(0,130,126, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00827E;
}

.dd-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-heading);
  display: block;
}

.dd-desc {
  font-size: 12.5px;
  color: var(--color-text-faint);
  margin-top: 2px;
  line-height: 1.4;
}


/* ============================================================
   7. HERO SECTION
   ============================================================ */

#hero4w {
  position: relative;
  z-index: 1;
  height: 100vh;
  min-height: 660px;
  width: 100%;
  overflow: hidden;
  background: transparent;
}

/* Radial gradient overlays for depth */
.hero-gradient-top {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    90% 55% at 50% 6%,
    rgba(0,130,126, 0.16) 0%,
    rgba(0, 0, 0, 0) 68%
  );
}

.hero-gradient-bottom {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    125% 105% at 50% 42%,
    rgba(0, 0, 0, 0) 44%,
    rgba(7, 12, 17, 0.72) 100%
  );
}

/* Hero text block, vertically centred */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  padding: 0 clamp(28px, 6vw, 96px);
}

.hero-content-inner {
  max-width: var(--max-width);
  margin: 0;
}

/* The large headline */
.hero-headline {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--color-text-heading);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 0.92;
}

.hero-headline-eyebrow {
  display: block;
  font-size: clamp(40px, 6vw, 90px);
}

.hero-headline-large {
  display: block;
  font-size: clamp(86px, 13.5vw, 150px);
  line-height: 0.86;
}

.hero-headline-sub {
  display: block;
  font-size: clamp(40px, 6vw, 90px);
}

@keyframes word-rise {
  0%   { opacity: 0; transform: translateY(48px) skewY(4deg); filter: blur(6px); }
  60%  { opacity: 1; filter: blur(0px); transform: translateY(-6px) skewY(-1deg); }
  100% { opacity: 1; transform: translateY(0) skewY(0deg); filter: blur(0px); }
}

@keyframes tagline-glow-pulse {
  0%, 100% { text-shadow: 0 0 0px rgba(0,130,126, 0); }
  50%       { text-shadow: 0 0 28px rgba(0,130,126, 0.35); }
}

.tagline-word {
  display: inline-block;
  opacity: 0;
  animation: word-rise 0.72s cubic-bezier(.16, .84, .44, 1) forwards;
}

.tagline-word:nth-child(1) { animation-delay: 0.55s; }
.tagline-word:nth-child(2) { animation-delay: 0.69s; }
.tagline-word:nth-child(3) { animation-delay: 0.83s; }
.tagline-word:nth-child(4) { animation-delay: 0.97s; }
.tagline-word:nth-child(5) { animation-delay: 1.11s; }
.tagline-word:nth-child(6) { animation-delay: 1.25s; }
.tagline-word:nth-child(7) { animation-delay: 1.39s; }

/* Tagline — pinned to the bottom of the hero */
.hero-tagline {
  position: absolute;
  bottom: clamp(40px, 7vh, 80px);
  left: auto;
  right: clamp(28px, 6vw, 96px);
  margin: 0;
  text-align: right;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 40px);
  color: rgba(244, 246, 245, 0.92);
  letter-spacing: -0.005em;
  animation: tagline-glow-pulse 3.8s ease-in-out 2.0s infinite;
}


/* ============================================================
   8. MAIN CONTENT WRAPPER
   ============================================================ */

#mainwrap {
  background: var(--color-bg-section);
  position: relative;
  z-index: 6;
}

/* Shared page section layout */
.page-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--padding-page-x);
  padding-right: var(--padding-page-x);
}


/* ============================================================
   9. ABOUT SECTION
   ============================================================ */

#about {
  padding-top: clamp(96px, 15vh, 176px);
  padding-bottom: clamp(96px, 15vh, 176px);
}

.about-eyebrow {
  margin: 0;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--color-text-muted);
}

.about-heading {
  margin: 18px 0 0;
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(35px, 5.5vw, 65px);
  letter-spacing: -0.01em;
  color: var(--color-text-heading);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.05fr);
  gap: clamp(40px, 7vw, 96px);
  margin-top: clamp(72px, 12vh, 128px);
}

.about-pull-quote {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(23px, 2.0vw, 30px);
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--color-text-body);
}

.about-body-column {
  border-left: 1px solid var(--color-border-strong);
  padding-left: clamp(28px, 3vw, 44px);
}

.about-body-text {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.72;
  color: var(--color-text-muted);
}


/* ============================================================
   10. EXPERTISE (SERVICE CARDS)
   ============================================================ */

#expertise {
  padding-top: clamp(60px, 9vh, 110px);
  padding-bottom: clamp(96px, 15vh, 160px);
}

.expertise-heading {
  margin: 0 0 clamp(56px, 8vh, 88px);
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(35px, 5.5vw, 65px);
  letter-spacing: -0.015em;
  color: var(--color-text-heading);
  text-wrap: balance;
}

.expertise-body {
  margin: 0 auto clamp(48px, 7vh, 80px);
  max-width: 720px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* 2-column card grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

/* Individual service card */
.service-card {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-surface);
  transition: var(--transition-card);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-border-accent);
  background: var(--color-surface-hover);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* Thumbnail inside the card */
.service-card-image {
  display: block;
  width: 100%;
  height: clamp(220px, 22vw, 300px);
}

/* Text area inside the card */
.service-card-body {
  padding: 26px 28px 28px;
}

.service-card-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 27px);
  color: var(--color-text-heading);
}

.service-card-label {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.6px;
  color: var(--color-accent-label);
}

.service-card-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-accent-muted);
}


/* ============================================================
   11. PERSPECTIVES (TEAM QUOTES)
   ============================================================ */

#perspectives {
  padding-top: clamp(40px, 6vh, 80px);
  padding-bottom: clamp(96px, 15vh, 170px);
}

.perspectives-heading {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(35px, 5.5vw, 65px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--color-text-heading);
}

.perspectives-sub {
  margin: 12px 0 clamp(36px, 6vh, 60px);
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.perspectives-heading span {
  display: block;
}

.perspectives-heading .heading-line-2 {
  margin-top: -0.12em;
  padding-left: 0.02em;
}

/* Two-column layout: quote on left, roster on right */
.perspectives-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 80px);
  margin-top: clamp(64px, 11vh, 120px);
  align-items: start;
}

/* ---- Quote / Portrait Column ---- */

.quote-open-mark {
  font-family: var(--font-serif);
  font-size: 72px;
  line-height: 0.4;
  color: rgba(0,130,126, 0.55);
  height: 38px;
}

.active-quote {
  margin: 0;
  white-space: pre-line;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--color-text-heading);
}

.active-quote.animating {
  animation: quote-fade 0.55s cubic-bezier(.16, .84, .44, 1) both;
}

/* Credit row: portrait + name/role */
.quote-credit {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: clamp(48px, 8vh, 80px);
}

/* Portrait frame */
.portrait-frame {
  position: relative;
  width: clamp(120px, 12vw, 150px);
  height: clamp(150px, 15vw, 188px);
  flex: none;
  border-radius: 14px;
  overflow: hidden;
}

.portrait-frame img,
.portrait-frame image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  transition: opacity 0.6s ease;
}

/* Portraits that are hidden by default */
.portrait-frame [data-portrait] {
  opacity: 0;
}

.cred-name {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-body);
}

.cred-role {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.4px;
  color: rgba(120, 166, 150, 0.72);
}

/* ---- Roster Column ---- */

.roster-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Individual person row */
.roster-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border: 1px solid var(--color-border-faint);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.012);
  cursor: pointer;
  transition: border-color 0.4s, background 0.4s, transform 0.35s;
}

.roster-item:hover {
  transform: translateX(5px);
}

/* Active state applied via JS */
.roster-item.is-active {
  border-color: var(--color-border-accent-strong);
  background: rgba(0,130,126, 0.06);
}

/* Avatar circle */
.roster-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 2px;
  flex: none;
  transition: border-color 0.4s;
}

/* Active avatar ring highlight, applied via JS */
.roster-avatar.is-active {
  border-color: rgba(0,130,126, 0.85);
}

.roster-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 40% 32%,
    rgba(255, 255, 255, 0.07),
    rgba(255, 255, 255, 0.012)
  );
}

.roster-name {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-primary);
}

.roster-role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.3px;
  color: var(--color-accent-label);
}


/* ============================================================
   12. CONTACT SECTION
   ============================================================ */

#contact {
  padding-top: clamp(72px, 12vh, 140px);
  padding-bottom: clamp(80px, 12vh, 130px);
}

/* The rounded card with gradient background */
.contact-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: clamp(40px, 6vw, 72px);
  background: linear-gradient(
    135deg,
    rgba(18, 30, 34, 0.9) 0%,
    rgba(10, 16, 22, 0.9) 60%
  );
}

/* Teal radial glow on the right side of the card */
.contact-card-glow {
  position: absolute;
  top: -30%;
  right: -5%;
  width: 55%;
  height: 120%;
  pointer-events: none;
  background: radial-gradient(
    circle at 60% 40%,
    rgba(0,130,126, 0.22) 0%,
    rgba(0,130,126, 0) 62%
  );
}

/* Two-column layout inside the card */
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.contact-heading {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(35px, 5.5vw, 65px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--color-text-heading);
}

.contact-body {
  margin: 24px 0 0;
  max-width: 460px;
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  color: var(--color-text-muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

/* Primary CTA button */
.btn-primary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 12px;
  background: #00827E;
  color: #F4FBF9;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  background: #006d6a;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 130, 126, 0.4);
}

/* Secondary outline button */
.btn-secondary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 12px;
  border: 1px solid #00827E;
  color: #f2f4f3;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.btn-secondary:hover {
  border-color: #006d6a;
  background: rgba(0, 130, 126, 0.08);
  transform: translateY(-2px);
}

/* Contact info rows (phone, address, email) */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contact-info-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Icon box */
.contact-icon {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.contact-info-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.6px;
  color: var(--color-accent-label);
}

.contact-info-value {
  margin: 5px 0 0;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-text-body);
}


/* ============================================================
   13. FOOTER
   ============================================================ */

footer {
  padding-top: clamp(72px, 11vh, 120px);
  padding-bottom: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(40px, 6vh, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 23px;
  color: var(--color-text-heading);
}

.footer-brand-name strong {
  font-weight: 700;
}

.footer-brand-dot {
  color: var(--color-accent);
}

.footer-brand-tagline {
  margin: 18px 0 0;
  max-width: 280px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-faint);
}

.foot-soc {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.foot-soc a {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--color-border-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all .2s ease;
}

.foot-soc a:hover {
  color: var(--color-accent);
  border-color: rgba(0,130,126, .4);
}

/* Footer column headings */
.footer-col-label {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.8px;
  color: #f2f4f3;
}

/* Footer link list */
.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-link {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-text-muted);
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--color-accent);
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  padding-top: 30px;
}

.footer-copyright {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-text-faint);
}

.footer-disclaimer {
  margin: 0;
  max-width: 480px;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(242, 244, 243, 0.38);
}


/* ============================================================
   MOBILE BREAKPOINTS — styles.css (homepage: index.html)
   ============================================================ */

/* Expertise / service card grid */
@media (max-width: 860px) {
  .svc-grid,
  .expertise-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .svc-grid,
  .expertise-grid {
    grid-template-columns: 1fr;
  }
}

/* Team perspectives — stack columns */
@media (max-width: 860px) {
  .st-shell {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .roster-list {
    max-width: 480px;
  }
}

/* Stats row */
@media (max-width: 520px) {
  .stats-row,
  .stat-row {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .stat-divider { display: none; }
}

/* Contact card */
@media (max-width: 640px) {
  .contact-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Footer — homepage uses different class names */
@media (max-width: 640px) {
  .footer-cols,
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }
}
@media (max-width: 380px) {
  .footer-cols,
  .foot-grid {
    grid-template-columns: 1fr;
  }
}
