/*
Theme Name: Civic Financial
Theme URI: https://www.civic-financial.com
Author: Civic Financial
Author URI: https://www.civic-financial.com
Description: Custom theme for Civic Financial independent RIA
Version: 1.0.0
License: Private
Text Domain: civic-financial
*/

/* =============================================================================
   CIVIC FINANCIAL — styles.css
   Warm minimalism. Institutional confidence. Luxury precision.
   ============================================================================= */

/* =============================================================================
   GOOGLE FONTS IMPORT
   ============================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

/* =============================================================================
   CSS CUSTOM PROPERTIES
   ============================================================================= */
:root {
  /* Colors */
  --color-navy: #00254a;
  --color-green: #749391;
  --color-gray: #797d83;
  --color-warm-white: #F5F2EC;
  --color-gold: #C9A96E;
  --color-slate: #2C3E50;
  --color-sand: #E8E0D0;
  --color-mid-navy: #1a3a5c;
  --color-teal: #4a7c7e;
  --color-stone: #EAE4DC;
  --color-warm-brown: #8B7355;
  --color-off-white: #FAFAF8;
  --color-dark: #1C1A16;
  --color-body-text: #5C5650;
  --color-secondary-text: #6B6358;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.85;
  color: var(--color-body-text);
  background-color: var(--color-warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 200ms ease;
}

a:hover {
  opacity: 0.6;
}

ul {
  list-style: none;
}

/* =============================================================================
   TYPOGRAPHY UTILITIES
   ============================================================================= */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-warm-brown);
  margin-bottom: var(--space-sm);
}

.eyebrow--light {
  color: #749391;
}

.eyebrow--navy {
  color: #749391;
}

h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.08;
}

h1 {
  font-size: clamp(36px, 5vw, 80px);
}

h2 {
  font-size: clamp(28px, 3.5vw, 44px);
}

h3 {
  font-size: clamp(18px, 1.8vw, 22px);
}

p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.85;
  color: var(--color-body-text);
}

/* Pull quote */
.pull-quote {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.55;
  border-left: 1px solid var(--color-warm-brown);
  padding-left: 20px;
  color: var(--color-dark);
  margin-bottom: var(--space-md);
}

.pull-quote__attribution {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-warm-brown);
  margin-top: 12px;
  font-style: normal;
  display: block;
}

.pull-quote--small {
  font-size: clamp(16px, 1.6vw, 18px);
}

/* =============================================================================
   LAYOUT UTILITIES
   ============================================================================= */

/* Full bleed — background edge to edge, content constrained to 1200px */
.full-bleed {
  width: 100%;
}

/* Standard content container — max 960px centered */
.container {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

/* Wide container for full-bleed sections — max 1200px */
.container--wide {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

/* Narrow container */
.container--narrow {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

/* Section padding */
.section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.section--lg {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

/* =============================================================================
   BUTTONS
   ============================================================================= */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: 0;
  cursor: pointer;
  transition: opacity 200ms ease, background-color 200ms ease;
  white-space: nowrap;
}

.btn--outline {
  border: 0.5px solid var(--color-dark);
  color: var(--color-dark);
  background: transparent;
}

.btn--outline:hover {
  opacity: 0.6;
}

.btn--outline-light {
  border: 0.5px solid rgba(242, 237, 230, 0.35);
  color: #F2EDE6;
  background: transparent;
}

.btn--outline-light:hover {
  opacity: 0.6;
}

.btn--outline-navy {
  border: 0.5px solid var(--color-navy);
  color: var(--color-navy);
  background: transparent;
}

.btn--outline-navy:hover {
  opacity: 0.6;
}

.btn--filled {
  background-color: var(--color-navy);
  color: #ffffff;
  border: none;
  padding: 12px 28px;
}

.btn--filled:hover {
  background-color: var(--color-mid-navy);
  opacity: 1;
}

.btn--full {
  width: 100%;
  text-align: center;
}

/* =============================================================================
   NAVIGATION
   ============================================================================= */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
  height: 72px;
  background-color: transparent;
  border-bottom: none;
  transition: background-color 300ms ease;
}

.nav--home {
  background-color: rgba(0, 37, 74, 0.42);
}

.nav.scrolled {
  background-color: var(--color-warm-white);
  border-bottom: 0.5px solid rgba(28, 26, 22, 0.1);
}

.nav__logo img {
  height: 36px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav__link {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary-text);
  border-bottom: 0.5px solid transparent;
  padding-bottom: 2px;
  transition: opacity 200ms ease, border-color 200ms ease;
  opacity: 0;
  transform: translateY(6px);
}

.nav__link.nav-animated {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 600ms ease-out, transform 600ms ease-out, border-color 200ms ease;
}

.nav__link.active {
  border-bottom: 0.5px solid var(--color-green);
}

.nav__link:hover {
  opacity: 0.6;
}

.nav__cta {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-dark);
  border-bottom: 0.5px solid var(--color-dark);
  padding-bottom: 2px;
  transition: opacity 200ms ease;
  opacity: 0;
  transform: translateY(6px);
}

.nav__cta.nav-animated {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.nav__cta:hover {
  opacity: 0.6;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--color-dark);
  opacity: 0;
  transform: translateY(6px);
}

.nav__hamburger.nav-animated {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}

/* Mobile overlay */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: var(--color-dark);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

.nav__overlay.open {
  opacity: 1;
  pointer-events: all;
}

.nav__overlay-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  cursor: pointer;
  color: #F2EDE6;
  padding: 4px;
}

.nav__overlay-links {
  list-style: none;
  text-align: center;
}

.nav__overlay-link {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 32px;
  color: #F2EDE6;
  display: block;
  padding: 14px 0;
  transition: opacity 200ms ease;
}

.nav__overlay-link:hover {
  opacity: 0.6;
}

/* =============================================================================
   NAV LOGO — color switching
   Colored logo on warm-white; inverted to white when nav is transparent (dark bg)
   ============================================================================= */
.nav__logo img {
  filter: brightness(0) invert(1);
  transition: filter 300ms ease;
}

.nav.scrolled .nav__logo img {
  filter: none;
}

/* Nav links + CTA white on dark hero (transparent nav state) */
.nav:not(.scrolled) .nav__link {
  color: rgba(242, 237, 230, 0.75);
}

.nav:not(.scrolled) .nav__cta {
  color: #F2EDE6;
  border-bottom-color: rgba(242, 237, 230, 0.5);
}

.nav:not(.scrolled) .nav__hamburger {
  color: #F2EDE6;
}

/* =============================================================================
   HERO — HOMEPAGE
   ============================================================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
  background-color: var(--color-dark);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.62);
}

.hero__mark {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 2;
  animation: slow-rotate 120s linear infinite;
  transform-origin: center;
}

@keyframes slow-rotate {
  from { transform: translateY(-50%) rotate(0deg); }
  to   { transform: translateY(-50%) rotate(360deg); }
}

.hero__content {
  position: relative;
  z-index: 3;
  padding-bottom: 64px;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
  max-width: 900px;
}

.hero__eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #749391;
  margin-bottom: 18px;
}

.hero__headline {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 4.8vw, 70px);
  line-height: 1.05;
  color: #F2EDE6;
  margin-bottom: 0;
  white-space: nowrap;
}

.hero__subheadline {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: #F2EDE6;
  text-shadow: 0 1px 14px rgba(0,0,0,0.75);
  max-width: 540px;
  margin-bottom: 36px;
}

/* Hero content positioned towards top (over sky) */
.hero__content--top {
  padding-top: 180px;
  padding-bottom: 0;
  align-self: flex-start;
  max-width: none;
}

/* Hero body text — floated to the bottom of the hero */
.hero__content--bottom {
  margin-top: auto;
  padding-bottom: 96px;
  align-self: flex-start;
}

/* Homepage hero — position content over the water */
.hero--home .hero__content--bottom {
  padding-bottom: 180px;
}

/* Desktop: lower headline toward the water portion of the video (reduce from default 180px) */
@media (min-width: 768px) {
  .hero--home .hero__content--bottom {
    padding-bottom: 80px;
  }
}

/* Interior heroes with h1 only (no subheadline) — extra padding compensates
   for the missing subheadline height so the h1 sits at the same level
   as Services and Community which have h1 + subheadline */
.hero--people .hero__content--bottom,
.hero--image .hero__content--bottom {
  padding-bottom: 156px;
}

/* Interior page hero — shorter, with video or image */
.hero--interior {
  height: 48vh;
  min-height: 340px;
  align-items: flex-start;
  justify-content: flex-end;
}

/* Image-background hero (contact page) */
.hero--image {
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
}

/* Community hero — teal background with static logo mark */
.hero--community {
  background-color: var(--color-teal);
  height: 48vh;
  min-height: 340px;
  align-items: flex-start;
  justify-content: flex-end;
}

/* Static (non-rotating) logo mark watermark */
.hero__mark--static {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 2;
  animation: none;
}

/* Medium overlay (community page) */
.hero__overlay--medium {
  background-color: rgba(0, 0, 0, 0.35);
}

/* Light-colored breadcrumb for dark hero */
.breadcrumb--light {
  color: rgba(242, 237, 230, 0.55);
}

.breadcrumb--light a {
  color: rgba(242, 237, 230, 0.55);
}

/* =============================================================================
   HERO — INTERIOR PAGES (banner)
   ============================================================================= */
.hero-banner {
  background-color: var(--color-warm-white);
  padding-top: 140px;
  padding-bottom: 72px;
  border-bottom: 0.5px solid var(--color-sand);
}

.hero-banner__breadcrumb {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 11px;
  color: var(--color-warm-brown);
  margin-bottom: 16px;
}

.hero-banner__headline {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--color-dark);
  max-width: 680px;
  line-height: 1.1;
}

/* =============================================================================
   WHAT WE DO — HORIZONTAL SCROLL SECTION (Homepage)
   ============================================================================= */
.scroll-section {
  background-color: var(--color-warm-white);
  position: relative;
}

.scroll-section__sticky-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 100px;
}

.scroll-section__header {
  padding: var(--space-lg) var(--space-lg) var(--space-md);
}

.scroll-section__cards-viewport {
  overflow: hidden;
  padding-left: var(--space-lg);
}

.scroll-section__cards {
  display: flex;
  gap: var(--space-md);
  will-change: transform;
  padding-right: var(--space-lg);
}

.scroll-section__footer {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
}

/* =============================================================================
   SERVICE CARDS — Homepage 4-column portrait grid
   ============================================================================= */
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.service-card-tall {
  background-color: var(--color-off-white);
  border: 0.5px solid rgba(28, 26, 22, 0.1);
  padding: 40px 28px 100px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card-tall::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 96px;
  background-image: url('logo-mark.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.08;
  pointer-events: none;
}

/* Legacy card style (services.html page cards) */
.service-card {
  width: 300px;
  min-width: 300px;
  flex-shrink: 0;
  background-color: var(--color-off-white);
  border: 0.5px solid rgba(28, 26, 22, 0.1);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.service-card__title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--color-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.service-card__body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.85;
  color: var(--color-body-text);
}

/* =============================================================================
   SERVICE BLOCKS — two-column editorial list with ordinal accent (services.html)
   ============================================================================= */
.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-block {
  position: relative;
  display: grid;
  grid-template-columns: 300px 1fr;
  grid-template-areas: "left right";
  align-items: start;
  padding: 52px 0;
  border-top: 1px solid rgba(0, 37, 74, 0.15);
  overflow: hidden;
}

.service-block:last-child {
  border-bottom: 1px solid rgba(0, 37, 74, 0.15);
}

.service-block__ordinal {
  display: none;
}

.service-block__left {
  grid-area: left;
  padding-right: 56px;
  padding-top: 8px;
}

.service-block__name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 10px;
}

.service-block__tag {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin: 0;
}

.service-block__description {
  grid-area: right;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-body-text);
  margin: 0;
  padding-top: 8px;
  max-width: 640px;
}

.services-disclosure {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 11px;
  color: var(--color-gray);
  margin-top: 40px;
  line-height: 1.6;
}

/* Full-bleed map image break between service list and Our Clients */
.map-break {
  width: 100%;
  height: 300px;
  overflow: hidden;
  display: block;
  line-height: 0;
}

.map-break img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Service blocks — mobile: stack to single column */
@media (max-width: 768px) {
  .service-block {
    grid-template-columns: 1fr;
    grid-template-areas:
      "left"
      "right";
    padding: 36px 0;
  }

  .service-block__ordinal {
    font-size: 80px;
    top: 16px;
  }

  .service-block__left {
    padding-right: 0;
    padding-bottom: 16px;
  }

  .service-block__description {
    max-width: 100%;
  }
}

/* =============================================================================
   RECOGNITION / AWARDS SECTION
   ============================================================================= */
.recognition {
  background-color: var(--color-navy);
  padding-top: 72px;
  padding-bottom: 72px;
}

.recognition__headline {
  color: #F2EDE6;
  margin-bottom: var(--space-lg);
}

.recognition__rule {
  border: none;
  border-top: 0.5px solid rgba(242, 237, 230, 0.1);
  margin-bottom: var(--space-lg);
}

.recognition__footnote {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 11px;
  color: #F2EDE6;
  line-height: 1.7;
  margin-top: 32px;
}

/* Carousel */
.carousel {
  overflow: hidden;
  height: 250px;
  position: relative;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 80px,
    black calc(100% - 80px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 80px,
    black calc(100% - 80px),
    transparent 100%
  );
}

.carousel:hover .carousel__track {
  animation-play-state: paused;
}

.carousel__track {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
  animation: carousel-scroll 30s linear infinite;
  width: max-content;
}

@keyframes carousel-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.carousel__img {
  height: 170px;
  width: auto;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.35));
}

/* =============================================================================
   OUR PEOPLE SECTION (Homepage teaser)
   ============================================================================= */
.people-teaser {
  background-color: var(--color-off-white);
}

.people-teaser__photo {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  margin-bottom: 32px;
}

/* =============================================================================
   CLOSING CTA
   ============================================================================= */
.cta-section {
  background-color: var(--color-dark);
  text-align: center;
}

.cta-section__headline {
  color: #F2EDE6;
  font-size: clamp(36px, 4vw, 46px);
  margin-bottom: 20px;
}

.cta-section__body {
  color: #F2EDE6;
  max-width: 360px;
  margin: 0 auto 32px;
  font-size: 13px;
}

/* =============================================================================
   TEAM SECTION (People page)
   ============================================================================= */
.team-intro__body {
  font-size: 14px;
  line-height: 1.85;
  max-width: 640px;
  margin-bottom: var(--space-lg);
}

/* =============================================================================
   CORE VALUES INFOGRAPHIC
   ============================================================================= */
.values-infographic {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--space-xl);
  align-items: center;
}

.values-infographic__intro h2 {
  margin-bottom: 16px;
}

.values-infographic__body {
  font-size: 14px;
  color: var(--color-body-text);
  line-height: 1.85;
}

.values-infographic__visual {
  position: relative;
  aspect-ratio: 750 / 520;
  width: 100%;
}

.values-triangle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Icon nodes */
.value-node {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  outline: none;
}

.value-node--1 { left: 42.7%; top: 7.7%; }
.value-node--2 { left: 16%;   top: 50%;  }
.value-node--3 { left: 42.7%; top: 92.3%; }

.value-node__circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 37, 74, 0.25);
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  transition: background-color 300ms ease, border-color 300ms ease, border-width 200ms ease, outline 200ms ease;
  position: relative;
  z-index: 2;
}

.value-node:hover .value-node__circle,
.value-node:focus .value-node__circle {
  background-color: #00254a;
  border-color: #00254a;
  outline: 3px solid #00254a;
  outline-offset: 5px;
}

.value-node__icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: filter 250ms ease, mix-blend-mode 0ms;
  flex-shrink: 0;
  display: block;
}

.value-node:hover .value-node__icon,
.value-node:focus .value-node__icon {
  mix-blend-mode: normal;
  filter: brightness(0) invert(1);
}

.value-node__content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 250ms ease;
  width: 200px;
  pointer-events: none;
}

.value-node:hover .value-node__content,
.value-node:focus .value-node__content {
  opacity: 1;
  pointer-events: auto;
}

/* Nodes 1 and 3: content to the left */
.value-node--1 .value-node__content,
.value-node--3 .value-node__content {
  right: calc(100% + 14px);
  text-align: right;
}

/* Node 2: content to the right */
.value-node--2 .value-node__content {
  left: calc(100% + 14px);
  text-align: left;
}

.value-node__title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--color-dark);
  margin-bottom: 8px;
  white-space: nowrap;
}

.value-node__list {
  list-style: disc;
  padding-left: 16px;
}

.value-node__list li {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: var(--color-body-text);
  line-height: 1.75;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-lg) var(--space-md);
}

/* Row 1: 4 cards, each spans 3 of 12 columns */
.team-card {
  grid-column: span 3;
}

/* Rows 2 & 3: 3 cards each, spans 4 of 12 columns */
.team-card:nth-child(n + 5) {
  grid-column: span 4;
}

/*Center the final 2 team cards */
.team-card:nth-last-child(2) {
	grid-column: 3 / span 4;
}

.team-card:last-child {
	grid-column: 7 / span 4;
}

.team-card {
  display: flex;
  flex-direction: column;
}

.team-card__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  display: block;
  background-color: var(--color-sand);
}

.team-card__name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--color-dark);
  margin-top: 14px;
  margin-bottom: 3px;
  line-height: 1.2;
}

.team-card__title {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-warm-brown);
  line-height: 1.5;
}

.team-card__designations {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 11px;
  color: var(--color-gray);
  margin-top: 4px;
}

/* Team card contact info */
.team-card__contact {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.team-card__phone,
.team-card__email {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 11px;
  color: var(--color-body-text);
  display: block;
  transition: opacity 200ms ease;
}

.team-card__phone:hover,
.team-card__email:hover {
  opacity: 0.6;
}

.team-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
}

.team-card__linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0.5px solid rgba(28, 26, 22, 0.2);
  color: var(--color-warm-brown);
  flex-shrink: 0;
  transition: opacity 200ms ease;
}

.team-card__linkedin:hover {
  opacity: 0.6;
}

.team-card__bio-btn {
  font-size: 9px;
  padding: 7px 14px;
  letter-spacing: 0.12em;
}

/* =============================================================================
   BIO MODAL
   ============================================================================= */
.bio-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(28, 26, 22, 0.7);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

.bio-modal-overlay.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.bio-modal {
  background-color: var(--color-warm-white);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  -webkit-overflow-scrolling: touch;
}

.bio-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-warm-brown);
  padding: 4px;
  z-index: 10;
  transition: opacity 200ms ease;
}

.bio-modal__close:hover {
  opacity: 0.6;
}

.bio-modal__inner {
  display: grid;
  grid-template-columns: 260px 1fr;
}

.bio-modal__photo {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: top;
  display: block;
  background-color: var(--color-sand);
  flex-shrink: 0;
  align-self: flex-start;
}

.bio-modal__content {
  padding: 48px 40px 40px;
}

.bio-modal__name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 2.5vw, 32px);
  color: var(--color-dark);
  margin-bottom: 6px;
  line-height: 1.1;
}

.bio-modal__title {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-warm-brown);
  margin-bottom: 20px;
}

.bio-modal__contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 0.5px solid var(--color-sand);
}

.bio-modal__contact-link {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 11px;
  color: var(--color-body-text);
  transition: opacity 200ms ease;
}

.bio-modal__contact-link:hover {
  opacity: 0.6;
}

.bio-modal__contact-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--color-warm-brown);
}

.bio-modal__text p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.85;
  color: var(--color-body-text);
  margin-bottom: 14px;
}

.bio-modal__text p:last-child {
  margin-bottom: 0;
}

.bio-modal__disclosure {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 10px;
  line-height: 1.7;
  color: var(--color-gray);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 0.5px solid var(--color-sand);
}

/* =============================================================================
   DESIGNATIONS ACCORDION
   ============================================================================= */
.designations__intro {
  font-size: 14px;
  color: var(--color-body-text);
  max-width: 560px;
  margin-bottom: 40px;
}

.accordion {
  border-top: 0.5px solid var(--color-sand);
}

.accordion__item {
  border-bottom: 0.5px solid var(--color-sand);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.accordion__trigger-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--color-dark);
}

.accordion__icon {
  flex-shrink: 0;
  margin-left: 16px;
  color: var(--color-warm-brown);
  transition: transform 300ms ease;
}

.accordion__item.open .accordion__icon {
  transform: rotate(45deg);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms ease;
}

.accordion__item.open .accordion__body {
  max-height: 600px;
}

.accordion__content {
  padding-bottom: 24px;
}

.accordion__content p {
  font-size: 13px;
  color: var(--color-body-text);
  line-height: 1.85;
  margin-bottom: 10px;
  max-width: 640px;
}

.accordion__held-by {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-warm-brown);
}

/* =============================================================================
   SERVICES PAGE
   ============================================================================= */
.services-list {
  padding: 0;
}

.service-block {
  border-bottom: 0.5px solid var(--color-sand);
  padding: 32px 0;
}

.service-block:first-child {
  border-top: 0.5px solid var(--color-sand);
}

.service-block__name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.service-block__description {
  font-size: 13px;
  color: var(--color-body-text);
  line-height: 1.85;
  max-width: 680px;
}

.services-disclosure {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 11px;
  color: var(--color-gray);
  line-height: 1.7;
  margin-top: var(--space-lg);
}

.clients-body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--color-body-text);
  max-width: 560px;
}

/* Clients list (services page — no periods) */
.clients-list {
  list-style: none;
  padding: 0;
  max-width: 560px;
}

.clients-list li {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.85;
  color: var(--color-body-text);
  padding-left: 20px;
  position: relative;
}

.clients-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-warm-brown);
}

/* What sets us apart cards */
.apart-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.apart-card {
  background-color: var(--color-off-white);
  border: 0.5px solid rgba(28, 26, 22, 0.1);
  padding: 28px 24px;
}

.apart-card__title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.apart-card__body {
  font-size: 13px;
  color: var(--color-body-text);
  line-height: 1.85;
}

/* Network section */
.network__body {
  font-size: 14px;
  color: var(--color-body-text);
  line-height: 1.85;
  max-width: 640px;
}

/* =============================================================================
   COMMUNITY PAGE
   ============================================================================= */
.community-intro__body {
  font-size: 14px;
  color: var(--color-body-text);
  line-height: 1.85;
  max-width: 640px;
}

.community-block {
  padding-top: 72px;
  padding-bottom: 72px;
}

.community-block__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.community-block__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background-color: var(--color-sand);
}

.community-block__text {
  /* content column */
}

.community-block__headline {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 2.5vw, 36px);
  color: var(--color-dark);
  margin-bottom: 16px;
  line-height: 1.1;
}

.community-block__body {
  font-size: 13px;
  color: var(--color-body-text);
  line-height: 1.85;
}

/* Alternate layout: even sections text left, image right */
.community-block--reversed .community-block__inner {
  direction: rtl;
}

.community-block--reversed .community-block__inner > * {
  direction: ltr;
}

/* Background alternation */
.community-block--light {
  background-color: var(--color-off-white);
}

.community-block--stone {
  background-color: var(--color-stone);
}

/* =============================================================================
   CONTACT PAGE
   ============================================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-info__office-city {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--color-dark);
  margin-bottom: 6px;
  margin-top: var(--space-lg);
}

.contact-info__address {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: var(--color-body-text);
  line-height: 1.7;
}

.contact-info__address a {
  color: var(--color-body-text);
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: var(--space-sm);
}

.social-icon {
  color: var(--color-warm-brown);
  display: block;
  transition: opacity 200ms ease;
}

.social-icon:hover {
  opacity: 0.6;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-warm-brown);
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  border: 0.5px solid rgba(28, 26, 22, 0.2);
  padding: 12px 16px;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: var(--color-dark);
  width: 100%;
  border-radius: 0;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 200ms ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--color-navy);
}

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

.form-confirmation {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--color-dark);
  padding: var(--space-lg) 0;
}

/* Contact map */
.contact-map {
  margin-top: var(--space-lg);
  overflow: hidden;
}

.contact-map iframe {
  display: block;
  width: 100%;
}

/* =============================================================================
   CLIENT CENTER
   ============================================================================= */
.client-center {
  text-align: center;
}

.client-center__body {
  font-size: 14px;
  color: var(--color-body-text);
  line-height: 1.85;
  max-width: 480px;
  margin: 0 auto var(--space-md);
}

.client-center__note {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 11px;
  color: var(--color-gray);
  margin-top: 16px;
}

/* =============================================================================
   FOOTER
   ============================================================================= */
#site-footer {
  background-color: #00254a;
}

.footer {
  padding-top: 64px;
  padding-bottom: 64px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.footer__logo {
  height: 32px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer__tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 28px;
  color: #F2EDE6;
  margin-bottom: 12px;
  line-height: 1.1;
}

.footer__body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #F2EDE6;
  line-height: 1.85;
  margin-bottom: 20px;
}

.footer__address {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #F2EDE6;
  line-height: 2;
}

.footer__address a {
  color: #F2EDE6;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.footer__social-icon {
  color: #F2EDE6;
  display: block;
  transition: opacity 200ms ease;
}

.footer__social-icon:hover {
  opacity: 0.6;
}

.footer__legal-links {
  list-style: none;
  padding: 0;
}

.footer__legal-links li {
  line-height: 2;
}

.footer__legal-links a {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #F2EDE6;
  transition: opacity 200ms ease;
}

.footer__legal-links a:hover {
  opacity: 0.6;
}

.footer__disclosure {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #F2EDE6;
  line-height: 1.7;
  margin-top: 16px;
}

.footer__bottom {
  border-top: 0.5px solid rgba(242, 237, 230, 0.1);
  margin-top: 48px;
  padding-top: 24px;
}

.footer__copyright {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #F2EDE6;
}

/* =============================================================================
   BREADCRUMB
   ============================================================================= */
.breadcrumb {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 11px;
  color: var(--color-warm-brown);
  margin-bottom: 16px;
}

/* =============================================================================
   SECTION BACKGROUNDS (utility)
   ============================================================================= */
.bg-warm-white { background-color: var(--color-warm-white); }
.bg-off-white  { background-color: var(--color-off-white); }
.bg-stone      { background-color: var(--color-stone); }
.bg-navy       { background-color: var(--color-navy); }
.bg-dark       { background-color: var(--color-dark); }

/* =============================================================================
   PRINT STYLESHEET
   ============================================================================= */
@media print {
  #site-header,
  .hero,
  .hero-banner,
  #site-footer,
  .btn,
  .carousel,
  .scroll-section,
  .cta-section,
  nav {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .container,
  .container--wide,
  .container--narrow {
    max-width: 100%;
    padding: 0;
  }

  section {
    page-break-inside: avoid;
    padding: 20pt 0;
  }

  h1, h2, h3 {
    color: #000;
  }

  a {
    color: #000;
    text-decoration: none;
  }
}

/* =============================================================================
   RESPONSIVE — TABLET (768px)
   ============================================================================= */
@media (max-width: 768px) {
  .bio-modal__inner {
    grid-template-columns: 1fr;
  }

  .bio-modal__photo {
    min-height: 260px;
    height: 260px;
  }

  .bio-modal__content {
    padding: 32px 28px 28px;
  }

  .hero__content--top {
    padding-top: 130px;
  }

  .hero--interior,
  .hero--community {
    height: 50vh;
  }
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: block;
  }

  .nav__overlay {
    display: flex;
  }

  .hero__headline {
    font-size: 52px;
  }

  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .container,
  .container--wide,
  .container--narrow {
    padding-left: 32px;
    padding-right: 32px;
  }

  .hero__content {
    padding-left: 32px;
    padding-right: 32px;
  }

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

  .team-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md) var(--space-sm);
}

.team-card {
  grid-column: span 1;
}

  .apart-cards {
    grid-template-columns: 1fr;
  }

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

  .community-block__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .community-block--reversed .community-block__inner {
    direction: ltr;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .scroll-section__cards {
    flex-wrap: nowrap;
  }

  .service-card {
    min-width: 280px;
  }
}

/* =============================================================================
   RESPONSIVE — MOBILE (375px)
   ============================================================================= */
@media (max-width: 480px) {
  .hero__headline {
    font-size: 36px;
    white-space: normal;
  }

  /* Scale back the desktop-tuned padding on mobile */
  .hero--home .hero__content--bottom {
    padding-bottom: 80px;
  }

  .hero--people .hero__content--bottom,
  .hero--image .hero__content--bottom {
    padding-bottom: 80px;
  }

  .hero__content {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 48px;
  }

  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .container,
  .container--wide,
  .container--narrow {
    padding-left: 20px;
    padding-right: 20px;
  }

  .team-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md) var(--space-sm);
}

.team-card {
  grid-column: span 1;
}

  .apart-cards {
    grid-template-columns: 1fr;
  }

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

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

  h2 {
    font-size: 28px;
  }

  .hero-banner__headline {
    font-size: 28px;
  }

  .scroll-section__sticky-wrap {
    position: static;
    height: auto;
  }

  .scroll-section__cards {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
  }

  .scroll-section__cards::-webkit-scrollbar {
    display: none;
  }
}

/* =============================================================================
   WHO WE ARE — Homepage section below hero
   ============================================================================= */
.who-we-are {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.who-we-are__body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-body-text);
  max-width: 640px;
}

/* =============================================================================
   MORPH CARDS — Homepage service cards (hover-morph interaction)
   ============================================================================= */
.morph-cards-section {
  padding-top: 72px;
}

.morph-cards__headline {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 42px);
  color: #00254a;
  line-height: 1.05;
  margin-bottom: 48px;
  max-width: 660px;
}

.morph-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.morph-card {
  background-color: #EAE4DC;
  border: 1.5px solid #00254a;
  display: flex;
  flex-direction: column;
  height: 340px;
  cursor: pointer;
  transition: background-color 400ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.morph-card:hover {
  background-color: #00254a;
  transform: scale(1.02);
}

.morph-card__graphic-zone {
  height: 240px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background-color: transparent;
}

.morph-card__graphic {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.morph-card:hover .morph-card__graphic {
  opacity: 0;
}

.morph-card__desc {
  position: absolute;
  inset: 0;
  
  display: flex;
  align-items: center; /* vertical centering */
  justify-content: center; /* horizontal centering */
  text-align: center;
  
  padding: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.85;
  color: #D4CEC6;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 200ms 200ms cubic-bezier(0.4, 0, 0.2, 1),
              max-height 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.morph-card:hover .morph-card__desc {
  opacity: 1;
  max-height: 200px;
}

.morph-card__title-zone {
  padding: 20px 20px 24px;
  flex-shrink: 0;
}

.morph-card__rule {
  border: none;
  border-top: 0.5px solid rgba(201, 169, 110, 0.7);
  margin-bottom: 14px;
  transition: border-color 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.morph-card:hover .morph-card__rule {
  border-top-color: rgba(201, 169, 110, 0.5);
}

.morph-card__title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00254a;
  line-height: 1.2;
  text-align: center;
  transition: color 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.morph-card:hover .morph-card__title {
  color: #F2EDE6;
}

.morph-cards__cta {
  margin-top: 40px;
  text-align: center;
}

@media (max-width: 768px) {
  .morph-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .morph-cards {
    grid-template-columns: 1fr;
  }
  .morph-card {
    height: auto;
    min-height: 300px;
  }
}

@media (pointer: coarse) and (max-width: 480px) {
  .morph-card__graphic {
    opacity: 0.15;
  }
  .morph-card__desc {
    opacity: 1;
    max-height: 200px;
  }
  .morph-card {
    background-color: #EAE4DC;
  }
  .morph-card__title {
    color: #00254a;
  }
}

/* =============================================================================
   CORE VALUES — People page (rebuilt)
   ============================================================================= */
.core-values {
  background-color: #F5F2EC;
  padding-top: 80px;
  padding-bottom: 80px;
}

.core-values__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.core-values__headline {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 36px;
  color: #00254a;
  line-height: 1.1;
  margin-bottom: 48px;
}

/* cv-cards — 3 equal columns on desktop */
.cv-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 12px;
}

.cv-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--color-off-white);
  border: 1px solid #DDD8CE;
  padding: 40px 32px 36px;
}

.cv-card__icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--color-warm-white);
  border: 1.5px solid #749391;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.cv-card__icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.cv-card__title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-navy);
  line-height: 1.1;
  margin-bottom: 20px;
  text-align: center;
}

.cv-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  align-self: flex-start;
  width: 100%;
}

.cv-card__list li {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #5C5650;
  line-height: 1.8;
  padding-left: 16px;
  position: relative;
  text-align: left;
}

.cv-card__list li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: #C9A96E;
  font-size: 12px;
  line-height: 1.8;
}

/* Community intro headline */
.community-intro__headline {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--color-navy);
  line-height: 1.2;
  max-width: 720px;
}

/* =============================================================================
   CORE VALUES — Tablet: horizontal swipe carousel (769px → 480px)
   ============================================================================= */
@media (max-width: 768px) {
  .cv-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
    margin-top: 36px;
    margin-left: calc(-1 * var(--space-lg));
    margin-right: calc(-1 * var(--space-lg));
    padding: 0 var(--space-lg) 28px;
    scroll-padding-left: var(--space-lg);
  }

  .cv-cards::-webkit-scrollbar {
    display: none;
  }

  .cv-card {
    flex: 0 0 72vw;
    max-width: 320px;
    scroll-snap-align: start;
  }
}

/* =============================================================================
   CORE VALUES — Mobile: single-column stack (≤ 480px)
   ============================================================================= */
@media (max-width: 480px) {
  .cv-cards {
    display: flex;
    flex-direction: column;
    overflow-x: visible;
    scroll-snap-type: none;
    gap: 20px;
    margin-left: 0;
    margin-right: 0;
    padding: 0 0 8px;
    margin-top: 32px;
  }

  .cv-card {
    flex: none;
    max-width: 100%;
    width: 100%;
    scroll-snap-align: none;
    padding: 32px 24px 28px;
  }
}

/* ============================================================
   MORPH CARD LINK WRAPPER
   ============================================================ */
a.morph-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.morph-card__link:hover,
a.morph-card__link:focus {
  opacity: 1;
}

/* ============================================================
   HERO TEXT-SHADOW FOR INTERIOR & COMMUNITY PAGES
   ============================================================ */
.hero--interior .hero__headline,
.hero--interior .hero__subheadline,
.hero--community .hero__headline,
.hero--community .hero__subheadline {
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
}

/* Mobile fix for morph cards */
@media (max-width: 768px) {

    .morph-card__graphic-zone {
        opacity: 1;
    }

    .morph-card__desc {
        opacity: 1;
        color: #ffffff;
        background: rgba(0, 37, 74, 0.92);
        padding: 12px;
        font-size: 14px;
    }

    .morph-card__graphic {
        opacity: 0.4;
    }

    /* Remove hover-on-tap behavior */
    .morph-card__link:hover .morph-card,
    .morph-card__link:active .morph-card {
        transform: none;
    }

}
/* ===== SIMPLIFIED FONT SIZE SYSTEM ===== */
:root {
  --font-xs: 13px;
  --font-sm: 16px;
  --font-base: 18px;
  --font-md: 24px;
  --font-lg: 32px;
  --font-xl: 42px;
}

/* ===== FIX: "Clearest Path" Headline Alignment ===== */
.morph-cards__headline {
  font-size: 32px;
  line-height: 1.35;
  margin-bottom: 48px;
  max-width: 100%;
  font-weight: 600;
}

/* ===== FIX: "Highly Credentialed" Keep on One Line ===== */
.people-teaser h2 {
  white-space: nowrap;
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 32px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* On mobile, allow wrap if necessary */
@media (max-width: 600px) {
  .people-teaser h2 {
    white-space: normal;
    font-size: 24px;
  }
}

/* ===== OPTIONAL: Consolidated Headline Sizes ===== */
h1 {
  font-size: 42px;
  line-height: 1.2;
}

h2 {
  font-size: 32px;
  line-height: 1.3;
}

h3 {
  font-size: 24px;
  line-height: 1.4;
}

body, p {
  font-size: 16px;
  line-height: 1.6;
}

.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}