@property --a {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@layer reset, tokens, base, layout, components, utilities;

@layer tokens {
  :root {
    /* Brand & Semantic Colors (Hero v3 Professional Pass) */
    --ink: #14204d;
    --blue: #2b3fa8;
    --blue-tint: #e6e9f8;
    --mag: #c2307a;
    --mag-tint: #f8e6ef;
    --magenta: #c2307a;
    --magenta-dark: #a52365;
    --slate: #6b7394;
    --amber: #f2a33a;
    --blush: #FCEDF4;
    --paper: #FAFAFD;
    --white: #FFFFFF;
    --line: #E2E5F0;
    --line-subtle: #F0F2F8;

    /* Department accent markers */
    --dept-aids: #7928CA;
    --dept-civil: #0070F3;
    --dept-cse: #009688;
    --dept-ece: #EA580C;
    --dept-eee: #D97706;
    --dept-mech: #DC2626;

    /* Typography */
    --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
    --font-text: 'Figtree', system-ui, sans-serif;

    /* Radii */
    --r-card: 16px;
    --r-pill: 999px;
    --r-portrait: 12px;

    /* Shadows */
    --shadow-float: 0 8px 30px rgba(20, 33, 74, 0.12);
    --shadow-card: 0 4px 20px rgba(20, 33, 74, 0.04);
    --shadow-hover: 0 12px 36px rgba(20, 33, 74, 0.09);

    /* Motion */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --t-fast: 140ms;
    --t-base: 260ms;
    --t-slow: 700ms;

    /* Layout dimensions */
    --max-w: 1200px;
    --header-h: 72px;
    --gutter: 24px;
    --section-pad: 112px;
  }

  @media (max-width: 900px) {
    :root {
      --section-pad: 72px;
      --header-h: 68px;
    }
  }

  @media (max-width: 640px) {
    :root {
      --section-pad: 48px;
      --header-h: 64px;
      --gutter: 16px;
    }
  }
}

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

  html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
    overflow-x: hidden;
  }

  body {
    background-color: var(--paper);
    color: var(--ink);
    font-family: var(--font-text);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  img, picture, svg, video {
    display: block;
    max-width: 100%;
    height: auto;
  }

  input, button, textarea, select {
    font: inherit;
    color: inherit;
  }

  button {
    background: none;
    border: none;
    cursor: pointer;
    touch-action: manipulation;
  }

  a {
    color: var(--blue);
    text-decoration: none;
    transition: color var(--t-fast) var(--ease-out);
    touch-action: manipulation;
  }

  a:hover {
    color: var(--magenta);
  }

  ul, ol {
    list-style: none;
  }

  table {
    border-collapse: collapse;
    width: 100%;
  }
}

@layer base {
  /* Fluid Typography Scale */
  .hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6.5vw + 0.2rem, 5.5rem);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--ink);
    word-break: break-word;
  }

  h1, .h1 {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.2vw + 0.6rem, 3.25rem);
    line-height: 1.15;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: var(--ink);
    word-break: break-word;
  }

  h2, .h2 {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 1.8vw + 0.5rem, 2.125rem);
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
    word-break: break-word;
  }

  h3, .h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    line-height: 1.35;
    font-weight: 600;
    color: var(--ink);
    word-break: break-word;
  }

  .lead {
    font-size: clamp(1rem, 1.2vw + 0.75rem, 1.1875rem);
    line-height: 1.6;
    color: var(--slate);
    max-width: 62ch;
  }

  p {
    max-width: 68ch;
  }

  small, .meta-text {
    font-size: 0.875rem;
    line-height: 1.5;
    font-weight: 500;
    color: var(--slate);
  }

  .numeral-mono {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
  }

  /* Focus ring for accessibility */
  :focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
  }

  /* Container */
  .container {
    width: 100%;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: max(var(--gutter), 4vw);
  }

  .section {
    padding-block: var(--section-pad);
    position: relative;
  }

  .section-alt {
    background-color: var(--white);
    border-block: 1px solid var(--line);
  }

  .section-header {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue);
  }

  .section-tag::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: var(--r-pill);
    background-color: var(--magenta);
  }
}

@layer components {
  /* ==================== BUTTONS ==================== */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding-inline: 24px;
    border-radius: var(--r-pill);
    font-family: var(--font-text);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all var(--t-fast) var(--ease-out);
    user-select: none;
    cursor: pointer;
  }

  .btn-primary {
    background-color: var(--magenta);
    color: var(--white);
    border: 1.5px solid var(--magenta);
    box-shadow: 0 4px 14px rgba(194, 48, 122, 0.25);
  }

  .btn-primary:hover {
    background-color: var(--magenta-dark);
    border-color: var(--magenta-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(194, 48, 122, 0.35);
  }

  .btn-primary:active {
    transform: scale(0.98);
  }

  .btn-secondary {
    background-color: transparent;
    color: var(--ink);
    border: 1.5px solid var(--ink);
  }

  .btn-secondary:hover {
    background-color: var(--ink);
    color: var(--white);
    transform: translateY(-2px);
  }

  .btn-secondary:active {
    transform: scale(0.98);
  }

  .btn-sm {
    min-height: 40px;
    padding-inline: 18px;
    font-size: 0.875rem;
  }

  .btn-outline-blue {
    background: transparent;
    color: var(--blue);
    border: 1.5px solid var(--blue);
  }

  .btn-outline-blue:hover {
    background: var(--blue);
    color: var(--white);
  }

  /* ==================== LIVE COUNTDOWN CLOCK ==================== */
  .countdown-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    padding: 8px 16px;
    border-radius: var(--r-card);
    box-shadow: 0 4px 16px rgba(20, 33, 74, 0.05);
  }

  .countdown-label-intro {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--slate);
    margin-right: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .countdown-label-intro::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--magenta);
    box-shadow: 0 0 0 0 rgba(194, 48, 122, 0.7);
    animation: statusPulse 1.8s infinite;
  }

  .countdown-segments {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .countdown-card {
    display: flex;
    align-items: baseline;
    gap: 2px;
    background: var(--paper);
    border: 1px solid var(--line-subtle);
    padding: 4px 8px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
  }

  .countdown-card.is-ticking .countdown-num {
    animation: digitTickSlide 0.2s cubic-bezier(0.2, 0.9, 0.3, 1);
  }

  @keyframes digitTickSlide {
    0% {
      transform: translateY(-28%);
      opacity: 0.35;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .countdown-num {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    line-height: 1;
  }

  .countdown-unit {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--slate);
    text-transform: uppercase;
  }

  .countdown-sep {
    font-weight: 700;
    color: var(--line);
    font-size: 0.875rem;
  }

  @media (max-width: 640px) {
    .countdown-box {
      flex-direction: column;
      gap: 6px;
      padding: 8px 14px;
      width: 100%;
      max-width: 320px;
    }
  }

  /* Status chip */
  .status-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    font-size: 0.8125rem;
    font-weight: 600;
    background-color: var(--white);
    border: 1px solid var(--line);
    color: var(--ink);
    box-shadow: 0 2px 8px rgba(20, 33, 74, 0.04);
  }

  .status-chip.is-live {
    background-color: var(--blush);
    border-color: rgba(194, 48, 122, 0.2);
    color: var(--magenta);
  }

  .status-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--r-pill);
    background-color: var(--blue);
  }

  .status-chip.is-live .status-dot {
    background-color: var(--magenta);
    box-shadow: 0 0 0 0 rgba(194, 48, 122, 0.7);
    animation: statusPulse 1.8s infinite;
  }

  @keyframes statusPulse {
    0% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(194, 48, 122, 0.7);
    }
    70% {
      transform: scale(1);
      box-shadow: 0 0 0 8px rgba(194, 48, 122, 0);
    }
    100% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(194, 48, 122, 0);
    }
  }

  /* ==================== HEADER / NAV ==================== */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 100;
    display: flex;
    align-items: center;
    background: transparent;
    transition: background-color var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
  }

  .site-header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-float);
    border-bottom: 1px solid var(--line-subtle);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
  }

  .brand-group {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
  }

  .brand-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
  }

  .brand-text {
    display: flex;
    flex-direction: column;
  }

  .brand-title {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.15;
  }

  .brand-sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--slate);
    white-space: nowrap;
  }

  .nav-menu {
    display: flex;
    align-items: center;
    gap: 26px;
  }

  .nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate);
    transition: color var(--t-fast) var(--ease-out);
    position: relative;
    padding-block: 4px;
    display: inline-flex;
    align-items: center;
  }

  .nav-link:hover, .nav-link.is-active {
    color: var(--ink);
    font-weight: 600;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--magenta);
    transition: width var(--t-base) var(--ease-out);
  }

  .nav-link:hover::after, .nav-link.is-active::after {
    width: 100%;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  /* Hamburger Toggle */
  .menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: var(--r-pill);
    border: 1px solid var(--line);
    background: var(--white);
    gap: 5px;
    z-index: 102;
  }

  .menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--ink);
    transition: transform var(--t-fast) var(--ease-out), opacity var(--t-fast) var(--ease-out);
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Responsive Mobile Navigation Drawer */
  @media (max-width: 900px) {
    .nav-menu {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
      padding: calc(var(--header-h) + 24px) 24px 32px 24px;
      gap: 0;
      transform: translateY(-100%);
      opacity: 0;
      pointer-events: none;
      transition: transform var(--t-base) var(--ease-out), opacity var(--t-base) var(--ease-out);
      overflow-y: auto;
      z-index: 99;
    }

    .nav-menu.is-open {
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }

    .nav-link {
      width: 100%;
      min-height: 52px;
      padding-block: 14px;
      font-size: 1.25rem;
      font-family: var(--font-display);
      font-weight: 600;
      color: var(--ink);
      border-bottom: 1px solid var(--line-subtle);
    }

    .nav-link.is-active {
      color: var(--magenta);
    }

    .nav-link::after {
      display: none;
    }

    .menu-toggle {
      display: flex;
    }

    .nav-actions .btn {
      display: none; /* Keep header clean on mobile, hamburger is primary */
    }
  }

  /* ==================== HERO CONVERGENCE & AMBIENT MESH ==================== */
  .hero-section {
    position: relative;
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 60px;
    background: radial-gradient(circle at 50% 10%, rgba(252, 237, 244, 0.6) 0%, rgba(250, 250, 253, 0) 70%);
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
  }

  /* Ambient Floating Radiant Orbs */
  .ambient-mesh-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
  }

  .ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
    pointer-events: none;
    transition: transform 0.4s ease-out;
  }

  .ambient-orb-navy {
    width: clamp(320px, 45vw, 580px);
    height: clamp(320px, 45vw, 580px);
    background: radial-gradient(circle, #2446A6 0%, rgba(36, 70, 166, 0) 70%);
    top: -12%;
    left: -10%;
    animation: orbFloat1 16s ease-in-out infinite alternate;
  }

  .ambient-orb-magenta {
    width: clamp(280px, 38vw, 520px);
    height: clamp(280px, 38vw, 520px);
    background: radial-gradient(circle, #C2307A 0%, rgba(194, 48, 122, 0) 70%);
    bottom: 0%;
    right: -8%;
    animation: orbFloat2 14s ease-in-out infinite alternate;
  }

  @keyframes orbFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 40px) scale(1.08); }
    100% { transform: translate(15px, 75px) scale(0.96); }
  }

  @keyframes orbFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-45px, -35px) scale(1.1); }
    100% { transform: translate(-20px, 45px) scale(0.94); }
  }

  /* ==================== DYNAMIC CONVERGENCE CANVAS ==================== */
  .convergence-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
  }

  .curve-strand-primary {
    fill: none;
    stroke-width: 3px;
    stroke-linecap: round;
    opacity: 0.95;
    will-change: d, stroke-dashoffset;
    transition: opacity 0.5s ease-out;
  }

  .industry-primary {
    filter: drop-shadow(0 0 7px rgba(37, 99, 235, 0.45));
  }

  .academia-primary {
    filter: drop-shadow(0 0 7px rgba(194, 48, 122, 0.45));
  }

  .curve-strand-secondary {
    fill: none;
    stroke-width: 1.5px;
    stroke-linecap: round;
    opacity: 0.38;
    will-change: d;
  }

  /* Traveling Energy Pulse */
  .curve-pulse {
    fill: none;
    stroke-width: 3.5px;
    stroke-linecap: round;
    opacity: 0;
    stroke-dasharray: 60 1200;
    stroke-dashoffset: 1200;
    will-change: stroke-dashoffset, opacity;
  }

  .convergence-canvas.is-active .curve-pulse.industry-pulse {
    animation: energyPulseLeft 4.5s ease-in-out 1.2s infinite;
  }

  .convergence-canvas.is-active .curve-pulse.academia-pulse {
    animation: energyPulseRight 4.5s ease-in-out 1.5s infinite;
  }

  @keyframes energyPulseLeft {
    0% {
      opacity: 0;
      stroke-dashoffset: 1200;
    }
    15% {
      opacity: 0.95;
    }
    45% {
      stroke-dashoffset: 0;
      opacity: 0.95;
    }
    55%, 100% {
      stroke-dashoffset: 0;
      opacity: 0;
    }
  }

  @keyframes energyPulseRight {
    0% {
      opacity: 0;
      stroke-dashoffset: 1200;
    }
    15% {
      opacity: 0.95;
    }
    45% {
      stroke-dashoffset: 0;
      opacity: 0.95;
    }
    55%, 100% {
      stroke-dashoffset: 0;
      opacity: 0;
    }
  }

  /* Central Convergence Nexus Core & Radiant Aura */
  .nexus-group {
    transform-origin: center;
    transition: opacity 0.4s ease-out;
  }

  .nexus-core {
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease-out;
    opacity: 0;
    transform: scale(0);
    fill: #FFFFFF;
    filter: drop-shadow(0 0 8px #FFFFFF) drop-shadow(0 0 14px #C2307A);
  }

  .nexus-aura {
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease-out;
    opacity: 0;
    transform: scale(0);
    fill: url(#gradientIndustry);
  }

  .convergence-canvas.nexus-connected .nexus-core {
    opacity: 1;
    transform: scale(1);
    animation: nexusBreathing 3.6s ease-in-out infinite alternate;
  }

  .convergence-canvas.nexus-connected .nexus-aura {
    opacity: 0.28;
    transform: scale(1);
    animation: auraPulse 3.6s ease-in-out infinite alternate;
  }

  .convergence-canvas.nexus-burst .nexus-core {
    animation: nexusFlashBurst 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .convergence-canvas.nexus-burst .nexus-aura {
    animation: auraFlashBurst 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes nexusFlashBurst {
    0% {
      transform: scale(0);
      opacity: 0;
    }
    45% {
      transform: scale(2.4);
      opacity: 1;
      filter: drop-shadow(0 0 16px #FFFFFF) drop-shadow(0 0 24px #2563EB);
    }
    100% {
      transform: scale(1);
      opacity: 0.9;
    }
  }

  @keyframes auraFlashBurst {
    0% {
      transform: scale(0);
      opacity: 0;
    }
    40% {
      transform: scale(3.2);
      opacity: 0.65;
    }
    100% {
      transform: scale(1);
      opacity: 0.28;
    }
  }

  @keyframes nexusBreathing {
    0% {
      transform: scale(0.9);
      opacity: 0.8;
    }
    100% {
      transform: scale(1.15);
      opacity: 1;
      filter: drop-shadow(0 0 10px #FFFFFF) drop-shadow(0 0 18px #C2307A);
    }
  }

  @keyframes auraPulse {
    0% {
      transform: scale(0.85);
      opacity: 0.18;
    }
    100% {
      transform: scale(1.35);
      opacity: 0.38;
    }
  }

  .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 960px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  /* ==================== INDUSTRY & ACADEMIA HANDSHAKE & CONCLAVE BLOOM STAGE ==================== */
  .btn-replay-bloom {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--line);
    color: var(--slate);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(20, 33, 74, 0.05);
    transition: all 0.22s var(--ease-out);
    outline: none;
  }

  .btn-replay-bloom:hover,
  .btn-replay-bloom:focus-visible {
    color: var(--blue);
    border-color: var(--blue);
    background: #FFFFFF;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.15);
    transform: translateY(-1px);
  }

  .btn-replay-bloom:active {
    transform: translateY(1px);
  }

  /* ==================== HERO BACKGROUND: 3 PARALLAX DEPTH LAYERS ("Two Worlds, One Table") ==================== */
  .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
  }

  .hero-bg-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    will-change: transform;
  }

  /* Layer 1: Textures (Far - depth 0.2) */
  .bg-texture {
    position: absolute;
    top: 0;
    height: 100%;
    width: clamp(280px, 34vw, 540px);
    pointer-events: none;
  }

  .texture-blueprint {
    left: 0;
    -webkit-mask-image: linear-gradient(to right, #000 65%, transparent 100%);
    mask-image: linear-gradient(to right, #000 65%, transparent 100%);
  }

  .texture-notebook {
    right: 0;
    -webkit-mask-image: linear-gradient(to left, #000 65%, transparent 100%);
    mask-image: linear-gradient(to left, #000 65%, transparent 100%);
  }

  /* Layer 2: Mid-Ground (Skylines & Masked Bloom - depth 0.4) */
  .skyline {
    position: absolute;
    bottom: 0;
    height: clamp(90px, 15vh, 150px);
    width: clamp(300px, 34vw, 540px);
    pointer-events: none;
  }

  .skyline--left {
    left: 0;
    -webkit-mask-image: linear-gradient(to right, #000 70%, transparent 100%);
    mask-image: linear-gradient(to right, #000 70%, transparent 100%);
  }

  .skyline--right {
    right: 0;
    -webkit-mask-image: linear-gradient(to left, #000 70%, transparent 100%);
    mask-image: linear-gradient(to left, #000 70%, transparent 100%);
  }

  /* Center Masked 12-Petal Radial Bloom (Strict Safe Zone behind Title) */
  .petals-bloom-center {
    position: absolute;
    top: 32%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(420px, 52vw, 760px);
    height: clamp(420px, 52vw, 760px);
    pointer-events: none;
    z-index: 2;
    opacity: 0.35;
    -webkit-mask-image: radial-gradient(ellipse 42% 48% at 50% 38%, #000 35%, transparent 75%);
    mask-image: radial-gradient(ellipse 42% 48% at 50% 38%, #000 35%, transparent 75%);
    transition: opacity 0.8s ease;
  }

  /* Ring Pulse for Contact Bloom */
  .pulse {
    position: absolute;
    top: 32%;
    left: 50%;
    width: 140px;
    height: 140px;
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
    z-index: 10;
    transform-origin: 50% 50%;
  }

  /* Layer 3: Near Ground - Wings & Connector (depth 1.0) */
  .hero-wing {
    position: absolute;
    width: clamp(420px, 38vw, 700px);
    aspect-ratio: 560 / 360;
    pointer-events: none;
    z-index: 3;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  }

  /* Sleeve Bleeds smoothly past the edge, breaks symmetry with opposing tilts */
  .wing--left {
    left: -3vw;
    top: 17%;
    transform: rotate(2.5deg);
  }

  .wing--right {
    right: -3vw;
    top: 13%; /* 40px higher to break symmetry */
    transform: rotate(-2.5deg);
  }

  .hand-wrap {
    position: absolute;
    inset: 0;
    will-change: transform;
  }

  .hand-svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
    filter: drop-shadow(0 10px 24px rgba(20, 32, 77, 0.14));
  }

  .hand--left {
    transform-origin: 15% 50%;
    transform: scale(1.1);
  }

  .hand--right {
    transform-origin: 85% 50%;
    transform: scale(1.1);
  }

  /* Breathing Reach Animation */
  @keyframes reachLeft {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(12px); }
  }

  @keyframes reachRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-12px); }
  }

  .hand-reach-left {
    animation: reachLeft 10s ease-in-out infinite;
  }

  .hand-reach-right {
    animation: reachRight 10s ease-in-out -5s infinite;
  }

  /* ==================== UNIFIED CONTINUOUS HAND STYLING ==================== */
  .unified-hand-left,
  .unified-hand-right {
    transform-box: fill-box;
    transform-origin: center;
    transition: filter 0.3s ease;
  }

  .unified-hand-left path,
  .unified-hand-right path {
    vector-effect: non-scaling-stroke;
  }

  /* Pinched Gear Slow Turn (60s cycle per v3 spec) */
  @keyframes spinPinchGear {
    to { transform: rotate(360deg); }
  }

  .pinch-gear {
    animation: spinPinchGear 60s linear infinite;
    transform-origin: 0 0;
  }

  /* Resting Book Fluttering Page Corner */
  @keyframes flutterPageCorner {
    0%, 82%, 100% { transform: translate(0, 0) rotate(0deg); }
    88% { transform: translate(-2px, -3px) rotate(-4deg); }
    94% { transform: translate(-1px, -1px) rotate(-1deg); }
  }

  .page-flutter {
    animation: flutterPageCorner 8s ease-in-out infinite;
    transform-origin: 98px 30px;
  }

  /* ==================== HERO FLOATING ELEMENTS (V3 PROFESSIONAL PASS) ==================== */
  .fx-field {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 4;
  }

  .fx-group {
    position: absolute;
    inset: 0;
    pointer-events: none;
    will-change: transform, opacity;
  }

  .fx {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
    pointer-events: none;
    transform-origin: center center;
    transition: opacity 0.4s ease;
    will-change: transform;
  }

  .fx__float {
    will-change: transform;
    display: inline-block;
  }

  .fx__svg {
    display: block;
    overflow: visible;
  }

  /* 3 Depth Layers with Monoline Stroke Rules */
  .fx--near {
    opacity: 1;
    z-index: 3;
  }
  .fx--near .fx__art {
    stroke-width: 1.75px;
  }
  .fx--near .fx__float {
    animation: floatNear 8.5s ease-in-out var(--delay, 0s) infinite;
  }

  .fx--mid {
    opacity: 0.82;
    z-index: 2;
  }
  .fx--mid .fx__art {
    stroke-width: 1.5px;
  }
  .fx--mid .fx__float {
    animation: floatMid 9.2s ease-in-out var(--delay, 0s) infinite;
  }

  .fx--far {
    opacity: 0.55;
    z-index: 1;
  }
  .fx--far .fx__art {
    stroke-width: 1.25px;
  }
  .fx--far .fx__float {
    animation: floatFar 10.0s ease-in-out var(--delay, 0s) infinite;
  }

  /* Calm, Restrained Float Motion (Amplitude <= 5px) */
  @keyframes floatNear {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-5px);
    }
  }

  @keyframes floatMid {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-4px);
    }
  }

  @keyframes floatFar {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-3px);
    }
  }

  /* Glass Glint Animation (12s cycle per v3 spec) */
  @keyframes glassGlint {
    0%, 82%, 100% {
      opacity: 0.35;
      stroke-dashoffset: 28;
    }
    90% {
      opacity: 0.95;
      stroke-dashoffset: 0;
    }
  }

  .glint-path {
    stroke-dasharray: 28;
    animation: glassGlint 12s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  }

  /* Dimension Leader Lines & Monospace Callouts */
  .fx__callout {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 10px;
    font-weight: 600;
    fill: var(--slate);
    letter-spacing: 0.04em;
  }

  .fx__leader {
    stroke: var(--slate);
    stroke-width: 1.1px;
    stroke-dasharray: 2.5 2.5;
    fill: none;
  }

  @keyframes microDrift {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px) translateX(4px); }
  }

  /* ==================== BACKGROUND DETAILS & SKYLINES ==================== */
  /* Wireframe Gear 90s Turn */
  @keyframes wireframeGearSpin {
    to { transform: translate(110px, 310px) rotate(360deg); }
  }

  .wireframe-gear-wrap {
    animation: wireframeGearSpin 90s linear infinite;
    transform-origin: 110px 310px;
  }

  /* PCB Signal Pulse */
  @keyframes pcbPulseAnim {
    0% { stroke-dashoffset: 52; }
    100% { stroke-dashoffset: -104; }
  }

  .pcb-pulse {
    stroke-dasharray: 6 46;
    animation: pcbPulseAnim 3.2s linear infinite;
  }

  /* Self-Drawing Underline */
  @keyframes drawUnderlineAnim {
    0%, 75% { stroke-dashoffset: 80; }
    15%, 65% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 80; }
  }

  .equation-underline {
    stroke-dasharray: 80;
    animation: drawUnderlineAnim 12s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  }

  /* Crane Swing */
  @keyframes craneSwingAnim {
    0%, 100% { transform: translate(340px, 55px) rotate(0deg); }
    50% { transform: translate(340px, 55px) rotate(6deg); }
  }

  .crane-swing-group {
    animation: craneSwingAnim 14s ease-in-out infinite;
    transform-origin: 340px 55px;
  }

  /* Chimney Smoke */
  @keyframes smokePuffRise {
    0% { transform: translateY(0) scale(0.6); opacity: 0; }
    30% { opacity: 0.22; }
    100% { transform: translateY(-26px) translateX(-6px) scale(1.4); opacity: 0; }
  }

  .smoke-puff {
    animation: smokePuffRise 6s ease-out infinite;
  }
  .puff-1 { animation-delay: 0s; }
  .puff-2 { animation-delay: -2s; }
  .puff-3 { animation-delay: -4s; }

  /* Flickering Windows */
  @keyframes winFlicker {
    0%, 100% { opacity: 0.25; }
    40% { opacity: 0.8; }
    70% { opacity: 0.1; }
  }

  .factory-win { animation: winFlicker 6s infinite; }
  .win-1 { animation-delay: 0s; }
  .win-2 { animation-delay: -2.2s; }
  .win-3 { animation-delay: -4.4s; }

  /* Clock Minute Hand */
  @keyframes clockTickAnim {
    to { transform: rotate(360deg); }
  }

  .clock-minute-hand {
    animation: clockTickAnim 60s steps(12, end) infinite;
    transform-origin: 465px 70px;
  }

  /* Campus Birds Crossing */
  @keyframes birdsCrossAnim {
    0% { transform: translate(540px, 50px); opacity: 0; }
    8% { opacity: 0.22; }
    92% { opacity: 0.22; }
    100% { transform: translate(40px, 15px); opacity: 0; }
  }

  .campus-birds {
    animation: birdsCrossAnim 26s ease-in-out infinite;
  }

  /* Ambient Dust Motes */
  .dust-motes-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  @keyframes moteDriftAnim {
    0% { transform: translateY(0); opacity: 0; }
    20% { opacity: 0.08; }
    80% { opacity: 0.08; }
    100% { transform: translateY(-70px); opacity: 0; }
  }

  .mote {
    position: absolute;
    left: var(--l);
    top: var(--t);
    width: 3.5px;
    height: 3.5px;
    border-radius: 50%;
    background: #14204D;
    opacity: 0;
    animation: moteDriftAnim var(--dur, 15s) ease-in-out var(--del, 0s) infinite;
  }

  /* ==================== Z4: CONNECTOR BIDIRECTIONAL PACKETS & 8S HARMONIC MASTER BEAT ==================== */
  .connector-wrap {
    position: absolute;
    left: 6%;
    right: 6%;
    top: 76%;
    width: 88%;
    height: 40px;
    pointer-events: none;
    z-index: 2;
  }

  .connector-line-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
  }

  /* Packet 1: Forward Transit (Industry -> Academia, 5s pass) */
  @keyframes packetForwardAnim {
    0% {
      transform: translateX(0);
      opacity: 0;
    }
    8% {
      opacity: 1;
    }
    88% {
      opacity: 1;
    }
    98%, 100% {
      transform: translateX(1080px);
      opacity: 0;
    }
  }

  .connector-packet-forward {
    animation: packetForwardAnim 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  }

  /* Packet 2: Reverse Transit (Academia -> Industry, 5s pass, offset 2.5s) */
  @keyframes packetReverseAnim {
    0% {
      transform: translateX(0);
      opacity: 0;
    }
    8% {
      opacity: 1;
    }
    88% {
      opacity: 1;
    }
    98%, 100% {
      transform: translateX(-1080px);
      opacity: 0;
    }
  }

  .connector-packet-reverse {
    animation: packetReverseAnim 5s cubic-bezier(0.4, 0, 0.2, 1) 2.5s infinite;
  }

  /* Sequenced Node Pulses (synchronized to 8.0s master loop) */
  @keyframes nodePulseAnim {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.45); opacity: 1; filter: drop-shadow(0 0 6px #6366F1); }
  }

  .node-1 { animation: nodePulseAnim 8s ease-in-out 4.2s infinite; transform-origin: 160px 20px; }
  .node-2 { animation: nodePulseAnim 8s ease-in-out 4.5s infinite; transform-origin: 380px 20px; }
  .node-3 { animation: nodePulseAnim 8s ease-in-out 4.8s infinite; transform-origin: 600px 20px; }
  .node-4 { animation: nodePulseAnim 8s ease-in-out 5.1s infinite; transform-origin: 820px 20px; }
  .node-5 { animation: nodePulseAnim 8s ease-in-out 5.4s infinite; transform-origin: 1040px 20px; }

  /* Glint Sweeps on Glassware */
  @keyframes glintSweepAnim {
    0%, 80%, 100% { opacity: 0; transform: translateX(-12px); }
    88% { opacity: 0.85; transform: translateX(0); }
    94% { opacity: 0; transform: translateX(12px); }
  }

  .glint-sweep-flask {
    animation: glintSweepAnim 8s ease-in-out 5.8s infinite;
  }

  .glint-sweep-bulb {
    animation: glintSweepAnim 8s ease-in-out 6.2s infinite;
  }

  /* Hero Content is always visible and prominent */
  .hero-content {
    position: relative;
    z-index: 5;
  }

  .btn-replay-intro {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--blue);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--r-pill);
    padding: 3px 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 8px;
    vertical-align: middle;
  }
  .btn-replay-intro:hover {
    background: var(--blue);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  }

  /* Pause All Animations When Offscreen or Tab Hidden */
  .hero.is-paused .float-anim,
  .hero.is-paused .hand-reach-left,
  .hero.is-paused .hand-reach-right,
  .hero.is-paused .rotate-clockwise,
  .hero.is-paused .rotate-counter,
  .hero.is-paused .orbit-spin,
  .hero.is-paused .connector-packet-forward,
  .hero.is-paused .connector-packet-reverse,
  .hero.is-paused .finger,
  .hero.is-paused .wireframe-gear-wrap,
  .hero.is-paused .mote {
    animation-play-state: paused !important;
  }

  /* Responsive Breakpoints (Hero v3 Professional Pass) */
  @media (max-width: 1440px) {
    .fx {
      transform: translate(-50%, -50%) scale(0.92) rotate(var(--rot, 0deg));
    }
  }

  @media (max-width: 1279px) {
    .hero-wing {
      width: clamp(230px, 22vw, 320px);
      top: 22%;
    }
    .wing--left {
      left: -4vw;
    }
    .wing--right {
      right: -4vw;
      top: 18%;
    }
    /* Hide Far objects and scale mid/near slightly on tablet */
    .fx--far {
      display: none;
    }
    .fx--mid {
      transform: translate(-50%, -50%) scale(0.82) rotate(var(--rot, 0deg));
    }
    .fx--near {
      transform: translate(-50%, -50%) scale(0.88) rotate(var(--rot, 0deg));
    }
    .skyline {
      display: none; /* Hide skylines to preserve calm space */
    }
    .bg-texture {
      opacity: 0.35;
    }
    .connector-wrap {
      top: 74%;
    }
  }

  @media (max-width: 768px) {
    .hero-wing {
      display: none; /* Clean uncluttered layout on mobile */
    }
    .fx-field {
      display: none; /* Clean layout without floating clutter on mobile */
    }
    .bg-texture {
      display: none;
    }
    .skyline {
      display: none;
    }
    .dust-motes-wrap {
      display: none;
    }
    .connector-wrap {
      display: none; /* Avoid collision with stacked mobile content */
    }
    .petals-bloom-center {
      width: clamp(280px, 80vw, 380px);
      height: clamp(280px, 80vw, 380px);
      opacity: 0.22;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .fx__float,
    .glint-path,
    .hand-reach-left,
    .hand-reach-right,
    .pinch-gear,
    .page-flutter,
    .connector-packet-forward,
    .connector-packet-reverse,
    .wireframe-gear-wrap,
    .pcb-pulse,
    .equation-underline,
    .crane-swing-group,
    .smoke-puff,
    .campus-birds,
    .mote,
    .node-1, .node-2, .node-3, .node-4, .node-5 {
      animation: none !important;
    }
    .hero-bg-layer {
      transform: none !important;
    }
  }

  /* Staggered Supporting Cast (Fade + 12px Rise) */
  .hero-stagger {
    opacity: 0;
    transform: translateY(14px);
    will-change: transform, opacity;
    animation: heroStaggerIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i, 1) * 85ms + 420ms) forwards;
  }

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

  .hero-datetime-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    font-size: 0.9375rem;
  }

  /* Centenary Year Roll Odometer */
  .centenary-odometer {
    display: inline-block;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: var(--ink);
    transition: color 0.3s ease-out;
  }

  .centenary-hero-badge.has-pulsed {
    animation: centenaryCelebrationPulse 1.4s ease-out;
  }

  .centenary-hero-badge.has-pulsed .centenary-odometer {
    color: var(--magenta);
  }

  @keyframes centenaryCelebrationPulse {
    0% {
      box-shadow: 0 0 0 0 rgba(194, 48, 122, 0.5), var(--shadow-card);
      transform: scale(1);
    }
    40% {
      box-shadow: 0 0 0 10px rgba(194, 48, 122, 0), var(--shadow-card);
      transform: scale(1.04);
      border-color: var(--magenta);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(194, 48, 122, 0), var(--shadow-card);
      transform: scale(1);
      border-color: var(--line);
    }
  }

  /* Repeat Session Fast Bypass (used when animation is not requested) */
  body.hero-seen .bloom,
  body.hero-seen .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .hero-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .hero-edition-pill {
    background-color: var(--ink);
    color: var(--white);
    padding: 6px 16px;
    border-radius: var(--r-pill);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
  }

  .hero-date-text {
    font-weight: 600;
    color: var(--ink);
    font-size: 0.9375rem;
  }

  .hero-venue-text {
    font-weight: 500;
    color: var(--slate);
    font-size: 0.9375rem;
  }

  .hero-subtitle {
    font-size: clamp(1rem, 1.4vw + 0.75rem, 1.25rem);
    line-height: 1.5;
    color: var(--slate);
    max-width: 52ch;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 10px;
  }

  /* Hero Stats & Centenary Banner */
  .hero-footer-bar {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    align-items: center;
    gap: 28px;
    width: 100%;
    max-width: 1000px;
  }

  .stat-card {
    text-align: left;
  }

  .stat-num {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3vw, 2.75rem);
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 4px;
  }

  .stat-label {
    font-size: 0.8125rem;
    color: var(--slate);
    font-weight: 500;
    line-height: 1.3;
  }

  .centenary-hero-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    box-shadow: var(--shadow-card);
  }

  .centenary-badge-img {
    height: 44px;
    width: auto;
  }

  .centenary-badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--slate);
    line-height: 1.25;
    max-width: 14ch;
  }

  @media (max-width: 900px) {
    .hero-footer-bar {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
    .stat-card {
      text-align: center;
    }
    .centenary-hero-badge {
      grid-column: span 2;
      justify-content: center;
    }
  }

  @media (max-width: 640px) {
    .hero-actions {
      width: 100%;
      flex-direction: column;
    }
    .hero-actions .btn {
      width: 100%;
    }
    .hero-footer-bar {
      grid-template-columns: 1fr;
    }
    .centenary-hero-badge {
      grid-column: span 1;
    }
  }

  /* ==================== ABOUT SECTION ==================== */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: start;
  }

  .about-statement {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.2vw + 0.4rem, 2.25rem);
    line-height: 1.25;
    font-weight: 600;
    color: var(--ink);
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  .about-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 1.0625rem;
    color: var(--slate);
    line-height: 1.7;
  }

  .quote-box {
    margin-top: 12px;
    padding: 20px;
    background-color: var(--blush);
    border: 4px solid var(--magenta);
    border-radius: 0 var(--r-card) var(--r-card) 0;
    color: var(--ink);
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  .quote-author {
    margin-top: 8px;
    font-weight: 600;
    color: var(--magenta);
    font-size: 0.875rem;
  }

  @media (max-width: 900px) {
    .about-grid {
      grid-template-columns: 1fr;
      gap: 28px;
    }
    .about-statement {
      position: static;
    }
  }

  /* ==================== WHAT HAPPENS ==================== */
  .what-happens-list {
    border-top: 1px solid var(--line);
  }

  .what-row {
    display: grid;
    grid-template-columns: 320px 1fr;
    align-items: center;
    padding-block: 26px;
    border-bottom: 1px solid var(--line);
    transition: transform var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
  }

  .what-row:hover .what-title {
    color: var(--blue);
    transform: translateX(4px);
  }

  .what-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
    transition: transform var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
  }

  .what-desc {
    color: var(--slate);
    font-size: 1rem;
    line-height: 1.5;
  }

  .what-venue-footnote {
    margin-top: 24px;
    font-size: 0.9375rem;
    color: var(--slate);
    font-style: italic;
  }

  @media (max-width: 768px) {
    .what-row {
      grid-template-columns: 1fr;
      gap: 8px;
      padding-block: 18px;
    }
  }

  /* ==================== DEPARTMENTS GRID ==================== */
  .dept-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .dept-card {
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    transition: transform var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
    position: relative;
    overflow: hidden;
  }

  .dept-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--line);
    transition: background-color var(--t-fast) var(--ease-out);
  }

  .dept-card:hover {
    border-color: var(--blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
  }

  .dept-card:hover::before {
    background-color: var(--magenta);
  }

  .dept-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
  }

  .dept-code-badge {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--r-pill);
    background-color: var(--paper);
    color: var(--blue);
    border: 1px solid var(--line);
  }

  .dept-count-pill {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--slate);
  }

  .dept-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.25;
  }

  .dept-headline-talk {
    font-size: 0.9375rem;
    color: var(--slate);
    line-height: 1.5;
    margin-bottom: 20px;
    font-style: italic;
  }

  .dept-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--blue);
    margin-top: auto;
  }

  .dept-card:hover .dept-cta {
    color: var(--magenta);
  }

  @media (max-width: 1024px) {
    .dept-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 640px) {
    .dept-grid {
      grid-template-columns: 1fr;
    }
  }

  /* ==================== PROGRAMME (TIMELINE) & SCROLL CHIPS ==================== */
  .programme-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
  }

  .day-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    width: fit-content;
  }

  .day-tab-btn {
    padding: 10px 20px;
    border-radius: var(--r-pill);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--slate);
    transition: all var(--t-fast) var(--ease-out);
    cursor: pointer;
    white-space: nowrap;
  }

  .day-tab-btn.is-active {
    background-color: var(--ink);
    color: var(--white);
    box-shadow: 0 2px 10px rgba(20, 33, 74, 0.15);
  }

  /* Smooth horizontally scrollable filter bar on mobile */
  .filter-chips-row {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    width: 100%;
  }

  .filter-chips-row::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    padding: 8px 18px;
    border-radius: var(--r-pill);
    font-size: 0.875rem;
    font-weight: 600;
    background-color: var(--white);
    border: 1px solid var(--line);
    color: var(--slate);
    transition: all var(--t-fast) var(--ease-out);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .filter-chip:hover {
    border-color: var(--blue);
    color: var(--ink);
  }

  .filter-chip.is-active {
    background-color: var(--blue);
    border-color: var(--blue);
    color: var(--white);
  }

  @media (max-width: 640px) {
    .day-tabs {
      width: 100%;
      justify-content: space-between;
    }
    .day-tab-btn {
      flex: 1;
      text-align: center;
      padding: 10px 12px;
      font-size: 0.8125rem;
    }
  }

  /* Timeline sessions list */
  .timeline-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .session-card {
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    padding: 20px 24px;
    display: grid;
    grid-template-columns: 140px 1fr auto;
    align-items: center;
    gap: 20px;
    transition: border-color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
    cursor: pointer;
    user-select: none;
  }

  .session-card:hover {
    border-color: var(--blue);
    transform: translateX(2px);
  }

  .session-card.is-current {
    border: 5px solid var(--magenta);
    background-color: var(--blush);
  }

  .session-time {
    font-family: var(--font-text);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
  }

  .session-main {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .session-tags-row {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .session-type-pill {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--r-pill);
    background-color: var(--paper);
    color: var(--slate);
    border: 1px solid var(--line);
  }

  .session-dept-pill {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--r-pill);
    color: var(--white);
    background-color: var(--blue);
  }

  .session-title {
    font-family: var(--font-display);
    font-size: 1.1875rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
  }

  .session-speaker-info {
    font-size: 0.875rem;
    color: var(--slate);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .session-org-logo {
    height: 18px;
    max-width: 85px;
    width: auto;
    object-fit: contain;
    display: inline-block;
  }

  .session-venue {
    font-size: 0.8125rem;
    color: var(--slate);
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .session-chevron {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate);
    transition: transform var(--t-base) var(--ease-out);
  }

  .session-card.is-expanded .session-chevron {
    transform: rotate(180deg);
  }

  .session-details {
    display: none;
    grid-column: 1 / -1;
    padding-top: 16px;
    margin-top: 12px;
    border-top: 1px dashed var(--line);
    animation: fadeIn var(--t-fast) var(--ease-out);
  }

  .session-card.is-expanded .session-details {
    display: block;
  }

  .session-speaker-detail {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .session-speaker-thumb {
    width: 56px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--line);
    flex-shrink: 0;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @media (max-width: 768px) {
    .session-card {
      grid-template-columns: 1fr auto;
      gap: 12px;
      padding: 16px;
    }
    .session-time {
      grid-column: 1 / -1;
      font-size: 0.875rem;
      color: var(--magenta);
    }
    .session-speaker-detail {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
    }
  }

  /* ==================== SPEAKERS DIRECTORY ==================== */
  .speaker-search-bar {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 480px;
    margin-bottom: 24px;
  }

  .speaker-search-input {
    width: 100%;
    height: 46px;
    border-radius: var(--r-pill);
    border: 1px solid var(--line);
    padding: 8px 18px 8px 42px;
    background-color: var(--white);
    color: var(--ink);
    font-size: 0.9375rem;
    transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
  }

  .speaker-search-input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(36, 70, 166, 0.15);
    outline: none;
  }

  .speaker-search-icon {
    position: absolute;
    left: 16px;
    width: 18px;
    height: 18px;
    color: var(--slate);
    pointer-events: none;
  }

  .speakers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 20px;
  }

  /* ==================== OPEN-GRID HEXAGON SPEAKER SHOWCASE ==================== */
  .speaker-card {
    --accent: var(--blue);
    --accent-rgb: 36, 70, 166;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 12px 10px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    outline: none;
    position: relative;
    transition: transform var(--t-fast) var(--ease-out);
  }

  .speaker-card:hover,
  .speaker-card:focus-visible {
    transform: translateY(-6px);
  }

  /* Hexagon Photo Stage */
  .speaker-photo-frame {
    position: relative;
    width: 170px;
    height: 170px;
    aspect-ratio: 1;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    filter: drop-shadow(0 8px 18px rgba(20, 33, 74, 0.08));
    transition: filter 0.4s var(--ease-out);
  }

  .speaker-card:hover .speaker-photo-frame,
  .speaker-card:focus-visible .speaker-photo-frame {
    filter: drop-shadow(0 14px 28px rgba(var(--accent-rgb), 0.28));
  }

  /* Thin SVG Hexagon Outline Ring */
  .speaker-hex-ring {
    position: absolute;
    inset: -8px;
    width: calc(100% + 16px);
    height: calc(100% + 16px);
    pointer-events: none;
    stroke: var(--accent);
    stroke-width: 2.2;
    fill: none;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), stroke-width 0.3s ease;
  }

  .speaker-card:hover .speaker-hex-ring,
  .speaker-card:focus-visible .speaker-hex-ring {
    transform: scale(1.1) rotate(4deg);
    stroke-width: 2.8;
  }

  /* Precision Hexagon Photo */
  .speaker-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .speaker-card:hover .speaker-photo,
  .speaker-card:focus-visible .speaker-photo {
    transform: scale(1.06) rotate(-3deg);
  }

  /* Initials Fallback inside Hexagon */
  .speaker-initials-fallback {
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--accent);
    background-color: rgba(var(--accent-rgb), 0.12);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .speaker-card:hover .speaker-initials-fallback,
  .speaker-card:focus-visible .speaker-initials-fallback {
    transform: scale(1.06) rotate(-3deg);
  }

  /* Floating Typography */
  .speaker-info {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-grow: 1;
    width: 100%;
  }

  .speaker-name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25;
    margin: 0;
    transition: color var(--t-fast);
  }

  .speaker-card:hover .speaker-name,
  .speaker-card:focus-visible .speaker-name {
    color: var(--accent);
  }

  .speaker-role {
    font-size: 0.8125rem;
    color: var(--slate);
    line-height: 1.35;
    margin: 0;
    max-width: 95%;
  }

  .speaker-org {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
  }

  .speaker-meta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    width: 100%;
  }

  .speaker-org-logo {
    height: 18px;
    max-width: 80px;
    width: auto;
    object-fit: contain;
    display: inline-block;
    filter: grayscale(15%);
    transition: filter var(--t-fast);
  }

  .speaker-card:hover .speaker-org-logo {
    filter: grayscale(0%);
  }

  .speaker-dept-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: var(--r-pill);
    border: 1px solid var(--accent);
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.08);
    transition: background-color var(--t-fast), color var(--t-fast);
  }

  .speaker-card:hover .speaker-dept-badge,
  .speaker-card:focus-visible .speaker-dept-badge {
    background: var(--accent);
    color: var(--white);
  }

  .speaker-card-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: rgba(10, 102, 194, 0.08);
    color: #0a66c2;
    transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
    flex-shrink: 0;
  }

  .speaker-card-linkedin:hover {
    background: #0a66c2;
    color: var(--white);
    transform: translateY(-2px);
  }

  .drawer-linkedin-btn:hover {
    background: #0a66c2 !important;
    color: var(--white) !important;
    transform: translateY(-1px);
  }

  /* Department Accent Color Configurations */
  .speaker-card[data-dept="cse"],
  .filter-chip[data-dept="cse"].is-active {
    --accent: #2B3FA8;
    --accent-rgb: 43, 63, 168;
  }
  .speaker-card[data-dept="ece"],
  .filter-chip[data-dept="ece"].is-active {
    --accent: #0E8F8A;
    --accent-rgb: 14, 143, 138;
  }
  .speaker-card[data-dept="civil"],
  .filter-chip[data-dept="civil"].is-active {
    --accent: #C2307A;
    --accent-rgb: 194, 48, 122;
  }
  .speaker-card[data-dept="eee"],
  .filter-chip[data-dept="eee"].is-active {
    --accent: #D98A00;
    --accent-rgb: 217, 138, 0;
  }
  .speaker-card[data-dept="mech"],
  .filter-chip[data-dept="mech"].is-active {
    --accent: #5A3FC0;
    --accent-rgb: 90, 63, 192;
  }
  .speaker-card[data-dept="aids"],
  .filter-chip[data-dept="aids"].is-active {
    --accent: #3B49DF;
    --accent-rgb: 59, 73, 223;
  }

  /* Drawer Modal Organization Logo */
  .drawer-org-logo {
    height: 24px;
    max-width: 100px;
    width: auto;
    object-fit: contain;
    display: inline-block;
  }

  /* Department Page Partner Logos */
  .dept-partners-section {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px dashed var(--line);
  }

  .dept-partners-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--slate);
    margin-bottom: 10px;
  }

  .dept-partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }

  .dept-partner-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    padding: 4px 12px 4px 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink);
    box-shadow: 0 1px 3px rgba(20, 33, 74, 0.04);
  }

  .dept-partner-chip-logo {
    height: 18px;
    max-width: 75px;
    width: auto;
    object-fit: contain;
  }

  @media (max-width: 1100px) {
    .speakers-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  @media (max-width: 768px) {
    .speakers-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 24px 16px;
    }
    .speaker-card {
      padding: 10px 4px 14px;
    }
    .speaker-photo-frame {
      width: 140px;
      height: 140px;
      margin-bottom: 12px;
    }
  }

  @media (max-width: 480px) {
    .speakers-grid {
      grid-template-columns: 1fr;
      gap: 28px;
    }
    .speaker-card {
      padding: 12px 6px;
      max-width: 280px;
      margin-inline: auto;
      width: 100%;
    }
    .speaker-photo-frame {
      width: 150px;
      height: 150px;
    }
  }

  /* ==================== SPEAKER MODAL & BOTTOM SHEET (MOBILE) ==================== */
  .modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(20, 33, 74, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-base) var(--ease-out);
  }

  .modal-backdrop.is-active {
    opacity: 1;
    pointer-events: auto;
  }

  .speaker-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 520px;
    background-color: var(--white);
    box-shadow: -10px 0 40px rgba(20, 33, 74, 0.2);
    z-index: 1001;
    padding: 32px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--t-base) var(--ease-out);
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .modal-backdrop.is-active .speaker-drawer {
    transform: translateX(0);
  }

  .drawer-handle {
    display: none;
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: var(--line);
    margin-inline: auto;
    margin-bottom: 8px;
  }

  .drawer-close-btn {
    align-self: flex-end;
    width: 38px;
    height: 38px;
    border-radius: var(--r-pill);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate);
    transition: all var(--t-fast) var(--ease-out);
  }

  .drawer-close-btn:hover {
    background-color: var(--paper);
    color: var(--ink);
  }

  .drawer-speaker-photo {
    width: 140px;
    aspect-ratio: 4 / 5;
    border-radius: var(--r-portrait);
    object-fit: cover;
    border: 1px solid var(--line);
  }

  .drawer-talk-box {
    padding: 18px;
    background-color: var(--paper);
    border-radius: var(--r-card);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .drawer-talk-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.35;
  }

  /* Mobile: Transform drawer into modern bottom sheet */
  @media (max-width: 640px) {
    .speaker-drawer {
      top: auto;
      right: 0;
      left: 0;
      bottom: 0;
      max-width: 100%;
      max-height: 88vh;
      border-radius: 20px 20px 0 0;
      padding: 20px 20px 32px 20px;
      transform: translateY(100%);
    }

    .modal-backdrop.is-active .speaker-drawer {
      transform: translateY(0);
    }

    .drawer-handle {
      display: block;
    }

    .drawer-speaker-photo {
      width: 100px;
    }
  }

  /* ==================== PAST EDITIONS ==================== */
  .timeline-history {
    position: relative;
    border: 2px solid var(--line);
    padding-left: 28px;
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .history-item {
    position: relative;
  }

  .history-dot {
    position: absolute;
    left: -37px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: var(--r-pill);
    background-color: var(--white);
    border: 3px solid var(--blue);
  }

  .history-item:first-child .history-dot {
    border-color: var(--magenta);
    background-color: var(--magenta);
  }

  .history-year {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 6px;
  }

  .history-theme {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 8px;
  }

  .history-desc {
    font-size: 0.9375rem;
    color: var(--slate);
    line-height: 1.6;
    margin-bottom: 12px;
  }

  /* ==================== VISIT & LOGISTICS ==================== */
  .visit-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 36px;
    align-items: start;
  }

  .visit-card {
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .logistics-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
  }

  .logistics-icon {
    width: 24px;
    height: 24px;
    color: var(--blue);
    flex-shrink: 0;
    margin-top: 2px;
  }

  /* ==================== FOOTER ==================== */
  .site-footer {
    background-color: var(--ink);
    color: var(--white);
    padding-top: 72px;
    padding-bottom: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
  }

  .footer-col-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--white);
  }

  .footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: color var(--t-fast) var(--ease-out);
    display: inline-block;
    padding-block: 2px;
  }

  .footer-link:hover {
    color: var(--white);
  }

  .footer-social-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
  }

  .social-link-btn {
    width: 42px;
    height: 42px;
    border-radius: var(--r-pill);
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--t-fast) var(--ease-out);
  }

  .social-link-btn:hover {
    background-color: var(--magenta);
    transform: translateY(-2px);
  }

  .footer-bottom-bar {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    flex-wrap: wrap;
    gap: 12px;
  }

  @media (max-width: 900px) {
    .visit-grid, .footer-grid {
      grid-template-columns: 1fr;
      gap: 28px;
    }
    .footer-bottom-bar {
      flex-direction: column;
      text-align: center;
      gap: 8px;
    }
  }
  /* ==================== ENTERPRISE PARTNER MARQUEE RIBBON ==================== */
  .marquee-section {
    padding-block: 28px;
    background-color: var(--white);
    border-block: 1px solid var(--line);
    overflow: hidden;
    position: relative;
  }

  .marquee-section::before, .marquee-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(40px, 12vw, 150px);
    z-index: 3;
    pointer-events: none;
  }

  .marquee-section::before {
    left: 0;
    background: linear-gradient(to right, var(--white) 0%, rgba(255, 255, 255, 0) 100%);
  }

  .marquee-section::after {
    right: 0;
    background: linear-gradient(to left, var(--white) 0%, rgba(255, 255, 255, 0) 100%);
  }

  .marquee-header {
    text-align: center;
    margin-bottom: 14px;
  }

  .marquee-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--slate);
  }

  .marquee-track {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 20px;
    padding-block: 6px;
  }

  .marquee-content {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 20px;
    animation: marqueeScroll 180s linear infinite;
  }

  .marquee-track:hover .marquee-content {
    animation-play-state: paused;
  }

  @keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  .marquee-item-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 9999px;
    padding: 7px 18px 7px 14px;
    box-shadow: 0 2px 8px rgba(20, 33, 74, 0.05);
    transition: transform var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
    white-space: nowrap;
    text-decoration: none;
    cursor: default;
  }

  .marquee-item-chip:hover {
    transform: translateY(-2px);
    border-color: var(--blue);
    box-shadow: 0 8px 18px rgba(20, 33, 74, 0.1);
  }

  .marquee-company-logo {
    height: 24px;
    max-width: 110px;
    width: auto;
    object-fit: contain;
    display: block;
  }

  .marquee-company-name {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink);
  }

  .marquee-company-tag {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--slate);
    background: var(--paper);
    padding: 2px 8px;
    border-radius: 4px;
  }

  /* 3D Perspective Grid Containers */
  .dept-grid, .speakers-grid, .timeline-list {
    perspective: 1400px;
    transform-style: preserve-3d;
  }

  /* ==================== SCROLL REVEAL & 3D FLYING ANIMATIONS ==================== */
  [data-reveal="fade-up"] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }

  [data-reveal="fade-up"].is-revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* 3D Flying Slide-Show Card Entrance */
  [data-reveal="card-fly"] {
    opacity: 0;
    transform: translateY(70px) translateZ(-80px) rotateX(15deg) scale(0.9);
    filter: blur(5px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
    transform-style: preserve-3d;
  }

  [data-reveal="card-fly"].is-revealed {
    opacity: 1;
    transform: translateY(0) translateZ(0) rotateX(0deg) scale(1);
    filter: blur(0);
  }

  /* Lateral Slide Flight for Rows */
  [data-reveal="slide-fly"] {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
  }

  [data-reveal="slide-fly"].is-revealed {
    opacity: 1;
    transform: translateX(0);
  }

  /* Staggered Deck Delays */
  [data-delay="80"] { transition-delay: 80ms; }
  [data-delay="100"] { transition-delay: 100ms; }
  [data-delay="150"] { transition-delay: 150ms; }
  [data-delay="160"] { transition-delay: 160ms; }
  [data-delay="200"] { transition-delay: 200ms; }
  [data-delay="240"] { transition-delay: 240ms; }
  [data-delay="250"] { transition-delay: 250ms; }
  [data-delay="300"] { transition-delay: 300ms; }
  [data-delay="320"] { transition-delay: 320ms; }
  [data-delay="350"] { transition-delay: 350ms; }
  [data-delay="400"] { transition-delay: 400ms; }
  [data-delay="480"] { transition-delay: 480ms; }
  [data-delay="560"] { transition-delay: 560ms; }

  /* Continuous Floating Levitation Physics */
  [data-reveal="card-fly"].is-floating {
    animation: cardFloatingLevitate 5.5s ease-in-out infinite alternate;
    animation-delay: var(--float-delay, 0s);
  }

  @keyframes cardFloatingLevitate {
    0% {
      transform: translateY(0px) rotate(0deg);
    }
    50% {
      transform: translateY(-7px) rotate(0.4deg);
    }
    100% {
      transform: translateY(3px) rotate(-0.3deg);
    }
  }

  /* Floating Card Hover: Pauses ambient levitation and elevates smoothly in 3D */
  [data-reveal="card-fly"].is-floating:hover,
  .dept-card:hover,
  .speaker-card:hover {
    animation-play-state: paused;
    transform: translateY(-10px) translateZ(30px) scale(1.025);
    box-shadow: 0 24px 48px rgba(20, 33, 74, 0.12), 0 0 0 1.5px var(--blue);
  }

  /* Countdown Ticking Micro-Pulse */
  .countdown-card.is-ticking {
    animation: countdownTick 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

  @keyframes countdownTick {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); background-color: var(--blush); border-color: rgba(194, 48, 122, 0.35); }
    100% { transform: scale(1); }
  }
}

/* Reduced Motion Mode */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .line-industry, .line-academia {
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }
  .status-chip.is-live .status-dot, .countdown-label-intro::before {
    animation: none !important;
  }
  .marquee-content {
    animation: none !important;
  }
  .ambient-orb {
    animation: none !important;
  }
  [data-reveal="fade-up"],
  [data-reveal="card-fly"],
  [data-reveal="slide-fly"] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  [data-reveal="card-fly"].is-floating {
    animation: none !important;
  }
  .countdown-card.is-ticking {
    animation: none !important;
  }
}

  @media (prefers-reduced-motion: reduce) {
    .intro {
      display: flex !important;
      opacity: 0.4 !important;
      pointer-events: none !important;
      z-index: 1 !important;
    }
    .intro .pulse {
      display: none !important;
    }
    .intro .petals {
      display: block !important;
      opacity: 0.8 !important;
      transform: translate(-50%, -50%) scale(1.05) !important;
    }
    .intro .side--left {
      transform: translateX(-75px) !important;
      opacity: 1 !important;
    }
    .intro .side--right {
      transform: translateX(75px) !important;
      opacity: 1 !important;
    }
    body.js-intro .bloom,
    body.js-intro .reveal,
    .ambient-orb-navy,
    .ambient-orb-magenta {
      animation: none !important;
      opacity: 1 !important;
      transform: none !important;
      filter: none !important;
    }
    .countdown-card.is-ticking .countdown-num {
      animation: none !important;
    }
  }

  /* ==================== CIIO SECTION & DEPARTMENT COORDINATORS ==================== */
  .ciio-section {
    position: relative;
    border-top: 1px solid var(--line);
  }

  .ciio-leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 36px;
  }

  .ciio-leader-card {
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    padding: 32px 28px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    box-shadow: var(--shadow-card);
    transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out);
    position: relative;
    overflow: hidden;
  }

  .ciio-leader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--blue), var(--magenta));
  }

  .ciio-leader-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(43, 63, 168, 0.3);
  }

  .ciio-leader-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(20, 33, 74, 0.18);
  }

  .ciio-leader-content {
    flex: 1;
    min-width: 0;
  }

  .ciio-leader-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
  }

  .ciio-role-badge {
    background-color: var(--mag-tint);
    color: var(--magenta);
    font-weight: 700;
    font-size: 0.8125rem;
    padding: 4px 12px;
    border-radius: var(--r-pill);
    display: inline-flex;
    align-items: center;
  }

  .ciio-inst-chip {
    font-size: 0.75rem;
    color: var(--slate);
    font-weight: 600;
    background: var(--paper);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid var(--line);
  }

  .ciio-leader-name {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
    line-height: 1.25;
  }

  .ciio-leader-title {
    color: var(--blue);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
  }

  .ciio-leader-sub {
    color: var(--slate);
    font-size: 0.875rem;
    line-height: 1.4;
  }

  /* Department Coordinators Grid */
  .ciio-coordinators-heading-block {
    margin-bottom: 28px;
  }

  .ciio-dept-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .ciio-dept-card {
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    padding: 24px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out);
    position: relative;
    overflow: hidden;
  }

  .ciio-dept-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--dept-color, var(--blue));
  }

  .ciio-dept-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--dept-color, var(--blue));
  }

  .ciio-dept-card-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--line);
  }

  .ciio-dept-badge {
    align-self: flex-start;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8125rem;
    padding: 3px 10px;
    border-radius: var(--r-pill);
    letter-spacing: 0.05em;
  }

  .ciio-dept-fullname {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--ink);
    line-height: 1.3;
  }

  .ciio-faculty-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    margin-bottom: 18px;
  }

  .ciio-faculty-item {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .ciio-faculty-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
    font-family: var(--font-display);
  }

  .ciio-faculty-meta {
    min-width: 0;
  }

  .ciio-faculty-name {
    font-family: var(--font-text);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ink);
    line-height: 1.3;
  }

  .ciio-faculty-role {
    font-size: 0.8125rem;
    color: var(--slate);
    line-height: 1.3;
  }

  .ciio-dept-footer {
    padding-top: 12px;
    border-top: 1px solid var(--line-subtle);
  }

  .ciio-dept-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform var(--t-fast) var(--ease-out);
  }

  .ciio-dept-link:hover {
    transform: translateX(4px);
    text-decoration: underline;
  }

  @media (max-width: 992px) {
    .ciio-leadership-grid {
      grid-template-columns: 1fr;
    }
    .ciio-dept-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 640px) {
    .ciio-dept-grid {
      grid-template-columns: 1fr;
    }
    .ciio-leader-card {
      flex-direction: column;
      padding: 24px;
    }
    .ciio-leader-avatar {
      width: 52px;
      height: 52px;
      font-size: 1.15rem;
    }
  }

  /* ==================== BELOW-FOOTER STRIP ==================== */
  /* ==================== BELOW-FOOTER STRIP ==================== */
  .below-footer-strip {
    background-color: #0b1126;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-block: 22px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    text-align: center;
  }

  .below-footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
  }

  .below-footer-text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.875rem;
    line-height: 1.6;
  }

  .below-footer-title {
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
  }

  .below-footer-roster {
    color: rgba(255, 255, 255, 0.8);
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }

  .below-footer-roster small {
    color: #93a5db;
    font-size: 0.8125rem;
    font-weight: 500;
  }

  .below-footer-action {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .below-footer-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--r-pill);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--t-fast) var(--ease-out);
    white-space: nowrap;
  }

  .below-footer-link-btn:hover {
    background: var(--magenta);
    border-color: var(--magenta);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(194, 48, 122, 0.45);
  }

  /* ==================== DEVELOPERS PAGE STYLES ==================== */
  .dev-profiles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .dev-profile-card {
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out);
    display: flex;
    flex-direction: column;
  }

  .dev-profile-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(43, 63, 168, 0.25);
  }

  .dev-card-banner {
    height: 90px;
    width: 100%;
    position: relative;
  }

  .dev-card-body {
    padding: 0 28px 28px;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .dev-avatar-wrapper {
    margin-top: -46px;
    margin-bottom: 16px;
    display: inline-block;
  }

  .dev-photo-img {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    display: block;
    box-shadow: 0 6px 18px rgba(20, 33, 74, 0.22);
    border: 4px solid var(--white);
    background-color: var(--paper);
  }

  .dev-avatar {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.85rem;
    box-shadow: 0 6px 18px rgba(20, 33, 74, 0.22);
    border: 4px solid var(--white);
  }

  .dev-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .dev-role-badge {
    align-self: flex-start;
    display: inline-block;
    background-color: var(--blue-tint);
    color: var(--blue);
    font-weight: 700;
    font-size: 0.8125rem;
    padding: 3px 12px;
    border-radius: var(--r-pill);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
  }

  .dev-name {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25;
    margin-bottom: 4px;
  }

  .dev-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--slate);
    margin-bottom: 4px;
  }

  .dev-inst {
    font-size: 0.8125rem;
    color: var(--blue);
    font-weight: 500;
    margin-bottom: 14px;
  }

  .dev-bio {
    font-size: 0.9375rem;
    color: var(--slate);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
  }

  .dev-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--line-subtle);
  }

  .dev-tag-pill {
    background-color: var(--paper);
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--r-pill);
  }

  @media (max-width: 860px) {
    .dev-profiles-grid {
      grid-template-columns: 1fr;
    }
  }

