    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --earth: #1C0F08;
      --terra: #C4622D;
      --saffron: #D4850A;
      --gold: #C9963E;
      --gold-pale: #E8C07A;
      --parch: #F2E2BC;
      --cream: #FAF5EA;
      --indigo: #1B3A6B;
      --ash: #8B7355;
      --dusk: #0E0704;
      --smoke: #3D2314;
      --olive: #2A3A1A;
      --pale-red: #7D2E1E;
      --script: 'Cormorant Garamond', Georgia, serif;
      --body: 'EB Garamond', Georgia, serif;
    }

    html {
      scroll-behavior: smooth;
      font-size: 18px;
    }

    body {
      background: var(--dusk);
      color: var(--cream);
      font-family: var(--body);
      overflow-x: hidden;
    }

    /* ── NOISE TEXTURE OVERLAY ── */
    /* Applies a subtle fractal film-grain over the whole page.         */
    /* z-index 1 sits above section backgrounds but below all content.  */
    .noise-overlay {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      user-select: none;
      z-index: 1;
      opacity: 0.45;
      mix-blend-mode: overlay;
    }

    /* ── PROGRESS DOTS ── */
    #progress-nav {
      position: fixed;
      right: 2rem;
      top: 50%;
      transform: translateY(-50%);
      z-index: 100;
      display: flex;
      flex-direction: column;
      gap: 0.7rem;
      mix-blend-mode: normal;
    }

    .dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      border: 1.5px solid rgba(201, 150, 62, 0.5);
      cursor: pointer;
      transition: all 0.4s ease;
      background: transparent;
    }

    .dot.active {
      background: var(--gold);
      border-color: var(--gold);
      transform: scale(1.4);
    }

    .dot:hover {
      border-color: var(--gold);
    }

    .dot-label {
      position: absolute;
      right: 18px;
      top: 50%;
      transform: translateY(-50%);
      font-family: var(--script);
      font-size: 0.7rem;
      letter-spacing: 0.1em;
      color: var(--gold-pale);
      white-space: nowrap;
      opacity: 0;
      transition: opacity 0.3s;
      pointer-events: none;
      font-style: italic;
    }

    .dot:hover .dot-label {
      opacity: 1;
    }

    /* ── SECTIONS ── */
    section {
      min-height: 100vh;
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 6rem 2rem;
    }

    /* ── HERO ── */
    #hero {
      background: var(--dusk);
      justify-content: center;
      align-items: center;
      text-align: center;
      overflow: hidden;
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at 50% 60%, #2C1410 0%, var(--dusk) 70%);
    }

    .mandala {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      opacity: 0.06;
      animation: rotate-slow 60s linear infinite;
    }

    @keyframes rotate-slow {
      to {
        transform: translate(-50%, -50%) rotate(360deg);
      }
    }

    .note-float {
      position: absolute;
      font-family: var(--script);
      color: var(--gold);
      opacity: 0;
      animation: note-drift var(--dur, 8s) ease-in-out infinite;
      font-size: var(--fs, 1.2rem);
      font-style: italic;
    }

    @keyframes note-drift {
      0% {
        opacity: 0;
        transform: translateY(0) translateX(0);
      }

      20% {
        opacity: 0.35;
      }

      80% {
        opacity: 0.2;
      }

      100% {
        opacity: 0;
        transform: translateY(-80px) translateX(var(--dx, 20px));
      }
    }

    .hero-eyebrow {
      font-family: var(--script);
      font-size: 0.95rem;
      letter-spacing: 0.35em;
      color: var(--gold);
      text-transform: uppercase;
      margin-bottom: 1.5rem;
      opacity: 0;
      animation: fade-up 1s ease forwards 0.5s;
    }

    .hero-title {
      font-family: var(--script);
      font-size: clamp(3.5rem, 10vw, 8rem);
      font-weight: 300;
      line-height: 0.9;
      color: var(--parch);
      opacity: 0;
      animation: fade-up 1.2s ease forwards 0.9s;
    }

    .hero-title em {
      color: var(--terra);
      font-style: italic;
      display: block;
    }

    .hero-subtitle {
      font-family: var(--script);
      font-size: clamp(1rem, 2.5vw, 1.5rem);
      font-style: italic;
      color: rgba(242, 226, 188, 0.65);
      margin-top: 1.8rem;
      opacity: 0;
      animation: fade-up 1s ease forwards 1.4s;
      max-width: 540px;
    }

    .hero-devanagari {
      font-family: var(--script);
      font-size: 1.1rem;
      color: var(--gold-pale);
      letter-spacing: 0.25em;
      margin-top: 0.6rem;
      opacity: 0;
      animation: fade-up 1s ease forwards 1.8s;
    }

    .scroll-cue {
      position: absolute;
      bottom: 2.5rem;
      left: 50%;
      transform: translateX(-50%);
      font-family: var(--script);
      font-size: 0.78rem;
      letter-spacing: 0.3em;
      color: rgba(201, 150, 62, 0.5);
      text-transform: uppercase;
      opacity: 0;
      animation: fade-up 1s ease forwards 2.4s;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
    }

    .scroll-line {
      width: 1px;
      height: 40px;
      background: linear-gradient(to bottom, var(--gold), transparent);
      animation: scroll-pulse 2s ease-in-out infinite;
    }

    @keyframes scroll-pulse {

      0%,
      100% {
        opacity: 0.4;
      }

      50% {
        opacity: 1;
      }
    }

    @keyframes fade-up {
      from {
        opacity: 0;
        transform: translateY(20px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* ── CHAPTER NAV ── */
    #chapter-nav {
      position: sticky;
      top: 0;
      z-index: 90;
      background: rgba(14, 7, 4, 0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(201, 150, 62, 0.15);
      padding: 0.9rem 2rem;
      display: flex;
      gap: 0;
      overflow-x: auto;
      scrollbar-width: none;
    }

    #chapter-nav::-webkit-scrollbar {
      display: none;
    }

    .ch-link {
      font-family: var(--script);
      font-size: 0.82rem;
      letter-spacing: 0.12em;
      color: rgba(242, 226, 188, 0.45);
      text-decoration: none;
      white-space: nowrap;
      padding: 0.3rem 1rem;
      border-bottom: 1.5px solid transparent;
      transition: all 0.3s;
      text-transform: uppercase;
    }

    .ch-link:hover,
    .ch-link.active {
      color: var(--gold);
      border-bottom-color: var(--gold);
    }

    .ch-num {
      font-size: 0.65rem;
      color: var(--terra);
      margin-right: 0.35em;
      vertical-align: super;
      font-style: normal;
    }

    /* ── ORIGINS ── */
    #origins {
      background: var(--parch);
      color: var(--earth);
      padding: 8rem 2rem;
    }

    #origins .section-inner {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 5rem;
      align-items: stretch;
    }

    .chapter-label {
      font-family: var(--script);
      font-size: 0.78rem;
      letter-spacing: 0.4em;
      text-transform: uppercase;
      color: var(--terra);
      margin-bottom: 1rem;
      font-weight: 400;
    }

    .chapter-num-big {
      font-family: var(--script);
      font-size: 7rem;
      font-weight: 300;
      line-height: 1;
      color: rgba(196, 98, 45, 0.15);
      position: absolute;
      top: -1.5rem;
      left: -1rem;
      pointer-events: none;
      user-select: none;
    }

    .section-heading {
      font-family: var(--script);
      font-size: clamp(2.4rem, 5vw, 4rem);
      font-weight: 300;
      line-height: 1.1;
      color: var(--earth);
      margin-bottom: 1.5rem;
    }

    .section-heading em {
      font-style: italic;
      color: var(--terra);
    }

    .body-text {
      font-family: var(--body);
      font-size: 1.05rem;
      line-height: 1.85;
      color: rgba(28, 15, 8, 0.8);
      margin-bottom: 1.2rem;
    }

    .pullquote {
      border-left: 3px solid var(--terra);
      padding: 0.8rem 1.5rem;
      margin: 2rem 0;
      font-family: var(--script);
      font-size: 1.3rem;
      font-style: italic;
      line-height: 1.6;
      color: var(--smoke);
    }

    .pullquote cite {
      display: block;
      font-size: 0.78rem;
      font-family: var(--body);
      font-style: normal;
      letter-spacing: 0.15em;
      color: var(--ash);
      margin-top: 0.6rem;
      text-transform: uppercase;
    }

    .stat-row {
      display: flex;
      gap: 2rem;
      margin: 2rem 0;
      flex-wrap: wrap;
    }

    .stat-block {
      text-align: center;
    }

    .stat-num {
      font-family: var(--script);
      font-size: 2.8rem;
      font-weight: 300;
      color: var(--terra);
      line-height: 1;
      display: block;
    }

    .stat-label {
      font-family: var(--body);
      font-size: 0.75rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--ash);
      margin-top: 0.3rem;
    }

    /* ── IMAGE FRAMES ── */
    .img-frame {
      position: relative;
      width: 100%;
      aspect-ratio: var(--ratio, 4/5);
    }

    .img-frame img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .img-frame-inner {
      position: absolute;
      inset: 0;
      border: 1px solid rgba(196, 98, 45, 0.3);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      padding: 2rem;
      background: rgba(196, 98, 45, 0.04);
    }

    .img-placeholder-shown {
      display: flex;
    }

    .img-placeholder-shown.has-image {
      display: none;
    }

    .frame-corner {
      position: absolute;
      width: 24px;
      height: 24px;
      border-color: var(--terra);
      border-style: solid;
      opacity: 0.5;
    }

    .frame-corner.tl {
      top: 8px;
      left: 8px;
      border-width: 1.5px 0 0 1.5px;
    }

    .frame-corner.tr {
      top: 8px;
      right: 8px;
      border-width: 1.5px 1.5px 0 0;
    }

    .frame-corner.bl {
      bottom: 8px;
      left: 8px;
      border-width: 0 0 1.5px 1.5px;
    }

    .frame-corner.br {
      bottom: 8px;
      right: 8px;
      border-width: 0 1.5px 1.5px 0;
    }

    .frame-icon {
      font-family: var(--script);
      font-size: 2rem;
      color: var(--terra);
      opacity: 0.4;
    }

    .frame-desc {
      font-family: var(--script);
      font-style: italic;
      font-size: 0.85rem;
      color: var(--ash);
      text-align: center;
      line-height: 1.6;
      max-width: 200px;
    }

    .frame-caption {
      font-family: var(--body);
      font-size: 0.7rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--terra);
      opacity: 0.7;
    }

    /* Light frame variant (for dark sections) */
    .img-frame.light .img-frame-inner {
      background: rgba(201, 150, 62, 0.06);
      border-color: rgba(201, 150, 62, 0.2);
    }

    .img-frame.light .frame-corner {
      border-color: var(--gold);
    }

    .img-frame.light .frame-icon,
    .img-frame.light .frame-desc {
      color: var(--gold-pale);
    }

    .img-frame.light .frame-caption {
      color: var(--gold);
    }

    /* ── MESSENGERS ── */
    #messengers {
      background: #140800;
      color: var(--parch);
      padding: 8rem 2rem;
    }

    #messengers .section-inner {
      max-width: 1100px;
      margin: 0 auto;
    }

    #messengers .section-heading {
      color: var(--parch);
    }

    .timeline {
      position: relative;
      margin: 4rem 0;
      padding-left: 2px;
    }

    .timeline::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 1px;
      background: linear-gradient(to bottom, transparent, var(--gold), var(--terra), transparent);
    }

    .t-event {
      position: relative;
      padding: 0 0 3rem 3rem;
      opacity: 0;
      transform: translateX(-20px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .t-event.revealed {
      opacity: 1;
      transform: translateX(0);
    }

    .t-event::before {
      content: '';
      position: absolute;
      left: -4px;
      top: 6px;
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: var(--terra);
      border: 2px solid var(--gold);
    }

    .t-year {
      font-family: var(--script);
      font-size: 0.8rem;
      letter-spacing: 0.3em;
      color: var(--gold);
      text-transform: uppercase;
      margin-bottom: 0.4rem;
    }

    .t-title {
      font-family: var(--script);
      font-size: 1.6rem;
      font-weight: 300;
      color: var(--parch);
      margin-bottom: 0.6rem;
      line-height: 1.2;
    }

    .t-desc {
      font-family: var(--body);
      font-size: 0.95rem;
      line-height: 1.8;
      color: rgba(242, 226, 188, 0.7);
    }

    .msg-grid {
      display: grid;
      grid-template-columns: 1.2fr 1fr;
      gap: 5rem;
      align-items: center;
      margin-bottom: 5rem;
    }

    /* ── SARANGI ── */
    #sarangi {
      background: #0C0701;
      color: var(--parch);
      padding: 8rem 2rem;
    }

    #sarangi .section-inner {
      max-width: 1100px;
      margin: 0 auto;
    }

    .sarangi-layout {
      display: grid;
      grid-template-columns: 1fr 1.4fr;
      gap: 4rem;
      align-items: center;
      margin: 4rem 0;
    }

    .sarangi-interactive {
      position: relative;
      display: flex;
      justify-content: center;
    }

    #sarangi-svg {
      cursor: pointer;
      filter: drop-shadow(0 0 30px rgba(201, 150, 62, 0.1));
    }

    .string-line {
      transition: stroke 0.3s;
      cursor: pointer;
    }

    .string-line:hover {
      stroke: var(--gold-pale);
    }

    .string-line.vibrating {
      animation: vibrate 0.5s ease-out forwards;
    }

    @keyframes vibrate {
      0% {
        transform: scaleX(1);
      }

      15% {
        transform: scaleX(1.012) translateX(-3px);
      }

      30% {
        transform: scaleX(1.012) translateX(3px);
      }

      45% {
        transform: scaleX(1.008) translateX(-2px);
      }

      60% {
        transform: scaleX(1.008) translateX(2px);
      }

      75% {
        transform: scaleX(1.004) translateX(-1px);
      }

      90% {
        transform: scaleX(1.004) translateX(1px);
      }

      100% {
        transform: scaleX(1) translateX(0);
      }
    }

    .sarangi-hint {
      text-align: center;
      font-family: var(--script);
      font-style: italic;
      font-size: 0.85rem;
      color: rgba(201, 150, 62, 0.5);
      margin-top: 1rem;
      letter-spacing: 0.1em;
    }

    .tone-display {
      text-align: center;
      font-family: var(--script);
      font-size: 1.1rem;
      color: var(--gold);
      min-height: 1.5rem;
      margin-top: 0.5rem;
      font-style: italic;
      opacity: 0;
      transition: opacity 0.3s;
    }

    .tone-display.visible {
      opacity: 1;
    }

    /* Comparison table */
    .compare-table {
      width: 100%;
      border-collapse: collapse;
      margin: 3rem 0;
    }

    .compare-table th {
      font-family: var(--script);
      font-size: 0.85rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--gold);
      font-weight: 400;
      padding: 0.8rem 1rem;
      text-align: left;
      border-bottom: 1px solid rgba(201, 150, 62, 0.2);
    }

    .compare-table td {
      font-family: var(--body);
      font-size: 0.95rem;
      color: rgba(242, 226, 188, 0.75);
      padding: 0.9rem 1rem;
      border-bottom: 1px solid rgba(201, 150, 62, 0.08);
      line-height: 1.5;
    }

    .compare-table tr:hover td {
      background: rgba(201, 150, 62, 0.04);
    }

    .compare-table td:first-child {
      color: rgba(242, 226, 188, 0.45);
      font-size: 0.82rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      width: 30%;
    }

    .compare-table td.nepali {
      color: var(--gold-pale);
    }

    /* Sarangi facts */
    .sarangi-facts {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
      margin: 2rem 0;
    }

    .fact-card {
      padding: 1.2rem;
      border: 1px solid rgba(201, 150, 62, 0.15);
      background: rgba(201, 150, 62, 0.03);
    }

    .fact-label {
      font-family: var(--script);
      font-size: 0.72rem;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 0.4rem;
    }

    .fact-value {
      font-family: var(--body);
      font-size: 1rem;
      color: rgba(242, 226, 188, 0.8);
      line-height: 1.5;
    }

    /* ── ROAD ── */
    #road {
      background: #050D08;
      color: var(--parch);
      padding: 8rem 2rem;
    }

    #road .section-inner {
      max-width: 1100px;
      margin: 0 auto;
    }

    #road .section-heading {
      color: var(--parch);
    }

    .road-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: start;
      margin: 4rem 0;
    }

    .route-map {
      position: relative;
      background: rgba(42, 58, 26, 0.2);
      border: 1px solid rgba(42, 180, 100, 0.1);
      padding: 2rem;
      aspect-ratio: 3/4;
    }

    .map-label {
      font-family: var(--script);
      font-size: 0.75rem;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: rgba(42, 180, 100, 0.5);
      position: absolute;
      top: 1rem;
      left: 1rem;
    }

    .village-dot {
      position: absolute;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--gold);
      border: 1.5px solid var(--saffron);
      cursor: pointer;
      transition: all 0.3s;
    }

    .village-dot:hover {
      transform: scale(1.8);
      background: var(--terra);
    }

    .village-dot::after {
      content: attr(data-name);
      position: absolute;
      left: 14px;
      top: -4px;
      font-family: var(--script);
      font-size: 0.75rem;
      font-style: italic;
      color: rgba(242, 226, 188, 0.6);
      white-space: nowrap;
      pointer-events: none;
    }

    .route-line-svg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
    }

    .road-text {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    .road-verse {
      font-family: var(--script);
      font-size: 1.15rem;
      font-style: italic;
      line-height: 1.9;
      color: rgba(242, 226, 188, 0.75);
      padding-left: 1.5rem;
      border-left: 2px solid rgba(42, 180, 100, 0.3);
    }

    /* ── DECLINE ── */
    #decline {
      background: #0C0C14;
      color: var(--parch);
      padding: 8rem 2rem;
    }

    #decline .section-inner {
      max-width: 1100px;
      margin: 0 auto;
    }

    #decline .section-heading {
      color: rgba(242, 226, 188, 0.7);
    }

    .decline-grid {
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 5rem;
      align-items: center;
      margin: 4rem 0;
    }

    .testimony {
      padding: 2rem;
      border: 1px solid rgba(139, 115, 85, 0.2);
      background: rgba(139, 115, 85, 0.05);
      position: relative;
      margin-bottom: 1.5rem;
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .testimony.revealed {
      opacity: 1;
      transform: translateY(0);
    }

    .testimony::before {
      content: '"';
      font-family: var(--script);
      font-size: 4rem;
      line-height: 1;
      color: var(--ash);
      opacity: 0.3;
      position: absolute;
      top: 0.5rem;
      left: 1rem;
    }

    .testimony-text {
      font-family: var(--script);
      font-size: 1.1rem;
      font-style: italic;
      line-height: 1.8;
      color: rgba(242, 226, 188, 0.65);
      padding-left: 1rem;
      margin-top: 1rem;
    }

    .testimony-attr {
      font-family: var(--body);
      font-size: 0.72rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--ash);
      margin-top: 1rem;
    }

    .string-broken {
      position: relative;
      height: 120px;
      margin: 2.5rem 0;
    }

    /* ── REVIVAL ── */
    #revival {
      background: #F7EDD5;
      color: var(--earth);
      padding: 8rem 2rem;
    }

    #revival .section-inner {
      max-width: 1100px;
      margin: 0 auto;
    }

    #revival .section-heading {
      color: var(--earth);
    }

    .revival-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: start;
      margin: 4rem 0;
    }

    .revival-card {
      padding: 2rem;
      border: 1px solid rgba(196, 98, 45, 0.2);
      background: rgba(196, 98, 45, 0.04);
      transition: all 0.4s;
    }

    .revival-card:hover {
      border-color: rgba(196, 98, 45, 0.4);
      transform: translateY(-4px);
    }

    .revival-card-year {
      font-family: var(--script);
      font-size: 2.2rem;
      font-weight: 300;
      color: var(--terra);
      line-height: 1;
    }

    .revival-card-title {
      font-family: var(--script);
      font-size: 1.3rem;
      color: var(--earth);
      margin: 0.5rem 0;
      font-style: italic;
    }

    .revival-card-body {
      font-family: var(--body);
      font-size: 0.9rem;
      color: rgba(28, 15, 8, 0.7);
      line-height: 1.7;
    }

    .artist-row {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      margin: 2rem 0;
    }

    .artist-entry {
      display: flex;
      align-items: center;
      gap: 1.2rem;
      padding: 1rem;
      border-bottom: 1px solid rgba(196, 98, 45, 0.1);
    }

    .artist-name {
      font-family: var(--script);
      font-size: 1.2rem;
      color: var(--earth);
    }

    .artist-role {
      font-family: var(--body);
      font-size: 0.8rem;
      color: var(--ash);
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    .artist-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--terra);
      flex-shrink: 0;
    }

    /* ── FUTURE ── */
    #future {
      background: #FAF5EA;
      color: var(--earth);
      padding: 8rem 2rem;
      text-align: center;
    }

    #future .section-inner {
      max-width: 700px;
      margin: 0 auto;
    }

    #future .section-heading {
      font-size: clamp(2.5rem, 6vw, 5rem);
    }

    .future-pillars {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      margin: 4rem 0;
      text-align: left;
    }

    .pillar {
      padding: 1.8rem;
      border-top: 2px solid var(--terra);
    }

    .pillar-num {
      font-family: var(--script);
      font-size: 0.72rem;
      letter-spacing: 0.3em;
      color: var(--terra);
      text-transform: uppercase;
      margin-bottom: 0.8rem;
    }

    .pillar-title {
      font-family: var(--script);
      font-size: 1.3rem;
      color: var(--earth);
      margin-bottom: 0.5rem;
    }

    .pillar-desc {
      font-family: var(--body);
      font-size: 0.88rem;
      color: var(--ash);
      line-height: 1.7;
    }

    .cta-area {
      margin-top: 5rem;
      padding-top: 3rem;
      border-top: 1px solid rgba(28, 15, 8, 0.15);
    }

    .cta-title {
      font-family: var(--script);
      font-size: 1.8rem;
      font-style: italic;
      color: var(--earth);
      margin-bottom: 1.5rem;
    }

    .cta-btn {
      display: inline-block;
      padding: 0.9rem 2.5rem;
      border: 1.5px solid var(--terra);
      color: var(--terra);
      font-family: var(--script);
      font-size: 0.9rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      text-decoration: none;
      transition: all 0.4s;
      cursor: pointer;
      background: transparent;
    }

    .cta-btn:hover {
      background: var(--terra);
      color: var(--cream);
    }

    /* ── FOOTER ── */
    /* ── FOOTER ── */
    footer {
      background: var(--dusk);
      border-top: 1px solid rgba(201, 150, 62, 0.15);
      padding: 7rem 2rem 0;
      color: var(--ash);
    }

    .footer-inner {
      max-width: 1100px;
      margin: 0 auto;
    }

    /* Top bar: brand + nav */
    .footer-top {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      padding-bottom: 5rem;
      border-bottom: 1px solid rgba(201, 150, 62, 0.1);
      align-items: start;
    }

    .footer-brand-title {
      font-family: var(--script);
      font-size: clamp(1.8rem, 3vw, 2.8rem);
      font-weight: 300;
      color: var(--gold);
      letter-spacing: 0.05em;
      margin-bottom: 1.2rem;
      line-height: 1.2;
    }

    .footer-brand-desc {
      font-family: var(--body);
      font-size: 0.9rem;
      color: rgba(242, 226, 188, 0.45);
      line-height: 1.9;
      max-width: 420px;
    }

    .footer-nav-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem 3rem;
    }

    .footer-nav-col-label {
      font-family: var(--script);
      font-size: 0.72rem;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 1.2rem;
      opacity: 0.8;
    }

    .footer-nav-col ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
    }

    .footer-nav-col ul a {
      font-family: var(--body);
      font-size: 0.88rem;
      color: var(--ash);
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .footer-nav-col ul a:hover {
      color: var(--gold-pale);
    }

    /* Audio credit band */
    .footer-audio-band {
      margin: 4rem 0;
      padding: 2rem 3rem;
      border: 1px solid rgba(201, 150, 62, 0.12);
      background: rgba(201, 150, 62, 0.03);
      display: flex;
      align-items: center;
      gap: 2rem;
    }

    .footer-audio-icon {
      font-family: var(--script);
      font-size: 2rem;
      color: var(--gold);
      opacity: 0.5;
      flex-shrink: 0;
      line-height: 1;
    }

    .footer-audio-text {
      font-family: var(--body);
      font-size: 0.85rem;
      color: rgba(242, 226, 188, 0.55);
      line-height: 1.8;
    }

    .footer-audio-text strong {
      color: var(--gold-pale);
      font-weight: 500;
    }

    /* Research section */
    .footer-research-heading {
      display: flex;
      align-items: center;
      gap: 2rem;
      margin-bottom: 3.5rem;
    }

    .footer-research-heading h3 {
      font-family: var(--script);
      font-size: 1.5rem;
      font-weight: 300;
      color: var(--gold);
      letter-spacing: 0.05em;
      white-space: nowrap;
    }

    .footer-research-rule {
      flex: 1;
      height: 1px;
      background: rgba(255, 255, 255, 0.07);
    }

    .footer-research-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 3rem 4rem;
    }

    .footer-source-category {
      font-family: var(--script);
      font-size: 0.7rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--gold-pale);
      margin-bottom: 2rem;
      opacity: 0.75;
    }

    .footer-source-list {
      display: flex;
      flex-direction: column;
      gap: 1.8rem;
    }

    .footer-source-item a {
      display: block;
      font-family: var(--script);
      font-size: 1.05rem;
      font-weight: 300;
      color: var(--parch);
      text-decoration: none;
      margin-bottom: 0.3rem;
      transition: color 0.3s;
      line-height: 1.3;
    }

    .footer-source-item a:hover {
      color: var(--gold);
    }

    .footer-source-item p {
      font-family: var(--body);
      font-size: 0.72rem;
      color: rgba(242, 226, 188, 0.35);
      line-height: 1.6;
    }

    /* Bottom bar */
    .footer-bottom {
      margin-top: 5rem;
      padding: 2rem 0 3rem;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 1.5rem;
    }

    .footer-consulted {
      font-family: var(--body);
      font-size: 0.7rem;
      color: rgba(242, 226, 188, 0.25);
      line-height: 1.7;
      max-width: 580px;
    }

    .footer-copyright {
      font-family: var(--script);
      font-size: 0.72rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(201, 150, 62, 0.3);
    }

    /* Responsive footer */
    @media (max-width: 900px) {
      .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
      }

      .footer-research-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
      }

      .footer-audio-band {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.8rem;
      }
    }

    /* ── REVEAL ANIMATIONS ── */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.9s ease, transform 0.9s ease;
    }

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

    .reveal-delay-1 {
      transition-delay: 0.15s;
    }

    .reveal-delay-2 {
      transition-delay: 0.3s;
    }

    .reveal-delay-3 {
      transition-delay: 0.45s;
    }

    /* ── DECORATIVE ORNAMENTS ── */
    .ornament {
      font-family: var(--script);
      color: var(--terra);
      opacity: 0.4;
      font-size: 1.5rem;
      line-height: 1;
      user-select: none;
      display: inline-block;
    }

    .divider-ornament {
      text-align: center;
      margin: 3rem 0;
      position: relative;
    }

    .divider-ornament::before,
    .divider-ornament::after {
      content: '';
      position: absolute;
      top: 50%;
      width: calc(50% - 30px);
      height: 1px;
      background: currentColor;
      opacity: 0.15;
    }

    .divider-ornament::before {
      left: 0;
    }

    .divider-ornament::after {
      right: 0;
    }

    /* ── SECTION TRANSITIONS ── */
    .section-transition {
      height: 4px;
      background: linear-gradient(to right, transparent, var(--terra), var(--gold), var(--terra), transparent);
      opacity: 0.3;
    }

    /* ── MUSIC CONTROL ── */
    #music-btn {
      position: fixed;
      bottom: 2rem;
      left: 2rem;
      z-index: 200;
      width: 52px;
      height: 52px;
      border-radius: 50%;
      background: rgba(14, 7, 4, 0.85);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(201, 150, 62, 0.35);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.4s ease;
      outline: none;
    }

    #music-btn:hover {
      border-color: rgba(201, 150, 62, 0.7);
      background: rgba(28, 15, 8, 0.95);
      transform: scale(1.08);
    }

    #music-btn svg {
      transition: opacity 0.3s;
    }

    #music-btn .icon-playing {
      opacity: 1;
    }

    #music-btn .icon-muted {
      opacity: 0;
      position: absolute;
    }

    #music-btn.muted .icon-playing {
      opacity: 0;
    }

    #music-btn.muted .icon-muted {
      opacity: 1;
    }

    /* Pulsing ring when playing */
    #music-btn::before {
      content: '';
      position: absolute;
      inset: -5px;
      border-radius: 50%;
      border: 1px solid rgba(201, 150, 62, 0.25);
      animation: ring-pulse 3s ease-in-out infinite;
      pointer-events: none;
    }

    #music-btn.muted::before {
      animation: none;
      opacity: 0;
    }

    @keyframes ring-pulse {

      0%,
      100% {
        transform: scale(1);
        opacity: 0.4;
      }

      50% {
        transform: scale(1.15);
        opacity: 0.1;
      }
    }

    /* Song title tooltip */
    #music-label {
      position: fixed;
      bottom: 2.4rem;
      left: 5rem;
      z-index: 200;
      font-family: var(--script);
      font-size: 0.78rem;
      font-style: italic;
      color: rgba(201, 150, 62, 0.7);
      letter-spacing: 0.08em;
      white-space: nowrap;
      pointer-events: none;
      opacity: 0;
      transform: translateX(-6px);
      transition: opacity 0.5s ease, transform 0.5s ease;
    }

    #music-label.visible {
      opacity: 1;
      transform: translateX(0);
    }

    /* First-visit music invite overlay on hero */
    #music-invite {
      position: absolute;
      bottom: 6rem;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.6rem;
      animation: fade-up 1s ease forwards 3s;
      opacity: 0;
      pointer-events: auto;
    }

    #music-invite button {
      background: transparent;
      border: 1px solid rgba(201, 150, 62, 0.4);
      color: rgba(201, 150, 62, 0.75);
      font-family: var(--script);
      font-size: 0.78rem;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      padding: 0.55rem 1.4rem;
      cursor: pointer;
      transition: all 0.35s;
    }

    #music-invite button:hover {
      border-color: var(--gold);
      color: var(--gold);
    }

    #music-invite p {
      font-family: var(--script);
      font-size: 0.7rem;
      font-style: italic;
      color: rgba(201, 150, 62, 0.35);
      letter-spacing: 0.1em;
    }

    /* Waveform bars (visible when playing) */
    .wave-bars {
      display: flex;
      align-items: center;
      gap: 2px;
      height: 18px;
    }

    .wave-bar {
      width: 2.5px;
      background: var(--gold);
      border-radius: 2px;
      animation: wave-bounce var(--dur, 0.8s) ease-in-out infinite alternate;
    }

    @keyframes wave-bounce {
      from {
        height: 4px;
        opacity: 0.5;
      }

      to {
        height: var(--h, 14px);
        opacity: 1;
      }
    }

    #music-btn.muted .wave-bar {
      animation: none;
      height: 4px;
      opacity: 0.35;
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 768px) {

      #origins .section-inner,
      .msg-grid,
      .sarangi-layout,
      .road-grid,
      .decline-grid,
      .revival-grid,
      .future-pillars {
        grid-template-columns: 1fr;
      }

      .hero-title {
        font-size: 3.5rem;
      }

      #progress-nav {
        display: none;
      }

      .sarangi-facts {
        grid-template-columns: 1fr;
      }
    }

    /* ── AUDIO PLAYER ── */
    #audio-controls {
      position: absolute;
      bottom: 2.5rem;
      right: 2.5rem;
      z-index: 10;
      display: flex;
      align-items: center;
      gap: 0.6rem;
      opacity: 0;
      animation: fade-up 1s ease forwards 2.8s;
    }

    .audio-btn {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: 1.5px solid rgba(201, 150, 62, 0.45);
      background: rgba(14, 7, 4, 0.55);
      backdrop-filter: blur(8px);
      color: var(--gold-pale);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      transition: all 0.3s ease;
      outline: none;
      padding: 0;
    }

    .audio-btn:hover {
      border-color: var(--gold);
      background: rgba(201, 150, 62, 0.15);
      color: var(--gold);
      transform: scale(1.08);
    }

    .audio-btn svg {
      width: 16px;
      height: 16px;
      fill: currentColor;
    }

    .audio-label {
      font-family: var(--script);
      font-size: 0.72rem;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: rgba(201, 150, 62, 0.5);
      font-style: italic;
      white-space: nowrap;
    }

    /* ── HOVER REVEAL ── */
    .img-frame.hover-reveal .img-frame-inner {
      opacity: 0;
      background: rgba(14, 7, 4, 0.85);
      backdrop-filter: blur(8px);
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .img-frame.hover-reveal:hover .img-frame-inner {
      opacity: 1;
    }

    .img-frame.hover-reveal img {
      transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .img-frame.hover-reveal:hover img {
      transform: scale(1.05);
    }
