/* Corporate HR Advisory Partners, LLC brand styling */

:root {
  /* Brand palette from updated pages 1-2 */
  --primary: #0f2a44;
  --primary-dark: #0b1f33;
  --primary-bright: #1f4e8c;
  --primary-light: rgba(31, 78, 140, 0.18);
  --primary-solid-bg: #eaf0f7;
  --accent-gold: #d7262e;
  --accent-gold-soft: #f8d7d9;
  --accent-green: #2e8b57;
  --accent-slate: #c5ccd6;
  --accent-slate-soft: #edf1f5;
  --cream: #f4f6f8;
  --cream-mid: #f4f6f8;
  --cream-dark: #e2e8ef;
  --cream-border: #c5ccd6;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-alt: #f5efe4;
  --surface-strong: #ede6da;
  --text: #0f2a44;
  --text-muted: #23374a;
  --text-muted-alt: #6b7280;
  --border: #c5ccd6;
  --border-strong: #6b7280;
  --font-head: "Sora", "Libre Franklin", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --max-width: 1200px;
  --cream-band-width: 1280px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-soft: 0 8px 28px rgba(15, 42, 68, 0.1);
  --shadow-lift: 0 20px 50px rgba(15, 42, 68, 0.14), 0 0 0 1px rgba(197, 204, 214, 0.4);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  /* Logo is now tightly cropped (400×123, ratio 3.25:1) — these heights are the actual visual mark heights */
  --navbar-padding-y: 0.625rem;
  --nav-logo-max-height: 3.5rem;
  --nav-logo-max-height-mobile: 2.875rem;
}

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

html {
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--primary-bright);
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Sticky footer: main grows so footer sits at bottom on short pages (About, Thank you, etc.) */
main {
  flex: 1 1 auto;
  min-width: 0;
}

/* ---- Disable pseudo margin paint; body is solid brand blue ---- */
body::before {
  content: none;
}

/* ---- Solid cream band (slightly wider than content; gradient shows at edges) ---- */
body::after {
  content: '';
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--cream-band-width);
  background: var(--cream);
  z-index: -1;
  pointer-events: none;
}

@keyframes meshShift {
  0% { transform: scale(1) translate(0, 0) rotate(0deg); }
  100% { transform: scale(1.15) translate(-3%, -2%) rotate(2deg); }
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  margin-top: 0;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

/* ---- Animated underline links ---- */
a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-smooth);
  position: relative;
}

a:hover { color: var(--primary); }

/* Animated underline for nav and footer links */
.nav-link,
.footer-link {
  color: inherit;
}

.nav-link::after,
.footer-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent-slate));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-smooth);
  border-radius: 1px;
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after,
.footer-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Scope fluid images: exclude nav logo so flex shrink + height:auto cannot collapse it */
img:not(.nav-logo__img) {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---- Navbar – glass, white ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--navbar-padding-y) 1.5rem;
  transition: all var(--transition-smooth);
  border-bottom: 2px solid var(--cream-border);
  box-shadow: 0 1px 0 0 var(--primary);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 24px rgba(46, 139, 94, 0.08), 0 1px 0 0 var(--primary);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: clamp(0.75rem, 2vw, 1.5rem);
}

.nav-logo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  min-width: min-content;
}

/*
 * Nav logo assets are landscape (~320×213). Never use a tight max-height here:
 * height caps shrink the used WIDTH (width ≈ height × 320/213) and the wordmark
 * stays illegible. Size by width; cap height only high enough for a readable mark.
 */
.navbar .nav-container .nav-logo a.nav-logo__brand img.nav-logo__img {
  position: relative;
  z-index: 0;
  display: block;
  box-sizing: border-box;
  aspect-ratio: 400 / 123;
  width: min(320px, 52vw);
  height: auto;
  max-width: none;
  max-height: var(--nav-logo-max-height);
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

.nav-logo__brand picture {
  display: block;
  flex-shrink: 0;
  line-height: 0;
  width: fit-content;
}

.nav-logo a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo a::after {
  content: none;
}

.nav-logo a:hover { color: var(--primary); }

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

/* Equal row height: each link block is vertically centered inside its li so
   single-line and wrapped labels align cleanly across the bar. */
.nav-menu > li {
  display: flex;
  align-items: center;
}

.nav-link {
  display: inline-block;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  text-align: center;
  line-height: 1.3;
  max-width: 10.5rem;
  box-sizing: border-box;
  vertical-align: middle;
}

/* Wider nav labels = less wrapping; wrapped links set row height (often taller than logo) */
@media (min-width: 1100px) {
  .nav-link {
    max-width: 12.75rem;
  }
}
@media (min-width: 1280px) {
  .nav-link {
    max-width: 14rem;
  }
}

/* Mid-width desktop: slightly tighter type + gaps so labels stay one line more often */
@media (min-width: 769px) and (max-width: 1180px) {
  .nav-menu {
    gap: clamp(0.75rem, 1.2vw, 1.25rem);
  }
  .nav-link {
    font-size: 0.875rem;
    padding: 0.3rem 0.45rem;
    max-width: 11rem;
  }
  .nav-menu .cta-button {
    font-size: 0.875rem;
    padding: 0.4rem 0.75rem;
    line-height: 1.25;
    text-align: center;
  }
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--text);
}

.nav-link[aria-current="page"] {
  background: var(--primary-solid-bg);
  color: var(--primary-dark);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 0.5rem;
}

.hamburger .bar {
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---- Hero: full-screen, image + video background, variable-weight headline, shimmer CTA ----
   Background stack (center column max cream-band-width; side gutters = body --primary-bright only):
   1) .hero-video-wrap → .hero-video-fallback: animated mesh (radial-gradients), decorative only
   2) .hero-photo-wrap: photo <picture>
   3) .hero-overlay: light wash over photo for legibility
   4) .testimonials-in-hero: solid cream strip (must match body::after --cream to avoid seams)
   Previously .hero-video-wrap, .hero-overlay, and testimonials used full viewport width, so mesh
   and cream washes tinted the blue rails; below the hero those rails are plain body — that read as a “seam”. */
.main-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-logo-max-height-mobile) + var(--navbar-padding-y) * 2 + 1.25rem) 1.5rem 0;
  overflow: hidden;
}

@media (min-width: 769px) {
  /* Grid: copy block vertically centered in upper band; testimonials row stays at bottom */
  .main-hero {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    align-items: stretch;
    justify-items: stretch;
    padding-top: calc(var(--nav-logo-max-height) + var(--navbar-padding-y) * 2 + 1.75rem);
    padding-bottom: 0;
  }

  .main-hero-content {
    grid-row: 1;
    grid-column: 1;
    align-self: center;
    width: 100%;
    flex: unset;
  }

  .testimonials-in-hero {
    grid-row: 2;
    grid-column: 1;
    margin-top: 0;
  }
}

.main-hero-content {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  margin-top: 0;
}

.hero-video-wrap {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--cream-band-width);
  z-index: 0;
}

/* Hero background photo: self-hosted responsive WebP (see index.html <picture>) */
.hero-photo-wrap {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--cream-band-width);
  z-index: 0;
  pointer-events: none;
}

.hero-photo-wrap picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-photo-wrap .hero-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Fallback: bright cream mesh (hero background when no video) */
.hero-video-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 50% 20%, rgba(46, 139, 94, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 80% 100% at 80% 60%, rgba(95, 99, 150, 0.16) 0%, transparent 50%),
    radial-gradient(ellipse 100% 60% at 20% 80%, rgba(201, 189, 58, 0.14) 0%, transparent 50%);
  animation: meshShift 14s ease-in-out infinite alternate-reverse;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--cream-band-width);
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(252, 247, 240, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 85% 75% at 50% 45%, rgba(252, 247, 240, 0.82) 0%, rgba(252, 247, 240, 0.4) 50%, transparent 75%);
  pointer-events: none;
}

.main-hero .main-hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: left;
}

.main-hero-text { max-width: 820px; margin: 0; }

.main-hero-subtitle {
  max-width: 780px;
  margin: 0.25rem auto 0.75rem;
  font-size: clamp(1rem, 2.1vw, 1.25rem);
  line-height: 1.55;
  color: var(--text);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.65);
}

/* Hero text fly-in from sides on load */
.hero-slide-in {
  opacity: 0;
  animation-duration: 0.9s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: forwards;
}

.main-hero-content .main-hero-title.hero-slide-in {
  animation-name: heroFlyInRight;
  animation-delay: 0.1s;
}
.main-hero-content .main-hero-buttons-wrapper.hero-slide-in {
  animation-name: heroFlyInRight;
  animation-delay: 0.25s;
}

.main-hero-content .main-hero-subtitle.hero-slide-in {
  animation-name: heroFlyInRight;
  animation-delay: 0.18s;
}

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

@keyframes heroFlyInRight {
  from {
    opacity: 0;
    transform: translateX(80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.tagline {
  font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15), 0 0 1px rgba(255, 255, 255, 0.8);
}

/* Hero headline: line 1 left, line 2 right; much larger on desktop */
.main-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5.2vw, 4.25rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  color: #0f0f0e;
  text-align: left;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.15),
    0 0 1px rgba(255, 255, 255, 0.9);
}

.main-hero-title .hero-line-1 {
  display: block;
  text-align: left;
}

.main-hero-title .hero-line-2 {
  display: block;
  text-align: left;
  margin-top: 0.34em;
  color: var(--primary-dark);
}

.main-hero-title .hero-line-3 {
  display: block;
  text-align: left;
  margin-top: 0.34em;
  color: var(--primary-dark);
}

.hero-highlight {
  background: transparent !important;
  box-shadow: none !important;
  color: #0f0f0e;
  text-shadow:
    0 0 8px rgba(46, 139, 87, 0.5),
    0 0 16px rgba(46, 139, 87, 0.4),
    0 0 26px rgba(46, 139, 87, 0.3);
}

.main-hero-title .hero-title-emphasis {
  display: inline-block;
  font-size: 1em;
  font-weight: 800;
  color: var(--primary-dark);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 1px rgba(255, 255, 255, 0.6);
}

.main-hero-title .weight-light { font-weight: 300; }
.main-hero-title .weight-normal { font-weight: 500; }
.main-hero-title .weight-bold { font-weight: 800; }

.main-hero-buttons-wrapper {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
  padding: 0.25rem 0;
  margin-bottom: clamp(1rem, 3vw, 2rem);
}

.main-hero-buttons-wrapper .cta-button {
  font-size: 0.9375rem;
  padding: 0.65rem 1.35rem;
}

/* ---- Buttons: scale on hover ---- */
.cta-button {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth), background var(--transition-smooth), color var(--transition-smooth);
  border: 2px solid var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(46, 139, 94, 0.35);
  position: relative;
  overflow: hidden;
}

.cta-button::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 6px;
  height: 6px;
  background: var(--accent-gold);
  border-radius: 0 6px 0 0;
  opacity: 0.9;
}

.cta-button:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 28px rgba(46, 139, 94, 0.4);
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  color: #fff;
}

.cta-button.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--accent-slate);
}

.cta-button.secondary:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary);
}

/* Shimmer animation for hero CTA */
.cta-shimmer {
  position: relative;
}

.cta-shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.cta-shimmer:hover::before {
  left: 100%;
}

.cta-hero {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

/* ---- Sections: transparent so body vibrant mesh shows through ---- */
.section {
  position: relative;
  padding: clamp(3rem, 6vw, 4.5rem) 1.5rem;
  overflow: hidden;
}

.section::before,
.section-alt::before {
  content: none;
}

.section-alt {
  background: var(--primary-solid-bg);
}

main > .section:first-of-type {
  padding-top: clamp(6.5rem, 12vw, 8rem);
}

/* Extra headroom for fixed navbar on non-landing pages (match tall logo bar) */
.inner-page main > .section:first-of-type {
  padding-top: calc(var(--nav-logo-max-height-mobile) + var(--navbar-padding-y) * 2 + 0.75rem);
}

@media (min-width: 769px) {
  .inner-page main > .section:first-of-type {
    padding-top: calc(var(--nav-logo-max-height) + var(--navbar-padding-y) * 2 + 1rem);
  }
}

/* Cream fill only within the content band — full-width would paint over the blue side margins */
.inner-page main {
  position: relative;
  z-index: 0;
  width: 100%;
  max-width: var(--cream-band-width);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  background: var(--cream);
}

/* Inner pages: last section used to include long blocks (e.g. team); without them, default section bottom padding leaves a huge gap before the footer */
.inner-page main > .section:last-of-type {
  padding-bottom: clamp(1.5rem, 2.5vw, 2.25rem);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.section-header .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.inner-page .section-header,
.contact-page .section-header {
  text-align: left;
  max-width: 860px;
}

.inner-page .section-header .section-title::after,
.contact-page .section-header .section-title::after {
  left: 0;
  transform: none;
}

/* Services spread headers: fly in from viewport edge on scroll (from the side where text is) */
.spread__text h3 {
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.spread--image-left .spread__text h3 {
  transform: translateX(50vw);
  opacity: 0;
}

.spread--image-right .spread__text h3 {
  transform: translateX(-50vw);
  opacity: 0;
}

.spread--image-left .spread__text h3.in-view,
.spread--image-right .spread__text h3.in-view {
  transform: translateX(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .spread__text h3 {
    transform: none;
    opacity: 1;
    transition: none;
  }
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

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

/* ---- What we do: magazine spreads within cream band, alternating image left/right, decorative numbers ---- */
.what-we-do {
  max-width: var(--cream-band-width);
  margin: 0 auto;
  overflow: hidden;
  /* Same fill as testimonials + body band so no paint change at hero → spreads handoff */
  background: var(--cream);
}

.spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 42.5vh;
  position: relative;
}

.spread--image-left {
  grid-template-areas: "media text";
}

.spread--image-right {
  grid-template-areas: "text media";
}

.spread--image-left .spread__media { grid-area: media; }
.spread--image-left .spread__text { grid-area: text; }
.spread--image-right .spread__media { grid-area: media; }
.spread--image-right .spread__text { grid-area: text; }

.spread__media {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 25vh;
}

.spread__media img {
  width: 100%;
  height: 100%;
  min-height: 42.5vh;
  object-fit: cover;
  display: block;
}

.spread__text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 5rem);
  max-width: 560px;
  margin: 0 auto;
}

.spread__text h3 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1rem;
}

.spread__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-bright);
}

.spread__text p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.spread__text ul {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.spread__text li {
  margin-bottom: 0.35rem;
}

.spread__text a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-smooth);
}

.spread__text a:hover {
  color: var(--primary-dark);
}

.spread__text a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-smooth);
}

.spread__text a:hover::after {
  width: 3em;
}

@media (max-width: 900px) {
  .spread {
    grid-template-columns: 1fr;
    grid-template-areas: "media" "text";
    min-height: auto;
  }

  .spread--image-left,
  .spread--image-right {
    grid-template-areas: "media" "text";
  }

  .spread__media { min-height: 22vh; }
  .spread__media img { min-height: 22vh; }

  .spread__text {
    padding: 2.5rem 1.5rem;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Testimonials: full-bleed marquee (always in motion) ---- */
.testimonials-marquee-section {
  width: 100%;
  max-width: var(--cream-band-width);
  margin: 0 auto;
  padding: 4rem 0;
  background: var(--cream-mid);
  overflow: hidden;
}

/* Temporarily hidden — remove this rule to show the landing-page testimonial marquee again */
.testimonials-marquee-section.testimonials-in-hero {
  display: none !important;
}

/* Testimonials inside hero: sits at bottom of .main-hero (flex space-between) as separator before #advisory-services */
.testimonials-in-hero {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 100%;
  max-width: var(--cream-band-width);
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
  padding: clamp(1rem, 2.5vw, 1.5rem) 0 clamp(1rem, 2.5vw, 1.35rem);
  background: var(--cream);
  border-top: 1px solid var(--cream-border);
  box-shadow: 0 1px 0 0 rgba(15, 42, 68, 0.06);
}

@media (max-width: 768px) {
  .testimonials-in-hero {
    width: calc(100% + 3rem);
    max-width: 100vw;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
  }
}

.testimonials-marquee {
  display: flex;
  width: max-content;
  animation: testimonialsScroll 45s linear infinite reverse;
}

.testimonials-marquee:hover {
  animation-play-state: paused;
}

.testimonials-track {
  display: flex;
  flex-shrink: 0;
  gap: 2rem;
  padding: 0 2rem;
}

.testimonial-tick {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  min-width: 320px;
  max-width: 380px;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.testimonial-tick__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.testimonial-tick__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-tick__stars {
  flex-shrink: 0;
  color: var(--accent-gold);
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
}

.testimonial-tick__quote {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--text-muted);
  flex: 1;
  min-width: 0;
}

.testimonial-tick__attribution {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--text-muted-alt);
  font-weight: 500;
}

@keyframes testimonialsScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .testimonials-marquee {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .testimonials-track:last-child {
    display: none;
  }
}

/* ---- Resources: flip cards in a grid, minimal padding ---- */
.resources-section {
  padding: 1rem 0 1.25rem;
}

.resources-section__container {
  max-width: var(--max-width);
}

.resources-section__header {
  margin-bottom: 1rem;
}

.resources-section__header .section-subtitle {
  margin: 0;
}

.resource-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.resource-card {
  cursor: pointer;
  perspective: 1000px;
  min-height: 300px;
  outline: none;
}

.resource-card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.resource-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
  transition: transform 0.5s ease;
  transform-style: preserve-3d;
}

.resource-card.flipped .resource-card__inner {
  transform: rotateY(180deg);
}

.resource-card__front,
.resource-card__back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 4px 20px rgba(46, 139, 94, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.resource-card__front::before,
.resource-card__back::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 24px;
}

.resource-card[data-type="checklist"] .resource-card__front::before,
.resource-card[data-type="checklist"] .resource-card__back::before {
  background: var(--primary);
}

.resource-card[data-type="assessment"] .resource-card__front::before,
.resource-card[data-type="assessment"] .resource-card__back::before {
  background: var(--accent-gold);
}

.resource-card[data-type="guide"] .resource-card__front::before,
.resource-card[data-type="guide"] .resource-card__back::before {
  background: var(--accent-slate);
}

.resource-card__back {
  transform: rotateY(180deg);
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  padding: 1.25rem;
  min-height: 100%;
  box-sizing: border-box;
}

.resource-card__back .resource-card__desc {
  flex: 0 1 auto;
  text-align: center;
  margin-top: auto;
}

.resource-card__back .resource-card__cta {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  margin-bottom: auto;
}

.resource-card__type {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.resource-card__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}

.resource-card__desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 1rem;
  flex: 1;
  min-height: 0;
}

.resource-card__cta {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  margin-top: auto;
  display: inline-block;
  transition: color var(--transition-smooth);
  cursor: pointer;
}

.resource-card__cta:hover {
  color: var(--primary-dark);
}

@media (prefers-reduced-motion: reduce) {
  .resource-card__inner {
    transition: none;
  }
}

.about-story {
  max-width: 860px;
  margin: 0 auto 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.about-page .about-story {
  border: 0;
  box-shadow: none;
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}

.about-story p {
  margin: 0 0 0.95rem;
  color: var(--text-muted);
}

.about-story p:first-child {
  font-weight: 700;
  color: var(--text);
}

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

/* Service details modal – multi-screen, Next service button */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.service-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.service-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 31, 29, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.service-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(31, 31, 29, 0.2);
  transform: scale(0.96);
  transition: transform 0.3s ease;
}

.service-modal.is-open .service-modal__dialog {
  transform: scale(1);
}

.service-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: color var(--transition-smooth), background var(--transition-smooth);
}

.service-modal__close:hover {
  color: var(--text);
  background: var(--cream-mid);
}

.service-modal__screens {
  overflow-y: auto;
  padding: 2rem 2rem 1.5rem;
}

.service-modal__screen {
  outline: none;
}

.service-modal__screen[hidden] {
  display: none;
}

.service-modal__title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 1rem;
}

.service-modal__screen p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.service-modal__screen ul {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.service-modal__screen li {
  margin-bottom: 0.25rem;
}

.service-modal__next {
  margin-top: 1rem;
}

/* CTA strip */
.cta-strip {
  background: var(--accent-slate-soft);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-smooth);
}

.cta-strip:hover {
  transform: translateY(-2px);
}

.cta-strip h2 { margin-bottom: 0.5rem; }
.cta-strip p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-strip .cta-button:hover {
  transform: scale(1.04);
}

/* Persistent Contact Us button – fixed on scroll, snaps to contact form */
.contact-us-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--surface);
  background: var(--accent-green);
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(46, 139, 87, 0.38);
  transition: background var(--transition-smooth), transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.contact-us-fab:hover {
  background: #246e45;
  color: var(--surface);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(36, 110, 69, 0.42);
}

.contact-page .contact-us-fab {
  display: none;
}

#contact {
  scroll-margin-top: 5rem;
}

/* Footer – same max width & fill as the cream page band; flex-shrink:0 + symmetric padding keeps band height consistent site-wide */
.footer {
  width: 100%;
  max-width: var(--cream-band-width);
  margin-left: auto;
  margin-right: auto;
  flex-shrink: 0;
  box-sizing: border-box;
  background: var(--cream);
  color: var(--text);
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--cream-border);
  margin-top: 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-bright) 45%, var(--accent-slate) 100%);
  pointer-events: none;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-text { order: 1; }
.footer-text p {
  margin: 0.25rem 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.footer-text a {
  color: var(--primary);
}
.footer-text a:hover { color: var(--primary-dark); }

.footer-middle {
  order: 2;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: var(--text-muted);
}

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

.copyright {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  order: 3;
}

/* Nav CTA button */
.nav-menu .cta-button {
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

/* Contact page — match .contact-grid width so intro text shares left edge with columns below */
.contact-page .section-header.contact-intro {
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.contact-intro {
  text-align: left;
  max-width: 900px;
  margin: 0 auto 2rem;
}
.contact-intro p { color: var(--text-muted); }
.contact-intro .contact-intro__follow {
  margin-top: 1rem;
}

.contact-form__intro {
  margin-bottom: 1.25rem;
}
.contact-form__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
}
.contact-form__lede {
  margin: 0 0 0.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.contact-form__book {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.contact-form__fieldset {
  border: none;
  padding: 0;
  margin: 0 0 1.25rem;
  min-width: 0;
}
.contact-form__category {
  padding: 0;
  margin: 0 0 0.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.35;
}

.contact-form__submit-note {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.contact-form__status {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.45;
}

.contact-form__status.is-error {
  background: rgba(160, 45, 45, 0.1);
  color: #7a1f1f;
  border: 1px solid rgba(160, 45, 45, 0.25);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.contact-info h3 { margin-bottom: 0.5rem; }
.contact-info p {
  color: var(--text-muted);
  margin: 0 0 1rem;
  font-size: 1rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.12rem;
  color: var(--text);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

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

.contact-field-note {
  margin: -0.5rem 0 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Page hero (services/contact) – mesh, no flat */
.page-hero {
  padding: clamp(5rem, 10vw, 6rem) 1.5rem clamp(3rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(46, 139, 94, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 20% 60%, rgba(201, 189, 58, 0.12) 0%, transparent 50%);
  animation: meshShift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

.page-hero .main-hero-title { margin-bottom: 0.5rem; }
.page-hero .main-hero-subtitle { margin-bottom: 0; }

/* FutureSpeak page */
.futurespeak-page {
  padding-top: clamp(6rem, 12vw, 8rem);
}

.futurespeak-seer,
.how-we-work-lead {
  margin: 0 auto 1.5rem;
  max-width: 860px;
}

.how-we-work-page .futurespeak-block .how-we-work-lead {
  margin-top: clamp(1rem, 2.5vw, 1.5rem);
}

.futurespeak-seer picture,
.futurespeak-seer img,
.how-we-work-lead picture,
.how-we-work-lead img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.futurespeak-block {
  --fs-block-pad: clamp(1.1rem, 2.6vw, 1.8rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: var(--fs-block-pad);
  margin: 0 auto 1rem;
  max-width: 860px;
}

.futurespeak-block h2,
.futurespeak-block h3 {
  margin-bottom: 0.55rem;
}

.futurespeak-block p {
  margin: 0 0 0.7rem;
  color: var(--text-muted);
}

.futurespeak-block ul {
  margin: 0 0 0.7rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.futurespeak-block li {
  margin-bottom: 0.3rem;
}

/* How We Work page: borderless sections + image placeholders */
.how-we-work-page .futurespeak-block {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}

.futurespeak-page--plain .futurespeak-block {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 0.35rem;
}

/* Second heading inside one plain block (e.g. Outcomes): match rhythm of two stacked .futurespeak-block sections */
.futurespeak-page--plain .futurespeak-block ul:has(+ h2) {
  margin-bottom: 0;
}

.futurespeak-page--plain .futurespeak-block ul + h2 {
  margin-top: calc(2 * var(--fs-block-pad) + 0.35rem);
}

.section-image-placeholder {
  width: 100%;
  min-height: 180px;
  margin: 0 0 0.9rem;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.45);
  color: var(--text-muted-alt);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
}

/* FAQ accordion */
.faq-section {
  padding-top: clamp(2.5rem, 6vw, 4rem);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-question {
  margin: 0;
}

.faq-toggle {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 1rem 1.1rem;
  font: inherit;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}

.faq-toggle::after {
  content: "+";
  float: right;
  font-weight: 600;
}

.faq-toggle[aria-expanded="true"]::after {
  content: "−";
}

.faq-answer {
  padding: 0 1.1rem 1rem;
  color: var(--text-muted);
}

.faq-answer p {
  margin: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: max(
      4.5rem,
      calc(var(--nav-logo-max-height-mobile) + var(--navbar-padding-y) * 2 + 0.35rem)
    );
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    width: 100%;
    padding: 1.5rem;
    gap: 0.5rem;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(44, 44, 42, 0.1);
    border-bottom: 1px solid var(--cream-border);
  }
  .nav-menu.active { left: 0; }
  .nav-menu > li {
    display: block;
    width: 100%;
  }
  .nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    min-height: 44px;
    max-width: none;
    text-align: left;
  }
  .nav-menu .cta-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
  }
  .hamburger { display: flex; }
  .navbar .nav-container .nav-logo a.nav-logo__brand img.nav-logo__img {
    width: min(260px, 80vw);
    max-height: var(--nav-logo-max-height-mobile);
  }
  .main-hero-buttons-wrapper { flex-direction: column; align-items: center; }
  .main-hero .main-hero-content,
  .main-hero-title,
  .main-hero-title .hero-line-1,
  .main-hero-title .hero-line-2,
  .main-hero-buttons-wrapper {
    text-align: left;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .contact-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   2026-11 FLYER REDESIGN
   Overrides earlier rules (same specificity, later in the file wins).
   Fonts: Libre Baskerville (headlines), DM Sans (body), Dancing Script (ribbon).
   ===================================================================== */
:root {
  --navy: #0f2a5a;
  --navy-deep: #0b2148;
  --navy-soft: #1d3f7a;
  --red: #c8202f;
  --red-dark: #a51825;
  --green: #3c7d3a;
  --green-dark: #2f6530;
  --tint-blue: #e3ebf7;
  --tint-green: #e3f0e1;
  --tint-red: #fbe3e5;
  --page: #f3f6fb;
  --ink: #12244a;
  --ink-muted: #3d4d69;
  --line: #d7dfeb;

  --primary: var(--navy);
  --primary-dark: var(--navy-deep);
  --primary-bright: var(--navy-soft);
  --primary-solid-bg: var(--tint-blue);
  --accent-gold: var(--red);
  --accent-green: var(--green);
  --text: var(--ink);
  --text-muted: var(--ink-muted);
  --cream: var(--page);
  --cream-mid: var(--page);
  --cream-border: var(--line);
  --border: var(--line);
  --bg: var(--page);
  --font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-script: "Dancing Script", "Brush Script MT", cursive;
  --font-head: var(--font-display);
  --max-width: 1240px;
  --nav-h: calc(var(--nav-logo-max-height) + var(--navbar-padding-y) * 2 + 2px);
}

body { background: var(--page); color: var(--ink); }
body::after { content: none; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); font-weight: 700; letter-spacing: -0.01em; }

/* ---- Nav ---- */
.navbar { background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); box-shadow: 0 2px 0 0 var(--navy); }
.navbar.scrolled { box-shadow: 0 6px 24px rgba(15, 42, 90, 0.10), 0 2px 0 0 var(--navy); }
.nav-link { color: var(--ink); font-weight: 600; }
.nav-link[aria-current="page"] { background: var(--tint-blue); color: var(--navy); }

/* ---- Buttons ---- */
.cta-button { background: var(--navy); border-color: var(--navy); border-radius: 999px; box-shadow: 0 6px 18px rgba(15, 42, 90, 0.22); }
.cta-button::after { content: none; }
.cta-button:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(200, 32, 47, 0.28); }
.cta-button.secondary { background: transparent; color: var(--navy); border-color: var(--navy); box-shadow: none; }
.cta-button.secondary:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---- Shared pieces ---- */
.fl-wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.fl-rule { display: block; width: 64px; height: 4px; border-radius: 2px; background: var(--red); margin: 1.1rem 0 1.25rem; }
.fl-rule--short { width: 56px; height: 3px; margin: 0.9rem 0; }
.fl-dash { display: inline-block; width: 64px; height: 3px; border-radius: 2px; background: var(--green); flex-shrink: 0; }
.fl-tags { margin: 0; font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-muted); }
.fl-tags span { margin: 0 0.5em; opacity: 0.7; }
.fl-tags--light { color: #fff; }
.fl-heading { font-size: clamp(1.6rem, 3vw, 2.25rem); margin: 0; }
.fl-heading--light { color: #fff; }

.fl-badge { display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 50%; }
.fl-badge .icon { width: 42px; height: 42px; }
.fl-badge--blue { background: var(--tint-blue); color: var(--navy-soft); }
.fl-badge--green { background: var(--tint-green); color: var(--green); }
.fl-badge--red { background: var(--tint-red); color: var(--red); }

.fl-disc { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; color: #fff; }
.fl-disc .icon { width: 32px; height: 32px; stroke-width: 1.9; }
.fl-disc--red { background: var(--red); }
.fl-disc--blue { background: var(--navy-soft); }
.fl-disc--green { background: var(--green); }

/* ---- Hero ---- */
.fl-hero { padding-top: var(--nav-h); background: linear-gradient(180deg, #fff 0%, var(--page) 100%); }
.fl-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: stretch;
  padding: clamp(2rem, 4vw, 3.5rem) 1.5rem 0;
}
.fl-hero__title { font-size: clamp(2.4rem, 5.2vw, 4.1rem); line-height: 1.04; letter-spacing: -0.02em; margin: 0; color: var(--navy-deep); }
.fl-hero__title em { display: block; font-style: italic; color: var(--navy-soft); }
.fl-hero__tag { margin: 0 0 1.1rem; font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.4; }
.fl-hero__tag span { display: block; }
.fl-hero__tag-1 { color: var(--navy); }
.fl-hero__tag-2 { color: var(--green); }
.fl-hero__intro { margin: 0 0 1.75rem; max-width: 36rem; font-size: 1.0625rem; color: var(--ink-muted); }
.fl-hero__buttons { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.fl-hero__media { position: relative; display: flex; flex-direction: column; min-height: 100%; }
.fl-hero__panel {
  position: relative;
  z-index: 1;
  background: var(--navy);
  color: #fff;
  padding: 1.5rem 1.75rem 1.4rem clamp(3.5rem, 7vw, 5rem);
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
}
.fl-hero__panel::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 13%;
  background: var(--navy-soft);
  clip-path: polygon(70% 0, 100% 0, 30% 100%, 0 100%);
}
.fl-hero__panel-title { margin: 0; font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 700; line-height: 1.2; color: #fff; }
.fl-hero__photo { display: block; flex: 1 1 auto; min-height: 320px; position: relative; }
.fl-hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.fl-hero__ribbon {
  position: absolute;
  right: -0.5rem;
  bottom: 1.75rem;
  z-index: 2;
  max-width: 96%;
  margin: 0;
  padding: 0.6rem 1.6rem 0.75rem 2rem;
  background: var(--red);
  color: #fff;
  font-family: var(--font-script);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.15;
  transform: rotate(-6deg);
  clip-path: polygon(4% 0, 100% 0, 100% 100%, 0 100%, 3% 50%);
  box-shadow: 0 10px 24px rgba(165, 24, 37, 0.3);
}

.fl-pillars {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(1.75rem, 3vw, 2.5rem) 1.5rem clamp(2.25rem, 4vw, 3rem);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.fl-pillar { text-align: center; padding: 0 1rem; }
.fl-pillar + .fl-pillar { border-left: 1px solid var(--line); }
.fl-pillar .fl-badge { width: 76px; height: 76px; margin-bottom: 0.6rem; }
.fl-pillar__title { margin: 0 0 0.2rem; font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); }
.fl-pillar p { margin: 0; font-size: 0.975rem; line-height: 1.45; color: var(--ink-muted); }

/* ---- How we support ---- */
.fl-support { padding: clamp(3rem, 6vw, 4.5rem) 0; scroll-margin-top: var(--nav-h); }
.fl-support .fl-wrap { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.75rem, 3vw, 2.75rem); box-shadow: 0 14px 40px rgba(15, 42, 90, 0.07); }
.fl-support__head { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-bottom: 2rem; }
.fl-support__label { margin-left: auto; text-align: right; line-height: 1.8; }
.fl-support__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.fl-card { text-align: center; padding: 0.5rem 0.9rem 0.75rem; }
.fl-card + .fl-card { border-left: 1px solid var(--line); }
.fl-card .fl-badge { margin-bottom: 0.9rem; transition: transform var(--transition-smooth); }
.fl-card:hover .fl-badge { transform: translateY(-4px); }
.fl-card__title { margin: 0 0 0.6rem; font-family: var(--font-body); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.04em; line-height: 1.35; text-transform: uppercase; color: var(--navy); }
.fl-card p { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-muted); }

/* ---- Why us band ---- */
.fl-why { background: var(--navy); color: #fff; padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.fl-why__head { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 2rem; }
.fl-why__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fl-why__item { display: flex; gap: 1rem; align-items: flex-start; padding: 0 1.25rem; }
.fl-why__item:first-child { padding-left: 0; }
.fl-why__item + .fl-why__item { border-left: 1px solid rgba(255, 255, 255, 0.25); }
.fl-why__title { margin: 0.2rem 0 0.5rem; font-family: var(--font-body); font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.03em; line-height: 1.35; text-transform: uppercase; color: #fff; }
.fl-why__item p { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: rgba(255, 255, 255, 0.85); }

/* ---- Closing CTA ---- */
.fl-close { background: #fff; padding: clamp(2.5rem, 5vw, 3.5rem) 0; border-bottom: 1px solid var(--line); }
.fl-close__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.fl-close__journey { display: flex; gap: 1.25rem; align-items: flex-start; padding-right: 2.5rem; border-right: 1px solid var(--line); }
.fl-close__leaf { color: var(--green); flex-shrink: 0; }
.fl-close__leaf .icon { width: 72px; height: 72px; stroke-width: 1.4; }
.fl-close__title { margin: 0 0 0.6rem; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; }
.fl-close__journey p { margin: 0; color: var(--ink-muted); }
.fl-pill {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 0.6rem 0.6rem 1.5rem;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(60, 125, 58, 0.28);
  transition: background var(--transition-smooth), transform var(--transition-smooth);
}
.fl-pill:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); }
.fl-pill__arrow { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--green); }
.fl-pill__arrow .icon { width: 20px; height: 20px; stroke-width: 2.2; }
.fl-close__lede { margin: 1rem 0 1rem; color: var(--ink-muted); max-width: 30rem; }
.fl-contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.fl-contact-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 1.0625rem; font-weight: 600; }
.fl-contact-list .icon { width: 22px; height: 22px; color: var(--navy); flex-shrink: 0; }
.fl-contact-list a { color: var(--ink); }
.fl-contact-list a:hover { color: var(--red); }

/* ---- FAQ ---- */
.home-page .faq-section { background: var(--page); }
.faq-item { border-color: var(--line); }
.faq-toggle { font-family: var(--font-body); color: var(--navy); }

/* ---- Section titles (FAQ + inner pages) ---- */
.section-title { font-family: var(--font-display); color: var(--navy-deep); }
.section-title::after { background: var(--red); width: 64px; }

/* ---- Inner pages: full width, white content card ---- */
.inner-page main { max-width: none; background: var(--page); }
.inner-page main > .section:first-of-type > .container {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 14px 40px rgba(15, 42, 90, 0.07);
}
.inner-page main > .section:first-of-type .section-title { font-size: clamp(2rem, 4vw, 2.75rem); }
.futurespeak-block h2, .about-story h2, .how-we-work-page h2 { color: var(--navy); }

/* ---- Footer: full-width navy ---- */
.footer { max-width: none; background: var(--navy-deep); color: rgba(255, 255, 255, 0.85); border-top: 0; padding: 2.5rem 1.5rem 2rem; }
.footer::before { height: 4px; background: linear-gradient(90deg, var(--red) 0 33%, var(--navy-soft) 33% 66%, var(--green) 66% 100%); }
.footer-text p, .copyright { color: rgba(255, 255, 255, 0.78); }
.footer-text .footer-brand { font-family: var(--font-display); font-size: 1.15rem; color: #fff; }
.footer-text .footer-tags { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.footer-text a { color: #fff; }
.footer-text a:hover { color: #ffd2d6; }
.footer-sep { margin: 0 0.5rem; }
.footer-link { color: rgba(255, 255, 255, 0.85); }
.footer-link:hover { color: #fff; }
.contact-us-fab { background: var(--red); font-family: var(--font-body); border-radius: 999px; box-shadow: 0 6px 20px rgba(200, 32, 47, 0.35); }
.contact-us-fab:hover { background: var(--red-dark); }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .fl-support__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2rem; }
  .fl-card:nth-child(4) { border-left: 0; }
  .fl-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .fl-why__item:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 900px) {
  .fl-hero__inner { grid-template-columns: 1fr; }
  .fl-hero__photo { min-height: 0; aspect-ratio: 1104 / 720; }
  .fl-close__inner { grid-template-columns: 1fr; }
  .fl-close__journey { border-right: 0; padding-right: 0; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
  .fl-support__label { margin-left: 0; text-align: left; max-width: none; }
}
@media (max-width: 768px) {
  .fl-hero { padding-top: calc(var(--nav-logo-max-height-mobile) + var(--navbar-padding-y) * 2 + 2px); }
  .fl-hero__panel { padding-left: 2.5rem; }
  .fl-hero__ribbon { right: 0.25rem; bottom: 0.5rem; max-width: 92%; font-size: 1.05rem; padding: 0.35rem 1rem 0.45rem 1.4rem; }
  .fl-hero__panel .fl-tags { letter-spacing: 0.14em; font-size: 0.75rem; }
  .fl-pillars { grid-template-columns: 1fr; row-gap: 1.75rem; }
  .fl-pillar + .fl-pillar { border-left: 0; border-top: 1px solid var(--line); padding-top: 1.75rem; }
  .fl-support .fl-wrap { border-radius: 0; border-left: 0; border-right: 0; }
  .fl-support__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fl-card:nth-child(odd) { border-left: 0; }
  .fl-card:nth-child(4) { border-left: 1px solid var(--line); }
  .fl-why__grid { grid-template-columns: 1fr; }
  .fl-why__item, .fl-why__item:first-child { padding: 0; }
  .fl-why__item + .fl-why__item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.25); padding-top: 1.5rem; }
  .fl-hero__buttons .cta-button { flex: 1 1 100%; text-align: center; }
}
@media (max-width: 480px) {
  .fl-support__grid { grid-template-columns: 1fr; }
  .fl-card, .fl-card:nth-child(4) { border-left: 0; }
  .fl-card + .fl-card { border-top: 1px solid var(--line); padding-top: 1.5rem; }
  .fl-close__journey { flex-direction: column; gap: 0.5rem; }
  .fl-close__leaf .icon { width: 52px; height: 52px; }
  .fl-pill { gap: 0.6rem; padding-left: 1.1rem; }
}

/* ============================================================
   2026-11-14 BROCHURE HEADER
   Big tagline logo left, angled navy panel right (like the flyer's top),
   then a menu bar that sticks to the top as you scroll. The menu shows a
   small logo only once the big header has scrolled away (js/main.js).
   ============================================================ */
.brand-header { background: #fff; border-bottom: 1px solid var(--line); }
.brand-header__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: 150px;
}
.brand-header__logo {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  padding: 1.1rem 1.5rem 1.1rem max(1.5rem, calc((100vw - var(--max-width)) / 2 + 1.5rem));
}
.brand-header__logo img { display: block; width: clamp(290px, 36vw, 470px); height: auto; }
.brand-header__panel {
  position: relative;
  flex: 0 0 clamp(360px, 40%, 560px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  padding: 1.25rem max(1.5rem, calc((100vw - var(--max-width)) / 2 + 1.5rem)) 1.25rem clamp(4rem, 7vw, 6rem);
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}
.brand-header__panel::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 18%;
  background: var(--navy-soft);
  clip-path: polygon(78% 0, 100% 0, 22% 100%, 0 100%);
}
.brand-header__panel-title {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
.brand-header__panel .fl-rule,
.brand-header__panel .fl-tags { position: relative; }

/* Menu bar: sticky instead of fixed, so the brochure header scrolls with the page. */
.navbar { position: sticky; top: 0; left: auto; right: auto; padding-top: 0.35rem; padding-bottom: 0.35rem; }
.nav-container { min-height: 3.25rem; }
.nav-menu { margin-left: auto; }
.navbar .nav-logo { display: none; }
.navbar.is-stuck .nav-logo { display: flex; }
.navbar .nav-container .nav-logo a.nav-logo__brand img.nav-logo__img { max-height: 2.6rem; width: auto; }

/* Nothing sits under a fixed bar any more. */
.fl-hero { padding-top: 0; }
.inner-page main > .section:first-of-type { padding-top: clamp(2rem, 4vw, 3rem); }

@media (max-width: 900px) {
  .brand-header__inner { flex-direction: column; min-height: 0; }
  .brand-header__logo { justify-content: center; padding: 1rem 1.25rem; }
  .brand-header__logo img { width: min(360px, 86vw); }
  .brand-header__panel { flex: none; clip-path: none; padding: 0.9rem 1.25rem; text-align: center; align-items: center; }
  .brand-header__panel::before { content: none; }
  .brand-header__panel .fl-rule--short { margin: 0.55rem auto; }
  .brand-header__panel .fl-tags { letter-spacing: 0.14em; font-size: 0.75rem; }
}

@media (max-width: 768px) {
  .fl-hero { padding-top: 0; }
  .navbar .nav-container { min-height: 3rem; }
  .navbar .hamburger { margin-left: auto; }
  .navbar .nav-container .nav-logo a.nav-logo__brand img.nav-logo__img { width: auto; max-height: 2.4rem; }
  /* Menu drops down from the bar wherever the bar is on screen. */
  .navbar .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    display: none;
  }
  .navbar .nav-menu.active { display: flex; }
}
