/* =============================================================
   LUXURY.CSS — WVW Premium Animation & Interaction Layer
   Based on Emil Kowalski's design engineering principles
   ============================================================= */

/* ── STRONG EASING CURVES ─────────────────────────────────────
   Real-world objects never start or stop abruptly.
   These custom curves have the punch CSS built-ins lack.
   ─────────────────────────────────────────────────────────── */
:root {
  --ease-out-strong:  cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out-strong: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer:      cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring:      cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-bounce:      cubic-bezier(0.34, 1.3, 0.64, 1);
}

/* ── GOLD SHIMMER ─────────────────────────────────────────────
   Slow, subtle — not a disco ball. Just enough to signal
   something worth pressing.
   ─────────────────────────────────────────────────────────── */
@keyframes gold-shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.btn-gold {
  background-image: linear-gradient(
    90deg,
    var(--color-gold)       0%,
    #e8c870                30%,
    var(--color-gold-hover) 50%,
    var(--color-gold)       100%
  ) !important;
  background-size: 200% auto !important;
  animation: gold-shimmer 7s linear infinite;
}

/* ── BUTTON PRESS FEEDBACK ────────────────────────────────────
   Every pressable element must acknowledge the press.
   Nothing in the real world sits perfectly still on impact.
   ─────────────────────────────────────────────────────────── */
.btn {
  transition:
    transform   160ms var(--ease-out-strong),
    box-shadow  200ms var(--ease-out-strong),
    opacity     200ms var(--ease-out-strong) !important;
  will-change: transform;
}

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

/* Gate hover lifts to devices that can actually hover */
@media (hover: hover) and (pointer: fine) {
  .btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  }
  .btn:not(:disabled):active {
    transform: scale(0.97) !important;
    box-shadow: none;
  }
}

/* ── ENHANCED SCROLL REVEAL ───────────────────────────────────
   Upgrade from opacity-only to a upward drift + opacity.
   Elements don't teleport in — they arrive.
   ─────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity   680ms var(--ease-out-strong),
    transform 680ms var(--ease-out-strong);
}

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

/* Cascading delays — each layer lands after the previous */
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* ── STAGGER CHILDREN ─────────────────────────────────────────
   When a group enters, stagger each child 50ms apart.
   Maximum 6 children — beyond that nobody notices anyway.
   ─────────────────────────────────────────────────────────── */
.stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity   400ms var(--ease-out-strong),
    transform 400ms var(--ease-out-strong);
}
.stagger.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay:   0ms; }
.stagger.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay:  50ms; }
.stagger.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 100ms; }
.stagger.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 150ms; }
.stagger.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 200ms; }
.stagger.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 250ms; }

/* ── CARD HOVER — GOLD BORDER TRICK ──────────────────────────
   Two-layer mask reveals a gradient border only on hover.
   Uses only transform + opacity — no layout reflows.
   ─────────────────────────────────────────────────────────── */
.card-lux {
  position: relative;
  transition:
    transform   250ms var(--ease-out-strong),
    box-shadow  250ms var(--ease-out-strong);
}

.card-lux::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(135deg,
    rgba(201, 168, 76, 0.55) 0%,
    rgba(201, 168, 76, 0.15) 50%,
    transparent 100%
  ) border-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 200ms var(--ease-out-strong);
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .card-lux:hover {
    transform: translateY(-3px);
    box-shadow:
      0 0 0 1px rgba(201, 168, 76, 0.22),
      0 12px 40px rgba(26, 18, 18, 0.12),
      0 4px 12px rgba(26, 18, 18, 0.06);
  }
  .card-lux:hover::after { opacity: 1; }
}

/* ── GLASSMORPHISM SURFACE ────────────────────────────────────
   For hero overlays and modal panels on dark backgrounds.
   Keep blur < 24px to avoid Safari paint cost.
   ─────────────────────────────────────────────────────────── */
.glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

/* ── GOLD TEXT GRADIENT ───────────────────────────────────────  */
.text-gold {
  background: linear-gradient(135deg, #e0ba5f 0%, var(--color-gold) 40%, #b8822e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* ── ANIMATED GOLD RULE ───────────────────────────────────────  */
@keyframes rule-expand {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0);   }
}

.gold-rule {
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
  margin: var(--space-4) 0;
}

.gold-rule-animated {
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
  animation: rule-expand 700ms var(--ease-out-strong) both;
}

/* ── CLIP-PATH TEXT REVEAL ────────────────────────────────────
   More dramatic than an opacity fade. The text literally
   wipes into existence from the bottom up.
   ─────────────────────────────────────────────────────────── */
.reveal-clip {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 600ms var(--ease-out-strong);
}
.reveal-clip.visible {
  clip-path: inset(0 0 0% 0);
}

/* ── PARALLAX HINT ────────────────────────────────────────────
   JS will read this variable. CSS handles the transform.
   Keeps JS free from layout thrashing.
   ─────────────────────────────────────────────────────────── */
.parallax-hero {
  will-change: transform;
}

/* ── JOB CARD (opportunities page) ───────────────────────────  */
.job-card {
  background: var(--color-surface-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-divider);
  padding: var(--space-6) var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* ── APPLICATION MODAL — DRAWER PATTERN ──────────────────────
   Slides from the bottom, like a native sheet on iOS.
   Easing is the iOS drawer curve — it overshoots slightly
   at the top which communicates elasticity and life.
   ─────────────────────────────────────────────────────────── */
.apply-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: flex-end;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: background 300ms var(--ease-out-strong);
}

.apply-overlay.open {
  background: rgba(26, 18, 18, 0.78);
  pointer-events: all;
}

.apply-sheet {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  background: var(--color-surface-2);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  border-top: 1px solid var(--color-divider);
  transform: translateY(100%);
  transition: transform 420ms var(--ease-drawer);
  max-height: 90svh;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.apply-overlay.open .apply-sheet {
  transform: translateY(0);
}

/* Sheet handle */
.apply-sheet-handle {
  width: 36px;
  height: 4px;
  background: var(--color-border);
  border-radius: 999px;
  margin: var(--space-3) auto var(--space-6);
}

.apply-sheet-inner {
  padding: 0 var(--space-8) var(--space-10);
}

.apply-sheet-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: var(--space-2);
}

.apply-sheet-role {
  font-size: var(--text-sm);
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: var(--space-6);
}

/* Form fields */
.apply-field {
  margin-bottom: var(--space-5);
}

.apply-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}
.apply-label span { color: var(--color-gold); }

.apply-input,
.apply-textarea,
.apply-select {
  width: 100%;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  transition:
    border-color 180ms var(--ease-out-strong),
    box-shadow   180ms var(--ease-out-strong);
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

.apply-input::placeholder,
.apply-textarea::placeholder { color: var(--color-text-faint); }

.apply-input:focus,
.apply-textarea:focus,
.apply-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-highlight);
}

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

.apply-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

@media (max-width: 520px) {
  .apply-row { grid-template-columns: 1fr; }
  .apply-sheet-inner { padding: 0 var(--space-5) var(--space-8); }
}

/* Submit button state machine */
.apply-submit {
  width: 100%;
  padding: var(--space-4);
  font-size: var(--text-base);
  font-weight: 700;
  margin-top: var(--space-2);
  position: relative;
  overflow: hidden;
}

/* Success screen */
.apply-success {
  display: none;
  text-align: center;
  padding: var(--space-12) var(--space-8);
}

.apply-success-icon {
  width: 56px;
  height: 56px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  animation: icon-pop 400ms var(--ease-spring) both;
}

@keyframes icon-pop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.apply-success-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.apply-success-body {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 40ch;
  margin: 0 auto;
}

/* ── JOB BOARD GRID ───────────────────────────────────────────  */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-5);
}

.job-card-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
}
.badge-intern     { background: #dbeafe; color: #1d4ed8; }
.badge-volunteer  { background: #fef9c3; color: #854d0e; }
.badge-employee   { background: #dcfce7; color: #15803d; }
.badge-consultant { background: #f3e8ff; color: #7c3aed; }
.badge-instructor { background: #ffe4e6; color: #be123c; }

[data-theme="dark"] .badge-intern     { background: rgba(29,78,216,0.2);  color: #93c5fd; }
[data-theme="dark"] .badge-volunteer  { background: rgba(133,77,14,0.2);  color: #fde68a; }
[data-theme="dark"] .badge-employee   { background: rgba(21,128,61,0.2);  color: #86efac; }
[data-theme="dark"] .badge-consultant { background: rgba(124,58,237,0.2); color: #c4b5fd; }
[data-theme="dark"] .badge-instructor { background: rgba(190,18,60,0.2);  color: #fda4af; }

.job-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.job-card-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.job-card-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.job-card-meta-item svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

.job-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

.job-card-footer {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.job-card-comp {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ── HERO PARALLAX WRAPPER ────────────────────────────────────  */
.opp-hero-inner {
  position: relative;
  z-index: 1;
}

/* Large decorative number in hero */
.opp-hero-deco {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 18rem);
  font-weight: 300;
  line-height: 1;
  color: rgba(255,255,255,0.03);
  letter-spacing: -0.05em;
  user-select: none;
  pointer-events: none;
}

/* ── TAB INDICATOR SLIDE ──────────────────────────────────────
   The active indicator is a pill that moves between tabs,
   built by tracking offsetLeft + width in JS.
   ─────────────────────────────────────────────────────────── */
.role-nav-wrap {
  position: relative;
}

.role-nav-indicator {
  position: absolute;
  bottom: -2px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 999px;
  transition:
    left  250ms var(--ease-out-strong),
    width 250ms var(--ease-out-strong);
  pointer-events: none;
}

/* ── REDUCE MOTION ────────────────────────────────────────────
   Remove ALL movement. Keep opacity changes — they aid
   comprehension without causing vestibular issues.
   ─────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-clip,
  .stagger > *,
  .card-lux,
  .apply-sheet {
    transition: opacity 200ms ease !important;
    transform: none !important;
    clip-path: none !important;
    animation: none !important;
  }

  .reveal                { opacity: 0; }
  .reveal.visible        { opacity: 1; }
  .stagger > *           { opacity: 0; }
  .stagger.visible > *   { opacity: 1; }
  .apply-overlay.open .apply-sheet { transform: none !important; }

  .btn-gold              { animation: none !important; background-image: none !important; background: var(--color-gold) !important; }
  .apply-success-icon    { animation: none !important; }
  .parallax-hero         { transform: none !important; }
}

/* ── TYPOGRAPHY READABILITY ───────────────────────────────────
   Generous line-height for body text blocks. Longer reading
   measure (65ch) breathes better at the larger text size.
   ─────────────────────────────────────────────────────────── */
.section-subtitle,
.pillar-body,
.service-card-body,
.cta-band-body,
.hero-body,
.blog-card-excerpt,
.apply-success-body {
  line-height: 1.78;
}

.testimonial-quote {
  line-height: 1.65;
}

/* ── TESTIMONIAL GOLD QUOTE MARKS ─────────────────────────────
   Decorative open-quote rendered as a gold display character
   above each testimonial. display:block keeps it in-flow so
   padding tricks aren't needed.
   ─────────────────────────────────────────────────────────── */
.testimonial-quote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 0.6;
  display: block;
  margin-bottom: var(--space-4);
  color: var(--color-gold);
  opacity: 0.6;
  pointer-events: none;
  user-select: none;
}

/* ── BUTTON PRIMARY GLOW ──────────────────────────────────────
   Warm brand-colored glow on hover. Reinforces the press target
   without adding visual noise at rest.
   ─────────────────────────────────────────────────────────── */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:not(:disabled):hover {
    box-shadow:
      0 6px 20px rgba(61, 14, 34, 0.38),
      0 0 0 1px rgba(61, 14, 34, 0.15),
      var(--shadow-md);
  }
}

/* ── SECTION SUBTITLE MAX WIDTH ───────────────────────────────
   Wider measure (65ch) breathes better at larger text sizes.
   ─────────────────────────────────────────────────────────── */
.section-subtitle {
  max-width: 65ch;
}

/* ── ACCORDION OPEN ANIMATION ────────────────────────────────
   Content fades and slides in from slightly above its resting
   position — makes it feel like the section is opening, not
   snapping.
   ─────────────────────────────────────────────────────────── */
@keyframes accordion-open {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.accordion-content.open {
  animation: accordion-open 240ms var(--ease-out-strong) both;
}

/* ── ACCORDION TRIGGER ACTIVE STATE ──────────────────────────
   The trigger gets the gold accent color when open.
   ─────────────────────────────────────────────────────────── */
.accordion-trigger[aria-expanded="true"] {
  color: var(--color-primary);
}

/* ── LINK ARROW ANIMATION ─────────────────────────────────────
   "Learn more →" links: the arrow nudges right on hover.
   Uses gap instead of margin so the motion doesn't cause reflow.
   ─────────────────────────────────────────────────────────── */
a[class*="-link"]:hover svg,
.academy-callout-link:hover svg {
  transform: translateX(3px);
  transition: transform 160ms var(--ease-out-strong);
}

a[class*="-link"] svg,
.academy-callout-link svg {
  transition: transform 160ms var(--ease-out-strong);
}

/* ── SECTION EYEBROW ACCENT ───────────────────────────────────
   Tiny gold dot before each eyebrow label. Reads as "live."
   ─────────────────────────────────────────────────────────── */
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  margin-right: 0.5rem;
  vertical-align: middle;
  opacity: 0.85;
}

/* ── CARD FOCUS RING POLISH ───────────────────────────────────
   Cards that are links get a branded focus ring.
   ─────────────────────────────────────────────────────────── */
.blog-card:focus-visible,
.pillar-card:focus-visible,
.service-card:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* ── FOOTER BRAND NAME GOLD GRADIENT ─────────────────────────
   Subtle: only the footer wordmark gets the gradient treatment.
   ─────────────────────────────────────────────────────────── */
.footer-brand-name {
  background: linear-gradient(135deg, #ffffff 0%, rgba(201,169,110,0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── NAV ACTIVE INDICATOR ─────────────────────────────────────
   Active nav link gets a gold underline instead of a background.
   More refined than a filled chip on a light header.
   ─────────────────────────────────────────────────────────── */
.nav-links a.active {
  color: var(--color-text) !important;
  background: transparent !important;
  position: relative;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-gold);
}

/* ── SERVICE CARD ICON GLOW ───────────────────────────────────
   Pillar numbers pulse with a very subtle glow.
   ─────────────────────────────────────────────────────────── */
.pillar-number {
  transition: opacity 200ms ease;
}

.pillar-card:hover .pillar-number {
  opacity: 0.45;
}

/* ── HERO STAT NUMBER GRADIENT ────────────────────────────────
   The stat numbers (25+, 100%) get the gold gradient.
   ─────────────────────────────────────────────────────────── */
.hero-stat-number[data-count] {
  background: linear-gradient(135deg, #ffffff 30%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BLOCKQUOTE / PULLQUOTE REFINEMENT ───────────────────────
   Pages that have blockquotes get a bit more breathing room.
   ─────────────────────────────────────────────────────────── */
blockquote {
  border-left-color: var(--color-gold);
  font-size: var(--text-lg);
}

/* ── SMOOTH IMAGE LOADING ─────────────────────────────────────
   Images fade in as they load rather than snapping.
   ─────────────────────────────────────────────────────────── */
img {
  transition: opacity 300ms ease;
}

img[loading="lazy"] {
  opacity: 0;
}

img[loading="lazy"].loaded,
img:not([loading]) {
  opacity: 1;
}

/* ── INPUT FOCUS GLOW ─────────────────────────────────────────
   Upgrade the default box-shadow focus to a brand-colored glow.
   ─────────────────────────────────────────────────────────── */
input:focus,
textarea:focus,
select:focus,
.apply-input:focus,
.apply-textarea:focus,
.apply-select:focus {
  box-shadow: 0 0 0 3px rgba(61, 14, 34, 0.12), 0 0 0 1px var(--color-primary) !important;
}

/* ── BADGE HOVER REFINEMENT ───────────────────────────────────
   Trust badges have subtle hover lift.
   ─────────────────────────────────────────────────────────── */
.badge {
  transition: transform 160ms var(--ease-out-strong), box-shadow 160ms var(--ease-out-strong);
}

@media (hover: hover) and (pointer: fine) {
  .badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(61, 14, 34, 0.12);
  }
}

/* ── ANIMATED UNDERLINE LINKS ─────────────────────────────────
   Body prose links get a gold underline that draws itself.
   Only applies to links inside content — not buttons or nav.
   ─────────────────────────────────────────────────────────── */
.meet-tiana-text-col a,
.service-section-desc a,
.service-for-text a,
article p a {
  color: var(--color-primary);
  text-decoration: none;
  background-image: linear-gradient(var(--color-gold), var(--color-gold));
  background-size: 0% 1.5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 300ms var(--ease-out-strong), color 200ms;
}

.meet-tiana-text-col a:hover,
.service-section-desc a:hover,
.service-for-text a:hover,
article p a:hover {
  background-size: 100% 1.5px;
  color: var(--color-primary);
}

/* ── SERVICE CARD LINK ARROW ANIMATION ────────────────────────
   The "Learn more →" link lifts and the arrow drifts right.
   ─────────────────────────────────────────────────────────── */
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: gap 220ms var(--ease-out-strong), color 160ms;
  margin-top: auto;
}

.service-card-link svg {
  transition: transform 220ms var(--ease-out-strong);
  flex-shrink: 0;
}

@media (hover: hover) and (pointer: fine) {
  .service-card-link:hover {
    gap: var(--space-3);
    color: var(--color-gold-active);
  }
  .service-card-link:hover svg {
    transform: translateX(3px);
  }
}

/* ── SECTION TITLE — REFINED WEIGHT & SCALE ───────────────────
   Display headings need optical sizing at large scale.
   ─────────────────────────────────────────────────────────── */
@supports (font-size-adjust: 1) {
  .section-title { font-size-adjust: 0.52; }
}

/* ── TESTIMONIAL CARD QUOTE MARK ──────────────────────────────
   Large decorative opener — more editorial.
   ─────────────────────────────────────────────────────────── */
.testimonial-card {
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.8;
  color: var(--color-gold);
  opacity: 0.15;
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  pointer-events: none;
  user-select: none;
}

/* ── HERO BODY — BETTER MEASURE ───────────────────────────────
   Slightly tighter for readability at hero font size.
   ─────────────────────────────────────────────────────────── */
.hero-body {
  max-width: 46ch !important;
  line-height: 1.65 !important;
}

/* ── STAGGER — TIGHTER FOR MORE ELEGANCE ─────────────────────
   Faster stagger offset = appears more unified, less choppy.
   ─────────────────────────────────────────────────────────── */
.stagger > * {
  transition-duration: 500ms !important;
}
.stagger.visible > *:nth-child(1) { transition-delay:   0ms !important; }
.stagger.visible > *:nth-child(2) { transition-delay:  45ms !important; }
.stagger.visible > *:nth-child(3) { transition-delay:  90ms !important; }
.stagger.visible > *:nth-child(4) { transition-delay: 135ms !important; }
.stagger.visible > *:nth-child(5) { transition-delay: 180ms !important; }
.stagger.visible > *:nth-child(6) { transition-delay: 225ms !important; }

/* ══════════════════════════════════════════════════════════════
   ALIVE LAYER — Emil Kowalski: the thousand barely-audible
   voices all singing in tune. Everything you don't notice
   is doing exactly what it's supposed to do.
   ══════════════════════════════════════════════════════════════ */

/* ── PAGE FADE-IN ─────────────────────────────────────────────
   First impression. One-time, 260ms. Sets the luxe tone before
   a single element moves. Nothing starts abruptly.
   ─────────────────────────────────────────────────────────── */
@keyframes page-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body { animation: page-in 260ms var(--ease-out-strong) both; }

/* ── NAV UNDERLINE SLIDE ──────────────────────────────────────
   Replaces the small centered dot. Full-width gold rule draws
   left-to-right on hover; stays for the active page.
   Gated behind hover:hover — touch never triggers false.
   ─────────────────────────────────────────────────────────── */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--color-gold);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 220ms var(--ease-out-strong);
  border-radius: 2px;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover::after { transform: scaleX(1); }
}
.nav-links a.active::after {
  transform: scaleX(1);
  left: 0;
  bottom: -3px;
  transform-origin: left;
}

/* ── HERO SEQUENCED ENTRANCE ──────────────────────────────────
   Each element arrives in order. `.hero-ready` is added by JS
   via double-rAF so the initial hidden state paints first.
   eyebrow → heading clip → body → CTAs → stats → photo
   ─────────────────────────────────────────────────────────── */
.hero-eyebrow,
.hero-body,
.hero-actions,
.hero-proof {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity   520ms var(--ease-out-strong),
    transform 520ms var(--ease-out-strong);
}
.hero-heading {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 680ms var(--ease-out-strong) 100ms;
}
.hero-visual-wrap {
  opacity: 0;
  transform: translateX(22px) scale(0.97);
  transition:
    opacity   800ms var(--ease-out-strong) 160ms,
    transform 800ms var(--ease-out-strong) 160ms;
}
.hero-ready .hero-eyebrow     { opacity: 1; transform: none; transition-delay:   0ms; }
.hero-ready .hero-heading     { clip-path: inset(0 0 0% 0); }
.hero-ready .hero-body        { opacity: 1; transform: none; transition-delay: 270ms; }
.hero-ready .hero-actions     { opacity: 1; transform: none; transition-delay: 390ms; }
.hero-ready .hero-proof       { opacity: 1; transform: none; transition-delay: 530ms; }
.hero-ready .hero-visual-wrap { opacity: 1; transform: none; }

/* ── REVEAL: translate + scale ───────────────────────────────
   Cards scale from 0.985 → 1 as they enter. Nobody notices.
   It compounds with the translateY into something that lands.
   ─────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition:
    opacity   520ms var(--ease-out-strong),
    transform 520ms var(--ease-out-strong);
}
.reveal.visible { opacity: 1; transform: none; }

/* ── SECTION EYEBROW CLIP DRAW ───────────────────────────────
   Inside reveal parents, the eyebrow text wipes in left→right.
   ─────────────────────────────────────────────────────────── */
.reveal .section-eyebrow {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 460ms var(--ease-out-strong) 60ms;
}
.reveal.visible .section-eyebrow { clip-path: inset(0 0% 0 0); }

/* ── GOLD RULE DRAW ───────────────────────────────────────────
   The rule draws itself left to right on section entrance.
   ─────────────────────────────────────────────────────────── */
.reveal .gold-rule {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 600ms var(--ease-out-strong) 160ms;
}
.reveal.visible .gold-rule { clip-path: inset(0 0% 0 0); }

/* ── PROCESS + PILLAR NUMBERS GOLD ON LAND ───────────────────
   Numbers glow gold when the card becomes visible.
   The color shift lags the card entrance — it punctuates.
   ─────────────────────────────────────────────────────────── */
.process-number {
  color: var(--color-text-faint);
  transition: color 380ms var(--ease-out-strong) 480ms;
}
.reveal.visible .process-number { color: var(--color-gold); }

/* ── HERO VISUAL SPRING PARALLAX ─────────────────────────────
   JS runs a spring loop, setting `transform` directly.
   The CSS transition is intentionally absent — the JS spring
   IS the easing. will-change hints GPU compositing.
   ─────────────────────────────────────────────────────────── */
.hero-visual { will-change: transform; }

/* ── FLOATING CTA BREATHE ─────────────────────────────────────
   Gold glow pulses gently after 1.5s. Draws the eye without
   competing with the content above it.
   ─────────────────────────────────────────────────────────── */
@keyframes cta-breathe {
  0%, 100% { box-shadow: 0 4px 18px rgba(201, 168, 76, 0.22), 0 2px 8px rgba(0,0,0,0.18); }
  50%       { box-shadow: 0 4px 36px rgba(201, 168, 76, 0.52), 0 2px 8px rgba(0,0,0,0.18); }
}
.float-cta.visible { animation: cta-breathe 3.6s ease-in-out infinite 1.5s; }

/* ── REDUCED MOTION OVERRIDE ──────────────────────────────────
   Respects OS-level "reduce motion" preference.
   All transforms and keyframe animations disabled.
   Opacity-only transitions kept (< 200ms, non-spatial).
   ─────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Reveal elements: show immediately, no drift */
  .reveal,
  .reveal-clip {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }

  /* Stagger children: all visible instantly */
  .stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Cards: no lift on hover */
  .card-lux,
  .pillar-card,
  .service-card,
  .testimonial-card {
    transform: none !important;
    transition: box-shadow 150ms ease !important;
  }

  /* Buttons: no shimmer, no lift */
  .btn-gold { animation: none !important; }
  .btn { transform: none !important; }

  /* Float CTA & breathing glow */
  .float-cta.visible { animation: none !important; }

  /* Hero elements already visible */
  .hero-eyebrow,
  .hero-heading,
  .hero-body,
  .hero-actions,
  .hero-proof,
  .hero-visual-wrap {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }

  /* Gold rule: no sweep animation */
  .gold-rule-animated { animation: none !important; }

  /* Process number: static */
  .process-number { transition: none !important; }
}

/* ══════════════════════════════════════════════════════════════
   VELVET DEPTH LAYER v2.1 — WVW "Velvet Executive Era"
   Goal: eliminate flat. Every surface has weight, grain, glow.
   ══════════════════════════════════════════════════════════════ */

/* ── AT-REST CARD DEPTH ───────────────────────────────────────
   Cards have real presence before the user ever hovers.
   Three-layer ambient shadow — invisible individually,
   unmistakable together.
   ─────────────────────────────────────────────────────────── */
.card-lux,
.pillar-card,
.service-card,
.blog-card,
.job-card,
.testimonial-card {
  box-shadow: var(--shadow-card);
  transition:
    transform   260ms var(--ease-out-strong),
    box-shadow  260ms var(--ease-out-strong);
}

@media (hover: hover) and (pointer: fine) {
  .card-lux:hover,
  .pillar-card:hover,
  .service-card:hover,
  .blog-card:hover,
  .testimonial-card:hover {
    transform: translateY(-4px) scale(1.005);
    box-shadow:
      0 0 0 1px rgba(201,169,110,0.18),
      0 16px 48px rgba(14,5,8,0.18),
      0 6px 16px rgba(14,5,8,0.10),
      0 2px 4px rgba(14,5,8,0.06);
  }
}

/* ── HERO GRAIN TEXTURE ───────────────────────────────────────
   SVG feTurbulence noise overlay on the hero + dark panels.
   Reads as luxury grain — like quality print or fine fabric.
   Opacity is intentionally whisper-level.
   ─────────────────────────────────────────────────────────── */
.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.038;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}

/* ── HERO RADIAL GOLD GLOW ────────────────────────────────────
   A soft gold atmospheric glow — sits behind the photo.
   Pulses once on load, then settles. Never competes with text.
   ─────────────────────────────────────────────────────────── */
@keyframes glow-settle {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

.hero-glow {
  position: absolute;
  width: clamp(500px, 60vw, 900px);
  height: clamp(400px, 50vw, 700px);
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(201,169,110,0.14) 0%,
    rgba(201,169,110,0.06) 35%,
    transparent 70%
  );
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
  animation: glow-settle 1200ms var(--ease-out-strong) 200ms both;
}

/* ── SECTION GOLD SEPARATOR ───────────────────────────────────
   A hair-thin gradient line that fades at both edges.
   Creates section rhythm without heavy dividers.
   ─────────────────────────────────────────────────────────── */
.section-sep {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(201,169,110,0.35) 25%,
    rgba(201,169,110,0.55) 50%,
    rgba(201,169,110,0.35) 75%,
    transparent 100%
  );
  margin: 0;
  border: none;
}

/* ── DARK SECTION DEPTH ───────────────────────────────────────
   Dark panels (hero, who-we-serve, cta-band) get a very subtle
   top→bottom vignette and a faint burgundy glow at the center.
   ─────────────────────────────────────────────────────────── */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 60% at 20% 80%, rgba(61,14,34,0.25) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.20) 100%);
  pointer-events: none;
  z-index: 0;
}

.who-we-serve-strip {
  position: relative;
  overflow: hidden;
}
.who-we-serve-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 120% at 50% 50%, rgba(201,169,110,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ── PROCESS STEP WATERMARK NUMBER ───────────────────────────
   The step number as a giant background glyph.
   Adds editorial depth — visible enough to anchor, invisible
   enough to not compete.
   ─────────────────────────────────────────────────────────── */
.process-step {
  position: relative;
  overflow: hidden;
}

.process-number {
  position: absolute;
  top: -0.15em;
  right: -0.05em;
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 700;
  font-family: var(--font-display);
  line-height: 1;
  color: var(--color-gold);
  opacity: 0.06;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.04em;
  z-index: 0;
  transition: opacity 600ms var(--ease-out-strong) 480ms;
}

.reveal.visible .process-number {
  opacity: 0.09;
}

/* ── TRUST BADGE GOLD ICONS ───────────────────────────────────
   The small SVG icons in trust badges get the gold color and
   a very faint glow to make them feel intentional, not token.
   ─────────────────────────────────────────────────────────── */
.trust-badge-row svg,
.trust-badges svg {
  color: var(--color-gold) !important;
  stroke: var(--color-gold) !important;
  filter: drop-shadow(0 0 4px rgba(201,169,110,0.3));
  transition: filter 200ms ease;
}

/* ── TESTIMONIAL QUOTE MARK — MORE PRESENCE ──────────────────
   Increase presence. At 0.15 opacity it's barely there.
   0.25 lets it breathe as editorial decoration.
   ─────────────────────────────────────────────────────────── */
.testimonial-card::before {
  opacity: 0.25 !important;
  font-size: clamp(4rem, 7vw, 6rem) !important;
}

/* ── SECTION HEADER — TIGHTER EYEBROW → TITLE CONTRAST ───────
   The eyebrow and title are currently close in visual weight.
   Tighten the gap so the jump from small-caps to display feels
   more decisive and editorial.
   ─────────────────────────────────────────────────────────── */
.section-header {
  margin-bottom: clamp(var(--space-10), 5vw, var(--space-16));
}

.section-eyebrow {
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.20em;
  color: var(--color-gold);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  font-family: var(--font-body);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: var(--space-5);
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.78;
}

/* ── HERO PHOTO — UPGRADED SHADOW & RING ─────────────────────
   Replace the plain box-shadow with our luxury token.
   The ring outside the image adds a second visual layer.
   ─────────────────────────────────────────────────────────── */
.hero-visual {
  box-shadow: var(--shadow-hero-photo) !important;
}

/* ── BTN-GOLD GLOW ON HOVER ───────────────────────────────────
   Gold button gets an ambient warm glow.
   ─────────────────────────────────────────────────────────── */
@media (hover: hover) and (pointer: fine) {
  .btn-gold:not(:disabled):hover {
    box-shadow:
      0 6px 24px rgba(201,169,110,0.40),
      0 0 0 1px rgba(201,169,110,0.30),
      0 2px 8px rgba(14,5,8,0.10);
  }
}

/* ── FOOTER DEPTH ─────────────────────────────────────────────
   Footer dark surface gets grain + subtle top border glow.
   ─────────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(201,169,110,0.4) 30%,
    rgba(201,169,110,0.65) 50%,
    rgba(201,169,110,0.4) 70%,
    transparent 100%
  );
}

/* ── NAV SCROLL GLOW ──────────────────────────────────────────
   When scrolled, header gets a faint gold bottom line instead
   of just a box-shadow.
   ─────────────────────────────────────────────────────────── */
.site-header.scrolled {
  box-shadow:
    0 1px 0 rgba(201,169,110,0.12),
    0 2px 16px rgba(14,5,8,0.08),
    0 4px 32px rgba(14,5,8,0.05) !important;
  border-bottom-color: rgba(201,169,110,0.15) !important;
}

/* ── GOLD RULE — MORE PRESENCE ────────────────────────────────
   Thicker, more saturated, longer reach.
   ─────────────────────────────────────────────────────────── */
.gold-rule {
  height: 2px !important;
  background: linear-gradient(90deg,
    var(--color-gold) 0%,
    rgba(201,169,110,0.4) 60%,
    transparent 100%
  ) !important;
  width: 80px;
  margin: var(--space-5) 0 !important;
}

/* ── PILLAR CARD IMAGE OVERLAY ────────────────────────────────
   Gradient overlay on card images so text above them
   has contrast and they feel more editorial.
   ─────────────────────────────────────────────────────────── */
.pillar-card {
  position: relative;
  overflow: hidden;
}

.pillar-card-img {
  position: relative;
}

.pillar-card-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to bottom, transparent, rgba(14,5,8,0.4));
  pointer-events: none;
}

/* ── ACADEMY CALLOUT BOX DEPTH ────────────────────────────────
   The dark callout box gets gold glow shadow on hover.
   ─────────────────────────────────────────────────────────── */
.academy-callout-box {
  transition: box-shadow 300ms var(--ease-out-strong);
}

@media (hover: hover) and (pointer: fine) {
  .academy-callout-box:hover {
    box-shadow: var(--shadow-gold);
  }
}

/* ── MEET TIÁNA PHOTO DEPTH ───────────────────────────────────
   The portrait in the about/bio section gets a luxury shadow.
   ─────────────────────────────────────────────────────────── */
.meet-tiana-photo {
  box-shadow:
    0 2px 4px rgba(14,5,8,0.08),
    0 12px 40px rgba(14,5,8,0.18),
    0 32px 64px rgba(14,5,8,0.12),
    0 0 0 1px rgba(201,169,110,0.15);
  border-radius: var(--radius-lg);
}
