/* ==========================================================
   STYLE.CSS — BUZZ Agency Homepage
   Reset · Spacing · Grid · Layout · Navigation ·
   Section Tracker · Reveal Animations · Buttons
   ========================================================== */


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

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

ul,
ol {
  list-style: none;
}


/* ==========================================================
   SKIP NAVIGATION (Accessibility)
   ========================================================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--container-padding, 20px);
  z-index: 10000;
  padding: 12px 24px;
  background: var(--pink-deep);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  text-decoration: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--pink-mid);
  outline-offset: 2px;
}


/* ==========================================================
   SPACING TOKENS
   ========================================================== */
:root {
  --space-2xs:  4px;
  --space-xs:   8px;
  --space-sm:   12px;
  --space-md:   16px;
  --space-lg:   24px;
  --space-xl:   32px;
  --space-2xl:  48px;
  --space-3xl:  64px;
  --space-4xl:  96px;
  --space-5xl:  128px;

  /* Section vertical rhythm */
  --section-padding: clamp(80px, 12vw, 160px);

  /* Container */
  --container-max:     1320px;
  --container-padding: clamp(20px, 5vw, 60px);

  /* Nav */
  --nav-height: 80px;

  /* Z-index layers */
  --z-base:         1;
  --z-elevated:     10;
  --z-floating:     100;
  --z-overlay:      500;
  --z-nav:          9998;
  --z-menu:         9997;
  --z-loader:       9999;
  --z-tracker:      9990;
  --z-family-bar:   9995;

  /* Border radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;
}


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

.container--narrow {
  max-width: 960px;
}

.container--wide {
  max-width: 1600px;
}

/* Responsive grid utility */
.grid {
  display: grid;
  gap: var(--space-lg);
}

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

@media (max-width: 1200px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--6 { grid-template-columns: repeat(3, 1fr); }
}

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


/* ==========================================================
   SECTION BASE
   ========================================================== */
.section {
  position: relative;
  padding-block: var(--section-padding);
  overflow: hidden;
}

.section--light {
  background: var(--surface-base);
  color: var(--text-primary);
}

.section--elevated {
  background: var(--surface-elevated);
}

.section--blush {
  background: var(--surface-floating);
}

.section--dark {
  background: var(--surface-dark);
  color: var(--text-on-dark);
}

.section-eyebrow {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--pink-deep);
  margin-bottom: var(--space-lg);
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-xl);
}

.section-subtitle {
  font-size: var(--text-lg);
  font-weight: var(--weight-regular);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 640px;
}

/* Accent text */
.accent {
  color: #b6347f;
}

.accent--blush {
  color: #b6347f;
}


/* ==========================================================
   LOADER
   ========================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 36px;
}

/* Subtle centered glow behind logo */
.loader::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 211, 214, 0.35) 0%, transparent 65%);
  pointer-events: none;
}

/* Exit: cinematic wipe upward */
.loader.loader-exit {
  animation: loaderWipeOut 0.7s 0.1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes loaderWipeOut {
  0%   { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 100% 0); }
}

/* ── Logo entrance: blur-to-focus + rise ── */
.loader-logo {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  filter: blur(8px);
  animation: loaderLogoIn 1s 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.loader-logo img {
  height: clamp(44px, 6vw, 72px);
  width: auto;
}

@keyframes loaderLogoIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

/* ── Progress bar: determinate fill ── */
.loader-progress {
  position: relative;
  z-index: 1;
  width: 140px;
  height: 1.5px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  animation: loaderFadeIn 0.5s 0.6s ease forwards;
}

.loader-progress__fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--gradient-brand);
  border-radius: 2px;
  transition: width 0.15s ease-out;
}

/* Glow at the leading edge of the fill */
.loader-progress__fill::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--pink-mid);
  filter: blur(6px);
  opacity: 0.6;
}

@keyframes loaderFadeIn {
  to { opacity: 1; }
}

/* Legacy fallback class name */
.loader-line {
  display: none;
}


/* ==========================================================
   HERO CINEMATIC — Layered parallax scroll
   ========================================================== */
.hero-cinematic {
  position: relative;
  height: 400vh;
  width: 100%;
}

.hero-cinematic__sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--surface-dark);
}

/* ── Image Layers ── */
.hero-layer {
  position: absolute;
  inset: 0;
  will-change: transform, opacity, filter;
}

.hero-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-layer--sky {
  z-index: 1;
  bottom: auto;
  height: 40%;
  overflow: hidden;
}

/* Seamless tiling sky — image repeated side-by-side for gapless loop */
.hero-layer--sky img {
  display: none; /* Hide the img, use background instead for seamless repeat */
}

.hero-layer--sky {
  background: url('../images/image_assets/sky-scene-update.jpg') repeat-x top center;
  background-size: auto 100%;
  animation: skyClouds 60s linear infinite;
}

@keyframes skyClouds {
  0%   { background-position: 0 0; }
  100% { background-position: -2000px 0; }
}

.hero-layer--beach {
  z-index: 2;
  top: auto;
  height: 60%;
}

.hero-layer--beach img {
  object-position: 50% 0%;
}

.hero-layer--office {
  z-index: 4;
}

/* ── Gradient overlay for text legibility ── */
.hero-cinematic__overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
  opacity: 0;
  pointer-events: none;
}

/* ── Hero text content ── */
.hero-cinematic__content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--container-padding);
  opacity: 0;
  will-change: opacity, filter;
}

/* ── Dynamic editorial grid layout ── */
.hero-text-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: clamp(32px, 5vw, 72px);
  max-width: 1100px;
  width: 100%;
  align-items: start;
}

/* Left column — BUZZ + (noun) */
.hero-text-left {
  grid-column: 1;
  grid-row: 1;
  opacity: 0;
  transform: translateY(30px);
}

.hero-title__word {
  font-size: clamp(90px, 18vw, 240px);
  font-weight: var(--weight-black);
  letter-spacing: -0.04em;
  line-height: 0.82;
  color: var(--white);
  margin: 0;
}

.hero-title__noun {
  display: block;
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: var(--weight-regular);
  font-style: italic;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  letter-spacing: var(--tracking-wide);
  margin-top: var(--space-md);
}

/* Right column — Definition */
.hero-text-right {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  opacity: 0;
  transform: translateY(20px);
}

.hero-title__def {
  font-size: clamp(22px, 3vw, 42px);
  font-weight: var(--weight-regular);
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.45;
  max-width: 580px;
}

.hero-title__new {
  color: var(--pink-light);
  font-style: italic;
  font-weight: var(--weight-bold);
}

/* Tagline row — inside right column */
.hero-subtitle-row {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.hero-subtitle__line {
  display: block;
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: var(--weight-regular);
  font-style: italic;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  letter-spacing: var(--tracking-wide);
}

/* CTA inside right column */
.hero-text-right .hero-cta {
  margin-top: var(--space-2xl);
}

/* ── Scroll hint ── */
.hero-scroll-hint {
  position: absolute;
  bottom: 52px; /* sits just above family bar */
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  opacity: 0;
}

.hero-scroll-hint span {
  font-size: 0.875rem;
  font-weight: var(--weight-bold);
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-scroll-hint__line {
  width: 2px;
  height: 10vh;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.hero-scroll-hint__line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--pink-light));
  animation: scrollHintDrop 1.8s ease-in-out infinite;
}

@keyframes scrollHintDrop {
  0%   { top: -100%; opacity: 0; }
  30%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ── Mobile hero adjustments ── */
@media (max-width: 768px) {
  .hero-cinematic {
    height: 300vh;
  }

  .hero-text-layout {
    grid-template-columns: 1fr;
    row-gap: var(--space-lg);
  }

  .hero-text-left {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-text-right {
    grid-column: 1;
    grid-row: 2;
  }

  .hero-title__def {
    font-size: clamp(16px, 4.5vw, 22px);
  }

  .hero-text-right .hero-cta {
    width: 100%;
    text-align: center;
  }

  .hero-scroll-hint {
    bottom: clamp(60px, 8vh, 90px);
  }
}


/* ==========================================================
   NAVIGATION
   ========================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: var(--nav-height);
  padding-inline: var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s ease,
              backdrop-filter 0.4s ease;
  /* Start hidden — loader reveals it */
  transform: translateY(-100%);
  opacity: 0;
  filter: blur(10px);
}

.nav.nav-entered {
  transform: translateY(0);
  opacity: 1;
  filter: blur(0px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.8s ease,
              filter 0.8s ease;
}

/* Scrolled state — white frosted glass (light site) */
.nav.nav-scrolled {
  background: var(--surface-nav-scrolled);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-default),
              0 4px 24px rgba(114, 30, 75, 0.06);
}

/* Subpages have light heroes — lock nav in frosted/dark state always */
body.subpage .nav {
  background: var(--surface-nav-scrolled);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-default),
              0 4px 24px rgba(114, 30, 75, 0.06);
}

body.subpage .nav .nav-hamburger .bar {
  background: var(--black);
}

/* Hide nav when scrolling down aggressively */
.nav.nav-hidden {
  transform: translateY(-100%);
}

/* When menu is open, nav stays fully visible */
.nav.menu-open {
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

/* ── Logo ── */
.nav-logo {
  display: flex;
  align-items: center;
  z-index: 10;
}

.nav-logo img {
  height: clamp(42px, 4.8vw, 58px);
  width: auto;
  transition: opacity 0.4s ease;
}

/* Default: show white/pink logo, hide full-color */
.nav-logo__dark {
  display: none;
}

/* On scroll (light frosted bg), swap to full-color logo */
.nav.nav-scrolled .nav-logo__light {
  display: none;
}
.nav.nav-scrolled .nav-logo__dark {
  display: block;
}

/* Subpages: light hero behind the nav from the start — always use the
   full-color logo (menu-open rules below still win via !important) */
body.subpage .nav .nav-logo__light {
  display: none;
}
body.subpage .nav .nav-logo__dark {
  display: block;
}

/* When menu is open, show white/pink logo over dark overlay */
.nav.menu-open .nav-logo__light {
  display: block !important;
}
.nav.menu-open .nav-logo__dark {
  display: none !important;
}

/* ── Nav Right (phone · social · contact · hamburger) ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 24px);
  z-index: 10;
}

/* Phone number */
.nav-phone {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  color: var(--white);
  white-space: nowrap;
  transition: color 0.3s ease, opacity 0.25s ease;
}
.nav-phone:hover { opacity: 0.7; }
.nav-phone:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 3px; }

/* Social icons */
.nav-social {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-social__link {
  display: inline-flex;
  color: var(--white);
  transition: color 0.3s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-social__link svg { width: 20px; height: 20px; display: block; }
.nav-social__link:hover { transform: translateY(-2px); }
.nav-social__link:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }

/* Contact button — solid brand pink, reads on both the hero and light pages */
.nav-contact {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  border-radius: 999px;
  background: var(--pink-deep);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}
.nav-contact:hover { transform: translateY(-1px); background: var(--pink-mid); }
.nav-contact:focus-visible { outline: 2px solid var(--pink-deep); outline-offset: 2px; }

/* Dark state (scrolled homepage + all subpages): white text/icons -> brand pink */
.nav.nav-scrolled .nav-phone,
.nav.nav-scrolled .nav-social__link,
body.subpage .nav .nav-phone,
body.subpage .nav .nav-social__link {
  color: var(--pink-deep);
}

/* When the mega-menu is open, keep only logo + hamburger (menu has its own links) */
.nav.menu-open .nav-phone,
.nav.menu-open .nav-social,
.nav.menu-open .nav-contact {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .nav-phone { display: none; }
}
@media (max-width: 600px) {
  .nav-contact { display: none; }
}

/* ── Hamburger — Asymmetric stacked bars ── */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  width: 44px;
  height: 44px;
  gap: 7px;
  cursor: pointer;
  z-index: 10;
  padding: 0;
  background: none;
  border: none;
}

.nav-hamburger .bar {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease,
              background 0.3s ease;
  transform-origin: center;
}

/* Over light sections the bars should be dark */
.nav.nav-scrolled .nav-hamburger .bar {
  background: var(--black);
}

.nav-hamburger .bar--short { width: 18px; }
.nav-hamburger .bar--long  { width: 28px; }

.nav-hamburger:hover {
  transform: scale(1.06);
}

.nav-hamburger:hover .bar--short {
  width: 28px;
}

.nav-hamburger.active .bar--short {
  width: 28px;
  transform: translateY(4.5px) rotate(45deg);
  background: var(--white) !important;
}

.nav-hamburger.active .bar--long {
  transform: translateY(-4.5px) rotate(-45deg);
  background: var(--white) !important;
}

.nav-hamburger:focus-visible {
  outline: 2px solid var(--pink-deep);
  outline-offset: 3px;
}


/* ==========================================================
   MEGA MENU OVERLAY
   ========================================================== */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: #2a0e2e;
  display: flex;
  flex-direction: column;
  /* Closed state — clipped from top; visibility removes it from the tab order / AT tree */
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.65s cubic-bezier(0.77, 0, 0.175, 1),
              visibility 0s 0.65s;
  pointer-events: none;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.menu-overlay.open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition-delay: 0s;
  pointer-events: auto;
}

/* Subtle grain texture overlay for depth */
.menu-overlay::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* Ambient gradient wash — large layered pink/purple glows across the whole overlay */
.menu-overlay::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 80% at 85% 95%, rgba(154, 49, 107, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse 70% 70% at 5% 10%, rgba(114, 30, 75, 0.6) 0%, transparent 65%),
    radial-gradient(ellipse 60% 55% at 70% 20%, rgba(103, 46, 138, 0.35) 0%, transparent 70%),
    radial-gradient(ellipse 50% 45% at 25% 80%, rgba(242, 211, 214, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 1s ease 0.25s;
}

.menu-overlay.open::after {
  opacity: 1;
}

/* Accent gradient line at top of menu — animated shimmer */
.menu-overlay__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--pink-deep) 0%,
    var(--pink-mid) 25%,
    var(--pink-light) 50%,
    var(--pink-mid) 75%,
    var(--pink-deep) 100%
  );
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.4s ease 0.3s;
  z-index: 2;
}

.menu-overlay.open .menu-overlay__accent {
  opacity: 1;
  animation: accentShimmer 4s ease-in-out infinite;
}

@keyframes accentShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Inner layout — two columns with decorative divider */
.menu-overlay__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-4xl);
  flex: 1;
  align-items: center;
  padding: calc(var(--nav-height) + var(--space-xl)) var(--container-padding) var(--space-3xl);
  max-width: var(--container-max);
  margin-inline: auto;
  width: 100%;
}

/* Vertical divider between columns */
.menu-overlay__inner::before {
  content: '';
  position: absolute;
  left: 58%;
  top: calc(var(--nav-height) + var(--space-3xl));
  bottom: var(--space-3xl);
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(242, 211, 214, 0.12) 20%,
    rgba(242, 211, 214, 0.12) 80%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease 0.5s;
}

.menu-overlay.open .menu-overlay__inner::before {
  opacity: 1;
}

/* ── Left col: primary nav links ── */
.menu-overlay__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.menu-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-lg);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-tight);
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.35s ease,
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1.3;
  padding-block: var(--space-2xs);
  /* Initial state for staggered entrance */
  opacity: 0;
  transform: translateY(30px);
}

/* Index number — sits left of link text */
.menu-link::before {
  content: attr(data-index);
  font-size: 0.625rem;
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  color: var(--pink-mid);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease,
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 24px;
}

/* Sliding underline — grows from left on hover */
.menu-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 0;
  height: 1px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-link:hover {
  color: var(--white);
  transform: translateX(4px);
}

.menu-link:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.menu-link:hover::after {
  transform: scaleX(1);
}

.menu-link:focus-visible {
  outline: 2px solid var(--pink-mid);
  outline-offset: 4px;
}

.menu-link:active {
  transform: translateX(4px) scale(0.99);
}

/* Staggered entrance when menu opens */
.menu-overlay.open .menu-link {
  animation: menuLinkIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.menu-overlay.open .menu-link:nth-child(1) { animation-delay: 0.10s; }
.menu-overlay.open .menu-link:nth-child(2) { animation-delay: 0.16s; }
.menu-overlay.open .menu-link:nth-child(3) { animation-delay: 0.22s; }
.menu-overlay.open .menu-link:nth-child(4) { animation-delay: 0.28s; }
.menu-overlay.open .menu-link:nth-child(5) { animation-delay: 0.34s; }
.menu-overlay.open .menu-link:nth-child(6) { animation-delay: 0.40s; }
.menu-overlay.open .menu-link:nth-child(7) { animation-delay: 0.46s; }
.menu-overlay.open .menu-link:nth-child(8) { animation-delay: 0.52s; }

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

/* ── Right col: contact + social ── */
.menu-overlay__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease 0.4s,
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.menu-overlay.open .menu-overlay__info {
  opacity: 1;
  transform: translateY(0);
}

.menu-info-block {
  position: relative;
}

.menu-info-label {
  display: block;
  font-size: 0.625rem;
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--pink-light);   /* was --pink-mid: 2.5:1 on #2a0e2e — blush reads ~11:1 */
  margin-bottom: var(--space-sm);
}

.menu-info-value {
  display: block;
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--leading-relaxed);
  transition: color 0.25s ease;
}

.menu-info-value:hover {
  color: var(--white);
}

.menu-info-value:focus-visible {
  outline: 2px solid var(--pink-mid);
  outline-offset: 2px;
}

.menu-social {
  display: flex;
  gap: var(--space-lg);
}

.menu-social a {
  position: relative;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.25s ease;
  padding-bottom: 2px;
}

.menu-social a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--pink-mid);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-social a:hover {
  color: var(--white);
}

.menu-social a:hover::after {
  transform: scaleX(1);
}

.menu-social a:focus-visible {
  outline: 2px solid var(--pink-mid);
  outline-offset: 3px;
}

.menu-cta {
  align-self: flex-start;
  margin-top: var(--space-md);
}

/* ── Mobile menu layout ── */
@media (max-width: 768px) {
  .menu-overlay__inner {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    padding-block: calc(var(--nav-height) + var(--space-xl)) var(--space-3xl);
    align-items: flex-start;
  }

  /* Hide vertical divider on mobile */
  .menu-overlay__inner::before {
    display: none;
  }

  .menu-link {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .menu-overlay__info {
    gap: var(--space-xl);
  }

  .menu-social {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .menu-social {
    flex-wrap: wrap;
  }

}

/* Hide family bar when menu is open */
.menu-overlay.open ~ .family-bar {
  transform: translateY(100%);
}


/* ==========================================================
   ABOUT SECTION
   ========================================================== */
.about {
  text-align: center;
}

.about__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Decorative top rule */
.about__rule {
  width: 48px;
  height: 3px;
  background: var(--gradient-brand);
  border-radius: 2px;
  margin-bottom: var(--space-2xl);
}

.about__headline {
  text-align: center;
  max-width: 600px;
}

.about__lead {
  text-align: center;
  max-width: 700px;
  margin-top: var(--space-md);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: var(--weight-medium);
  line-height: var(--leading-snug);
  color: var(--text-primary);
}

.about__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  text-align: left;
  margin-top: var(--space-2xl);
  max-width: 960px;
}

.about__body p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

@media (max-width: 768px) {
  .about__body {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}


/* ==========================================================
   PRACTICE AREAS — Listed layout
   ========================================================== */
.practice {
  position: relative;
  overflow: hidden;
}

/* ── Hover background images (industry photos) ── */
.practice__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.practice__bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.practice__bg-img.is-active {
  opacity: 0.22;
}

/* ── Two-column layout: heading/copy left, list right ── */
.practice__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.practice__intro-col {
  text-align: left;
}

.practice__headline {
  margin-bottom: var(--space-lg);
}

.practice__intro {
  max-width: 460px;
  margin: 0 0 var(--space-2xl);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}

/* Current Clients button sits beneath the list, with a clear spacer */
.practice__cta {
  margin-top: var(--space-2xl);
}

/* ── Practice list — single stacked column of rows ── */
.practice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border-default);
}

.practice-list__item {
  position: relative;
  padding: clamp(16px, 1.8vw, 24px) 0;
  border-bottom: 1px solid var(--border-default);
  text-align: left;
  cursor: default;
  transition: padding-left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.practice-list__name {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-snug);
  line-height: var(--leading-tight);
  color: var(--text-primary);
  transition: color 0.3s ease;
}

/* Hover emphasis */
.practice-list__item:hover {
  padding-left: clamp(8px, 1.2vw, 18px);
}

.practice-list__item:hover .practice-list__name {
  color: var(--pink-deep);
}

@media (max-width: 860px) {
  .practice__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }

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

  .practice__intro {
    max-width: 520px;
    margin-inline: auto;
  }

  .practice-list__item {
    text-align: left;
  }
}


/* ==========================================================
   IMAGE BREAK — Full-width cinematic image
   ========================================================== */
.image-break {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.image-break__inner {
  position: relative;
  width: 100%;
  height: clamp(300px, 45vw, 560px);
}

.image-break__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* Full-height variant — show the entire photo, no cropping */
.image-break--full .image-break__inner {
  height: auto;
}

.image-break--full .image-break__inner img {
  height: auto;
}

.image-break__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--surface-base) 0%, transparent 15%),
    linear-gradient(to top, var(--surface-elevated) 0%, transparent 15%),
    linear-gradient(to bottom, rgba(114, 30, 75, 0.08) 0%, transparent 100%);
  pointer-events: none;
  mix-blend-mode: multiply;
}


/* ==========================================================
   TEAM SECTION
   ========================================================== */
.team__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.team__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.team__headline {
  max-width: 400px;
}

.team__body {
  margin-bottom: var(--space-2xl);
}

/* ── Centered single-column variant ── */
.team--centered .team__inner {
  display: block;
  text-align: center;
}

.team--centered .team__content {
  align-items: center;
}

.team--centered .team__headline {
  max-width: none;
}

.team--centered .team__body {
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
}

/* ── Team image ── */
.team__media {
  position: relative;
}

.team__image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(114, 30, 75, 0.08),
              0 8px 24px rgba(0, 0, 0, 0.04);
}

/* Decorative accent corner */
.team__image-wrapper::before {
  content: '';
  position: absolute;
  top: -6px;
  right: -6px;
  width: 60%;
  height: 60%;
  border: 2px solid var(--pink-light);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.6;
}

.team__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
  .team__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .team__content {
    order: 2;
  }

  .team__media {
    order: 1;
  }
}


/* ==========================================================
   BUZZ FEED — Instagram grid
   ========================================================== */
/* Buzz Feed intro — sentence on one line, handle on the line below */
.buzz-feed__intro {
  max-width: none;
  margin-inline: auto;
  text-align: center;
}

.buzz-feed__handle {
  display: block;
  color: var(--pink-deep);
  font-weight: var(--weight-bold);
  margin-top: var(--space-xs);
  transition: color 0.25s ease;
}

.buzz-feed__handle:hover {
  color: var(--pink-mid);
}

.buzz-feed__handle:focus-visible {
  outline: 2px solid var(--pink-deep);
  outline-offset: 2px;
}

.buzz-feed__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 1.2vw, 16px);
  margin-top: var(--space-3xl);
}

.buzz-feed__item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.buzz-feed__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.buzz-feed__item:hover img {
  transform: scale(1.06);
}

.buzz-feed__item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(114, 30, 75, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.buzz-feed__item:hover .buzz-feed__item-overlay {
  opacity: 1;
}

.buzz-feed__item:focus-visible {
  outline: 2px solid var(--pink-deep);
  outline-offset: 2px;
}

.buzz-feed__item:active .buzz-feed__item-overlay {
  opacity: 0.8;
}

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


/* ==========================================================
   PROUD MEMBERS — Logo grid
   ========================================================== */
.members__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 5vw, 64px);
  margin-top: var(--space-3xl);
}

.members__item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.members__item:hover {
  opacity: 1;
}

.members__item img {
  max-width: 210px;
  max-height: 92px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Tall / square marks get extra height so their visual mass matches the wide logos */
.members__item img[src*="dc-e"],
.members__item img[src*="GCPRC"] {
  max-height: 132px;
}

@media (max-width: 768px) {
  .members__grid {
    gap: clamp(24px, 6vw, 40px);
  }

  .members__item img {
    max-width: 150px;
    max-height: 70px;
  }

  .members__item img[src*="dc-e"],
  .members__item img[src*="GCPRC"] {
    max-height: 100px;
  }
}


/* ==========================================================
   CONTACT SECTION — Blush/Pink variant
   ========================================================== */
.contact-section {
  padding-bottom: 0;
}

.contact-section--blush {
  background: var(--pink-light);
}

/* ── Footer glow orbs — mouse-tracking ambient glow (injected by main.js) ── */
.footer-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.footer-glow__orb {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform;
}

.footer-glow__orb--deep {
  background: #b25389;   /* a touch lighter than --pink-mid */
  opacity: 0.20;
  bottom: -400px;
  left: calc(50% - 400px);
}

.footer-glow__orb--light {
  background: #fdf4f5;   /* lighter than the blush bg — a soft bright bloom */
  opacity: 0.85;
  bottom: -350px;
  left: calc(30% - 400px);
}

.footer-glow__orb--rose {
  background: #c26da2;   /* lighter rose */
  opacity: 0.18;
  width: 600px;
  height: 600px;
  bottom: -300px;
  left: calc(70% - 300px);
}

/* Keep section content above the glow layer */
.contact-section--blush > .container,
.contact-section--blush > .site-footer {
  position: relative;
  z-index: 2;
}

/* Footer-only variant (contact page) — no content above the footer, so drop the section padding */
.contact-section--footer-only {
  padding-top: 0;
}

.contact-section--footer-only .site-footer {
  margin-top: 0;
}

.contact-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.contact-section--blush .section-eyebrow {
  color: var(--pink-deep);
}

.contact-section__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  color: var(--black);
  margin-bottom: var(--space-xl);
}

.contact-section__body {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-2xl);
  max-width: 480px;
}

.contact-section__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

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

.contact-info-item svg {
  flex-shrink: 0;
  color: var(--pink-deep);
  margin-top: 2px;
}

.contact-info-item a {
  font-size: var(--text-base);
  color: rgba(0, 0, 0, 0.65);
  line-height: var(--leading-relaxed);
  transition: color 0.25s ease;
}

.contact-info-item a:hover {
  color: var(--black);
}

.contact-info-item a:focus-visible {
  outline: 2px solid var(--pink-deep);
  outline-offset: 2px;
}

/* ── Contact form ── */
.contact-section__form {
  position: relative;
}

.contact-form {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3.5vw, 48px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 32px rgba(114, 30, 75, 0.06);
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.contact-form__field {
  margin-bottom: var(--space-md);
}

.contact-form__row .contact-form__field {
  margin-bottom: 0;
}

.contact-form__field label {
  display: block;
  font-size: 12px;
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.62);
  margin-bottom: var(--space-xs);
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  padding: 14px 18px;
  min-height: 48px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(114, 30, 75, 0.1);
  border-radius: var(--radius-md);
  color: var(--black);
  font-family: var(--font-family);
  font-size: var(--text-base);
  transition: border-color 0.25s ease,
              background 0.25s ease;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: rgba(0, 0, 0, 0.45);
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-color: var(--pink-mid);
  background: rgba(255, 255, 255, 0.85);
}

.contact-form__field input:focus-visible,
.contact-form__field textarea:focus-visible {
  outline: 2px solid var(--pink-mid);
  outline-offset: 2px;
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form__submit {
  width: 100%;
  margin-top: var(--space-xs);
}

.contact-form__privacy {
  text-align: center;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.55);
  margin-top: var(--space-md);
}

.contact-form__status {
  text-align: center;
  font-weight: 700;
  margin-top: var(--space-sm);
}

.contact-form__status:empty {
  display: none;
}

/* Honeypot field — hidden from people, visible to bots */
.contact-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .contact-section__inner {
    grid-template-columns: 1fr;
  }

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


/* ==========================================================
   SITE FOOTER
   ========================================================== */
.site-footer {
  margin-top: var(--section-padding);
  padding-top: var(--space-3xl);
  padding-bottom: calc(var(--space-3xl) + 52px); /* clear family bar */
  border-top: 1px solid var(--border-default);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
}

.site-footer__brand img {
  height: 50px;
  width: auto;
  opacity: 0.6;
}

/* Footer logo — full color on pink background */
.contact-section--blush .site-footer__logo {
  filter: none;
  opacity: 1;
}

.site-footer__tagline {
  font-size: var(--text-sm);
  color: var(--text-primary);
  line-height: var(--leading-relaxed);
  max-width: 320px;
  opacity: 0.75;
}

.site-footer__copy {
  font-size: var(--text-sm);
  color: var(--text-primary);
  opacity: 0.75;
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-2xs);
}

.site-footer__legal {
  display: flex;
  gap: var(--space-lg);
}

.site-footer__legal a {
  font-size: var(--text-xs);
  color: var(--text-primary);
  opacity: 0.65;
  padding: 8px 0;
  transition: opacity 0.2s ease;
}

.site-footer__legal a:hover {
  opacity: 0.85;
}

.site-footer__legal a:focus-visible {
  outline: 2px solid var(--pink-mid);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .site-footer__inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-lg);
  }

  .site-footer__brand {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }

  .site-footer__bottom {
    align-items: center;
  }

  .site-footer__legal {
    justify-content: center;
    flex-wrap: wrap;
  }
}


/* ==========================================================
   SOCIAL BAR — 4 full-width blocks (own section)
   ========================================================== */
.social-bar-section {
  position: relative;
  overflow: hidden;
}

.social-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.social-bar__block {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.2vw, 18px);
  padding: clamp(28px, 3.5vw, 48px) clamp(16px, 2vw, 32px);
  background: var(--pink-deep);
  color: var(--white);
  text-decoration: none;
  overflow: hidden;
  transition: background 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-bar__block:nth-child(2) {
  background: var(--pink-mid);
}

.social-bar__block:nth-child(3) {
  background: #5c1d42;
}

.social-bar__block:nth-child(4) {
  background: #3d1230;
}

.social-bar__block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-bar__block:hover::before {
  opacity: 0.12;
}

.social-bar__block:active::before {
  opacity: 0.06;
}

.social-bar__block:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: -4px;
}

.social-bar__icon {
  width: clamp(24px, 2.5vw, 36px);
  height: clamp(24px, 2.5vw, 36px);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-bar__block:hover .social-bar__icon {
  transform: scale(1.12);
}

.social-bar__name {
  font-size: clamp(14px, 1.4vw, 20px);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.social-bar__arrow {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: opacity 0.3s ease,
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-bar__block:hover .social-bar__arrow {
  opacity: 0.7;
  transform: translate(0, 0);
}

/* Divider lines between blocks */
.social-bar__block + .social-bar__block {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

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

  .social-bar__block:nth-child(3) {
    border-left: none;
  }

  .social-bar__block:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .social-bar__arrow {
    display: none;
  }
}

@media (max-width: 420px) {
  .social-bar {
    grid-template-columns: 1fr 1fr;
  }
}


/* ==========================================================
   REVEAL ANIMATIONS (IntersectionObserver driven)
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.40s; }
.stagger-6 { transition-delay: 0.48s; }
.stagger-7 { transition-delay: 0.56s; }
.stagger-8 { transition-delay: 0.64s; }
.stagger-9 { transition-delay: 0.72s; }


/* ==========================================================
   BUTTONS (shared)
   ========================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 16px 32px;
  min-height: 48px;
  font-family: var(--font-family);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease,
              background 0.25s ease,
              color 0.25s ease;
  white-space: nowrap;
}

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

/* Primary — brand gradient */
.btn--primary {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: 0 4px 20px var(--glow-pink-deep),
              0 1px 4px rgba(0,0,0,0.12);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--glow-pink-deep),
              0 2px 8px rgba(0,0,0,0.14);
}

.btn--primary:focus-visible {
  outline: 2px solid var(--pink-mid);
  outline-offset: 3px;
}

/* Outline — light on dark */
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

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

/* Ghost — dark on light */
.btn--ghost {
  background: transparent;
  color: var(--pink-deep);
  border: 1.5px solid var(--border-strong);
}

.btn--ghost:hover {
  background: var(--pink-deep-05);
  border-color: var(--pink-deep);
  transform: translateY(-2px);
}

.btn--ghost:focus-visible {
  outline: 2px solid var(--pink-deep);
  outline-offset: 3px;
}

/* White — for use on dark backgrounds */
.btn--white {
  background: var(--white);
  color: var(--pink-deep);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

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


/* ==========================================================
   LEGAL CONTENT — Terms, Privacy, Accessibility
   ========================================================== */
.legal-content {
  background: var(--surface-base);
}

.legal-content__inner {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content__inner h2 {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.legal-content__inner h3 {
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: var(--weight-semibold);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.legal-content__inner p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.legal-content__inner ul {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-lg);
}

.legal-content__inner li {
  position: relative;
  padding-left: 1.5em;
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.legal-content__inner li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink-mid);
}

.legal-content__inner strong {
  color: var(--text-primary);
  font-weight: var(--weight-semibold);
}

.legal-content__inner a {
  color: var(--pink-deep);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.legal-content__inner a:hover {
  opacity: 0.7;
}

.legal-content__inner a:focus-visible {
  outline: 2px solid var(--pink-mid);
  outline-offset: 2px;
}

/* ── Legal Form (Accessibility page) ── */
.legal-form {
  background: var(--surface-base);
  padding-top: 0;
}

.legal-form__inner {
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-default);
  padding: clamp(30px, 4vw, 50px);
}

.legal-form__title {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.legal-form__subtitle {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.legal-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.legal-form__field {
  margin-bottom: 16px;
}

.legal-form__row .legal-form__field {
  margin-bottom: 0;
}

.legal-form__field label {
  display: block;
  font-size: 13px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.legal-form__field .required {
  color: var(--pink-mid);
}

.legal-form__field input,
.legal-form__field textarea,
.legal-form__field select {
  width: 100%;
  padding: 14px 18px;
  min-height: 48px;
  font-family: inherit;
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--surface-base);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}

.legal-form__field input:focus,
.legal-form__field textarea:focus,
.legal-form__field select:focus {
  border-color: var(--pink-mid);
  box-shadow: 0 0 0 3px var(--pink-mid-10);
}

.legal-form__field input:focus-visible,
.legal-form__field textarea:focus-visible,
.legal-form__field select:focus-visible {
  outline: 2px solid var(--pink-mid);
  outline-offset: 2px;
}

.legal-form__field textarea {
  min-height: 140px;
  resize: vertical;
}

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

.legal-form__submit {
  width: 100%;
  padding: 16px;
  margin-top: var(--space-sm);
}

@media (max-width: 600px) {
  .legal-form__row {
    grid-template-columns: 1fr;
  }

  .legal-form__inner {
    padding: var(--space-xl) var(--space-lg);
  }
}


/* ==========================================================
   FAMILY BAR — Sticky bottom "Our Family of Business"
   ========================================================== */
.family-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-family-bar);
  height: 52px;
  background: var(--pink-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(var(--space-2xl), 6vw, var(--space-5xl));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.family-bar__label {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

.family-bar__companies {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(var(--space-xl), 5vw, var(--space-4xl));
}

.family-bar__item {
  display: flex;
  align-items: center;
  padding-block: 12px;   /* ≥24px touch target for the short wordmarks */
  opacity: 0.75;
  transition: opacity 0.25s ease;
}

.family-bar__item:hover {
  opacity: 1;
}

.family-bar__item:focus-visible {
  outline: 2px solid var(--pink-mid);
  outline-offset: 3px;
  opacity: 1;
}

.family-bar__item img {
  height: clamp(14px, 2.2vw, 20px);
  width: auto;
}

/* Keep sibling logos smaller than Buzz wordmark */
.family-bar__item:not(:first-child) img {
  height: clamp(11px, 1.6vw, 15px);
}

/* Levatas + VXIT a touch smaller */
.family-bar__item:nth-child(3) img,
.family-bar__item:nth-child(4) img {
  height: clamp(9px, 1.3vw, 12px);
}


/* Offset page content so family bar doesn't overlap footer */
body {
  padding-bottom: 52px;
}

@media (max-width: 768px) {
  .family-bar {
    gap: var(--space-xl);
  }

  .family-bar__label {
    display: none;
  }

  .family-bar__companies {
    gap: var(--space-lg);
  }
}


/* ==========================================================
   SUBPAGE HERO — Used on services, about, etc.
   ========================================================== */
.page-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-height);
  padding-bottom: clamp(60px, 8vw, 120px);
  overflow: hidden;
  background: var(--surface-elevated);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: saturate(0.3);
}

/* Pink palm-leaf pattern pages — keep the color, let it read pink */
.page-hero--pattern .page-hero__bg img {
  opacity: 0.15;
  filter: saturate(1.0);
}

.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--surface-elevated) 0%, transparent 30%, var(--surface-elevated) 85%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero__eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--pink-mid);
  margin-bottom: var(--space-md);
}

.page-hero__title {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: var(--weight-extrabold);
  letter-spacing: var(--tracking-tight);
  line-height: 1.05;
  margin-bottom: var(--space-lg);
  max-width: 800px;
  color: var(--text-primary);
}

.page-hero__subtitle {
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 640px;
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 70vh;
  }

  .page-hero__title {
    font-size: clamp(32px, 10vw, 56px);
  }
}


/* ==========================================================
   SERVICES STACK — Full-viewport service blocks
   ========================================================== */
.services-stack {
  position: relative;
}

/* Each block: image on one side, text on the other — standard alternating rows */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--surface-base);
}

.service-block:nth-child(even) {
  direction: rtl;
}

.service-block:nth-child(even) > * {
  direction: ltr;
}

/* ── Blush variant ── */
.service-block--blush {
  background: var(--surface-elevated);
}

/* ── Image side ── */
.service-block__media {
  position: relative;
  overflow: hidden;
  min-height: clamp(340px, 42vw, 560px);
}

.service-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-block__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 50%, rgba(255, 255, 255, 0.25) 100%);
  pointer-events: none;
}

.service-block:nth-child(even) .service-block__media::after {
  background: linear-gradient(to left, transparent 50%, rgba(255, 255, 255, 0.25) 100%);
}

/* ── Text side ── */
.service-block__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 560px;
  padding: clamp(40px, 6vw, 100px);
}

.service-block__number {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  color: var(--pink-mid);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.service-block__number::after {
  content: '';
  display: block;
  width: 40px;
  height: 1.5px;
  background: var(--gradient-brand);
  border-radius: 1px;
}

.service-block__title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: var(--weight-extrabold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.service-block__body {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-xl);
}

.service-block__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-2xl);
}

.service-block__tags li {
  padding: 6px 14px;
  border: 1px solid var(--border-default);
  border-radius: 20px;
  font-size: 12px;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.3px;
  color: var(--text-muted);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.service-block__tags li:hover {
  border-color: var(--pink-mid);
  color: var(--pink-deep);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .service-block {
    position: relative;
    height: auto;
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .service-block:nth-child(even) {
    direction: ltr;
  }

  .service-block__media {
    height: 300px;
  }

  .service-block__media::after {
    background: linear-gradient(to bottom, transparent 60%, rgba(255, 255, 255, 0.5) 100%);
  }

  .service-block:nth-child(even) .service-block__media::after {
    background: linear-gradient(to bottom, transparent 60%, rgba(255, 255, 255, 0.5) 100%);
  }

  .service-block__text {
    max-width: none;
    padding: var(--space-2xl) var(--container-padding);
  }
}

@media (max-width: 600px) {
  .service-block__title {
    font-size: var(--text-2xl);
  }

  .service-block__media {
    height: 240px;
  }
}


/* ==========================================================
   CTA BAND — Belief statement
   ========================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--surface-elevated);
}

.cta-band__title {
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: var(--weight-extrabold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-2xl);
  max-width: 800px;
  margin-inline: auto;
  color: var(--text-primary);
}

/* Single-line variant — fits a longer line without wrapping on desktop */
.cta-band__title--oneline {
  max-width: none;
  font-size: clamp(20px, 2.9vw, 36px);
}

@media (min-width: 1000px) {
  .cta-band__title--oneline {
    white-space: nowrap;
  }
}

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


/* ==========================================================
   MENU — Active link state (current page indicator)
   ========================================================== */
.menu-link--active {
  color: var(--white) !important;
}

.menu-link--active::before {
  opacity: 1 !important;
  transform: translateX(0) !important;
}


/* ==========================================================
   TEAM — Founders Feature
   ========================================================== */
.team-founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  padding-block: clamp(60px, 8vw, 120px);
}

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

.founder-card__media {
  position: relative;
  overflow: hidden;
  margin-bottom: var(--space-xl);
  aspect-ratio: 4 / 5;
}

.founder-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-card__eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--pink-mid);
  margin-bottom: var(--space-xs);
}

.founder-card__name {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: var(--weight-extrabold);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.founder-card__bio {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-xl);
  flex: 1;
}

.founder-card__link {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  color: var(--pink-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  transition: gap 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.founder-card__link:hover {
  color: var(--pink-mid);
  gap: var(--space-sm);
}

/* ==========================================================
   TEAM — Staff Grid
   ========================================================== */
.team-grid-section {
  padding-block: clamp(60px, 8vw, 120px);
}

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

/* Founders & leadership row — no heading above, so no top margin */
.team-leadership {
  padding-block: clamp(60px, 8vw, 120px);
}

.team-leadership .team-grid {
  margin-top: 0;
}

/* Portrait headshots dropped into square slots — keep the face */
.team-card__img--top {
  object-position: center top;
}

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

.team-card__media {
  position: relative;
  overflow: hidden;
  margin-bottom: var(--space-lg);
  aspect-ratio: 1 / 1;
  background: var(--surface-elevated);
}

.team-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-card__media img {
  transform: scale(1.04);
}

.team-card__name {
  font-size: var(--text-lg);
  font-weight: var(--weight-extrabold);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  margin-bottom: var(--space-2xs);
}

.team-card__title {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.team-card__link {
  font-size: 12px;
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--pink-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  margin-top: auto;
}

.team-card__link:hover {
  color: var(--pink-mid);
  gap: 10px;
}

/* ==========================================================
   PROFILE — Individual team member page
   ========================================================== */
.profile-block {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
  padding-block: clamp(60px, 8vw, 120px);
}

.profile-block__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface-elevated);
}

.profile-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-block__eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--pink-mid);
  margin-bottom: var(--space-md);
}

.profile-block__name {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: var(--weight-extrabold);
  letter-spacing: var(--tracking-tight);
  line-height: 1.05;
  margin-bottom: var(--space-xl);
  color: var(--text-primary);
}

.profile-block__bio p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-lg);
}

.profile-back-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: clamp(32px, 4vw, 56px);
  background: var(--surface-elevated);
  transition: background 0.35s ease;
}

.profile-back-strip:hover {
  background: #2a0e2e;
}

.profile-block__back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: var(--weight-extrabold);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.35s ease, gap 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s ease;
}

.profile-back-strip:hover .profile-block__back {
  color: var(--white);
  transform: translateX(-6px);
  gap: var(--space-md);
}

/* page-hero back link — pill style */
.page-hero__back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 12px;
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  margin-bottom: var(--space-xl);
  padding: 10px 22px;
  background: #2a0e2e;
  border-radius: 100px;
  transition: background 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), gap 0.3s ease;
}

.page-hero__back:hover {
  background: var(--pink-deep);
  transform: translateX(-4px);
  gap: var(--space-sm);
}

/* ==========================================================
   TEAM — Responsive
   ========================================================== */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .team-founders {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

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

  .profile-block {
    grid-template-columns: 1fr;
  }

  .profile-block__media {
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================
   CLIENTS — Logo Grid
   ========================================================== */
.clients-section {
  padding-block: clamp(60px, 8vw, 120px);
}

.clients-intro {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.clients-intro__title {
  margin-top: var(--space-xs);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.6vw, 24px);
}

.client-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 1.8vw, 24px) clamp(8px, 1vw, 14px);
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 16px rgba(114, 30, 75, 0.05);
  transition: border-color 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  text-decoration: none;
  aspect-ratio: 3 / 2;
}

.client-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.client-card:hover {
  border-color: var(--border-default);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(114, 30, 75, 0.10);
}

.client-card:hover img {
  transform: scale(1.05);
}

/* ── Clients Responsive ── */
@media (max-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  .client-card {
    padding: var(--space-lg);
  }
}


/* ==========================================================
   CONTACT PAGE (standalone /contact/)
   ========================================================== */
.contact-page {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.contact-page__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.contact-page__heading {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  color: var(--black);
  margin-bottom: var(--space-xl);
}

.contact-page__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.contact-page__map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(114, 30, 75, 0.08),
              0 1px 4px rgba(0, 0, 0, 0.04);
}

.contact-page__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contact-page__form-wrap .contact-form {
  background: var(--pink-light);
  border: 1px solid rgba(114, 30, 75, 0.06);
}

@media (max-width: 768px) {
  .contact-page__grid {
    grid-template-columns: 1fr;
  }

  .contact-page__map {
    aspect-ratio: 16 / 10;
  }
}


/* ==========================================================
   UTILITY
   ========================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Alias of .sr-only — hidden visually but exposed to assistive tech.
   (Was `visibility: hidden`, which removed content from AT too.) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}


/* ==========================================================
   REDUCED MOTION — WCAG 2.3.3
   Disables non-essential animation and forces all
   JS/scroll-gated content into its final visible state.
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* Infinite / ambient animations off entirely */
  .hero-layer--sky img,
  .hero-scroll-hint__line,
  .hero-scroll-hint__line::after,
  .menu-overlay__accent,
  .loader-progress__fill {
    animation: none !important;
  }

  /* Scroll reveals: final state immediately */
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Hero: collapse the scrub runway and show the text outright */
  .hero-cinematic {
    height: 100vh !important;
  }

  .hero-cinematic__content,
  .hero-text-left,
  .hero-text-right {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .hero-cinematic__overlay {
    opacity: 0.85 !important;
  }

  .hero-scroll-hint {
    display: none !important;
  }
}
