/* ============================================
   HEHCONSULTING — Page styles
   ============================================ */

/* ---------- Global anchor offset (sticky header compensation) ---------- */
section[id],
article[id] {
  scroll-margin-top: 100px;
}

/* ============================================
   Generic section patterns
   ============================================ */
.section {
  padding-block: var(--section-py);
  background-color: var(--color-bg);
}
.section--alt { background-color: var(--color-bg-alt); }
.section--cream { background-color: var(--color-bg-cream); }

/* Navy surface — reusable on any section that needs a dark band */
.section--dark {
  background: linear-gradient(180deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  color: var(--color-text-on-dark);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(245, 224, 181, 0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.section--dark > * {
  position: relative;
  z-index: 1;
}

.section--dark .section__title {
  color: var(--color-white);
}

.section--dark .text-lead {
  color: var(--color-text-on-dark-muted);
}

.section--dark .eyebrow {
  color: var(--color-gold-light);
}

.section--dark p {
  color: var(--color-text-on-dark-muted);
}

.section--dark hr {
  /* The existing hr uses var(--gradient-gold) — already perfect on navy. No override needed. */
}

/* ============================================================
   Section body paragraphs — muted, smaller, clear hierarchy below .text-lead.
   Scoped :not(.section--dark) so navy sections keep their
   .section--dark p translucent-white rule (readability on navy).
   ============================================================ */
.section:not(.section--dark) .container > p:not(.text-lead),
.section:not(.section--dark) .container--narrow > p:not(.text-lead),
.network-feature__content > p:not(.text-lead) {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-4);
}

.section--vision {
  text-align: center;
}
.section--vision .eyebrow { margin-bottom: var(--space-4); }
.section--vision .section__title { margin-bottom: var(--space-5); }
.section--vision .text-lead { margin: 0 auto; max-width: 640px; }
.section--vision hr { margin-top: var(--space-8); }

.section-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 760px;
  margin-bottom: var(--space-10);
}
.section-header--centered {
  margin-inline: auto;
  text-align: center;
  align-items: center;
}
.section-header .eyebrow { margin-bottom: var(--space-1); }

.section__title {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  color: var(--color-navy);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  margin: 0;
  font-weight: var(--fw-regular);
}

.section__actions {
  margin-top: var(--space-10);
  display: flex;
  justify-content: center;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  padding: var(--space-4) var(--space-7);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  transition:
    background-color var(--t-normal),
    color var(--t-normal),
    border-color var(--t-normal),
    transform var(--t-normal),
    box-shadow var(--t-normal);
  overflow: hidden;
  isolation: isolate;
}

/* Primary — solid navy */
.btn--primary {
  background-color: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}
.btn--primary:hover {
  background-color: var(--color-navy-light);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Secondary — outlined navy */
.btn--secondary {
  background-color: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}
.btn--secondary:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-1px);
}

/* Gold — for use on dark backgrounds */
.btn--gold {
  background: var(--gradient-gold);
  color: var(--color-navy);
  border-color: var(--color-gold);
  box-shadow: 0 4px 12px rgba(200, 156, 79, 0.18);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-glow);
}

/* Text — link-style with gold underline animation */
.btn--text {
  background: transparent;
  border: 0;
  padding: var(--space-2) 0;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
}
.btn--text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--gradient-gold);
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease-out-expo);
}
.btn--text:hover {
  color: var(--color-gold-dark);
}
.btn--text:hover::after {
  transform: scaleX(1);
}

/* ============================================
   HOME — Hero
   ============================================ */
/* ============================================================
   HOME HERO — centered, aurora ambient only
   ============================================================ */

.home-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(var(--space-16), 12vw, var(--space-24));
  padding-bottom: clamp(var(--space-16), 12vw, var(--space-24));
  background-color: var(--color-bg);
}

.home-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  gap: var(--space-6);
}

.home-hero__eyebrow {
  animation: hero-fade-up 0.9s var(--ease-out-expo) 0.10s both;
}

.home-hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-5xl);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--color-navy);
  text-transform: uppercase;
  text-wrap: balance;
  max-width: 1100px;
  margin: 0;
  animation: hero-fade-up 0.9s var(--ease-out-expo) 0.25s both;
}

.home-hero__lead {
  font-family: var(--font-sans);
  font-size: var(--fs-lg);
  line-height: 1.5;
  color: var(--color-text);
  max-width: 720px;
  margin: 0 auto;
  animation: hero-fade-up 0.9s var(--ease-out-expo) 0.45s both;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-2);
  animation: hero-fade-up 0.9s var(--ease-out-expo) 0.55s both;
}

.home-hero__decoration {
  position: absolute;
  top: 50%;
  right: -10%;
  width: clamp(400px, 65vh, 720px);
  height: clamp(400px, 65vh, 720px);
  background:
    radial-gradient(circle at center,
      rgba(245, 224, 181, 0.22) 0%,
      rgba(200, 156, 79, 0.10) 35%,
      transparent 70%);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
  filter: blur(8px);
}

/* ============================================
   Hero entrance animation (staggered fade-up)
   ============================================ */
@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .home-hero__eyebrow,
  .home-hero__title,
  .home-hero__lead,
  .home-hero__actions,
  .home-hero__decoration {
    opacity: 1;
    animation: none;
    transform: none;
  }
}

/* ============================================
   Page hero entrance animation
   ============================================ */
.page-hero .eyebrow,
.page-hero__title,
.page-hero__lead {
  opacity: 0;
  animation: hero-fade-up 0.9s var(--ease-out-expo) forwards;
}

.page-hero .eyebrow { animation-delay: 0.1s; }
.page-hero__title { animation-delay: 0.25s; }
.page-hero__lead { animation-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  .page-hero .eyebrow,
  .page-hero__title,
  .page-hero__lead,
  .page-hero__decoration {
    opacity: 1;
    animation: none;
    transform: none;
  }
}

/* ============================================
   Multi-layer animated gold ambient
   Used on .home-hero and .page-hero
   ============================================ */

/* Both hero sections need isolation for clean stacking */
.home-hero,
.page-hero {
  isolation: isolate;
}

/* Layer 1 — Large slow-drifting gold halo (top-right area) */
.home-hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  top: -25%;
  right: -20%;
  width: 70vh;
  height: 70vh;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle at center,
    rgba(245, 224, 181, 0.22) 0%,
    rgba(200, 156, 79, 0.10) 38%,
    transparent 72%);
  border-radius: 50%;
  filter: blur(24px);
  pointer-events: none;
  z-index: 0;
  animation: hero-aurora-1 22s ease-in-out infinite;
  will-change: transform;
}

/* Layer 2 — Counter-drifting smaller gold shine (bottom-left area) */
.home-hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 55vh;
  height: 55vh;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle at center,
    rgba(245, 224, 181, 0.18) 0%,
    rgba(216, 182, 122, 0.08) 42%,
    transparent 70%);
  border-radius: 50%;
  filter: blur(32px);
  pointer-events: none;
  z-index: 0;
  animation: hero-aurora-2 28s ease-in-out infinite;
  will-change: transform;
}

/* Layer 3 — existing .home-hero__decoration / .page-hero__decoration
   sit above the pseudo-element layers and get a slow gentle pulse */
.home-hero__decoration {
  animation: hero-aurora-pulse 16s ease-in-out infinite;
  will-change: transform, opacity;
}

.page-hero__decoration {
  animation: page-hero-aurora-pulse 16s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes hero-aurora-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-80px, 50px) scale(1.10); }
  66%      { transform: translate(50px, -40px) scale(0.94); }
}

@keyframes hero-aurora-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(100px, -70px) scale(1.18); }
}

/* home-hero__decoration uses translateY(-50%) statically — preserve in keyframe */
@keyframes hero-aurora-pulse {
  0%, 100% { transform: translateY(-50%) scale(1);    opacity: 1;    }
  50%      { transform: translateY(-50%) scale(1.06); opacity: 0.85; }
}

/* page-hero__decoration has no static transform — simpler keyframe */
@keyframes page-hero-aurora-pulse {
  0%, 100% { transform: scale(1);    opacity: 1;    }
  50%      { transform: scale(1.08); opacity: 0.85; }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .home-hero::before,
  .home-hero::after,
  .page-hero::before,
  .page-hero::after,
  .home-hero__decoration,
  .page-hero__decoration {
    animation: none;
  }
}

/* ============================================
   HOME — Brands universe
   ============================================ */
.brands-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.brand-card {
  position: relative;
  padding: var(--space-10) var(--space-8);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  transition: transform var(--t-slow), box-shadow var(--t-slow), border-color var(--t-slow);
  overflow: hidden;
}

.brand-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t-slow) var(--ease-out-expo);
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-gold-light);
}
.brand-card:hover::before { transform: scaleY(1); }

.brand-card__label {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--color-gold);
  margin-bottom: var(--space-4);
  display: inline-block;
}

.brand-card__title {
  font-family: var(--font-serif);
  font-size: var(--fs-2xl);
  color: var(--color-navy);
  margin: 0 0 var(--space-4) 0;
  line-height: var(--lh-snug);
}

.brand-card p {
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  margin: 0;
}

@media (max-width: 768px) {
  .brands-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .brand-card {
    padding: var(--space-7) var(--space-6);
  }
}

/* ============================================
   HOME — Services overview
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.service-card {
  position: relative;
  padding: var(--space-7) var(--space-5);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-soft);
  transition: transform var(--t-slow), box-shadow var(--t-slow), border-color var(--t-slow);
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-cream-fade);
  opacity: 0;
  transition: opacity var(--t-slow);
  pointer-events: none;
  z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }

.service-card:hover {
  border-color: var(--color-gold-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.service-card:hover::after { opacity: 1; }

.service-card__number {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  color: var(--color-gold);
  letter-spacing: var(--ls-wide);
  margin-bottom: var(--space-5);
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  color: var(--color-navy);
  margin: 0 0 var(--space-3) 0;
  line-height: var(--lh-snug);
}

.service-card p {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Final CTA band
   ============================================ */
.cta-band {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding-block: var(--section-py);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(245, 224, 181, 0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.cta-band > * { position: relative; z-index: 1; }

.cta-band__eyebrow {
  color: var(--color-gold-light);
  margin-bottom: var(--space-4);
}

.cta-band__title {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--color-white);
  line-height: var(--lh-tight);
  margin: 0 0 var(--space-5) 0;
}

.cta-band__lead {
  font-family: var(--font-sans);
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  color: var(--color-text-on-dark-muted);
  max-width: 580px;
  margin: 0 auto var(--space-8);
}

/* ============================================
   Page hero (reusable on About, Services, Partnership, Contact)
   ============================================ */
.page-hero {
  position: relative;
  padding-block: clamp(5rem, 4rem + 4vw, 9rem) clamp(3rem, 2rem + 3vw, 5rem);
  background-color: var(--color-bg);
  overflow: hidden;
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.page-hero__title {
  font-family: var(--font-display);
  margin: 0;
  max-width: 1100px;
}

.page-hero__lead {
  font-family: var(--font-sans);
  font-size: var(--fs-xl);
  line-height: var(--lh-relaxed);
  color: var(--color-text-muted);
  margin: var(--space-3) 0 0 0;
  max-width: 720px;
}

.page-hero__decoration {
  position: absolute;
  top: 0;
  right: -10%;
  width: clamp(300px, 55vh, 620px);
  height: clamp(300px, 55vh, 620px);
  background: radial-gradient(circle at center,
    rgba(245, 224, 181, 0.18) 0%,
    rgba(200, 156, 79, 0.08) 35%,
    transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(8px);
}

@media (max-width: 768px) {
  .page-hero__decoration {
    right: -30%;
    top: 20%;
    width: 90vw;
    height: 90vw;
  }
}

/* ============================================================
   Text feature — single column, centered, max readable width
   ============================================================ */

.text-feature {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.text-feature__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.text-feature__content > .eyebrow {
  margin-bottom: var(--space-1);
}

.text-feature__content > h2,
.text-feature__content > .section__title {
  text-align: center;
  margin: 0;
}

.text-feature__content > p {
  text-align: left;
  margin: 0;
  max-width: 640px;
  color: var(--color-text-muted);
}

.text-feature__content > p.text-lead {
  color: var(--color-navy);
}

.text-feature__content > .btn {
  margin-top: var(--space-3);
}

/* ============================================================
   VALUES — principles grid with layered numerals + scroll reveal
   ============================================================ */

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-10);
}

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

.principle-card {
  position: relative;
  padding: var(--space-10) var(--space-4) var(--space-8);
  text-align: center;
  transition: transform 0.5s var(--ease-out-expo);
  opacity: 0;
  transform: translateY(40px);
}

.principle-card.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.principle-card:nth-child(2).in-view { transition-delay: 0.15s; }
.principle-card:nth-child(3).in-view { transition-delay: 0.30s; }

.principle-card__roman {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 400;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: var(--space-5);
  letter-spacing: 0.02em;
  transition: color 0.4s, transform 0.4s var(--ease-out-expo);
}

.principle-card__roman::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(2.6);
  font-family: var(--font-display);
  color: var(--color-gold);
  opacity: 0.06;
  pointer-events: none;
  z-index: -1;
  letter-spacing: -0.05em;
}

.principle-card:nth-child(1) .principle-card__roman::before { content: "I"; }
.principle-card:nth-child(2) .principle-card__roman::before { content: "II"; }
.principle-card:nth-child(3) .principle-card__roman::before { content: "III"; }

.principle-card__title {
  position: relative;
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  font-weight: 500;
  color: var(--color-navy);
  margin: 0;
  line-height: 1.3;
}

.principle-card__title::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gradient-gold);
  margin: var(--space-4) auto 0;
  transition: width 0.5s var(--ease-out-expo);
}

.principle-card:hover {
  transform: translateY(-6px);
}

.principle-card:hover .principle-card__roman {
  transform: scale(1.06);
  color: var(--color-gold-dark);
}

.principle-card:hover .principle-card__title::after {
  width: 64px;
}

/* ============================================================
   COMMITMENTS — expertise grid with counter index + scroll reveal
   ============================================================ */

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
  counter-reset: commitment;
}

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

.expertise-card {
  position: relative;
  padding: var(--space-10) var(--space-7) var(--space-8);
  background: var(--color-bg);
  border: 1px solid rgba(200, 156, 79, 0.22);
  box-shadow: 0 4px 18px rgba(6, 32, 59, 0.06);
  overflow: hidden;
  counter-increment: commitment;
  opacity: 0;
  transform: translateY(40px);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo), border-color 0.4s;
}

.expertise-card.in-view {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.9s var(--ease-out-expo),
    transform 0.9s var(--ease-out-expo),
    box-shadow 0.5s,
    border-color 0.4s;
}

.expertise-card:nth-child(2).in-view { transition-delay: 0.15s; }
.expertise-card:nth-child(3).in-view { transition-delay: 0.30s; }

.expertise-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 36%;
  height: 2px;
  background: var(--gradient-gold);
  transition: width 0.6s var(--ease-out-expo);
}

.expertise-card::after {
  content: counter(commitment, decimal-leading-zero);
  position: absolute;
  top: var(--space-5);
  right: var(--space-6);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--color-gold);
  opacity: 0.55;
  transition: opacity 0.4s, color 0.4s;
}

.expertise-card__title {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  font-weight: 500;
  color: var(--color-navy);
  margin: 0;
  padding-top: var(--space-4);
  line-height: 1.3;
}

.expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(6, 32, 59, 0.14);
  border-color: rgba(200, 156, 79, 0.40);
}

.expertise-card:hover::before {
  width: 100%;
}

.expertise-card:hover::after {
  opacity: 1;
  color: var(--color-gold-dark);
}

/* ============================================
   Quote block (elegant centered quote)
   ============================================ */
.quote-block {
  text-align: center;
  padding-block: var(--space-6);
}

.quote-block .eyebrow {
  margin-bottom: var(--space-6);
}

.quote-block__text {
  font-family: var(--font-sans);
  font-size: var(--fs-3xl);
  line-height: var(--lh-snug);
  color: var(--color-navy);
  font-style: italic;
  letter-spacing: var(--ls-tight);
  margin: 0 auto;
  max-width: 760px;
  position: relative;
  padding-top: var(--space-6);
}

.quote-block__text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--gradient-gold);
}

.quote-block__attribution {
  margin-top: var(--space-6);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--color-gold-dark);
}

/* ============================================
   New button variant: ghost-light (outlined on dark)
   ============================================ */
.btn--ghost-light {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-border-on-dark-strong);
}
.btn--ghost-light:hover {
  background-color: var(--color-white);
  color: var(--color-navy);
  border-color: var(--color-white);
  transform: translateY(-1px);
}

/* ============================================
   CTA band actions cluster (multi-button row)
   ============================================ */
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

/* ============================================
   Services — detailed card variant
   ============================================ */
.service-card--detail {
  padding: var(--space-8) var(--space-6);
}

.service-card__features {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.service-card__features li {
  position: relative;
  padding-left: var(--space-5);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
}

.service-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 12px;
  height: 1px;
  background: var(--gradient-gold);
}

/* ============================================
   Services — 3-column grid variant
   ============================================ */
.services-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 960px) {
  .services-grid--3col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .services-grid--3col {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Criteria list (gold-checkmark items, 2-col)
   ============================================ */
.criteria-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-7) var(--space-8);
}

.criteria-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: var(--space-4);
  align-items: start;
}

.criteria-list__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: var(--color-navy);
  font-weight: var(--fw-bold);
  font-size: var(--fs-base);
  line-height: 1;
  box-shadow: var(--shadow-gold-soft);
}

.criteria-list__title {
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  color: var(--color-navy);
  margin: 0 0 var(--space-2) 0;
  line-height: var(--lh-snug);
}

.criteria-list__content p {
  font-size: var(--fs-base);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  margin: 0;
}

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

/* ============================================
   Process timeline (vertical, numbered, gold connector)
   ============================================ */
.process-timeline {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: linear-gradient(
    180deg,
    var(--color-gold) 0%,
    var(--color-gold-light) 50%,
    rgba(200, 156, 79, 0.15) 100%
  );
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-6);
  align-items: start;
}

.process-step__marker {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-bg-cream);
  border: 1px solid var(--color-gold);
  color: var(--color-gold-dark);
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  line-height: 1;
}

.process-step__content {
  padding-top: var(--space-3);
}

.process-step__title {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  color: var(--color-navy);
  margin: 0 0 var(--space-2) 0;
  line-height: var(--lh-snug);
}

.process-step__content p {
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  margin: 0;
}

@media (max-width: 480px) {
  .process-timeline { gap: var(--space-6); }
  .process-step {
    grid-template-columns: 44px 1fr;
    gap: var(--space-4);
  }
  .process-step__marker {
    width: 44px;
    height: 44px;
    font-size: var(--fs-sm);
  }
  .process-timeline::before {
    left: 22px;
    top: 22px;
    bottom: 22px;
  }
}

/* ============================================
   Form fields (reusable across any future form)
   ============================================ */
.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-field__label {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-navy);
  letter-spacing: var(--ls-tight);
}

.form-field__required {
  color: var(--color-gold-dark);
  font-weight: var(--fw-semibold);
  margin-left: 2px;
}

.form-field__input,
.form-field__textarea,
.form-field__select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  color: var(--color-navy);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--t-fast), background-color var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form-field__input::placeholder,
.form-field__textarea::placeholder {
  color: var(--color-text-light);
}

.form-field__input:hover,
.form-field__textarea:hover,
.form-field__select:hover {
  border-color: var(--color-text-light);
}

.form-field__input:focus,
.form-field__textarea:focus,
.form-field__select:focus {
  border-color: var(--color-gold);
  background-color: var(--color-bg-cream);
}

.form-field__textarea {
  resize: vertical;
  min-height: 160px;
  line-height: var(--lh-relaxed);
}

/* Native :invalid styling — only after user has typed something */
.form-field__input:not(:placeholder-shown):invalid,
.form-field__textarea:not(:placeholder-shown):invalid {
  border-color: var(--color-feedback-error);
}

/* Custom dropdown chevron for select */
.form-field__select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2306203b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  background-size: 12px 8px;
  padding-right: var(--space-8);
  cursor: pointer;
}

/* Disabled placeholder option text in muted tone */
.form-field__select:invalid {
  color: var(--color-text-light);
}
.form-field__select option {
  color: var(--color-navy);
}
.form-field__select option[disabled] {
  color: var(--color-text-light);
}

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

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

/* Honeypot — out of viewport, untouched by humans */
.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
  padding-top: var(--space-3);
}

.contact-form__legal {
  font-size: var(--fs-xs);
  line-height: var(--lh-relaxed);
  color: var(--color-text-muted);
  margin: 0;
  max-width: 460px;
}

.contact-form__legal a {
  color: var(--color-gold-dark);
  text-decoration: underline;
  text-decoration-color: var(--color-gold-light);
  text-underline-offset: 3px;
}

.contact-form__legal a:hover {
  text-decoration-color: var(--color-gold);
}

/* Submission status — populated by JS in phase 10. Static styles only here. */
.contact-form__status {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  border-radius: var(--radius-sm);
}

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

.contact-form__status.is-success {
  color: var(--color-gold-dark);
  background-color: var(--color-bg-cream);
  padding: var(--space-4) var(--space-5);
  border-left: 2px solid var(--color-gold);
}

.contact-form__status.is-error {
  color: var(--color-feedback-error);
  background-color: var(--color-feedback-error-bg);
  padding: var(--space-4) var(--space-5);
  border-left: 2px solid var(--color-feedback-error);
}

@media (max-width: 640px) {
  .contact-form__row {
    grid-template-columns: 1fr;
  }
  .contact-form__footer {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-form__footer .btn {
    width: 100%;
  }
}

/* ============================================
   Contact info sidebar
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-10);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding: var(--space-8) var(--space-7);
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border-soft);
}

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

.contact-info__label {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--color-gold);
  margin: 0;
}

.contact-info__value {
  font-family: var(--font-sans);
  font-size: var(--fs-lg);
  color: var(--color-navy);
  margin: 0;
  line-height: var(--lh-snug);
  word-break: break-word;
  transition: color var(--t-fast);
}

a.contact-info__value:hover {
  color: var(--color-gold-dark);
}

.contact-info__block--legal {
  margin-top: var(--space-3);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
}

.contact-info__legal {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  line-height: var(--lh-relaxed);
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }
  .contact-info {
    order: -1;
  }
}

/* ============================================================
   Reduced-motion guard — Values + Commitments card reveals
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .principle-card,
  .expertise-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .principle-card:hover,
  .expertise-card:hover {
    transform: none;
  }
  .principle-card__roman,
  .expertise-card::before,
  .expertise-card::after,
  .principle-card__title::after {
    transition: none;
  }
}

/* ============================================================
   Contact form status states (success / error)
   ============================================================ */

.contact-form__status {
  margin-top: var(--space-4);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-form__status--success {
  padding: var(--space-4) var(--space-5);
  background: rgba(200, 156, 79, 0.08);
  border-left: 3px solid var(--color-gold);
  color: var(--color-navy);
}

.contact-form__status--error {
  padding: var(--space-4) var(--space-5);
  background: var(--color-feedback-error-bg);
  border-left: 3px solid var(--color-feedback-error);
  color: var(--color-feedback-error);
}

/* ============================================================
   Legal pages typography (privacy, legal notice)
   ============================================================ */

.legal-content {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
}

.legal-content__meta {
  font-family: var(--font-sans);
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--color-text-muted, var(--color-text-light));
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(200, 156, 79, 0.20);
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  color: var(--color-navy);
  letter-spacing: 0.02em;
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  margin: 0 0 var(--space-4);
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 var(--space-5) var(--space-6);
  padding: 0;
}

.legal-content li {
  margin-bottom: var(--space-2);
}

.legal-content li::marker {
  color: var(--color-gold);
}

.legal-content strong {
  font-weight: 600;
  color: var(--color-navy);
}

.legal-content a {
  color: var(--color-gold-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(200, 156, 79, 0.45);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.legal-content a:hover {
  color: var(--color-gold);
  text-decoration-color: var(--color-gold);
}

/* ============================================================
   Who we are — spacing between text and Learn more CTA
   ============================================================ */
#who-we-are .btn {
  margin-top: var(--space-5);
}

/* ============================================================
   Network feature — 2-column text + floating tiltable card
   ============================================================ */

.network-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(var(--space-8), 6vw, var(--space-12));
  align-items: center;
}

@media (max-width: 968px) {
  .network-feature {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

.network-feature__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  text-align: left;
}

.network-feature__content > .eyebrow {
  margin-bottom: var(--space-1);
}

.network-feature__content > p {
  text-align: left;
  margin: 0;
  max-width: 560px;
}

.network-feature__content > p.text-lead {
  max-width: 540px;
}

.network-feature__cta {
  margin-top: var(--space-3);
}

/* === Card visual === */

.network-feature__visual {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.network-card {
  width: 100%;
  max-width: 480px;
  cursor: pointer;
}

@media (max-width: 968px) {
  .network-card {
    max-width: 380px;
  }
}

.network-card__float {
  animation: network-card-float 5.5s ease-in-out infinite;
  will-change: transform;
}

.network-card__tilt {
  position: relative;
  transition: transform 0.15s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 14px 28px rgba(6, 32, 59, 0.18),
    0 28px 60px rgba(6, 32, 59, 0.22);
}

.network-card__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

@keyframes network-card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
  .network-card__float {
    animation: none;
  }
  .network-card__tilt {
    transition: none;
    transform: none !important;
  }
}
