﻿/* ── CUSTOM FONTS ── */
@font-face {
  font-family: 'Eiko';
  src: url('/assets/fonts/PPEiko-LightItalic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

  :root {
    --black: #0e0e0e;
    --white: #f8f7f4;
    --grey-100: #f0efe9;
    --grey-200: #e2e0d8;
    --grey-400: #6b6860;
    --grey-600: #5a5751;
    --accent: #7b6fcd;
    --lavender: #7b6fcd;
    --lavender-text: #5d52a8;
    --lavender-light: #ece9f8;
    --lavender-mid: #b8b0e8;

    /* WB2016 palette */
    --wb-rose: #e8829a;
    --wb-peach: #f5b89a;
    --wb-coral: #f07a6a;
    --wb-lavender: #c49ec8;
    --wb-teal: #6abfb8;
    --wb-sunset: #f5d08a;
    --wb-warm: #fce8e0;
  }

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

  html { scroll-behavior: smooth; overflow-x: hidden; }

  body {
    overflow-x: hidden;
    display: block; /* nav is a block sibling, never flex-row */
    font-family: 'Inter', sans-serif;
    background: #0e0e0e;
    color: #f8f7f4;
    font-size: 16px;
    line-height: 1.6;
    cursor: default;
  }

  /* ── LANGUAGE SWITCHER (in nav) ── */
  .nav-lang {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 28px;
    padding-left: 24px;
    border-left: 1px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
    transition: border-color 0.3s;
  }
  nav.nav-solid .nav-lang { border-left-color: rgba(255,255,255,0.2); }
  .nav-lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    padding: 3px 5px;
    transition: color 0.2s;
    border-bottom: 1px solid transparent;
  }
  nav.nav-solid .nav-lang-btn { color: rgba(255,255,255,0.55); }
  .nav-lang-btn:hover { color: white; }
  nav.nav-solid .nav-lang-btn:hover { color: white; }
  .nav-lang-btn.active { color: white; border-bottom-color: rgba(255,255,255,0.65); }
  nav.nav-solid .nav-lang-btn.active { color: white; border-bottom-color: rgba(255,255,255,0.65); }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background: transparent;
    border-bottom: none;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    transition: background 0.3s ease, border-color 0.3s ease;
  }
  nav.nav-solid {
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  nav.menu-open {
    background: #1a1a1a !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Logo SVG */
  .nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  .nav-logo-svg {
    height: 22px;
    width: auto;
    color: var(--white);
    transition: color 0.3s;
  }
  nav.nav-solid .nav-logo-svg { color: var(--white); }

  /* Nav links */
  .nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
    align-items: center;
  }
  .nav-links a {
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255,255,255,0.90);
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
  }
  nav.nav-solid .nav-links a { color: rgba(255,255,255,0.88); }
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: rgba(255,255,255,0.8);
    transition: width 0.25s;
  }
  .nav-links a:hover { color: white; }
  nav.nav-solid .nav-links a:hover { color: white; }
  .nav-links a:hover::after { width: 100%; }
  .nav-links a.nav-active { color: white; }
  .nav-links a.nav-active::after { width: 100%; }

  /* Tools dropdown */
  .nav-item-dropdown { position: relative; }
  .nav-dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.90);
    padding: 4px 0;
    transition: color 0.2s;
  }
  nav.nav-solid .nav-dropdown-btn { color: rgba(255,255,255,0.88); }
  .nav-dropdown-btn:hover { color: white; }
  nav.nav-solid .nav-dropdown-btn:hover { color: white; }
  .dropdown-chevron { transition: transform 0.2s; flex-shrink: 0; }
  .nav-item-dropdown.open .dropdown-chevron { transform: rotate(180deg); }
  /* Mobile accordion sub-links (hidden on desktop; visible at 900px) */
  .nav-mobile-sub { display: none; list-style: none; margin: 0; padding: 0; }
  /* Individual tool links: shown only in mobile menu */
  .nav-mobile-only { display: none; }
  /* Logo: full text on desktop, arch icon on mobile */
  .nav-logo-icon { display: none; }

  /* ── MEGA PANEL (full-screen overlay) ── */
  .nav-mega-panel {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 299;
    background: rgba(10,10,10,0.55);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
  }
  body:has(.nav-item-dropdown.open) .nav-mega-panel {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.25s ease, visibility 0s linear 0s;
  }
  .mega-inner {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 100%;
  }
  .mega-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 56px 64px;
    text-decoration: none;
    text-transform: none;
    letter-spacing: normal;
    border-right: 1px solid rgba(255,255,255,0.07);
    position: relative;
    overflow: hidden;
    transition: background 0.25s;
  }
  .mega-item:last-child { border-right: none; }
  .mega-item::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.5;
    transition: opacity 0.3s;
    pointer-events: none;
  }
  .mega-item:hover { background: rgba(255,255,255,0.03); }
  .mega-item:hover::before { opacity: 1; }
  /* Per-item colors: icon + radial glow */
  .mega-item:nth-child(1)::before { background: radial-gradient(ellipse at 20% 115%, rgba(123,111,205,0.28) 0%, transparent 55%); }
  .mega-item:nth-child(1) .mega-icon { color: #9b8ec4; }
  .mega-item:nth-child(2)::before { background: radial-gradient(ellipse at 20% 115%, rgba(201,146,122,0.28) 0%, transparent 55%); }
  .mega-item:nth-child(2) .mega-icon { color: #c9927a; }
  .mega-item:nth-child(3)::before { background: radial-gradient(ellipse at 20% 115%, rgba(137,196,225,0.28) 0%, transparent 55%); }
  .mega-item:nth-child(3) .mega-icon { color: #89c4e1; }
  .mega-icon {
    flex-shrink: 0;
    margin-bottom: 20px;
    position: relative;
  }
  .mega-icon svg { width: 28px; height: 28px; }
  .mega-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #f8f7f4;
    position: relative;
    margin-bottom: 12px;
    line-height: 1.2;
  }
  .mega-desc {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: rgba(248,247,244,0.55);
    line-height: 1.65;
    position: relative;
    max-width: 280px;
  }
  .mega-item::after { display: none !important; }

  /* Navbar darkens when mega panel is open (desktop only) */
  @media (min-width: 1025px) {
    nav:has(.nav-item-dropdown.open) {
      background: rgba(6,6,6,0.92);
      backdrop-filter: blur(32px);
      -webkit-backdrop-filter: blur(32px);
      border-bottom-color: rgba(255,255,255,0.10);
    }
  }

  /* ── MEGA PANEL responsive: revert to simple dropdown below 1024px ── */
  @media (max-width: 1024px) {
    .nav-mega-panel {
      position: absolute;
      top: calc(100% + 10px);
      left: 50%;
      bottom: auto;
      transform: translateX(-50%);
      width: auto;
      min-width: 220px;
      background: rgba(14,14,14,0.96);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(255,255,255,0.09);
      border-radius: 4px;
      box-shadow: 0 8px 28px rgba(0,0,0,0.45);
    }
    .mega-inner {
      flex-direction: column;
      height: auto;
      width: auto;
      padding: 8px 0;
      gap: 0;
    }
    .mega-item {
      flex: none;
      flex-direction: row;
      align-items: center;
      gap: 12px;
      padding: 11px 20px;
      border-right: none;
      border-bottom: 1px solid rgba(255,255,255,0.05);
      justify-content: flex-start;
    }
    .mega-item:last-child { border-bottom: none; }
    .mega-item::before { display: none; }
    .mega-item:hover { background: rgba(255,255,255,0.06); transform: none; }
    .mega-arch { display: none; }
    .mega-icon { margin-bottom: 0; width: 16px; height: 16px; flex-shrink: 0; }
    .mega-icon svg { width: 16px; height: 16px; }
    .mega-title { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600; margin-bottom: 0; white-space: nowrap; }
    .mega-desc { display: none; }
  }

  /* ── HERO WRAPPER (hero + featured strip share the same background image) ── */
  .hero-section-wrap {
    position: relative;
  }
  .hero-section-wrap > .hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% 42%;
    display: block;
    z-index: 0;
    pointer-events: none;
  }

  /* ── HERO (new full-bleed image design) ── */
  .hero-new {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    z-index: 1;
  }
  /* Legacy: direct img inside hero (before wrapper is added) */
  .hero-new > .hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% 0%;
    display: block;
    z-index: 0;
  }
  .hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to right,
      rgba(0,0,0,0.62) 0%,
      rgba(0,0,0,0.38) 50%,
      rgba(0,0,0,0.08) 100%
    );
    pointer-events: none;
  }
  .hero-content {
    position: relative;
    z-index: 1;
    padding: 140px 80px 120px;
    width: min(640px, 100%);
    max-width: 820px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
  .hero-eyebrow-new {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.68);
    line-height: 1.5;
  }
  .hero-motto-wrap {
    width: 100%;
    max-width: 600px;
  }
  .hero-motto-wrap svg {
    width: 100%;
    height: auto;
    display: block;
  }
  /* Glassmorphism CTA button */
  .hero-cta-glass {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0) 0%, rgba(255,255,255,0.10) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: inset 0 0 9px rgba(255,255,255,0.55), 0 0 0 1px rgba(255,255,255,0.18);
    border-radius: 40px;
    padding: 18px 36px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: backdrop-filter 0.3s, -webkit-backdrop-filter 0.3s, box-shadow 0.3s, gap 0.2s;
    margin-top: 4px;
  }
  .hero-cta-glass:hover {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: inset 0 0 16px rgba(255,255,255,0.65), 0 0 0 1px rgba(255,255,255,0.28);
    gap: 20px;
  }
  .hero-cta-glass svg { transition: transform 0.2s; }
  .hero-cta-glass:hover svg { transform: translateX(4px); }

  /* WB2016 featured card inside hero */
  .featured-initiative {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #c9927a 0%, #b8904a 40%, #a85070 80%, #7a5e90 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
    overflow: hidden;
  }
  .featured-initiative::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  }
  .featured-tag {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
    position: relative;
  }
  .featured-name {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: clamp(18px, 2vw, 28px);
    color: white;
    line-height: 1.1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 12px;
    position: relative;
    text-shadow: 0 2px 20px rgba(0,0,0,0.15);
  }
  .featured-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    max-width: 340px;
    position: relative;
    margin-bottom: 24px;
  }
  .featured-countdown {
    display: flex;
    gap: 16px;
    position: relative;
    margin-bottom: 28px;
  }
  .countdown-unit {
    text-align: center;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    padding: 10px 14px;
    border-radius: 4px;
    min-width: 56px;
  }
  .countdown-num {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: white;
    display: block;
    line-height: 1;
  }
  .countdown-label {
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.88);
    display: block;
    margin-top: 4px;
  }
  .featured-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--black);
    text-decoration: none;
    padding: 12px 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: fit-content;
    position: relative;
    transition: opacity 0.2s;
  }
  .featured-link:hover { opacity: 0.85; }

  /* ── FEATURED INITIATIVE STRIP ── */
  .feat-strip {
    position: relative;
    z-index: 2;
    background: rgba(8, 8, 8, 0.68);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.07);
  }
  .feat-strip-inner {
    display: flex;
    align-items: stretch;
    padding: 0 80px;
    min-height: 180px;
    gap: 0;
  }
  .feat-side-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 20px;
    margin-right: 28px;
    border-left: 1px solid rgba(255,255,255,0.10);
  }
  .feat-body {
    flex: 1;
    padding: 40px 40px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .feat-live-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.72);
    margin-bottom: 9px;
  }
  .feat-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4caf7d;
    flex-shrink: 0;
    animation: feat-pulse 2.2s ease-in-out infinite;
  }
  @keyframes feat-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(76,175,125,0.55); }
    50% { box-shadow: 0 0 0 5px rgba(76,175,125,0); }
  }
  .feat-title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: 26px;
    color: #f8f7f4;
    line-height: 1.25;
    margin: 0 0 10px;
  }
  .feat-desc {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: rgba(248,247,244,0.78);
    line-height: 1.65;
    margin: 0;
  }
  .feat-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    flex-shrink: 0;
    padding: 40px 0;
  }
  .feat-countdown {
    display: flex;
    align-items: flex-start;
    gap: 4px;
  }
  .feat-cd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
  }
  .feat-cd-num {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: 36px;
    color: #f8f7f4;
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
  }
  .feat-cd-sep {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 36px;
    color: rgba(255,255,255,0.22);
    line-height: 1;
    align-self: flex-start;
  }
  .feat-cd-lbl {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.52);
    margin-top: 5px;
  }
  .feat-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0) 0%, rgba(255,255,255,0.08) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: inset 0 0 9px rgba(255,255,255,0.45), 0 0 0 1px rgba(255,255,255,0.15);
    border-radius: 40px;
    padding: 13px 26px;
    color: rgba(255,255,255,0.90);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: backdrop-filter 0.3s, -webkit-backdrop-filter 0.3s, box-shadow 0.3s, gap 0.2s;
  }
  .feat-cta:hover {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: inset 0 0 16px rgba(255,255,255,0.65), 0 0 0 1px rgba(255,255,255,0.28);
    gap: 16px;
    color: #fff;
  }
  .feat-cta svg { transition: transform 0.2s; }
  .feat-cta:hover svg { transform: translateX(4px); }
  .feat-cta:focus-visible {
    outline: 2px solid #9b8ec4;
    outline-offset: 3px;
  }

  /* ── HERO EM ── */
  .hero-em,
  h1 .hero-em {
    font-family: 'Eiko', serif !important;
    font-style: italic !important;
    font-weight: 300 !important;
    color: var(--white) !important;
    text-transform: none !important;
    letter-spacing: -0.01em !important;
  }

  /* ── SECTION BASE ── */
  section { padding: 96px 48px; }
  .section-label {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(248,247,244,0.42);
    margin-bottom: 16px;
  }
  .section-title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: clamp(22px, 2.5vw, 36px);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 48px;
  }

  /* ── ABOUT STRIP ── */
  .about-strip {
    background: rgba(8,8,8,0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.10);
    border-bottom: 1px solid rgba(255,255,255,0.10);
    color: var(--white);
    padding: 0 48px;
    display: grid;
    grid-template-columns: 1fr 1px 1fr 1px 1fr;
    gap: 48px;
    align-items: stretch;
  }
  .about-col {
    padding: 64px 0;
    align-self: start;
  }
  .about-strip .divider {
    background: rgba(255,255,255,0.10);
    width: 1px;
  }
  .about-col h3 {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: rgba(248,247,244,0.52);
  }
  .about-col p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.88);
  }

  /* ── HOME SECTION ACCENTS ── */
  #home > section {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.10);
  }
  #home > section::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 55%; height: 65%;
    background: radial-gradient(ellipse at 100% 0%, rgba(106,191,184,0.08) 0%, transparent 60%);
    pointer-events: none;
  }
  #home > section > * { position: relative; }

  #home-initiatives-section {
    background:
      linear-gradient(145deg, rgba(123,111,205,0.14) 0%, transparent 55%),
      radial-gradient(ellipse at 100% 100%, rgba(201,146,122,0.20) 0%, transparent 55%);
  }

  #home-news-section {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.10);
  }
  #home-news-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(145deg, rgba(125,186,122,0.10) 0%, transparent 55%),
      radial-gradient(ellipse at 100% 100%, rgba(137,196,225,0.10) 0%, transparent 50%);
    pointer-events: none;
  }
  #home-news-section > * { position: relative; }

  /* ── INITIATIVES GRID ── */
  .initiatives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.07);
    margin-top: 48px;
  }
  #home-news-grid .initiative-card-v2 {
    height: 100%;
  }
  #home-news-grid .icard-banner {
    height: 360px;
  }
  #home-news-grid {
    align-items: stretch;
  }
  .initiative-card {
    background: #141414;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: background 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: #f8f7f4;
  }
  .initiative-card:hover { background: #1c1c1c; }
  .initiative-card.active-card {
    background: rgba(123,111,205,0.12);
  }
  .card-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(248,247,244,0.42);
  }
  .status-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(248,247,244,0.25);
  }
  .status-dot.live { background: #4caf7d; box-shadow: 0 0 0 3px rgba(76,175,125,0.2); }
  .card-year {
    font-family: 'Inter', sans-serif;
    font-size: 56px;
    font-weight: 800;
    color: rgba(255,255,255,0.07);
    line-height: 1;
    letter-spacing: -0.04em;
  }
  .active-card .card-year { color: rgba(123,111,205,0.18); }
  .card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: -0.01em;
  }
  .card-desc {
    font-size: 15px;
    color: rgba(248,247,244,0.58);
    line-height: 1.7;
  }
  .card-arrow {
    margin-top: auto;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(248,247,244,0.38);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s, color 0.2s;
  }
  .initiative-card:hover .card-arrow { gap: 14px; color: #f8f7f4; }

  /* COMING SOON CARD */
  .initiative-card.coming-soon {
    background: #111111;
    border: 2px dashed rgba(255,255,255,0.10);
    opacity: 0.55;
    cursor: default;
  }
  .initiative-card.coming-soon:hover { background: #111111; }

  /* ── FOOTER ── */
  footer {
    background: rgba(10,10,10,0.72);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255,255,255,0.07);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    color: var(--white);
    padding: 64px 48px 32px;
  }
  .footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
  }
  .footer-brand {
    margin-bottom: 20px;
    display: block;
  }
  .footer-logo-svg {
    height: 28px;
    width: auto;
    color: var(--white);
    display: block;
  }
  .footer-tagline {
    font-size: 15px;
    color: #b0ada6;
    line-height: 1.7;
    max-width: 260px;
  }
  .footer-col h4 {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #b0ada6;
    margin-bottom: 20px;
  }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .footer-col ul li a {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
  }
  .footer-col ul li a:hover { color: white; }
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .footer-legal {
    font-size: 11px;
    color: #b0ada6;
    line-height: 1.7;
    max-width: 720px;
  }
  .footer-copy {
    font-size: 11px;
    color: #b0ada6;
  }

  /* ── PAGE: WELCOME BACK 2016 ── */
  #wb2016 { display: none; }
  #wb2016.active { display: block; }
  #home.hidden { display: none; }

  .wb-hero {
    min-height: 560px;
    background: linear-gradient(160deg, #c9927a 0%, #c49a5a 35%, #c47a65 60%, #b85070 80%, #8a6090 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 88px 48px 72px;
    position: relative;
    overflow: hidden;
  }
  .wb-hero::before {
    content: '';
    position: absolute;
    right: 24px;
    bottom: -16px;
    width: 410px;
    height: 430px;
    background-image: url('/assets/images/palm_img.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    filter: brightness(0) invert(1);
    opacity: 0.12;
    pointer-events: none;
  }
  .wb-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    margin-bottom: 48px;
    cursor: pointer;
    transition: color 0.2s;
    background: none; border: none; font-family: 'Inter', sans-serif;
  }
  .wb-back:hover { color: white; }
  .wb-eyebrow {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
  }
  .wb-title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: clamp(28px, 4.5vw, 64px);
    color: white;
    line-height: 1.0;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 24px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.1);
    position: relative;
  }
  .wb-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    max-width: 540px;
    line-height: 1.7;
    position: relative;
    margin-bottom: 40px;
  }
  .wb-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
  }
  .wb-pill {
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.4);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    color: white;
    font-weight: 500;
    letter-spacing: 0.04em;
  }

  .wb-section {
    padding: 80px 48px;
  }
  .wb-section-warm { background: rgba(201,146,122,0.08); }
  .wb-section-white { background: #0e0e0e; }

  .wb-hero-content {
    margin-top: auto;
    display: flex;
    flex-direction: column;
  }

  .wb-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
  }
  /* Step cards stretch to equal height; hashtag card stays auto */
  .wb-grid-2 > .wb-card {
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }
  .wb-grid-2 > .wb-card p { flex: 1; }

  /* HOW TO PARTICIPATE — rules-card style */
  .wb-how-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid rgba(255,255,255,0.10);
  }
  .wb-how-card {
    padding: 36px 40px;
    border-right: 1px solid rgba(255,255,255,0.10);
    border-bottom: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.03);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .wb-how-card:nth-child(even) { border-right: none; }
  .wb-how-card:nth-last-child(-n+2) { border-bottom: none; }
  .wb-how-card:nth-child(1) {
    background: radial-gradient(ellipse at 18% 0%, rgba(184,80,112,0.22) 0%, transparent 52%), rgba(255,255,255,0.03);
  }
  .wb-how-card:nth-child(1) .wb-how-num { color: #b85070; text-shadow: 0 0 12px rgba(184,80,112,0.8); }
  .wb-how-card:nth-child(2) {
    background: radial-gradient(ellipse at 18% 0%, rgba(201,146,122,0.22) 0%, transparent 52%), rgba(255,255,255,0.03);
  }
  .wb-how-card:nth-child(2) .wb-how-num { color: #c9927a; text-shadow: 0 0 12px rgba(201,146,122,0.8); }
  .wb-how-card:nth-child(3) {
    background: radial-gradient(ellipse at 18% 0%, rgba(106,191,184,0.22) 0%, transparent 52%), rgba(255,255,255,0.03);
  }
  .wb-how-card:nth-child(3) .wb-how-num { color: #6abfb8; text-shadow: 0 0 12px rgba(106,191,184,0.8); }
  .wb-how-card:nth-child(4) {
    background: radial-gradient(ellipse at 18% 0%, rgba(138,96,144,0.22) 0%, transparent 52%), rgba(255,255,255,0.03);
  }
  .wb-how-card:nth-child(4) .wb-how-num { color: #8a6090; text-shadow: 0 0 12px rgba(138,96,144,0.8); }
  .wb-how-header {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 20px;
  }
  .wb-how-num {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    flex-shrink: 0;
  }
  .wb-how-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.02em;
    color: rgba(255,255,255,0.92);
  }
  .wb-how-card > p {
    font-size: 15px;
    color: rgba(248,247,244,0.65);
    line-height: 1.7;
    flex: 1;
  }
  .wb-how-cta {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    margin-top: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid;
    padding-bottom: 2px;
    transition: opacity 0.2s;
  }
  .wb-how-cta:hover { opacity: 0.75; }
  .wb-how-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
  .wb-how-card:nth-child(1) .wb-how-cta { color: #b85070; border-color: rgba(184,80,112,0.45); }
  .wb-how-card:nth-child(2) .wb-how-cta { color: #c9927a; border-color: rgba(201,146,122,0.45); }
  .wb-how-card:nth-child(3) .wb-how-cta { color: #6abfb8; border-color: rgba(106,191,184,0.45); }
  .wb-how-card:nth-child(4) .wb-how-cta { color: #8a6090; border-color: rgba(138,96,144,0.45); }
  .wb-how-cta-note {
    margin-top: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.40);
    line-height: 1.6;
  }
  .wb-inline-link {
    background: none; border: none; padding: 0;
    font-family: inherit; font-size: inherit; font-weight: 700;
    color: rgba(201,146,122,0.85);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
  }
  .wb-inline-link:hover { color: #c9927a; }

  /* OFFICIAL HASHTAGS STRIP */
  .wb-hashtag-strip {
    background: rgba(8,8,8,0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  }
  .wb-hashtag-inner {
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    text-align: center;
  }
  .wb-hashtag-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(201,146,122,0.80);
  }
  .wb-hashtag-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .wb-hashtag-pill {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    overflow-wrap: break-word;
    word-break: break-all;
    max-width: 100%;
    color: rgba(255,255,255,0.88);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
  }
  .wb-hashtag-note {
    font-size: 13px;
    color: rgba(255,255,255,0.38);
    line-height: 1.6;
    max-width: 560px;
  }

  .wb-card {
    background: #141414;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 36px;
  }
  .wb-card h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: #f8f7f4;
  }
  .wb-card p {
    font-size: 15px;
    color: rgba(248,247,244,0.65);
    line-height: 1.7;
    margin-bottom: 12px;
  }
  .wb-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .wb-card ul li {
    font-size: 16px;
    color: rgba(248,247,244,0.65);
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
  }
  .wb-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--lavender);
  }

  .wb-countdown-bar {
    background: linear-gradient(135deg, rgba(201,146,122,0.22) 0%, rgba(196,122,101,0.16) 45%, rgba(184,80,112,0.16) 70%, rgba(138,96,144,0.22) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(0,0,0,0.25);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 4px 24px rgba(0,0,0,0.25);
    color: white;
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
  .wb-countdown-label {
    font-size: 15px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #b0ada6;
  }
  .wb-countdown-units {
    display: flex;
    gap: 24px;
  }
  .wb-cd-unit {
    text-align: center;
  }
  .wb-cd-num {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: 36px;
    display: block;
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .wb-cd-label {
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #b0ada6;
    display: block;
    margin-top: 6px;
  }
  .wb-cd-sep {
    font-size: 32px;
    color: var(--grey-600);
    align-self: flex-start;
    margin-top: 4px;
  }

  /* PARTICIPATE FORM AREA */
  .wb-form-area {
    background: #0a0a0a;
    padding: 64px 48px;
    border-top: 1px solid rgba(255,255,255,0.07);
  }
  .wb-form-area h2 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: 36px;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.92);
  }
  .wb-form-area > p {
    color: rgba(248,247,244,0.50);
    margin-bottom: 36px;
    font-size: 15px;
  }
  .wb-form-footer {
    background: rgba(255,255,255,0.03);
    padding: 40px 48px;
    border-top: 1px solid rgba(255,255,255,0.07);
  }
  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 32px;
  }
  .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .form-group.full { grid-column: 1 / -1; }
  .form-group label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(248,247,244,0.55);
    font-weight: 500;
  }
  .form-group input, .form-group select, .form-group textarea {
    border: 1px solid rgba(255,255,255,0.10);
    background: #1a1a1a;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #f8f7f4;
    outline: none;
    transition: border-color 0.2s;
  }
  .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--lavender);
  }
  .form-group textarea { resize: vertical; min-height: 100px; }
  .form-required { color: #b85070; margin-left: 2px; }

  /* Content rating select */
  .wb-rating-select-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .wb-rating-select {
    width: 100%;
    flex-shrink: 0;
  }
  .wb-rating-select.rating-safe   { border-color: rgba(76,175,125,0.55); color: #4caf7d; background-color: rgba(76,175,125,0.08); }
  .wb-rating-select.rating-mature { border-color: rgba(196,154,90,0.55); color: #c49a5a; background-color: rgba(196,154,90,0.08); }
  .wb-rating-select.rating-explicit { border-color: rgba(184,80,112,0.55); color: #b85070; background-color: rgba(184,80,112,0.08); }
  .wb-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    white-space: nowrap;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
  }
  .wb-rating-badge.visible { opacity: 1; }
  .wb-rating-badge::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .wb-rating-badge.badge-safe    { background: #e8f5ee; color: #1a5c35; }
  .wb-rating-badge.badge-safe::before    { background: #2e7d52; }
  .wb-rating-badge.badge-mature  { background: #fef3e0; color: #7a4a00; }
  .wb-rating-badge.badge-mature::before  { background: #c47a30; }
  .wb-rating-badge.badge-explicit{ background: #fce8ef; color: #7a1a3a; }
  .wb-rating-badge.badge-explicit::before{ background: #b85070; }

  /* Autocomplete */
  .wb-autocomplete-wrap { position: relative; width: 100%; }
  .wb-autocomplete-wrap input { width: 100%; box-sizing: border-box; }
  .wb-autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.10);
    border-top: none;
    max-height: 220px;
    overflow-y: auto;
    z-index: 200;
    margin: 0;
    padding: 0;
    list-style: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    display: none;
  }
  .wb-autocomplete-list.open { display: block; }
  .wb-autocomplete-list li {
    padding: 10px 14px;
    font-size: 14px;
    cursor: pointer;
    color: #f8f7f4;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.1s;
  }
  .wb-autocomplete-list li:last-child { border-bottom: none; }
  .wb-autocomplete-list li:hover,
  .wb-autocomplete-list li[aria-selected="true"] { background: rgba(123,111,205,0.18); }
  .wb-autocomplete-list li mark {
    background: none;
    font-weight: 700;
    color: #b85070;
  }
  .wb-autocomplete-list li.wb-ac-noresult {
    color: var(--grey-400);
    font-style: italic;
    cursor: default;
  }
  .form-hint {
    display: block;
    font-size: 12px;
    color: var(--grey-400);
    line-height: 1.6;
    margin-top: 6px;
  }
  .form-charcount { font-variant-numeric: tabular-nums; }
  .form-charcount.warn   { color: #c47a30; }
  .form-charcount.danger { color: #b85070; }

  .wb-submit {
    margin-top: 8px;
    background: var(--black);
    color: white;
    border: none;
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
  }
  .wb-submit:hover { background: var(--lavender); }

  /* Initiative page: glass pill submit */
  #initiative-page .wb-submit {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0) 0%, rgba(255,255,255,0.08) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: inset 0 0 9px rgba(255,255,255,0.45), 0 0 0 1px rgba(255,255,255,0.15);
    border-radius: 40px;
    padding: 13px 26px;
    color: rgba(255,255,255,0.90);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    transition: backdrop-filter 0.3s, -webkit-backdrop-filter 0.3s, box-shadow 0.3s, gap 0.2s, color 0.2s;
  }
  #initiative-page .wb-submit:hover {
    background: radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0) 0%, rgba(255,255,255,0.08) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: inset 0 0 16px rgba(255,255,255,0.65), 0 0 0 1px rgba(255,255,255,0.28);
    gap: 16px;
    color: #fff;
  }
  #initiative-page .wb-submit svg { transition: transform 0.2s; }
  #initiative-page .wb-submit:hover svg { transform: translateX(4px); }

  /* Feeling overwhelmed / prompt missing CTA grid */
  .wb-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid rgba(255,255,255,0.10);
  }
  .wb-cta-card {
    padding: 40px 48px;
    border-right: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.03);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .wb-cta-card:last-child { border-right: none; }
  .wb-cta-card:nth-child(1) {
    background: radial-gradient(ellipse at 18% 0%, rgba(201,146,122,0.18) 0%, transparent 52%), rgba(255,255,255,0.03);
  }
  .wb-cta-card:nth-child(2) {
    background: radial-gradient(ellipse at 18% 0%, rgba(184,80,112,0.18) 0%, transparent 52%), rgba(255,255,255,0.03);
  }
  .wb-cta-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0;
  }
  .wb-cta-card:nth-child(1) .wb-cta-label { color: #c9927a; }
  .wb-cta-card:nth-child(2) .wb-cta-label { color: #b85070; }
  .wb-cta-body {
    font-size: 15px;
    color: rgba(248,247,244,0.65);
    line-height: 1.75;
    margin: 0;
    flex: 1;
  }
  .wb-cta-card:nth-child(1) .wb-how-cta { color: #c9927a; border-color: rgba(201,146,122,0.45); }
  .wb-cta-card:nth-child(2) .wb-how-cta { color: #b85070; border-color: rgba(184,80,112,0.45); }

  /* Contacts form: glass pill submit (stile feat-cta) */
  #contacts-page .wb-submit {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0) 0%, rgba(255,255,255,0.08) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: inset 0 0 9px rgba(255,255,255,0.45), 0 0 0 1px rgba(255,255,255,0.15);
    border-radius: 40px;
    padding: 13px 26px;
    color: rgba(255,255,255,0.90);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    transition: backdrop-filter 0.3s, -webkit-backdrop-filter 0.3s, box-shadow 0.3s, gap 0.2s, color 0.2s;
  }
  #contacts-page .wb-submit:hover {
    background: radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0) 0%, rgba(255,255,255,0.08) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: inset 0 0 16px rgba(255,255,255,0.65), 0 0 0 1px rgba(255,255,255,0.28);
    gap: 16px;
    color: #fff;
  }
  #contacts-page .wb-submit svg { transition: transform 0.2s; }
  #contacts-page .wb-submit:hover svg { transform: translateX(4px); }

  /* RESPONSIVE */
  /* ── HAMBURGER / MOBILE NAV ── */
  .nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 14px 10px;
    min-width: 44px;
    min-height: 44px;
    margin-left: auto;
  }
  .nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    transition: transform 0.2s, opacity 0.2s, background 0.3s;
  }
  nav.nav-solid .nav-hamburger span { background: white; }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-links.mobile-open {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 20px 20px 28px;
    gap: 0;
    z-index: 200;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    overflow-y: auto;
    max-height: calc(100vh - 56px);
  }
  .nav-links.mobile-open li a {
    display: block;
    padding: 14px 4px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: var(--white);
  }
  .nav-links.mobile-open li:last-child a { border-bottom: none; }
  /* Language: hidden by default, shown only in mobile menu */
  .nav-lang-mobile { display: none; }
  .nav-links.mobile-open .nav-lang-mobile {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 14px 4px 4px;
    margin-top: 4px;
  }
  .nav-links.mobile-open .nav-lang-mobile .nav-lang-btn {
    font-size: 14px;
    font-weight: 600;
    padding: 4px 6px;
  }

  .credits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 820px;
    border: 1px solid rgba(255,255,255,0.10);
  }

  /* ── ABOUT PAGE ── */
  .about-sec {
    padding: 80px 48px;
    border-top: 1px solid rgba(255,255,255,0.10);
    color: var(--white);
  }
  .about-sec-alt {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  /* Colored left accent on section labels inside about page */
  .about-sec .section-label {
    padding-left: 12px;
    border-left: 3px solid #89c4e1;
  }
  .about-sec-alt .section-label {
    border-left-color: #c9927a;
  }
  .about-h2 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: clamp(24px, 2.8vw, 40px);
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--white);
    margin: 12px 0 20px;
  }
  .about-body {
    font-size: 16px;
    color: rgba(255,255,255,0.78);
    line-height: 1.85;
  }
  .about-glass-card {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.10);
    padding: 28px 32px;
  }
  .about-join-card {
    border-color: rgba(123,111,205,0.35);
    background: rgba(123,111,205,0.06);
    box-shadow: 0 0 32px rgba(123,111,205,0.18), 0 0 80px rgba(123,111,205,0.08);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
  }
  .about-join-card:hover {
    border-color: rgba(123,111,205,0.55);
    box-shadow: 0 0 40px rgba(123,111,205,0.28), 0 0 100px rgba(123,111,205,0.12);
  }
  .about-fact-label {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 8px;
  }
  .about-fact-value {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--white);
  }
  .about-tool-icon {
    font-size: 26px;
    margin-bottom: 14px;
  }
  /* Interactive toolkit cards */
  .about-tool-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s, background 0.25s;
    position: relative;
    overflow: hidden;
  }
  .about-tool-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }
  .about-tool-card:hover::before { opacity: 1; }
  .about-tool-card:hover { border-color: rgba(255,255,255,0.22); }
  /* Per-card colors matching navbar dropdown */
  .about-tool-card:nth-child(1) .about-tool-icon { color: #9b8ec4; }
  .about-tool-card:nth-child(1)::before { background: radial-gradient(ellipse at 18% 0%, rgba(123,111,205,0.20) 0%, transparent 55%); }
  .about-tool-card:nth-child(2) .about-tool-icon { color: #c9927a; }
  .about-tool-card:nth-child(2)::before { background: radial-gradient(ellipse at 18% 0%, rgba(201,146,122,0.20) 0%, transparent 55%); }
  .about-tool-card:nth-child(3) .about-tool-icon { color: #89c4e1; }
  .about-tool-card:nth-child(3)::before { background: radial-gradient(ellipse at 18% 0%, rgba(137,196,225,0.20) 0%, transparent 55%); }
  .about-tool-link {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    margin-top: 20px;
    color: rgba(255,255,255,0.40);
    transition: color 0.2s;
  }
  .about-tool-card:nth-child(1) .about-tool-link { color: rgba(155,142,196,0.60); }
  .about-tool-card:nth-child(2) .about-tool-link { color: rgba(201,146,122,0.60); }
  .about-tool-card:nth-child(3) .about-tool-link { color: rgba(137,196,225,0.60); }
  .about-tool-card:hover .about-tool-link { color: rgba(255,255,255,0.80); }
  .about-tool-title {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.01em;
    color: var(--white);
    margin-bottom: 8px;
  }

  /* ── LOGO WATERMARK ── */
  .about-logo-wm {
    position: absolute;
    right: -52px;
    top: 50%;
    transform: translateY(-50%);
    width: 440px;
    height: auto;
    opacity: 0.09;
    pointer-events: none;
  }

  /* ── RULES CARDS ── */
  .rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid rgba(255,255,255,0.10);
  }
  .rules-card {
    padding: 36px 40px;
    border-right: 1px solid rgba(255,255,255,0.10);
    border-bottom: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.03);
  }
  .rules-card:nth-child(even) { border-right: none; }
  .rules-card:nth-last-child(-n+2) { border-bottom: none; }
  .rules-card-header {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 24px;
  }
  .rules-number {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--lavender);
    flex-shrink: 0;
  }
  /* Per-card accent: radial spot glow anchored at top-left (number position), stile Nexora */
  .rules-card:nth-child(1) {
    background: radial-gradient(ellipse at 18% 0%, rgba(137,196,225,0.22) 0%, transparent 52%), rgba(255,255,255,0.03);
  }
  .rules-card:nth-child(1) .rules-number { color: #89c4e1; text-shadow: 0 0 12px rgba(137,196,225,0.8); }
  .rules-card:nth-child(1) .rules-list li::before { color: #89c4e1; }

  .rules-card:nth-child(2) {
    background: radial-gradient(ellipse at 18% 0%, rgba(201,146,122,0.22) 0%, transparent 52%), rgba(255,255,255,0.03);
  }
  .rules-card:nth-child(2) .rules-number { color: #c9927a; text-shadow: 0 0 12px rgba(201,146,122,0.8); }
  .rules-card:nth-child(2) .rules-list li::before { color: #c9927a; }

  .rules-card:nth-child(3) {
    background: radial-gradient(ellipse at 18% 0%, rgba(212,184,74,0.22) 0%, transparent 52%), rgba(255,255,255,0.03);
  }
  .rules-card:nth-child(3) .rules-number { color: #d4b84a; text-shadow: 0 0 12px rgba(212,184,74,0.8); }
  .rules-card:nth-child(3) .rules-list li::before { color: #d4b84a; }

  .rules-card:nth-child(4) {
    background: radial-gradient(ellipse at 18% 0%, rgba(125,186,122,0.22) 0%, transparent 52%), rgba(255,255,255,0.03);
  }
  .rules-card:nth-child(4) .rules-number { color: #7dba7a; text-shadow: 0 0 12px rgba(125,186,122,0.8); }
  .rules-card:nth-child(4) .rules-list li::before { color: #7dba7a; }
  .rules-card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.02em;
    color: rgba(255,255,255,0.92);
  }
  .rules-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .rules-list li {
    font-size: 16px;
    color: rgba(255,255,255,0.68);
    line-height: 1.7;
    padding-left: 20px;
    position: relative;
  }
  .rules-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--lavender);
    font-size: 13px;
    top: 1px;
  }

  /* ── RESPONSIVE ── */

  /* Tablet: 768–1024px */
  @media (max-width: 1024px) {
    .about-strip { grid-template-columns: 1fr; gap: 0; }
    .about-strip .divider { display: none; }
    .about-col { padding: 32px 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .about-col:last-child { border-bottom: none; }
    nav { padding: 0 28px; }
    .nav-links { gap: 20px; }
    .nav-links a { font-size: 11px; white-space: nowrap; }
    .nav-dropdown-btn { font-size: 11px; }
    .hero-content { padding: 132px 48px 100px; max-width: 680px; }
    .hero-motto-wrap { max-width: 520px; }
    .feat-strip-inner { padding: 0 48px; }
  }

  /* Hamburger nav: ≤900px */
  @media (max-width: 900px) {
    nav { padding: 0 20px; height: 56px; }
    .nav-links { display: none; }
    .nav-hamburger { display: flex; margin-left: auto; padding-right: 0; align-items: flex-end; }
    .nav-lang { display: none; }
    .nav-logo-svg { height: 18px; }
    .nav-links.mobile-open { top: 56px; max-height: calc(100vh - 56px); }
    /* Hero: slightly shorter on tablet */
    .hero-new { min-height: 100vh; }
    .hero-content { padding: 94px 32px 80px; }
    .hero-motto-wrap { max-width: 440px; }
    .feat-strip-inner { padding: 0 32px; gap: 0; }
    .feat-side-label { display: none; }
    .feat-cd-num { font-size: 28px; }
    .feat-cd-sep { font-size: 28px; }
    .feat-cd-unit { min-width: 38px; }
    /* Hide mega panel on mobile */
    .nav-mega-panel { display: none !important; }
    /* Switch from full text logo to arch icon */
    .nav-logo-full { display: none; }
    .nav-logo-icon { display: block; height: 28px; width: auto; }
    /* Hide Tools dropdown, show individual tool items instead */
    .nav-item-dropdown { display: none; }
    .nav-mobile-only { display: block; }
    .nav-links.mobile-open .nav-mobile-only a {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }
    .nav-links.mobile-open .nav-mobile-only a svg {
      flex-shrink: 0;
      opacity: 0.5;
    }
  }

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

    /* Hero */
    .hero-new { min-height: 100vh; }
    .hero-content { padding: 84px 20px 64px; gap: 22px; }
    .hero-motto-wrap { max-width: 100%; }

    /* Featured strip: stack vertically */
    .feat-strip-inner { flex-direction: column; align-items: flex-start; padding: 24px 20px; min-height: auto; gap: 20px; }
    .feat-side-label { display: none; }
    .feat-body { padding: 0; }
    .feat-right { align-items: flex-start; padding: 0; width: 100%; }
    .feat-countdown { gap: 6px; }
    .feat-cd-num { font-size: 26px; }
    .feat-cd-sep { font-size: 26px; }
    .feat-cd-unit { min-width: 36px; }

    /* About strip */
    .about-strip { grid-template-columns: 1fr; padding: 0; }
    .about-strip .divider { display: none; }
    .about-col { padding: 28px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .about-col:last-child { border-bottom: none; }

    /* Sections */
    section { padding: 56px 20px; }

    /* Initiatives grid: single column */
    .initiatives-grid { grid-template-columns: 1fr; }
    .icard-banner { height: 300px; }

    /* Footer */
    footer { padding: 48px 20px 24px; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; padding: 0; margin-bottom: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; padding-top: 24px; text-align: center; }
    .footer-logo-svg { max-width: 100%; height: auto; width: 180px; }

    /* Home news section: override inline padding to match initiatives section */
    #home-news-section > div { padding: 56px 20px !important; }

    /* WB2016 page */
    .wb-hero { padding: 80px 20px 48px; min-height: 420px; }
    .wb-hero h1 { font-size: clamp(32px, 8vw, 48px); }
    .wb-grid-2 { grid-template-columns: 1fr; }
    .wb-how-grid { grid-template-columns: 1fr; }
    .wb-how-card { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.10) !important; padding: 28px 24px; }
    .wb-how-card:last-child { border-bottom: none !important; }
    .wb-hashtag-inner { padding: 28px 20px !important; }
    .wb-hashtag-pills { justify-content: flex-start; gap: 8px; }
    .wb-hashtag-pill { font-size: 12px !important; padding: 7px 14px !important; }
    .wb-form-footer { padding: 28px 20px !important; }
    .wb-cta-grid { grid-template-columns: 1fr; }
    .wb-cta-card { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.10); padding: 28px 24px; }
    .wb-cta-card:last-child { border-bottom: none; }
    .wb-form-area { padding: 48px 20px; }
    .wb-section { padding: 56px 20px; }
    .form-grid { grid-template-columns: 1fr; }
    .wb-countdown-bar { flex-direction: column; padding: 32px 20px; text-align: center; gap: 24px; overflow: hidden; max-width: 100%; }
    .wb-card { padding: 24px 20px; overflow: hidden; max-width: 100%; }
    .wb-card > div > span { max-width: 100%; word-break: break-word; overflow-wrap: break-word; }

    /* Prompt table: scrollable via wrapper */
    .ptab-scroll-wrap {
      display: block;
      width: 100%;
      overflow-x: scroll;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior-x: contain;
    }
    .ptab-scroll-wrap .prompt-table {
      min-width: 480px;
      width: max-content;
      display: table;
    }
    /* position:sticky su th dentro overflow-x:scroll blocca lo scroll orizzontale
       in iOS Safari/WebKit — usare static per permettere lo scroll. */
    .ptab-scroll-wrap .prompt-table th { position: static; background: #0e0e0e; }
    .table-scroll-hint { display: block; }

    /* About page */
    #about-page > div { padding: 48px 20px !important; }
    #about-page > div:first-child { padding-top: 80px !important; }
    #about-page .two-col-grid,
    #about-page [style*="grid-template-columns:1fr 1fr"],
    #about-page [style*="grid-template-columns: 1fr 1fr"] {
      grid-template-columns: 1fr !important;
      gap: 24px !important;
    }
    #about-page [style*="grid-template-columns:repeat(3"] {
      grid-template-columns: 1fr !important;
      gap: 1px !important;
    }
    #about-page [style*="min-width:360px"] { min-width: 0 !important; width: 100%; }
    .credits-grid { grid-template-columns: 1fr; }
    .credits-grid > div:nth-child(2) { border-left: 1px solid rgba(255,255,255,0.10) !important; border-top: none; }
    .rules-grid { grid-template-columns: 1fr; }
    .rules-card { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.10) !important; padding: 28px 24px; }
    .rules-card:last-child { border-bottom: none !important; }
    .rules-card-title { font-size: 16px; }
    .rules-list li { font-size: 15px; }
    .about-sec { padding: 60px 28px; }
    .about-h2 { font-size: clamp(22px, 3.5vw, 36px); }
  }

  /* Very small: max 480px */
  @media (max-width: 480px) {
    .hero-content { padding: 74px 16px 56px; gap: 18px; }
    .hero-motto-wrap { max-width: 100%; }
    .hero-cta-glass { padding: 15px 28px; font-size: 12px; }
    .hero-eyebrow-new { font-size: 10px; letter-spacing: 0.18em; }
    .featured-countdown { gap: 12px; }
    .countdown-num { font-size: 28px; }
    .lang-bar button { font-size: 10px; padding: 3px 10px; }
    .icard-title { font-size: 18px; }
    .icard-banner { height: 260px; }
    footer { padding: 40px 16px 20px; }
    .footer-top { padding: 0; margin-bottom: 24px; }
    section { padding: 48px 16px; }
    #home-news-section > div { padding: 48px 16px !important; }
    #about-page > div { padding: 40px 16px !important; }
    #about-page > div:first-child { padding-top: 80px !important; }
    .wb-hero { padding: 80px 16px 32px; min-height: 320px; }
    .wb-form-area { padding: 32px 16px !important; }
    .wb-form-footer { padding: 20px 16px !important; }
    .wb-hashtag-pill { font-size: 11px !important; padding: 6px 12px !important; }

    /* WB countdown: smaller numbers on very small screens */
    .wb-cd-num { font-size: 26px; }
    .wb-cd-sep { font-size: 20px; }
    .wb-countdown-units { gap: 12px; }
  }

  /* Animations */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .hero-eyebrow { animation: fadeUp 0.6s ease both; }
  .hero-title { animation: fadeUp 0.6s 0.1s ease both; }
  .hero-sub { animation: fadeUp 0.6s 0.2s ease both; }
  .hero-cta { animation: fadeUp 0.6s 0.3s ease both; }
  /* ── SKIP LINK (accessibility) ── */
  .skip-link {
    position: absolute;
    top: -999px;
    left: 0;
    background: var(--lavender-text);
    color: white;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    z-index: 9999;
  }
  .skip-link:focus {
    top: 0;
  }

  /* ── FOCUS STYLES (accessibility) ── */
  *:focus-visible {
    outline: 2px solid var(--lavender-text);
    outline-offset: 3px;
  }
  button:focus-visible,
  a:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible,
  details summary:focus-visible {
    outline: 2px solid var(--lavender-text);
    outline-offset: 3px;
  }

  /* ── INITIATIVE CARDS V2 (image banner style) ── */
  .initiative-card-v2 {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }
  .icard-banner {
    position: relative;
    height: 360px;
    overflow: hidden;
  }
  .icard-bg {
    position: absolute;
    inset: 0;
    filter: blur(12px) saturate(1.3);
    transform: scale(1.08);
    transition: transform 0.5s ease;
  }
  .initiative-card-v2:hover .icard-bg {
    transform: scale(1.13);
  }
  .icard-blur-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
  }
  .icard-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 28px;
  }
  .icard-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .icard-status-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.35);
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: white;
  }
  .icard-dot-live {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4caf7d;
    box-shadow: 0 0 0 3px rgba(76,175,125,0.35);
    flex-shrink: 0;
  }
  .icard-status-soon {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.82);
  }
  .icard-year {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
  }
  .icard-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .icard-title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: white;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
  }
  .icard-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .icard-explore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    background: radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0) 0%, rgba(255,255,255,0.08) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: inset 0 0 9px rgba(255,255,255,0.45), 0 0 0 1px rgba(255,255,255,0.15);
    border-radius: 40px;
    padding: 10px 20px;
    color: rgba(255,255,255,0.90);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    width: fit-content;
    transition: box-shadow 0.3s, gap 0.2s, color 0.2s;
  }
  .icard-explore svg { transition: transform 0.2s; }
  .initiative-card-v2:hover .icard-explore {
    box-shadow: inset 0 0 16px rgba(255,255,255,0.65), 0 0 0 1px rgba(255,255,255,0.28);
    gap: 14px;
    color: #fff;
  }
  .initiative-card-v2:hover .icard-explore svg { transform: translateX(4px); }
  .coming-soon-v2 { cursor: default; }

  /* ── CONTACTS PAGE ── */
  #contacts-page { display: none; }
  #contacts-page.active { display: block; }

  .contacts-hero {
    background: #141218;
    color: var(--white);
    padding: 88px 48px 72px;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
  }
  .contacts-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 30%;
    z-index: 0;
    pointer-events: none;
  }
  .contacts-hero-overlay {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(to right, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.62) 55%, rgba(0,0,0,0.38) 100%),
      linear-gradient(145deg, rgba(123,111,205,0.18) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
  }
  .contacts-hero-inner {
    max-width: 860px;
  }
  .contacts-hero .section-label {
    color: rgba(255,255,255,0.45);
    margin-bottom: 20px;
  }
  .contacts-hero h1 {
    font-family: 'Unbounded', 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(32px, 4.5vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
  }
  .contacts-hero p {
    font-size: 16px;
    color: rgba(255,255,255,0.65);
    max-width: 560px;
    line-height: 1.8;
  }

  .contacts-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .contacts-form-area {
    padding: 72px 56px 72px 48px;
    border-right: 1px solid rgba(255,255,255,0.08);
  }
  .contacts-form-area h2 {
    font-family: 'Unbounded', 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(18px, 1.8vw, 22px);
    letter-spacing: -0.01em;
    margin-bottom: 8px;
  }
  .contacts-form-area .contacts-sub {
    font-size: 15px;
    color: rgba(248,247,244,0.55);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 440px;
  }

  .contacts-info-area {
    padding: 72px 48px 72px 56px;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .contact-block h3 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(248,247,244,0.42);
    margin-bottom: 14px;
  }
  .contact-block p, .contact-block a {
    font-size: 15px;
    color: rgba(248,247,244,0.70);
    line-height: 1.75;
    text-decoration: none;
  }
  .contact-block a {
    color: #9b8ec4;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s;
  }
  .contact-block a:hover { opacity: 0.7; }

  .social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .contact-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
  }

  /* ── GET INVOLVED SECTION ── */
  .get-involved {
    background:
      linear-gradient(145deg, rgba(137,196,225,0.08) 0%, transparent 50%),
      radial-gradient(ellipse at 100% 100%, rgba(201,146,122,0.10) 0%, transparent 50%),
      #111111;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 80px 48px;
  }
  .get-involved-inner {
    max-width: 1200px;
    margin: 0 auto;
  }
  .get-involved-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    margin-bottom: 56px;
  }
  .get-involved-header h2 {
    font-family: 'Unbounded', 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(22px, 2.5vw, 36px);
    letter-spacing: -0.03em;
    line-height: 1.1;
  }
  .get-involved-header p {
    font-size: 16px;
    color: rgba(248,247,244,0.62);
    line-height: 1.8;
    padding-top: 8px;
  }

  .roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid rgba(255,255,255,0.08);
    background: transparent;
  }
  .role-card {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-right: 1px solid rgba(255,255,255,0.10);
    border-bottom: 1px solid rgba(255,255,255,0.10);
  }
  .role-card:nth-child(1) {
    background: radial-gradient(ellipse at 18% 0%, rgba(123,111,205,0.22) 0%, transparent 52%), rgba(255,255,255,0.03);
  }
  .role-card:nth-child(1) .role-icon svg { filter: drop-shadow(0 0 8px rgba(123,111,205,0.80)); }
  .role-card:nth-child(2) {
    background: radial-gradient(ellipse at 18% 0%, rgba(137,196,225,0.22) 0%, transparent 52%), rgba(255,255,255,0.03);
  }
  .role-card:nth-child(2) .role-icon svg { filter: drop-shadow(0 0 8px rgba(137,196,225,0.80)); }
  .role-card:nth-child(3) {
    background: radial-gradient(ellipse at 18% 0%, rgba(201,146,122,0.22) 0%, transparent 52%), rgba(255,255,255,0.03);
  }
  .role-card:nth-child(3) .role-icon svg { filter: drop-shadow(0 0 8px rgba(201,146,122,0.80)); }
  .role-card:nth-child(3n) { border-right: none; }
  .role-card:nth-last-child(-n+3) { border-bottom: none; }

  .role-icon {
    font-size: 22px;
    line-height: 1;
    margin-bottom: 4px;
  }
  .role-title {
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.01em;
    color: #f8f7f4;
  }
  .role-desc {
    font-size: 15px;
    color: rgba(248,247,244,0.62);
    line-height: 1.7;
    flex: 1;
  }
  .role-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
  }
  .role-tag {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.60);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 3px 10px;
    border-radius: 40px;
  }

  .get-involved-cta {
    margin-top: 48px;
    padding: 36px 40px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
  .get-involved-cta p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    max-width: 560px;
  }
  .get-involved-cta strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
  }
  .cta-link-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0) 0%, rgba(255,255,255,0.07) 100%);
    box-shadow: inset 0 0 9px rgba(255,255,255,0.40), 0 0 0 1px rgba(255,255,255,0.14);
    border-radius: 40px;
    color: rgba(255,255,255,0.90);
    text-decoration: none;
    padding: 13px 26px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    flex-shrink: 0;
    transition: box-shadow 0.3s, gap 0.2s, color 0.2s;
    white-space: nowrap;
  }
  .cta-link-white:hover {
    box-shadow: inset 0 0 16px rgba(255,255,255,0.60), 0 0 0 1px rgba(255,255,255,0.26);
    gap: 14px;
    color: #fff;
  }

  /* Contacts form select */
  .contacts-form-area .form-group select {
    width: 100%;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6860' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
  }

  /* Responsive contacts */
  @media (max-width: 1024px) {
    .contacts-body { grid-template-columns: 1fr; max-width: 100%; }
    .contacts-form-area { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 56px 40px; }
    .contacts-info-area { padding: 48px 40px; }
    .get-involved-header { grid-template-columns: 1fr; gap: 24px; }
    .roles-grid { grid-template-columns: 1fr !important; }
    .role-card { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.08) !important; }
    .role-card:last-child { border-bottom: none !important; }
  }
  @media (max-width: 768px) {
    /* Contacts: prevent horizontal overflow */
    #contacts-page { overflow-x: hidden; }
    .contacts-body,
    .contacts-form-area,
    .contacts-info-area,
    .get-involved,
    .get-involved-inner { max-width: 100%; width: 100%; box-sizing: border-box; }
    #contact-form input,
    #contact-form select,
    #contact-form textarea { max-width: 100%; width: 100%; box-sizing: border-box; }

    .contacts-hero { padding: 80px 20px 56px; min-height: 420px; }
    .contacts-form-area { padding: 48px 20px; }
    .contacts-info-area { padding: 40px 20px; }
    .get-involved { padding: 56px 20px; }
    .get-involved-header { grid-template-columns: 1fr; gap: 16px; }
    .roles-grid { grid-template-columns: 1fr !important; }
    .role-card { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.08) !important; }
    .role-card:last-child { border-bottom: none !important; }
    .get-involved-cta { flex-direction: column; align-items: flex-start; padding: 28px 24px; gap: 20px; }
    /* Name + pronouns grid: stacked on mobile (selector fixed: form, not div) */
    .contacts-form-area form > div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  }
  @media (max-width: 480px) {
    #contacts-page { overflow-x: hidden; }
    .contacts-hero { padding: 80px 16px 48px; }
    .contacts-form-area { padding: 40px 16px; }
    .contacts-info-area { padding: 32px 16px; }
    .get-involved { padding: 48px 16px; }
  }

  /* ── INITIATIVES PAGE ── */
  #initiatives-page { display: none; }

  .initiatives-hero {
    background:
      linear-gradient(145deg, rgba(123,111,205,0.32) 0%, transparent 50%),
      radial-gradient(ellipse at 88% 92%, rgba(123,111,205,0.18) 0%, transparent 48%),
      #131218;
    color: var(--white);
    padding: 88px 48px 72px;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .initiatives-hero-inner { max-width: 860px; }
  .initiatives-hero .section-label { color: rgba(255,255,255,0.45); margin-bottom: 20px; }
  .initiatives-hero h1 {
    font-family: 'Unbounded', 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(28px, 4vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
  }
  .initiatives-hero p {
    font-size: 16px;
    color: rgba(255,255,255,0.62);
    max-width: 520px;
    line-height: 1.8;
  }

  /* ── FILTER BAR ── */
  .filter-bar {
    background: rgba(14,12,20,0.48);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 4px 24px rgba(0,0,0,0.28);
    padding: 0 48px;
    display: flex;
    align-items: center;
    gap: 0;
    position: sticky;
    top: 64px;
    z-index: 80;
  }

  /* Per-page filter bar color tints */
  #initiatives-page .filter-bar {
    background: rgba(123,111,205,0.12);
    border-top-color: rgba(123,111,205,0.20);
    border-bottom-color: rgba(123,111,205,0.18);
  }
  #initiatives-page .filter-chip.active {
    background: rgba(123,111,205,0.40);
    border-color: rgba(155,142,196,0.55);
    color: #fff;
    box-shadow: inset 0 0 9px rgba(123,111,205,0.35);
  }
  #initiatives-page .filter-chip:hover {
    border-color: rgba(155,142,196,0.45);
    color: #fff;
    background: rgba(123,111,205,0.15);
  }

  #news-page .filter-bar {
    background: rgba(125,186,122,0.10);
    border-top-color: rgba(125,186,122,0.18);
    border-bottom-color: rgba(125,186,122,0.15);
  }
  #news-page .filter-chip.active {
    background: rgba(125,186,122,0.38);
    border-color: rgba(125,186,122,0.55);
    color: #fff;
    box-shadow: inset 0 0 9px rgba(125,186,122,0.30);
  }
  #news-page .filter-chip:hover {
    border-color: rgba(125,186,122,0.40);
    color: #fff;
    background: rgba(125,186,122,0.12);
  }

  #masterposts-page .filter-bar {
    background: rgba(137,196,225,0.10);
    border-top-color: rgba(137,196,225,0.18);
    border-bottom-color: rgba(137,196,225,0.15);
  }
  #masterposts-page .filter-chip.active {
    background: rgba(137,196,225,0.36);
    border-color: rgba(137,196,225,0.55);
    color: #fff;
    box-shadow: inset 0 0 9px rgba(137,196,225,0.28);
  }
  #masterposts-page .filter-chip:hover {
    border-color: rgba(137,196,225,0.40);
    color: #fff;
    background: rgba(137,196,225,0.12);
  }

  .filter-group {
    display: flex;
    align-items: center;
    gap: 0;
    border-right: 1px solid rgba(255,255,255,0.07);
    padding: 0 24px 0 0;
    margin-right: 24px;
  }
  .filter-group:last-child { border-right: none; margin-right: 0; }
  .filter-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(248,247,244,0.38);
    margin-right: 12px;
    white-space: nowrap;
    padding: 18px 0;
  }
  .filter-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding: 14px 0;
  }
  .filter-chip {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 5px 13px;
    border: 1px solid rgba(255,255,255,0.12);
    background: transparent;
    color: rgba(248,247,244,0.58);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    border-radius: 100px;
  }
  .filter-chip:hover { border-color: rgba(255,255,255,0.40); color: #f8f7f4; }
  .filter-chip.active {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.45);
    color: #fff;
    box-shadow: inset 0 0 9px rgba(255,255,255,0.20);
  }
  .filter-count {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(248,247,244,0.35);
    margin-left: auto;
    padding: 0 0 0 24px;
    white-space: nowrap;
    padding-top: 18px;
    padding-bottom: 18px;
    align-self: center;
  }

  /* Grid */
  .initiatives-archive {
    padding: 64px 48px 80px;
  }
  .initiatives-archive > .section-label {
    display: block;
  }
  .initiatives-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.07);
    margin-top: 32px;
  }
  .initiative-hidden { display: none !important; }

  /* No results */
  .no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 0;
    color: var(--grey-400);
    font-size: 15px;
    display: none;
  }
  .no-results.visible { display: block; }

  /* Responsive */
  @media (max-width: 1024px) {
    .filter-bar { padding: 0 24px; top: 56px; }
    .initiatives-archive { padding: 40px 24px 64px; }
    .initiatives-archive-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 768px) {
    .initiatives-hero { padding: 80px 20px 56px; min-height: 420px; }
    .filter-bar { padding: 0 16px; flex-wrap: wrap; gap: 0; top: 56px; overflow-x: auto; flex-wrap: nowrap; }
    .filter-group { padding: 0 16px 0 0; margin-right: 16px; flex-shrink: 0; }
    .filter-count { display: none; }
    .initiatives-archive { padding: 32px 20px 56px; }
    .initiatives-archive-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 480px) {
    .initiatives-hero { padding: 80px 16px 48px; }
    .initiatives-archive { padding: 24px 16px 48px; }
  }


  /* ── PROMPT TABLE ── */
  .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

  .ptable-search-wrap {
    position: relative;
    max-width: 480px;
    display: flex;
    align-items: center;
    gap: 0;
  }
  .ptable-search {
    width: 100%;
    padding: 11px 16px 11px 40px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.05);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(248,247,244,0.9);
    outline: none;
    transition: border-color 0.2s, background 0.2s;
  }
  .ptable-search::placeholder { color: rgba(248,247,244,0.35); }
  .ptable-search:focus { border-color: #c9927a; background: rgba(255,255,255,0.07); }
  .ptable-search-icon {
    position: absolute;
    left: 13px;
    color: rgba(248,247,244,0.35);
    pointer-events: none;
    display: flex;
    align-items: center;
  }
  .ptable-result-count {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(248,247,244,0.40);
    white-space: nowrap;
    margin-left: 16px;
  }


  /* Tab bar */
  .ptab-bar {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    margin-top: 28px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }
  .ptab-bar::-webkit-scrollbar { display: none; }
  .ptab-btn {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 12px 18px;
    border: none;
    border-bottom: 2px solid transparent;
    background: none;
    color: rgba(248,247,244,0.40);
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.15s;
    margin-bottom: -1px;
    flex-shrink: 0;
  }
  .ptab-btn:hover { color: rgba(248,247,244,0.80); }
  /* WB2016 tab accent colours: dark tropical palette */
  .ptab-btn[data-tab="tab0"].active { border-bottom-color: #c47a65; color: #e8a080; }
  .ptab-btn[data-tab="tab0"].active .ptab-count { background: rgba(196,122,101,0.18); color: #e8a080; }
  .ptab-btn[data-tab="tab1"].active { border-bottom-color: #c9927a; color: #e8b090; }
  .ptab-btn[data-tab="tab1"].active .ptab-count { background: rgba(201,146,122,0.18); color: #e8b090; }
  .ptab-btn[data-tab="tab2"].active { border-bottom-color: #b85070; color: #d87090; }
  .ptab-btn[data-tab="tab2"].active .ptab-count { background: rgba(184,80,112,0.18); color: #d87090; }
  .ptab-btn[data-tab="tab3"].active { border-bottom-color: #c49a5a; color: #d8b878; }
  .ptab-btn[data-tab="tab3"].active .ptab-count { background: rgba(196,154,90,0.18); color: #d8b878; }
  .ptab-btn[data-tab="tab4"].active { border-bottom-color: #8a6090; color: #b090c8; }
  .ptab-btn[data-tab="tab4"].active .ptab-count { background: rgba(138,96,144,0.18); color: #b090c8; }
  .ptab-btn[data-tab="tab5"].active { border-bottom-color: #6abfb8; color: #88d0c8; }
  .ptab-btn[data-tab="tab5"].active .ptab-count { background: rgba(106,191,184,0.18); color: #88d0c8; }
  .ptab-btn.active { color: rgba(248,247,244,0.9); border-bottom-color: #c9927a; }
  .ptab-count {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    background: rgba(255,255,255,0.08);
    color: rgba(248,247,244,0.45);
    padding: 1px 6px;
    border-radius: 100px;
    margin-left: 6px;
    vertical-align: middle;
  }
  .ptab-btn.active .ptab-count { background: rgba(201,146,122,0.18); color: #e8b090; }

  /* Panels */
  .ptab-panels { margin-top: 0; }
  .ptab-panel { display: none; }
  .ptab-panel.active { display: block; }

  /* Per-tab filter bar */
  .ptab-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0 14px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    gap: 16px;
    flex-wrap: wrap;
  }
  .ptab-filter-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }
  .ptab-filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .ptab-filter-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(248,247,244,0.40);
    white-space: nowrap;
  }
  .ptab-filter-select {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: rgba(248,247,244,0.85);
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.06);
    padding: 6px 28px 6px 10px;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23a09890' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: border-color 0.15s;
    max-width: 220px;
  }
  .ptab-filter-select:focus { border-color: #c9927a; }
  .ptab-filter-select option { background: #1a1410; color: rgba(248,247,244,0.85); }
  .ptab-sort-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(248,247,244,0.45);
    background: none;
    border: 1px solid rgba(255,255,255,0.10);
    padding: 6px 12px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
  }
  .ptab-sort-btn:hover { border-color: rgba(255,255,255,0.30); color: rgba(248,247,244,0.80); }
  .ptab-sort-btn.sorted { background: rgba(201,146,122,0.18); color: #e8b090; border-color: rgba(201,146,122,0.35); }
  .ptab-row-count {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(248,247,244,0.35);
    white-space: nowrap;
  }

  /* Table */
  .prompt-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
  }
  .prompt-table thead tr { border-bottom: 2px solid rgba(255,255,255,0.10); }
  .prompt-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(248,247,244,0.40);
    background: rgba(255,255,255,0.03);
    position: sticky;
    top: 94px;
    z-index: 2;
  }
  .prompt-table td { padding: 11px 16px; vertical-align: top; border-bottom: 1px solid rgba(255,255,255,0.06); line-height: 1.55; font-size: 13px; color: rgba(248,247,244,0.80); }
  .prompt-table tr:last-child td { border-bottom: none; }
  .prompt-table .tr-alt td { background: rgba(255,255,255,0.025); }
  .prompt-table tbody tr:hover td { background: rgba(201,146,122,0.08) !important; }
  .td-code { width: 110px; min-width: 110px; }
  .code-badge {
    font-family: 'Inter', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(248,247,244,0.55);
    background: rgba(255,255,255,0.08);
    padding: 3px 8px;
    display: inline-block;
    white-space: nowrap;
  }
  .td-prompt { font-weight: 600; color: rgba(248,247,244,0.92); min-width: 180px; }
  .td-subcat { min-width: 110px; }
  .td-note { color: rgba(248,247,244,0.45); font-style: italic; }
  /* Font-size enforcement: override any nested element (span, badge, etc.) */
  .prompt-table th,
  .prompt-table td,
  .prompt-table td * { font-size: 13px !important; }
  /* Note column: smaller to compensate italic long-text visual effect */
  .td-note { font-size: 11px !important; }
  .subcat-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 2px 8px;
    white-space: nowrap;
    /* default fallback */
    color: #b090c8;
    background: rgba(138,96,144,0.18);
  }
  /* Per-tab subcat badge colours matching tab accents */
  #panel-tab0 .subcat-badge { background: rgba(196,122,101,0.18); color: #e8a080; }
  #panel-tab1 .subcat-badge { background: rgba(201,146,122,0.18); color: #e8b090; }
  #panel-tab2 .subcat-badge { background: rgba(184,80,112,0.18); color: #d87090; }
  #panel-tab3 .subcat-badge { background: rgba(196,154,90,0.18); color: #d8b878; }
  #panel-tab4 .subcat-badge { background: rgba(138,96,144,0.18); color: #b090c8; }
  #panel-tab5 .subcat-badge { background: rgba(106,191,184,0.18); color: #88d0c8; }
  .prompt-row-hidden { display: none !important; }

  .wb-prompt-cta-grid { grid-template-columns: 1fr 1fr; }
  @media (max-width: 768px) {
    .wb-prompt-cta-grid { grid-template-columns: 1fr !important; }
    .wb-prompt-cta-grid > div { border-right: none !important; border-bottom: 1px solid var(--grey-200); padding: 32px 20px !important; }
    .ptab-btn { font-size: 11px; padding: 10px 12px; }
    .prompt-table thead th { position: static !important; top: auto !important; }
    .prompt-table th,
    .prompt-table td,
    .prompt-table td * { font-size: 12px !important; }
    .td-note, .td-note * { font-size: 11px !important; }
    .prompt-table th { padding: 10px 10px; }
    .prompt-table td { padding: 10px 10px; }
    .ptable-search-wrap { max-width: 100%; }
    .ptab-filter-bar { padding: 12px 0; gap: 10px; }
  }
  @media (max-width: 480px) {
    .td-code { min-width: 80px; }
    .code-badge { font-size: 10px; }
  }


  /* ── PROMPT GENERATOR ── */
  .pg-hero {
    background:
      linear-gradient(145deg, rgba(201,146,122,0.32) 0%, transparent 50%),
      radial-gradient(ellipse at 88% 92%, rgba(201,146,122,0.18) 0%, transparent 48%),
      #181410;
    color: var(--white);
    padding: 88px 48px 72px;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .pg-hero-inner { max-width: 860px; }
  .pg-hero h1 {
    font-family: 'Unbounded', 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(28px, 4vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
  }
  .pg-hero p {
    font-size: 16px;
    color: rgba(255,255,255,0.65);
    max-width: 520px;
    line-height: 1.8;
  }

  /* Wizard step bar */
  .pg-wizard-bar {
    display: flex;
    align-items: stretch;
    background: rgba(201,146,122,0.10);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(201,146,122,0.18);
    box-shadow: 0 4px 24px rgba(0,0,0,0.28);
    position: sticky;
    top: 64px;
    z-index: 10;
  }
  .pg-wizard-step {
    flex: 1;
    align-self: stretch;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.28);
    cursor: default;
    text-align: left;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    position: relative;
  }
  /* Subtle vertical divider via pseudo, not border-right (avoids layout shift) */
  .pg-wizard-step + .pg-wizard-step::before {
    content: '';
    position: absolute;
    left: 0; top: 25%; bottom: 25%;
    width: 1px;
    background: rgba(201,146,122,0.14);
  }
  .pg-wizard-step-num {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.16);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    color: rgba(255,255,255,0.28);
  }
  .pg-wizard-step-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
  }
  .pg-wizard-step-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(201,146,122,0.40);
  }
  .pg-wizard-step-name {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }
  /* Active: bottom border indicator + bright text, no background */
  .pg-wizard-step.active {
    color: rgba(255,255,255,0.92);
    border-bottom-color: rgba(201,146,122,0.85);
  }
  .pg-wizard-step.active .pg-wizard-step-num {
    background: rgba(201,146,122,0.75);
    border-color: rgba(201,146,122,0.90);
    color: white;
  }
  .pg-wizard-step.active .pg-wizard-step-label { color: rgba(201,146,122,0.75); }
  /* Completed: medium brightness, clickable, underline on hover */
  .pg-wizard-step.completed {
    color: rgba(255,255,255,0.55);
    cursor: pointer;
  }
  .pg-wizard-step.completed:hover {
    color: rgba(255,255,255,0.82);
  }
  .pg-wizard-step.completed:hover .pg-wizard-step-name {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .pg-wizard-step.completed .pg-wizard-step-num {
    background: rgba(201,146,122,0.28);
    border-color: rgba(201,146,122,0.45);
    color: rgba(255,255,255,0.80);
  }
  .pg-wizard-step.completed .pg-wizard-step-label { color: rgba(201,146,122,0.50); }

  .pg-step-hidden { display: none; }
  .pg-step-main { padding-top: 48px; }
  .pg-step-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(201,146,122,0.75);
    margin-bottom: 10px;
  }
  .pg-step-title {
    font-family: 'Unbounded', 'Inter', sans-serif;
    font-size: clamp(20px, 2.5vw, 30px);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: rgba(255,255,255,0.92);
    margin-bottom: 12px;
    line-height: 1.15;
  }
  .pg-step-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.50);
    line-height: 1.75;
    max-width: 600px;
    margin-bottom: 36px;
  }

  /* Initiative grid */
  .pg-initiative-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 8px;
  }
  .pg-initiative-card {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    border-radius: 12px;
    overflow: hidden;
  }
  .pg-initiative-card-inner {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 160px;
    transition: opacity 0.18s, transform 0.18s, box-shadow 0.18s;
    position: relative;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow:
      inset 0 0 0 1px rgba(255,255,255,0.05),
      0 4px 24px rgba(0,0,0,0.35);
  }
  /* Corner glow overlay for initiative cards */
  .pg-initiative-card-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: radial-gradient(ellipse at 15% 0%, rgba(201,146,122,0.22) 0%, transparent 55%);
    pointer-events: none;
  }
  .pg-initiative-live .pg-initiative-card-inner:hover {
    opacity: 0.90;
    transform: translateY(-3px);
    box-shadow: 0 8px 36px rgba(0,0,0,0.45), 0 0 24px rgba(201,146,122,0.18);
  }
  .pg-initiative-soon { cursor: not-allowed; }
  .pg-initiative-status {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
  }
  .pg-live-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #4caf7d;
    box-shadow: 0 0 0 2px rgba(76,175,125,0.35);
    flex-shrink: 0;
  }
  .pg-initiative-name {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-top: auto;
    position: relative;
  }
  .pg-initiative-meta {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    position: relative;
  }
  /* Selected state */
  .pg-initiative-card.selected .pg-initiative-card-inner {
    outline: 2px solid rgba(201,146,122,0.90);
    outline-offset: -2px;
    box-shadow: 0 0 28px rgba(201,146,122,0.30), inset 0 0 20px rgba(201,146,122,0.08);
  }

  /* Count row */
  .pg-count-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
  }
  .pg-count-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    white-space: nowrap;
  }
  .pg-count-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .pg-count-btn {
    width: 40px; height: 40px;
    border-radius: 40px;
    border: 1px solid rgba(201,146,122,0.28);
    background: rgba(201,146,122,0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: rgba(255,255,255,0.50);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s, box-shadow 0.15s;
    display: flex; align-items: center; justify-content: center;
  }
  .pg-count-btn:hover {
    border-color: rgba(201,146,122,0.55);
    color: rgba(255,255,255,0.85);
    background: rgba(201,146,122,0.14);
  }
  .pg-count-btn.active {
    background: rgba(201,146,122,0.25);
    border-color: rgba(201,146,122,0.75);
    color: white;
    box-shadow: 0 0 14px rgba(201,146,122,0.28), inset 0 0 8px rgba(255,255,255,0.18);
  }

  /* Slot config */
  .pg-slots-config {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
  }
  .pg-slot-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
  }
  .pg-slot-num {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(201,146,122,0.30);
    border: 1px solid rgba(201,146,122,0.55);
    color: rgba(255,255,255,0.90);
    font-size: 11px;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .pg-slot-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.50);
    white-space: nowrap;
  }
  .pg-slot-select {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.80);
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 28px 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(255,255,255,0.45)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    min-width: 220px;
    transition: border-color 0.15s, box-shadow 0.15s;
  }
  .pg-slot-select:focus {
    border-color: rgba(201,146,122,0.55);
    box-shadow: 0 0 0 2px rgba(201,146,122,0.15);
  }
  .pg-slot-select option { background: #1e1814; color: rgba(255,255,255,0.85); }

  /* CTA buttons */
  .pg-cta-btn {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 40px;
    border: 1px solid rgba(201,146,122,0.40);
    background: rgba(201,146,122,0.14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: inset 0 0 9px rgba(255,255,255,0.25), 0 0 20px rgba(201,146,122,0.12);
    color: rgba(255,255,255,0.92);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  }
  .pg-cta-btn:hover {
    border-color: rgba(201,146,122,0.65);
    background: rgba(201,146,122,0.22);
    box-shadow: inset 0 0 12px rgba(255,255,255,0.35), 0 0 28px rgba(201,146,122,0.22);
  }
  .pg-ghost-btn {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(255,255,255,0.50);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
  }
  .pg-ghost-btn:hover {
    border-color: rgba(255,255,255,0.35);
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.09);
  }

  /* Result cards */
  .pg-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 40px;
    width: 100%;
  }
  .pg-results.count-4 { grid-template-columns: repeat(3, 1fr); }
  .pg-results.count-4 .pg-result-card:last-child { grid-column: 2 / 3; }
  .pg-results.count-5 { grid-template-columns: repeat(3, 1fr); }
  .pg-results.count-5 .pg-result-card:nth-child(4) { grid-column: 1 / 2; margin-left: auto; width: 100%; }
  .pg-results.count-5 .pg-result-card:nth-child(5) { grid-column: 2 / 3; }
  .pg-results.count-6 { grid-template-columns: repeat(3, 1fr); }
  .pg-result-card {
    display: flex;
    align-items: stretch;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 12px;
    overflow: hidden;
    min-height: 100px;
    box-sizing: border-box;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: box-shadow 0.2s;
  }
  .pg-result-card.revealed {
    box-shadow: 0 4px 28px rgba(0,0,0,0.35);
  }
  .pg-result-accent {
    width: 5px;
    flex-shrink: 0;
    border-radius: 12px 0 0 12px;
  }
  .pg-result-inner {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(0,0,0,0.18);
  }
  .pg-result-meta {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .pg-result-tabname {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.40);
  }
  .pg-result-code {
    font-family: 'Inter', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.55);
  }
  .pg-result-prompt {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.3;
    display: block;
  }
  /* Fixed-height slot window: animation contained here, never shifts card height */
  .pg-prompt-slot {
    min-height: 58px;
    overflow: hidden;
    display: flex;
    align-items: center;
  }
  .pg-result-note {
    font-size: 12px;
    font-style: italic;
    color: rgba(255,255,255,0.38);
    line-height: 1.5;
  }

  /* Slot machine animation — only translateY, layout never affected */
  .pg-result-card.spinning .pg-result-prompt {
    animation: pgSpin 0.08s linear infinite;
    will-change: transform, opacity;
  }
  @keyframes pgSpin {
    0%   { transform: translateY(-6px); opacity: 0.25; }
    50%  { transform: translateY(6px);  opacity: 0.65; }
    100% { transform: translateY(-6px); opacity: 0.25; }
  }
  .pg-result-card.revealed .pg-result-prompt {
    animation: pgReveal 0.35s cubic-bezier(0.22,1,0.36,1) forwards;
    will-change: transform, opacity;
  }
  @keyframes pgReveal {
    0%   { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(0);    opacity: 1; }
  }

  /* Result actions */
  .pg-result-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
  }

  @media (max-width: 768px) {
    .pg-hero { padding: 80px 20px 56px; min-height: 420px; }
    #pg-area { padding: 40px 20px 60px; }
    .pg-wizard-bar { top: 56px; }
    .pg-wizard-step { padding: 14px 12px; gap: 8px; }
    .pg-wizard-step-name { font-size: 11px; }
    .pg-wizard-step-num { width: 22px; height: 22px; font-size: 10px; }
    .pg-initiative-grid { grid-template-columns: 1fr; }
    .pg-result-prompt { font-size: 18px; }
    .pg-results { grid-template-columns: 1fr !important; }
    .pg-results .pg-result-card:last-child { grid-column: auto !important; }
    .pg-slot-select { min-width: 160px; }
  }
  @media (max-width: 480px) {
    .pg-hero { padding: 80px 16px 40px; min-height: 320px; }
    .pg-wizard-step-label { display: none; }
    .pg-wizard-step-name { font-size: 10px; }
  }


  /* ── MASTERPOST ── */
  .mp-hero {
    background:
      linear-gradient(145deg, rgba(201,146,122,0.32) 0%, transparent 50%),
      radial-gradient(ellipse at 88% 92%, rgba(184,80,112,0.18) 0%, transparent 48%),
      #101418;
    color: white;
    padding: 88px 48px 72px;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .mp-hero h1 { font-family: 'Unbounded', 'Inter', sans-serif; font-weight: 600; font-size: clamp(28px,4vw,56px); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 20px; }
  .mp-hero p  { font-size: 16px; color: rgba(255,255,255,0.65); max-width: 560px; line-height: 1.8; }

  .mp-area { padding: 48px 48px 80px; }

  /* Filter bar */
  /* Filter bar: single row with label+input stacked per column */
  .mp-filters {
    display: grid;
    grid-template-columns: 80px 1fr 1fr 1fr 1fr 110px 110px auto;
    gap: 0;
    align-items: end;
    margin-bottom: 16px;
    border: 1px solid rgba(201,146,122,0.20);
    background: rgba(201,146,122,0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.22);
  }
  .mp-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-right: 1px solid rgba(201,146,122,0.14);
  }
  .mp-filter-group:last-of-type { border-right: none; }
  .mp-filter-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(201,146,122,0.75);
    white-space: nowrap;
    padding: 6px 10px 3px;
    background: rgba(201,146,122,0.08);
  }
  .mp-filter-input, .mp-filter-select {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    border: none;
    border-top: 1px solid rgba(201,146,122,0.12);
    background: rgba(0,0,0,0.18);
    padding: 8px 10px;
    outline: none;
    transition: background 0.15s;
    width: 100%;
    box-sizing: border-box;
  }
  .mp-filter-input::placeholder {
    color: rgba(255,255,255,0.35);
  }
  .mp-filter-select option,
  .mp-filter-select optgroup {
    background: #1a1210;
    color: rgba(248,247,244,0.85);
  }
  .mp-filter-input:focus, .mp-filter-select:focus {
    background: rgba(201,146,122,0.12);
  }
  .mp-filter-select {
    padding-right: 26px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(255,255,255,0.45)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-color: rgba(0,0,0,0.18);
    background-repeat: no-repeat;
    background-position: right 8px center;
    cursor: pointer;
    color: rgba(255,255,255,0.85);
  }
  .mp-filter-input:focus, .mp-filter-select:focus {
    background: rgba(201,146,122,0.16);
    outline: none;
  }
  .mp-filter-input.active, .mp-filter-select.active {
    background: rgba(201,146,122,0.14);
    color: rgba(255,255,255,0.90);
  }
  .mp-filter-actions {
    display: flex;
    align-items: stretch;
    height: 100%;
  }
  .mp-clear-btn {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: none;
    color: rgba(255,255,255,0.45);
    border: none;
    border-left: 1px solid rgba(255,255,255,0.10);
    padding: 10px 14px;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
    width: 100%;
    align-self: stretch;
  }
  .mp-clear-btn:hover { color: rgba(255,255,255,0.88); background: rgba(255,255,255,0.06); }

  /* Result count */
  .mp-result-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
  }
  .mp-result-count {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grey-400);
  }

  /* Table */
  .mp-table-wrap {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 560px;   /* ~20 rows visible */
    border: 1px solid rgba(255,255,255,0.10);
    position: relative;
  }
  .mp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
  }
  .mp-table thead th {
    position: sticky;
    top: 0;
    background: var(--black);
    color: white;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 12px 14px;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s;
  }
  .mp-table thead th:hover { background: #222; }
  .mp-table thead th .mp-sort-icon {
    display: inline-block;
    margin-left: 5px;
    opacity: 0.4;
    font-size: 9px;
  }
  .mp-table thead th.sorted-asc .mp-sort-icon::after  { content: '▲'; opacity: 1; }
  .mp-table thead th.sorted-desc .mp-sort-icon::after { content: '▼'; opacity: 1; }
  .mp-table thead th:not(.sorted-asc):not(.sorted-desc) .mp-sort-icon::after { content: '⇅'; }

  .mp-td { padding: 16px 12px; border-bottom: 1px solid rgba(255,255,255,0.07); vertical-align: middle; color: rgba(255,255,255,0.85); }
  #mp-tbody td { padding: 16px 12px !important; }
  .mp-row-alt td { background: rgba(255,255,255,0.03); }
  .mp-td-date  { color: rgba(255,255,255,0.45); font-size: 12px; white-space: nowrap; }
  .mp-td-user  { font-weight: 600; white-space: nowrap; }
  .mp-td-title { max-width: 280px; }
  .mp-td-fandom { white-space: nowrap; }
  .mp-td-type  { color: rgba(255,255,255,0.55); font-size: 13px; white-space: nowrap; }
  .mp-td-code  { white-space: nowrap; }

  .mp-work-link {
    color: rgba(255,255,255,0.88);
    font-weight: 600;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .mp-work-link:hover { text-decoration: underline; text-underline-offset: 2px; }
  .mp-work-link::after { content: ' ↗'; font-size: 0.85em; opacity: 0.6; }

  .mp-code-badge {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--lavender-text);
    background: rgba(123, 111, 205, 0.10);
    border: 1px solid rgba(123, 111, 205, 0.25);
    border-radius: 3px;
    padding: 3px 7px;
    white-space: nowrap;
  }

  .mp-rating-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 7px;
    border-radius: 3px;
    white-space: nowrap;
    display: inline-block;
  }
  .mp-rating-safe     { color: #1a6b28; background: rgba(26, 107, 40, 0.10); border: 1px solid rgba(26, 107, 40, 0.25); }
  .mp-rating-mature   { color: #8f4020; background: rgba(143, 64, 32, 0.10); border: 1px solid rgba(143, 64, 32, 0.25); }
  .mp-rating-explicit { color: #8f1a38; background: rgba(143, 26, 56, 0.10); border: 1px solid rgba(143, 26, 56, 0.25); }

  .mp-empty-row td {
    text-align: center;
    padding: 48px;
    color: var(--grey-400);
    font-size: 14px;
  }

  @media (max-width: 1100px) {
    .mp-filters { grid-template-columns: 72px 1fr 1fr 1fr 1fr 90px 90px auto; }
    .mp-filter-input, .mp-filter-select { font-size: 12px; }
  }
  @media (max-width: 768px) {
    .mp-hero { padding: 80px 20px 48px; min-height: 420px; }
    .mp-area { padding: 24px 16px 60px; }
    .mp-filters { grid-template-columns: repeat(2, 1fr); border-color: rgba(201,146,122,0.20); }
    .mp-filter-group { border-right: none; border-bottom: 1px solid rgba(201,146,122,0.14); }
    .mp-filter-actions { grid-column: 1 / -1; border-top: 1px solid rgba(201,146,122,0.14); }
    .mp-clear-btn { padding: 10px; text-align: center; }
    .mp-table-wrap { -webkit-overflow-scrolling: touch; max-height: 420px; }
    .mp-table { min-width: 700px; }
    .mp-table thead th { top: 0; font-size: 9px; padding: 10px 10px; }
    .mp-td { padding: 9px 10px; font-size: 13px; }
    .table-scroll-hint { display: block; }
  }
  @media (max-width: 480px) {
    .mp-hero { padding: 80px 16px 32px; min-height: 320px; }
  }


/* ── TERMS OF USE MODAL ── */
#tos-modal,
#privacy-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 16px 64px;
  overflow-y: auto;
}

.tos-modal-inner {
  background: #0e0e0e;
  border: 1px solid rgba(255,255,255,0.1);
  max-width: 720px;
  width: 100%;
  padding: 52px 56px 56px;
  position: relative;
  flex-shrink: 0;
}

.tos-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
  font-family: 'Inter', sans-serif;
  padding: 4px 8px;
}
.tos-modal-close:hover { color: #f8f7f4; }

.tos-modal-body h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f8f7f4;
  margin-bottom: 6px;
}

.tos-updated {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  margin-bottom: 36px;
  display: block;
}

.tos-modal-body h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #f8f7f4;
  margin-top: 36px;
  margin-bottom: 12px;
}

.tos-modal-body p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  margin-bottom: 14px;
}

.tos-modal-body ul {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  padding-left: 22px;
  margin-bottom: 14px;
}

.tos-modal-body li { margin-bottom: 5px; }

.tos-modal-body strong { color: #f8f7f4; font-weight: 600; }

.tos-modal-body hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin: 28px 0 0;
}

@media (max-width: 600px) {
  #tos-modal, #privacy-modal { padding: 24px 0 48px; align-items: flex-start; }
  .tos-modal-inner { padding: 40px 24px 40px; }
}

/* ── BACK TO TOP BUTTON ── */
#back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0) 0%, rgba(255,255,255,0.08) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 9px rgba(255,255,255,0.40), 0 0 0 1px rgba(255,255,255,0.14);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s, box-shadow 0.2s;
  z-index: 200;
  transform: translateY(8px);
}
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#back-to-top svg {
  transition: transform 0.2s ease;
}
#back-to-top:hover {
  box-shadow: inset 0 0 14px rgba(255,255,255,0.55), 0 0 0 1px rgba(255,255,255,0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
#back-to-top:hover svg {
  transform: translateY(-3px);
}

/* ── NEWS PAGE ── */

#news-featured-wrap .section-label { margin-top: 24px; }

.news-hero {
  background:
    linear-gradient(145deg, rgba(125,186,122,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 88% 92%, rgba(137,196,225,0.16) 0%, transparent 48%),
    #111814;
  color: white;
  padding: 88px 48px 72px;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.news-hero-inner {
  max-width: 800px;
}
.news-page-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 80px;
}

/* Featured post */
.featured-post {
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #141414;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  text-decoration: none;
  color: #f8f7f4;
  transition: box-shadow 0.2s;
}
.featured-post:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}
.featured-thumb {
  background: #1a1a1a;
  min-height: 280px;
  overflow: hidden;
}
.featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.featured-thumb-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: linear-gradient(135deg, rgba(123,111,205,0.20) 0%, rgba(155,142,196,0.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-body {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.featured-cat {
  display: inline-block !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em;
  text-transform: uppercase !important;
  padding: 3px 8px !important;
  border-radius: 3px !important;
  width: auto !important;
  max-width: fit-content !important;
}
.featured-title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #f8f7f4;
}
.featured-excerpt {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(248,247,244,0.58);
}
.featured-meta {
  font-size: 12px;
  color: rgba(248,247,244,0.42);
  letter-spacing: 0.04em;
}
.featured-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lavender-text);
  text-decoration: none;
  margin-top: 4px;
  transition: opacity 0.2s;
}
.featured-read-more:hover { opacity: 0.7; }

/* News grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.news-card {
  cursor: pointer;
  background: #141414;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #f8f7f4;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.40);
}
.news-card-thumb {
  background: #1a1a1a;
  height: 160px;
  overflow: hidden;
  flex-shrink: 0;
}
.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(123,111,205,0.18) 0%, rgba(155,142,196,0.10) 100%);
}
.news-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.news-card-cat {
  display: inline-block !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em;
  text-transform: uppercase !important;
  padding: 3px 8px !important;
  border-radius: 3px !important;
  width: auto !important;
  max-width: fit-content !important;
}
.news-card-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: #f8f7f4;
}
.news-card-excerpt {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(248,247,244,0.55);
  flex: 1;
}
.news-card-meta {
  font-size: 11px;
  color: var(--grey-400);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

/* Category badge colors (shared between featured and card) */
.news-cat-announcement {
  background: rgba(201,146,122,0.15);
  color: #a0623a;
  border: 1px solid rgba(201,146,122,0.3);
}
.news-cat-bts {
  background: rgba(123,111,205,0.12);
  color: var(--lavender-text);
  border: 1px solid rgba(123,111,205,0.25);
}
.news-cat-fanwork {
  background: rgba(184,80,112,0.1);
  color: #9a3058;
  border: 1px solid rgba(184,80,112,0.25);
}

/* Category badge override */
.news-category-badge, .news-card-badge {
  font-size: 10px !important;
  padding: 3px 8px !important;
  border-radius: 3px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  display: inline-block !important;
  width: auto !important;
  max-width: fit-content !important;
}

/* Empty/loading states */
#news-loading, #news-empty {
  padding: 80px 0;
  text-align: center;
  color: var(--grey-400);
  font-size: 14px;
  letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .news-hero { padding: 60px 20px 48px; min-height: 420px; }
  .news-page-inner { padding: 0 20px 60px; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-thumb { min-height: 200px; }
  .featured-thumb-placeholder { min-height: 200px; }
  .featured-body { padding: 28px 24px; }
  .news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .news-hero { padding: 48px 16px 40px; }
  .news-page-inner { padding: 0 16px 48px; }
}

/* News post reader */
#news-post-reader {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--grey-200);
}
.news-reader-header { margin-bottom: 28px; }
.news-reader-close {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--grey-200);
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  margin-bottom: 24px;
  color: var(--grey-400);
  transition: border-color 0.2s, color 0.2s;
}
.news-reader-close:hover { border-color: var(--black); color: var(--black); }
.news-reader-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 12px 0 8px;
}
.news-reader-meta { font-size: 13px; color: var(--grey-400); }
.news-reader-thumb {
  margin-bottom: 32px;
  border-radius: 8px;
  overflow: hidden;
  max-height: 420px;
}
.news-reader-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-reader-body {
  max-width: 680px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(248,247,244,0.85);
  padding-bottom: 40px;
}
.news-reader-body h2, .news-reader-body h3, .news-reader-body h4 {
  font-weight: 800;
  margin: 32px 0 10px;
  letter-spacing: -0.01em;
}
.news-reader-body h2 { font-size: 22px; }
.news-reader-body h3 { font-size: 18px; }
.news-reader-body h4 { font-size: 15px; }
.news-reader-body p { margin-bottom: 18px; }
.news-reader-body ul { padding-left: 24px; margin-bottom: 18px; }
.news-reader-body li { margin-bottom: 6px; }
.news-reader-body a { color: #9b8ec4; text-decoration: underline; }
.news-reader-body code {
  font-family: monospace;
  font-size: 0.9em;
  background: rgba(255,255,255,0.08);
  color: rgba(248,247,244,0.85);
  padding: 2px 5px;
  border-radius: 3px;
}

/* ── TABLE SCROLL HINT (mobile only) ── */
.table-scroll-hint {
  display: none;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-400);
  text-align: center;
  padding: 6px 0 4px;
}

/* ── WIP BANNER ── */
.wip-banner {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 299;
  background: #e8804a;
  color: #fff8f0;
  overflow: hidden;
  white-space: nowrap;
  padding: 20px 0;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
@media (max-width: 900px) {
  .wip-banner { top: 56px; font-size: 13px; padding: 16px 0; }
}
.wip-track {
  display: inline-flex;
  gap: 0;
  animation: wip-scroll 35s linear infinite;
  will-change: transform;
}
.wip-text {
  padding: 0 3em;
}
.wip-sep {
  padding: 0 1em;
  opacity: 0.55;
  flex-shrink: 0;
}
@keyframes wip-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .wip-track { animation: none; }
  .wip-banner { animation: none; }
}
