/* ═══════════════════════════════════════════════════════
   GLOBAL OVERFLOW GUARD
   `clip` (not `hidden`) stops stray horizontal scroll from
   decorative ornaments WITHOUT breaking position:sticky.
═══════════════════════════════════════════════════════ */
html { overflow-x: clip; }
body { overflow-x: clip; position: relative; width: 100%; }

/* ═══════════════════════════════════════════════════════
   SECTION FX — Animated decorative backdrops
   Used on .stat-moment, .about-v2, .featured-case, .pricing-v2
   Builds on the hero illustration design language
═══════════════════════════════════════════════════════ */

/* ─── Shared animation primitives ─── */
@keyframes fx-ring-rotate { to { transform: translate(var(--tx, 0), var(--ty, 0)) rotate(360deg); } }
@keyframes fx-pulse-soft {
  0%, 100% { transform: scale(1); opacity: var(--pulse-base, 0.4); }
  50%      { transform: scale(1.15); opacity: var(--pulse-peak, 0.7); }
}
@keyframes fx-float-y {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes fx-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(200,84,46,0.18); }
  50%      { box-shadow: 0 0 0 9px rgba(200,84,46,0.04); }
}


/* ═══════════════════════════════════════════════════════
   STAT MOMENT — number counter + dot grid + rotating rings
═══════════════════════════════════════════════════════ */
.sm-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  color: var(--ink);
  overflow: hidden;
}
.stat-moment .sm-inner { position: relative; z-index: 2; }

.sm-bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(30,30,47,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 35%, transparent 100%);
  opacity: 0.85;
}
.sm-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}
.sm-bg-orb-1 {
  top: -100px;
  left: -100px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, var(--terra) 0%, transparent 70%);
  opacity: 0.16;
}
.sm-bg-orb-2 {
  bottom: -120px;
  right: -120px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(30,30,47,0.4) 0%, transparent 70%);
  opacity: 0.15;
}
.sm-bg-ring {
  position: absolute;
  color: var(--terra);
}
.sm-bg-ring-1 {
  width: 280px;
  height: 280px;
  top: 8%;
  right: 4%;
  opacity: 0.75;
  animation: fx-ring-rotate 85s linear infinite;
}
.sm-bg-ring-2 {
  width: 220px;
  height: 220px;
  bottom: 10%;
  left: 5%;
  opacity: 0.65;
  animation: fx-ring-rotate 70s linear infinite reverse;
}
.sm-bg-plus {
  position: absolute;
  font-family: 'SF Mono','Fira Mono',monospace;
  color: var(--terra);
  font-weight: 300;
  line-height: 1;
  user-select: none;
  --pulse-base: 0.3;
  --pulse-peak: 0.55;
  animation: fx-pulse-soft 4s ease-in-out infinite;
}
.sm-bg-plus-1 { top: 18%;  left: 22%; font-size: 22px; opacity: 0.4; }
.sm-bg-plus-2 { bottom: 22%; right: 28%; font-size: 18px; opacity: 0.35; animation-delay: 1.5s; }
.sm-bg-plus-3 { top: 60%;  left: 48%; font-size: 16px; opacity: 0.3; animation-delay: 2.8s; }

/* Counter pop-in pulse when a stat hits its target */
.sm-num.is-counted .sm-count {
  animation: fx-counter-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes fx-counter-pop {
  0%   { transform: scale(0.94); }
  60%  { transform: scale(1.04); }
  100% { transform: scale(1); }
}
.sm-num.is-counted .sm-dot {
  animation: fx-dot-flash 0.6s ease-out;
}
@keyframes fx-dot-flash {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.sm-count { display: inline-block; }


/* ═══════════════════════════════════════════════════════
   ABOUT V2 — orbital decoration around the portrait
═══════════════════════════════════════════════════════ */
.av-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  color: var(--ink);
  overflow: hidden;
}
.about-v2 .av-inner { position: relative; z-index: 2; }

.av-bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(30,30,47,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 60% 70% at 30% 55%, #000 45%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 30% 55%, #000 45%, transparent 100%);
  opacity: 0.9;
}
.av-bg-orb {
  position: absolute;
  top: 40%;
  left: 8%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--terra) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(75px);
  opacity: 0.13;
}
.av-bg-ring {
  position: absolute;
  width: 540px;
  height: 540px;
  left: -100px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--terra);
  opacity: 0.8;
  animation: fx-ring-rotate 75s linear infinite;
}
.av-bg-plus {
  position: absolute;
  font-family: 'SF Mono','Fira Mono',monospace;
  color: var(--terra);
  font-weight: 300;
  line-height: 1;
  user-select: none;
  --pulse-base: 0.35;
  --pulse-peak: 0.6;
  animation: fx-pulse-soft 5s ease-in-out infinite;
}
.av-bg-plus-1 { top: 16%; left: 38%; font-size: 24px; opacity: 0.4; }
.av-bg-plus-2 { top: 70%; left: 42%; font-size: 18px; opacity: 0.35; animation-delay: 2s; }
.av-bg-plus-3 { top: 30%; right: 8%; font-size: 20px; opacity: 0.4; animation-delay: 3.5s; }
.av-bg-label {
  position: absolute;
  top: 14%;
  right: 6%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--body);
  opacity: 0.55;
}
.av-bg-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  animation: fx-dot-pulse 2.4s ease-in-out infinite;
}

/* Portrait orbital frame */
.av-portrait { position: relative; }
.av-portrait-frame {
  position: absolute;
  inset: -28px;
  border: 1.5px dashed rgba(200,84,46,0.35);
  border-radius: 50%;
  border-radius: 16px;
  animation: fx-frame-rotate 40s linear infinite;
  pointer-events: none;
}
@keyframes fx-frame-rotate {
  to { transform: rotate(360deg); }
}
.av-portrait-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--terra);
  box-shadow: 0 0 0 4px rgba(200,84,46,0.15);
  z-index: 3;
  animation: fx-dot-pulse 2.4s ease-in-out infinite;
}
.av-portrait-dot-1 { top: -34px; right: -34px; }
.av-portrait-dot-2 { bottom: -34px; left: -34px; animation-delay: 1.2s; }


/* ═══════════════════════════════════════════════════════
   FEATURED CASE — soft backdrop dot grid + glow
═══════════════════════════════════════════════════════ */
.featured-case {
  position: relative;
}
.featured-case::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(30,30,47,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 50% 60% at 80% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 80% 40%, #000 30%, transparent 100%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}
.featured-case .fc-inner { position: relative; z-index: 1; }


/* ═══════════════════════════════════════════════════════
   PRICING — subtle blueprint backdrop
═══════════════════════════════════════════════════════ */
.pricing-v2 {
  position: relative;
}
.pricing-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(30,30,47,0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, #000 40%, transparent 100%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}
.pricing-v2 .pr-inner { position: relative; z-index: 1; }


/* ═══════════════════════════════════════════════════════
   INDUSTRY CARDS — minimal, editorial reveal
   Replaces the old 3D-flip with:
   - Calm stack reveal (front slides up, back rises from below)
   - Subtle lift on hover (no tilt, no scan, no spotlight)
   - 4 architectural L-corner marks draw in on hover
═══════════════════════════════════════════════════════ */
.ind-card {
  height: 240px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: var(--cream-card);
  border: 1px solid rgba(30,30,47,0.08);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.45s ease;
}
.ind-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(30,30,47,0.18);
  border-color: rgba(200,84,46,0.22);
}

/* ─── Stack reveal: vertical slide, slower + smoother ─── */
.ind-front,
.ind-back {
  transform: none !important;
  backface-visibility: visible !important;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1),
              opacity 0.5s cubic-bezier(0.65, 0, 0.35, 1) !important;
  z-index: 2;
}
.ind-front {
  background: var(--cream-card) !important;
  border: none !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  padding: 22px 22px !important;
}
.ind-back {
  background: var(--ink) !important;
  border: none !important;
  color: var(--cream) !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 22px 22px !important;
  transform: translateY(100%) !important;
  opacity: 0.6;
}
.ind-card:hover .ind-front {
  transform: translateY(-100%) !important;
  opacity: 0;
}
.ind-card:hover .ind-back {
  transform: translateY(0) !important;
  opacity: 1;
}

/* Icon: subtle on hover — just a gentle move up */
.ind-icon {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.ind-card:hover .ind-icon {
  transform: translateY(-3px);
}

/* ─── Architectural L-corner marks (soft fade in) ─── */
.ind-card-corners {
  position: absolute;
  inset: 10px;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.ind-card:hover .ind-card-corners {
  opacity: 0.7;
}
.ind-card-corners::before,
.ind-card-corners::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid var(--terra);
  border-radius: 1px;
}
.ind-card-corners::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}
.ind-card-corners::after {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}
/* Second set via inline span for the other two corners */
.ind-card-corners span {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid var(--terra);
  border-radius: 1px;
}
.ind-card-corners span:nth-child(1) {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}
.ind-card-corners span:nth-child(2) {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}

/* ═══════════════════════════════════════════════════════
   BADGES — re-engineered as editorial architect-mark
   Three vertically-stacked typographic elements:
   ▸ dot mark · type label · serif italic year
═══════════════════════════════════════════════════════ */
.ind-badge {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  z-index: 3;
  font-size: 0.6rem !important;
  letter-spacing: 0.04em !important;
}
.ind-badge-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  border-radius: 50%;
  flex-shrink: 0;
}
.ind-badge-dot {
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
}
.ind-badge-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  gap: 2px;
}
.ind-badge-type {
  font-family: 'SF Mono','Fira Mono',monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: currentColor;
  text-transform: uppercase;
}
.ind-badge-year {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.7rem;
  font-weight: 400;
  color: currentColor;
  opacity: 0.78;
  letter-spacing: 0.02em;
}

/* Badge color variants — use currentColor pattern */
.ind-badge-live { color: #2A7A4A; }
.ind-badge-live .ind-badge-dot { animation: fx-dot-pulse-green 2.2s ease-in-out infinite; }
@keyframes fx-dot-pulse-green {
  0%, 100% { box-shadow: 0 0 0 2px rgba(42,122,74,0.22); }
  50%      { box-shadow: 0 0 0 5px rgba(42,122,74,0.02); }
}
.ind-badge-case { color: var(--terra); }
.ind-badge-case .ind-badge-dot { animation: fx-dot-pulse 2.4s ease-in-out infinite; }
.ind-badge-soon { color: #8C6D2C; }
.ind-badge-soon .ind-badge-mark { animation: ind-soon-spin 8s linear infinite; }
@keyframes ind-soon-spin {
  to { transform: rotate(360deg); }
}
.ind-badge-open {
  color: var(--body);
  opacity: 0.7;
}

/* On hover, badge slides up with the front content */
.ind-card:hover .ind-badge {
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — scale down ornaments on smaller screens
═══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .sm-bg-ring-1 { width: 200px; height: 200px; }
  .sm-bg-ring-2 { width: 160px; height: 160px; }
  .av-bg-ring { width: 380px; height: 380px; left: -160px; }
  .av-bg-label { top: 6%; }
}
@media (max-width: 768px) {
  .sm-bg-ring-1,
  .sm-bg-ring-2,
  .av-bg-ring,
  .av-bg-label,
  .sm-bg-plus-3,
  .av-bg-plus-1 { display: none; }
  .av-portrait-frame { inset: -16px; }
  .av-portrait-dot { width: 8px; height: 8px; }
  .av-portrait-dot-1 { top: -22px; right: -22px; }
  .av-portrait-dot-2 { bottom: -22px; left: -22px; }
  .sm-bg-orb-1, .sm-bg-orb-2 { width: 260px; height: 260px; }
}

/* ═══════════════════════════════════════════════════════
   INDUSTRY CARDS — TOUCH MODE
   No :hover on touch → the hover-reveal would hide all the
   value (client, CTA). On mobile we flatten the card: front
   info stays visible and the CTA is surfaced permanently.
   Applied on coarse pointers AND narrow viewports for safety.
═══════════════════════════════════════════════════════ */
@media (hover: none), (max-width: 768px) {
  .ind-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }

  .ind-card {
    height: auto !important;
    min-height: 0 !important;
    transform: none !important;
    box-shadow: 0 6px 18px -12px rgba(30,30,47,0.16) !important;
    display: flex !important;
    flex-direction: column !important;
  }
  /* defeat all hover transforms/animations */
  .ind-card:hover { transform: none !important; }
  .ind-card::before, .ind-card::after { display: none !important; }
  .ind-card-corners { display: none !important; }

  /* Front: normal flow, always visible */
  .ind-front {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    opacity: 1 !important;
    padding: 18px 16px 12px !important;
    gap: 4px !important;
  }
  .ind-card:hover .ind-front { transform: none !important; opacity: 1 !important; }
  .ind-icon { transform: none !important; margin-bottom: 4px !important; }
  .ind-card:hover .ind-icon { transform: none !important; }

  /* Badge stays put (it tells users LIVE / CASE / SOON) */
  .ind-badge { position: absolute !important; top: 14px !important; right: 14px !important; }
  .ind-card:hover .ind-badge { opacity: 1 !important; transform: none !important; }

  /* Back: flatten to a light footer that only surfaces the CTA */
  .ind-back {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    opacity: 1 !important;
    background: transparent !important;
    color: var(--ink) !important;
    padding: 0 16px 16px !important;
    margin-top: auto !important;
  }
  .ind-back-client,
  .ind-back ul { display: none !important; }
  .ind-cta {
    display: inline-flex !important;
    align-items: center !important;
    color: var(--terra) !important;
    border-top: 1px solid rgba(30,30,47,0.08) !important;
    padding-top: 12px !important;
    margin-top: 4px !important;
    font-size: 0.82rem !important;
    width: 100%;
  }
  /* open-tier (Real Estate / Logistics) keep terra cta on cream too */
  .ind-card-open .ind-back { background: transparent !important; }
  .ind-card-open .ind-cta { color: var(--terra) !important; border-color: rgba(30,30,47,0.08) !important; }
}

/* Single column on very small phones for breathing room */
@media (max-width: 420px) {
  .ind-grid { grid-template-columns: 1fr !important; }
}

/* ═══════════════════════════════════════════════════════
   MOBILE UX HARDENING — applies on touch / narrow screens
═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* iOS Safari zooms on focus when input font < 16px. Force 16px. */
  input, select, textarea,
  .cv-input, .cv-select, .cv-textarea,
  .qb-input, .qb-select, .qb-textarea,
  .bm-input {
    font-size: 16px !important;
  }

  /* Comfortable touch targets (Apple HIG 44px / Material 48px) */
  .nav-cta, .nav-links a,
  .btn, .nf-btn, .cs2-cta-btn, .fv-cta-btn,
  .qb-submit, .cv-submit, .bkt-opt,
  .sw-link, .cs2-back, .legal-back, .cs2-cta-link {
    min-height: 44px;
  }
  .btn, .nf-btn, .cs2-cta-btn, .fv-cta-btn, .qb-submit, .cv-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  /* Primary CTAs go full-width on mobile for easy thumb reach */
  .nf-actions .nf-btn,
  .fv-cta-btn,
  .qb-submit,
  .cv-submit {
    width: 100%;
  }
  /* Tap feedback (no hover on touch) */
  .ind-card:active { transform: scale(0.985) !important; transition: transform 0.12s ease !important; }
  .btn:active, .nf-btn:active, .cs2-cta-btn:active, .fv-cta-btn:active { transform: scale(0.97); }
}

/* ═══════════════════════════════════════════════════════
   REDUCED MOTION — honor the OS accessibility setting
   Kills the decorative loops + scroll/reveal animations for
   users who opt out. Keeps the site fully usable.
═══════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  /* Park the rotating rings / pulses at a static state */
  .hero-bg-ring, .sm-bg-ring, .av-bg-ring, .cs2-hero-ring,
  .nf-bg-ring, .av-portrait-frame {
    animation: none !important;
  }
  .sw-scroll-dot, .hbl-dot, .av-bg-dot, .fv-cta-dot, .fv-status-dot,
  .ind-badge-dot, .nf-meta-dot { animation: none !important; }
}

/* ═══════════════════════════════════════════════════════
   MOBILE — center all section titles, labels & intros
   (Long body prose / FAQ answers / form fields stay
   left-aligned for readability.)
═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── 1. Every chapter label centers (catch-all, no per-section needed) ── */
  /* .label is inline-flex with a dash; force it to a full-width centered row */
  .label, .sm-label, .ib-label, .cv-label, .wg-header-label,
  .cs2-chapter-label, .legal-label, .nf-label {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    text-align: center !important;
  }

  /* ── 2. Section header containers center their contents ──
     (Only the header blocks — NOT the .xx-inner wrappers, which
      also hold forms / tables / lists that must stay left.) */
  .wg-header, .ind-header, .sv-header, .pv-header, .pr-header,
  .cv-header, .av-header, .fc-head, .wc-header, .fq-header,
  .work-header, .sec-header, .qb-head {
    text-align: center !important;
  }
  /* Flex headers that stacked left → re-center */
  .wg-header, .pr-header, .ind-header, .sv-header, .pv-header,
  .wc-header, .fq-header, .cv-header {
    flex-direction: column !important;
    align-items: center !important;
  }
  .wg-header-left { max-width: 100% !important; align-items: center !important; }

  /* ── 3. ALL section headlines + subs/intros ── */
  .hero-title, .hero-sub,
  .section-heading, .section-sub,
  .fc-headline, .fc-kicker,
  .wg-headline, .wg-sub,
  .ind-headline, .ind-sub,
  .sv-headline, .sv-sub,
  .wc-headline, .wc-sub,
  .pr-headline, .pr-sub,
  .av-headline, .av-lead,
  .pv-headline, .pv-sub,
  .fq-headline, .fq-sub,
  .cv-headline, .cv-sub,
  .sl-title, .sl-tagline,
  .cs2-title, .cs2-lead, .cs2-block-title,
  .legal-title, .legal-meta,
  .nf-title, .nf-sub,
  .qb-title, .qb-sub {
    text-align: center !important;
  }
  /* Center the title BLOCKS too (defeat max-width left-pinning) */
  .hero-title, .hero-sub, .wg-headline, .wg-sub, .ind-headline, .ind-sub,
  .sv-headline, .sv-sub, .wc-headline, .av-headline, .av-lead,
  .pr-headline, .pr-sub, .cv-headline, .cv-sub, .fq-headline, .fq-sub,
  .pv-headline, .fc-headline, .cs2-title, .cs2-lead, .nf-sub, .section-sub {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* ── 4. Hero text block + actions ── */
  .hero-left { text-align: center !important; }
  .build-strip { align-items: center !important; }
  .hero-actions { justify-content: center !important; }

  /* ── 5. Studio log header (flex row → centered stack, drop rule line) ── */
  .sl-head {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 6px !important;
  }
  .sl-rule { display: none !important; }

  /* ── 6. Case study chapter rows + meta + back link ── */
  .cs2-chapter, .cs2-meta-row { justify-content: center !important; }
  .cs2-meta-grid { text-align: center !important; }
  .cs2-back, .legal-back { justify-content: center !important; }

  /* ── 7. 404 actions ── */
  .nf-actions { justify-content: center !important; }
  .nf-meta { justify-content: center !important; text-align: center !important; }
}
