/* ============ TOKENS ============ */
      :root {
        --white: #ffffff;
        --surface: #faf8f4;
        --ink: #16181d;
        --muted: #6b6f76;
        --line: #e9e5db;
        --gold: #b8873a;
        --gold-soft: #e7c988;
        --maroon: #7a1f2b;
        --indigo: #171c2e;
        --indigo-2: #232a44;
        --radius: 14px;
        --max: 1240px;
        --shadow: 0 10px 30px rgba(23, 28, 46, 0.08);
      }

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

      html { scroll-behavior: smooth; }

      body {
        font-family: 'Inter', -apple-system, sans-serif;
        color: var(--ink);
        background: var(--white);
        line-height: 1.65;
        -webkit-font-smoothing: antialiased;
      }

      h1, h2, h3, h4 {
        font-family: 'Fraunces', serif;
        font-weight: 600;
        letter-spacing: -0.01em;
        color: var(--ink);
      }

      a { color: inherit; }

      img { display: block; max-width: 100%; }

      .eyebrow {
        font-family: 'IBM Plex Mono', monospace;
        font-size: 12px;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--gold);
        font-weight: 600;
      }

      .wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

      .section { padding: 88px 0; }
      .section-head { max-width: 720px; margin: 0 0 48px; }
      .section-head h2 { font-size: clamp(28px, 3.4vw, 42px); margin-top: 10px; }
      .section-head p { color: var(--muted); font-size: 1.05rem; margin-top: 14px; }

      /* ============ HERO ============ */
      .hero {
        position: relative;
        min-height: 88vh;
        display: flex;
        align-items: flex-end;
        background: linear-gradient(180deg, rgba(10,12,22,0.35) 0%, rgba(10,12,22,0.55) 55%, rgba(10,12,22,0.92) 100%),
          url('https://dxk1acp76n912.cloudfront.net/images/dalada-article/dbanner3.jpeg') center/cover no-repeat;
        color: #fff;
      }
      .hero-inner { width: 100%; padding: 60px 24px 48px; }
      .hero-content { max-width: var(--max); margin: 0 auto; }
      .hero .eyebrow { color: var(--gold-soft); }
      .hero h1 {
        font-size: clamp(40px, 7vw, 82px);
        line-height: 1.02;
        margin: 14px 0 18px;
        max-width: 780px;
        color: rgba(255,255,255,0.85);
      }
      .hero p.lede {
        font-size: clamp(15px, 2vw, 19px);
        max-width: 560px;
        color: rgba(255,255,255,0.85);
        margin-bottom: 34px;
      }
      .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }
      .btn {
        display: inline-block;
        padding: 14px 26px;
        border-radius: 40px;
        font-weight: 700;
        font-size: 14px;
        text-decoration: none;
        transition: transform 0.2s ease, background 0.2s ease;
      }
      .btn:hover { transform: translateY(-2px); }
      .btn-gold { background: var(--gold); color: var(--indigo); }
      .btn-gold:hover { background: var(--gold-soft); }
      .btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
      .btn-ghost:hover { border-color: #fff; }

      /* Countdown — "lamps" style */
      .countdown-row { display: flex; gap: 14px; flex-wrap: wrap; }
      .lamp {
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.14);
        border-radius: 12px;
        padding: 14px 20px;
        text-align: center;
        min-width: 84px;
      }
      .lamp .num {
        font-family: 'IBM Plex Mono', monospace;
        font-size: 30px; font-weight: 600; color: var(--gold-soft); line-height: 1;
      }
      .lamp .lbl {
        font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em;
        color: rgba(255,255,255,0.6); margin-top: 6px;
      }
      .countdown-caption { font-size: 12.5px; color: rgba(255,255,255,0.55); margin-top: 12px; font-family: 'IBM Plex Mono', monospace; }

      /* ============ INTRO ============ */
      .intro { background: var(--surface); }
      .intro .wrap { max-width: 900px; }
      .intro p { color: #3a3d43; font-size: 1.12rem; margin-bottom: 20px; }
      .intro em { color: var(--maroon); font-style: italic; }
      .reference-link { font-size: 14px; color: var(--muted); margin-top: 10px; }
      .reference-link a { color: var(--indigo); text-decoration: underline; }

      /* ============ FLAME TIMELINE (signature element) ============ */
      .flame-timeline { background: var(--white); }
      .flame-track {
        position: relative;
        display: flex;
        justify-content: space-between;
        gap: 6px;
        padding-top: 10px;
        overflow-x: auto;
      }
      .flame-track::before {
        content: '';
        position: absolute;
        top: 30px; left: 0; right: 0;
        height: 1px;
        background: var(--line);
      }
      .flame-night {
        flex: 1;
        min-width: 74px;
        text-align: center;
        position: relative;
      }
      .flame-dot {
        width: 58px; height: 58px;
        margin: 0 auto 14px;
        border-radius: 50%;
        background: #fff;
        border: 2px solid var(--line);
        display: flex; align-items: center; justify-content: center;
        font-family: 'IBM Plex Mono', monospace;
        font-weight: 600; font-size: 12.5px;
        color: var(--muted);
        position: relative; z-index: 2;
      }
      .flame-night.kumbal .flame-dot { border-color: var(--gold-soft); color: var(--gold); }
      .flame-night.randoli .flame-dot { border-color: var(--gold); color: var(--gold); background: #fdf6e8; }
      .flame-night.final .flame-dot { border-color: var(--maroon); color: var(--maroon); background: #fbecee; box-shadow: 0 0 0 4px rgba(122,31,43,0.08); }
      .flame-night .fn-label { font-size: 11.5px; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: 0.02em; }
      .flame-night .fn-date { font-size: 11px; color: var(--muted); margin-top: 2px; font-family: 'IBM Plex Mono', monospace; }

      .flame-legend { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 34px; }
      .flame-legend .item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
      .flame-legend .swatch { width: 12px; height: 12px; border-radius: 50%; }

      /* ============ TIMELINE (history) ============ */
      .history { background: var(--surface); }
      .history-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
      }
      .history-card {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        padding: 26px 22px;
      }
      .history-card .era {
        font-family: 'IBM Plex Mono', monospace;
        color: var(--gold);
        font-weight: 600; font-size: 13px;
        margin-bottom: 12px;
      }
      .history-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
      .history-card p { color: var(--muted); font-size: 0.95rem; }
      @media (max-width: 900px) { .history-grid { grid-template-columns: repeat(2, 1fr); } }
      @media (max-width: 560px) { .history-grid { grid-template-columns: 1fr; } }

      .gallery-row {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
        margin-top: 44px;
      }
      .gallery-row img { width: 100%; height: 220px; object-fit: cover; border-radius: 12px; }
      @media (max-width: 900px) { .gallery-row { grid-template-columns: repeat(2, 1fr); } }

      /* ============ SCHEDULE ============ */
      .schedule { background: var(--indigo); color: #fff; }
      .schedule .section-head p { color: rgba(255,255,255,0.65); }
      .schedule .eyebrow { color: var(--gold-soft); }
      .schedule .section-head h2 { color: #fff; }

      .phase-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
      }
      @media (max-width: 980px) { .phase-grid { grid-template-columns: 1fr; } }

      .phase-card {
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: var(--radius);
        padding: 30px 26px;
      }
      .phase-card.final { border-color: var(--gold); background: linear-gradient(180deg, rgba(184,135,58,0.14), rgba(255,255,255,0.03)); }
      .phase-num { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--gold-soft); letter-spacing: 0.1em; }
      .phase-card h3 { color: #fff; font-size: 1.5rem; margin: 10px 0 4px; }
      .phase-sub { color: rgba(255,255,255,0.55); font-size: 13px; margin-bottom: 22px; }

      .tier {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 13px 0;
        border-top: 1px solid rgba(255,255,255,0.09);
        font-size: 14px;
      }
      .tier:first-of-type { border-top: none; }
      .tier .tier-name { color: rgba(255,255,255,0.85); font-weight: 600; }
      .tier .tier-name small { display: block; color: rgba(255,255,255,0.45); font-weight: 400; font-size: 11.5px; margin-top: 2px; }
      .tier .tier-date { font-family: 'IBM Plex Mono', monospace; color: var(--gold-soft); font-weight: 600; white-space: nowrap; }

      .schedule-note {
        margin-top: 40px;
        font-size: 13.5px;
        color: rgba(255,255,255,0.55);
        border-top: 1px solid rgba(255,255,255,0.12);
        padding-top: 22px;
      }

      /* ============ QA NAV ============ */
      .qa-nav { background: var(--surface); }
      .qa-links { list-style: none; max-width: 640px; margin: 0 auto; display: grid; gap: 4px; }
      .qa-links a {
        display: flex; align-items: center; gap: 12px;
        text-decoration: none; color: var(--ink);
        font-weight: 600; font-size: 1rem;
        padding: 16px 4px;
        border-bottom: 1px solid var(--line);
      }
      .qa-links a .arrow { margin-left: auto; color: var(--gold); font-family: 'IBM Plex Mono', monospace; transition: transform 0.2s ease; }
      .qa-links a:hover { color: var(--maroon); }
      .qa-links a:hover .arrow { transform: translateX(4px); }
      .qa-links li { counter-increment: qa; }
      .qa-links { counter-reset: qa; }
      .qa-links a::before {
        content: counter(qa, decimal-leading-zero);
        font-family: 'IBM Plex Mono', monospace;
        font-size: 12.5px; color: var(--gold); font-weight: 600;
      }

      /* ============ QA ANSWER SECTIONS ============ */
      .qa-answer { padding: 80px 0; border-top: 1px solid var(--line); }
      .qa-answer .wrap { max-width: 880px; }
      .qa-answer .eyebrow { display: block; margin-bottom: 10px; }
      .qa-answer h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 26px; }
      .qa-answer h4 {
        font-family: 'Inter', sans-serif;
        font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
        text-transform: uppercase; color: var(--maroon);
        margin-top: 34px; margin-bottom: 10px;
      }
      .qa-answer p { color: #363940; font-size: 1.05rem; margin-bottom: 16px; }
      .qa-answer a { color: var(--indigo); text-decoration: underline; }
      .qa-answer a:hover { color: var(--gold); }
      .qa-answer .image-gallery { margin-top: 34px; }

      .image-gallery { display: flex; flex-wrap: wrap; gap: 12px; }
      .image-gallery img {
        flex: 1 1 220px;
        max-height: 260px;
        width: 100%;
        object-fit: cover;
        border-radius: 10px;
        box-shadow: var(--shadow);
      }

      /* ============ BUTTON CTA SECTION ============ */
      .cta-section {
        background: var(--surface);
        padding: 70px 24px;
        text-align: center;
      }
      .cta-buttons { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
      .custom-btn {
        display: inline-block;
        background: var(--indigo);
        color: #fff;
        text-decoration: none;
        padding: 15px 32px;
        border-radius: 40px;
        font-weight: 700;
        font-size: 15px;
        transition: transform 0.2s ease, background 0.2s ease;
        min-width: 220px;
      }
      .custom-btn.alt { background: transparent; color: var(--indigo); border: 1.5px solid var(--indigo); }
      .custom-btn:hover { transform: translateY(-2px); background: var(--maroon); }
      .custom-btn.alt:hover { background: var(--indigo); color: #fff; }

      /* ============ SCROLL TOP ============ */
      #scrollToTopBtn {
        position: fixed; bottom: 30px; right: 26px;
        z-index: 100; display: none;
        width: 46px; height: 46px;
        background: var(--indigo); color: #fff;
        font-size: 20px; border: none; border-radius: 50%;
        cursor: pointer; box-shadow: var(--shadow);
      }
      #scrollToTopBtn:hover { background: var(--maroon); }

      .slide-note {
        text-align: center; font-style: italic; font-size: 12.5px;
        color: var(--muted); padding: 16px 20px; background: var(--white);
        border-top: 1px solid var(--line);
      }

      @media (max-width: 700px) {
        .section { padding: 60px 0; }
        .hero { min-height: 78vh; }
      }