    :root {
      --gold: #C9A84C;
      --gold-light: #fbbf24;
      --gold-dim: #8a6e2f;
      --dark: #0a0a0f;
      --dark-2: #111118;
      --dark-3: #16161f;
      --dark-4: #1e1e2a;
      --dark-5: #252535;
      --mid: #4a4a6a;
      --text: #d4d4e8;
      --text-dim: #8888aa;
      --text-bright: #f0f0ff;
      --white: #ffffff;
      --red: #c0392b;
      --green: #27ae60;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      background: var(--dark);
      color: var(--text);
      font-family: 'Outfit', sans-serif;
      font-size: 16px;
      line-height: 1.6;
      overflow-x: hidden;
    }

    /* ── TOPBAR ── */
    #topbar {
      background: #08080d;
      border-bottom: 1px solid rgba(201,168,76,0.2);
      padding: 8px 0;
      position: sticky;
      top: 0;
      z-index: 1000;
      overflow-x: auto;
      white-space: nowrap;
      scrollbar-width: none;
    }
    #topbar::-webkit-scrollbar { display: none; }
    .topbar-inner {
      display: flex;
      align-items: center;
      gap: 0;
      padding: 0 20px;
      min-width: max-content;
    }
    .topbar-inner a {
      color: var(--text-dim);
      text-decoration: none;
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 4px 12px;
      border-right: 1px solid rgba(255,255,255,0.06);
      transition: color 0.2s;
    }
    .topbar-inner a:first-child { border-left: 1px solid rgba(255,255,255,0.06); }
    .topbar-inner a:hover, .topbar-inner a.active { color: var(--gold); }

    /* ── NOTICE BANNER ── */
    .notice-banner {
      background: linear-gradient(90deg, rgba(201,168,76,0.08), rgba(201,168,76,0.03));
      border-bottom: 1px solid rgba(201,168,76,0.15);
      padding: 10px 24px;
      display: flex;
      align-items: center;
      gap: 12px;
      font-family: 'DM Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.08em;
    }
    .notice-banner .tag {
      background: var(--gold);
      color: #000;
      padding: 2px 8px;
      font-weight: 600;
      font-size: 9px;
      letter-spacing: 0.15em;
      flex-shrink: 0;
    }
    .notice-banner a { color: var(--gold); text-decoration: none; }
    .notice-banner a:hover { text-decoration: underline; }

    /* ── NAV WRAPPER ── */
    .nav-wrapper {
      position: sticky;
      top: 37px;
      z-index: 999;
    }
    nav {
      background: var(--dark-2);
      border-top: 1px solid rgba(201,168,76,0.1);
      border-bottom: 1px solid rgba(201,168,76,0.1);
      padding: 0 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .nav-logo {
      font-family: 'DM Mono', monospace;
      font-size: 11px;
      color: var(--gold);
      letter-spacing: 0.2em;
      text-transform: uppercase;
      padding: 14px 0;
    }
    .nav-links {
      display: flex;
      gap: 0;
      list-style: none;
    }
    .nav-links a {
      display: block;
      padding: 14px 16px;
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--text-dim);
      text-decoration: none;
      transition: color 0.2s;
      border-bottom: 2px solid transparent;
    }
    .nav-links a:hover, .nav-links a.active { color: var(--gold); border-bottom-color: var(--gold); }
    .hamburger {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      flex-direction: column;
      gap: 5px;
    }
    .hamburger span {
      display: block; width: 22px; height: 2px;
      background: var(--gold); transition: all 0.3s;
    }
    .mobile-menu {
      display: none;
      background: var(--dark-2);
      border-bottom: 1px solid rgba(201,168,76,0.1);
      padding: 12px 24px;
    }
    .mobile-menu.open { display: block; }
    .mobile-menu a {
      display: block;
      padding: 10px 0;
      font-family: 'DM Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--text-dim);
      text-decoration: none;
      border-bottom: 1px solid rgba(255,255,255,0.04);
    }
    .mobile-menu a:hover { color: var(--gold); }

    /* ── HERO ── */
    #home {
      min-height: 80vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      position: relative;
      padding: 120px 24px 80px;
      overflow: hidden;
    }
    .hero-bg {
      position: absolute; inset: 0;
      background:
        radial-gradient(ellipse 80% 60% at 50% 30%, rgba(201,168,76,0.07) 0%, transparent 70%),
        repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(201,168,76,0.03) 39px, rgba(201,168,76,0.03) 40px),
        repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(201,168,76,0.03) 39px, rgba(201,168,76,0.03) 40px);
      pointer-events: none;
    }
    .hero-seal {
      width: clamp(80px, 10vw, 110px); height: clamp(80px, 10vw, 110px);
      border-radius: 50%;
      border: 2px solid rgba(201,168,76,0.4);
      padding: 8px;
      margin-bottom: 28px;
      opacity: 0;
      animation: fadeUp 0.8s ease 0.2s forwards;
    }
    .hero-overline {
      font-family: 'DM Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.25em;
      color: var(--gold);
      text-transform: uppercase;
      margin-bottom: 20px;
      opacity: 0;
      animation: fadeUp 0.8s ease 0.4s forwards;
    }
    .hero-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(32px, 6vw, 68px);
      font-weight: 900;
      color: var(--text-bright);
      line-height: 1.05;
      margin-bottom: 12px;
      opacity: 0;
      animation: fadeUp 0.8s ease 0.5s forwards;
    }
    .hero-title em { font-style: italic; color: var(--gold); }
    .hero-sub {
      font-family: 'Outfit', sans-serif;
      font-size: 16px;
      color: var(--text-dim);
      font-weight: 300;
      margin-bottom: 48px;
      opacity: 0;
      animation: fadeUp 0.8s ease 0.65s forwards;
    }
    .hero-btns {
      display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
      opacity: 0;
      animation: fadeUp 0.8s ease 0.8s forwards;
    }
    .btn-primary {
      background: var(--gold);
      color: #000;
      border: none;
      padding: 13px 28px;
      font-family: 'DM Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      text-decoration: none;
      font-weight: 500;
      cursor: pointer;
      transition: background 0.2s, transform 0.15s;
    }
    .btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
    .btn-outline {
      background: transparent;
      color: var(--gold);
      border: 1px solid rgba(201,168,76,0.5);
      padding: 13px 28px;
      font-family: 'DM Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      text-decoration: none;
      cursor: pointer;
      transition: border-color 0.2s, background 0.2s, transform 0.15s;
    }
    .btn-outline:hover { border-color: var(--gold); background: rgba(201,168,76,0.06); transform: translateY(-1px); }

    /* ── SECTION WRAPPER ── */
    section {
      padding: 100px 24px;
      max-width: 1200px;
      margin: 0 auto;
    }
    .section-tag {
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 16px;
    }
    .section-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(28px, 4vw, 48px);
      font-weight: 700;
      color: var(--text-bright);
      line-height: 1.2;
      margin-bottom: 24px;
    }
    .section-title em { font-style: italic; color: var(--gold); }
    .section-desc {
      color: var(--text-dim);
      font-size: 15px;
      max-width: 640px;
      line-height: 1.8;
      margin-bottom: 48px;
    }

    /* ── FULL-WIDTH WRAPPERS ── */
    .full-bg-dark2 { background: var(--dark-2); }
    .full-bg-dark { background: var(--dark); }

    /* ── WHY CARDS ── */
    .why-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 20px;
      margin-top: 48px;
    }
    .why-card {
      background: var(--dark-3);
      border: 1px solid rgba(255,255,255,0.06);
      border-top: 2px solid var(--gold-dim);
      padding: 28px 24px;
      transition: border-top-color 0.2s, transform 0.2s;
    }
    .why-card:hover { border-top-color: var(--gold); transform: translateY(-3px); }
    .why-num {
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      color: var(--gold-dim);
      letter-spacing: 0.2em;
      margin-bottom: 12px;
    }
    .why-card h4 {
      font-family: 'Playfair Display', serif;
      font-size: 18px;
      font-weight: 700;
      color: var(--text-bright);
      margin-bottom: 10px;
    }
    .why-card p { font-size: 13px; color: var(--text-dim); line-height: 1.65; }

    /* ── SITEMAP / PORTAL NAV ── */
    .portal-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 16px;
      margin-top: 48px;
    }
    .portal-card {
      background: var(--dark-3);
      border: 1px solid rgba(255,255,255,0.06);
      padding: 28px;
      text-decoration: none;
      display: block;
      transition: border-color 0.2s, transform 0.2s;
    }
    .portal-card:hover { border-color: rgba(201,168,76,0.3); transform: translateY(-2px); }
    .portal-card .portal-id {
      font-family: 'DM Mono', monospace;
      font-size: 9px;
      letter-spacing: 0.2em;
      color: var(--gold-dim);
      text-transform: uppercase;
      margin-bottom: 14px;
    }
    .portal-card h4 {
      font-family: 'Playfair Display', serif;
      font-size: 18px; font-weight: 700;
      color: var(--text-bright);
      margin-bottom: 10px;
    }
    .portal-card p { font-size: 13px; color: var(--text-dim); line-height: 1.65; margin-bottom: 18px; }
    .portal-arrow {
      font-family: 'DM Mono', monospace;
      font-size: 11px;
      color: var(--gold);
      letter-spacing: 0.1em;
    }

    /* ── TECH STACK SECTION ── */
    .tech-row {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 36px;
    }
    .tech-pill {
      background: var(--dark-3);
      border: 1px solid rgba(201,168,76,0.15);
      padding: 8px 18px;
      font-family: 'DM Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.1em;
      color: var(--text-dim);
      transition: border-color 0.2s, color 0.2s;
    }
    .tech-pill:hover { border-color: var(--gold); color: var(--gold); }

    /* ── MISSION STATEMENT BLOCK ── */
    .mission-block {
      background: var(--dark-3);
      border: 1px solid rgba(201,168,76,0.2);
      padding: 56px 48px;
      max-width: 760px;
      margin: 48px auto 0;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .mission-block::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(201,168,76,0.05), transparent 70%);
      pointer-events: none;
    }
    .mission-block .quote-mark {
      font-family: 'Playfair Display', serif;
      font-size: 64px;
      color: var(--gold-dim);
      line-height: 0.6;
      margin-bottom: 24px;
      display: block;
    }
    .mission-block blockquote {
      font-family: 'Playfair Display', serif;
      font-style: italic;
      font-size: clamp(16px, 2vw, 20px);
      color: var(--text-bright);
      line-height: 1.7;
      margin-bottom: 28px;
    }
    .mission-block .attr {
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.2em;
      color: var(--gold);
      text-transform: uppercase;
    }

    /* ── CREDITS / BUILT BY ── */
    .credits-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 20px;
      margin-top: 48px;
    }
    .credit-card {
      background: var(--dark-3);
      border: 1px solid rgba(255,255,255,0.06);
      padding: 28px;
      transition: border-color 0.2s;
    }
    .credit-card:hover { border-color: rgba(201,168,76,0.2); }
    .credit-card .credit-id {
      font-family: 'DM Mono', monospace;
      font-size: 9px;
      letter-spacing: 0.2em;
      color: var(--gold-dim);
      text-transform: uppercase;
      margin-bottom: 14px;
    }
    .credit-card h4 {
      font-family: 'Playfair Display', serif;
      font-size: 18px; font-weight: 700;
      color: var(--text-bright);
      margin-bottom: 8px;
    }
    .credit-card p { font-size: 13px; color: var(--text-dim); line-height: 1.65; }

    /* ── FOOTER ── */
    footer {
      background: #06060a;
      border-top: 1px solid rgba(201,168,76,0.1);
      padding: 60px 24px 32px;
    }
    .footer-inner { max-width: 1200px; margin: 0 auto; }
    .footer-top {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 48px;
    }
    .footer-brand .name {
      font-family: 'Playfair Display', serif;
      font-size: 20px; font-weight: 700;
      color: var(--text-bright);
      margin-bottom: 8px;
    }
    .footer-brand .name em { font-style: italic; color: var(--gold); }
    .footer-brand p { font-size: 13px; color: var(--text-dim); line-height: 1.7; max-width: 280px; }
    .footer-col h5 {
      font-family: 'DM Mono', monospace;
      font-size: 10px; letter-spacing: 0.2em;
      color: var(--gold); text-transform: uppercase;
      margin-bottom: 16px;
    }
    .footer-col a {
      display: block;
      font-size: 13px;
      color: var(--text-dim);
      text-decoration: none;
      margin-bottom: 8px;
      transition: color 0.2s;
    }
    .footer-col a:hover { color: var(--text); }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.06);
      padding-top: 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
    }
    .footer-bottom .copy {
      font-family: 'DM Mono', monospace;
      font-size: 10px; letter-spacing: 0.1em;
      color: var(--text-dim);
    }
    .footer-bottom .era {
      font-family: 'DM Mono', monospace;
      font-size: 10px; letter-spacing: 0.1em;
      color: var(--gold-dim);
    }

    /* ── ANIMATIONS ── */
    .live-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.15em;
      color: #2ecc71;
      text-transform: uppercase;
      margin-bottom: 32px;
    }
    .live-dot {
      width: 7px; height: 7px;
      border-radius: 50%;
      background: #2ecc71;
      animation: pulse 2s infinite;
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(1.3); }
    }
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes slideIn {
      from { opacity: 0; transform: translateY(16px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .mission-block { padding: 36px 24px; }
      .footer-top { grid-template-columns: 1fr 1fr; }
      .footer-brand { grid-column: 1 / -1; }
      #home { padding: 100px 24px 60px; }
    }
    @media (max-width: 480px) {
      .footer-top { grid-template-columns: 1fr; }
      .hero-btns { flex-direction: column; align-items: center; }
    }

    /* ════════════════════════════════════
       pAIz CHATBOT
    ════════════════════════════════════ */
    #paiz-toggle {
      position: fixed;
      bottom: 28px;
      right: 28px;
      z-index: 9000;
      background: var(--gold);
      color: #000;
      border: none;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'DM Mono', monospace;
      font-size: 9px;
      letter-spacing: 0.08em;
      font-weight: 600;
      flex-direction: column;
      gap: 2px;
      transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
      box-shadow: 0 4px 24px rgba(201,168,76,0.35);
    }
    #paiz-toggle:hover {
      background: var(--gold-light);
      transform: translateY(-2px);
      box-shadow: 0 8px 32px rgba(201,168,76,0.5);
    }
    #paiz-toggle .toggle-icon { font-size: 18px; line-height: 1; }
    #paiz-toggle .toggle-label { font-size: 8px; letter-spacing: 0.12em; }

    /* ── DESKTOP: panel opens to the LEFT of the toggle button ── */
    #paiz-panel {
      position: fixed;
      bottom: 100px;
      right: 28px;
      z-index: 8999;
      width: 360px;
      max-height: 560px;
      background: var(--dark-2);
      border: 1px solid rgba(201,168,76,0.25);
      display: flex;
      flex-direction: column;
      box-shadow: 0 20px 60px rgba(0,0,0,0.6);
      transform: scale(0.92) translateY(16px);
      opacity: 0;
      pointer-events: none;
      transition: transform 0.25s ease, opacity 0.25s ease;
      transform-origin: bottom right;
    }
    #paiz-panel.open {
      transform: scale(1) translateY(0);
      opacity: 1;
      pointer-events: all;
    }

    /* Desktop: prevent panel from overlapping the nav by capping width
       so it never pushes into nav link territory */
    @media (min-width: 769px) {
      #paiz-panel {
        right: 28px;
        max-width: min(360px, calc(100vw - 56px));
      }
    }

    .paiz-header {
      background: var(--dark-3);
      border-bottom: 1px solid rgba(201,168,76,0.15);
      padding: 14px 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-shrink: 0;
    }
    .paiz-header-left {
      display: flex; align-items: center; gap: 10px;
    }
    .paiz-avatar {
      width: 34px; height: 34px;
      border-radius: 50%;
      background: rgba(201,168,76,0.1);
      border: 1px solid rgba(201,168,76,0.35);
      display: flex; align-items: center; justify-content: center;
      font-family: 'DM Mono', monospace;
      font-size: 12px;
      font-weight: 600;
      color: var(--gold);
    }
    .paiz-name {
      font-family: 'DM Mono', monospace;
      font-size: 12px;
      letter-spacing: 0.12em;
      color: var(--text-bright);
      font-weight: 500;
    }
    .paiz-by {
      font-family: 'DM Mono', monospace;
      font-size: 9px;
      letter-spacing: 0.1em;
      color: var(--gold-dim);
    }
    .paiz-status {
      display: flex; align-items: center; gap: 5px;
      font-family: 'DM Mono', monospace;
      font-size: 9px;
      letter-spacing: 0.1em;
      color: #2ecc71;
    }
    .paiz-status-dot {
      width: 6px; height: 6px;
      border-radius: 50%;
      background: #2ecc71;
      animation: pulse 2s infinite;
    }
    .paiz-close {
      background: none; border: none; cursor: pointer;
      color: var(--text-dim); font-size: 18px;
      padding: 0 4px;
      transition: color 0.2s;
      line-height: 1;
    }
    .paiz-close:hover { color: var(--text-bright); }

    .paiz-messages {
      flex: 1;
      overflow-y: auto;
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      scrollbar-width: thin;
      scrollbar-color: var(--dark-4) transparent;
    }
    .paiz-messages::-webkit-scrollbar { width: 4px; }
    .paiz-messages::-webkit-scrollbar-thumb { background: var(--dark-4); }

    .msg {
      display: flex;
      gap: 8px;
      animation: slideIn 0.2s ease;
    }
    .msg.user { flex-direction: row-reverse; }
    .msg-bubble {
      max-width: 80%;
      padding: 10px 14px;
      font-size: 13px;
      line-height: 1.55;
      border-radius: 0;
    }
    .msg.bot .msg-bubble {
      background: var(--dark-3);
      border: 1px solid rgba(255,255,255,0.06);
      border-left: 2px solid var(--gold-dim);
      color: var(--text);
    }
    .msg.user .msg-bubble {
      background: rgba(201,168,76,0.12);
      border: 1px solid rgba(201,168,76,0.2);
      color: var(--text-bright);
    }
    .msg-bubble a {
      color: var(--gold);
      text-decoration: none;
    }
    .msg-bubble a:hover { text-decoration: underline; }

    .paiz-suggestions {
      padding: 0 16px 12px;
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }
    .suggestion-chip {
      background: var(--dark-3);
      border: 1px solid rgba(201,168,76,0.15);
      color: var(--text-dim);
      font-family: 'DM Mono', monospace;
      font-size: 9px;
      letter-spacing: 0.08em;
      padding: 5px 10px;
      cursor: pointer;
      transition: border-color 0.2s, color 0.2s;
    }
    .suggestion-chip:hover { border-color: var(--gold); color: var(--gold); }

    .paiz-input-row {
      padding: 12px 16px;
      border-top: 1px solid rgba(255,255,255,0.06);
      display: flex;
      gap: 8px;
      flex-shrink: 0;
    }
    #paiz-input {
      flex: 1;
      background: var(--dark-3);
      border: 1px solid rgba(255,255,255,0.08);
      color: var(--text-bright);
      font-family: 'Outfit', sans-serif;
      font-size: 13px;
      padding: 9px 12px;
      outline: none;
      transition: border-color 0.2s;
    }
    #paiz-input:focus { border-color: rgba(201,168,76,0.4); }
    #paiz-input::placeholder { color: var(--text-dim); }
    #paiz-send {
      background: var(--gold);
      color: #000;
      border: none;
      padding: 9px 14px;
      cursor: pointer;
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.1em;
      font-weight: 600;
      transition: background 0.2s;
    }
    #paiz-send:hover { background: var(--gold-light); }
    #paiz-send:disabled { opacity: 0.5; cursor: not-allowed; }

    .paiz-powered {
      padding: 8px 16px;
      border-top: 1px solid rgba(255,255,255,0.04);
      font-family: 'DM Mono', monospace;
      font-size: 8px;
      letter-spacing: 0.12em;
      color: var(--text-dim);
      text-align: center;
      flex-shrink: 0;
    }

    @media (max-width: 480px) {
      #paiz-panel {
        width: calc(100vw - 24px);
        right: 12px;
        bottom: 90px;
      }
      #paiz-toggle { right: 16px; bottom: 16px; }
    }

    /* typing indicator */
    .typing-indicator { display: flex; gap: 4px; align-items: center; padding: 4px 0; }
    .typing-dot {
      width: 5px; height: 5px;
      border-radius: 50%;
      background: var(--gold-dim);
      animation: typingBounce 1.2s infinite;
    }
    .typing-dot:nth-child(2) { animation-delay: 0.2s; }
    .typing-dot:nth-child(3) { animation-delay: 0.4s; }
    @keyframes typingBounce {
      0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
      30% { transform: translateY(-5px); opacity: 1; }
    }
