  /* ── SVG element-level animations ── */
  #svg-sun        { animation: zoomIn     2s   cubic-bezier(0.34,1.56,0.64,1) 0.1s both,
                               sunPulse   5s   ease-in-out 2.5s infinite; }
  #svg-mansion    { animation: fromBottom 1.5s cubic-bezier(0.16,1,0.3,1)    0.0s both; }
  #svg-temple-l   { animation: fromLeft   1.3s cubic-bezier(0.16,1,0.3,1)    0.2s both; }
  #svg-temple-r   { animation: fromRight  1.3s cubic-bezier(0.16,1,0.3,1)    0.3s both; }
  #svg-trees      { animation: fromBottom 1.2s cubic-bezier(0.16,1,0.3,1)    0.5s both; }
  #svg-family     { animation: fromBottom 1.0s cubic-bezier(0.34,1.56,0.64,1) 0.8s both; }
  #svg-rays       { animation: fadeIn     2.0s ease-out                        0.5s both; }

  /* ── Page load reveal curtain ── */
  #page-curtain {
    position: fixed;
    inset: 0;
    background: radial-gradient(120% 120% at 50% 38%, #161616 0%, #0a0a0a 60%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    animation: curtainLift 0.8s cubic-bezier(0.76, 0, 0.24, 1) 2.2s both;
  }
  @keyframes curtainLift {
    from { transform: translateY(0); opacity: 1; }
    to   { transform: translateY(-100%); opacity: 0; pointer-events: none; }
  }
  #page-curtain.gone { display: none; }

  /* the wordmark — real fonts, clean blur-in reveal */
  .curtain-word {
    font-family: var(--sans);
    font-size: clamp(2.7rem, 12vw, 5rem);
    line-height: 1;
    letter-spacing: -0.045em;
    color: #eef0f3;
    opacity: 0;
    filter: blur(16px);
    transform: translateY(16px) scale(0.96);
    animation: cwReveal 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
  }
  .curtain-word .cw-brick { font-weight: 600; }
  .curtain-word .cw-one   { font-weight: 300; }
  @keyframes cwReveal {
    to { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
  }

  .curtain-line {
    width: 0;
    height: 2px;
    background: var(--accent);
    margin-top: 1.4rem;
    border-radius: 999px;
    box-shadow: 0 0 14px rgba(86,201,216,0.55);
    animation: lineExpand 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.1s both;
  }
  @keyframes lineExpand {
    from { width: 0; }
    to   { width: 92px; }
  }
  .curtain-sub {
    font-family: var(--sans);
    font-weight: 400;
    font-size: clamp(0.95rem, 4vw, 1.2rem);
    color: #9aa0a6;
    letter-spacing: 0.01em;
    margin-top: 0.9rem;
    opacity: 0;
    animation: fadeIn 0.7s ease 1.45s both;
  }

  /* respect reduced-motion: show the finished wordmark instantly */
  @media (prefers-reduced-motion: reduce) {
    #page-curtain { animation-delay: 0.4s; }
    .curtain-word { opacity: 1; filter: none; transform: none; animation: none; }
    .curtain-line { width: 92px; animation: none; }
    .curtain-sub { opacity: 1; animation: none; }
  }

  /* ── Hover shimmer on stat numbers ── */
  .stat-item { cursor: default; }
  .stat-num { transition: transform 0.2s var(--ease-spring); }
  .stat-item:hover .stat-num { transform: scale(1.08) translateY(-2px); }

  /* ── Section entrance animation ── */
  .section-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .section-reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  @media (max-width: 1024px) {
    .bento { grid-template-columns: 1fr 1fr; }
    .bc-1 { grid-column: span 2; }
    .bc-2, .bc-3 { grid-column: span 1; }
    .bc-4, .bc-5, .bc-6 { grid-column: span 1; }
    .how-steps { grid-template-columns: repeat(2, 1fr); }
    .how-steps::before { display: none; }
    .testi-grid { grid-template-columns: 1fr; }
  }

