    :root {
      --bg-main: #050508;
      --bg-elevated: #0b0b10;
      --bg-soft: #101018;
      --accent: #f3c96a; /* refined gold */
      --accent-soft: rgba(243, 201, 106, 0.18);
      --text-main: #f9fafb;
      --text-muted: #a1a1b3;
      --border-subtle: #1f1f2a;
      --error: #ff5c5c;
      --success: #3ccf7c;
      --radius-xl: 20px;
      --radius-full: 999px;
      --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.6);
      --nav-height: 72px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: radial-gradient(circle at top left, #191624 0, #050508 45%, #020108 100%);
      color: var(--text-main);
      line-height: 1.6;
      scroll-behavior: smooth;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

    /* Layout */
    .page {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    .container {
      width: min(1120px, 100% - 32px);
      margin: 0 auto;
    }

    /* Header & Navigation */
    header {
      position: sticky;
      top: 0;
      z-index: 50;
      backdrop-filter: blur(18px);
      background: linear-gradient(to bottom, rgba(5,5,8,0.92), rgba(5,5,8,0.85), transparent);
      border-bottom: 1px solid rgba(243, 201, 106, 0.15);
    }

 .nav {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1; /* allows brand to take remaining space without pushing nav-cta offscreen */
}

    .brand-mark {
      width: 36px;
      height: 36px;
      border-radius: 12px;
      background: radial-gradient(circle at 30% 0, #ffffffaa 0, #f3c96a 35%, #9e6b2a 70%, #12121b 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 0 0 1px rgba(243, 201, 106, 0.4), 0 18px 40px rgba(0, 0, 0, 0.8);
      font-weight: 700;
      font-size: 18px;
      letter-spacing: 0.04em;
      color: #050508;
    }

    .brand-text {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .brand-title {
      font-size: 16px;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--text-main);
    }

    .brand-subtitle {
      font-size: 12px;
      color: var(--text-muted);
    }

    .nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

    .nav-links a {
      padding: 6px 0;
      color: var(--text-muted);
      position: relative;
      transition: color 0.18s ease;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -4px;
      width: 0;
      height: 2px;
      border-radius: 999px;
      background: linear-gradient(to right, #f3c96a, #f8e7b3);
      transition: width 0.2s ease;
    }

    .nav-links a:hover {
      color: var(--text-main);
    }
    .nav-links a:hover::after {
      width: 100%;
    }

   .nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* desktop CTA */
.nav-cta-desktop {
  display: inline-flex;
}
    .pill {
      font-size: 11px;
      padding: 4px 10px;
      border-radius: 999px;
      border: 1px solid rgba(243, 201, 106, 0.4);
      background: rgba(12, 11, 18, 0.9);
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.18em;
    }

    .btn {
      appearance: none;
      border: none;
      outline: none;
      border-radius: var(--radius-full);
      padding: 9px 18px;
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
    }

    .btn-primary {
      background: linear-gradient(135deg, #f3c96a, #f8e7b3);
      color: #14121a;
      box-shadow: 0 16px 40px rgba(243, 201, 106, 0.35);
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 20px 60px rgba(243, 201, 106, 0.42);
    }

    .btn-outline {
      background: transparent;
      border: 1px solid rgba(243, 201, 106, 0.45);
      color: var(--accent);
    }

    .btn-outline:hover {
      background: rgba(243, 201, 106, 0.08);
    }

    /* Mobile Nav */
    /* Mobile / tablet nav */
.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(243, 201, 106, 0.4);
  background: rgba(10, 10, 18, 0.9);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text-main);
  border-radius: 999px;
  position: relative;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}

.nav-toggle.active span {
  background: transparent;
}

.nav-toggle.active span::before {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.active span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hide the mobile nav by default */
.nav-menu-mobile {
  display: none;
}

/* Use mobile layout for tablets + phones */
@media (max-width: 1024px) {
  /* Hide desktop nav links on mobile/tablet */
   .nav-links {
    display: none !important;
  }

  /* Hide the desktop CTA so it doesn't overlap the hamburger */
  .nav-cta-desktop {
    display: none;
  }

  /* Show hamburger icon */
  .nav-toggle {
    display: inline-flex !important;
  }
  /* Mobile dropdown menu */
  .nav-menu-mobile {
    display: block; /* override the global display:none on small screens */
    position: fixed;
    inset: var(--nav-height) 0 auto;
    background: rgba(5, 5, 8, 0.98);
    border-bottom: 1px solid rgba(243, 201, 106, 0.18);
    transform: translateY(-100%);
    transition: transform 0.2s ease;
    z-index: 40;
  }

  .nav-menu-mobile.open {
    transform: translateY(0);
  }

  .nav-menu-mobile-inner {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .nav-menu-mobile a {
    font-size: 14px;
    color: var(--text-muted);
  }

  .nav-menu-mobile a:hover {
    color: var(--text-main);
  }

  .nav-menu-mobile .mobile-cta {
    display: flex;
    gap: 10px;
    margin-top: 6px;
  }
}

/* Tiny screens: compress brand text so it doesn’t collide */
@media (max-width: 480px) {
  .brand-title {
    font-size: 13px;
    letter-spacing: 0.12em;
  }
  .brand-subtitle {
    display: none;
  }
}

    /* Hero Section */
    main {
      flex: 1;
    }

    section {
      padding: 64px 0;
    }

    #hero {
      padding: 72px 0 80px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
      gap: 40px;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 4px 10px;
      border-radius: 999px;
      background: rgba(10,10,18,0.9);
      border: 1px solid rgba(243, 201, 106, 0.3);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.15em;
      color: var(--accent);
      margin-bottom: 16px;
    }

    .eyebrow-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 12px rgba(243, 201, 106, 0.9);
    }

    .hero-title {
      font-size: clamp(30px, 3.2vw, 40px);
      line-height: 1.1;
      letter-spacing: -0.03em;
      font-weight: 700;
      margin-bottom: 16px;
    }

    .hero-highlight {
      background: linear-gradient(120deg, #f8e7b3, #f3c96a, #ffffff);
      -webkit-background-clip: text;
      color: transparent;
    }

    .hero-subtitle {
      font-size: 15px;
      color: var(--text-muted);
      max-width: 540px;
      margin-bottom: 20px;
    }

    .hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 22px;
      font-size: 13px;
    }

    .hero-tag {
      padding: 4px 10px;
      border-radius: 999px;
      background: rgba(14,14,22,0.9);
      border: 1px solid rgba(243, 201, 106, 0.25);
      color: var(--text-muted);
    }

    .hero-tag strong {
      color: var(--text-main);
      font-weight: 600;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 18px;
    }

    .hero-note {
      font-size: 12px;
      color: var(--text-muted);
    }

    .hero-note strong {
      color: var(--accent);
    }

    .hero-sidecard {
      border-radius: var(--radius-xl);
      background: radial-gradient(circle at top, #242137, #0b0b10 36%, #050508 100%);
      box-shadow: var(--shadow-soft);
      padding: 20px 18px 18px;
      border: 1px solid rgba(243, 201, 106, 0.4);
      position: relative;
      overflow: hidden;
    }

    .hero-sidecard::before {
      content: "";
      position: absolute;
      inset: -30%;
      background: radial-gradient(circle at 0 0, rgba(243, 201, 106, 0.12), transparent 60%);
      opacity: 0.8;
      pointer-events: none;
    }

    .sidecard-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 14px;
    }

    .sidecard-title {
      font-size: 14px;
      font-weight: 600;
    }

    .sidecard-chip {
      font-size: 11px;
      padding: 4px 10px;
      border-radius: 999px;
      border: 1px solid rgba(243, 201, 106, 0.35);
      background: rgba(5,5,10,0.7);
      color: var(--accent);
    }

    .sidecard-body {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 10px;
    }

    .sidecard-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin-bottom: 14px;
      font-size: 12px;
    }

    .badge-soft {
      border-radius: 12px;
      padding: 6px 10px;
      background: rgba(5,5,8,0.8);
      border: 1px solid rgba(243, 201, 106, 0.28);
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .badge-soft span:first-child {
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: var(--text-muted);
    }

    .badge-soft span:last-child {
      font-weight: 500;
      color: var(--text-main);
    }

    .speaker-pill {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      color: var(--text-muted);
    }

    .avatar-ring {
      width: 22px;
      height: 22px;
      border-radius: 999px;
      border: 1px solid rgba(243, 201, 106, 0.6);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 10px;
      background: radial-gradient(circle at 30% 0, #fafafa, #f3c96a 55%, #9e6b2a 100%);
      color: #101018;
    }

    @media (max-width: 900px) {
      .hero-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    @media (max-width: 600px) {
      #hero {
        padding-top: 64px;
      }
    }

    /* Section Headings */
    .section-heading {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 26px;
    }

    .section-title {
      font-size: 20px;
      font-weight: 600;
      letter-spacing: -0.02em;
    }

    .section-kicker {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: var(--accent);
    }

    .section-subtitle {
      font-size: 13px;
      color: var(--text-muted);
      max-width: 520px;
    }

    @media (max-width: 768px) {
      .section-heading {
        flex-direction: column;
      }
    }

    /* About / Mission Section */
    .about-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.5fr);
      gap: 28px;
    }

    .card {
      background: var(--bg-elevated);
      border-radius: var(--radius-xl);
      border: 1px solid var(--border-subtle);
      padding: 18px 18px 20px;
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    }

    .card-title {
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 12px;
    }

    .card p {
      font-size: 13px;
      color: var(--text-muted);
    }

    .list-dot {
      list-style: none;
      font-size: 13px;
      color: var(--text-muted);
    }

    .list-dot li {
      position: relative;
      padding-left: 18px;
      margin-bottom: 6px;
    }

    .list-dot li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 9px;
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: var(--accent-soft);
      box-shadow: 0 0 0 1px rgba(243, 201, 106, 0.35);
    }

    @media (max-width: 900px) {
      .about-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    /* Program Section */
    .program-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.4fr);
      gap: 26px;
    }

    .program-timeline {
      border-radius: var(--radius-xl);
      background: var(--bg-elevated);
      border: 1px solid var(--border-subtle);
      padding: 16px 16px 18px;
    }

    .timeline-item {
      display: grid;
      grid-template-columns: 18px minmax(0, 1fr);
      gap: 10px;
      margin-bottom: 12px;
    }

    .timeline-marker {
      position: relative;
      margin-top: 3px;
    }

    .timeline-dot {
      width: 10px;
      height: 10px;
      border-radius: 999px;
      background: var(--accent);
      box-shadow: 0 0 12px rgba(243, 201, 106, 0.9);
    }

    .timeline-line {
      position: absolute;
      top: 10px;
      left: 4px;
      width: 2px;
      height: calc(100% - 4px);
      background: linear-gradient(to bottom, rgba(243, 201, 106, 0.5), transparent);
    }

    .timeline-content-title {
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 2px;
    }

    .timeline-content-meta {
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 4px;
    }

    .timeline-content-body {
      font-size: 12px;
      color: var(--text-muted);
    }

    .pill-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 6px;
    }

    .pill-small {
      font-size: 11px;
      padding: 4px 10px;
      border-radius: 999px;
      background: rgba(13,13,22,0.9);
      border: 1px solid rgba(243, 201, 106, 0.26);
      color: var(--text-muted);
    }

    .program-meta {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 10px;
    }

    .program-panels {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 8px;
    }

    .panel-chip {
      padding: 8px 10px;
      border-radius: 14px;
      background: var(--bg-soft);
      border: 1px solid var(--border-subtle);
      font-size: 12px;
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .panel-chip span:first-child {
      font-weight: 500;
    }

    .panel-chip span:last-child {
      color: var(--text-muted);
      font-size: 11px;
    }

    @media (max-width: 900px) {
      .program-layout {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    /* Speakers Section */
    .speaker-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 18px;
    }

    .speaker-card {
      border-radius: 18px;
      background: var(--bg-elevated);
      border: 1px solid var(--border-subtle);
      padding: 14px 14px 16px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .speaker-header {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .speaker-avatar {
      width: 40px;
      height: 40px;
      border-radius: 999px;
      background: radial-gradient(circle at 30% 0, #fafafa, #f3c96a 55%, #9e6b2a 100%);
      box-shadow: 0 10px 24px rgba(0,0,0,0.7);
    }

    .speaker-meta {
      display: flex;
      flex-direction: column;
    }

    .speaker-name {
      font-size: 14px;
      font-weight: 600;
    }

    .speaker-role {
      font-size: 12px;
      color: var(--text-muted);
    }

    .speaker-tag {
      font-size: 11px;
      color: var(--accent);
    }

    .speaker-body {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* Exchange Master Section */
    .exchange-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.5fr);
      gap: 26px;
    }

    .pill-label {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: var(--accent);
      margin-bottom: 8px;
    }

    .pill-label span {
      width: 18px;
      height: 1px;
      background: linear-gradient(to right, var(--accent), transparent);
    }

    .feature-list {
      list-style: none;
      font-size: 13px;
      color: var(--text-muted);
    }

    .feature-list li {
      position: relative;
      padding-left: 18px;
      margin-bottom: 6px;
    }

    .feature-list li::before {
      content: "◆";
      position: absolute;
      left: 0;
      top: 0;
      font-size: 9px;
      color: var(--accent);
    }

    @media (max-width: 900px) {
      .exchange-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    /* Application Form Section */
    #apply {
      scroll-margin-top: calc(var(--nav-height) + 16px);
    }

    .apply-wrapper {
      display: grid;
      grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.4fr);
      gap: 26px;
      align-items: flex-start;
    }

    @media (max-width: 960px) {
      .apply-wrapper {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .form-card {
      background: var(--bg-elevated);
      border-radius: var(--radius-xl);
      border: 1px solid var(--border-subtle);
      padding: 18px 18px 20px;
      box-shadow: var(--shadow-soft);
    }

    .form-header {
      margin-bottom: 14px;
    }

    .form-header h3 {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 4px;
    }

    .form-header p {
      font-size: 13px;
      color: var(--text-muted);
    }

    form {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-top: 6px;
    }

    .field {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    label {
      font-size: 12px;
      font-weight: 500;
      color: var(--text-main);
    }

    label span.required {
      color: var(--accent);
      margin-left: 2px;
    }

    .hint {
      font-size: 11px;
      color: var(--text-muted);
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
      background: var(--bg-soft);
      border-radius: 12px;
      border: 1px solid var(--border-subtle);
      padding: 9px 11px;
      font-size: 13px;
      color: var(--text-main);
      outline: none;
      transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    }

    input::placeholder,
    textarea::placeholder {
      color: #5f5f73;
    }

    textarea {
      min-height: 80px;
      resize: vertical;
    }

    input:focus,
    select:focus,
    textarea:focus {
      border-color: rgba(243, 201, 106, 0.85);
      box-shadow: 0 0 0 1px rgba(243, 201, 106, 0.7);
      background: #11111c;
    }

    .field-inline {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    @media (max-width: 600px) {
      .field-inline {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .option-group {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 4px;
    }

    .option-pill {
      position: relative;
    }

    .option-pill input {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }

    .option-pill label {
      font-size: 11px;
      font-weight: 500;
      padding: 6px 10px;
      border-radius: 999px;
      background: var(--bg-soft);
      border: 1px solid var(--border-subtle);
      color: var(--text-muted);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    }

    .option-pill label::before {
      content: "";
      width: 9px;
      height: 9px;
      border-radius: 999px;
      border: 1px solid rgba(243, 201, 106, 0.4);
      background: transparent;
    }

    .option-pill input:checked + label {
      border-color: rgba(243, 201, 106, 0.9);
      background: rgba(243, 201, 106, 0.08);
      color: var(--accent);
      box-shadow: 0 0 0 1px rgba(243, 201, 106, 0.4);
    }

    .option-pill input:checked + label::before {
      background: radial-gradient(circle, #f3c96a 0, #f3c96a 40%, transparent 60%);
    }

    .error-text {
      font-size: 11px;
      color: var(--error);
      margin-top: 2px;
    }

    .error input,
    .error textarea,
    .error select {
      border-color: var(--error);
      box-shadow: 0 0 0 1px rgba(255, 92, 92, 0.6);
    }

    .form-footer {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-top: 6px;
    }

    .form-status {
      font-size: 12px;
      min-height: 18px;
    }

    .form-status.success {
      color: var(--success);
    }

    .form-status.error {
      color: var(--error);
    }

    .disclaimer {
      font-size: 11px;
      color: var(--text-muted);
    }

    /* Contact / Footer */
    footer {
      border-top: 1px solid var(--border-subtle);
      background: #030308;
      padding: 18px 0 22px;
      margin-top: 20px;
    }

    .footer-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 14px;
      font-size: 12px;
      color: var(--text-muted);
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .footer-links a {
      color: var(--text-muted);
    }

    .footer-links a:hover {
      color: var(--accent);
    }

    /* Utility */
    .fade-in {
      opacity: 0;
      transform: translateY(12px);
      transition: opacity 0.45s ease, transform 0.45s ease;
    }

    .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }
