 /* ============================================= */
  /* Section Header — sh2                           */
  /* ============================================= */
 
  .sh2-header {
    max-width: 640px;
    position: relative;
  }
 
  .sh2-header.sh2-center { margin-right: auto; text-align: left; }
 
  /* --- Eyebrow --- */
 
  .sh2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--mono);
    font-size: clamp(0.7rem, 0.3vw + 0.62rem, 0.78rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.1rem;
 
    /* animation start-state */
    opacity: 0;
    transform: translateY(6px);
  }
 
  .sh2-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    flex-shrink: 0;
    transform: scale(0);
  }
 
  /* a precision rule that draws in before the eyebrow text appears —
     doubles as a structural "measured / analyzed" motif for the brand */
  .sh2-header::before {
    content: '';
    display: block;
    width: 34px;
    height: 2px;
    margin-bottom: 0.85rem;
    background: var(--accent);
    transform-origin: left center;
    transform: scaleX(0);
  }
 
  /* --- Headline --- */
 
  .sh2-headline {
  font-size: clamp(1.5rem, 0.9rem + 1.8vw, 2.25rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 1.1rem;
  font-weight: 600;
  color: var(--ink);

  max-width: 100%;
  overflow-wrap: break-word;
  text-wrap: balance;

  position: relative;
  clip-path: inset(0 100% 0 0);
}
 
  /* light sweep that "reads" the headline into view */
  .sh2-headline::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: var(--accent);
    box-shadow: 0 0 18px 2px var(--accent);
    opacity: 0;
  }
 
  /* --- Sub headline --- */
 
  .sh2-sub {
  color: var(--muted);
  font-size: clamp(0.85rem, 0.2vw + 0.8rem, 0.95rem);
  line-height: 1.65;
  max-width: 52ch;
  margin: 0;

  overflow-wrap: break-word;
  text-wrap: pretty;

  opacity: 0;
  transform: translateY(10px);
}
 
  .sh2-center .sh2-sub { margin-right: auto; }
 
  /* ============================================= */
  /* Reveal state — added per-instance by JS        */
  /* ============================================= */
 
  .sh2-header.sh2-in-view::before {
    animation: sh2-rule 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
 
  .sh2-header.sh2-in-view .sh2-eyebrow {
    animation: sh2-fade-up 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.18s;
  }
 
  .sh2-header.sh2-in-view .sh2-eyebrow::before {
    animation: sh2-dot 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.3s;
  }
 
  .sh2-header.sh2-in-view .sh2-headline {
    animation: sh2-reveal 0.85s cubic-bezier(0.65, 0, 0.15, 1) forwards;
    animation-delay: 0.36s;
  }
 
  .sh2-header.sh2-in-view .sh2-headline::after {
    animation: sh2-sweep 0.85s cubic-bezier(0.65, 0, 0.15, 1) forwards;
    animation-delay: 0.36s;
  }
 
  .sh2-header.sh2-in-view .sh2-sub {
    animation: sh2-fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.85s;
  }
 
  @keyframes sh2-rule {
    to { transform: scaleX(1); }
  }
 
  @keyframes sh2-dot {
    to { transform: scale(1); }
  }
 
  @keyframes sh2-fade-up {
    to { opacity: 1; transform: translateY(0); }
  }
 
  @keyframes sh2-reveal {
    to { clip-path: inset(0 0 0 0); }
  }
 
  @keyframes sh2-sweep {
    0%   { left: 0;    opacity: 1; }
    92%  { opacity: 1; }
    100% { left: 100%; opacity: 0; }
  }
 
  /* Respect reduced-motion preference */
  @media (prefers-reduced-motion: reduce) {
    .sh2-header::before,
    .sh2-eyebrow,
    .sh2-eyebrow::before,
    .sh2-headline,
    .sh2-headline::after,
    .sh2-sub {
      animation: none !important;
      opacity: 1 !important;
      transform: none !important;
      clip-path: inset(0 0 0 0) !important;
    }
  }